aboutsummaryrefslogtreecommitdiff
path: root/ld/plugin.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-09-16 09:25:56 +0930
committerAlan Modra <amodra@gmail.com>2020-09-16 16:41:33 +0930
commitc1229f84a41a6aba5b7df1f4261a9336347b068a (patch)
tree29313ea61526ebbbea65e043d1fa296d930b34ee /ld/plugin.c
parentec74481d7e4afbc89e3785d22659d3897af36956 (diff)
downloadgdb-c1229f84a41a6aba5b7df1f4261a9336347b068a.zip
gdb-c1229f84a41a6aba5b7df1f4261a9336347b068a.tar.gz
gdb-c1229f84a41a6aba5b7df1f4261a9336347b068a.tar.bz2
Tidy elf_symbol_from
bfd/ * elf-bfd.h (elf_symbol_from): Remove unused ABFD parameter. * elf.c (ignore_section_sym, _bfd_elf_copy_private_symbol_data), (swap_out_syms): Adjust elf_symbol_from invocation. binutils/ * nm.c (print_symbol): Adjust elf_symbol_from invocation. * objcopy.c (is_hidden_symbol): Likewise. gas/ * config/obj-elf.c (obj_elf_visibility, elf_frob_symbol): Adjust elf_symbol_from invocation. * config/tc-aarch64.c (s_variant_pcs): Likewise. * config/tc-m68hc11.c (s_m68hc11_mark_symbol): Likewise. * config/tc-ppc.c (ppc_elf_localentry, ppc_force_relocation), (ppc_fix_adjustable): Likewise. * config/tc-xgate.c (xgate_frob_symbol): Likewise. ld/ * plugin.c (asymbol_from_plugin_symbol): Adjust elf_symbol_from invocation. opcodes/ * ppc-dis.c (ppc_symbol_is_valid): Adjust elf_symbol_from invocation.
Diffstat (limited to 'ld/plugin.c')
-rw-r--r--ld/plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/plugin.c b/ld/plugin.c
index d709ee1..5640b89 100644
--- a/ld/plugin.c
+++ b/ld/plugin.c
@@ -415,7 +415,7 @@ asymbol_from_plugin_symbol (bfd *abfd, asymbol *asym,
if (bfd_get_flavour (abfd) == bfd_target_elf_flavour)
{
- elf_symbol_type *elfsym = elf_symbol_from (abfd, asym);
+ elf_symbol_type *elfsym = elf_symbol_from (asym);
unsigned char visibility;
if (!elfsym)