knetbsd-gnu.h revision 169690
115100Sjoerg/* Definitions for kNetBSD-based GNU systems with ELF format 215100Sjoerg Copyright (C) 2004, 2006 315100Sjoerg Free Software Foundation, Inc. 415100Sjoerg Contributed by Robert Millan. 515100Sjoerg 615100SjoergThis file is part of GCC. 715100Sjoerg 815100SjoergGCC is free software; you can redistribute it and/or modify 915100Sjoergit under the terms of the GNU General Public License as published by 1015100Sjoergthe Free Software Foundation; either version 2, or (at your option) 1115100Sjoergany later version. 1215100Sjoerg 1315100SjoergGCC is distributed in the hope that it will be useful, 1415100Sjoergbut WITHOUT ANY WARRANTY; without even the implied warranty of 1515100SjoergMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1615100SjoergGNU General Public License for more details. 1715100Sjoerg 1815100SjoergYou should have received a copy of the GNU General Public License 1915100Sjoergalong with GCC; see the file COPYING. If not, write to 2015100Sjoergthe Free Software Foundation, 51 Franklin Street, Fifth Floor, 2115100SjoergBoston, MA 02110-1301, USA. */ 2215100Sjoerg 2315100Sjoerg#undef LINUX_TARGET_OS_CPP_BUILTINS 2415100Sjoerg#define LINUX_TARGET_OS_CPP_BUILTINS() \ 2515100Sjoerg do \ 2615100Sjoerg { \ 2715100Sjoerg builtin_define ("__NetBSD_kernel__"); \ 2815100Sjoerg builtin_define ("__GLIBC__"); \ 2915100Sjoerg builtin_define_std ("unix"); \ 3015100Sjoerg builtin_assert ("system=unix"); \ 3115100Sjoerg builtin_assert ("system=posix"); \ 3215100Sjoerg } \ 3315249Sjoerg while (0) 3450476Speter 3515100Sjoerg 3615100Sjoerg#ifdef GLIBC_DYNAMIC_LINKER 3715100Sjoerg#undef GLIBC_DYNAMIC_LINKER 3815645Sjoerg#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" 3915645Sjoerg#endif 4015645Sjoerg