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}"
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to