diff options
author | danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-11 22:14:25 +0000 |
---|---|---|
committer | danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-11 22:14:25 +0000 |
commit | 4515af0bd155c514cab4be94fe8107677111460e (patch) | |
tree | fec88357ea05e520c8c9d5a9e43dd58e16fc53cd /gcc/gcc.c | |
parent | 52fc952852e1f289d84696f9b74a8be4725784b2 (diff) | |
download | gcc-4515af0bd155c514cab4be94fe8107677111460e.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49684 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c index 41c62a9e4fe..84f1a1dddfe 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. */ |