|
|
1.1 ! root 1: /* Configuration for GNU C-compiler for MIPS Rx000 family ! 2: Copyright (C) 1989, 1990, 1991 Free Software Foundation, Inc. ! 3: ! 4: This file is part of GNU CC. ! 5: ! 6: GNU CC is free software; you can redistribute it and/or modify ! 7: it under the terms of the GNU General Public License as published by ! 8: the Free Software Foundation; either version 2, or (at your option) ! 9: any later version. ! 10: ! 11: GNU CC is distributed in the hope that it will be useful, ! 12: but WITHOUT ANY WARRANTY; without even the implied warranty of ! 13: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! 14: GNU General Public License for more details. ! 15: ! 16: You should have received a copy of the GNU General Public License ! 17: along with GNU CC; see the file COPYING. If not, write to ! 18: the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ! 19: ! 20: ! 21: /* #defines that need visibility everywhere. */ ! 22: #define FALSE 0 ! 23: #define TRUE 1 ! 24: ! 25: /* This describes the machine the compiler is hosted on. */ ! 26: #define HOST_BITS_PER_CHAR 8 ! 27: #define HOST_BITS_PER_SHORT 16 ! 28: #define HOST_BITS_PER_INT 32 ! 29: #define HOST_BITS_PER_LONG 32 ! 30: #define HOST_BITS_PER_LONGLONG 64 ! 31: ! 32: #if !defined(MIPSEL) && !defined(__MIPSEL__) ! 33: #define HOST_WORDS_BIG_ENDIAN ! 34: #endif ! 35: ! 36: /* Enable host-conditionals for MIPS machines. */ ! 37: #ifndef MIPS ! 38: #define MIPS 1 ! 39: #endif ! 40: ! 41: /* A code distinguishing the floating point format of the host ! 42: machine. There are three defined values: IEEE_FLOAT_FORMAT, ! 43: VAX_FLOAT_FORMAT, and UNKNOWN_FLOAT_FORMAT. */ ! 44: ! 45: #define HOST_FLOAT_FORMAT IEEE_FLOAT_FORMAT ! 46: ! 47: /* target machine dependencies. ! 48: tm.h is a symbolic link to the actual target specific file. */ ! 49: #include "tm.h" ! 50: ! 51: /* Arguments to use with `exit'. */ ! 52: #define SUCCESS_EXIT_CODE 0 ! 53: #define FATAL_EXIT_CODE 33 ! 54: ! 55: #ifndef __GNUC__ ! 56: /* The MIPS compiler gets it wrong, and treats enumerated bitfields ! 57: as signed quantities, making it impossible to use an 8-bit enum ! 58: for compiling GNU C++. */ ! 59: #define ONLY_INT_FIELDS 1 ! 60: #endif ! 61: ! 62: #ifndef MIPS_OVERRIDE_ALLOCA ! 63: /* If compiled with GNU C, use the built-in alloca */ ! 64: #ifdef __GNUC__ ! 65: #define alloca __builtin_alloca ! 66: ! 67: #else ! 68: #define USE_C_ALLOCA ! 69: extern char * alloca (); ! 70: ! 71: /* for the emacs version of alloca */ ! 72: #define STACK_DIRECTION -1 ! 73: #endif ! 74: #endif /* not MIPS_OVERRIDE_ALLOCA */ ! 75: ! 76: /* Say if we have vprintf. BSD Mips targets probably don't have vfprintf. */ ! 77: #if defined(__OSF1__) || defined(__OSF__) ! 78: #define HAVE_VFPRINTF ! 79: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.