include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for microblaze
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 3 Jun 2023 21:55:03 +0000 (14:55 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 15 Jul 2023 07:02:32 +0000 (08:02 +0100)
Based on gcc's microblaze.h setting BIGGEST_ALIGNMENT to 32 bits.

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

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