Commit eaf4e618 by Zack Weinberg

configure.in: Kill tm.h.

	* configure.in: Kill tm.h.  Include the files in the $tm_file
	list in all three of config.h, hconfig.h, tconfig.h, after the
	relevant set of xm_files.  Put TARGET_CPU_DEFAULT in all
	three, include insn-codes.h in all three (#ifndef GENERATOR_FILE).
	* configure: Regenerate.
	* Makefile.in (clean): Don't delete tm.h.

	* system.h: If SUCCESS_EXIT_CODE and FATAL_EXIT_CODE are not
	defined, set them from EXIT_SUCCESS and EXIT_FAILURE.  If
	those are not defined, set SEC and FEC to 0 and 1.
	* gcc.texi: Update to match.

	* crtstuff.c: Include tconfig.h, not auto-host.h and tm.h.
	* config/fp-bit.c, config/m68k/aux-crt2.asm,
	config/m68k/aux-crtn.asm, config/m68k/aux-mcount.c:
	Include tconfig.h, not tm.h.

	* config/xm-lynx.h, config/xm-std32.h,
	config/a29k/xm-a29k.h, config/a29k/xm-unix.h,
	config/alpha/xm-alpha.h, config/arc/xm-arc.h,
	config/avr/xm-avr.h, config/c4x/xm-c4x.h,
	config/clipper/xm-clix.h, config/convex/xm-convex.h,
	config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
	config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
	config/h8300/xm-h8300.h, config/i370/xm-linux.h,
	config/i386/xm-i386.h, config/i860/xm-i860.h,
	config/i960/xm-i960.h, config/ia64/xm-ia64.h,
	config/m32r/xm-m32r.h, config/m68hc11/xm-m68hc11.h,
	config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
	config/mips/xm-mips.h, config/mn10200/xm-mn10200.h,
	config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
	config/pa/xm-linux.h, config/pa/xm-pa.h,
	config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
	config/pa/xm-papro.h, config/pdp11/xm-pdp11.h,
	config/pj/xm-pj.h, config/romp/xm-romp.h,
	config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
	config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
	config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
	config/v850/xm-v850.h, config/vax/xm-vax.h,
	config/we32k/xm-we32k.h:
	Don't include tm.h.
	Don't define SUCCESS_EXIT_CODE or FATAL_EXIT_CODE.

	* config/i370/xm-i370.h, config/i370/xm-mvs.h,
	config/i370/xm-oe.h: Don't include tm.h.  Don't define
	SUCCESS_EXIT_CODE.
	* config/vax/xm-vms.h: Don't include tm.h.

	* config/xm-lynx.h, config/avr/xm-avr.h,
	config/fr30/xm-fr30.h, config/pdp11/xm-pdp11.h,
	Delete; made empty by above changes.
	* config/i386/xm-lynx.h, config/m68k/xm-lynx.h,
	config/rs6000/xm-lynx.h, config/sparc/xm-lynx.h:
	Don't include config/xm-lynx.h or tm.h.

	* config/xm-gnu.h: Don't include fcntl.h.
	* config/sparc/xm-lynx.h: Don't include sys/types.h and
	sys/wait.h.
	* config/clipper/xm-clix.h, config/vax/xm-vax.h: Don't define isinf.

From-SVN: r40199
parent 1a7519ff
2001-03-02 Zack Weinberg <zackw@stanford.edu>
* configure.in: Kill tm.h. Include the files in the $tm_file
list in all three of config.h, hconfig.h, tconfig.h, after the
relevant set of xm_files. Put TARGET_CPU_DEFAULT in all
three, include insn-codes.h in all three (#ifndef GENERATOR_FILE).
* configure: Regenerate.
* Makefile.in (clean): Don't delete tm.h.
* system.h: If SUCCESS_EXIT_CODE and FATAL_EXIT_CODE are not
defined, set them from EXIT_SUCCESS and EXIT_FAILURE. If
those are not defined, set SEC and FEC to 0 and 1.
* gcc.texi: Update to match.
* crtstuff.c: Include tconfig.h, not auto-host.h and tm.h.
* config/fp-bit.c, config/m68k/aux-crt2.asm,
config/m68k/aux-crtn.asm, config/m68k/aux-mcount.c:
Include tconfig.h, not tm.h.
* config/xm-lynx.h, config/xm-std32.h,
config/a29k/xm-a29k.h, config/a29k/xm-unix.h,
config/alpha/xm-alpha.h, config/arc/xm-arc.h,
config/avr/xm-avr.h, config/c4x/xm-c4x.h,
config/clipper/xm-clix.h, config/convex/xm-convex.h,
config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
config/h8300/xm-h8300.h, config/i370/xm-linux.h,
config/i386/xm-i386.h, config/i860/xm-i860.h,
config/i960/xm-i960.h, config/ia64/xm-ia64.h,
config/m32r/xm-m32r.h, config/m68hc11/xm-m68hc11.h,
config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
config/mips/xm-mips.h, config/mn10200/xm-mn10200.h,
config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
config/pa/xm-linux.h, config/pa/xm-pa.h,
config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
config/pa/xm-papro.h, config/pdp11/xm-pdp11.h,
config/pj/xm-pj.h, config/romp/xm-romp.h,
config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
config/v850/xm-v850.h, config/vax/xm-vax.h,
config/we32k/xm-we32k.h:
Don't include tm.h.
Don't define SUCCESS_EXIT_CODE or FATAL_EXIT_CODE.
* config/i370/xm-i370.h, config/i370/xm-mvs.h,
config/i370/xm-oe.h: Don't include tm.h. Don't define
SUCCESS_EXIT_CODE.
* config/vax/xm-vms.h: Don't include tm.h.
* config/xm-lynx.h, config/avr/xm-avr.h,
config/fr30/xm-fr30.h, config/pdp11/xm-pdp11.h,
Delete; made empty by above changes.
* config/i386/xm-lynx.h, config/m68k/xm-lynx.h,
config/rs6000/xm-lynx.h, config/sparc/xm-lynx.h:
Don't include config/xm-lynx.h or tm.h.
* config/xm-gnu.h: Don't include fcntl.h.
* config/sparc/xm-lynx.h: Don't include sys/types.h and
sys/wait.h.
* config/clipper/xm-clix.h, config/vax/xm-vax.h: Don't define isinf.
2001-03-02 Richard Henderson <rth@redhat.com> 2001-03-02 Richard Henderson <rth@redhat.com>
* tm.texi (File Framework): Document UNALIGNED_SHORT_ASM_OP, * tm.texi (File Framework): Document UNALIGNED_SHORT_ASM_OP,
...@@ -80,7 +142,7 @@ ...@@ -80,7 +142,7 @@
(GET_NOTE_INSN_NAME): Cast enum to int. (GET_NOTE_INSN_NAME): Cast enum to int.
* tree.h (TREE_CODE): Cast to enum tree_code. * tree.h (TREE_CODE): Cast to enum tree_code.
(TREE_SET_CODE): Cast VALUE to ENUM_BITFIELD(tree_code). (TREE_SET_CODE): Cast VALUE to ENUM_BITFIELD(tree_code).
* timevar.c (timevar_print): Change loop variable id from enum to * timevar.c (timevar_print): Change loop variable id from enum to
unsigned int. unsigned int.
* fixinc/fixincl.c (VLEVEL): Cast enums in comparison to unsigned int. * fixinc/fixincl.c (VLEVEL): Cast enums in comparison to unsigned int.
* config/i386/i386.md: Use PUT_MODE for mode assignment. * config/i386/i386.md: Use PUT_MODE for mode assignment.
...@@ -99,24 +161,24 @@ Fri Mar 2 11:59:43 CET 2001 Jan Hubicka <jh@suse.cz> ...@@ -99,24 +161,24 @@ Fri Mar 2 11:59:43 CET 2001 Jan Hubicka <jh@suse.cz>
2001-03-02 Neil Booth <neil@daikokuya.demon.co.uk> 2001-03-02 Neil Booth <neil@daikokuya.demon.co.uk>
* cppfiles.c (struct include_file): Update. * cppfiles.c (struct include_file): Update.
(stack_include_file): Use search_from. (stack_include_file): Use search_from.
(cpp_included, find_include_file): Update. (cpp_included, find_include_file): Update.
(cpp_execute_include): Update. ptr->name may not be (cpp_execute_include): Update. ptr->name may not be
null terminated. Use the new search_from member variable null terminated. Use the new search_from member variable
of cpp_buffer. of cpp_buffer.
(_cpp_compare_file_date): Similarly. (_cpp_compare_file_date): Similarly.
(search_from): New function, similiar to actual_directory. (search_from): New function, similiar to actual_directory.
(actual_directory): Delete. (actual_directory): Delete.
(remap_filename): Update. loc->name may not be null terminated. (remap_filename): Update. loc->name may not be null terminated.
(struct file_name_list): Rename search_path. Update. (struct file_name_list): Rename search_path. Update.
* cpphash.h (struct cpp_buffer): Delete actual_dir. New members * cpphash.h (struct cpp_buffer): Delete actual_dir. New members
search_from and dir. search_from and dir.
(struct cpp_reader): Remove actual_dirs. (struct cpp_reader): Remove actual_dirs.
* cppinit.c (struct cpp_pending): Update for renamed objects. * cppinit.c (struct cpp_pending): Update for renamed objects.
(append_include_chain, remove_dup_dir, remove_dup_dirs, (append_include_chain, remove_dup_dir, remove_dup_dirs,
merge_include_chains, cpp_destroy, cpp_start_read): Similarly. merge_include_chains, cpp_destroy, cpp_start_read): Similarly.
* cpplib.h (struct cpp_options): Similarly. * cpplib.h (struct cpp_options): Similarly.
2001-03-01 Zack Weinberg <zackw@stanford.edu> 2001-03-01 Zack Weinberg <zackw@stanford.edu>
...@@ -152,7 +214,7 @@ Fri Mar 2 11:59:43 CET 2001 Jan Hubicka <jh@suse.cz> ...@@ -152,7 +214,7 @@ Fri Mar 2 11:59:43 CET 2001 Jan Hubicka <jh@suse.cz>
* configure.in: Detect stdbool.h. * configure.in: Detect stdbool.h.
* configure, config.in: Regenerate. * configure, config.in: Regenerate.
* system.h: Include stddef.h here if available. * system.h: Include stddef.h here if available.
Set HAVE__BOOL based on GCC_VERSION and __STDC_VERSION__. Set HAVE__BOOL based on GCC_VERSION and __STDC_VERSION__.
Then set up a sensible boolean type at the very end. Then set up a sensible boolean type at the very end.
......
...@@ -641,7 +641,7 @@ HOST_ERRORS = $(HOST_PREFIX)errors.o ...@@ -641,7 +641,7 @@ HOST_ERRORS = $(HOST_PREFIX)errors.o
# Specify the directories to be searched for header files. # Specify the directories to be searched for header files.
# Both . and srcdir are used, in that order, # Both . and srcdir are used, in that order,
# so that tm.h and config.h will be found in the compilation # so that *config.h will be found in the compilation
# subdirectory rather than in the source directory. # subdirectory rather than in the source directory.
# -I$(@D) and -I$(srcdir)/$(@D) cause the subdirectory of the file # -I$(@D) and -I$(srcdir)/$(@D) cause the subdirectory of the file
# currently being compiled, in both source trees, to be examined as well. # currently being compiled, in both source trees, to be examined as well.
...@@ -2349,7 +2349,7 @@ clean: mostlyclean $(INTL_CLEAN) lang.clean ...@@ -2349,7 +2349,7 @@ clean: mostlyclean $(INTL_CLEAN) lang.clean
# while building and installing GCC. # while building and installing GCC.
INTL_DISTCLEAN = intl.distclean INTL_DISTCLEAN = intl.distclean
distclean: clean $(INTL_DISTCLEAN) lang.distclean distclean: clean $(INTL_DISTCLEAN) lang.distclean
-rm -f tm.h tm_p.h config.h auto-host.h auto-build.h tconfig.h hconfig.h -rm -f tm_p.h config.h auto-host.h auto-build.h tconfig.h hconfig.h
-rm -f cstamp-h -rm -f cstamp-h
-rm -f config.status config.run config.cache config.bak -rm -f config.status config.run config.cache config.bak
-rm -f Make-lang Make-hooks Make-host Make-target -rm -f Make-lang Make-hooks Make-host Make-target
......
...@@ -26,11 +26,3 @@ Boston, MA 02111-1307, USA. */ ...@@ -26,11 +26,3 @@ Boston, MA 02111-1307, USA. */
#define HOST_BITS_PER_LONGLONG 64 #define HOST_BITS_PER_LONGLONG 64
#define HOST_WORDS_BIG_ENDIAN #define HOST_WORDS_BIG_ENDIAN
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
...@@ -27,13 +27,5 @@ Boston, MA 02111-1307, USA. */ ...@@ -27,13 +27,5 @@ Boston, MA 02111-1307, USA. */
#define HOST_WORDS_BIG_ENDIAN #define HOST_WORDS_BIG_ENDIAN
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* Ultra is V7, which is closest to USG. */ /* Ultra is V7, which is closest to USG. */
#define USG #define USG
...@@ -27,14 +27,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -27,14 +27,6 @@ Boston, MA 02111-1307, USA. */
#define HOST_BITS_PER_LONG 64 #define HOST_BITS_PER_LONG 64
#define HOST_BITS_PER_LONGLONG 64 #define HOST_BITS_PER_LONGLONG 64
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* If compiled with GNU C, use the builtin alloca. */ /* If compiled with GNU C, use the builtin alloca. */
#ifndef alloca #ifndef alloca
#if defined(__GNUC__) && !defined(USE_C_ALLOCA) #if defined(__GNUC__) && !defined(USE_C_ALLOCA)
......
...@@ -29,14 +29,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -29,14 +29,6 @@ Boston, MA 02111-1307, USA. */
matters when cross-compiling. */ matters when cross-compiling. */
#define HOST_WORDS_BIG_ENDIAN 1 #define HOST_WORDS_BIG_ENDIAN 1
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* If compiled with Sun CC, the use of alloca requires this #include. */ /* If compiled with Sun CC, the use of alloca requires this #include. */
#ifndef __GNUC__ #ifndef __GNUC__
#include "alloca.h" #include "alloca.h"
......
...@@ -41,18 +41,8 @@ Boston, MA 02111-1307, USA. */ ...@@ -41,18 +41,8 @@ Boston, MA 02111-1307, USA. */
#define USE_C_ALLOCA #define USE_C_ALLOCA
#endif #endif
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* If we have defined POSIX, but are compiling in the BSD environment, then /* If we have defined POSIX, but are compiling in the BSD environment, then
we need to define getcwd in terms of getwd. */ we need to define getcwd in terms of getwd. */
#if defined (POSIX) && defined (_BSD_C) #if defined (POSIX) && defined (_BSD_C)
#define HAVE_GETWD 1 #define HAVE_GETWD 1
#endif #endif
/* EOF xm-arm.h */
...@@ -6,11 +6,3 @@ ...@@ -6,11 +6,3 @@
#define HOST_BITS_PER_LONGLONG 64 #define HOST_BITS_PER_LONGLONG 64
#define HOST_WORDS_BIG_ENDIAN #define HOST_WORDS_BIG_ENDIAN
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* Config file for Clipper running Clix, system V. 3.2 clone */ /* Config file for Clipper running Clix, system V. 3.2 clone */
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* This describes the machine the compiler is hosted on. */ /* This describes the machine the compiler is hosted on. */
#define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_CHAR 8
#define HOST_BITS_PER_SHORT 16 #define HOST_BITS_PER_SHORT 16
...@@ -12,11 +7,4 @@ ...@@ -12,11 +7,4 @@
#define HOST_BITS_PER_LONG 32 #define HOST_BITS_PER_LONG 32
#define HOST_BITS_PER_LONGLONG 64 #define HOST_BITS_PER_LONGLONG 64
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* isinf isn't there, but finite is. */
#define isinf(x) (!finite(x))
#define USG #define USG
...@@ -18,10 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to ...@@ -18,10 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330, the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* This describes the machine the compiler is hosted on. */ /* This describes the machine the compiler is hosted on. */
#define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_CHAR 8
#define HOST_BITS_PER_SHORT 16 #define HOST_BITS_PER_SHORT 16
...@@ -29,10 +25,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -29,10 +25,6 @@ Boston, MA 02111-1307, USA. */
#define HOST_BITS_PER_LONG 32 #define HOST_BITS_PER_LONG 32
#define HOST_BITS_PER_LONGLONG 64 #define HOST_BITS_PER_LONGLONG 64
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* Convex uses Vax or IEEE floats. /* Convex uses Vax or IEEE floats.
Both formats have Vax semantics. */ Both formats have Vax semantics. */
......
...@@ -19,14 +19,6 @@ ...@@ -19,14 +19,6 @@
the Free Software Foundation, 59 Temple Place - Suite 330, the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
/* A C expression for the status code to be returned when the compiler exits
after serious errors. */
#define FATAL_EXIT_CODE 33
/* A C expression for the status code to be returned when the compiler exits
without serious errors. */
#define SUCCESS_EXIT_CODE 0
/* Defined if the host machine stores words of multi-word values in big-endian /* Defined if the host machine stores words of multi-word values in big-endian
order. (GNU CC does not depend on the host byte ordering within a word.) */ order. (GNU CC does not depend on the host byte ordering within a word.) */
#define HOST_WORDS_BIG_ENDIAN #define HOST_WORDS_BIG_ENDIAN
...@@ -50,7 +42,3 @@ ...@@ -50,7 +42,3 @@
#else #else
#define alloca __builtin_alloca #define alloca __builtin_alloca
#endif #endif
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
...@@ -26,17 +26,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -26,17 +26,9 @@ Boston, MA 02111-1307, USA. */
#define HOST_BITS_PER_LONG 32 #define HOST_BITS_PER_LONG 32
#define HOST_BITS_PER_LONGLONG 64 #define HOST_BITS_PER_LONGLONG 64
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* If compiled with GNU C, use the built-in alloca */ /* If compiled with GNU C, use the built-in alloca */
#ifdef __GNUC__ #ifdef __GNUC__
#define alloca __builtin_alloca #define alloca __builtin_alloca
#else #else
#define USE_C_ALLOCA #define USE_C_ALLOCA
#endif #endif
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
...@@ -18,16 +18,8 @@ along with GNU CC; see the file COPYING. If not, write to ...@@ -18,16 +18,8 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330, the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* This describes the machine the compiler is hosted on. */ /* This describes the machine the compiler is hosted on. */
#define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_CHAR 8
#define HOST_BITS_PER_SHORT 16 #define HOST_BITS_PER_SHORT 16
#define HOST_BITS_PER_INT 32 #define HOST_BITS_PER_INT 32
#define HOST_BITS_PER_LONG 32 #define HOST_BITS_PER_LONG 32
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
...@@ -44,8 +44,8 @@ Boston, MA 02111-1307, USA. */ ...@@ -44,8 +44,8 @@ Boston, MA 02111-1307, USA. */
/* The intended way to use this file is to make two copies, add `#define FLOAT' /* The intended way to use this file is to make two copies, add `#define FLOAT'
to one copy, then compile both copies and add them to libgcc.a. */ to one copy, then compile both copies and add them to libgcc.a. */
#include "tconfig.h"
#include "fp-bit.h" #include "fp-bit.h"
#include "tm.h"
/* The following macros can be defined to change the behaviour of this file: /* The following macros can be defined to change the behaviour of this file:
FLOAT: Implement a `float', aka SFmode, fp library. If this is not FLOAT: Implement a `float', aka SFmode, fp library. If this is not
......
/* Definitions of FR30 target.
Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc.
Contributed by Cygnus Solutions.
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. */
/* A C expression for the status code to be returned when the compiler exits
after serious errors. */
#define FATAL_EXIT_CODE 33
/* A C expression for the status code to be returned when the compiler exits
without serious errors. */
#define SUCCESS_EXIT_CODE 0
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* end of xm-fr30.h */
...@@ -25,17 +25,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -25,17 +25,9 @@ Boston, MA 02111-1307, USA. */
#define HOST_BITS_PER_LONG 32 #define HOST_BITS_PER_LONG 32
#define HOST_BITS_PER_LONGLONG 64 #define HOST_BITS_PER_LONGLONG 64
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* If compiled with GNU C, use the built-in alloca */ /* If compiled with GNU C, use the built-in alloca */
#ifdef __GNUC__ #ifdef __GNUC__
#define alloca __builtin_alloca #define alloca __builtin_alloca
#else #else
#define USE_C_ALLOCA #define USE_C_ALLOCA
#endif #endif
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
...@@ -32,12 +32,5 @@ Boston, MA 02111-1307, USA. */ ...@@ -32,12 +32,5 @@ Boston, MA 02111-1307, USA. */
#define USG #define USG
/* Target machine dependencies. tm.h is a symbolic link to the actual
target specific file. */
#include "tm.h"
/* Arguments to use with `exit'. */ /* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 12 #define FATAL_EXIT_CODE 12
...@@ -41,12 +41,3 @@ extern char *alloca (); ...@@ -41,12 +41,3 @@ extern char *alloca ();
#endif #endif
#define ONLY_INT_FIELDS #define ONLY_INT_FIELDS
#endif #endif
/* Target machine dependencies. tm.h is a symbolic link to the actual
target specific file. */
#include "tm.h"
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 12
...@@ -32,12 +32,5 @@ Boston, MA 02111-1307, USA. */ ...@@ -32,12 +32,5 @@ Boston, MA 02111-1307, USA. */
#define USG #define USG
/* Target machine dependencies. tm.h is a symbolic link to the actual
target specific file. */
#include "tm.h"
/* Arguments to use with `exit'. */ /* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 12 #define FATAL_EXIT_CODE 12
...@@ -34,12 +34,5 @@ Boston, MA 02111-1307, USA. */ ...@@ -34,12 +34,5 @@ Boston, MA 02111-1307, USA. */
#define USG #define USG
/* Target machine dependencies. tm.h is a symbolic link to the actual
target specific file. */
#include "tm.h"
/* Arguments to use with `exit'. */ /* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 12 #define FATAL_EXIT_CODE 12
...@@ -22,11 +22,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -22,11 +22,6 @@ Boston, MA 02111-1307, USA. */
#include <i386/xm-i386.h> #include <i386/xm-i386.h>
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* Include <sys/wait.h> to define the exit status access macros. */ /* Include <sys/wait.h> to define the exit status access macros. */
#ifndef inhibit_libc #ifndef inhibit_libc
#include <sys/wait.h> #include <sys/wait.h>
......
...@@ -28,12 +28,3 @@ Boston, MA 02111-1307, USA. */ ...@@ -28,12 +28,3 @@ Boston, MA 02111-1307, USA. */
#define HOST_BITS_PER_INT 32 #define HOST_BITS_PER_INT 32
#define HOST_BITS_PER_LONG 32 #define HOST_BITS_PER_LONG 32
#define HOST_BITS_PER_LONGLONG 64 #define HOST_BITS_PER_LONGLONG 64
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
...@@ -18,16 +18,9 @@ along with GNU CC; see the file COPYING. If not, write to ...@@ -18,16 +18,9 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330, the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
#include <xm-lynx.h>
/* This describes the machine the compiler is hosted on. */ /* This describes the machine the compiler is hosted on. */
#define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_CHAR 8
#define HOST_BITS_PER_SHORT 16 #define HOST_BITS_PER_SHORT 16
#define HOST_BITS_PER_INT 32 #define HOST_BITS_PER_INT 32
#define HOST_BITS_PER_LONG 32 #define HOST_BITS_PER_LONG 32
#define HOST_BITS_PER_LONGLONG 64 #define HOST_BITS_PER_LONGLONG 64
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
...@@ -24,12 +24,3 @@ Boston, MA 02111-1307, USA. */ ...@@ -24,12 +24,3 @@ Boston, MA 02111-1307, USA. */
#define HOST_BITS_PER_INT 32 #define HOST_BITS_PER_INT 32
#define HOST_BITS_PER_LONG 32 #define HOST_BITS_PER_LONG 32
#define HOST_BITS_PER_LONGLONG 64 #define HOST_BITS_PER_LONGLONG 64
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
...@@ -25,15 +25,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -25,15 +25,7 @@ Boston, MA 02111-1307, USA. */
#define HOST_BITS_PER_LONG 32 #define HOST_BITS_PER_LONG 32
#define HOST_BITS_PER_LONGLONG 64 #define HOST_BITS_PER_LONGLONG 64
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* If not compiled with GNU C, use the C alloca */ /* If not compiled with GNU C, use the C alloca */
#ifndef __GNUC__ #ifndef __GNUC__
#define USE_C_ALLOCA #define USE_C_ALLOCA
#endif #endif
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
...@@ -18,14 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to ...@@ -18,14 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330, the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
/* A C expression for the status code to be returned when the compiler exits
after serious errors. */
#define FATAL_EXIT_CODE 33
/* A C expression for the status code to be returned when the compiler exits
without serious errors. */
#define SUCCESS_EXIT_CODE 0
/* Defined if the host machine stores words of multi-word values in big-endian /* Defined if the host machine stores words of multi-word values in big-endian
order. (GNU CC does not depend on the host byte ordering within a word.) */ order. (GNU CC does not depend on the host byte ordering within a word.) */
#ifdef __BIG_ENDIAN__ #ifdef __BIG_ENDIAN__
...@@ -49,9 +41,3 @@ Boston, MA 02111-1307, USA. */ ...@@ -49,9 +41,3 @@ Boston, MA 02111-1307, USA. */
/* A C expression for the number of bits in `long long' on the host /* A C expression for the number of bits in `long long' on the host
machine. */ machine. */
#define HOST_BITS_PER_LONGLONG 64 #define HOST_BITS_PER_LONGLONG 64
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* end of xm-ia64.h */
...@@ -29,14 +29,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -29,14 +29,6 @@ Boston, MA 02111-1307, USA. */
matters when cross-compiling. */ matters when cross-compiling. */
#define HOST_WORDS_BIG_ENDIAN 1 #define HOST_WORDS_BIG_ENDIAN 1
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* If compiled with Sun CC, the use of alloca requires this #include. */ /* If compiled with Sun CC, the use of alloca requires this #include. */
#ifndef __GNUC__ #ifndef __GNUC__
#include "alloca.h" #include "alloca.h"
......
/* Configuration for GNU C-compiler for Motorola 68HC11 and 68HC12. /* Configuration for GNU C-compiler for Motorola 68HC11 and 68HC12.
Copyright (C) 1999, 2000 Free Software Foundation, Inc. Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
Contributed by Stephane Carrez (stcarrez@worldnet.fr) Contributed by Stephane Carrez (stcarrez@worldnet.fr)
This file is part of GNU CC. This file is part of GNU CC.
...@@ -19,6 +19,4 @@ along with GNU CC; see the file COPYING. If not, write to ...@@ -19,6 +19,4 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330, the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
#include "tm.h"
#define inhibit_libc #define inhibit_libc
/* More startup code for A/UX */ /* More startup code for A/UX */
#include "tm.h" #include "tconfig.h"
#ifdef USE_BIN_AS #ifdef USE_BIN_AS
file "crt2.s" file "crt2.s"
......
/* More startup code for A/UX */ /* More startup code for A/UX */
#include "tm.h" #include "tconfig.h"
#ifdef USE_BIN_AS #ifdef USE_BIN_AS
file "crtn.s" file "crtn.s"
......
...@@ -37,12 +37,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -37,12 +37,9 @@ Boston, MA 02111-1307, USA. */
#error This file uses GNU C extensions #error This file uses GNU C extensions
#endif #endif
#include "tconfig.h"
#include <mon.h> #include <mon.h>
#ifdef IN_GCC
#include "tm.h"
#endif
struct cnt *_countbase; struct cnt *_countbase;
#ifdef FUNCTION_PROFILER_SYMBOL #ifdef FUNCTION_PROFILER_SYMBOL
......
...@@ -18,8 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to ...@@ -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, the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
#include <xm-lynx.h>
/* This describes the machine the compiler is hosted on. */ /* This describes the machine the compiler is hosted on. */
#define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_CHAR 8
#define HOST_BITS_PER_SHORT 16 #define HOST_BITS_PER_SHORT 16
...@@ -28,8 +26,3 @@ Boston, MA 02111-1307, USA. */ ...@@ -28,8 +26,3 @@ Boston, MA 02111-1307, USA. */
#define HOST_BITS_PER_LONGLONG 64 #define HOST_BITS_PER_LONGLONG 64
#define HOST_WORDS_BIG_ENDIAN 1 #define HOST_WORDS_BIG_ENDIAN 1
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
...@@ -26,11 +26,3 @@ Boston, MA 02111-1307, USA. */ ...@@ -26,11 +26,3 @@ Boston, MA 02111-1307, USA. */
#define HOST_BITS_PER_LONGLONG 64 #define HOST_BITS_PER_LONGLONG 64
#define HOST_WORDS_BIG_ENDIAN #define HOST_WORDS_BIG_ENDIAN
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
...@@ -29,10 +29,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -29,10 +29,6 @@ Boston, MA 02111-1307, USA. */
#define HOST_WORDS_BIG_ENDIAN #define HOST_WORDS_BIG_ENDIAN
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* The 88open BCS (and ABI) environment doesn't support BSD features /* The 88open BCS (and ABI) environment doesn't support BSD features
(vfork, getrusage), so use USG. The Omron Luna/88k is BSD though. */ (vfork, getrusage), so use USG. The Omron Luna/88k is BSD though. */
#ifndef luna88k #ifndef luna88k
...@@ -50,7 +46,3 @@ Boston, MA 02111-1307, USA. */ ...@@ -50,7 +46,3 @@ Boston, MA 02111-1307, USA. */
#ifdef __DGUX__ #ifdef __DGUX__
#define OBSTACK_CHUNK_SIZE (8192-16) #define OBSTACK_CHUNK_SIZE (8192-16)
#endif #endif
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
...@@ -27,11 +27,3 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -27,11 +27,3 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef __GNUC__ #ifdef __GNUC__
#define alloca __builtin_alloca #define alloca __builtin_alloca
#endif #endif
/* Target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
...@@ -36,14 +36,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -36,14 +36,6 @@ Boston, MA 02111-1307, USA. */
#define HOST_FLOAT_FORMAT IEEE_FLOAT_FORMAT #define HOST_FLOAT_FORMAT IEEE_FLOAT_FORMAT
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
#ifndef __GNUC__ #ifndef __GNUC__
/* The MIPS compiler gets it wrong, and treats enumerated bitfields /* The MIPS compiler gets it wrong, and treats enumerated bitfields
as signed quantities, making it impossible to use an 8-bit enum as signed quantities, making it impossible to use an 8-bit enum
......
...@@ -25,12 +25,3 @@ Boston, MA 02111-1307, USA. */ ...@@ -25,12 +25,3 @@ Boston, MA 02111-1307, USA. */
#define HOST_BITS_PER_INT 16 #define HOST_BITS_PER_INT 16
#define HOST_BITS_PER_LONG 32 #define HOST_BITS_PER_LONG 32
#define HOST_BITS_PER_LONGLONG 64 #define HOST_BITS_PER_LONGLONG 64
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
...@@ -25,12 +25,3 @@ Boston, MA 02111-1307, USA. */ ...@@ -25,12 +25,3 @@ Boston, MA 02111-1307, USA. */
#define HOST_BITS_PER_INT 32 #define HOST_BITS_PER_INT 32
#define HOST_BITS_PER_LONG 32 #define HOST_BITS_PER_LONG 32
#define HOST_BITS_PER_LONGLONG 64 #define HOST_BITS_PER_LONGLONG 64
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
...@@ -18,17 +18,9 @@ along with GNU CC; see the file COPYING. If not, write to ...@@ -18,17 +18,9 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330, the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* This describes the machine the compiler is hosted on. */ /* This describes the machine the compiler is hosted on. */
#define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_CHAR 8
#define HOST_BITS_PER_SHORT 16 #define HOST_BITS_PER_SHORT 16
#define HOST_BITS_PER_INT 32 #define HOST_BITS_PER_INT 32
#define HOST_BITS_PER_LONG 32 #define HOST_BITS_PER_LONG 32
#define HOST_BITS_PER_LONGLONG 64 #define HOST_BITS_PER_LONGLONG 64
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
...@@ -29,12 +29,4 @@ Boston, MA 02111-1307, USA. */ ...@@ -29,12 +29,4 @@ Boston, MA 02111-1307, USA. */
matters when cross-compiling. */ matters when cross-compiling. */
#define HOST_WORDS_BIG_ENDIAN 1 #define HOST_WORDS_BIG_ENDIAN 1
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
#include <xm-linux.h> #include <xm-linux.h>
...@@ -33,14 +33,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -33,14 +33,6 @@ Boston, MA 02111-1307, USA. */
/* Place any machine-dependent include files here, in case we /* Place any machine-dependent include files here, in case we
are bootstrapping. */ are bootstrapping. */
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* 4.3BSD, OSF1 and Lites on the PA are all derived from NET2 or /* 4.3BSD, OSF1 and Lites on the PA are all derived from NET2 or
later code from Berkeley. */ later code from Berkeley. */
#define __BSD_NET2__ #define __BSD_NET2__
......
...@@ -33,17 +33,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -33,17 +33,6 @@ Boston, MA 02111-1307, USA. */
matters when cross-compiling. */ matters when cross-compiling. */
#define HOST_WORDS_BIG_ENDIAN 1 #define HOST_WORDS_BIG_ENDIAN 1
/* Place any machine-dependent include files here, in case we
are bootstrapping. */
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* HP's compiler has problems with enum bitfields. */ /* HP's compiler has problems with enum bitfields. */
#define ONLY_INT_FIELDS #define ONLY_INT_FIELDS
......
...@@ -33,17 +33,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -33,17 +33,6 @@ Boston, MA 02111-1307, USA. */
matters when cross-compiling. */ matters when cross-compiling. */
#define HOST_WORDS_BIG_ENDIAN 1 #define HOST_WORDS_BIG_ENDIAN 1
/* Place any machine-dependent include files here, in case we
are bootstrapping. */
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* HP's compiler has problems with enum bitfields. */ /* HP's compiler has problems with enum bitfields. */
#define ONLY_INT_FIELDS #define ONLY_INT_FIELDS
......
...@@ -30,17 +30,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -30,17 +30,6 @@ Boston, MA 02111-1307, USA. */
matters when cross-compiling. */ matters when cross-compiling. */
#define HOST_WORDS_BIG_ENDIAN 1 #define HOST_WORDS_BIG_ENDIAN 1
/* Place any machine-dependent include files here, in case we
are bootstrapping. */
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* HP's compiler has problems with enum bitfields. */ /* HP's compiler has problems with enum bitfields. */
#define ONLY_INT_FIELDS #define ONLY_INT_FIELDS
......
/* Configuration for GNU C-compiler for pdp-11 family.
Copyright (C) 1994, 1995 Free Software Foundation, Inc.
Contributed by Michael K. Gschwind (mike@vlsivie.tuwien.ac.at).
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. */
/* gcc can never run on a PDP, since it needs too much memory */
/* but we need the xm-pdp.h file to compile libgcc2 */
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
...@@ -24,12 +24,3 @@ Boston, MA 02111-1307, USA. */ ...@@ -24,12 +24,3 @@ Boston, MA 02111-1307, USA. */
#define HOST_BITS_PER_INT 32 #define HOST_BITS_PER_INT 32
#define HOST_BITS_PER_LONG 32 #define HOST_BITS_PER_LONG 32
#define HOST_BITS_PER_LONGLONG 64 #define HOST_BITS_PER_LONGLONG 64
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
...@@ -27,14 +27,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -27,14 +27,6 @@ Boston, MA 02111-1307, USA. */
#define HOST_WORDS_BIG_ENDIAN #define HOST_WORDS_BIG_ENDIAN
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* If compiled with hc, use the built-in alloca and memcpy. /* If compiled with hc, use the built-in alloca and memcpy.
These definitions assume hc version 2. */ These definitions assume hc version 2. */
#ifdef __HIGHC__ #ifdef __HIGHC__
......
...@@ -31,16 +31,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -31,16 +31,6 @@ Boston, MA 02111-1307, USA. */
#define HOST_WORDS_BIG_ENDIAN #define HOST_WORDS_BIG_ENDIAN
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* Use the C alloca and use only int bitfields. */ /* Use the C alloca and use only int bitfields. */
#define USE_C_ALLOCA #define USE_C_ALLOCA
......
...@@ -18,8 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to ...@@ -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, the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
#include <xm-lynx.h>
/* This describes the machine the compiler is hosted on. */ /* This describes the machine the compiler is hosted on. */
#define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_CHAR 8
#define HOST_BITS_PER_SHORT 16 #define HOST_BITS_PER_SHORT 16
...@@ -28,8 +26,3 @@ Boston, MA 02111-1307, USA. */ ...@@ -28,8 +26,3 @@ Boston, MA 02111-1307, USA. */
#define HOST_BITS_PER_LONGLONG 64 #define HOST_BITS_PER_LONGLONG 64
#define HOST_WORDS_BIG_ENDIAN 1 #define HOST_WORDS_BIG_ENDIAN 1
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
...@@ -28,14 +28,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -28,14 +28,6 @@ Boston, MA 02111-1307, USA. */
#define HOST_WORDS_BIG_ENDIAN #define HOST_WORDS_BIG_ENDIAN
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* If not compiled with GNU C, use the C alloca and use only int bitfields. */ /* If not compiled with GNU C, use the C alloca and use only int bitfields. */
#ifndef __GNUC__ #ifndef __GNUC__
#define USE_C_ALLOCA #define USE_C_ALLOCA
......
...@@ -30,14 +30,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -30,14 +30,6 @@ Boston, MA 02111-1307, USA. */
matters when cross-compiling. */ matters when cross-compiling. */
#define HOST_WORDS_BIG_ENDIAN 1 #define HOST_WORDS_BIG_ENDIAN 1
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
#ifdef __linux__ #ifdef __linux__
#include "xm-linux.h" #include "xm-linux.h"
#endif #endif
......
...@@ -28,11 +28,3 @@ Boston, MA 02111-1307, USA. */ ...@@ -28,11 +28,3 @@ Boston, MA 02111-1307, USA. */
#ifdef __GNUC__ #ifdef __GNUC__
#define alloca __builtin_alloca #define alloca __builtin_alloca
#endif #endif
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
...@@ -18,8 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to ...@@ -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, the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
#include <xm-lynx.h>
/* This describes the machine the compiler is hosted on. */ /* This describes the machine the compiler is hosted on. */
#define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_CHAR 8
#define HOST_BITS_PER_SHORT 16 #define HOST_BITS_PER_SHORT 16
...@@ -28,12 +26,3 @@ Boston, MA 02111-1307, USA. */ ...@@ -28,12 +26,3 @@ Boston, MA 02111-1307, USA. */
#define HOST_BITS_PER_LONGLONG 64 #define HOST_BITS_PER_LONGLONG 64
#define HOST_WORDS_BIG_ENDIAN 1 #define HOST_WORDS_BIG_ENDIAN 1
/* Include <sys/wait.h> to define the exit status access macros. */
#include <sys/types.h>
#include <sys/wait.h>
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
...@@ -30,14 +30,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -30,14 +30,6 @@ Boston, MA 02111-1307, USA. */
matters when cross-compiling. */ matters when cross-compiling. */
#define HOST_WORDS_BIG_ENDIAN 1 #define HOST_WORDS_BIG_ENDIAN 1
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* If compiled with Sun CC, the use of alloca requires this #include. */ /* If compiled with Sun CC, the use of alloca requires this #include. */
#ifndef __GNUC__ #ifndef __GNUC__
#include "alloca.h" #include "alloca.h"
......
...@@ -30,14 +30,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -30,14 +30,6 @@ Boston, MA 02111-1307, USA. */
matters when cross-compiling. */ matters when cross-compiling. */
#define HOST_WORDS_BIG_ENDIAN 1 #define HOST_WORDS_BIG_ENDIAN 1
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
#ifndef __GNUC__ #ifndef __GNUC__
#define ONLY_INT_FIELDS #define ONLY_INT_FIELDS
#endif #endif
...@@ -25,12 +25,3 @@ Boston, MA 02111-1307, USA. */ ...@@ -25,12 +25,3 @@ Boston, MA 02111-1307, USA. */
#define HOST_BITS_PER_INT 32 #define HOST_BITS_PER_INT 32
#define HOST_BITS_PER_LONG 32 #define HOST_BITS_PER_LONG 32
#define HOST_BITS_PER_LONGLONG 64 #define HOST_BITS_PER_LONGLONG 64
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
...@@ -18,10 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to ...@@ -18,10 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330, the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* This describes the machine the compiler is hosted on. */ /* This describes the machine the compiler is hosted on. */
#define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_CHAR 8
#define HOST_BITS_PER_SHORT 16 #define HOST_BITS_PER_SHORT 16
...@@ -31,10 +27,3 @@ Boston, MA 02111-1307, USA. */ ...@@ -31,10 +27,3 @@ Boston, MA 02111-1307, USA. */
/* This machine doesn't use IEEE floats. */ /* This machine doesn't use IEEE floats. */
#define HOST_FLOAT_FORMAT VAX_FLOAT_FORMAT #define HOST_FLOAT_FORMAT VAX_FLOAT_FORMAT
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* isinf isn't there, but finite is. */
#define isinf(x) (!finite(x))
...@@ -40,10 +40,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -40,10 +40,6 @@ Boston, MA 02111-1307, USA. */
#undef FILE_TYPE #undef FILE_TYPE
#endif #endif
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* This describes the machine the compiler is hosted on. */ /* This describes the machine the compiler is hosted on. */
#define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_CHAR 8
#define HOST_BITS_PER_SHORT 16 #define HOST_BITS_PER_SHORT 16
......
...@@ -28,14 +28,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -28,14 +28,6 @@ Boston, MA 02111-1307, USA. */
#define HOST_WORDS_BIG_ENDIAN #define HOST_WORDS_BIG_ENDIAN
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
#ifndef MAXPATHLEN #ifndef MAXPATHLEN
#define MAXPATHLEN 512 #define MAXPATHLEN 512
#endif #endif
...@@ -24,9 +24,3 @@ Boston, MA 02111-1307, USA. */ ...@@ -24,9 +24,3 @@ Boston, MA 02111-1307, USA. */
CPU/xm-CPU.h and this file xm-gnu.h. */ CPU/xm-CPU.h and this file xm-gnu.h. */
#define POSIX /* GNU complies to POSIX.1. */ #define POSIX /* GNU complies to POSIX.1. */
#ifndef inhibit_libc
/* Get a definition of O_RDONLY; some of the GCC files don't include this
properly and will define it themselves to be zero. */
#include <fcntl.h>
#endif
/* Configuration for GNU C-compiler for Lynx.
Copyright (C) 1993, 1995, 2001 Free Software Foundation, Inc.
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. */
/* This file defines machine-independent things specific to a host
running Lynx. This file should not be specified as $xm_file itself;
instead $xm_file should be CPU/xm-lynx.h, which should include this one. */
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
...@@ -24,7 +24,3 @@ Boston, MA 02111-1307, USA. */ ...@@ -24,7 +24,3 @@ Boston, MA 02111-1307, USA. */
#define HOST_BITS_PER_INT 32 #define HOST_BITS_PER_INT 32
#define HOST_BITS_PER_LONG 32 #define HOST_BITS_PER_LONG 32
#define HOST_BITS_PER_LONGLONG 64 #define HOST_BITS_PER_LONGLONG 64
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
...@@ -716,15 +716,13 @@ fi ...@@ -716,15 +716,13 @@ fi
# $vars is the list of shell variables with file names to include. # $vars is the list of shell variables with file names to include.
# auto-host.h is the file containing items generated by autoconf and is # auto-host.h is the file containing items generated by autoconf and is
# the first file included by config.h. # the first file included by config.h.
null_defines=
host_xm_file="auto-host.h gansidecl.h ${host_xm_file} defaults.h hwint.h"
# If host=build, it is correct to have hconfig include auto-host.h # If host=build, it is correct to have hconfig include auto-host.h
# as well. If host!=build, we are in error and need to do more # as well. If host!=build, we are in error and need to do more
# work to find out the build config parameters. # work to find out the build config parameters.
# FIXME: hconfig.h should be bconfig.h.
if test x$host = x$build if test x$host = x$build
then then
build_xm_file="auto-host.h gansidecl.h ${build_xm_file} defaults.h hwint.h" build_auto=auto-host.h
else else
# We create a subdir, then run autoconf in the subdir. # We create a subdir, then run autoconf in the subdir.
# To prevent recursion we set host and build for the new # To prevent recursion we set host and build for the new
...@@ -746,15 +744,18 @@ else ...@@ -746,15 +744,18 @@ else
mv auto-host.h ../auto-build.h mv auto-host.h ../auto-build.h
cd .. cd ..
rm -rf $tempdir rm -rf $tempdir
build_xm_file="auto-build.h gansidecl.h ${build_xm_file} defaults.h hwint.h" build_auto=auto-build.h
fi fi
xm_file="gansidecl.h ${xm_file} defaults.h" null_defines=
tm_file="gansidecl.h ${tm_file} defaults.h" tm_file="${tm_file} defaults.h"
host_xm_file="auto-host.h gansidecl.h ${host_xm_file} ${tm_file} hwint.h"
build_xm_file="${build_auto} gansidecl.h ${build_xm_file} ${tm_file} hwint.h"
xm_file="gansidecl.h ${xm_file} ${tm_file}"
vars="host_xm_file tm_file tm_p_file xm_file build_xm_file" vars="host_xm_file tm_p_file xm_file build_xm_file"
links="config.h tm.h tm_p.h tconfig.h hconfig.h" links="config.h tm_p.h tconfig.h hconfig.h"
defines="host_xm_defines null_defines null_defines xm_defines build_xm_defines" defines="host_xm_defines null_defines xm_defines build_xm_defines"
rm -f config.bak rm -f config.bak
if test -f config.status; then mv -f config.status config.bak; fi if test -f config.status; then mv -f config.status config.bak; fi
...@@ -772,7 +773,7 @@ do ...@@ -772,7 +773,7 @@ do
# Define TARGET_CPU_DEFAULT if the system wants one. # Define TARGET_CPU_DEFAULT if the system wants one.
# This substitutes for lots of *.h files. # This substitutes for lots of *.h files.
if test "$target_cpu_default" != "" -a $link = tm.h if test "$target_cpu_default" != ""
then then
echo "#define TARGET_CPU_DEFAULT ($target_cpu_default)" >>$link echo "#define TARGET_CPU_DEFAULT ($target_cpu_default)" >>$link
fi fi
...@@ -801,14 +802,11 @@ do ...@@ -801,14 +802,11 @@ do
echo "#endif" >>$link echo "#endif" >>$link
done done
if test $link = tm.h # Include insn-codes.h last, because it includes machmode.h,
then # and we want EXTRA_CC_MODES to be taken into account.
# Include insn-codes.h last, because it includes machmode.h, echo "#ifndef GENERATOR_FILE" >>$link
# and we want EXTRA_CC_MODES to be taken into account. echo "#include \"insn-codes.h\"" >>$link
echo "#ifndef GENERATOR_FILE" >>$link echo "#endif" >>$link
echo "#include \"insn-codes.h\"" >>$link
echo "#endif" >>$link
fi
done done
# Truncate the target if necessary # Truncate the target if necessary
......
...@@ -55,10 +55,8 @@ Boston, MA 02111-1307, USA. */ ...@@ -55,10 +55,8 @@ Boston, MA 02111-1307, USA. */
compiled for the target, and hence definitions concerning only the host compiled for the target, and hence definitions concerning only the host
do not apply. */ do not apply. */
#include "auto-host.h" #include "tconfig.h"
#include "tm.h"
#include "tsystem.h" #include "tsystem.h"
#include "frame.h" #include "frame.h"
#ifndef CRT_CALL_STATIC_FUNCTION #ifndef CRT_CALL_STATIC_FUNCTION
......
...@@ -4085,12 +4085,17 @@ Define this macro if the host system is VMS. ...@@ -4085,12 +4085,17 @@ Define this macro if the host system is VMS.
@findex FATAL_EXIT_CODE @findex FATAL_EXIT_CODE
@item FATAL_EXIT_CODE @item FATAL_EXIT_CODE
A C expression for the status code to be returned when the compiler A C expression for the status code to be returned when the compiler
exits after serious errors. exits after serious errors. The default is the system-provided macro
@samp{EXIT_FAILURE}, or @samp{1} if the system doesn't define that
macro. Define this macro only if these defaults are incorrect.
@findex SUCCESS_EXIT_CODE @findex SUCCESS_EXIT_CODE
@item SUCCESS_EXIT_CODE @item SUCCESS_EXIT_CODE
A C expression for the status code to be returned when the compiler A C expression for the status code to be returned when the compiler
exits without serious errors. exits without serious errors. (Warnings are not serious errors.) The
default is the system-provided macro @samp{EXIT_SUCCESS}, or @samp{0} if
the system doesn't define that macro. Define this macro only if these
defaults are incorrect.
@findex HOST_WORDS_BIG_ENDIAN @findex HOST_WORDS_BIG_ENDIAN
@item HOST_WORDS_BIG_ENDIAN @item HOST_WORDS_BIG_ENDIAN
......
...@@ -119,6 +119,25 @@ extern int errno; ...@@ -119,6 +119,25 @@ extern int errno;
#endif #endif
#endif #endif
/* If we don't have an overriding definition, set SUCCESS_EXIT_CODE and
FATAL_EXIT_CODE to EXIT_SUCCESS and EXIT_FAILURE respectively,
or 0 and 1 if those macros are not defined. */
#ifndef SUCCESS_EXIT_CODE
# ifdef EXIT_SUCCESS
# define SUCCESS_EXIT_CODE EXIT_SUCCESS
# else
# define SUCCESS_EXIT_CODE 0
# endif
#endif
#ifndef FATAL_EXIT_CODE
# ifdef EXIT_FAILURE
# define FATAL_EXIT_CODE EXIT_FAILURE
# else
# define FATAL_EXIT_CODE 1
# endif
#endif
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
# include <unistd.h> # include <unistd.h>
#endif #endif
......
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