From: Jason Merrill Date: Wed, 10 May 1995 05:49:16 +0000 (+0000) Subject: (LIBGCC_SPEC): Do link with libgcc when -shared. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=046b1537a0e4d57cb0c5908c993b13603a116790;p=gcc.git (LIBGCC_SPEC): Do link with libgcc when -shared. From-SVN: r9607 --- diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 449bf53a69b..c13a6b43ca0 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -96,7 +96,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ %{p:-L/lib/profiled -L/usr/lib/profiled} %{!shared:%{g*:-lg}} -lc" /* gcc must do the search itself to find libgcc.a, not use -l. */ -#define LIBGCC_SPEC "%{!shared:libgcc.a%s}" +#define LIBGCC_SPEC "libgcc.a%s" /* Don't turn -B into -L if the argument specifies a relative file name. */ #define RELATIVE_PREFIX_NOT_LINKDIR