From d6e06ddc100e7b9854ebdb5363951aa83fe818f2 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Mon, 11 Feb 2002 22:14:25 +0000 Subject: 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 --- gcc/gcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/gcc.c') 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. */ -- cgit v1.1