OSDN Git Service

* configure.in (hppa1.1-*-*, hppa2*-*): Use symbolic value rather
[pf3gnuchains/gcc-fork.git] / gcc / config / pa / pa-osf.h
1 /* Definitions of target machine for GNU compiler, for HP PA-RISC 1.1
2    Copyright (C) 1991, 1995, 1996 Free Software Foundation, Inc.
3    Contributed by Tim Moore (moore@defmacro.cs.utah.edu)
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 #undef CPP_PREDEFINES
23 #if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & MASK_SNAKE)
24 #define CPP_PREDEFINES "-Dhppa -Dunix -Dhp9000 -Dspectrum -DREVARGV -Dhp700 -DHP700 -Dparisc -D__pa_risc -DPARISC -DBYTE_MSF -DBIT_MSF -Asystem(unix) -Asystem(mach) -Acpu(hppa) -Amachine(hppa)"
25 #else
26 #define CPP_PREDEFINES "-Dhppa -Dhp9000s800 -D__hp9000s800 -Dhp9k8 -Dunix -Dhp9000 -Dhp800 -Dspectrum -DREVARGV -Dparisc -D__pa_risc -DPARISC -DBYTE_MSF -DBIT_MSF -Asystem(unix) -Asystem(mach) -Acpu(hppa) -Amachine(hppa)"
27 #endif
28
29 /* Don't default to pcc-struct-return, because gcc is the only compiler, and
30    we want to retain compatibility with older gcc versions.  */
31 #define DEFAULT_PCC_STRUCT_RETURN 0
32
33 /* OSF1 on the PA still uses 16bit wchar_t.  */
34 #undef WCHAR_TYPE
35 #undef WCHAR_TYPE_SIZE
36
37 #define WCHAR_TYPE "short unsigned int"
38 #define WCHAR_TYPE_SIZE 16
39
40 /* OSF1 wants to be different and use unsigned long as size_t.  */
41 #undef SIZE_TYPE
42 #define SIZE_TYPE "long unsigned int"