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