target/sh4: Use MO_ALIGN for system UNALIGN()
This should have been done before removing TARGET_ALIGNED_ONLY,
as we did for hppa and alpha.
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Fixes: 8244189419 ("target/sh4: Remove TARGET_ALIGNED_ONLY")
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
11efde54f2
commit
eb978e50e4
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ typedef struct DisasContext {
|
|||
#define UNALIGN(C) (ctx->tbflags & TB_FLAG_UNALIGN ? MO_UNALN : MO_ALIGN)
|
||||
#else
|
||||
#define IS_USER(ctx) (!(ctx->tbflags & (1u << SR_MD)))
|
||||
#define UNALIGN(C) 0
|
||||
#define UNALIGN(C) MO_ALIGN
|
||||
#endif
|
||||
|
||||
/* Target-specific values for ctx->base.is_jmp. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue