summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/bfd
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2010-12-07 23:14:00 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2010-12-07 23:14:00 +0000
commitba6ede960b612c9531a63bb67bb150730d83f230 (patch)
tree156c6e3cb861f301c66a766526e7fcac5ed3a529 /contrib/binutils/bfd
parentfd23e4897986413343c8dfa900bb16a8bb8004a5 (diff)
downloadFreeBSD-src-ba6ede960b612c9531a63bb67bb150730d83f230.zip
FreeBSD-src-ba6ede960b612c9531a63bb67bb150730d83f230.tar.gz
Fix another .got references-in-linkonce-sections issue with C++. There are
remaining issues here, and a more general solution is probably called for. Submitted by: Jakob van Santen <vansanten@wisc.edu>
Diffstat (limited to 'contrib/binutils/bfd')
-rw-r--r--contrib/binutils/bfd/elf64-ppc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/binutils/bfd/elf64-ppc.c b/contrib/binutils/bfd/elf64-ppc.c
index d7decd8..f9f8ae9 100644
--- a/contrib/binutils/bfd/elf64-ppc.c
+++ b/contrib/binutils/bfd/elf64-ppc.c
@@ -9753,6 +9753,9 @@ ppc64_elf_action_discarded (asection *sec)
if (strcmp (".got", sec->name) == 0)
return 0;
+ if (strcmp (".got1", sec->name) == 0)
+ return 0;
+
return _bfd_elf_default_action_discarded (sec);
}
OpenPOWER on IntegriCloud