1 /* Definitions of target machine for GNU compiler, for HPs using the
3 Copyright (C) 1999, 2000, 2003, 2004 Free Software Foundation, Inc.
5 This file is part of GCC.
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 2, or (at your option)
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.
17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING. If not, write to
19 the Free Software Foundation, 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA. */
22 /* The default sizes for basic datatypes provided by GCC are not
23 correct for the PA64 runtime architecture.
25 In PA64, basic types have the following sizes
40 Make GCC agree with types.h. */
42 #define SIZE_TYPE "long unsigned int"
45 #define PTRDIFF_TYPE "long int"
48 #define WCHAR_TYPE "unsigned int"
50 #undef WCHAR_TYPE_SIZE
51 #define WCHAR_TYPE_SIZE 32
53 /* If it is not listed here, then the default selected by GCC is OK. */
54 #undef SHORT_TYPE_SIZE
55 #define SHORT_TYPE_SIZE 16
57 #define INT_TYPE_SIZE 32
59 #define LONG_TYPE_SIZE 64
60 #undef LONG_LONG_TYPE_SIZE
61 #define LONG_LONG_TYPE_SIZE 64
62 #undef FLOAT_TYPE_SIZE
63 #define FLOAT_TYPE_SIZE 32
64 #undef DOUBLE_TYPE_SIZE
65 #define DOUBLE_TYPE_SIZE 64
66 #undef LONG_DOUBLE_TYPE_SIZE
67 #define LONG_DOUBLE_TYPE_SIZE 128
69 /* Temporary until we figure out what to do with those *(&@$ 32bit
70 relocs which appear in stabs. */
71 #undef DBX_DEBUGGING_INFO
73 /* ?!? This needs to be made compile-time selectable.
75 The PA64 runtime model has arguments that grow to higher addresses
76 (like most other targets). The older runtime model has arguments
77 that grow to lower addresses. What fun. */
78 #undef ARGS_GROW_DOWNWARD
80 /* If defined, a C expression which determines whether the default
81 implementation of va_arg will attempt to pad down before reading the
82 next argument, if that argument is smaller than its aligned space as
83 controlled by PARM_BOUNDARY. If this macro is not defined, all such
84 arguments are padded down when BYTES_BIG_ENDIAN is true. We don't
85 want aggregates padded down. */
87 #define PAD_VARARGS_DOWN (!AGGREGATE_TYPE_P (type))