Wrong function reported for linker error message
authorAlan Modra <amodra@gmail.com>
Tue, 1 Sep 2015 07:58:13 +0000 (17:28 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 1 Sep 2015 08:14:33 +0000 (17:44 +0930)
commitb07bca4ecd27f9cbaff822e4135abaf0ae6cd0db
tree0325b2e4e4c6dba0d282f34c46358b304bc66953
parenta4b6fadd50968ec6c1b687fe52b88bd11ff734b3
Wrong function reported for linker error message

OPD lookup goes awry when .opd has been shuffled to remove unused
functions.

* elf64-ppc.c (ppc64_elf_maybe_function_sym): Adjust symbol value
if .opd section has been edited.
bfd/ChangeLog
bfd/elf64-ppc.c