diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2004-07-02 01:39:32 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2004-07-02 01:39:32 +0000 |
commit | b602c853d891e7b7885058bff76a796c2e47b42e (patch) | |
tree | 9909bc2499c111a7e8b20d5f6a2fbd27734fd99e /bfd/bfd-in2.h | |
parent | ac6b4428da2f037bd99718e5594a626cab6d1a47 (diff) | |
download | gdb-b602c853d891e7b7885058bff76a796c2e47b42e.zip gdb-b602c853d891e7b7885058bff76a796c2e47b42e.tar.gz gdb-b602c853d891e7b7885058bff76a796c2e47b42e.tar.bz2 |
bfd/
2004-07-01 H.J. Lu <hongjiu.lu@intel.com>
* bfd.c (bfd_get_section_ident): New.
* elflink.c (elf_link_read_relocs_from_section): Call
bfd_get_section_ident to identify the section when reporting
error.
(_bfd_elf_link_output_relocs): Likewise.
(elf_link_output_extsym): Likewise.
(elf_link_input_bfd): Likewise.
(bfd_elf_gc_record_vtinherit): Likewise.
* bfd-in2.h: Regenerated.
ld/
2004-07-01 H.J. Lu <hongjiu.lu@intel.com>
* ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
the section.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r-- | bfd/bfd-in2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 7335774..9072d95 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -4090,6 +4090,8 @@ void bfd_preserve_restore (bfd *, struct bfd_preserve *); void bfd_preserve_finish (bfd *, struct bfd_preserve *); +char *bfd_get_section_ident (asection *sec); + /* Extracted from archive.c. */ symindex bfd_get_next_mapent (bfd *abfd, symindex previous, carsym **sym); |