diff options
author | amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-23 02:16:26 +0000 |
---|---|---|
committer | amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-23 02:16:26 +0000 |
commit | be4e8b82f1d4e57cfc87759900e949ce9b4bb93a (patch) | |
tree | 19ecdce5770c443ff6c937695a19fb3fac65ea7f /gcc/config/arm/linux-elf.h | |
parent | 30696602f46abc88a2745256eb6d0fda2170bef4 (diff) | |
download | gcc-be4e8b82f1d4e57cfc87759900e949ce9b4bb93a.tar.gz |
* gcc.c (init_gcc_specs): Test USE_LD_AS_NEEDED, not HAVE_LD_AS_NEEDED.
* config/linux.h (USE_LD_AS_NEEDED): Define.
* gcc/config/alpha/linux.h (USE_LD_AS_NEEDED): Define.
* gcc/config/arm/linux-elf.h (USE_LD_AS_NEEDED): Define.
* gcc/config/rs6000/linux.h (USE_LD_AS_NEEDED): Define.
* gcc/config/rs6000/linux64.h (USE_LD_AS_NEEDED): Define.
* gcc/config/sh/linux.h (USE_LD_AS_NEEDED): Define.
* gcc/config/sparc/linux.h (USE_LD_AS_NEEDED): Define.
* gcc/config/sparc/linux64.h (USE_LD_AS_NEEDED): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81072 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/arm/linux-elf.h')
-rw-r--r-- | gcc/config/arm/linux-elf.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h index bbfcbeb3360..b4b389c1b7c 100644 --- a/gcc/config/arm/linux-elf.h +++ b/gcc/config/arm/linux-elf.h @@ -126,3 +126,8 @@ #define LINK_GCC_C_SEQUENCE_SPEC \ "%{static:--start-group} %G %L %{static:--end-group}%{!static:%G}" + +/* Use --as-needed -lgcc_s for eh support. */ +#ifdef HAVE_LD_AS_NEEDED +#define USE_LD_AS_NEEDED 1 +#endif |