From 2caacb0adce76d3b2a29faf4905120fbe30b84bf Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 12 Jun 2000 23:01:10 +0000 Subject: [PATCH] Update. 2000-06-12 H.J. Lu * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__. 2000-06-11 H.J. Lu * sysdeps/i386/fpu/Versions: New file. --- ChangeLog | 8 ++++++++ sysdeps/i386/fpu/Version | 6 ++++++ sysdeps/i386/fpu/bits/mathinline.h | 3 ++- 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 sysdeps/i386/fpu/Version diff --git a/ChangeLog b/ChangeLog index d533c38105..beb185c7db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2000-06-12 H.J. Lu + + * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__. + +2000-06-11 H.J. Lu + + * sysdeps/i386/fpu/Versions: New file. + 2000-06-12 Ulrich Drepper * iconv/gconv.h (__gconv_trans_context_fct): Remove two diff --git a/sysdeps/i386/fpu/Version b/sysdeps/i386/fpu/Version new file mode 100644 index 0000000000..a2eec371f1 --- /dev/null +++ b/sysdeps/i386/fpu/Version @@ -0,0 +1,6 @@ +libm { + GLIBC_2.2 { + # functions used in inline functions or macros + __expl; __expm1l; + } +} diff --git a/sysdeps/i386/fpu/bits/mathinline.h b/sysdeps/i386/fpu/bits/mathinline.h index 38c7405bc1..d6f35b7f4f 100644 --- a/sysdeps/i386/fpu/bits/mathinline.h +++ b/sysdeps/i386/fpu/bits/mathinline.h @@ -506,7 +506,8 @@ __inline_mathcodeNP (acos, __x, return __atan2l (__sqrtl (1.0 - __x * __x), __x) __inline_mathop_declNP (atan, "fld1; fpatan", "0" (__x) : "st(1)") __inline_mathcode_ (long double, __sgn1l, __x, \ - union { long double __xld; unsigned int __xi[3]; } __n = { __xld: __x }; \ + __extension__ union { long double __xld; unsigned int __xi[3]; } __n = \ + { __xld: __x }; \ __n.__xi[2] = (__n.__xi[2] & 0x8000) | 0x3fff; \ __n.__xi[1] = 0x80000000; \ __n.__xi[0] = 0; \