diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-01-28 21:09:52 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-01-28 21:09:52 +0000 |
commit | 3b320c48cff7d634900a31d98043580e4d4e950d (patch) | |
tree | d4a364f2f19dfb19d3b73725a47915f743306e1a /gas | |
parent | c4f19df2ef76c9bc71e51a70972f3004ff11703f (diff) | |
download | gdb-3b320c48cff7d634900a31d98043580e4d4e950d.zip gdb-3b320c48cff7d634900a31d98043580e4d4e950d.tar.gz gdb-3b320c48cff7d634900a31d98043580e4d4e950d.tar.bz2 |
* config/tc-mips.c (md_apply_fix): Make a branch to an odd address
an error rather than a warning.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 3 | ||||
-rw-r--r-- | gas/config/tc-mips.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 999017d..cf6c8e7 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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. diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index e6a1e2a..828ebc0 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 */ |