aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.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/elflink.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/elflink.c')
-rw-r--r--bfd/elflink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 05bd21a..d46bf41 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -6819,7 +6819,7 @@ 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, sym);
+ sym_name = bfd_elf_sym_name (input_bfd, symtab_hdr, sym);
}
/* Complain if the definition comes from a