|
|
1.1 ! root 1: /* Configuration for GNU C-compiler for MIPS Rx000 family ! 2: Copyright (C) 1989, 1990, 1991, 1993 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: #ifndef __GNUC__ ! 64: #define USE_C_ALLOCA ! 65: ! 66: extern char * alloca (); ! 67: ! 68: /* for the emacs version of alloca */ ! 69: #define STACK_DIRECTION -1 ! 70: #endif ! 71: #endif /* not MIPS_OVERRIDE_ALLOCA */ ! 72: ! 73: /* Say if we have vprintf. BSD Mips targets probably don't have vfprintf. */ ! 74: #if defined(__OSF1__) || defined(__OSF__) || defined(__osf__) || defined(bsd4_4) ! 75: #define HAVE_VPRINTF ! 76: #define HAVE_PUTENV ! 77: ! 78: #else ! 79: #define NO_STAB_H /* mips doesn't typically have stab.h */ ! 80: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.