diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-06-03 14:55:03 -0700 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2023-09-10 19:39:41 +0300 |
commit | 43d2db492878f7931457d6d4d9097f9573917c6d (patch) | |
tree | 6378c146a92f4010977aafeb6c259b27e126696d | |
parent | ee638bc5b53cff87768b0b7c6d2c4a4e275994f6 (diff) | |
download | qemu-43d2db492878f7931457d6d4d9097f9573917c6d.zip qemu-43d2db492878f7931457d6d4d9097f9573917c6d.tar.gz qemu-43d2db492878f7931457d6d4d9097f9573917c6d.tar.bz2 |
include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for microblaze
Based on gcc's microblaze.h setting BIGGEST_ALIGNMENT to 32 bits.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
(cherry picked from commit e73f27003e777fd9b77d13e71c5268015b8ed2b6)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r-- | include/exec/user/abitypes.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/exec/user/abitypes.h b/include/exec/user/abitypes.h index 743b8bb..beba0a4 100644 --- a/include/exec/user/abitypes.h +++ b/include/exec/user/abitypes.h @@ -15,7 +15,9 @@ #define ABI_LLONG_ALIGNMENT 2 #endif -#if (defined(TARGET_I386) && !defined(TARGET_X86_64)) || defined(TARGET_SH4) +#if (defined(TARGET_I386) && !defined(TARGET_X86_64)) \ + || defined(TARGET_SH4) \ + || defined(TARGET_MICROBLAZE) #define ABI_LLONG_ALIGNMENT 4 #endif |