This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Here are 2 patches for libm. It exports __expl and __expm1l since they are used in sysdeps/i386/fpu/bits/mathinline.h and may not be inlined if -ffast-math is not used. Also we need __extension__ for -pedantic. -- H.J. Lu (hjl@gnu.org) -- 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> * math/Versions (libm): Add __expl and __expm1l to GLIBC_2.2. Index: sysdeps/i386/fpu/bits/mathinline.h =================================================================== RCS file: /work/cvs/gnu/glibc/sysdeps/i386/fpu/bits/mathinline.h,v retrieving revision 1.1.1.2 diff -u -p -r1.1.1.2 mathinline.h --- sysdeps/i386/fpu/bits/mathinline.h 2000/06/09 18:41:28 1.1.1.2 +++ sysdeps/i386/fpu/bits/mathinline.h 2000/06/12 17:03:32 @@ -506,7 +506,7 @@ __inline_mathcodeNP (acos, __x, return _ __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; \ Index: math/Versions =================================================================== RCS file: /work/cvs/gnu/glibc/math/Versions,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 Versions --- math/Versions 2000/05/21 21:11:17 1.1.1.1 +++ math/Versions 2000/06/12 05:17:50 @@ -160,5 +160,8 @@ libm { # fp environment function feenableexcept; fedisableexcept; fegetexcept; + + # functions used in inline functions or macros + __expl; __expm1l; } }
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |