rtemself.h revision 117395
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 550397SobrienThis file is part of GNU CC. 650397Sobrien 750397SobrienGNU CC 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 1250397SobrienGNU CC 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 1850397Sobrienalong with GNU CC; see the file COPYING. If not, write to 1950397Sobrienthe Free Software Foundation, 59 Temple Place - Suite 330, 2050397SobrienBoston, MA 02111-1307, 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 ("__ELF__"); \ 29117395Skan builtin_define ("__USE_INIT_FINI__"); \ 30117395Skan builtin_assert ("system=rtems"); \ 31117395Skan if (!TARGET_80387) \ 32117395Skan builtin_define ("_SOFT_FLOAT"); \ 33117395Skan } \ 34117395Skan while (0) 35