entered into RCS
authorRichard Kenner <kenner@gcc.gnu.org>
Wed, 29 Apr 1992 02:07:35 +0000 (22:07 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Wed, 29 Apr 1992 02:07:35 +0000 (22:07 -0400)
From-SVN: r857

gcc/config/m68k/tower.h

index 1b92c84..e902187 100644 (file)
@@ -69,7 +69,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 "%{p:%{m68881:-L/usr/lib/fp/libp} -L/usr/lib/libp}             \
  %{m68881:-L/usr/lib/fp}"
 
-#define LIB_SPEC "-lc %{m68881:/usr/lib/fp/crtn.o}%{!m68881:/lib/crtn.o}"
+#define LIB_SPEC \
+"%{shlib:-lc_s} -lc crtend.o%s \
+ %{m68881:/usr/lib/fp/crtn.o}%{!m68881:/lib/crtn.o}"
 
 /* Use mem* functions, recognize #ident lines.  */