diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2001-06-09 20:37:29 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2001-06-09 20:37:29 +0000 |
commit | 7112135f343d18b402fe895b3089a4f6db4cc2c8 (patch) | |
tree | 07cb6a95ac3633e9e38e58f155b2a3a96be3b715 | |
parent | 4173be7fe59f3a20f11a1718003faf44f20d349d (diff) | |
download | gcc-7112135f343d18b402fe895b3089a4f6db4cc2c8.zip gcc-7112135f343d18b402fe895b3089a4f6db4cc2c8.tar.gz gcc-7112135f343d18b402fe895b3089a4f6db4cc2c8.tar.bz2 |
* config.gcc: Re-enable bi-arch sparc on Solaris 7 and above.
From-SVN: r43106
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config.gcc | 25 |
2 files changed, 16 insertions, 13 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3b3f434..2c81809 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-06-09 Alexandre Oliva <aoliva@redhat.com> + + * config.gcc: Re-enable bi-arch sparc on Solaris 7 and above. + 2001-06-09 Peter Jakubek <pjak@snafu.de> * config/m68k/m68k.md (ashrdi_const): Fix right shift by 16. diff --git a/gcc/config.gcc b/gcc/config.gcc index 42082e7..3f708a4 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -2946,19 +2946,18 @@ sparc-*-solaris2*) tmake_file="$tmake_file t-slibgcc-sld" fi extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o" -# At the moment, 32-to-64 cross compilation doesn't work. -# case $machine in -# *-*-solaris2.[0-6] | *-*-solaris2.[0-6].*) ;; -# *-*-solaris2*) -# if test x$gnu_ld = xyes -# then -# tm_file=sparc/sol2-64.h -# else -# tm_file=sparc/sol2-sld-64.h -# fi -# tmake_file="$tmake_file sparc/t-sol2-64" -# ;; -# esac + case $machine in + *-*-solaris2.[0-6] | *-*-solaris2.[0-6].*) ;; + *-*-solaris2*) + if test x$gnu_ld = xyes + then + tm_file=sparc/sol2-64.h + else + tm_file=sparc/sol2-sld-64.h + fi + tmake_file="$tmake_file sparc/t-sol2-64" + ;; + esac case $machine in *-*-solaris2.[0-4]) float_format=i128 |