1 /* Configuration for GNU C-compiler for MIPS Rx000 family
2 Copyright (C) 1989, 1990, 1991, 1993, 1997, 2001
3 Free Software Foundation, Inc.
5 This file is part of GNU CC.
7 GNU CC is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
12 GNU CC is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GNU CC; see the file COPYING. If not, write to
19 the Free Software Foundation, 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
22 /* This describes the machine the compiler is hosted on. */
23 #define HOST_BITS_PER_CHAR 8
24 #define HOST_BITS_PER_SHORT 16
25 #define HOST_BITS_PER_INT 32
26 #define HOST_BITS_PER_LONG 32
27 #define HOST_BITS_PER_LONGLONG 64
29 #if !defined(MIPSEL) && !defined(__MIPSEL__)
30 #define HOST_WORDS_BIG_ENDIAN
33 /* A code distinguishing the floating point format of the host
34 machine. There are three defined values: IEEE_FLOAT_FORMAT,
35 VAX_FLOAT_FORMAT, and UNKNOWN_FLOAT_FORMAT. */
37 #define HOST_FLOAT_FORMAT IEEE_FLOAT_FORMAT
40 /* The MIPS compiler gets it wrong, and treats enumerated bitfields
41 as signed quantities, making it impossible to use an 8-bit enum
42 for compiling GNU C++. */
43 #define ONLY_INT_FIELDS 1
46 #ifndef MIPS_OVERRIDE_ALLOCA
51 extern void * alloca ();
53 extern char * alloca ();
57 #endif /* not MIPS_OVERRIDE_ALLOCA */