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)
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() \
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"); \
32 #undef SUBTARGET_SWITCHES
33 #define SUBTARGET_SWITCHES \
34 { "malloc64", MASK_MALLOC64, "Malloc data into P2 space" },
37 #define TARGET_DEFAULT (MASK_FPREGS | MASK_GAS | MASK_MALLOC64)
40 #define LONG_TYPE_SIZE 64
43 #define POINTER_SIZE 64
45 /* Eventhough pointers are 64bits, only 32bit ever remain significant in code
47 #define MASK_RETURN_ADDR (GEN_INT (0xffffffff))
49 /* Defaults to "long int" */
53 # include "config/vms/vms-crtl-64.h"