From 3b320c48cff7d634900a31d98043580e4d4e950d Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 28 Jan 1997 21:09:52 +0000 Subject: [PATCH] * config/tc-mips.c (md_apply_fix): Make a branch to an odd address an error rather than a warning. --- gas/ChangeLog | 3 +++ gas/config/tc-mips.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 999017dddfb..cf6c8e7a19a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,8 @@ Tue Jan 28 15:27:28 1997 Ian Lance Taylor + * config/tc-mips.c (md_apply_fix): Make a branch to an odd address + an error rather than a warning. + * config/tc-mips.c (md_convert_frag): If the user explicitly requested an extended opcode, pass warn as true to mips16_immed. diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index e6a1e2a041b..828ebc0b87e 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -8346,8 +8346,8 @@ md_apply_fix (fixP, valueP) * the current segment). */ if ((value & 0x3) != 0) - as_warn_where (fixP->fx_file, fixP->fx_line, - "Branch to odd address (%lx)", value); + as_bad_where (fixP->fx_file, fixP->fx_line, + "Branch to odd address (%lx)", value); value >>= 2; /* update old instruction data */ -- 2.30.2