]> 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
c4e75102 1/* Definitions for VAX running Linux-based GNU systems with ELF format.
8d9254fc 2 Copyright (C) 2007-2020 Free Software Foundation, Inc.
c4e75102
MT
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
748086b7 8the Free Software Foundation; either version 3, or (at your option)
c4e75102
MT
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
748086b7
JJ
17along 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