OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [config/] [pa/] [pa-osf.h] - Blame information for rev 208

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
/* Definitions of target machine for GNU compiler, for HP PA-RISC 1.1
2
   Copyright (C) 1991, 1995, 1996, 2002, 2003, 2007 Free Software Foundation, Inc.
3
   Contributed by Tim Moore (moore@defmacro.cs.utah.edu)
4
 
5
This file is part of GCC.
6
 
7
GCC 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 3, or (at your option)
10
any later version.
11
 
12
GCC 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 GCC; see the file COPYING3.  If not see
19
<http://www.gnu.org/licenses/>.  */
20
 
21
#undef TARGET_OS_CPP_BUILTINS
22
#define TARGET_OS_CPP_BUILTINS()                \
23
  do                                            \
24
    {                                           \
25
        if (TARGET_PA_11)                       \
26
          {                                     \
27
            builtin_define_std ("hp700");       \
28
            builtin_define_std ("HP700");       \
29
          }                                     \
30
        else                                    \
31
          {                                     \
32
            builtin_define_std ("hp800");       \
33
            builtin_define_std ("hp9k8");       \
34
            builtin_define_std ("hp9000s800");  \
35
          }                                     \
36
        builtin_define_std ("BIT_MSF");         \
37
        builtin_define_std ("BYTE_MSF");        \
38
        builtin_define_std ("PARISC");          \
39
        builtin_define_std ("REVARGV");         \
40
        builtin_define_std ("hp9000");          \
41
        builtin_define ("__pa_risc");           \
42
        builtin_define_std ("parisc");          \
43
        builtin_define_std ("spectrum");        \
44
        builtin_define_std ("unix");            \
45
        builtin_assert ("system=mach");         \
46
        builtin_assert ("system=unix");         \
47
    }                                           \
48
  while (0)
49
 
50
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
51
   we want to retain compatibility with older gcc versions.  */
52
#define DEFAULT_PCC_STRUCT_RETURN 0
53
 
54
/* OSF1 on the PA still uses 16bit wchar_t.  */
55
#undef WCHAR_TYPE
56
#undef WCHAR_TYPE_SIZE
57
 
58
#define WCHAR_TYPE "short unsigned int"
59
#define WCHAR_TYPE_SIZE 16
60
 
61
/* OSF1 wants to be different and use unsigned long as size_t.  */
62
#undef SIZE_TYPE
63
#define SIZE_TYPE "long unsigned int"

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.