aboutsummaryrefslogtreecommitdiff
path: root/gold/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-06-01 22:01:44 +0930
committerAlan Modra <amodra@gmail.com>2014-06-02 09:26:23 +0930
commitf697178787b1200fcbea13f6504c108e7714c6bd (patch)
tree51d222d94a0293ad0bff2112ce970fa248b30e6c /gold/ChangeLog
parent16954d5d9d7d44356b46864d41b06dbefd867521 (diff)
downloadgdb-f697178787b1200fcbea13f6504c108e7714c6bd.zip
gdb-f697178787b1200fcbea13f6504c108e7714c6bd.tar.gz
gdb-f697178787b1200fcbea13f6504c108e7714c6bd.tar.bz2
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.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r--gold/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 7b6fa81..b421ad9 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,9 @@
+2014-06-02 Alan Modra <amodra@gmail.com>
+
+ * powerpc.cc (Target_powerpc::local_reloc_may_be_function_pointer):
+ Only ignore relocs on ELFv1.
+ (Target_powerpc::global_reloc_may_be_function_pointer): Likewise.
+
2014-05-30 Cary Coutant <ccoutant@google.com>
* testsuite/Makefile.am (ehdr_start_test_4): Fix typo in -B option.