aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/freebsd-spec.h
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/freebsd-spec.h
parent21a32e081980b7465099f50eb0266183d9941377 (diff)
downloadgcc-2de2f846a2684f9452a1aeacf9fcab57b13a2c40.zip
gcc-2de2f846a2684f9452a1aeacf9fcab57b13a2c40.tar.gz
gcc-2de2f846a2684f9452a1aeacf9fcab57b13a2c40.tar.bz2
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/freebsd-spec.h')
-rw-r--r--gcc/config/freebsd-spec.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/freebsd-spec.h b/gcc/config/freebsd-spec.h
index 6195c08..7370547 100644
--- a/gcc/config/freebsd-spec.h
+++ b/gcc/config/freebsd-spec.h
@@ -147,3 +147,9 @@ is built with the --enable-threads configure-time option.} \
}"
#endif
#endif
+
+#if FBSD_MAJOR < 6
+#define FBSD_DYNAMIC_LINKER "/usr/libexec/ld-elf.so.1"
+#else
+#define FBSD_DYNAMIC_LINKER "/libexec/ld-elf.so.1"
+#endif