summaryrefslogtreecommitdiff
path: root/libquadmath/quadmath.map
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2011-01-16 17:55:27 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2011-01-16 17:55:27 +0100
commite313241f91a24365102a657ff8bb04a647b7963b (patch)
tree252065baee12c4b6545a47616cc3a36114d3be22 /libquadmath/quadmath.map
parent327f73c19ef091381ecc8a57dd0bb696732c3f0f (diff)
re PR fortran/46625 (libquadmath: Mangle internal symbols; rename __float128 <-> string functions)
PR fortran/46625 * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ and quadmath_dtoaq. Add strtoflt128 and quadmath_flt128tostr. * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove. (strtoflt128, quadmath_flt128tostr): Add. * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to... (strtoflt128): ... this. Return __float128, instead of writing to memory pointed by last argument. * quadmath.h: Use C style comments instead of C++ style. (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes. (strtoflt128, quadmath_flt128tostr): Add prototypes. * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr. (quadmath_strtopQ): Rename to strtoflt128. Adjust prototype, adjust examples. * quadmath_io.c (quadmath_dtoaq): Rename to... (quadmath_flt128tostr): ... this. libgfortran/ * io/write_float.def (DTOAQ): Use quadmath_flt128tostr instead of quadmath_dtoa. * io/transfer128.c (tmp1, tmp2): New variables, bring in strtoflt128 and quadmath_flt128tostr. (transfer_real128, transfer_real128_write, transfer_complex128, transfer_complex128_write): Remove tmp1/tmp2 variables. * io/read.c (convert_real): Use strtoflt128 instead of quadmath_strtopQ, adjust for the changed arguments and return value. From-SVN: r168856
Diffstat (limited to 'libquadmath/quadmath.map')
-rw-r--r--libquadmath/quadmath.map6
1 files changed, 4 insertions, 2 deletions
diff --git a/libquadmath/quadmath.map b/libquadmath/quadmath.map
index eab606dac60..f2ee76baae7 100644
--- a/libquadmath/quadmath.map
+++ b/libquadmath/quadmath.map
@@ -65,6 +65,7 @@ QUADMATH_1.0 {
y0q;
y1q;
ynq;
+
cabsq;
cargq;
cimagq;
@@ -89,8 +90,9 @@ QUADMATH_1.0 {
csqrtq;
ctanq;
ctanhq;
- quadmath_strtopQ;
- quadmath_dtoaq;
+
+ strtoflt128;
+ quadmath_flt128tostr;
local:
*;
};