aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2001-12-15 08:54:13 +0000
committerJakub Jelinek <jakub@redhat.com>2001-12-15 08:54:13 +0000
commit68f691521af7fe788646af93634bc03d68b57dfd (patch)
tree6ac445e908744198209cdfdcc26aec6a8db8d63b /bfd/elf-bfd.h
parenta6c47c143af59ad4f499d25ed6713a3b9b4bb67a (diff)
downloadgdb-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.h2
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 *));