1169689Skan/* Definitions for kNetBSD-based GNU systems with ELF format 2169689Skan Copyright (C) 2004, 2006 3169689Skan Free Software Foundation, Inc. 4169689Skan Contributed by Robert Millan. 5169689Skan 6169689SkanThis file is part of GCC. 7169689Skan 8169689SkanGCC is free software; you can redistribute it and/or modify 9169689Skanit under the terms of the GNU General Public License as published by 10169689Skanthe Free Software Foundation; either version 2, or (at your option) 11169689Skanany later version. 12169689Skan 13169689SkanGCC is distributed in the hope that it will be useful, 14169689Skanbut WITHOUT ANY WARRANTY; without even the implied warranty of 15169689SkanMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16169689SkanGNU General Public License for more details. 17169689Skan 18169689SkanYou should have received a copy of the GNU General Public License 19169689Skanalong with GCC; see the file COPYING. If not, write to 20169689Skanthe Free Software Foundation, 51 Franklin Street, Fifth Floor, 21169689SkanBoston, MA 02110-1301, USA. */ 22169689Skan 23169689Skan#undef LINUX_TARGET_OS_CPP_BUILTINS 24169689Skan#define LINUX_TARGET_OS_CPP_BUILTINS() \ 25169689Skan do \ 26169689Skan { \ 27169689Skan builtin_define ("__NetBSD_kernel__"); \ 28169689Skan builtin_define ("__GLIBC__"); \ 29169689Skan builtin_define_std ("unix"); \ 30169689Skan builtin_assert ("system=unix"); \ 31169689Skan builtin_assert ("system=posix"); \ 32169689Skan } \ 33169689Skan while (0) 34169689Skan 35169689Skan 36169689Skan#ifdef GLIBC_DYNAMIC_LINKER 37169689Skan#undef GLIBC_DYNAMIC_LINKER 38169689Skan#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" 39169689Skan#endif 40