OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [config/] [alpha/] [vms64.h] - Blame information for rev 548

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

Line No. Rev Author Line
1 282 jeremybenn
/* 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).
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
        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)
31
 
32
#undef SUBTARGET_SWITCHES
33
#define SUBTARGET_SWITCHES \
34
  { "malloc64",    MASK_MALLOC64,     "Malloc data into P2 space" },
35
 
36
#undef TARGET_DEFAULT
37
#define TARGET_DEFAULT (MASK_FPREGS | MASK_GAS | MASK_MALLOC64)
38
 
39
#undef LONG_TYPE_SIZE
40
#define LONG_TYPE_SIZE 64
41
 
42
#undef POINTER_SIZE
43
#define POINTER_SIZE 64
44
 
45
/* Eventhough pointers are 64bits, only 32bit ever remain significant in code
46
   addresses.  */
47
#define MASK_RETURN_ADDR (GEN_INT (0xffffffff))
48
 
49
/* Defaults to "long int" */
50
#undef SIZE_TYPE
51
#undef PTRDIFF_TYPE
52
 
53
# include "config/vms/vms-crtl-64.h"

powered by: WebSVN 2.1.0

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