2014-07-12 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / config / lm32 / rtems.h
blob00d80fd896aff08ecb5f8f8fe1c723efab397a2a
1 /* Definitions for rtems targeting a lm32 using ELF.
2 Copyright (C) 2009-2014 Free Software Foundation, Inc.
4 This file is part of GCC.
6 GCC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3, or (at your option)
9 any later version.
11 GCC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
20 /* Target OS builtins. */
21 #undef TARGET_OS_CPP_BUILTINS
22 #define TARGET_OS_CPP_BUILTINS() \
23 do \
24 { \
25 builtin_define ("__rtems__"); \
26 builtin_define ("__USE_INIT_FINI__"); \
27 builtin_assert ("system=rtems"); \
28 } \
29 while (0)
31 /* Use the default */
32 #undef LINK_GCC_C_SEQUENCE_SPEC