* config/tc-sparc.c (md_apply_fix3, cases ..._H44, ..._HIX22): Leave
authorDoug Evans <dje@google.com>
Tue, 21 Oct 1997 17:23:12 +0000 (17:23 +0000)
committerDoug Evans <dje@google.com>
Tue, 21 Oct 1997 17:23:12 +0000 (17:23 +0000)
overflow signalling to linker.

gas/ChangeLog
gas/config/tc-sparc.c

index c287ad41d01c1a2c90eaf9f8fb32393fe981b846..433e8b210387f9c575091a64a10ec12b2c327df5 100644 (file)
@@ -1,3 +1,8 @@
+Tue Oct 21 10:20:11 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * config/tc-sparc.c (md_apply_fix3, cases ..._H44, ..._HIX22): Leave
+       overflow signalling to linker.
+
 Mon Oct 20 14:54:06 1997  Klaus K"ampf  <kkaempf@progis.de>
 
        * makefile.vms: Fix for dec c.
index a5f8cf3fe6cbf2f38cb2022169ea380cca911e37..700087668c1ca803934209b3bbee79ba576507f3 100644 (file)
@@ -2504,7 +2504,6 @@ md_apply_fix3 (fixP, value, segment)
 
        case BFD_RELOC_SPARC_LM22:
        case BFD_RELOC_HI22:
-         /* FIXME: HI22 should signal overflow for 64 bit ABI.  */
          if (!fixP->fx_addsy)
            {
              insn |= (val >> 10) & 0x3fffff;
@@ -2556,9 +2555,6 @@ md_apply_fix3 (fixP, value, segment)
            {
              bfd_vma tval = val;
              tval >>= 22;
-             if (! in_unsigned_range (tval, 0x3fffff))
-               as_bad_where (fixP->fx_file, fixP->fx_line,
-                             "relocation overflow");
              insn |= tval & 0x3fffff;
            }
          break;
@@ -2577,9 +2573,6 @@ md_apply_fix3 (fixP, value, segment)
          if (!fixP->fx_addsy)
            {
              val ^= ~ (offsetT) 0;
-             if ((val & ~ (offsetT) 0xffffffff) != 0)
-               as_bad_where (fixP->fx_file, fixP->fx_line,
-                             "relocation overflow");
              insn |= (val >> 10) & 0x3fffff;
            }
          break;
This page took 0.030257 seconds and 4 git commands to generate.