This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
another eh_frame_hdr problem
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Sat, 15 Dec 2001 00:04:04 +1030
- Subject: another eh_frame_hdr problem
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