(STARTFILE_SPEC): Link with gcrt1.o with -pg.
authorJim Wilson <wilson@gcc.gnu.org>
Thu, 30 Nov 1995 03:04:24 +0000 (19:04 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Thu, 30 Nov 1995 03:04:24 +0000 (19:04 -0800)
From-SVN: r10638

gcc/config/sparc/sol2.h

index d0772dfe88c382e8fb4f9c718dbfe387c207c03b..ab35ed3366d564b47b0089079e9c15b077f6f310 100644 (file)
@@ -102,7 +102,10 @@ do {                                                                       \
 #undef STARTFILE_SPEC
 #define STARTFILE_SPEC "%{!shared: \
                         %{!symbolic: \
-                         %{p:mcrt1.o%s}%{!p:crt1.o%s} %{pg:gmon.o%s}}} \
+                         %{p:mcrt1.o%s} \
+                          %{!p: \
+                           %{pg:gcrt1.o%s gmon.o%s} \
+                            %{!pg:crt1.o%s}}}} \
                        crti.o%s \
                        %{ansi:values-Xc.o%s} \
                        %{!ansi: \