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.
This commit is contained in:
parent
ec74481d7e
commit
c1229f84a4
16 changed files with 47 additions and 20 deletions
|
@ -1443,7 +1443,7 @@ is_hidden_symbol (asymbol *sym)
|
|||
{
|
||||
elf_symbol_type *elf_sym;
|
||||
|
||||
elf_sym = elf_symbol_from (sym->the_bfd, sym);
|
||||
elf_sym = elf_symbol_from (sym);
|
||||
if (elf_sym != NULL)
|
||||
switch (ELF_ST_VISIBILITY (elf_sym->internal_elf_sym.st_other))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue