From d410858908e7f8a1be4d98799b99b9a56a9fa8eb Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Tue, 26 Feb 2002 23:38:34 +0000 Subject: [PATCH] pa-linux.h (LIB_SPEC): Update definition. * pa-linux.h (LIB_SPEC): Update definition. * pa32-linux.h (LINK_COMMAND_SPEC): Delete. From-SVN: r50071 --- gcc/ChangeLog | 5 +++++ gcc/config/pa/pa-linux.h | 5 ++++- gcc/config/pa/pa32-linux.h | 11 ----------- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6bf8b862512..00212326b2e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-02-26 John David Anglin + + * pa-linux.h (LIB_SPEC): Update definition. + * pa32-linux.h (LINK_COMMAND_SPEC): Delete. + 2002-02-26 Richard Henderson * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers diff --git a/gcc/config/pa/pa-linux.h b/gcc/config/pa/pa-linux.h index 7138e755d25..2f0ee02db3b 100644 --- a/gcc/config/pa/pa-linux.h +++ b/gcc/config/pa/pa-linux.h @@ -28,7 +28,10 @@ Boston, MA 02111-1307, USA. */ #define CPP_PREDEFINES "-D__ELF__ -Dunix -D__hppa__ -Dlinux -Asystem=unix -Asystem=posix -Acpu=hppa -Amachine=hppa -Amachine=bigendian" #undef LIB_SPEC -#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}" +#define LIB_SPEC \ + "%{shared: -lgcc -lc} \ + %{!shared: %{mieee-fp:-lieee} %{pthread:-lpthread} \ + %{shared-libgcc: -lgcc} %{profile:-lc_p} %{!profile: -lc}}" #undef ASM_SPEC #define ASM_SPEC \ diff --git a/gcc/config/pa/pa32-linux.h b/gcc/config/pa/pa32-linux.h index 09bd44d8965..81f64529a3a 100644 --- a/gcc/config/pa/pa32-linux.h +++ b/gcc/config/pa/pa32-linux.h @@ -24,14 +24,3 @@ Boston, MA 02111-1307, USA. */ #undef CPP_SPEC #define CPP_SPEC "%{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} %{mhppa:-D__hppa__} %{posix:-D_POSIX_SOURCE} -D_PA_RISC1_1" - -/* We need to link against libgcc.a to resolve millicode references. */ -#undef LINK_COMMAND_SPEC -#define LINK_COMMAND_SPEC "\ -%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\ - %(linker) %l %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} %{r} %{s} %{t}\ - %{u*} %{x} %{z} %{Z} %{!A:%{!nostdlib:%{!nostartfiles:%S}}}\ - %{static:} %{L*} %(link_libgcc) %o %{!nostdlib:%{!nodefaultlibs:%G %L %G}}\ - %{!A:%{!nostdlib:%{!nostartfiles:%E}}}\ - %{!nostdlib:%{!nodefaultlibs:%{!static:%{!static-libgcc:-lgcc}}}}\ - %{T*} }}}}}}" -- 2.30.2