Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Dec 2010 23:14:00 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r216278 - projects/binutils-2.17/contrib/binutils/bfd
Message-ID:  <201012072314.oB7NE0hL083090@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012072314.oB7NE0hL083090>