157416Smarkm/* Definitions for rtems targeting a MIPS using ELF.
257416Smarkm   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2002, 2003, 2005
357416Smarkm   Free Software Foundation, Inc.
457416Smarkm   Contributed by Joel Sherrill (joel@OARcorp.com).
557416Smarkm
657416SmarkmThis file is part of GCC.
757416Smarkm
857416SmarkmGCC is free software; you can redistribute it and/or modify
957416Smarkmit under the terms of the GNU General Public License as published by
1057416Smarkmthe Free Software Foundation; either version 2, or (at your option)
1157416Smarkmany later version.
1257416Smarkm
1357416SmarkmGCC is distributed in the hope that it will be useful,
1457416Smarkmbut WITHOUT ANY WARRANTY; without even the implied warranty of
1557416SmarkmMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1657416SmarkmGNU General Public License for more details.
1757416Smarkm
1857416SmarkmYou should have received a copy of the GNU General Public License
1957416Smarkmalong with GCC; see the file COPYING.  If not, write to
2057416Smarkmthe Free Software Foundation, 51 Franklin Street, Fifth Floor,
2157416SmarkmBoston, MA 02110-1301, USA.  */
2257416Smarkm
2357416Smarkm/* Specify predefined symbols in preprocessor.  */
2457416Smarkm
2557416Smarkm#define TARGET_OS_CPP_BUILTINS()	\
2657416Smarkmdo {					\
2757416Smarkm  builtin_define ("__rtems__");		\
2857416Smarkm  builtin_define ("__USE_INIT_FINI__");	\
2957416Smarkm  builtin_assert ("system=rtems");	\
3057416Smarkm} while (0)
3157416Smarkm
3257416Smarkm/* No sdata.
3357416Smarkm * The RTEMS BSPs expect -G0
3457416Smarkm */
3557416Smarkm#undef MIPS_DEFAULT_GVALUE
3657416Smarkm#define MIPS_DEFAULT_GVALUE 0
3757416Smarkm