svn commit: r216278 - projects/binutils-2.17/contrib/binutils/bfd

Nathan Whitehorn nwhitehorn at FreeBSD.org
Tue Dec 7 23:14:01 UTC 2010


Author: nwhitehorn
Date: Tue Dec  7 23:14:00 2010
New Revision: 216278
URL: http://svn.freebsd.org/changeset/base/216278

Log:
  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 at wisc.edu>

Modified:
  projects/binutils-2.17/contrib/binutils/bfd/elf64-ppc.c

Modified: projects/binutils-2.17/contrib/binutils/bfd/elf64-ppc.c
==============================================================================
--- projects/binutils-2.17/contrib/binutils/bfd/elf64-ppc.c	Tue Dec  7 22:43:29 2010	(r216277)
+++ projects/binutils-2.17/contrib/binutils/bfd/elf64-ppc.c	Tue Dec  7 23:14:00 2010	(r216278)
@@ -9753,6 +9753,9 @@ ppc64_elf_action_discarded (asection *se
   if (strcmp (".got", sec->name) == 0)
     return 0;
 
+  if (strcmp (".got1", sec->name) == 0)
+    return 0;
+
   return _bfd_elf_default_action_discarded (sec);
 }
 


More information about the svn-src-projects mailing list