Make Linux target work
authorMichael Meissner <meissner@gcc.gnu.org>
Tue, 2 Jul 1996 21:58:04 +0000 (21:58 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Tue, 2 Jul 1996 21:58:04 +0000 (21:58 +0000)
From-SVN: r12380

gcc/config/rs6000/sysv4.h

index e6b79dd5676264b2318caee1b4a5a05b355d98bb..b1c7838d93e6bf4e3b966f0a4bb4464e525364c3 100644 (file)
@@ -1171,11 +1171,14 @@ do {                                                                    \
 #ifndef        STARTFILE_LINUX_SPEC
 #define        STARTFILE_LINUX_SPEC "\
 %{!shared: %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
-scrti.o%s"
+%{mnewlib: ecrti.o%s} \
+%{!mnewlib: crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
 #endif
 
 #ifndef        ENDFILE_LINUX_SPEC
-#define        ENDFILE_LINUX_SPEC "scrtn.o%s"
+#define        ENDFILE_LINUX_SPEC "\
+%{mnewlib: ecrtn.o%s} \
+%{!mnewlib: %{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s}"
 #endif
 
 #ifndef LINK_START_LINUX_SPEC