diff options
author | brendan <brendan@138bc75d-0d04-0410-961f-82ee72b054a4> | 1992-10-13 18:56:57 +0000 |
---|---|---|
committer | brendan <brendan@138bc75d-0d04-0410-961f-82ee72b054a4> | 1992-10-13 18:56:57 +0000 |
commit | 1aa422cbb5994f8911891c5937162e6098b2b399 (patch) | |
tree | ee30517d9d669c972e24b436f8e6c2a7e64294bf /gcc/config/sparc/sol2.h | |
parent | 440fc8ec2eee846efd88e4fa2c0ae23ffb2f722c (diff) | |
download | gcc-1aa422cbb5994f8911891c5937162e6098b2b399.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2441 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sparc/sol2.h')
-rw-r--r-- | gcc/config/sparc/sol2.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h index 90a95c61ba8..0981d05c848 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}}}" |