summaryrefslogtreecommitdiffstats
path: root/contrib/gcc
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2012-05-30 20:13:49 +0000
committermarius <marius@FreeBSD.org>2012-05-30 20:13:49 +0000
commit56d906b966eaf5d3b595b4f870bd77030ed281ee (patch)
tree082111df53d3a39f98d590d46165d649ecd69ae2 /contrib/gcc
parent14cb5ed7df10c31c1a14ca7a4c9d718b18556b09 (diff)
downloadFreeBSD-src-56d906b966eaf5d3b595b4f870bd77030ed281ee.zip
FreeBSD-src-56d906b966eaf5d3b595b4f870bd77030ed281ee.tar.gz
Merge r236137 from x86:
Enable GNU hash generation for dynamic ELF binaries. While at it, sync the order of options with x86 and pass along the verbose flag.
Diffstat (limited to 'contrib/gcc')
-rw-r--r--contrib/gcc/config/sparc/freebsd.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/gcc/config/sparc/freebsd.h b/contrib/gcc/config/sparc/freebsd.h
index 31bfd36..305840f 100644
--- a/contrib/gcc/config/sparc/freebsd.h
+++ b/contrib/gcc/config/sparc/freebsd.h
@@ -45,14 +45,16 @@ Boston, MA 02110-1301, USA. */
#define LINK_SPEC "%(link_arch) \
%{!mno-relax:%{!r:-relax}} \
%{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \
+ %{v:-V} \
%{assert*} %{R*} %{rpath*} %{defsym*} \
%{shared:-Bshareable %{h*} %{soname*}} \
- %{symbolic:-Bsymbolic} \
%{!shared: \
%{!static: \
%{rdynamic:-export-dynamic} \
%{!dynamic-linker:-dynamic-linker %(fbsd_dynamic_linker) }} \
- %{static:-Bstatic}}"
+ %{static:-Bstatic}} \
+ %{!static:--hash-style=both} \
+ %{symbolic:-Bsymbolic}"
/************************[ Target stuff ]***********************************/
OpenPOWER on IntegriCloud