GNU hash-style compatibility problem on x86_64

DJ Delorie dj@redhat.com
Tue Aug 14 23:35:00 GMT 2007


Greg Schafer <gschafer@zip.com.au> writes:
> I can understand HJ's response in that there isn't much incentive to fix
> bugs in an old binutils release, but I was kind of hoping one of the experts
> here might be able to pinpoint the problem and produce a minimal patch.

Try this one:

--- bfd/elf.c       3 Aug 2006 21:41:05 -0000
+++ bfd/elf.c       3 Aug 2007 01:13:57 -0000
@@ -1822,6 +1822,7 @@ bfd_section_from_shdr (bfd *abfd, unsign
     case SHT_FINI_ARRAY:       /* .fini_array section.  */
     case SHT_PREINIT_ARRAY:    /* .preinit_array section.  */
     case SHT_GNU_LIBLIST:      /* .gnu.liblist section.  */
+    case SHT_GNU_HASH:         /* .gnu.hash section.  */
       return _bfd_elf_make_section_from_shdr (abfd, hdr, name, shindex);
 
     case SHT_DYNAMIC:  /* Dynamic linking information.  */



More information about the Binutils mailing list