]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/mips/xm-mips.h
aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
[thirdparty/gcc.git] / gcc / config / mips / xm-mips.h
CommitLineData
48f50d01 1/* Configuration for GNU C-compiler for MIPS Rx000 family
000b5f54
ZW
2 Copyright (C) 1989, 1990, 1991, 1993, 1997, 2001
3 Free Software Foundation, Inc.
48f50d01
MM
4
5This file is part of GNU CC.
6
7GNU CC is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 2, or (at your option)
10any later version.
11
12GNU CC is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU CC; see the file COPYING. If not, write to
0e29e3c9
RK
19the Free Software Foundation, 59 Temple Place - Suite 330,
20Boston, MA 02111-1307, USA. */
48f50d01 21
48f50d01
MM
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
28
29#if !defined(MIPSEL) && !defined(__MIPSEL__)
30#define HOST_WORDS_BIG_ENDIAN
31#endif
32
48f50d01
MM
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. */
36
37#define HOST_FLOAT_FORMAT IEEE_FLOAT_FORMAT
38
48f50d01
MM
39#ifndef __GNUC__
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
44#endif