]> gcc.gnu.org Git - gcc.git/commitdiff
spc-sol2.h (STARTFILE_SPEC): Add crtbegin.o.
authorBrendan Kehoe <brendan@gcc.gnu.org>
Tue, 13 Oct 1992 18:56:57 +0000 (14:56 -0400)
committerBrendan Kehoe <brendan@gcc.gnu.org>
Tue, 13 Oct 1992 18:56:57 +0000 (14:56 -0400)
        * spc-sol2.h (STARTFILE_SPEC): Add crtbegin.o.
        (LIB_SPEC): Add crtend.o for running ctors/dtors.
        * t-sol2 (EXTRA_PARTS): Add crtbegin.o and crtend.o for C++.
        (FIXINCLUDES): Deleted.
        * configure (sparc-*-solaris2*): Set fixincludes here.

From-SVN: r2441

gcc/config/sparc/sol2.h
gcc/config/sparc/t-sol2

index 90a95c61ba8946d2b00c5fc74c564c60d6db5242..0981d05c848b7121208b7b543f298911a2d45ed9 100644 (file)
@@ -151,9 +151,11 @@ do {                                                                       \
                          %{ansi:/usr/ccs/lib/values-Xc.o%s} \
                          %{!ansi: \
                           %{traditional:/usr/ccs/lib/values-Xt.o%s} \
-                          %{!traditional:/usr/ccs/lib/values-Xa.o%s}}}}"
+                          %{!traditional:/usr/ccs/lib/values-Xa.o%s}}}} \
+                         crtbegin.o%s"
 
 #undef LIB_SPEC
 #define LIB_SPEC \
   "%{!shared:%{!symbolic:-lc}} \
+  crtend.o%s \
   %{!shared:%{!symbolic:%{pg:crtn.o%s}%{!pg:crtn.o%s}}}"
index 86cd5e33f1751ea19f96620c734fa45aebd4c2b5..e810f9480198d930f3d1515e6fddd5e2efcd002e 100644 (file)
@@ -1,10 +1,6 @@
 # we need startup files for solaris, since we don't get them with the system
 
-EXTRA_PARTS=crt1.o crti.o crtn.o gmon.o
-
-# For svr4 we run the special svr4 fixincludes script.
-
-FIXINCLUDES=fixinc.svr4
+EXTRA_PARTS=crt1.o crti.o crtn.o gmon.o crtbegin.o crtend.o
 
 # we need to supply our own assembly versions of libgcc1.c files,
 # since the user may not have native 'cc' available
This page took 1.694795 seconds and 5 git commands to generate.