* gcc.c (init_gcc_spec): Do not link with static libgcc.a if
gcc invoked with -shared.
From-SVN: r48396
+2001-12-29 David Edelsohn <edelsohn@gnu.org>
+
+ * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
+ gcc invoked with -shared.
+
2001-12-29 Graham Stott <grahams@redhat.com>
* config/i386/i386.c (ix86_asm_dialect): Fix enum type.
#ifdef LINK_EH_SPEC
sprintf (buffer, "%s}}}", static_name);
#else
- sprintf (buffer, "%s %s}}}", shared_name, static_name);
+ sprintf (buffer, "%s}}}", shared_name);
#endif
obstack_grow (obstack, buffer, strlen (buffer));
/* Otherwise, use the static version. */