diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-07-20 23:04:58 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-07-20 23:04:58 +0000 |
commit | e4bd5689ee60e8c6ffcd6766ab8c93900ab7114c (patch) | |
tree | b99a2b000013feecc853e3fb38025de86c857f46 /gcc/config/alpha/linux-elf.h | |
parent | e08037331ed06f48882baf11cd22d3111934050f (diff) | |
download | gcc-e4bd5689ee60e8c6ffcd6766ab8c93900ab7114c.tar.gz |
* alpha.h (CPP_SPEC): Tidy. Hook to cpp_cpu and cpp_subtarget.
(CPP_SUBTARGET_SPEC): Default to empty string.
(CPP_AM_*, CPP_IM_*, CPP_CPU_*, CPP_CPU_SPEC): New.
(EXTRA_SPECS, SUBTARGET_EXTRA_SPECS): New.
* alpha/elf.h (LD_SPEC): Use %(elf_dynamic_linker).
* alpha/linux-elf.h (SUBTARGET_EXTRA_SPECS): New.
(LIB_SPEC): Tidy.
* alpha/linux.h (CPP_PREDEFINES): Tidy.
* alpha/netbsd-elf.h (SUBTARGET_EXTRA_SPECS): New.
* alpha/netbsd.h (CPP_PREDEFINES): Tidy.
* alpha/osf.h (CPP_PREDEFINES): Remove bits subsumed by CPP_CPU_SPEC.
* alpha/win-nt.h (CPP_PREDEFINES): Likewise.
* alpha/vsf.h (CPP_PREDEFINES): Likewise.
(CPP_SUBTARGET_SPEC): New. Do this instead of overriding CPP_SPEC.
* alpha/vxworks.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21311 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/alpha/linux-elf.h')
-rw-r--r-- | gcc/config/alpha/linux-elf.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/gcc/config/alpha/linux-elf.h b/gcc/config/alpha/linux-elf.h index 40aa332d189..90009f1c5d0 100644 --- a/gcc/config/alpha/linux-elf.h +++ b/gcc/config/alpha/linux-elf.h @@ -22,13 +22,17 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #undef TARGET_VERSION #define TARGET_VERSION fprintf (stderr, " (Alpha GNU/Linux for ELF)"); +#undef SUBTARGET_EXTRA_SPECS +#define SUBTARGET_EXTRA_SPECS \ +{ "elf_dynamic_linker", ELF_DYNAMIC_LINKER }, + #undef SUB_CPP_PREDEFINES -#define SUB_CPP_PREDEFINES "-D__ELF__" +#define SUB_CPP_PREDEFINES "-D__ELF__" #ifdef USE_GNULIBC_1 -#define ELF_DYNAMIC_LINKER "/lib/ld.so.1" +#define ELF_DYNAMIC_LINKER "/lib/ld.so.1" #else -#define ELF_DYNAMIC_LINKER "/lib/ld-linux.so.2" +#define ELF_DYNAMIC_LINKER "/lib/ld-linux.so.2" #endif #ifndef USE_GNULIBC_1 @@ -39,7 +43,5 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef USE_GNULIBC_1 #undef LIB_SPEC #define LIB_SPEC \ - "%{shared: -lc} \ - %{!shared: %{mieee-fp:-lieee} %{pthread:-lpthread} \ - %{profile:-lc_p} %{!profile: -lc}}" +"%{shared:-lc}%{!shared:%{pthread:-lpthread }%{profile:-lc_p}%{!profile:-lc}} " #endif |