diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2005-04-27 20:16:08 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2005-04-27 20:16:08 +0000 |
commit | 26c61ae50be6d702a8d40bf3c968048a1801057a (patch) | |
tree | 4400e57d620b45863bbf39aa77acb03ae13e8719 /bfd/elflink.c | |
parent | dce669a1fd56f2017d9af535d05694a41d1f9398 (diff) | |
download | gdb-26c61ae50be6d702a8d40bf3c968048a1801057a.zip gdb-26c61ae50be6d702a8d40bf3c968048a1801057a.tar.gz gdb-26c61ae50be6d702a8d40bf3c968048a1801057a.tar.bz2 |
2005-04-27 H.J. Lu <hongjiu.lu@intel.com>
* elf-bfd.h (bfd_elf_sym_name): Also take "asection *".
* elf.c (bfd_elf_sym_name): Updated.
(group_signature): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_edit_opd): Likewise.
(ppc64_elf_edit_toc): Likewise.
(ppc64_elf_relocate_section): Likewise.
* elfcode.h (elf_slurp_symbol_table): Likewise.
* elflink.c (elf_link_input_bfd): Likewise.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Call
bfd_elf_sym_name to get local symbol name when reporting errors.
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r-- | bfd/elflink.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c index c41fef4..a1c0232 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -7051,7 +7051,9 @@ elf_link_input_bfd (struct elf_final_link_info *finfo, bfd *input_bfd) { Elf_Internal_Sym *sym = isymbuf + r_symndx; ps = &finfo->sections[r_symndx]; - sym_name = bfd_elf_sym_name (input_bfd, symtab_hdr, sym); + sym_name = bfd_elf_sym_name (input_bfd, + symtab_hdr, + sym, *ps); } /* Complain if the definition comes from a |