* elf-bfd.h (_bfd_elf_maybe_strip_eh_frame_hdr): New prototype.
authorJakub Jelinek <jakub@redhat.com>
Sat, 15 Dec 2001 08:54:13 +0000 (08:54 +0000)
committerJakub Jelinek <jakub@redhat.com>
Sat, 15 Dec 2001 08:54:13 +0000 (08:54 +0000)
commit68f691521af7fe788646af93634bc03d68b57dfd
tree6ac445e908744198209cdfdcc26aec6a8db8d63b
parenta6c47c143af59ad4f499d25ed6713a3b9b4bb67a
* 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.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf-eh-frame.c
bfd/elflink.h