diff options
Diffstat (limited to 'bfd/elf64-ppc.c')
-rw-r--r-- | bfd/elf64-ppc.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index a51115e..fc779e6 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -5637,14 +5637,13 @@ opd_entry_value (asection *opd_sec, and *CODE_OFF to the function's entry point. */ static bfd_boolean -ppc64_elf_maybe_function_sym (const elf_symbol_type *sym, +ppc64_elf_maybe_function_sym (const asymbol *sym, asection **code_sec, bfd_vma *code_off) { if (_bfd_elf_maybe_function_sym (sym, code_sec, code_off)) { - if (strcmp (sym->symbol.section->name, ".opd") == 0) - opd_entry_value (sym->symbol.section, sym->symbol.value, - code_sec, code_off); + if (strcmp (sym->section->name, ".opd") == 0) + opd_entry_value (sym->section, sym->value, code_sec, code_off); return TRUE; } return FALSE; |