This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GNU hash-style compatibility problem on x86_64


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.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]