* gcc-interface/misc.c (gnat_expand_expr): Remove.
[official-gcc.git] / gcc / config / vax / linux.h
blobc8e50cddcbbc5b3c3491cfabd798767a4b7a461a
1 /* Definitions for VAX running Linux-based GNU systems with ELF format.
2 Copyright (C) 2007, 2009 Free Software Foundation, Inc.
4 This file is part of GCC.
6 GCC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3, or (at your option)
9 any later version.
11 GCC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
21 #undef TARGET_VERSION
22 #define TARGET_VERSION fprintf (stderr, " (VAX GNU/Linux with ELF)");
24 #define TARGET_OS_CPP_BUILTINS() \
25 do \
26 { \
27 LINUX_TARGET_OS_CPP_BUILTINS(); \
28 if (flag_pic) \
29 { \
30 builtin_define ("__PIC__"); \
31 builtin_define ("__pic__"); \
32 } \
33 } \
34 while (0)
36 /* We use GAS, G-float double and want new DI patterns. */
37 #undef TARGET_DEFAULT
38 #define TARGET_DEFAULT (MASK_QMATH | MASK_G_FLOAT)
40 #undef CPP_SPEC
41 #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
43 #undef ASM_SPEC
44 #define ASM_SPEC "%{fpic|fPIC:-k}"
46 #undef LINK_SPEC
47 #define LINK_SPEC \
48 "%(endian_spec) \
49 %{shared:-shared} \
50 %{!shared: \
51 %{!static: \
52 %{rdynamic:-export-dynamic} \
53 %{!dynamic-linker:-dynamic-linker /lib/ld.so.1}} \
54 %{static:-static}}"