* config/tc-mips.c (md_apply_fix): Make a branch to an odd address

an error rather than a warning.
This commit is contained in:
Ian Lance Taylor
1997-01-28 21:09:52 +00:00
parent c4f19df2ef
commit 3b320c48cf
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
Tue Jan 28 15:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
* 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.

View File

@ -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 */