diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2009-05-15 16:15:57 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2009-05-15 16:15:57 +0000 |
commit | de8a5b78105f9c7f60213a4d15a31a03f7485b6d (patch) | |
tree | ea9f18eb497d1a05f8370ce2b7f974ed3afee1c9 /newlib/newlib.hin | |
parent | 7aa710a782ffee5e1f824ca53436296bc9242f20 (diff) | |
download | cygnal-de8a5b78105f9c7f60213a4d15a31a03f7485b6d.tar.gz cygnal-de8a5b78105f9c7f60213a4d15a31a03f7485b6d.tar.bz2 cygnal-de8a5b78105f9c7f60213a4d15a31a03f7485b6d.zip |
2009-05-15 Craig Howland <howland@LGSInnovations.com>
* configure.in: Add configuration test for long double type existing
and set flag _HAVE_LONG_DOUBLE if true. Fix INIT_ARRAY (.init_array)
and _LDBL_EQ_DBL tests to not link so that will work with
cross-compilers.
* configure: Regenerated.
* Makefile.in: Ditto.
* newlib.hin: Add _HAVE_LONG_DOUBLE flag.
* libc/include/math.h: Change non-builtin defines for HUGE_VAL,
HUGE_VALF, and HUGE_VALL to be constant expressions. Add definitions
for the non-builtin case for INFINITY and NAN. Gate HUGE_VALL and
union __ldmath definitions with (new) _HAVE_LONG_DOUBLE.
*libm/common/s_infconst.c: Change definitions to use values from
float.h instead of non-so-portable integer forms. Mark as being
deprecated (because now removed from math.h, are not used anywhere
in Newlib, itself).
Diffstat (limited to 'newlib/newlib.hin')
-rw-r--r-- | newlib/newlib.hin | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/newlib.hin b/newlib/newlib.hin index f7afdebb7..1db939a2c 100644 --- a/newlib/newlib.hin +++ b/newlib/newlib.hin @@ -46,6 +46,9 @@ functions. */ #undef _ATEXIT_DYNAMIC_ALLOC +/* True if long double supported. */ +#undef _HAVE_LONG_DOUBLE + /* True if long double supported and it is equal to double. */ #undef _LDBL_EQ_DBL |