diff options
author | Jakub Jelinek <jakub@redhat.com> | 2001-12-15 08:54:13 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2001-12-15 08:54:13 +0000 |
commit | 68f691521af7fe788646af93634bc03d68b57dfd (patch) | |
tree | 6ac445e908744198209cdfdcc26aec6a8db8d63b /bfd/elf-bfd.h | |
parent | a6c47c143af59ad4f499d25ed6713a3b9b4bb67a (diff) | |
download | gdb-68f691521af7fe788646af93634bc03d68b57dfd.zip gdb-68f691521af7fe788646af93634bc03d68b57dfd.tar.gz gdb-68f691521af7fe788646af93634bc03d68b57dfd.tar.bz2 |
* 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.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r-- | bfd/elf-bfd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index d1b088a..0346c8d 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -1296,6 +1296,8 @@ extern boolean _bfd_elf_write_section_eh_frame PARAMS ((bfd *, asection *, asection *, bfd_byte *)); extern boolean _bfd_elf_write_section_eh_frame_hdr PARAMS ((bfd *, asection *)); +extern boolean _bfd_elf_maybe_strip_eh_frame_hdr + PARAMS ((struct bfd_link_info *)); extern boolean _bfd_elf_link_record_dynamic_symbol PARAMS ((struct bfd_link_info *, struct elf_link_hash_entry *)); |