summaryrefslogtreecommitdiff
path: root/gcc/config/alpha
diff options
context:
space:
mode:
authorDavid O'Brien <obrien@FreeBSD.org>2004-03-02 16:50:05 +0000
committerDavid O'Brien <obrien@gcc.gnu.org>2004-03-02 16:50:05 +0000
commit2de2f846a2684f9452a1aeacf9fcab57b13a2c40 (patch)
treecff0e7e23ec58d6730a3436048e9c241b295b454 /gcc/config/alpha
parent21a32e081980b7465099f50eb0266183d9941377 (diff)
downloadgcc-2de2f846a2684f9452a1aeacf9fcab57b13a2c40.tar.gz
freebsd-spec.h (FBSD_DYNAMIC_LINKER): Add.
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. From-SVN: r78766
Diffstat (limited to 'gcc/config/alpha')
-rw-r--r--gcc/config/alpha/freebsd.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/gcc/config/alpha/freebsd.h b/gcc/config/alpha/freebsd.h
index 59b2dea9ce7..6bbd617d96d 100644
--- a/gcc/config/alpha/freebsd.h
+++ b/gcc/config/alpha/freebsd.h
@@ -20,12 +20,15 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#define SUBTARGET_EXTRA_SPECS \
+ { "fbsd_dynamic_linker", FBSD_DYNAMIC_LINKER }
+
/* Provide a FBSD_TARGET_CPU_CPP_BUILTINS and CPP_SPEC appropriate for
FreeBSD/alpha. Besides the dealing with
the GCC option `-posix', and PIC issues as on all FreeBSD platforms, we must
deal with the Alpha's FP issues. */
-#undef FBSD_TARGET_CPU_CPP_BUILTINS
+#undef FBSD_TARGET_CPU_CPP_BUILTINS
#define FBSD_TARGET_CPU_CPP_BUILTINS() \
do \
{ \
@@ -45,12 +48,12 @@ Boston, MA 02111-1307, USA. */
%{Wl,*:%*} \
%{assert*} %{R*} %{rpath*} %{defsym*} \
%{shared:-Bshareable %{h*} %{soname*}} \
- %{symbolic:-Bsymbolic} \
%{!shared: \
%{!static: \
%{rdynamic:-export-dynamic} \
- %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
- %{static:-Bstatic}}"
+ %{!dynamic-linker:-dynamic-linker %(fbsd_dynamic_linker) }} \
+ %{static:-Bstatic}} \
+ %{symbolic:-Bsymbolic}"
/************************[ Target stuff ]***********************************/