]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* elf32-mips.c (gprel32_with_gp): Remove useless N64 ABI case.
authorThiemo Seufer <ths@networkno.de>
Thu, 15 May 2003 00:04:34 +0000 (00:04 +0000)
committerThiemo Seufer <ths@networkno.de>
Thu, 15 May 2003 00:04:34 +0000 (00:04 +0000)
bfd/ChangeLog
bfd/elf32-mips.c

index 550dcc02822d0a4fef59ede2ed3971ca51c9bf19..c6ec77c12cef96ef70a92bcd40b420f80cf1d526 100644 (file)
@@ -1,3 +1,7 @@
+2003-05-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * elf32-mips.c (gprel32_with_gp): Remove useless N64 ABI case.
+
 2003-05-13  Stephane Carrez  <stcarrez@nerim.fr>
 
        * elf32-m68hc1x.c (_bfd_m68hc11_elf_merge_private_bfd_data): Check for
index 85819d55d3d52fbf5bc19565ee48d76cb4683edd..3b472464b10b9d2c02f6c2f5ae719a5d32ed475f 100644 (file)
@@ -1197,13 +1197,7 @@ gprel32_with_gp (abfd, symbol, reloc_entry, input_section, relocateable, data,
   if (reloc_entry->address > input_section->_cooked_size)
     return bfd_reloc_outofrange;
 
-  if (reloc_entry->howto->src_mask == 0)
-    {
-      /* This case arises with the 64-bit MIPS ELF ABI.  */
-      val = 0;
-    }
-  else
-    val = bfd_get_32 (abfd, (bfd_byte *) data + reloc_entry->address);
+  val = bfd_get_32 (abfd, (bfd_byte *) data + reloc_entry->address);
 
   /* Set val to the offset into the section or symbol.  */
   val += reloc_entry->addend;