Commit 8947df0c by Richard Henderson

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
parent ab847133
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> 2002-04-16 Dale Johannesen <dalej@apple.com>
* config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of * config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of
...@@ -12,7 +19,7 @@ ...@@ -12,7 +19,7 @@
2002-04-16 Aldy Hernandez <aldyh@redhat.com> 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> 2002-04-16 Jakub Jelinek <jakub@redhat.com>
......
...@@ -3077,8 +3077,8 @@ sparc-*-rtems*|sparc-*-rtemself*) ...@@ -3077,8 +3077,8 @@ sparc-*-rtems*|sparc-*-rtemself*)
thread_file='rtems' thread_file='rtems'
fi fi
;; ;;
sparc64-*-solaris2*) sparc64-*-solaris2* | sparcv9-*-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" 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 if test x$gnu_ld = xyes; then
tm_file="${tm_file} sparc/sol2-gld.h sparc/sol2-gld-bi.h" tm_file="${tm_file} sparc/sol2-gld.h sparc/sol2-gld-bi.h"
fi fi
...@@ -3126,7 +3126,7 @@ sparc-hal-solaris2*) ...@@ -3126,7 +3126,7 @@ sparc-hal-solaris2*)
esac esac
thread_file='solaris' 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" tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h"
if test x$gnu_ld = xyes; then if test x$gnu_ld = xyes; then
tm_file="${tm_file} sparc/sol2-gld.h" tm_file="${tm_file} sparc/sol2-gld.h"
...@@ -3138,17 +3138,18 @@ sparc-*-solaris2* | sparcv9-*-solaris2*) ...@@ -3138,17 +3138,18 @@ sparc-*-solaris2* | sparcv9-*-solaris2*)
tmake_file="$tmake_file t-slibgcc-sld" tmake_file="$tmake_file t-slibgcc-sld"
fi fi
case $machine in 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" tm_file="sparc/biarch64.h ${tm_file} sparc/sol2-bi.h"
if test x$gnu_ld = xyes; then if test x$gnu_ld = xyes; then
tm_file="${tm_file} sparc/sol2-gld-bi.h" tm_file="${tm_file} sparc/sol2-gld-bi.h"
fi fi
tmake_file="$tmake_file sparc/t-sol2-64" 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 esac
xm_defines=POSIX xm_defines=POSIX
extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o" extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
......
...@@ -3463,17 +3463,10 @@ option instead, which should be safe from those bugs and produce code ...@@ -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 that, unlike full 64-bit code, can still run on non-UltraSPARC
machines. machines.
The target tuple @code{sparc-sun-solaris} will be used for When configuring on a Solaris 7 or 8 system that is running a kernel
configurations in which only 32-bit SPARC binaries may be executed; that supports only 32-bit binaries, one must configure with
@code{sparcv9-sun-solaris} will be used when either 32-bit or 64-bit @option{--disable-multilib}, since we will not be able to build the
binaries may be executed, but the compiler will produce 32-bit 64-bit target libraries.
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.
@html @html
</p> </p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment