Fix PowerPC64 ELFv2 icf_safe failures
authorAlan Modra <amodra@gmail.com>
Sun, 1 Jun 2014 12:31:44 +0000 (22:01 +0930)
committerAlan Modra <amodra@gmail.com>
Sun, 1 Jun 2014 23:56:23 +0000 (09:26 +0930)
commitf697178787b1200fcbea13f6504c108e7714c6bd
tree51d222d94a0293ad0bff2112ce970fa248b30e6c
parent16954d5d9d7d44356b46864d41b06dbefd867521
Fix PowerPC64 ELFv2 icf_safe failures

ELFv2 doesn't use .opd, so folding function code can't be allowed
in safe mode if a function's address might be taken.

* powerpc.cc (Target_powerpc::local_reloc_may_be_function_pointer):
Only ignore relocs on ELFv1.
(Target_powerpc::global_reloc_may_be_function_pointer): Likewise.
gold/ChangeLog
gold/powerpc.cc
This page took 0.023926 seconds and 4 git commands to generate.