diff options
Diffstat (limited to 'contrib/gcc/config/arm/rtems-elf.h')
-rw-r--r-- | contrib/gcc/config/arm/rtems-elf.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/contrib/gcc/config/arm/rtems-elf.h b/contrib/gcc/config/arm/rtems-elf.h index 312c96f..27928db 100644 --- a/contrib/gcc/config/arm/rtems-elf.h +++ b/contrib/gcc/config/arm/rtems-elf.h @@ -24,5 +24,9 @@ Boston, MA 02111-1307, USA. */ #define HAS_INIT_SECTION -#undef CPP_PREDEFINES -#define CPP_PREDEFINES "-D__rtems__ -D__ELF__ -Asystem=rtems" +#define TARGET_OS_CPP_BUILTINS() \ + do { \ + builtin_define ("__rtems__"); \ + builtin_define ("__ELF__"); \ + builtin_assert ("system=rtems"); \ + } while (0) |