1169689Skan/* Definitions for rtems targeting a MIPS using ELF. 2169689Skan Copyright (C) 1996, 1997, 1998, 1999, 2000, 2002, 2003, 2005 3169689Skan Free Software Foundation, Inc. 4169689Skan Contributed by Joel Sherrill (joel@OARcorp.com). 5169689Skan 6169689SkanThis file is part of GCC. 7169689Skan 8169689SkanGCC is free software; you can redistribute it and/or modify 9169689Skanit under the terms of the GNU General Public License as published by 10169689Skanthe Free Software Foundation; either version 2, or (at your option) 11169689Skanany later version. 12169689Skan 13169689SkanGCC is distributed in the hope that it will be useful, 14169689Skanbut WITHOUT ANY WARRANTY; without even the implied warranty of 15169689SkanMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16169689SkanGNU General Public License for more details. 17169689Skan 18169689SkanYou should have received a copy of the GNU General Public License 19169689Skanalong with GCC; see the file COPYING. If not, write to 20169689Skanthe Free Software Foundation, 51 Franklin Street, Fifth Floor, 21169689SkanBoston, MA 02110-1301, USA. */ 22169689Skan 23169689Skan/* Specify predefined symbols in preprocessor. */ 24169689Skan 25169689Skan#define TARGET_OS_CPP_BUILTINS() \ 26169689Skando { \ 27169689Skan builtin_define ("__rtems__"); \ 28169689Skan builtin_define ("__USE_INIT_FINI__"); \ 29169689Skan builtin_assert ("system=rtems"); \ 30169689Skan} while (0) 31169689Skan 32169689Skan/* No sdata. 33169689Skan * The RTEMS BSPs expect -G0 34169689Skan */ 35169689Skan#undef MIPS_DEFAULT_GVALUE 36169689Skan#define MIPS_DEFAULT_GVALUE 0 37