summaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2004-12-10 13:18:40 +0000
committerAlan Modra <amodra@bigpond.net.au>2004-12-10 13:18:40 +0000
commit6cca8356283286b359bdae10c85b8881702927d6 (patch)
treea2b2f4f96b2f9e30d80f2581ee5ad46b6d4a2090 /bfd/elf.c
parentb3559b217187c1aafeb3124f7643f7da077377d2 (diff)
downloadgdb-6cca8356283286b359bdae10c85b8881702927d6.tar.gz
* elf.c (bfd_elf_sym_name): Rename from bfd_elf_local_sym_name.
(group_signature): Update calls. * 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/elf.c')
-rw-r--r--bfd/elf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 2eef4baeecf..a136102fdba 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -405,7 +405,7 @@ bfd_elf_get_elf_syms (bfd *ibfd,
/* Look up a symbol name. */
const char *
-bfd_elf_local_sym_name (bfd *abfd, Elf_Internal_Sym *isym)
+bfd_elf_sym_name (bfd *abfd, Elf_Internal_Sym *isym)
{
unsigned int iname = isym->st_name;
unsigned int shindex = elf_tdata (abfd)->symtab_hdr.sh_link;
@@ -451,7 +451,7 @@ group_signature (bfd *abfd, Elf_Internal_Shdr *ghdr)
&isym, esym, &eshndx) == NULL)
return NULL;
- return bfd_elf_local_sym_name (abfd, &isym);
+ return bfd_elf_sym_name (abfd, &isym);
}
/* Set next_in_group list pointer, and group name for NEWSECT. */