rtems-elf.h revision 117395
159191Skris/* Definitions for RTEMS based ARM systems using ELF 259191Skris Copyright (C) 2000, 2002 Free Software Foundation, Inc. 359191Skris 459191SkrisThis file is part of GNU CC. 559191Skris 659191SkrisGNU CC is free software; you can redistribute it and/or modify 759191Skrisit under the terms of the GNU General Public License as published by 859191Skristhe Free Software Foundation; either version 2, or (at your option) 959191Skrisany later version. 1059191Skris 1159191SkrisGNU CC is distributed in the hope that it will be useful, 1259191Skrisbut WITHOUT ANY WARRANTY; without even the implied warranty of 1359191SkrisMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1459191SkrisGNU General Public License for more details. 15269686Sjkim 1659191SkrisYou should have received a copy of the GNU General Public License 1759191Skrisalong with this program; see the file COPYING. If not, write to 1859191Skristhe Free Software Foundation, 59 Temple Place - Suite 330, 1959191SkrisBoston, MA 02111-1307, USA. */ 2059191Skris 2159191Skris/* Run-time Target Specification. */ 2259191Skris#undef TARGET_VERSION 2359191Skris#define TARGET_VERSION fputs (" (ARM/ELF RTEMS)", stderr); 2459191Skris 2559191Skris#define HAS_INIT_SECTION 2659191Skris 2759191Skris#define TARGET_OS_CPP_BUILTINS() \ 2859191Skris do { \ 2959191Skris builtin_define ("__rtems__"); \ 3059191Skris builtin_define ("__ELF__"); \ 3159191Skris builtin_assert ("system=rtems"); \ 3259191Skris } while (0) 3359191Skris