diff mbox

abitypes.h: Remove incorrect ARM ABI_LLONG_ALIGNMENT

Message ID 1378381282-16374-1-git-send-email-peter.maydell@linaro.org
State Accepted
Commit 4d017979aa1672b40ccc083daf455f8740eead82
Headers show

Commit Message

Peter Maydell Sept. 5, 2013, 11:41 a.m. UTC
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.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
 include/exec/user/abitypes.h |    4 ----
 1 file changed, 4 deletions(-)
diff mbox

Patch

diff --git a/include/exec/user/abitypes.h b/include/exec/user/abitypes.h
index 008501b..80eedac 100644
--- a/include/exec/user/abitypes.h
+++ b/include/exec/user/abitypes.h
@@ -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