diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2002-08-17 06:10:33 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2002-08-17 06:10:33 +0000 |
commit | 29e17a863d323adfb043131cac49effbc6c3caca (patch) | |
tree | 6ce997373f55086003e88599ca9bb8516776e8a6 | |
parent | 936b520f8eac458e26623632280b0f34cb8abc17 (diff) | |
download | cygnal-29e17a863d323adfb043131cac49effbc6c3caca.tar.gz cygnal-29e17a863d323adfb043131cac49effbc6c3caca.tar.bz2 cygnal-29e17a863d323adfb043131cac49effbc6c3caca.zip |
2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/config.h[__PPC__][__SPE__]: Set
_LONG_DOUBLE to double.
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/include/sys/config.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 6034e7df1..5ab4c0d68 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,5 +1,10 @@ 2002-08-17 Jeff Johnston <jjohnstn@redhat.com> + * libc/include/sys/config.h[__PPC__][__SPE__]: Set + _LONG_DOUBLE to double. + +2002-08-17 Jeff Johnston <jjohnstn@redhat.com> + * 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 9596d5558..89abbfd9e 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__ |