0
|
1 /* Definitions for kFreeBSD-based GNU systems with ELF format
|
145
|
2 Copyright (C) 2004-2020 Free Software Foundation, Inc.
|
0
|
3 Contributed by Robert Millan.
|
|
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
|
111
|
21 #define GNU_USER_TARGET_OS_CPP_BUILTINS() \
|
0
|
22 do \
|
|
23 { \
|
|
24 builtin_define ("__FreeBSD_kernel__"); \
|
|
25 builtin_define ("__GLIBC__"); \
|
|
26 builtin_define_std ("unix"); \
|
|
27 builtin_assert ("system=unix"); \
|
|
28 builtin_assert ("system=posix"); \
|
|
29 } \
|
|
30 while (0)
|
|
31
|
145
|
32 #define GNU_USER_TARGET_D_OS_VERSIONS() \
|
|
33 do { \
|
|
34 builtin_version ("FreeBSD"); \
|
|
35 builtin_version ("CRuntime_Glibc"); \
|
|
36 } while (0)
|
|
37
|
111
|
38 #define GNU_USER_DYNAMIC_LINKER GLIBC_DYNAMIC_LINKER
|
|
39 #define GNU_USER_DYNAMIC_LINKER32 GLIBC_DYNAMIC_LINKER32
|
|
40 #define GNU_USER_DYNAMIC_LINKER64 GLIBC_DYNAMIC_LINKER64
|
|
41 #define GNU_USER_DYNAMIC_LINKERX32 GLIBC_DYNAMIC_LINKERX32
|