diff options
author | David O'Brien <obrien@FreeBSD.org> | 2004-03-02 16:50:05 +0000 |
---|---|---|
committer | David O'Brien <obrien@gcc.gnu.org> | 2004-03-02 16:50:05 +0000 |
commit | 2de2f846a2684f9452a1aeacf9fcab57b13a2c40 (patch) | |
tree | cff0e7e23ec58d6730a3436048e9c241b295b454 /gcc/config/arm/freebsd.h | |
parent | 21a32e081980b7465099f50eb0266183d9941377 (diff) | |
download | gcc-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/arm/freebsd.h')
-rw-r--r-- | gcc/config/arm/freebsd.h | 17 |
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 ]***********************************/ |