aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-03-19 22:09:23 +0000
committerNick Clifton <nickc@redhat.com>2000-03-19 22:09:23 +0000
commit114241553a379c49415048cb5a16c4092ac0f5c1 (patch)
tree33e1055061462ef40b307753b5286900ab5b9af5 /gas/config
parentc5201926ef9986c74125e31a43a2f8af8d83d604 (diff)
downloadgdb-114241553a379c49415048cb5a16c4092ac0f5c1.zip
gdb-114241553a379c49415048cb5a16c4092ac0f5c1.tar.gz
gdb-114241553a379c49415048cb5a16c4092ac0f5c1.tar.bz2
fix bug detecting pc-rel overflow
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-arm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 58dd3cf..04d8b45 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -5608,8 +5608,7 @@ md_apply_fix3 (fixP, val, seg)
value += SEXT24 (newval);
if ((value & 0xff000000UL) != 0
- && (fixP->fx_done == 0
- || ((value & 0xff000000UL) != 0xff000000UL)))
+ && ((value & 0xff000000UL) != 0xff000000UL))
as_bad_where (fixP->fx_file, fixP->fx_line,
_("out of range branch"));