source: trunk/third/gcc/config/pa/pa-osf.h @ 11288

Revision 11288, 1.8 KB checked in by ghudson, 26 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r11287, which included commits to RCS files with non-trunk default branches.
Line 
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
5This file is part of GNU CC.
6
7GNU CC is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 2, or (at your option)
10any later version.
11
12GNU CC is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU CC; see the file COPYING.  If not, write to
19the Free Software Foundation, 59 Temple Place - Suite 330,
20Boston, MA 02111-1307, USA.  */
21
22#undef CPP_PREDEFINES
23#if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & 1)
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"
Note: See TracBrowser for help on using the repository browser.