From f98e43c068f7948105b2bd186b4d883b78c69726 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Sat, 23 Feb 2002 05:59:47 +0000 Subject: [PATCH] * gcc.c (init_gcc_spec): Revert last change. From-SVN: r49986 --- gcc/ChangeLog | 4 ++++ gcc/gcc.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4be4f46c43a..a4a547c8b3d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-02-23 David Edelsohn + + * gcc.c (init_gcc_spec): Revert last change. + 2002-02-23 David Edelsohn * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use diff --git a/gcc/gcc.c b/gcc/gcc.c index 2e4d7f55863..1fcd8f32822 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -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);