aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-12 23:01:10 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-12 23:01:10 +0000
commit2caacb0adce76d3b2a29faf4905120fbe30b84bf (patch)
tree9ffa1fc6a30f283da4c371ef44cb505020a5cdfd /sysdeps
parent4d37e19c34bf96551f11c9ea6437413bd2248bb5 (diff)
downloadglibc-2caacb0adce76d3b2a29faf4905120fbe30b84bf.tar
glibc-2caacb0adce76d3b2a29faf4905120fbe30b84bf.tar.gz
glibc-2caacb0adce76d3b2a29faf4905120fbe30b84bf.tar.bz2
glibc-2caacb0adce76d3b2a29faf4905120fbe30b84bf.zip
Update.
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.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/i386/fpu/Version6
-rw-r--r--sysdeps/i386/fpu/bits/mathinline.h3
2 files changed, 8 insertions, 1 deletions
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; \