summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/globals.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/globals.h b/src/globals.h
index 5f0987a9fb..0efa7eb2ac 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -43,8 +43,9 @@ const int kStackAlignment = 16;
// 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;