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/gcc.c | |
parent | cabb228b12d213b986883653155db2cc4ad49a30 (diff) | |
download | gcc-d6e06ddc100e7b9854ebdb5363951aa83fe818f2.zip gcc-d6e06ddc100e7b9854ebdb5363951aa83fe818f2.tar.gz gcc-d6e06ddc100e7b9854ebdb5363951aa83fe818f2.tar.bz2 |
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/gcc.c')
-rw-r--r-- | gcc/gcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1430,7 +1430,7 @@ init_gcc_specs (obstack, shared_name, static_name, eh_name) #ifdef LINK_EH_SPEC sprintf (buffer, "%s}}}", static_name); #else - sprintf (buffer, "%s}}}", shared_name); + sprintf (buffer, "%s %s}}}", shared_name, static_name); #endif obstack_grow (obstack, buffer, strlen (buffer)); /* Otherwise, use the static version. */ |