fix bug detecting pc-rel overflow
authorNick Clifton <nickc@redhat.com>
Sun, 19 Mar 2000 22:09:23 +0000 (22:09 +0000)
committerNick Clifton <nickc@redhat.com>
Sun, 19 Mar 2000 22:09:23 +0000 (22:09 +0000)
gas/ChangeLog
gas/config/tc-arm.c

index 02bcb959e9500d8a9ae85ebbaa360e13a49c2ffc..6ba9cfd82c8d79ecc804cedc76538f48bd82c07e 100644 (file)
@@ -1,3 +1,8 @@
+2000-03-19  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-arm.c (md_apply_fix3): Fix bug detectng overflow of pc
+       relative branches.
+
 2000-03-17 Thomas de Lellis <tdel@windriver.com>
 
         * config/tc-arm.c (do_t_adr): Flag "adr Rd,label"
index 58dd3cfec38794d3b2e24e432ebad32be6d6c5b6..04d8b456148f020296ad36027ff0a278c1ea0854 100644 (file)
@@ -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"));