This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Fix another eh_frame_hdr problem
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.