1117395Skan/* Definitions for rtems targeting an ix86 using ELF.
296263Sobrien   Copyright (C) 1996, 1997, 2000, 2001, 2002 Free Software Foundation, Inc.
396263Sobrien   Contributed by Joel Sherrill (joel@OARcorp.com).
450397Sobrien
5132718SkanThis file is part of GCC.
650397Sobrien
7132718SkanGCC is free software; you can redistribute it and/or modify
850397Sobrienit under the terms of the GNU General Public License as published by
950397Sobrienthe Free Software Foundation; either version 2, or (at your option)
1050397Sobrienany later version.
1150397Sobrien
12132718SkanGCC is distributed in the hope that it will be useful,
1350397Sobrienbut WITHOUT ANY WARRANTY; without even the implied warranty of
1450397SobrienMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1550397SobrienGNU General Public License for more details.
1650397Sobrien
1750397SobrienYou should have received a copy of the GNU General Public License
18132718Skanalong with GCC; see the file COPYING.  If not, write to
19169689Skanthe Free Software Foundation, 51 Franklin Street, Fifth Floor,
20169689SkanBoston, MA 02110-1301, USA.  */
2150397Sobrien
2296263Sobrien/* Specify predefined symbols in preprocessor.  */
2350397Sobrien
24117395Skan#define TARGET_OS_CPP_BUILTINS()		\
25117395Skan  do						\
26117395Skan    {						\
27117395Skan	builtin_define ("__rtems__");		\
28117395Skan	builtin_define ("__USE_INIT_FINI__");	\
29117395Skan	builtin_assert ("system=rtems");	\
30117395Skan	if (!TARGET_80387)			\
31117395Skan	  builtin_define ("_SOFT_FLOAT");	\
32117395Skan    }						\
33117395Skan  while (0)
34