diff options
author | H.J. Lu <hjl@lucon.org> | 2005-04-27 20:16:08 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2005-04-27 20:16:08 +0000 |
commit | fd8301fd3c8c774712bb0ebdae7758335117f035 (patch) | |
tree | c955afe65ef786d9a12d2f984d113d9ba8bd080f /bfd/elfcode.h | |
parent | ad5be67c47b81dcfd0b6389756d3812329be7975 (diff) | |
download | binutils-redhat-fd8301fd3c8c774712bb0ebdae7758335117f035.tar.gz |
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/elfcode.h')
-rw-r--r-- | bfd/elfcode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfcode.h b/bfd/elfcode.h index fd0dacad5c..a750b1a0bb 100644 --- a/bfd/elfcode.h +++ b/bfd/elfcode.h @@ -1069,7 +1069,7 @@ elf_slurp_symbol_table (bfd *abfd, asymbol **symptrs, bfd_boolean dynamic) memcpy (&sym->internal_elf_sym, isym, sizeof (Elf_Internal_Sym)); sym->symbol.the_bfd = abfd; - sym->symbol.name = bfd_elf_sym_name (abfd, hdr, isym); + sym->symbol.name = bfd_elf_sym_name (abfd, hdr, isym, NULL); sym->symbol.value = isym->st_value; |