diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2010-12-07 23:14:00 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2010-12-07 23:14:00 +0000 |
commit | ba6ede960b612c9531a63bb67bb150730d83f230 (patch) | |
tree | 156c6e3cb861f301c66a766526e7fcac5ed3a529 | |
parent | fd23e4897986413343c8dfa900bb16a8bb8004a5 (diff) | |
download | FreeBSD-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>
-rw-r--r-- | contrib/binutils/bfd/elf64-ppc.c | 3 |
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); } |