OSDN Git Service

* elf-bfd.h (_bfd_elf_maybe_strip_eh_frame_hdr): New prototype.
authorjakub <jakub>
Sat, 15 Dec 2001 08:54:12 +0000 (08:54 +0000)
committerjakub <jakub>
Sat, 15 Dec 2001 08:54:12 +0000 (08:54 +0000)
commit69ae70294497caa040dbeefddf6cd9113efad454
treee3266ec7bc703fa42fd1265e2fbb9364c6f2b2e1
parent0ac027b0d96bf7fc21f3d300e30e1d02dec1b458
* 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