rtemself.h (TARGET_OS_CPP_BUILTINS): Use instead of CPP_PREDEFINES.

* config/sh/rtemself.h (TARGET_OS_CPP_BUILTINS): Use instead of
	CPP_PREDEFINES.
	* config/sh/rtems.h (TARGET_OS_CPP_BUILTINS): Use instead of
	CPP_PREDEFINES.

From-SVN: r64002
This commit is contained in:
Neil Booth 2003-03-08 22:26:25 +00:00 committed by Neil Booth
parent 4bfec48308
commit ad22057669
3 changed files with 16 additions and 6 deletions

View File

@ -1,3 +1,10 @@
2003-03-08 Neil Booth <neil@daikokuya.co.uk>
* config/sh/rtemself.h (TARGET_OS_CPP_BUILTINS): Use instead of
CPP_PREDEFINES.
* config/sh/rtems.h (TARGET_OS_CPP_BUILTINS): Use instead of
CPP_PREDEFINES.
2003-03-08 Neil Booth <neil@daikokuya.co.uk> 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
* c-common.h (c_common_init, c_common_post_options): Update. * c-common.h (c_common_init, c_common_post_options): Update.

View File

@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */
/* Specify predefined symbols in preprocessor. */ /* Specify predefined symbols in preprocessor. */
#undef CPP_PREDEFINES #define TARGET_OS_CPP_BUILTINS() do { \
#define CPP_PREDEFINES "-D__sh__ -D__rtems__ \ builtin_define( "__rtems__" ); \
-Asystem=rtems -Acpu=sh -Amachine=sh" builtin_assert( "system=rtems" ); \
} while (0)

View File

@ -21,6 +21,8 @@ Boston, MA 02111-1307, USA. */
/* Specify predefined symbols in preprocessor. */ /* Specify predefined symbols in preprocessor. */
#undef CPP_PREDEFINES #define TARGET_OS_CPP_BUILTINS() do { \
#define CPP_PREDEFINES "-D__sh__ -D__ELF__ -D__rtems__ \ builtin_define( "__rtems__" ); \
-Asystem=rtems -Acpu=sh -Amachine=sh" builtin_define( "__ELF__" ); \
builtin_assert( "system=rtems" ); \
} while (0)