From 2caacb0adce76d3b2a29faf4905120fbe30b84bf Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 12 Jun 2000 23:01:10 +0000 Subject: 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. --- sysdeps/i386/fpu/Version | 6 ++++++ sysdeps/i386/fpu/bits/mathinline.h | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 sysdeps/i386/fpu/Version (limited to 'sysdeps/i386') 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; \ -- cgit 1.4.1