]> gcc.gnu.org Git - gcc.git/blob - gcc/config/rs6000/xm-sysv4.h
Daily bump.
[gcc.git] / gcc / config / rs6000 / xm-sysv4.h
1 /* Configuration for GNU C-compiler for PowerPC running System V.4.
2 Copyright (C) 1995, 1998 Free Software Foundation, Inc.
3
4 Cloned from sparc/xm-sysv4.h by Michael Meissner (meissner@cygnus.com).
5
6 This file is part of GNU CC.
7
8 GNU CC is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
11 any later version.
12
13 GNU CC is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with GNU CC; see the file COPYING. If not, write to
20 the Free Software Foundation, 59 Temple Place - Suite 330,
21 Boston, MA 02111-1307, USA. */
22
23
24 /* #defines that need visibility everywhere. */
25 #define FALSE 0
26 #define TRUE 1
27
28 /* This describes the machine the compiler is hosted on. */
29 #define HOST_BITS_PER_CHAR 8
30 #define HOST_BITS_PER_SHORT 16
31 #define HOST_BITS_PER_INT 32
32 #define HOST_BITS_PER_LONG 32
33 #define HOST_BITS_PER_LONGLONG 64
34
35 /* Doubles are stored in memory with the high order word first. This
36 matters when cross-compiling. */
37 #define HOST_WORDS_BIG_ENDIAN 1
38
39 /* target machine dependencies.
40 tm.h is a symbolic link to the actual target specific file. */
41 #include "tm.h"
42
43 /* Arguments to use with `exit'. */
44 #define SUCCESS_EXIT_CODE 0
45 #define FATAL_EXIT_CODE 33
46
47 #ifdef __linux__
48 #include "xm-linux.h"
49 #endif
50
51 /* if not compiled with GNU C, use the C alloca and use only int bitfields. */
52 #ifndef __GNUC__
53 #define USE_C_ALLOCA
54 #ifdef __STDC__
55 extern void *alloca ();
56 #else
57 extern char *alloca ();
58 #endif
59 #undef ONLY_INT_FIELDS
60 #define ONLY_INT_FIELDS
61 #endif
62
63 #ifdef __PPC__
64 #ifndef __STDC__
65 extern char *malloc (), *realloc (), *calloc ();
66 #else
67 extern void *malloc (), *realloc (), *calloc ();
68 #endif
69 extern void free ();
70 #endif
This page took 0.039514 seconds and 5 git commands to generate.