config.gcc (sparcv9-solaris): Configure for 64-bit default.

* config.gcc (sparcv9-solaris): Configure for 64-bit default.
        Adjust tm_file order to get TARGET_DEFAULT set properly.
        (sparc-solaris): Configure 2.[78] for 64-bit multilibs.
        * doc/install.texi (sparc-solaris): Update.

From-SVN: r52373
This commit is contained in:
Richard Henderson 2002-04-16 11:05:20 -07:00
parent ab8471334e
commit 8947df0cbb
3 changed files with 21 additions and 20 deletions

View File

@ -1,3 +1,10 @@
2002-04-16 Richard Henderson <rth@redhat.com>
* config.gcc (sparcv9-solaris): Configure for 64-bit default.
Adjust tm_file order to get TARGET_DEFAULT set properly.
(sparc-solaris): Configure 2.[78] for 64-bit multilibs.
* doc/install.texi (sparc-solaris): Update.
2002-04-16 Dale Johannesen <dalej@apple.com>
* config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of
@ -12,7 +19,7 @@
2002-04-16 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/altivec.h (vec_addc): Type check.
* config/rs6000/altivec.h (vec_addc): Type check.
2002-04-16 Jakub Jelinek <jakub@redhat.com>

View File

@ -3077,8 +3077,8 @@ sparc-*-rtems*|sparc-*-rtemself*)
thread_file='rtems'
fi
;;
sparc64-*-solaris2*)
tm_file="sparc/biarch64.h sparc/sol2-64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h sparc/sol2-bi.h"
sparc64-*-solaris2* | sparcv9-*-solaris2*)
tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h sparc/sol2-64.h sparc/sol2-bi.h"
if test x$gnu_ld = xyes; then
tm_file="${tm_file} sparc/sol2-gld.h sparc/sol2-gld-bi.h"
fi
@ -3126,7 +3126,7 @@ sparc-hal-solaris2*)
esac
thread_file='solaris'
;;
sparc-*-solaris2* | sparcv9-*-solaris2*)
sparc-*-solaris2*)
tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h"
if test x$gnu_ld = xyes; then
tm_file="${tm_file} sparc/sol2-gld.h"
@ -3138,17 +3138,18 @@ sparc-*-solaris2* | sparcv9-*-solaris2*)
tmake_file="$tmake_file t-slibgcc-sld"
fi
case $machine in
sparcv9-*)
*-*-solaris2.[0-6] | *-*-solaris2.[0-6].*)
if test x$gnu_ld = xno; then
tm_file="${tm_file} sparc/sol26-sld.h"
fi
;;
*-*-solaris2.[789])
tm_file="sparc/biarch64.h ${tm_file} sparc/sol2-bi.h"
if test x$gnu_ld = xyes; then
tm_file="${tm_file} sparc/sol2-gld-bi.h"
fi
tmake_file="$tmake_file sparc/t-sol2-64"
;;
*-*-solaris2.[0-6] | *-*-solaris2.[0-6].*)
if test x$gnu_ld = xno; then
tm_file="${tm_file} sparc/sol26-sld.h"
fi
esac
xm_defines=POSIX
extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"

View File

@ -3463,17 +3463,10 @@ option instead, which should be safe from those bugs and produce code
that, unlike full 64-bit code, can still run on non-UltraSPARC
machines.
The target tuple @code{sparc-sun-solaris} will be used for
configurations in which only 32-bit SPARC binaries may be executed;
@code{sparcv9-sun-solaris} will be used when either 32-bit or 64-bit
binaries may be executed, but the compiler will produce 32-bit
binaries unless the @option{-m64} switch is used; @code{sparc64-sun-solaris}
should be used when the compiler should produce 64-bit binaries
by default.
Unless otherwise specified, @command{configure} will select either
@code{sparc} or @code{sparcv9} based on the output of @command{isalist}.
It will never select @code{sparc64} by default.
When configuring on a Solaris 7 or 8 system that is running a kernel
that supports only 32-bit binaries, one must configure with
@option{--disable-multilib}, since we will not be able to build the
64-bit target libraries.
@html
</p>