diff options
author | Alan Modra <amodra@gmail.com> | 2004-12-10 14:04:58 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-12-10 14:04:58 +0000 |
commit | be8dd2ca9e08391a139097982223cacf07a76697 (patch) | |
tree | eec254d24d22d8408aa8deab09011be97c3bed52 /bfd/elf64-ppc.c | |
parent | d737fd7f91e8282171e28b96156adbf8362293b8 (diff) | |
download | gdb-be8dd2ca9e08391a139097982223cacf07a76697.zip gdb-be8dd2ca9e08391a139097982223cacf07a76697.tar.gz gdb-be8dd2ca9e08391a139097982223cacf07a76697.tar.bz2 |
* elf.c (bfd_elf_sym_name): Add symtab_hdr param.
(group_signature): Update call.
* elf-bfd.h (bfd_elf_sym_name): Update.
* elf32-ppc.c (ppc_elf_relocate_section): Update.
* elf64-ppc.c (ppc64_elf_edit_opd, ppc64_elf_edit_toc)
(ppc64_elf_relocate_section): Update
* elflink.c (elf_link_input_bfd): Update.
Diffstat (limited to 'bfd/elf64-ppc.c')
-rw-r--r-- | bfd/elf64-ppc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index cf94a42..9c975c8 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -6006,7 +6006,7 @@ ppc64_elf_edit_opd (bfd *obfd, struct bfd_link_info *info, if (h != NULL) sym_name = h->root.root.string; else - sym_name = bfd_elf_sym_name (ibfd, sym); + sym_name = bfd_elf_sym_name (ibfd, symtab_hdr, sym); (*_bfd_error_handler) (_("%B: undefined sym `%s' in .opd section"), @@ -7051,7 +7051,7 @@ ppc64_elf_edit_toc (bfd *obfd ATTRIBUTE_UNUSED, struct bfd_link_info *info) { (*_bfd_error_handler) (_("%s defined in removed toc entry"), - bfd_elf_sym_name (ibfd, sym)); + bfd_elf_sym_name (ibfd, symtab_hdr, sym)); sym->st_value = 0; sym->st_shndx = SHN_ABS; } @@ -9142,7 +9142,7 @@ ppc64_elf_relocate_section (bfd *output_bfd, sym = local_syms + r_symndx; sec = local_sections[r_symndx]; - sym_name = bfd_elf_sym_name (input_bfd, sym); + sym_name = bfd_elf_sym_name (input_bfd, symtab_hdr, sym); sym_type = ELF64_ST_TYPE (sym->st_info); relocation = _bfd_elf_rela_local_sym (output_bfd, sym, &sec, rel); opd_adjust = get_opd_info (sec); |