Skip to content

Commit

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

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

Expand Down

0 comments on commit 14e2c1c

Please sign in to comment.