aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--sysdeps/i386/fpu/Version6
-rw-r--r--sysdeps/i386/fpu/bits/mathinline.h3
3 files changed, 16 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d533c38105..beb185c7db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2000-06-12 H.J. Lu <hjl@gnu.org>
+
+ * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
+
+2000-06-11 H.J. Lu <hjl@gnu.org>
+
+ * sysdeps/i386/fpu/Versions: New file.
+
2000-06-12 Ulrich Drepper <drepper@redhat.com>
* 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; \