aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>2002-02-11 22:14:25 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2002-02-11 22:14:25 +0000
commitd6e06ddc100e7b9854ebdb5363951aa83fe818f2 (patch)
treefec88357ea05e520c8c9d5a9e43dd58e16fc53cd /gcc/gcc.c
parentcabb228b12d213b986883653155db2cc4ad49a30 (diff)
downloadgcc-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 41c62a9..84f1a1d 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -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. */