Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 May 2012 05:27:48 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r236137 - head/contrib/gcc/config/i386
Message-ID:  <201205270527.q4R5Rm44028055@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sun May 27 05:27:47 2012
New Revision: 236137
URL: http://svn.freebsd.org/changeset/base/236137

Log:
  Enable gnu hash generation for dynamic ELF binaries on x86.
  
  Reviewed by:	kan

Modified:
  head/contrib/gcc/config/i386/freebsd.h
  head/contrib/gcc/config/i386/freebsd64.h

Modified: head/contrib/gcc/config/i386/freebsd.h
==============================================================================
--- head/contrib/gcc/config/i386/freebsd.h	Sun May 27 05:24:53 2012	(r236136)
+++ head/contrib/gcc/config/i386/freebsd.h	Sun May 27 05:27:47 2012	(r236137)
@@ -49,6 +49,7 @@ Boston, MA 02110-1301, USA.  */
 	%{rdynamic: -export-dynamic} \
 	%{!dynamic-linker:-dynamic-linker %(fbsd_dynamic_linker) }} \
       %{static:-Bstatic}} \
+    %{!static:--hash-style=both} \
     %{symbolic:-Bsymbolic}"
 
 /* Reset our STARTFILE_SPEC which was properly set in config/freebsd.h

Modified: head/contrib/gcc/config/i386/freebsd64.h
==============================================================================
--- head/contrib/gcc/config/i386/freebsd64.h	Sun May 27 05:24:53 2012	(r236136)
+++ head/contrib/gcc/config/i386/freebsd64.h	Sun May 27 05:27:47 2012	(r236137)
@@ -54,4 +54,5 @@ Boston, MA 02110-1301, USA.  */
         %{rdynamic:-export-dynamic} \
 	%{!dynamic-linker:-dynamic-linker %(fbsd_dynamic_linker) }} \
     %{static:-Bstatic}} \
+  %{!static:--hash-style=both} \
   %{symbolic:-Bsymbolic}"



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