[PATCH] Fix another eh_frame_hdr problem

Alan Modra amodra@bigpond.net.au
Fri Dec 14 16:58:00 GMT 2001


On Fri, Dec 14, 2001 at 10:48:52PM +0100, Jakub Jelinek wrote:
> Ok to commit?

Yes please.

> 2001-12-14  Jakub Jelinek  <jakub@redhat.com>
> 
> 	* elf-bfd.h (_bfd_elf_maybe_strip_eh_frame_hdr): New prototype.
> 	* elf-eh-frame.c (struct eh_frame_hdr_info): Add strip.
> 	(_bfd_elf_discard_section_eh_frame): Don't create .eh_frame_hdr
> 	sec_info here.  Free ehbuf.
> 	(_bfd_elf_discard_section_eh_frame_hdr): Don't size the section
> 	if hdr_info->strip.
> 	(_bfd_elf_maybe_strip_eh_frame_hdr): New.
> 	* elflink.h (size_dynamic_sections): Call it.



More information about the Binutils mailing list