Commit 4683b130e562b5718115442e02b85e90501bb8b0
1 parent
a03e2d42
always define TARGET_ABI32 if 32 bit user
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3643 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
4 additions
and
0 deletions
linux-user/qemu.h
... | ... | @@ -20,6 +20,10 @@ typedef target_long abi_long; |
20 | 20 | #define TARGET_ABI_FMT_ld TARGET_FMT_ld |
21 | 21 | #define TARGET_ABI_FMT_lu TARGET_FMT_lu |
22 | 22 | #define TARGET_ABI_BITS TARGET_LONG_BITS |
23 | +/* for consistency, define ABI32 too */ | |
24 | +#if TARGET_ABI_BITS == 32 | |
25 | +#define TARGET_ABI32 1 | |
26 | +#endif | |
23 | 27 | #endif |
24 | 28 | |
25 | 29 | #include "thunk.h" | ... | ... |