* gcc.c (init_gcc_spec): Revert last change.

From-SVN: r49986
This commit is contained in:
David Edelsohn 2002-02-23 05:59:47 +00:00 committed by David Edelsohn
parent d6e671fadf
commit f98e43c068
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-02-23 David Edelsohn <edelsohn@gnu.org>
* gcc.c (init_gcc_spec): Revert last change.
2002-02-23 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use

View File

@ -1418,7 +1418,7 @@ init_gcc_specs (obstack, shared_name, static_name, eh_name)
const char *p;
/* If we see -shared-libgcc, then use the shared version. */
sprintf (buffer, "%%{shared-libgcc:%s}", shared_name);
sprintf (buffer, "%%{shared-libgcc:%s %s}", shared_name, static_name);
obstack_grow (obstack, buffer, strlen (buffer));
/* If we see -static-libgcc, then use the static version. */
sprintf (buffer, "%%{static-libgcc:%s %s}", static_name, eh_name);