rtemself.h revision 96263
1210284Sjmallett/* Definitions for rtems targeting a ix86 using ELF.
2232812Sjmallett   Copyright (C) 1996, 1997, 2000, 2001, 2002 Free Software Foundation, Inc.
3215990Sjmallett   Contributed by Joel Sherrill (joel@OARcorp.com).
4210284Sjmallett
5210284SjmallettThis file is part of GNU CC.
6215990Sjmallett
7215990SjmallettGNU CC is free software; you can redistribute it and/or modify
8215990Sjmallettit under the terms of the GNU General Public License as published by
9210284Sjmallettthe Free Software Foundation; either version 2, or (at your option)
10215990Sjmallettany later version.
11215990Sjmallett
12210284SjmallettGNU CC is distributed in the hope that it will be useful,
13215990Sjmallettbut WITHOUT ANY WARRANTY; without even the implied warranty of
14215990SjmallettMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15215990SjmallettGNU General Public License for more details.
16215990Sjmallett
17215990SjmallettYou should have received a copy of the GNU General Public License
18232812Sjmallettalong with GNU CC; see the file COPYING.  If not, write to
19215990Sjmallettthe Free Software Foundation, 59 Temple Place - Suite 330,
20215990SjmallettBoston, MA 02111-1307, USA.  */
21215990Sjmallett
22215990Sjmallett/* Specify predefined symbols in preprocessor.  */
23215990Sjmallett
24215990Sjmallett#include <i386/i386elf.h>
25215990Sjmallett
26215990Sjmallett#undef CPP_PREDEFINES
27215990Sjmallett#define CPP_PREDEFINES  "-D__rtems__ -Asystem=rtems \
28215990Sjmallett    -D__ELF__ -D__i386__ -D__USE_INIT_FINI__"
29232812Sjmallett
30215990Sjmallett#undef CPP_SPEC
31215990Sjmallett#define CPP_SPEC "%(cpp_cpu) %{msoft-float:-D_SOFT_FLOAT}"
32215990Sjmallett