Change kArmAlignment from 4 to 8.
According to the alignment requirement from the ELF
section header, we have to use 8 as the code alignment.
Change-Id: I575603bb1f13423e1c8ed2fc1b1e1d58b3dc0d6c
diff --git a/src/globals.h b/src/globals.h
index 5f0987a..0efa7eb 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -43,8 +43,9 @@
// Required object alignment
const int kObjectAlignment = 8;
-// ARM instruction alignment. ARM processors require code to be 4-byte aligned.
-const int kArmAlignment = 4;
+// ARM instruction alignment. ARM processors require code to be 4-byte aligned,
+// but ARM ELF requires 8..
+const int kArmAlignment = 8;
// MIPS instruction alignment. MIPS processors require code to be 4-byte aligned.
const int kMipsAlignment = 4;