another eh_frame_hdr problem

Alan Modra amodra@bigpond.net.au
Fri Dec 14 05:34:00 GMT 2001
Hi Jakub,
  I've run into another problem with your eh_frame_hdr patch.

elf-eh-frame:_bfd_elf_discard_section_eh_frame_hdr calls
_bfd_strip_section_from_output, but this is too late in the link
process.  In particular, the dynamic symbol table size, and
dynamic symbol indices have been set up by that stage.  Removing
a section leave a "hole" in the table that is never written,
resulting in junk in the symbols table.

Would you please look at fixing this?

Alan



More information about the Binutils mailing list