aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-12-10 13:18:40 +0000
committerAlan Modra <amodra@gmail.com>2004-12-10 13:18:40 +0000
commit0e2cfdce255a722d3b3d3cdadf227e3110ef64f8 (patch)
tree07fc0002aa79fcb458fdf43e9f7a3e81c5d11754 /bfd/elf.c
parent138f35cc73eff0f822352241172678de82934d86 (diff)
downloadfsf-binutils-gdb-0e2cfdce255a722d3b3d3cdadf227e3110ef64f8.zip
fsf-binutils-gdb-0e2cfdce255a722d3b3d3cdadf227e3110ef64f8.tar.gz
fsf-binutils-gdb-0e2cfdce255a722d3b3d3cdadf227e3110ef64f8.tar.bz2
* 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 2eef4ba..a136102 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. */