]> git.ipfire.org Git - thirdparty/gcc.git/blob - libquadmath/ChangeLog
re PR fortran/46625 (libquadmath: Mangle internal symbols; rename __float128 <->...
[thirdparty/gcc.git] / libquadmath / ChangeLog
1 2011-01-16 Jakub Jelinek <jakub@redhat.com>
2
3 PR fortran/46625
4 * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
5 and quadmath_dtoaq. Add strtoflt128 and quadmath_flt128tostr.
6 * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
7 (strtoflt128, quadmath_flt128tostr): Add.
8 * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
9 (strtoflt128): ... this. Return __float128, instead of writing
10 to memory pointed by last argument.
11 * quadmath.h: Use C style comments instead of C++ style.
12 (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
13 (strtoflt128, quadmath_flt128tostr): Add prototypes.
14 * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
15 (quadmath_strtopQ): Rename to strtoflt128. Adjust prototype,
16 adjust examples.
17 * quadmath_io.c (quadmath_dtoaq): Rename to...
18 (quadmath_flt128tostr): ... this.
19
20 * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
21 Use it for all prototypes.
22
23 PR fortran/46416
24 * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
25 const from prototype argument.
26 (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
27 llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
28 (__quadmath_extern_inline): Define.
29 (cimagq, conjq, crealq): New inlines.
30 * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
31 math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
32 math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
33 math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
34 * Makefile.in: Regenerated.
35 * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
36 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
37 * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
38 (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
39 tests instead of __BIG_ENDIAN__.
40 * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
41 fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
42 and remquoq.
43 * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
44 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
45 * math/cprojq.c: New file.
46 * math/ilogbq.c: New file.
47 * math/fminq.c: New file.
48 * math/llrintq.c: New file.
49 * math/log2q.c: New file.
50 * math/lrintq.c: New file.
51 * math/crealq.c: New file.
52 * math/nearbyintq.c: New file.
53 * math/fmaxq.c: New file.
54 * math/conjq.c: New file.
55 * math/remquoq.c: New file.
56 * math/cimagq.c: New file.
57 * math/fdimq.c: New file.
58
59 * math/ldexpq.c: Include errno.h. Set errno to ERANGE if needed.
60
61 PR fortran/46416
62 * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
63 New prototypes.
64 (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
65 M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
66 * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
67 catanhq): Add.
68 * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
69 QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
70 * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
71 catanq and catanhq.
72 * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
73 math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
74 and math/catanhq.c.
75 * Makefile.in: Regenerated.
76 * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
77 catanq, catanhq): Add.
78 * math/cacoshq.c: New file.
79 * math/cacosq.c: New file.
80 * math/catanq.c: New file.
81 * math/catanhq.c: New file.
82 * math/casinq.c: New file.
83 * math/casinhq.c: New file.
84
85 * math/hypotq.c (hypotq): Use Q suffix instead of L.
86 * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
87 * math/cosq.c (cosq): Likewise.
88
89 PR fortran/46402
90 * quadmath.map (QUADMATH_1.0): Add fmaq.
91 * configure.ac: Check for fenv.h, feholdexcept, fesetround,
92 feupdateenv, fesetenv and fetestexcept.
93 * configure: Regenerated.
94 * config.h.in: Regenerated.
95 * quadmath.h (fmaq): New prototype.
96 * quadmath_weak.h (fmaq): Add.
97 * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
98 * Makefile.in: Regenerated.
99 * quadmath-imp.h: Include config.h.
100 * math/expq.c: Include fenv.h.
101 (USE_FENV_H): Define if libm support for fe* is there.
102 (expq): Add fesetround etc. support if USE_FENV_H is defined.
103 * math/fmaq.c: New file.
104 * libquadmath.texi (fmaq): Add.
105
106 2011-01-14 Tobias Burnus <burnus@net-b.de>
107
108 PR fortran/47182
109 * configure.ac: Use ACX_BUGURL.
110 * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
111 * Makefile.am: Create libquadmath-vers.texi.
112 * configure.in: Regenerate.
113 * Makefile.in: Regenerate.
114
115 2011-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
116
117 PR fortran/47174
118 * Makefile.am (libquadmath.info): Unconditionally override
119 target, not only if BUILD_LIBQUADMATH.
120 * Makefile.in: Regenerate.
121 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
122 avoid warning from automake.
123
124 2010-12-19 Tobias Burnus <burnus@net-b.de>
125
126 PR fortran/46520
127 * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
128 * configure: Regenerate
129
130 2010-12-13 Tobias Burnus <burnus@net-b.de>
131
132 PR fortran/46625
133 * gdtoa/gdtoaimp.h: Mangle internal functions by
134 prefixing them with __quadmath. Don't use gdtoa's strcp(y).
135 * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
136 * gdtoa/misc.c (strcpy): Renamed from strcp and only use
137 if NO_STRING_H is set.
138 * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
139 __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
140 __quadmath prefix to internal functions.
141 * math/cosq.c (cosq): Ditto.
142 * math/sinq.c (cosq): Ditto.
143 * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
144 * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
145 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
146 * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
147
148 2010-12-08 Tobias Burnus <burnus@net-b.de>
149
150 PR fortran/46772
151 * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
152 * gdtoa/gdtoaimp.h: Don't declare strtod.
153
154 2010-12-08 Tobias Burnus <burnus@net-b.de>
155
156 PR fortran/46520
157 * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
158 AC_TRY_LINK and cache libquad_have_float128.
159 * configure: Regenerate.
160
161 2010-12-08 Tobias Burnus <burnus@net-b.de>
162
163 PR fortran/46543
164 * configure.ac: Add texinfo checks.
165 * Makefile.am: Handle .texi documentation.
166 * libquadmath.texi: New.
167 * configure: Regenerated.
168 * Makefile.in: Regenerated.
169
170 2010-12-06 Tobias Burnus <burnus@net-b.de>
171
172 PR fortran/46817
173 * quadmath-imp.h: Add LGPL header.
174 * quadmath.h: Add LGPL header.
175 * quadmath_io.c: Add LGPL header.
176 * quadmath_weak.h: Add LGPL header.
177
178 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
179
180 PR target/40125
181 PR lto/46695
182 * configure.ac: Invoke ACX_LT_HOST_FLAGS.
183 * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
184 * aclocal.m4: Regenerate.
185 * configure: Regenerate.
186 * Makefile.in: Regenerate.
187
188 2010-11-30 Tobias Burnus <burnus@net-b.de>
189
190 PR fortran/46594
191 * Makefile.am: Install include files in
192 target/version specific directory.
193 * Makefile.in: Regenerate.
194
195 2010-11-30 Tobias Burnus <burnus@net-b.de>
196
197 * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
198 LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
199 LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
200
201 2010-11-29 Kai Tietz <kai.tietz@onevision.com>
202
203 * configure: Regenerated.
204 * Makefile.in: Regenerated.
205 * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
206 (target_alias): Use AC_SUBST for it.
207 (GCC_NO_EXECUTABLES): Call it.
208 (AC_PROG_CC): Improve multilib handling.
209 Check that gcc is used for compilation.
210 Use pattern from libssp for symbol versioning checking.
211 * Makefile.am (LTLDFLAGS): Removed.
212 (libquadmath_la_LDFLAGS): Add -no-undefined.
213 (libquadmath_la_LINK): Commented out.
214 (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
215 (AM_MAKEFLAGS): Add hack for argument passing by top-level.
216 (MAKEOVERRIDES): New.
217 * aclocal.m4: Regenerated.
218
219 2010-11-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
220
221 * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
222 (libquadmath_la_LDFLAGS): ... here.
223 (quadmath.map-sun): Tabify.
224 Fix sed expression.
225 * Makefile.in: Regenerate.
226
227 2010-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
228 Tobias Burnus <burnus@net-b.de>
229
230 PR fortran/32049
231 Initial implementation and checkin.