1/* Definitions for kOpenSolaris-based GNU systems with ELF format
2   Copyright (C) 2004-2020 Free Software Foundation, Inc.
3   Contributed by Robert Millan.
4
5This file is part of GCC.
6
7GCC is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 3, or (at your option)
10any later version.
11
12GCC is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GCC; see the file COPYING3.  If not see
19<http://www.gnu.org/licenses/>.  */
20
21#undef GNU_USER_TARGET_OS_CPP_BUILTINS
22#define GNU_USER_TARGET_OS_CPP_BUILTINS()		\
23  do						\
24    {						\
25	builtin_define ("__OpenSolaris_kernel__");	\
26	builtin_define ("__GLIBC__");		\
27	builtin_define_std ("unix");		\
28	builtin_assert ("system=unix");		\
29	builtin_assert ("system=posix");	\
30    }						\
31  while (0)
32
33#define GNU_USER_TARGET_D_OS_VERSIONS()		\
34    do {					\
35	builtin_version ("Solaris");		\
36	builtin_version ("CRuntime_Glibc");	\
37    } while (0)
38
39#undef GNU_USER_DYNAMIC_LINKER
40#define GNU_USER_DYNAMIC_LINKER "/lib/ld.so.1"
41