New for profiling Solaris 2
authorStan Cox <coxs@gnu.org>
Fri, 30 Aug 1996 18:15:12 +0000 (18:15 +0000)
committerStan Cox <coxs@gnu.org>
Fri, 30 Aug 1996 18:15:12 +0000 (18:15 +0000)
From-SVN: r12680

gcc/config/i386/sol2.h

index b76784d71a9f313dc90317444c3fa1707cbe30a0..99920cfbfff7873c50a1268065ef65e7b95dabb7 100644 (file)
@@ -50,6 +50,17 @@ Boston, MA 02111-1307, USA.  */
 #undef  ENDFILE_SPEC
 #define ENDFILE_SPEC "crtend.o%s %{pg:crtn.o%s}%{!pg:crtn.o%s}"
 
+#undef STARTFILE_SPEC
+#define STARTFILE_SPEC "%{!shared: \
+                        %{!symbolic: \
+                         %{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt1.o%s}}}}\
+                       %{pg:gmon.o%s}%{!pg:crti.o%s} \
+                       %{ansi:values-Xc.o%s} \
+                       %{!ansi: \
+                        %{traditional:values-Xt.o%s} \
+                        %{!traditional:values-Xa.o%s}} \
+                       crtbegin.o%s"
+  
 /* This should be the same as in svr4.h, except with -R added.  */
 #undef LINK_SPEC
 #define LINK_SPEC \