]> git.proxmox.com Git - mirror_qemu.git/commitdiff
include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for nios2
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 3 Jun 2023 21:58:46 +0000 (14:58 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 15 Jul 2023 07:02:32 +0000 (08:02 +0100)
Based on gcc's nios2.h setting BIGGEST_ALIGNMENT to 32 bits.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/exec/user/abitypes.h

index beba0a48c7388a9a2ba14cf2da481b0738dafa3d..6191ce9f74863f65653f6dac6db8adf15aab964a 100644 (file)
@@ -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