diff options
author | Tobias Burnus <burnus@net-b.de> | 2010-12-13 20:44:38 +0100 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2010-12-13 20:44:38 +0100 |
commit | f0c2df63c64cb18ff1e8be7d0042108efd6483b3 (patch) | |
tree | dcd344482f53be11c8fdb8b5221713e795bf5b1f /libquadmath/quadmath-imp.h | |
parent | c58bb30d66b333fc184a6b53ae9479e4aaeae8c4 (diff) | |
download | gcc-f0c2df63c64cb18ff1e8be7d0042108efd6483b3.zip gcc-f0c2df63c64cb18ff1e8be7d0042108efd6483b3.tar.gz gcc-f0c2df63c64cb18ff1e8be7d0042108efd6483b3.tar.bz2 |
re PR fortran/46625 (libquadmath: Mangle internal symbols; rename __float128 <-> string functions)
2010-12-13 Tobias Burnus <burnus@net-b.de>
PR fortran/46625
* gdtoa/gdtoaimp.h: Mangle internal functions by
prefixing them with __quadmath. Don't use gdtoa's strcp(y).
* gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
* gdtoa/misc.c (strcpy): Renamed from strcp and only use
if NO_STRING_H is set.
* quadmath-imp.h (__quadmath_rem_pio2q,
* __quadmath_kernel_sincosq
__quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
__quadmath prefix to internal functions.
* math/cosq.c (cosq): Ditto.
* math/sinq.c (cosq): Ditto.
* math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
* math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2):
* Ditto.
* math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
* math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
From-SVN: r167768
Diffstat (limited to 'libquadmath/quadmath-imp.h')
-rw-r--r-- | libquadmath/quadmath-imp.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libquadmath/quadmath-imp.h b/libquadmath/quadmath-imp.h index 5544fab..e297529 100644 --- a/libquadmath/quadmath-imp.h +++ b/libquadmath/quadmath-imp.h @@ -27,10 +27,11 @@ Boston, MA 02110-1301, USA. */ // Prototypes for internal functions -extern int32_t rem_pio2q (__float128, __float128 *); -extern void __kernel_sincosq (__float128, __float128, __float128 *, __float128 *, int); -extern __float128 __kernel_sinq (__float128, __float128, int); -extern __float128 __kernel_cosq (__float128, __float128); +extern int32_t __quadmath_rem_pio2q (__float128, __float128 *); +extern void __quadmath_kernel_sincosq (__float128, __float128, __float128 *, + __float128 *, int); +extern __float128 __quadmath_kernel_sinq (__float128, __float128, int); +extern __float128 __quadmath_kernel_cosq (__float128, __float128); |