]>
Commit | Line | Data |
---|---|---|
c4e75102 | 1 | /* Definitions for VAX running Linux-based GNU systems with ELF format. |
a5544970 | 2 | Copyright (C) 2007-2019 Free Software Foundation, Inc. |
c4e75102 MT |
3 | |
4 | This file is part of GCC. | |
5 | ||
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 | |
748086b7 | 8 | the Free Software Foundation; either version 3, or (at your option) |
c4e75102 MT |
9 | any later version. |
10 | ||
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. | |
15 | ||
16 | You should have received a copy of the GNU General Public License | |
748086b7 JJ |
17 | along with GCC; see the file COPYING3. If not see |
18 | <http://www.gnu.org/licenses/>. */ | |
c4e75102 MT |
19 | |
20 | ||
107fd1c1 | 21 | #define TARGET_OS_CPP_BUILTINS() GNU_USER_TARGET_OS_CPP_BUILTINS() |
c4e75102 MT |
22 | |
23 | /* We use GAS, G-float double and want new DI patterns. */ | |
24 | #undef TARGET_DEFAULT | |
25 | #define TARGET_DEFAULT (MASK_QMATH | MASK_G_FLOAT) | |
26 | ||
1df34d4d MR |
27 | /* Use standard names for udiv and umod libgcc calls. */ |
28 | #undef TARGET_BSD_DIVMOD | |
29 | #define TARGET_BSD_DIVMOD 0 | |
30 | ||
c4e75102 MT |
31 | #undef CPP_SPEC |
32 | #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" | |
33 | ||
34 | #undef ASM_SPEC | |
428b3812 | 35 | #define ASM_SPEC "%{" FPIC_SPEC ":-k}" |
c4e75102 MT |
36 | |
37 | #undef LINK_SPEC | |
38 | #define LINK_SPEC \ | |
39 | "%(endian_spec) \ | |
40 | %{shared:-shared} \ | |
41 | %{!shared: \ | |
42 | %{!static: \ | |
43 | %{rdynamic:-export-dynamic} \ | |
e59dabd2 | 44 | -dynamic-linker /lib/ld.so.1} \ |
c4e75102 | 45 | %{static:-static}}" |
a23980bd JM |
46 | |
47 | #undef WCHAR_TYPE | |
48 | #define WCHAR_TYPE "long int" | |
49 | ||
50 | #undef WCHAR_TYPE_SIZE | |
51 | #define WCHAR_TYPE_SIZE BITS_PER_WORD |