aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-06-03 14:58:46 -0700
committerRichard Henderson <richard.henderson@linaro.org>2023-07-15 08:02:32 +0100
commitea9812d93f9c3e1a308ac33097021c50d581d10e (patch)
treee7770625532bb7de34d816978f1e347ca3d0e0c2 /include
parente73f27003e777fd9b77d13e71c5268015b8ed2b6 (diff)
downloadqemu-ea9812d93f9c3e1a308ac33097021c50d581d10e.zip
qemu-ea9812d93f9c3e1a308ac33097021c50d581d10e.tar.gz
qemu-ea9812d93f9c3e1a308ac33097021c50d581d10e.tar.bz2
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 <richard.henderson@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/exec/user/abitypes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/exec/user/abitypes.h b/include/exec/user/abitypes.h
index beba0a4..6191ce9 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