Skip to contentSkip to conversation

abitypes.h: Remove incorrect ARM ABI_LLONG_ALIGNMENT

PATCH New Peter Maydell 1 participant 1 message Sep 5, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 abitypes.h: Remove incorrect ARM ABI_LLONG_ALIGNMENT

The ARM EABI specifies that 64 bit integers should be 8 aligned; remove our incorrect setting of 4 alignment. This has no actual effect since it only set the alignment for the 'abi_ullong' and 'abi_llong' types, which are used only inside code which is MIPS-specific, but it will avoid problems later if we use the types elsewhere.

---
 include/exec/user/abitypes.h |    4 ----
 1 file changed, 4 deletions(-)
include/exec/user/abitypes.h +0 -4
index 008501b..80eedac 100644
@@ -14,10 +14,6 @@
 #define ABI_LLONG_ALIGNMENT 2
 #endif
 
-#ifdef TARGET_ARM
-#define ABI_LLONG_ALIGNMENT 4
-#endif
-
 #ifndef ABI_SHORT_ALIGNMENT
 #define ABI_SHORT_ALIGNMENT 2
 #endif
Signature · 1 line
1.7.9.5