diff options
author | Alan Modra <amodra@gmail.com> | 2004-10-14 23:38:08 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-10-14 23:38:08 +0000 |
commit | 92e4ec35d9f6f98ed6b131b9be9cd548572874a1 (patch) | |
tree | d63f4a62e2c123a86bfca8d87f7713a431aeed36 /bfd/elf-bfd.h | |
parent | 40e7b7b9ef194e14ec5c2dee5e369c2ca6c9d5ea (diff) | |
download | gdb-92e4ec35d9f6f98ed6b131b9be9cd548572874a1.zip gdb-92e4ec35d9f6f98ed6b131b9be9cd548572874a1.tar.gz gdb-92e4ec35d9f6f98ed6b131b9be9cd548572874a1.tar.bz2 |
* elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Add "info"
parameter. If called after _bfd_elf_write_section_eh_frame,
don't allow a -2 return unless need_* bit is already set, and
handle offsets adjusted for output_offset.
* elf-bfd.h (_bfd_elf_eh_frame_section_offset): Update prototype.
* elf.c (_bfd_elf_section_offset): Update call.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r-- | bfd/elf-bfd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index f452d3b..ff26613 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -1532,7 +1532,7 @@ extern bfd_boolean _bfd_elf_discard_section_eh_frame extern bfd_boolean _bfd_elf_discard_section_eh_frame_hdr (bfd *, struct bfd_link_info *); extern bfd_vma _bfd_elf_eh_frame_section_offset - (bfd *, asection *, bfd_vma); + (bfd *, struct bfd_link_info *, asection *, bfd_vma); extern bfd_boolean _bfd_elf_write_section_eh_frame (bfd *, struct bfd_link_info *, asection *, bfd_byte *); extern bfd_boolean _bfd_elf_write_section_eh_frame_hdr |