rtemself.h revision 132718
198184Sgordon/* Definitions for rtems targeting an ix86 using ELF.
298184Sgordon   Copyright (C) 1996, 1997, 2000, 2001, 2002 Free Software Foundation, Inc.
398184Sgordon   Contributed by Joel Sherrill (joel@OARcorp.com).
498184Sgordon
598184SgordonThis file is part of GCC.
698184Sgordon
798184SgordonGCC is free software; you can redistribute it and/or modify
898184Sgordonit under the terms of the GNU General Public License as published by
9193197Sdougbthe Free Software Foundation; either version 2, or (at your option)
1098184Sgordonany later version.
11180564Sdougb
1298184SgordonGCC is distributed in the hope that it will be useful,
1398184Sgordonbut WITHOUT ANY WARRANTY; without even the implied warranty of
1498184SgordonMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1598184SgordonGNU General Public License for more details.
16298514Slme
17230099SdougbYou should have received a copy of the GNU General Public License
1898184Sgordonalong with GCC; see the file COPYING.  If not, write to
19101851Sgordonthe Free Software Foundation, 59 Temple Place - Suite 330,
2098184SgordonBoston, MA 02111-1307, USA.  */
21101851Sgordon
22101851Sgordon/* Specify predefined symbols in preprocessor.  */
23231667Sdougb
24101851Sgordon#define TARGET_OS_CPP_BUILTINS()		\
25101851Sgordon  do						\
2698184Sgordon    {						\
2798184Sgordon	builtin_define ("__rtems__");		\
28	builtin_define ("__USE_INIT_FINI__");	\
29	builtin_assert ("system=rtems");	\
30	if (!TARGET_80387)			\
31	  builtin_define ("_SOFT_FLOAT");	\
32    }						\
33  while (0)
34