From fad00e765b6c3a5624fd6f609a1fb7e099291337 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 20 Oct 2000 13:29:24 +0000 Subject: 2000-10-20 Joel Sherrill * shared/ppc.h: For multilibs, derive PPC_HAS_FPU from _SOFT_FLOAT. --- c/src/exec/score/cpu/powerpc/rtems/score/ppc.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'c/src/exec/score/cpu/powerpc/rtems/score/ppc.h') diff --git a/c/src/exec/score/cpu/powerpc/rtems/score/ppc.h b/c/src/exec/score/cpu/powerpc/rtems/score/ppc.h index cdff768d7d..034d4ae088 100644 --- a/c/src/exec/score/cpu/powerpc/rtems/score/ppc.h +++ b/c/src/exec/score/cpu/powerpc/rtems/score/ppc.h @@ -106,7 +106,12 @@ extern "C" { #define PPC_ALIGNMENT 4 #define PPC_CACHE_ALIGNMENT 16 #define PPC_HAS_RFCI 1 +#if defined(_SOFT_FLOAT) #define PPC_HAS_FPU 0 +#else +#define PPC_HAS_FPU 1 +#endif + #define PPC_USE_MULTIPLE 1 #define PPC_I_CACHE 2048 #define PPC_D_CACHE 1024 -- cgit v1.2.3