[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 15/15] include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for nios2
From: |
Richard Henderson |
Subject: |
[PATCH 15/15] include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for nios2 |
Date: |
Sat, 3 Jun 2023 15:23:55 -0700 |
Based on gcc's nios2.h setting BIGGEST_ALIGNMENT to 32 bits.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
include/exec/user/abitypes.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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
--
2.34.1
- [PATCH 05/15] linux-user: Use abi_ullong not uint64_t in syscall_defs.h, (continued)
- [PATCH 05/15] linux-user: Use abi_ullong not uint64_t in syscall_defs.h, Richard Henderson, 2023/06/03
- [PATCH 10/15] linux-user: Use abi_int not int in syscall_defs.h, Richard Henderson, 2023/06/03
- [PATCH 11/15] linux-user: Use abi_ushort not unsigned short in syscall_defs.h, Richard Henderson, 2023/06/03
- [PATCH 13/15] linux-user: Use abi_uint not unsigned in syscall_defs.h, Richard Henderson, 2023/06/03
- [PATCH 12/15] linux-user: Use abi_short not short in syscall_defs.h, Richard Henderson, 2023/06/03
- [PATCH 14/15] include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for microblaze, Richard Henderson, 2023/06/03
- [PATCH 15/15] include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for nios2,
Richard Henderson <=