[PATCH] MIPS bfd: Remove unused N64 case

Thiemo Seufer ica2_ts@csv.ica.uni-stuttgart.de
Wed May 14 23:45:00 GMT 2003


Hello All,

this patch removes an unused special case for N64 ABI.


Thiemo


2003-05-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>

	/bfd/ChangeLog
	* elf32-mips.c (gprel32_with_gp): Remove useless N64 ABI case.


--- source-orig/bfd/elf32-mips.c	Fri Apr 25 07:35:24 2003
+++ source/bfd/elf32-mips.c	Wed May 14 23:48:50 2003
@@ -1197,13 +1212,7 @@ gprel32_with_gp (abfd, symbol, reloc_ent
   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;



More information about the Binutils mailing list