From 2433bcaf864e25bcf30a6d36f98e1d60484baa0a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 27 Feb 2002 21:45:19 +0000 Subject: 2001-02-27 Joel Sherrill * rtems/score/cpu.h: Fix conditional to match current GCC. --- c/src/exec/score/cpu/or32/ChangeLog | 4 ++++ c/src/exec/score/cpu/or32/rtems/score/or32.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'c') diff --git a/c/src/exec/score/cpu/or32/ChangeLog b/c/src/exec/score/cpu/or32/ChangeLog index 9c06886ff5..36dfd53e71 100644 --- a/c/src/exec/score/cpu/or32/ChangeLog +++ b/c/src/exec/score/cpu/or32/ChangeLog @@ -1,3 +1,7 @@ +2001-02-27 Joel Sherrill + + * rtems/score/cpu.h: Fix conditional to match current GCC. + 2001-02-05 Joel Sherrill * rtems/Makefile.am, rtems/score/Makefile.am: Removed again. diff --git a/c/src/exec/score/cpu/or32/rtems/score/or32.h b/c/src/exec/score/cpu/or32/rtems/score/or32.h index 69750cdabf..1aadcfc286 100644 --- a/c/src/exec/score/cpu/or32/rtems/score/or32.h +++ b/c/src/exec/score/cpu/or32/rtems/score/or32.h @@ -45,7 +45,7 @@ extern "C" { #define CPU_MODEL_NAME "rtems_multilib" #define OR32_HAS_FPU 1 -#elif defined(or32) +#elif defined(__or1k__) || defined(__OR1K__) #define CPU_MODEL_NAME "or32_model" #define OR32_HAS_FPU 1 -- cgit v1.2.3