]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/vax/linux.h
Update copyright years.
[thirdparty/gcc.git] / gcc / config / vax / linux.h
CommitLineData
6718899e 1/* Definitions for VAX running Linux-based GNU systems with ELF format.
fbd26352 2 Copyright (C) 2007-2019 Free Software Foundation, Inc.
6718899e 3
4This file is part of GCC.
5
6GCC is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
6bc9506f 8the Free Software Foundation; either version 3, or (at your option)
6718899e 9any later version.
10
11GCC is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
6bc9506f 17along with GCC; see the file COPYING3. If not see
18<http://www.gnu.org/licenses/>. */
6718899e 19
20
493a87fa 21#define TARGET_OS_CPP_BUILTINS() GNU_USER_TARGET_OS_CPP_BUILTINS()
6718899e 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
91ec62fb 27/* Use standard names for udiv and umod libgcc calls. */
28#undef TARGET_BSD_DIVMOD
29#define TARGET_BSD_DIVMOD 0
30
6718899e 31#undef CPP_SPEC
32#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
33
34#undef ASM_SPEC
e9abca4f 35#define ASM_SPEC "%{" FPIC_SPEC ":-k}"
6718899e 36
37#undef LINK_SPEC
38#define LINK_SPEC \
39 "%(endian_spec) \
40 %{shared:-shared} \
41 %{!shared: \
42 %{!static: \
43 %{rdynamic:-export-dynamic} \
7db2469c 44 -dynamic-linker /lib/ld.so.1} \
6718899e 45 %{static:-static}}"
1c35fe61 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