aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-ppc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-12-10 14:04:58 +0000
committerAlan Modra <amodra@gmail.com>2004-12-10 14:04:58 +0000
commitbe8dd2ca9e08391a139097982223cacf07a76697 (patch)
treeeec254d24d22d8408aa8deab09011be97c3bed52 /bfd/elf32-ppc.c
parentd737fd7f91e8282171e28b96156adbf8362293b8 (diff)
downloadgdb-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/elf32-ppc.c')
-rw-r--r--bfd/elf32-ppc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c
index f17b89b..38f8d09 100644
--- a/bfd/elf32-ppc.c
+++ b/bfd/elf32-ppc.c
@@ -4694,7 +4694,7 @@ ppc_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);
relocation = _bfd_elf_rela_local_sym (output_bfd, sym, &sec, rel);
}