Skip to content

Commit

Permalink
abitypes.h: Remove incorrect ARM ABI_LLONG_ALIGNMENT
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
pm215 committed Sep 10, 2013
1 parent 031c44e commit 4d01797
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/exec/user/abitypes.h
Expand Up @@ -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
Expand Down

0 comments on commit 4d01797

Please sign in to comment.