diff options
Diffstat (limited to 'contrib/gcc/config/rs6000/rtems.h')
-rw-r--r-- | contrib/gcc/config/rs6000/rtems.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/gcc/config/rs6000/rtems.h b/contrib/gcc/config/rs6000/rtems.h index aa68130..cc8295a 100644 --- a/contrib/gcc/config/rs6000/rtems.h +++ b/contrib/gcc/config/rs6000/rtems.h @@ -1,5 +1,5 @@ /* Definitions for rtems targeting a PowerPC using elf. - Copyright (C) 1996, 1997, 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. Contributed by Joel Sherrill (joel@OARcorp.com). This file is part of GNU CC. @@ -22,5 +22,8 @@ Boston, MA 02111-1307, USA. */ /* Specify predefined symbols in preprocessor. */ #undef CPP_PREDEFINES -#define CPP_PREDEFINES "-DPPC -D__rtems__ \ +#define CPP_PREDEFINES "-DPPC -D__rtems__ -D__USE_INIT_FINI__ \ -Asystem=rtems -Acpu=powerpc -Amachine=powerpc" + +#undef CPP_OS_DEFAULT_SPEC +#define CPP_OS_DEFAULT_SPEC "%(cpp_os_rtems)" |