OSDN Git Service

* collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
[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 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 #if 0
34 #define HOST_BITS_PER_LONGLONG 64
35 #endif
36
37 /* Doubles are stored in memory with the high order word first.  This
38    matters when cross-compiling.  */
39 #define HOST_WORDS_BIG_ENDIAN 1
40
41 /* target machine dependencies.
42    tm.h is a symbolic link to the actual target specific file.   */
43 #include "tm.h"
44
45 /* Arguments to use with `exit'.  */
46 #define SUCCESS_EXIT_CODE 0
47 #define FATAL_EXIT_CODE 33
48
49 #include "xm-svr4.h"
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 extern char *alloca ();
55 #undef ONLY_INT_FIELDS
56 #define ONLY_INT_FIELDS
57 #endif
58
59 /* We have STRERROR */
60 #define HAVE_STRERROR
61
62 #ifdef __PPC__
63 #ifndef __STDC__
64 extern char *malloc (), *realloc (), *calloc ();
65 #else
66 extern void *malloc (), *realloc (), *calloc ();
67 #endif
68 extern void free ();
69 #endif