Dealing with broken ELF libraries

Ian Lance Taylor ian@zembu.com
Thu Sep 2 06:55:00 GMT 1999


   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


More information about the Binutils mailing list