* config/tc-mips.c (mips_force_relocation): Remove duplicate code.
authorThiemo Seufer <ths@networkno.de>
Thu, 8 Nov 2001 19:32:24 +0000 (19:32 +0000)
committerThiemo Seufer <ths@networkno.de>
Thu, 8 Nov 2001 19:32:24 +0000 (19:32 +0000)
gas/ChangeLog
gas/config/tc-mips.c

index d33b7c11854eb265a21fad5583ee7527388f2eec..8cd407ff7a443b8acd56fd7f12b9da424860350c 100644 (file)
@@ -1,3 +1,7 @@
+2001-11-08  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (mips_force_relocation): Remove duplicate code.
+
 2001-11-06  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
 
        * config/tc-mips.c (my_getSmallParser): Fix small parser bug.
index 283e889e75e1b8600d30516d872d85d8dca03dc5..87b665ffbd1c16d6cca13fd55e96c09208310770 100644 (file)
@@ -10149,13 +10149,6 @@ mips_force_relocation (fixp)
          || fixp->fx_r_type == BFD_RELOC_LO16))
     return 1;
 
-  if (HAVE_NEWABI
-      && S_GET_SEGMENT (fixp->fx_addsy) == bfd_abs_section_ptr
-      && (fixp->fx_r_type == BFD_RELOC_MIPS_SUB
-         || fixp->fx_r_type == BFD_RELOC_HI16_S
-         || fixp->fx_r_type == BFD_RELOC_LO16))
-    return 1;
-
   return (mips_pic == EMBEDDED_PIC
          && (fixp->fx_pcrel
              || SWITCH_TABLE (fixp)