From: Richard Henderson Date: Sat, 3 Jun 2023 21:55:03 +0000 (-0700) Subject: include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for microblaze X-Git-Tag: v8.0.5~46 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=43d2db492878f7931457d6d4d9097f9573917c6d;p=thirdparty%2Fqemu.git 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 (cherry picked from commit e73f27003e777fd9b77d13e71c5268015b8ed2b6) Signed-off-by: Michael Tokarev --- diff --git a/include/exec/user/abitypes.h b/include/exec/user/abitypes.h index 743b8bb9eac..beba0a48c73 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