diff options
author | Brendan Kehoe <brendan@gcc.gnu.org> | 1992-10-13 14:56:57 -0400 |
---|---|---|
committer | Brendan Kehoe <brendan@gcc.gnu.org> | 1992-10-13 14:56:57 -0400 |
commit | 13cc7b777a7826173441a7f1a1d2b69a7d126d3c (patch) | |
tree | ee30517d9d669c972e24b436f8e6c2a7e64294bf /gcc | |
parent | 1c01e9df92a901c69981316978aab8a8124705ff (diff) | |
download | gcc-13cc7b777a7826173441a7f1a1d2b69a7d126d3c.zip gcc-13cc7b777a7826173441a7f1a1d2b69a7d126d3c.tar.gz gcc-13cc7b777a7826173441a7f1a1d2b69a7d126d3c.tar.bz2 |
spc-sol2.h (STARTFILE_SPEC): Add crtbegin.o.
* 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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/sparc/sol2.h | 4 | ||||
-rw-r--r-- | gcc/config/sparc/t-sol2 | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h index 90a95c6..0981d05 100644 --- a/gcc/config/sparc/sol2.h +++ b/gcc/config/sparc/sol2.h @@ -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}}}" diff --git a/gcc/config/sparc/t-sol2 b/gcc/config/sparc/t-sol2 index 86cd5e3..e810f94 100644 --- a/gcc/config/sparc/t-sol2 +++ b/gcc/config/sparc/t-sol2 @@ -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 |