Commit bde58648 by David Edelsohn Committed by David Edelsohn

gcc.c (init_gcc_spec): Do not link with static libgcc.a if gcc invoked with -shared.

        * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
        gcc invoked with -shared.

From-SVN: r48396
parent 80f33d06
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.
......
......@@ -1439,7 +1439,7 @@ init_gcc_specs (obstack, shared_name, static_name, eh_name)
#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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment