From: Richard Henderson Date: Sat, 3 Jun 2023 21:58:46 +0000 (-0700) Subject: include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for nios2 X-Git-Tag: qemu-xen-4.19.1~46 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=40cfe12cb6f8b9d3a1172af2e65540773ad17be1;p=qemu-xen.git 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 (cherry picked from commit ea9812d93f9c3e1a308ac33097021c50d581d10e) Signed-off-by: Michael Tokarev --- diff --git a/include/exec/user/abitypes.h b/include/exec/user/abitypes.h index beba0a48c7..6191ce9f74 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