Fix duplicate SIG_SYSLIST warnings on PowerPC Linux
[gcc.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 #ifdef __linux__
50 #include "xm-linux.h"
51 #else
52 #include "xm-svr4.h"
53 #endif
54
55 /* if not compiled with GNU C, use the C alloca and use only int bitfields. */
56 #ifndef __GNUC__
57 #define USE_C_ALLOCA
58 #ifdef __STDC__
59 extern void *alloca ();
60 #else
61 extern char *alloca ();
62 #endif
63 #undef ONLY_INT_FIELDS
64 #define ONLY_INT_FIELDS
65 #endif
66
67 #ifdef __PPC__
68 #ifndef __STDC__
69 extern char *malloc (), *realloc (), *calloc ();
70 #else
71 extern void *malloc (), *realloc (), *calloc ();
72 #endif
73 extern void free ();
74 #endif