Skip to content

Commit

Permalink
include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for nios2
Browse files Browse the repository at this point in the history
Based on gcc's nios2.h setting BIGGEST_ALIGNMENT to 32 bits.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
(cherry picked from commit ea9812d)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
  • Loading branch information
rth7680 authored and Michael Tokarev committed Sep 10, 2023
1 parent 43d2db4 commit 40cfe12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/exec/user/abitypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 40cfe12

Please sign in to comment.