Skip to content

Commit

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

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
  • Loading branch information
rth7680 committed Jul 15, 2023
1 parent 0f41be8 commit e73f270
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/exec/user/abitypes.h
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 e73f270

Please sign in to comment.