From: Ian Lance Taylor Date: Tue, 28 Jan 1997 21:09:52 +0000 (+0000) Subject: * config/tc-mips.c (md_apply_fix): Make a branch to an odd address X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b320c48cff7d634900a31d98043580e4d4e950d;p=binutils-gdb.git * config/tc-mips.c (md_apply_fix): Make a branch to an odd address an error rather than a warning. --- 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 */