xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/kopensolaris-gnu.h (revision 8feb0f0b7eaff0608f8350bbfa3098827b4bb91b)
11debfc3dSmrg /* Definitions for kOpenSolaris-based GNU systems with ELF format
2*8feb0f0bSmrg    Copyright (C) 2004-2020 Free Software Foundation, Inc.
31debfc3dSmrg    Contributed by Robert Millan.
41debfc3dSmrg 
51debfc3dSmrg This file is part of GCC.
61debfc3dSmrg 
71debfc3dSmrg GCC is free software; you can redistribute it and/or modify
81debfc3dSmrg it under the terms of the GNU General Public License as published by
91debfc3dSmrg the Free Software Foundation; either version 3, or (at your option)
101debfc3dSmrg any later version.
111debfc3dSmrg 
121debfc3dSmrg GCC is distributed in the hope that it will be useful,
131debfc3dSmrg but WITHOUT ANY WARRANTY; without even the implied warranty of
141debfc3dSmrg MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
151debfc3dSmrg GNU General Public License for more details.
161debfc3dSmrg 
171debfc3dSmrg You should have received a copy of the GNU General Public License
181debfc3dSmrg along with GCC; see the file COPYING3.  If not see
191debfc3dSmrg <http://www.gnu.org/licenses/>.  */
201debfc3dSmrg 
211debfc3dSmrg #undef GNU_USER_TARGET_OS_CPP_BUILTINS
221debfc3dSmrg #define GNU_USER_TARGET_OS_CPP_BUILTINS()		\
231debfc3dSmrg   do						\
241debfc3dSmrg     {						\
251debfc3dSmrg 	builtin_define ("__OpenSolaris_kernel__");	\
261debfc3dSmrg 	builtin_define ("__GLIBC__");		\
271debfc3dSmrg 	builtin_define_std ("unix");		\
281debfc3dSmrg 	builtin_assert ("system=unix");		\
291debfc3dSmrg 	builtin_assert ("system=posix");	\
301debfc3dSmrg     }						\
311debfc3dSmrg   while (0)
321debfc3dSmrg 
33c0a68be4Smrg #define GNU_USER_TARGET_D_OS_VERSIONS()		\
34c0a68be4Smrg     do {					\
35c0a68be4Smrg 	builtin_version ("Solaris");		\
36c0a68be4Smrg 	builtin_version ("CRuntime_Glibc");	\
37c0a68be4Smrg     } while (0)
38c0a68be4Smrg 
391debfc3dSmrg #undef GNU_USER_DYNAMIC_LINKER
401debfc3dSmrg #define GNU_USER_DYNAMIC_LINKER "/lib/ld.so.1"
41