Commit d7496fbb by David S. Miller Committed by David S. Miller

We now fully bootstrap on solaris-2.7 sparcv9.

	toplevel:
	* config.sub: Recognize sparcv9 just like sparc64.
	gcc/ChangeLog:
	* configure.in: in sparc9-sol2 config, use 'if test' not
	brackets.
	* configure: Rebuilt.
	* config/sparc/sol2-sld-64.h (SPARC_DEFAULT_CMODEL): Change to
	CM_MEDANY.
	(CPP_CPU_SPEC): Do not define _LP64, header files do this.
	(CPP_CPU_DEFAULT_SPEC): Likewise.
	* config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Get the names right
	for arch64 libfuncs.
	gcc/java/ChangeLog:
	* jcf-io.c: Include string.h.
	libchill/ChangeLog:
	* configure.in: Use 'if test' not brackets.
	* configure: Rebuilt.

From-SVN: r22404
parent 007e8d2a
1998-09-13 David S. Miller <davem@pierdol.cobaltmicro.com>
* config.sub: Recognize sparcv9 just like sparc64.
Wed Sep 9 15:44:52 1998 Robert Lipe <robertl@dgii.com>
* config.guess: Match "Pent II" or "PentII" for OpenServer.
......
......@@ -167,7 +167,7 @@ case $basic_machine in
| 1750a | dsp16xx | pdp11 \
| mips64 | mipsel | mips64el | mips64orion | mips64orionel \
| mipstx39 | mipstx39el \
| sparc | sparclet | sparclite | sparc64 | v850)
| sparc | sparclet | sparclite | sparc64 | sparcv9 | v850)
basic_machine=$basic_machine-unknown
;;
m88110 | m680[01234]0 | m683?2 | m68360 | z8k | v70 | h8500 | w65) # CYGNUS LOCAL
......@@ -212,7 +212,7 @@ case $basic_machine in
| alphaev6-* | we32k-* | cydra-* | ns16k-* | pn-* | np1-* \
| xps100-* | clipper-* | orion-* \
| sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
| sparc64-* | mips64-* | mipsel-* \
| sparc64-* | sparcv9-* | mips64-* | mipsel-* \
| mips64el-* | mips64orion-* | mips64orionel-* \
| mipstx39-* | mipstx39el-* \
| f301-*)
......@@ -840,7 +840,7 @@ case $basic_machine in
we32k)
basic_machine=we32k-att
;;
sparc)
sparc | sparcv9)
basic_machine=sparc-sun
;;
cydra)
......
Sun Sep 13 19:17:35 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
* configure.in: in sparc9-sol2 config, use 'if test' not
brackets.
* configure: Rebuilt.
* config/sparc/sol2-sld-64.h (SPARC_DEFAULT_CMODEL): Change to
CM_MEDANY.
(CPP_CPU_SPEC): Do not define _LP64, header files do this.
(CPP_CPU_DEFAULT_SPEC): Likewise.
* config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Get the names right
for arch64 libfuncs.
Sun Sep 13 09:11:59 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* acconfig.h (NEED_DECLARATION_STRSIGNAL): Provide a stub.
......
......@@ -23,7 +23,7 @@
/* The default code model. */
#undef SPARC_DEFAULT_CMODEL
#define SPARC_DEFAULT_CMODEL CM_MEDLOW
#define SPARC_DEFAULT_CMODEL CM_MEDANY
#undef LONG_DOUBLE_TYPE_SIZE
#define LONG_DOUBLE_TYPE_SIZE 128
......@@ -45,14 +45,14 @@
%{mcpu=f930:-D__sparclite__} %{mcpu=f934:-D__sparclite__} \
%{mcpu=v8:-D__sparc_v8__} \
%{mcpu=supersparc:-D__supersparc__ -D__sparcv8} \
%{mcpu=v9:-D__sparcv9 -D_LP64} \
%{mcpu=ultrasparc:-D__sparcv9 -D_LP64} \
%{mcpu=v9:-D__sparcv9} \
%{mcpu=ultrasparc:-D__sparcv9} \
%{!mcpu*:%{!mcypress:%{!msparclite:%{!mf930:%{!mf934:%{!mv8:%{!msupersparc:%(cpp_cpu_default)}}}}}}} \
"
#endif
#if TARGET_CPU_DEFAULT == TARGET_CPU_ultrasparc
#undef CPP_CPU_DEFAULT_SPEC
#define CPP_CPU_DEFAULT_SPEC "-D__sparcv9 -D_LP64"
#define CPP_CPU_DEFAULT_SPEC "-D__sparcv9"
#undef ASM_CPU_DEFAULT_SPEC
#define ASM_CPU_DEFAULT_SPEC "-xarch=v9a"
#undef CPP_CPU_SPEC
......@@ -67,7 +67,7 @@
%{mcpu=f930:-D__sparclite__} %{mcpu=f934:-D__sparclite__} \
%{mcpu=v8:-D__sparc_v8__} \
%{mcpu=supersparc:-D__supersparc__ -D__sparcv8} \
%{mcpu=v9:-D__sparcv9 -D_LP64} \
%{mcpu=v9:-D__sparcv9} \
%{mcpu=ultrasparc:-D__sparcv9} \
%{!mcpu*:%{!mcypress:%{!msparclite:%{!mf930:%{!mf934:%{!mv8:%{!msupersparc:%(cpp_cpu_default)}}}}}}} \
"
......
......@@ -195,10 +195,14 @@ Boston, MA 02111-1307, USA. */
#undef INIT_SUBTARGET_OPTABS
#define INIT_SUBTARGET_OPTABS \
fixsfdi_libfunc = gen_rtx_SYMBOL_REF (Pmode, "__ftoll"); \
fixunssfdi_libfunc = gen_rtx_SYMBOL_REF (Pmode, "__ftoull"); \
fixdfdi_libfunc = gen_rtx_SYMBOL_REF (Pmode, "__dtoll"); \
fixunsdfdi_libfunc = gen_rtx_SYMBOL_REF (Pmode, "__dtoull")
fixsfdi_libfunc = gen_rtx_SYMBOL_REF (Pmode, \
TARGET_ARCH64 ? "__ftol" : "__ftoll"); \
fixunssfdi_libfunc = gen_rtx_SYMBOL_REF (Pmode, \
TARGET_ARCH64 ? "__ftoul" : "__ftoull"); \
fixdfdi_libfunc = gen_rtx_SYMBOL_REF (Pmode, \
TARGET_ARCH64 ? "__dtol" : "__dtoll"); \
fixunsdfdi_libfunc = gen_rtx_SYMBOL_REF (Pmode, \
TARGET_ARCH64 ? "__dtoul" : "__dtoull")
/* No weird SPARC variants on Solaris */
#undef TARGET_LIVE_G0
......
......@@ -2877,14 +2877,14 @@ changequote([,])dnl
extra_parts="crt1.o crti.o crtn.o gcrt1.o crtbegin.o crtend.o"
fixincludes=fixinc.wrap
float_format=i128
if [ x${enable_threads} = x ]; then
if test x${enable_threads} = x ; then
enable_threads=$have_pthread_h
if [ x${enable_threads} = x ]; then
if test x${enable_threads} = x ; then
enable_threads=$have_thread_h
fi
fi
if [ x${enable_threads} = xyes ]; then
if [ x${have_pthread_h} = xyes ]; then
if test x${enable_threads} = xyes ; then
if test x${have_pthread_h} = xyes ; then
thread_file='posix'
else
thread_file='solaris'
......
1998-09-13 David S. Miller <davem@pierdol.cobaltmicro.com>
* jcf-io.c: Include string.h.
Thu Sep 10 10:33:31 1998 Jeffrey A Law (law@cygnus.com)
* Make-lang.in (GCJ): Define before using.
......
......@@ -29,6 +29,7 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "jcf.h"
#ifdef __STDC__
#include <stdlib.h>
#include <string.h>
#endif
#include <sys/types.h>
#include <sys/stat.h>
......
1998-09-13 David S. Miller <davem@pierdol.cobaltmicro.com>
* configure.in: Use 'if test' not brackets.
* configure: Rebuilt.
Wed Sep 9 21:32:46 1998 Jeffrey A Law (law@cygnus.com)
* Add library exception clause to the copyright notice for all
......
......@@ -21,8 +21,8 @@
AC_INIT(chillrt0.c)
if [ "${srcdir}" = "." ] ; then
if [ "${with_target_subdir}" != "." ] ; then
if test "${srcdir}" = "." ; then
if test "${with_target_subdir}" != "." ; then
topsrcdir=${with_multisrctop}../..
else
topsrcdir=${with_multisrctop}..
......
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