summaryrefslogtreecommitdiff
path: root/gcc/config/arm/freebsd.h
diff options
context:
space:
mode:
authorobrien <obrien@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-02 16:50:05 +0000
committerobrien <obrien@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-02 16:50:05 +0000
commit6e9ae8704ce095a48d059ba36e9672e0ba87c0f6 (patch)
treecff0e7e23ec58d6730a3436048e9c241b295b454 /gcc/config/arm/freebsd.h
parente0e1fecf9316860710fc81131a2e55bb9f7240e9 (diff)
downloadgcc-6e9ae8704ce095a48d059ba36e9672e0ba87c0f6.tar.gz
2004-03-02 David O'Brien <obrien@FreeBSD.org>
* config/freebsd-spec.h (FBSD_DYNAMIC_LINKER): Add. * config/alpha/freebsd.h (SUBTARGET_EXTRA_SPECS): Define %(fbsd_dynamic_linker), (LINK_SPEC): Use %(fbsd_dynamic_linker), and sync style with config/i386/freebsd.h * config/arm/freebsd.h: Ditto. * config/i386/freebsd.h: Ditto. * config/i386/freebsd64.h: Ditto. * config/ia64/freebsd.h: Ditto. * config/rs6000/sysv4.h: Ditto. * config/sparc/freebsd.h: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78766 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/arm/freebsd.h')
-rw-r--r--gcc/config/arm/freebsd.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/config/arm/freebsd.h b/gcc/config/arm/freebsd.h
index fd79f1f3c68..3aea2f86979 100644
--- a/gcc/config/arm/freebsd.h
+++ b/gcc/config/arm/freebsd.h
@@ -20,9 +20,26 @@
Boston, MA 02111-1307, USA. */
+#define SUBTARGET_EXTRA_SPECS \
+ { "fbsd_dynamic_linker", FBSD_DYNAMIC_LINKER }
+
#undef SUBTARGET_CPP_SPEC
#define SUBTARGET_CPP_SPEC FBSD_CPP_SPEC
+#undef LINK_SPEC
+#define LINK_SPEC " \
+ %{p:%nconsider using `-pg' instead of `-p' with gprof(1) } \
+ %{Wl,*:%*} \
+ %{v:-V} \
+ %{assert*} %{R*} %{rpath*} %{defsym*} \
+ %{shared:-Bshareable %{h*} %{soname*}} \
+ %{!shared: \
+ %{!static: \
+ %{rdynamic:-export-dynamic} \
+ %{!dynamic-linker:-dynamic-linker %(fbsd_dynamic_linker) }} \
+ %{static:-Bstatic}} \
+ %{symbolic:-Bsymbolic}"
+
/************************[ Target stuff ]***********************************/