OSDN Git Service

Make Linux target work
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Jul 1996 21:58:04 +0000 (21:58 +0000)
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Jul 1996 21:58:04 +0000 (21:58 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12380 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/rs6000/sysv4.h

index e6b79dd..b1c7838 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