config.gcc (sparc-tti-*, [...]): Include various CPU headers via tm_file.

2001-11-12  David O'Brien  <obrien@FreeBSD.org>
	* config.gcc (sparc-tti-*, sparc64-wrs-vxworks*, sparc-wrs-vxworks*,
	sparclite-wrs-vxworks*, sparc-*-aout*, sparc-*-netbsd*,
	sparc-*-chorusos*, sparc-*-linux*aout*, sparc-*-linux*libc1*,
	sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtemsaout*, sparc-*-rtems*,
	sparc-*-rtemself*, sparc-*-solaris2*, sparc-*-sunos3*, sparc-*-sysv4*,
	sparc-*-vxsim*, sparclet-*-aout*, sparclite-*-coff*, sparclite-*-aout*,
	sparc86x-*-aout*, sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*,
	sparc64-*-linux*):  Include various CPU headers via tm_file.
	* config/svr3.h (ASM_OUTPUT_IDENT): Undef before defining it.
	(SELECT_SECTION): Likewise.
	(SELECT_RTX_SECTION): Likewise.
	* config/sparc/sparc_bi.h: New file.
	* config/sparc/aout.h: Don't include sparc/sparc.h and aoutos.h.
	* config/sparc/linux-aout.h: Likewise.
	* config/sparc/linux.h: Don't include sparc/sysv4.h.
	* config/sparc/linux64.h: Likewise.
	(SPARC_BI_ARCH): Don't define.  sparc_bi.h will do it instead.
	* config/sparc/lite.h:  Don't include sparc/sparc.h and gofast.h.
	* config/sparc/litecoff.h: Don't include sparc/lite.h, svr3.h,
	and dbxcoff.h
	(ASM_OUTPUT_IDENT): Do not #undef.
	(SELECT_SECTION): Likewise.
	(SELECT_RTX_SECTION): Likewise.
	* config/sparc/liteelf.h: Don't include gofast.h.
	* config/sparc/lynx-ng.h: Don't include sparc/sparc.h and lynx-ng.h.
	* config/sparc/lynx.h: Don't include sparc/sparc.h.
	* config/sparc/pbd.h: Likewise.
	* config/sparc/netbsd.h: Don't include sparc/sparc.h and netbsd.h.
	* config/sparc/rtems.h: Don't include sparc/aout.h and rtems.h.
	* config/sparc/rtemself.h: Don't include rtems.h.
	* config/sparc/sol2-64.h: Don't include sparc/sol2-sld-64.h.
	* config/sparc/sol2-sld-64.h (SPARC_BI_ARCH): Don't define, include
	sparc_bi.h instead.
	* config/sparc/sol2-sld.h: Don't include sparc/sol2.h.
	* config/sparc/sol2.h: Include sparc/sparc.h directly.
	* config/sparc/sp64-aout.h: Don't include sparc/sparc.h and aoutos.h.
	* config/sparc/sp64-elf.h: Don't include sparc/sol2.h.
	* config/sparc/sp86x-aout.h: Don't include sparc/sparc.h and gofast.h.
	* config/sparc/sp86x-elf.h: Don't include gofast.h.
	* config/sparc/splet.h: Don't include sparc/aout.h.
	* config/sparc/sun4o3.h: Don't include sparc/sparc.h.
	* config/sparc/sysv4.h: Don't include sparc/sparc.h directly.
	* config/sparc/vxsim.h: Don't include sparc/sysv4.h.
	* config/sparc/vxsparc.h: Don't include sparc/aout.h and gofast.h.
	* config/sparc/vxsparc64.h: Don't include gofast.h.
	(SPARC_BI_ARCH): Don't define.  sparc_bi.h will do it instead.

Approved by:  David S. Miller <davem@redhat.com>
              Message-Id: <20011112.151527.70477368.davem@redhat.com>

From-SVN: r46969
This commit is contained in:
David O'Brien 2001-11-12 23:52:28 +00:00 committed by David O'Brien
parent 222bde4319
commit 0f658c83b5
31 changed files with 108 additions and 102 deletions

View File

@ -1,3 +1,52 @@
2001-11-12 David O'Brien <obrien@FreeBSD.org>
* config.gcc (sparc-tti-*, sparc64-wrs-vxworks*, sparc-wrs-vxworks*,
sparclite-wrs-vxworks*, sparc-*-aout*, sparc-*-netbsd*,
sparc-*-chorusos*, sparc-*-linux*aout*, sparc-*-linux*libc1*,
sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtemsaout*, sparc-*-rtems*,
sparc-*-rtemself*, sparc-*-solaris2*, sparc-*-sunos3*, sparc-*-sysv4*,
sparc-*-vxsim*, sparclet-*-aout*, sparclite-*-coff*, sparclite-*-aout*,
sparc86x-*-aout*, sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*,
sparc64-*-linux*): Include various CPU headers via tm_file.
* config/svr3.h (ASM_OUTPUT_IDENT): Undef before defining it.
(SELECT_SECTION): Likewise.
(SELECT_RTX_SECTION): Likewise.
* config/sparc/sparc_bi.h: New file.
* config/sparc/aout.h: Don't include sparc/sparc.h and aoutos.h.
* config/sparc/linux-aout.h: Likewise.
* config/sparc/linux.h: Don't include sparc/sysv4.h.
* config/sparc/linux64.h: Likewise.
(SPARC_BI_ARCH): Don't define. sparc_bi.h will do it instead.
* config/sparc/lite.h: Don't include sparc/sparc.h and gofast.h.
* config/sparc/litecoff.h: Don't include sparc/lite.h, svr3.h,
and dbxcoff.h
(ASM_OUTPUT_IDENT): Do not #undef.
(SELECT_SECTION): Likewise.
(SELECT_RTX_SECTION): Likewise.
* config/sparc/liteelf.h: Don't include gofast.h.
* config/sparc/lynx-ng.h: Don't include sparc/sparc.h and lynx-ng.h.
* config/sparc/lynx.h: Don't include sparc/sparc.h.
* config/sparc/pbd.h: Likewise.
* config/sparc/netbsd.h: Don't include sparc/sparc.h and netbsd.h.
* config/sparc/rtems.h: Don't include sparc/aout.h and rtems.h.
* config/sparc/rtemself.h: Don't include rtems.h.
* config/sparc/sol2-64.h: Don't include sparc/sol2-sld-64.h.
* config/sparc/sol2-sld-64.h (SPARC_BI_ARCH): Don't define, include
sparc_bi.h instead.
* config/sparc/sol2-sld.h: Don't include sparc/sol2.h.
* config/sparc/sol2.h: Include sparc/sparc.h directly.
* config/sparc/sp64-aout.h: Don't include sparc/sparc.h and aoutos.h.
* config/sparc/sp64-elf.h: Don't include sparc/sol2.h.
* config/sparc/sp86x-aout.h: Don't include sparc/sparc.h and gofast.h.
* config/sparc/sp86x-elf.h: Don't include gofast.h.
* config/sparc/splet.h: Don't include sparc/aout.h.
* config/sparc/sun4o3.h: Don't include sparc/sparc.h.
* config/sparc/sysv4.h: Don't include sparc/sparc.h directly.
* config/sparc/vxsim.h: Don't include sparc/sysv4.h.
* config/sparc/vxsparc.h: Don't include sparc/aout.h and gofast.h.
* config/sparc/vxsparc64.h: Don't include gofast.h.
(SPARC_BI_ARCH): Don't define. sparc_bi.h will do it instead.
2001-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
* doc/standards.texi: Mention C99 TC1.

View File

@ -2901,26 +2901,26 @@ sh-*-*)
float_format=sh
;;
sparc-tti-*)
tm_file=sparc/pbd.h
tm_file="${tm_file} sparc/pbd.h"
xm_defines=POSIX
;;
sparc64-wrs-vxworks*)
tm_file="sparc/sol2.h sparc/elf.h sparc/vxsparc64.h"
tm_file="sparc/sol2.h sparc/elf.h sparc/sparc_bi.h gofast.h sparc/vxsparc64.h"
tmake_file=sparc/t-vxsparc64
use_collect2=yes
;;
sparc-wrs-vxworks* | sparclite-wrs-vxworks*)
tm_file=sparc/vxsparc.h
tm_file="${tm_file} aoutos.h sparc/aout.h gofast.h sparc/vxsparc.h"
tmake_file=sparc/t-vxsparc
use_collect2=yes
thread_file='vxworks'
;;
sparc-*-aout*)
tmake_file=sparc/t-sparcbare
tm_file="sparc/aout.h libgloss.h"
tm_file="sparc/sparc.h aoutos.h sparc/aout.h libgloss.h"
;;
sparc-*-netbsd*)
tm_file=sparc/netbsd.h
tm_file="${tm_file} netbsd.h sparc/netbsd.h"
tmake_file=t-netbsd
use_collect2=yes
;;
@ -2934,7 +2934,7 @@ sparc-*-bsd*)
tm_file="${tm_file} sparc/bsd.h"
;;
sparc-*-chorusos*)
tm_file="sparc/sol2.h sparc/elf.h chorus.h"
tm_file="${tm_file} sparc/sysv4.h sparc/sol2.h sparc/elf.h chorus.h"
tmake_file=sparc/t-chorus-elf
extra_parts="crti.o crtn.o crtbegin.o crtend.o"
float_format=i64
@ -2952,13 +2952,13 @@ sparc-*-elf*)
float_format=i64
;;
sparc-*-linux*aout*) # Sparc's running GNU/Linux, a.out
tm_file=sparc/linux-aout.h
tm_file="aoutos.h sparc/sparc.h sparc/linux-aout.h"
xmake_file=x-linux
gnu_ld=yes
;;
sparc-*-linux*libc1*) # Sparc's running GNU/Linux, libc5
xmake_file=x-linux
tm_file=sparc/linux.h
tm_file="${tm_file} sparc/sysv4.h sparc/linux.h"
tmake_file="t-slibgcc-elf-ver t-linux t-linux-gnulibc1"
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
gnu_ld=yes
@ -2966,7 +2966,7 @@ sparc-*-linux*libc1*) # Sparc's running GNU/Linux, libc5
;;
sparc-*-linux*) # Sparc's running GNU/Linux, libc6
xmake_file=x-linux
tm_file=sparc/linux.h
tm_file="${tm_file} sparc/sysv4.h sparc/linux.h"
tmake_file="t-slibgcc-elf-ver t-linux"
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
gnu_ld=yes
@ -2978,21 +2978,21 @@ sparc-*-linux*) # Sparc's running GNU/Linux, libc6
sparc-*-lynxos*)
if test x$gas = xyes
then
tm_file=sparc/lynx.h
tm_file="${tm_file} sparc/lynx.h"
else
tm_file=sparc/lynx-ng.h
tm_file="${tm_file} lynx-ng.h sparc/lynx-ng.h"
fi
tmake_file=sparc/t-sunos41
;;
sparc-*-rtemsaout*)
tmake_file="sparc/t-sparcbare t-rtems"
tm_file=sparc/rtems.h
tm_file="${tm_file} aoutos.h sparc/aout.h sparc/rtems.h rtems.h"
if test x$enable_threads = xyes; then
thread_file='rtems'
fi
;;
sparc-*-rtems*|sparc-*-rtemself*)
tm_file="sparc/sol2.h sparc/elf.h sparc/rtemself.h"
tm_file="sparc/sol2.h sparc/elf.h sparc/rtemself.h rtems.h"
tmake_file="sparc/t-elf t-rtems"
extra_parts="crti.o crtn.o crtbegin.o crtend.o"
#float_format=i128
@ -3004,7 +3004,7 @@ sparc-*-rtems*|sparc-*-rtemself*)
sparcv9-*-solaris2* | sparc64-*-solaris2*)
if test x$gnu_ld = xyes
then
tm_file=sparc/sol2-64.h
tm_file="sparc/sol2-sld-64.h sparc/sol2-64.h"
else
tm_file=sparc/sol2-sld-64.h
fi
@ -3054,9 +3054,9 @@ sparc-hal-solaris2*)
sparc-*-solaris2*)
if test x$gnu_ld = xyes
then
tm_file=sparc/sol2.h
tm_file="sparc/sol2.h"
else
tm_file=sparc/sol2-sld.h
tm_file="sparc/sol2.h sparc/sol2-sld.h"
fi
xm_defines=POSIX
tmake_file=sparc/t-sol2
@ -3071,9 +3071,9 @@ sparc-*-solaris2*)
*-*-solaris2*)
if test x$gnu_ld = xyes
then
tm_file=sparc/sol2-64.h
tm_file="sparc/sol2-sld-64.h sparc/sol2-64.h"
else
tm_file=sparc/sol2-sld-64.h
tm_file="sparc/sol2-sld-64.h"
fi
tmake_file="$tmake_file sparc/t-sol2-64"
;;
@ -3113,56 +3113,56 @@ sparc-*-sunos4*)
fi
;;
sparc-*-sunos3*)
tm_file=sparc/sun4o3.h
tm_file="${tm_file} sparc/sun4o3.h"
use_collect2=yes
;;
sparc-*-sysv4*)
tm_file=sparc/sysv4.h
tm_file="${tm_file} sparc/sysv4.h"
xm_defines=POSIX
tmake_file=t-svr4
extra_parts="crtbegin.o crtend.o"
;;
sparc-*-vxsim*)
xm_defines=POSIX
tm_file=sparc/vxsim.h
tm_file="${tm_file} sparc/sysv4.h sparc/vxsim.h"
tmake_file=sparc/t-vxsparc
;;
sparclet-*-aout*)
tm_file="sparc/splet.h libgloss.h"
tm_file="${tm_file} aoutos.h sparc/aout.h sparc/splet.h libgloss.h"
tmake_file=sparc/t-splet
;;
sparclite-*-coff*)
tm_file="sparc/litecoff.h libgloss.h"
tm_file="${tm_file} gofast.h sparc/lite.h svr3.h sparc/litecoff.h dbxcoff.h libgloss.h"
tmake_file=sparc/t-sparclite
;;
sparclite-*-aout*)
tm_file="sparc/lite.h aoutos.h libgloss.h"
tm_file="${tm_file} gofast.h sparc/lite.h aoutos.h libgloss.h"
tmake_file=sparc/t-sparclite
;;
sparclite-*-elf*)
tm_file="sparc/sol2.h sparc/elf.h sparc/liteelf.h"
tm_file="sparc/sol2.h sparc/elf.h gofast.h sparc/liteelf.h"
tmake_file=sparc/t-sparclite
extra_parts="crtbegin.o crtend.o"
;;
sparc86x-*-aout*)
tm_file="sparc/sp86x-aout.h aoutos.h libgloss.h"
tm_file="${tm_file} gofast.h sparc/sp86x-aout.h aoutos.h libgloss.h"
tmake_file=sparc/t-sp86x
;;
sparc86x-*-elf*)
tm_file="sparc/sol2.h sparc/elf.h sparc/sp86x-elf.h"
tm_file="sparc/sol2.h sparc/elf.h gofast.h sparc/sp86x-elf.h"
tmake_file=sparc/t-sp86x
extra_parts="crtbegin.o crtend.o"
;;
sparc64-*-aout*)
tm_file=sparc/sp64-aout.h
tm_file="sparc/sparc.h aoutos.h sparc/sp64-aout.h"
;;
sparc64-*-elf*)
tm_file=sparc/sp64-elf.h
tm_file="sparc/sol2.h sparc/sp64-elf.h"
extra_parts="crtbegin.o crtend.o"
;;
sparc64-*-linux*) # 64-bit Sparc's running GNU/Linux
tmake_file="t-slibgcc-elf-ver t-linux sparc/t-linux64"
tm_file=sparc/linux64.h
tm_file="sparc/sparc_bi.h ${tm_file} sparc/sysv4.h sparc/linux64.h"
xmake_file=x-linux
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
gnu_ld=yes

View File

@ -19,8 +19,5 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#include "sparc/sparc.h" /* SPARC definitions */
#include "aoutos.h" /* A.out definitions */
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dsparc -Acpu=sparc -Amachine=sparc"

View File

@ -19,9 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#include <aoutos.h>
#include <sparc/sparc.h>
/* Don't assume anything about the header files. */
#define NO_IMPLICIT_EXTERN_C

View File

@ -35,8 +35,6 @@ Boston, MA 02111-1307, USA. */
/* Use stabs instead of DWARF debug format. */
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
#include <sparc/sysv4.h>
#undef MD_EXEC_PREFIX
#undef MD_STARTFILE_PREFIX

View File

@ -19,15 +19,11 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#define SPARC_BI_ARCH
#define LINUX_DEFAULT_ELF
/* Don't assume anything about the header files. */
#define NO_IMPLICIT_EXTERN_C
#include <sparc/sysv4.h>
#undef MD_EXEC_PREFIX
#undef MD_STARTFILE_PREFIX

View File

@ -19,8 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#include "sparc/sparc.h"
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dsparc -Dsparclite -Acpu=sparc -Amachine=sparc"
@ -33,6 +31,5 @@ Boston, MA 02111-1307, USA. */
#define TARGET_DEFAULT (MASK_APP_REGS + MASK_EPILOGUE)
/* US Software GOFAST library support. */
#include "gofast.h"
#undef INIT_SUBTARGET_OPTABS
#define INIT_SUBTARGET_OPTABS INIT_GOFAST_OPTABS

View File

@ -19,16 +19,8 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#include "sparc/lite.h"
#undef ASM_OUTPUT_IDENT
#undef SELECT_SECTION
#undef SELECT_RTX_SECTION
#define BSS_SECTION_ASM_OP "\t.section\t\".bss\""
#include "svr3.h"
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dsparc -Dsparclite -Acpu=sparc -Amachine=sparc"
@ -36,8 +28,6 @@ Boston, MA 02111-1307, USA. */
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
#include "dbxcoff.h"
/* Support the ctors and dtors sections for g++. */
#undef INIT_SECTION_ASM_OP

View File

@ -39,7 +39,6 @@ Boston, MA 02111-1307, USA. */
#define TARGET_DEFAULT (MASK_APP_REGS + MASK_EPILOGUE)
/* US Software GOFAST library support. */
#include "gofast.h"
#undef INIT_SUBTARGET_OPTABS
#define INIT_SUBTARGET_OPTABS INIT_GOFAST_OPTABS

View File

@ -18,9 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#include <sparc/sparc.h>
#include <lynx-ng.h>
/* ??? Must redefine to get sparclite and v8 defines. Can this be done
differently? */

View File

@ -18,8 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#include <sparc/sparc.h>
#undef ASM_OUTPUT_IDENT
#undef SELECT_SECTION
#undef SELECT_RTX_SECTION

View File

@ -1,9 +1,3 @@
#include <sparc/sparc.h>
/* Get generic NetBSD definitions. */
#include <netbsd.h>
/* Names to predefine in the preprocessor for this target machine. */
#undef CPP_PREDEFINES

View File

@ -19,7 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#include "sparc/sparc.h"
/* Names to predefine in the preprocessor for this target machine. */

View File

@ -19,7 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#include "sparc/aout.h"
/* Specify predefined symbols in preprocessor. */
@ -31,6 +30,3 @@ Boston, MA 02111-1307, USA. */
#ifndef TARGET_MEM_FUNCTIONS
#define TARGET_MEM_FUNCTIONS
#endif
/* Get machine-independent configuration parameters for RTEMS. */
#include <rtems.h>

View File

@ -29,7 +29,3 @@ Boston, MA 02111-1307, USA. */
#ifndef TARGET_MEM_FUNCTIONS
#define TARGET_MEM_FUNCTIONS
#endif
/* Get machine-independent configuration parameters for RTEMS. */
#include <rtems.h>

View File

@ -1,8 +1,6 @@
/* Definitions of target machine for GNU compiler, for 64-bit SPARC
running Solaris 2 using the GNU linker. */
#include "sparc/sol2-sld-64.h"
#ifdef LINKER_DOES_NOT_WORK_WITH_DWARF2
#undef LINKER_DOES_NOT_WORK_WITH_DWARF2
#endif

View File

@ -2,9 +2,7 @@
running Solaris 2 using the system linker. */
#ifdef AS_SPARC64_FLAG
#define SPARC_BI_ARCH
#include "sparc/sparc_bi.h"
#endif
#include "sparc/sol2.h"

View File

@ -1,8 +1,6 @@
/* Definitions of target machine for GNU compiler, for SPARC running Solaris 2
using the system linker. */
#include "sparc/sol2.h"
/* At least up through Solaris 2.6,
the system linker does not work with DWARF or DWARF2,
since it does not have working support for relocations

View File

@ -22,6 +22,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* Supposedly the same as vanilla sparc svr4, except for the stuff below: */
#include "sparc/sparc.h"
#include "sparc/sysv4.h"
/* Solaris 2 uses a wint_t different from the default. This is required

View File

@ -19,8 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#include "sparc/sparc.h"
#include "aoutos.h"
#undef TARGET_VERSION
#define TARGET_VERSION fprintf (stderr, " (sparc64-aout)")

View File

@ -25,8 +25,6 @@ Boston, MA 02111-1307, USA. */
less duplicate all of svr4.h, sparc/sysv4.h, and sparc/sol2.h here
(suitably cleaned up). */
#include "sparc/sol2.h"
#undef TARGET_VERSION
#define TARGET_VERSION fprintf (stderr, " (sparc64-elf)")

View File

@ -18,7 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#include "sparc/sparc.h"
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-D__sparc__ -D__sparclite86x__ -Acpu=sparc -Amachine=sparc"
@ -35,7 +34,6 @@ Boston, MA 02111-1307, USA. */
#define ASM_SPEC "%{v:-v} %{mlittle-endian-data:--little-endian-data} %(asm_cpu)"
/* US Software GOFAST library support. */
#include "gofast.h"
#undef INIT_SUBTARGET_OPTABS
#define INIT_SUBTARGET_OPTABS INIT_GOFAST_OPTABS

View File

@ -42,7 +42,6 @@ Boston, MA 02111-1307, USA. */
#define ASM_SPEC "%{v:-V} %{mlittle-endian-data:--little-endian-data} %(asm_cpu)"
/* US Software GOFAST library support. */
#include "gofast.h"
#undef INIT_SUBTARGET_OPTABS
#define INIT_SUBTARGET_OPTABS INIT_GOFAST_OPTABS

View File

@ -0,0 +1,24 @@
/* Definitions of target machine for GNU compiler, for Sun SPARC.
Copyright (C) 2001 Free Software Foundation, Inc.
Contributed by David E. O'Brien <obrien@FreeBSD.org>.
This file is part of GNU CC.
GNU CC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU CC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* Specify this in a cover file to provide bi-architecture (32/64) support. */
#define SPARC_BI_ARCH

View File

@ -19,8 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#include "sparc/aout.h"
#undef TARGET_DEFAULT
#define TARGET_DEFAULT (MASK_APP_REGS + MASK_EPILOGUE)

View File

@ -1,5 +1,3 @@
#include "sparc/sparc.h"
/* Override the name of the mcount profiling function. */
#undef MCOUNT_FUNCTION

View File

@ -20,8 +20,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* TODO: convert includes to ${tm_file} list in config.gcc. */
#include "sparc/sparc.h"
/* Undefine some symbols which are defined in "sparc.h" but which are
appropriate only for SunOS 4.x, and not for svr4. */

View File

@ -19,7 +19,6 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* Supposedly the same as vanilla sparc svr4, except for the stuff below: */
#include "sparc/sysv4.h"
#undef CPP_PREDEFINES
#define CPP_PREDEFINES \

View File

@ -19,7 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#include "sparc/aout.h"
/* Specify what to link with. */
/* VxWorks does all the library stuff itself. */
@ -56,6 +55,5 @@ Boston, MA 02111-1307, USA. */
#define WCHAR_TYPE_SIZE 8
/* US Software GOFAST library support. */
#include "gofast.h"
#undef INIT_SUBTARGET_OPTABS
#define INIT_SUBTARGET_OPTABS INIT_GOFAST_OPTABS

View File

@ -19,8 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* Specify this in a cover file to provide bi-architecture (32/64) support. */
#define SPARC_BI_ARCH
/* Specify what to link with. */
/* VxWorks does all the library stuff itself. */
@ -90,6 +88,5 @@ Boston, MA 02111-1307, USA. */
#define WCHAR_TYPE_SIZE 8
/* US Software GOFAST library support. */
#include "gofast.h"
#undef INIT_SUBTARGET_OPTABS
#define INIT_SUBTARGET_OPTABS INIT_GOFAST_OPTABS

View File

@ -119,6 +119,7 @@ Boston, MA 02111-1307, USA.
/* Output #ident as a .ident. */
#undef ASM_OUTPUT_IDENT
#define ASM_OUTPUT_IDENT(FILE, NAME) \
fprintf (FILE, "\t.ident \"%s\"\n", NAME);
@ -301,6 +302,7 @@ const_section () \
or a constant of some sort. RELOC indicates whether forming
the initial value of DECL requires link-time relocations. */
#undef SELECT_SECTION
#define SELECT_SECTION(DECL,RELOC,ALIGN) \
{ \
if (TREE_CODE (DECL) == STRING_CST) \
@ -331,4 +333,5 @@ const_section () \
in the case of a `const_int' rtx. Currently, these always
go into the const section. */
#undef SELECT_RTX_SECTION
#define SELECT_RTX_SECTION(MODE,RTX,ALIGN) const_section()