summaryrefslogtreecommitdiffstats
path: root/compiler/elf_writer_quick.cc
diff options
context:
space:
mode:
authorDavid Srbecky <dsrbecky@google.com>2015-04-02 20:38:40 +0100
committerDavid Srbecky <dsrbecky@google.com>2015-04-02 20:42:03 +0100
commit934d754a53acff144273bd7fc42f4272628bb944 (patch)
tree29fc032cef2b6f6a3259eb4ed3180667feb29335 /compiler/elf_writer_quick.cc
parent93c65adb3d7bd1d3815715df433d185219045230 (diff)
downloadandroid_art-934d754a53acff144273bd7fc42f4272628bb944.tar.gz
android_art-934d754a53acff144273bd7fc42f4272628bb944.tar.bz2
android_art-934d754a53acff144273bd7fc42f4272628bb944.zip
Fix for issue 20051601 - ARM instruction alignment.
The instructions do not have to be 4 byte aligned. Change-Id: I58078a15190b835601094611ed01a599e2d99563
Diffstat (limited to 'compiler/elf_writer_quick.cc')
-rw-r--r--compiler/elf_writer_quick.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/elf_writer_quick.cc b/compiler/elf_writer_quick.cc
index a92ce69c6d..3ce19ab0df 100644
--- a/compiler/elf_writer_quick.cc
+++ b/compiler/elf_writer_quick.cc
@@ -495,7 +495,7 @@ static void FillInCFIInformation(OatWriter* oat_writer,
isa = 1; // DW_ISA_ARM_thumb.
break;
case kArm:
- code_factor_bits_ = 2; // 32-bit instructions
+ code_factor_bits_ = 1; // 16-bit instructions
isa = 2; // DW_ISA_ARM_arm.
break;
case kArm64: