This is the mail archive of the binutils@sourceware.cygnus.com 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]

Re: Dealing with broken ELF libraries


   Date: Wed, 01 Sep 1999 16:36:59 -0600
   From: Jeffrey A Law <law@cygnus.com>

   We might be able to do something like recognize that LINK refers to a section
   that is not of type STRTAB (and then fall back to looking for .dynsym's
   string table).

I don't know what else would work.

Note that we already do workarounds like that in other cases.  For
example, the Oracle libraries on Solaris have a similar bug (or at
least they used to): the link field of the SHT_RELA sections does not
point to the appropriate symbol table.  You can see the workaround in
bfd_section_from_shdr in bfd/elf.c.

Ian

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