diff options
author | obrien <obrien@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-02 16:50:05 +0000 |
---|---|---|
committer | obrien <obrien@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-02 16:50:05 +0000 |
commit | 6e9ae8704ce095a48d059ba36e9672e0ba87c0f6 (patch) | |
tree | cff0e7e23ec58d6730a3436048e9c241b295b454 /gcc/config/i386/freebsd64.h | |
parent | e0e1fecf9316860710fc81131a2e55bb9f7240e9 (diff) | |
download | gcc-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/i386/freebsd64.h')
-rw-r--r-- | gcc/config/i386/freebsd64.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/i386/freebsd64.h b/gcc/config/i386/freebsd64.h index 62d21ccc1a1..19e9bc25adb 100644 --- a/gcc/config/i386/freebsd64.h +++ b/gcc/config/i386/freebsd64.h @@ -23,6 +23,9 @@ Boston, MA 02111-1307, USA. */ #undef TARGET_VERSION #define TARGET_VERSION fprintf (stderr, " (FreeBSD/x86-64 ELF)"); +#define SUBTARGET_EXTRA_SPECS \ + { "fbsd_dynamic_linker", FBSD_DYNAMIC_LINKER } + /* Provide a LINK_SPEC appropriate for the FreeBSD/x86-64 ELF target. This is a copy of LINK_SPEC from <i386/freebsd.h> tweaked for the x86-64 target. */ @@ -37,6 +40,6 @@ Boston, MA 02111-1307, USA. */ %{!shared: \ %{!static: \ %{rdynamic:-export-dynamic} \ - %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \ + %{!dynamic-linker:-dynamic-linker %(fbsd_dynamic_linker) }} \ %{static:-Bstatic}} \ %{symbolic:-Bsymbolic}" |