diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-11-20 17:13:01 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-11-20 17:13:01 +0000 |
commit | 03150a338ef2f77b0e6a8b3238e3f6f9fba15e4f (patch) | |
tree | 05532f9b36c19db3ba4c3c2a298e1d0c80348696 /libgcc/config.host | |
parent | 40b4f5e174cfdb85f43dabb9b568cad567c7a3f8 (diff) | |
download | gcc-03150a338ef2f77b0e6a8b3238e3f6f9fba15e4f.tar.gz |
gcc:
PR bootstrap/33100
* config.gcc (i[34567]86-*-solaris2*): Don't include
i386/t-crtstuff here.
Move extra_parts, i386/t-sol2 in tmake_file to libgcc/config.host.
* config/i386/t-sol2: Move to libgcc/config/i386.
libgcc:
PR bootstrap/33100
* configure.ac (i?86-*-solaris2.1[0-9]*): Only include
i386/t-crtstuff if linker supports ZERO terminator unwind entries.
* configure: Regenerate.
* config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
tmake_file here from gcc/config.gcc.
Move extra_parts here from gcc/config.gcc.
* config/i386/t-sol2: Move here from gcc/config/i386.
Use gcc_srcdir instead of srcdir.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142050 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/config.host')
-rw-r--r-- | libgcc/config.host | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libgcc/config.host b/libgcc/config.host index 747fd7e336b..f85f3cf32b4 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -318,6 +318,17 @@ i[34567]86-*-nto-qnx*) i[34567]86-*-rtems*) ;; i[34567]86-*-solaris2*) + tmake_file="${tmake_file} i386/t-sol2" + case ${host} in + *-*-solaris2.1[0-9]*) + # Solaris 2.10 provides crt1.o, crti.o, crtn.o, and gcrt1.o as + # part of the base system. + extra_parts="gmon.o crtbegin.o crtend.o" + ;; + *) + extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o" + ;; + esac ;; i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae) ;; |