OSDN Git Service

Daily bump.
[pf3gnuchains/gcc-fork.git] / gcc / config / rs6000 / xm-sysv4.h
1 /* Configuration for GNU C-compiler for PowerPC running System V.4.
2    Copyright (C) 1995, 1998, 1999, 2001 Free Software Foundation, Inc.
3    Cloned from sparc/xm-sysv4.h by Michael Meissner (meissner@cygnus.com).
4
5 This file is part of GNU CC.
6
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)
10 any later version.
11
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.
16
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.  */
21
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 /* Doubles are stored in memory with the high order word first.  This
30    matters when cross-compiling.  */
31 #define HOST_WORDS_BIG_ENDIAN 1
32
33 #ifdef __linux__
34 #include "xm-linux.h"
35 #endif
36
37 /* if not compiled with GNU C, use the C alloca and use only int bitfields. */
38 #ifndef __GNUC__
39 #define USE_C_ALLOCA
40 #ifdef __STDC__
41 extern void *alloca ();
42 #else
43 extern char *alloca ();
44 #endif
45 #undef ONLY_INT_FIELDS
46 #define ONLY_INT_FIELDS
47 #endif