]> xenbits.xensource.com Git - qemu-xen.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)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 10 Sep 2023 16:39:41 +0000 (19:39 +0300)
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>
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