diff options
author | John David Anglin <dave@hiauly1.hia.nrc.ca> | 2002-02-11 22:14:25 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2002-02-11 22:14:25 +0000 |
commit | d6e06ddc100e7b9854ebdb5363951aa83fe818f2 (patch) | |
tree | fec88357ea05e520c8c9d5a9e43dd58e16fc53cd /gcc/config/pa/pa32-linux.h | |
parent | cabb228b12d213b986883653155db2cc4ad49a30 (diff) | |
download | gcc-d6e06ddc100e7b9854ebdb5363951aa83fe818f2.tar.gz |
gcc.c (init_gcc_specs): Add static libgcc to link when "-shared" is specified.
* gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
is specified.
* config/pa/pa-linux.h (LIB_SPEC): Delete.
* config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
From-SVN: r49684
Diffstat (limited to 'gcc/config/pa/pa32-linux.h')
-rw-r--r-- | gcc/config/pa/pa32-linux.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/gcc/config/pa/pa32-linux.h b/gcc/config/pa/pa32-linux.h index 8df3257734b..81f64529a3a 100644 --- a/gcc/config/pa/pa32-linux.h +++ b/gcc/config/pa/pa32-linux.h @@ -1,5 +1,5 @@ /* Definitions for PA_RISC with ELF-32 format - Copyright (C) 2000 Free Software Foundation, Inc. + Copyright (C) 2000, 2002 Free Software Foundation, Inc. This file is part of GNU CC. @@ -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*} }}}}}}" |