2011-03-21 Daniel Jacobowitz <dan@codesourcery.com>
[official-gcc.git] / gcc / config / alpha / vms64.h
blob07424d0f2924876b8e459539e67fe82668333dc3
1 /* Output variables, constants and external declarations, for GNU compiler.
2 Copyright (C) 2001, 2007, 2009 Free Software Foundation, Inc.
3 Contributed by Douglas Rupp (rupp@gnat.com).
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 3, or (at your option)
10 any later version.
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 COPYING3. If not see
19 <http://www.gnu.org/licenses/>. */
21 #undef TARGET_OS_CPP_BUILTINS
22 #define TARGET_OS_CPP_BUILTINS() \
23 do { \
24 builtin_define_std ("vms"); \
25 builtin_define_std ("VMS"); \
26 builtin_define ("__ALPHA"); \
27 builtin_assert ("system=vms"); \
28 builtin_define ("__IEEE_FLOAT"); \
29 builtin_define ("__LONG_POINTERS=1"); \
30 } while (0)
32 #undef SUBTARGET_SWITCHES
33 #define SUBTARGET_SWITCHES \
34 { "malloc64", MASK_MALLOC64, "Malloc data into P2 space" },
36 #undef TARGET_DEFAULT
37 #define TARGET_DEFAULT (MASK_FPREGS | MASK_GAS | MASK_MALLOC64)
39 #undef LONG_TYPE_SIZE
40 #define LONG_TYPE_SIZE 64
42 #undef POINTER_SIZE
43 #define POINTER_SIZE 64
45 /* Eventhough pointers are 64bits, only 32bit ever remain significant in code
46 addresses. */
47 #define MASK_RETURN_ADDR (GEN_INT (0xffffffff))
49 /* Defaults to "long int" */
50 #undef SIZE_TYPE
51 #undef PTRDIFF_TYPE
53 # include "config/vms/vms-crtl-64.h"