(LIBGCC_SPEC): Do link with libgcc when -shared.
authorJason Merrill <merrill@gnu.org>
Wed, 10 May 1995 05:49:16 +0000 (05:49 +0000)
committerJason Merrill <merrill@gnu.org>
Wed, 10 May 1995 05:49:16 +0000 (05:49 +0000)
From-SVN: r9607

gcc/config/rs6000/rs6000.h

index 449bf53a69b508203565a7c2b425c549ce284459..c13a6b43ca0f5da60638242db52e9af0099ca992 100644 (file)
@@ -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