From 10ab116251baec6163aaeb6bce6dfb44f8fe599c Mon Sep 17 00:00:00 2001 From: jjohnstn Date: Sat, 17 Aug 2002 06:10:32 +0000 Subject: [PATCH] 2002-08-17 Jeff Johnston * libc/include/sys/config.h[__PPC__][__SPE__]: Set _LONG_DOUBLE to double. --- newlib/ChangeLog | 5 +++++ newlib/libc/include/sys/config.h | 3 +++ 2 files changed, 8 insertions(+) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 6034e7df18..5ab4c0d68f 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,5 +1,10 @@ 2002-08-17 Jeff Johnston + * libc/include/sys/config.h[__PPC__][__SPE__]: Set + _LONG_DOUBLE to double. + +2002-08-17 Jeff Johnston + * configure.host: Add powerpc*-*-eabispe* configuration. * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file. * libc/machine/powerpc/atosfix32.c: Ditto. diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h index 9596d55589..89abbfd9e2 100644 --- a/newlib/libc/include/sys/config.h +++ b/newlib/libc/include/sys/config.h @@ -80,6 +80,9 @@ #if defined(_CALL_SYSV) #define __ATTRIBUTE_IMPURE_PTR__ __attribute__((__section__(".sdata"))) #endif +#ifdef __SPE__ +#define _LONG_DOUBLE double +#endif #endif #ifdef __xstormy16__ -- 2.11.0