1 2017-09-15 Joseph Myers <joseph@codesourcery.com>
3 * math/s_fma.c: Include <libm-alias-double.h>.
4 (fma): Define using libm_alias_double.
5 * math/s_nextafter.c: Include <libm-alias-double.h>.
6 (nextafter): Define using libm_alias_double.
7 * math/w_acos_compat.c: Include <libm-alias-double.h>.
8 (acos): Define using libm_alias_double.
9 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
10 (aocsh): Define using libm_alias_double.
11 * math/w_asin_compat.c: Include <libm-alias-double.h>.
12 (asin): Define using libm_alias_double.
13 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
14 (atan2): Define using libm_alias_double.
15 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
16 (atanh): Define using libm_alias_double.
17 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
18 (cosh): Define using libm_alias_double.
19 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
20 (exp10): Define using libm_alias_double.
21 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
22 (exp2): Define using libm_alias_double.
23 * math/w_exp_compat.c: Include <libm-alias-double.h>.
24 (exp): Define using libm_alias_double.
25 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
26 (fmod): Define using libm_alias_double.
27 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
28 (hypot): Define using libm_alias_double.
29 * math/w_j0_compat.c: Include <libm-alias-double.h>.
30 (j0): Define using libm_alias_double.
32 * math/w_j1_compat.c: Include <libm-alias-double.h>.
33 (j1): Define using libm_alias_double.
35 * math/w_jn_compat.c: Include <libm-alias-double.h>.
36 (jn): Define using libm_alias_double.
38 * math/w_log10_compat.c: Include <libm-alias-double.h>.
39 (log10): Define using libm_alias_double.
40 * math/w_log2_compat.c: Include <libm-alias-double.h>.
41 (log2): Define using libm_alias_double.
42 * math/w_log_compat.c: Include <libm-alias-double.h>.
43 (log): Define using libm_alias_double.
44 * math/w_pow_compat.c: Include <libm-alias-double.h>.
45 (pow): Define using libm_alias_double.
46 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
47 (remainder): Define using libm_alias_double.
48 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
49 (sinh): Define using libm_alias_double.
50 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
51 (sqrt): Define using libm_alias_double.
52 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
53 (tgamma): Define using libm_alias_double.
54 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
55 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
56 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
57 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
58 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
59 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
60 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
61 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
62 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
63 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
64 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
65 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
66 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
67 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
68 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
69 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
70 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
71 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
72 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
73 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
74 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
75 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
76 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
77 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
78 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
80 * math/e_acoshl.c: Remove.
81 * math/e_acosl.c: Likewise.
82 * math/e_asinl.c: Likewise.
83 * math/e_atan2l.c: Likewise.
84 * math/e_atanhl.c: Likewise.
85 * math/e_coshl.c: Likewise.
86 * math/e_expl.c: Likewise.
87 * math/e_fmodl.c: Likewise.
88 * math/e_gammal_r.c: Likewise.
89 * math/e_hypotl.c: Likewise.
90 * math/e_j0l.c: Likewise.
91 * math/e_j1l.c: Likewise.
92 * math/e_jnl.c: Likewise.
93 * math/e_lgammal_r.c: Likewise.
94 * math/e_log10l.c: Likewise.
95 * math/e_log2l.c: Likewise.
96 * math/e_logl.c: Likewise.
97 * math/e_powl.c: Likewise.
98 * math/e_rem_pio2l.c: Likewise.
99 * math/e_sinhl.c: Likewise.
100 * math/e_sqrtf128.c: Likewise.
101 * math/e_sqrtl.c: Likewise.
102 * math/k_cosl.c: Likewise.
103 * math/k_sinl.c: Likewise.
104 * math/k_tanl.c: Likewise.
105 * math/s_asinhl.c: Likewise.
106 * math/s_atanl.c: Likewise.
107 * math/s_cbrtl.c: Likewise.
108 * math/s_erfl.c: Likewise.
109 * math/s_expm1l.c: Likewise.
110 * math/s_log1pl.c: Likewise.
111 * math/s_tanhl.c: Likewise.
113 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
116 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
117 [$(subdir) = math] (sysdep_calls): New variable. Has the
118 previous contents of sysdep_routines, but re-sorted..
119 [$(subdir) = math] (sysdep_routines): Re-use the contents from
121 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
122 defined in sysdep_calls and replace by the respective m_* names.
123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
124 (compat_symbol): Undefine to avoid duplicated compat symbols in
127 2017-09-15 Joseph Myers <joseph@codesourcery.com>
129 * math/s_fmaf.c: Include <libm-alias-float.h>.
130 (fmaf): Define using libm_alias_float.
131 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
132 (acosf): Define using libm_alias_float.
133 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
134 (acoshf): Define using libm_alias_float.
135 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
136 (asinf): Define using libm_alias_float.
137 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
138 (atan2f): Define using libm_alias_float.
139 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
140 (atanhf): Define using libm_alias_float.
141 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
142 (coshf): Define using libm_alias_float.
143 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
144 (exp10f): Define using libm_alias_float.
145 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
146 (fmodf): Define using libm_alias_float.
147 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
148 (hypotf): Define using libm_alias_float.
149 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
150 (j0f): Define using libm_alias_float.
152 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
153 (j1f): Define using libm_alias_float.
155 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
156 (jnf): Define using libm_alias_float.
158 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
159 (log10f): Define using libm_alias_float.
160 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
161 (log2f): Define using libm_alias_float.
162 * math/w_logf_compat.c: Include <libm-alias-float.h>.
163 (logf): Define using libm_alias_float.
164 * math/w_powf_compat.c: Include <libm-alias-float.h>.
165 (powf): Define using libm_alias_float.
166 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
167 (remainderf): Define using libm_alias_float.
168 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
169 (sinhf): Define using libm_alias_float.
170 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
171 (sqrtf): Define using libm_alias_float.
172 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
173 (tgammaf): Define using libm_alias_float.
175 2017-09-14 Joseph Myers <joseph@codesourcery.com>
177 * include/math.h (roundeven): Change hidden_proto call to
179 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
181 [NO_LONG_DOUBLE] (__j0l): New strong alias.
182 (y0): Rename to __y0 and define as weak alias.
183 [NO_LONG_DOUBLE] (__y0l): New strong alias.
184 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
186 (y0f): Rename to __y0f and define as weak alias.
187 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
189 [NO_LONG_DOUBLE] (__j1l): New strong alias.
190 (y1): Rename to __y1 and define as weak alias.
191 [NO_LONG_DOUBLE] (__y1l): New strong alias.
192 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
194 (y1f): Rename to __y1f and define as weak alias.
195 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
197 [NO_LONG_DOUBLE] (__jnl): New strong alias.
198 (yn): Rename to __yn and define as weak alias.
199 [NO_LONG_DOUBLE] (__ynl): New strong alias.
200 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
202 (ynf): Rename to __ynf and define as weak alias.
203 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
204 (fromfp): Define as weak alias.
205 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
206 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
207 (fromfpx): Define as weak alias.
208 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
209 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
210 __getpayload and define as weak alias.
211 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
212 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
213 __roundeven and define as weak alias.
214 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
215 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
217 (setpayload): Define as weak alias.
218 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
219 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
221 (setpayloadsig): Define as weak alias.
222 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
223 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
224 __totalorder and define as weak alias.
225 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
226 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
227 to __totalordermag and define as weak alias.
228 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
229 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
230 (ufromfp): Define as weak alias.
231 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
232 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
234 (ufromfpx): Define as weak alias.
235 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
236 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
237 Rename to __getpayload and define as weak alias.
238 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
239 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
240 Rename to __roundeven and define as weak alias.
241 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
242 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
243 Rename to __totalorder and define as weak alias.
244 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
245 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
246 (totalordermag): Rename to __totalordermag and define as weak
248 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
249 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
251 (__roundevenl): Likewise.
252 (__totalorderl): Likewise.
253 (__totalordermagl): Likewise
254 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
256 (fromfpf128): Define as weak alias.
257 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
259 (fromfpxf128): Define as weak alias.
260 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
262 (setpayloadf128): Define as weak alias.
263 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
265 (setpayloadsigf128): Define as weak alias.
266 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
268 (ufromfpf128): Define as weak alias.
269 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
271 (ufromfpxf128): Define as weak alias.
272 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
273 (fromfpf): Define as weak alias.
274 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
276 (fromfpxf): Define as weak alias.
277 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
278 __getpayloadf and define as weak alias.
279 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
280 __roundevenf and define as weak alias.
281 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
283 (setpayloadf): Define as weak alias.
284 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
286 (setpayloadsigf): Define as weak alias.
287 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
288 __totalorderf and define as weak alias.
289 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
290 Rename to __totalordermagf and define as weak alias.
291 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
293 (ufromfpf): Define as weak alias.
294 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
296 (ufromfpxf): Define as weak alias.
297 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
299 (fromfpl): Define as weak alias.
300 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
302 (fromfpxl): Define as weak alias.
303 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
304 to __getpayloadl and define as weak alias.
305 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
306 __roundevenl and define as weak alias.
307 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
309 (setpayloadl): Define as weak alias.
310 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
312 (setpayloadsigl): Define as weak alias.
313 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
314 to __totalorderl and define as weak alias.
315 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
316 Rename to __totalordermagl and define as weak alias.
317 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
319 (ufromfpl): Define as weak alias.
320 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
322 (ufromfpxl): Define as weak alias.
323 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
325 (fromfpl): Define as weak alias.
326 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
328 (fromfpxl): Define as weak alias.
329 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
330 Rename to __getpayloadl and define as weak alias.
331 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
332 to __roundevenl and define as weak alias. Call __roundeven
333 instead of roundeven.
334 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
336 (setpayloadl): Define as weak alias.
337 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
339 (setpayloadsigl): Define as weak alias.
340 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
341 Rename to __totalorderl and define as weak alias.
342 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
343 Rename to __totalordermagl and define as weak alias.
344 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
346 (ufromfpl): Define as weak alias.
347 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
349 (ufromfpxl): Define as weak alias.
350 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
352 (fromfpl): Define as weak alias.
353 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
355 (fromfpxl): Define as weak alias.
356 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
357 __getpayloadl and define as weak alias.
358 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
359 __roundevenl and define as weak alias.
360 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
362 (setpayloadl): Define as weak alias.
363 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
365 (setpayloadsigl): Define as weak alias.
366 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
367 __totalorderl and define as weak alias.
368 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
369 Rename to __totalordermagl and define as weak alias.
370 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
372 (ufromfpl): Define as weak alias.
373 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
375 (ufromfpxl): Define as weak alias.
377 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
379 * benchtests/bench-string.h (realloc_bufs): New function.
380 (test_init): Call it.
381 * benchtests/bench-memset-large.c (do_test): Likewise.
382 * benchtests/bench-memset.c (do_test): Likewise.
384 * benchtests/bench-memset-large.c: Print output in JSON
386 * benchtests/bench-memset.c: Likewise.
388 2017-09-14 Mike FABIAN <mfabian@redhat.com>
391 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
392 * iconvdata/Makefile: Add IBM858.
393 * iconvdata/gconv-modules: Likewise.
394 * iconvdata/tst-tables.sh: Likewise.
395 * iconvdata/ibm858.c: New file.
396 * localedata/charmaps/IBM858: Likewise.
398 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
401 * locales/niu_NZ (LC_TIME): copy "niu_NU".
402 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
404 2017-09-14 Mike FABIAN <mfabian@redhat.com>
407 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
410 2017-09-14 Joseph Myers <joseph@codesourcery.com>
412 * sysdeps/generic/libm-alias-float128.h: New file.
413 * sysdeps/generic/math-type-macros-float128.h: Include
414 <libm-alias-float128.h>.
415 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
417 2017-09-13 Joseph Myers <joseph@codesourcery.com>
419 * sysdeps/generic/libm-alias-ldouble.h: New file.
420 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
421 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
422 * sysdeps/generic/math-type-macros-ldouble.h: Include
423 <libm-alias-ldouble.h>.
424 [!declare_mgen_alias] (declare_mgen_alias): Define to use
427 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
429 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
430 * math/w_exp_compat.c: ... here.
431 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
432 * math/w_expf_compat.c: ... here.
433 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
434 * math/w_expl_compat.c: ... here.
435 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
436 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
437 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
438 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
440 2017-09-13 Joseph Myers <joseph@codesourcery.com>
442 * math/w_scalbln_template.c (strong_alias): Do not undefine and
444 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
446 (ldexpl): Only define as compat symbol for libc, not libm.
447 (scalbnl): Define as compat symbol for libc here.
448 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
449 define for [IS_IN (libc)].
450 (__ldexpl_2): Remove alias.
451 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
452 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
453 name in long_double_symbol call.
454 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
455 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
456 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
457 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
458 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
460 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
461 Define as compat symbol.
463 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
465 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
466 * sysdeps/unix/sysv/linux/alpha/Makefile
467 [$(subdir) = csu] (sysdep_routines): Remove rule.
469 2017-09-13 Joseph Myers <joseph@codesourcery.com>
471 * sysdeps/generic/libm-alias-double.h: New file.
472 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
473 * sysdeps/generic/math-type-macros-double.h: Include
474 <libm-alias-double.h>.
475 [declare_mgen_alias] (declare_mgen_alias): Define to use
477 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
478 (M_LIBM_NEED_COMPAT): Remove macro.
479 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
480 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
481 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
483 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
484 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
485 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
486 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
487 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
488 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
489 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
490 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
491 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
492 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
493 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
494 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
495 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
496 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
497 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
498 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
499 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
500 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
501 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
502 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
503 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
504 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
505 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
506 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
507 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
508 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
509 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
510 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
511 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
513 (declare_mgen_alias): New macro.
514 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
515 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
517 (M_LIBM_NEED_COMPAT): Remove macro.
518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
519 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
521 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
522 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
524 2017-09-12 Joseph Myers <joseph@codesourcery.com>
526 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
527 (declare_mgen_alias_2): Remove.
528 * sysdeps/generic/math-type-macros-double.h
529 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
531 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
533 (ldexp): Define with declare_mgen_alias.
536 2017-09-12 Steve Ellcey <sellcey@cavium.com>
538 * grp/initgroups.c: Include config.h.
539 (DEFAULT_CONFIG): New macro.
540 (internal_getgrouplist): Use DEFAULT_CONFIG.
541 * nscd/initgrcache.c (addinitgroupsX): Likewise.
542 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
543 (DEFAULT_DEFCONFIG): New macro.
544 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
545 * nss/grp-lookup.c: Include config.h
546 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
547 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
548 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
549 * manual/nss.texi: Update default values section.
551 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
554 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
556 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
557 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
558 Handle MathVec_Prefer_No_AVX512.
559 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
560 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
563 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
565 * posix/sched_primax.c (__sched_get_priority_max): Add
567 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
568 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
569 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
570 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
571 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
572 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
573 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
574 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
577 2017-09-11 Joseph Myers <joseph@codesourcery.com>
579 * sysdeps/generic/libm-alias-float.h: New file.
580 * sysdeps/generic/math-type-macros-float.h: Include
581 <libm-alias-float.h>.
582 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
584 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
587 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
588 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
589 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
590 (HWCAP_IMPORTANT): Likewise.
591 (HWCAP_X86_64): New enum.
592 (HWCAP_X86_AVX512_1): Updated.
593 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
594 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
595 (modules-names): Add x86_64/tst-x86_64mod-1.
596 (LDFLAGS-tst-x86_64mod-1.so): New.
597 ($(objpfx)tst-x86_64-1): Likewise.
598 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
599 (tst-x86_64-1-clean): Likewise.
600 * sysdeps/x86_64/tst-x86_64-1.c: New file.
601 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
603 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
605 * po/sv.po: Update translations.
606 * po/fr.po: Likewise.
608 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
610 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
612 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
614 * elf/rtld-Rules: Fix $(error) use.
616 2017-09-09 Mike FABIAN <mfabian@redhat.com>
619 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
620 * locale/iso-639.def: Change “Bengali” to “Bangla”.
621 * localedata/locales/bn_BD: “Bengali” was still used in some
622 comments. Change it to “Bangla”.
624 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
626 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
628 2017-09-08 Steve Ellcey <sellcey@cavium.com>
630 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
631 thunderx2t99p1 to list of cpu names.
632 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
633 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
635 2017-09-08 Steve Ellcey <sellcey@cavium.com>
637 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
638 Use strcmp instead of tunable_is_name.
640 2017-09-08 Joseph Myers <joseph@codesourcery.com>
642 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
643 (F_GET_RW_HINT): New macro.
644 [__USE_GNU] (F_SET_RW_HINT): Likewise.
645 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
646 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
647 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
648 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
649 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
650 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
651 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
652 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
654 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
655 (F_ADD_SEALS): New macro.
656 [__USE_GNU] (F_GET_SEALS): Likewise.
657 [__USE_GNU] (F_SEAL_SEAL): Likewise.
658 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
659 [__USE_GNU] (F_SEAL_GROW): Likewise.
660 [__USE_GNU] (F_SEAL_WRITE): Likewise.
662 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
664 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
665 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
666 * posix/glob_internal.h (__glob_pattern_type):
667 * posix/glob.c (glob):
668 * posix/glob_pattern_p.c (__glob_pattern_p):
671 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
672 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
673 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
674 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
675 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
677 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
678 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
679 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
680 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
681 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
682 * sysdeps/wordsize-64/glob.c: Likewise.
683 * sysdeps/wordsize-64/glob64.c: Likewise.
684 * sysdeps/wordsize-64/globfree.c: Likewise.
685 * sysdeps/wordsize-64/globfree64.c: Likewise.
686 * sysdeps/unix/sysv/linux/glob.c: New file.
687 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
688 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
689 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
690 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
691 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
692 adds !GLOB_NO_OLD_VERSION as an extra condition.
693 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
694 using relative path instead of absolute one.
695 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
696 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
697 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
698 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
699 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
700 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
703 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
704 (glob): Use the same scratch buffer for both getlogin_r and
705 getpwnam_r. Don’t require preallocation of the login name. This
706 simplifies storage allocation, and corrects the handling of
710 * posix/glob.c (glob): Port recent patches to platforms
712 (glob): Fix longstanding misuse of errno after getpwnam_r, which
713 returns an error number rather than setting errno.
715 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
716 instead of GCC extension.
717 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
718 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
719 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
723 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
724 * posix/bug-glob1.c: Remove file.
725 * posix/tst-glob_symlinks.c: New file.
726 * posix/glob.c (__lstat64): New macro.
727 (is_dir): New function.
728 (glob, glob_in_dir): Match symlinks even if they are dangling.
729 (link_stat, link_exists_p): Remove. All uses removed.
733 * posix/glob.c (struct readdir_result): Remove skip_entry member.
734 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
738 * posix/Makefile (routines): Add globfree, globfree64, and
740 * posix/flexmember.h: New file.
741 * posix/glob_internal.h: Likewise.
742 * posix/glob_pattern_p.c: Likewise.
743 * posix/globfree.c: Likewise.
744 * posix/globfree64.c: Likewise.
745 * sysdeps/gnu/globfree64.c: Likewise.
746 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
747 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
748 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
749 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
750 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
751 * sysdeps/wordsize-64/globfree.c: Likewise.
752 * sysdeps/wordsize-64/globfree64.c: Likewise.
753 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
754 [NDEBUG): Remove comments.
755 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
756 (dirent_type): New type. Use uint_fast8_t not
757 uint8_t, as C99 does not require uint8_t.
758 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
759 (struct readdir_result): Use dirent_type. Do not define skip_entry
760 unless it is needed; this saves a byte on platforms lacking d_ino.
761 (readdir_result_type, readdir_result_skip_entry):
762 New functions, replacing ...
763 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
764 these functions, which were removed. This makes the callers
765 easier to read. All callers changed.
766 (D_INO_TO_RESULT): Now empty if there is no d_ino.
767 (size_add_wrapv, glob_use_alloca): New static functions.
768 (glob, glob_in_dir): Check for size_t overflow in several places,
769 and fix some size_t checks that were not quite right.
770 Remove old code using SHELL since Bash no longer
772 (glob, prefix_array): Separate MS code better.
773 (glob_in_dir): Remove old Amiga and VMS code.
774 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
776 (glob_in_dir): Do not rely on undefined behavior in accessing
777 struct members beyond their bounds. Use a flexible array member
779 (link_stat): Rename from link_exists2_p and return -1/0 instead of
781 (glob): Fix memory leaks.
782 * posix/glob64 (globfree64): Move to separate file.
783 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
784 (globfree64): Remove hidden alias.
785 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
787 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
789 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
791 Move compat code to separate file.
792 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
795 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
797 * resolv/tst-resolv-qtypes.c (domain): Changed to
798 "const char domain[] =".
800 2017-09-07 Joseph Myers <joseph@codesourcery.com>
802 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
805 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
806 (TCP_MD5SIG_EXT): Likewise.
807 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
808 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
809 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
811 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
813 2017-09-07 Mike FABIAN <mfabian@redhat.com>
815 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
817 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
820 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
822 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
824 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
825 before assuming that the file is empty. Avoid testing buffer content
828 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
831 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
833 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
835 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
837 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
839 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
841 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
843 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
846 2017-09-06 Florian Weimer <fweimer@redhat.com>
848 * malloc/dynarray_emplace_enlarge.c
849 (__libc_dynarray_emplace_enlarge): Add missing else.
851 2017-09-06 Florian Weimer <fweimer@redhat.com>
854 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
855 case of failure to obtain the global conf object.
857 2017-09-06 Florian Weimer <fweimer@redhat.com>
860 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
861 dynarray allocation failure.
863 2017-09-06 Florian Weimer <fweimer@redhat.com>
865 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
866 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
867 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
869 (response): Call them. Add 'p', '6' flag processing.
870 (test_reverse): New function.
871 (test_get2_any): Call it.
872 (test_no_inet6): Add 'p' test.
873 (test_inet6): Likewise.
875 2017-09-06 Florian Weimer <fweimer@redhat.com>
877 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
878 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
880 (test_gai): Adjust query names. Add additional tests.
881 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
882 test_get2. Adjust query names. Add additional tests.
883 (test_no_inet6): New function, extracted from threadfunc.
884 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
885 Add additional tests.
887 2017-09-06 Mike FABIAN <mfabian@redhat.com>
890 * localedata/unicode-gen/utf8_gen.py: Set the width for
891 characters with Prepended_Concatenation_Mark property to 1
892 * localedata/charmaps/UTF-8: Updated using the improved script.
894 2017-09-06 Mike FABIAN <mfabian@redhat.com>
897 * localedata/unicode-gen/utf8_gen.py: Improve the script to
898 use the range notation for all ranges of neighbouring characters
901 2017-09-05 Joseph Myers <joseph@codesourcery.com>
903 * sysdeps/generic/math-type-macros-double.h: Include
904 <math-svid-compat.h>.
905 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
906 * sysdeps/generic/math-type-macros-float.h: Include
907 <math-svid-compat.h>.
908 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
909 * sysdeps/generic/math-type-macros-ldouble.h: Include
910 <math-svid-compat.h>.
911 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
912 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
914 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
915 * math/w_acosf_compat.c: Likewise.
916 * math/w_acosh_compat.c: Likewise.
917 * math/w_acoshf_compat.c: Likewise.
918 * math/w_acoshl_compat.c: Likewise.
919 * math/w_acosl_compat.c: Likewise.
920 * math/w_asin_compat.c: Likewise.
921 * math/w_asinf_compat.c: Likewise.
922 * math/w_asinl_compat.c: Likewise.
923 * math/w_atan2_compat.c: Likewise.
924 * math/w_atan2f_compat.c: Likewise.
925 * math/w_atan2l_compat.c: Likewise.
926 * math/w_atanh_compat.c: Likewise.
927 * math/w_atanhf_compat.c: Likewise.
928 * math/w_atanhl_compat.c: Likewise.
929 * math/w_cosh_compat.c: Likewise.
930 * math/w_coshf_compat.c: Likewise.
931 * math/w_coshl_compat.c: Likewise.
932 * math/w_exp10_compat.c: Likewise.
933 * math/w_exp10f_compat.c: Likewise.
934 * math/w_exp10l_compat.c: Likewise.
935 * math/w_exp2_compat.c: Likewise.
936 * math/w_exp2f_compat.c: Likewise.
937 * math/w_exp2l_compat.c: Likewise.
938 * math/w_fmod_compat.c: Likewise.
939 * math/w_fmodf_compat.c: Likewise.
940 * math/w_fmodl_compat.c: Likewise.
941 * math/w_hypot_compat.c: Likewise.
942 * math/w_hypotf_compat.c: Likewise.
943 * math/w_hypotl_compat.c: Likewise.
944 * math/w_j0_compat.c: Likewise.
945 * math/w_j0f_compat.c: Likewise.
946 * math/w_j0l_compat.c: Likewise.
947 * math/w_j1_compat.c: Likewise.
948 * math/w_j1f_compat.c: Likewise.
949 * math/w_j1l_compat.c: Likewise.
950 * math/w_jn_compat.c: Likewise.
951 * math/w_jnf_compat.c: Likewise.
952 * math/w_jnl_compat.c: Likewise.
953 * math/w_lgamma_r_compat.c: Likewise.
954 * math/w_lgammaf_r_compat.c: Likewise.
955 * math/w_lgammal_r_compat.c: Likewise.
956 * math/w_log10_compat.c: Likewise.
957 * math/w_log10f_compat.c: Likewise.
958 * math/w_log10l_compat.c: Likewise.
959 * math/w_log2_compat.c: Likewise.
960 * math/w_log2f_compat.c: Likewise.
961 * math/w_log2l_compat.c: Likewise.
962 * math/w_log_compat.c: Likewise.
963 * math/w_logf_compat.c: Likewise.
964 * math/w_logl_compat.c: Likewise.
965 * math/w_pow_compat.c: Likewise.
966 * math/w_powf_compat.c: Likewise.
967 * math/w_powl_compat.c: Likewise.
968 * math/w_remainder_compat.c: Likewise.
969 * math/w_remainderf_compat.c: Likewise.
970 * math/w_remainderl_compat.c: Likewise.
971 * math/w_sinh_compat.c: Likewise.
972 * math/w_sinhf_compat.c: Likewise.
973 * math/w_sinhl_compat.c: Likewise.
974 * math/w_sqrt_compat.c: Likewise.
975 * math/w_sqrtf_compat.c: Likewise.
976 * math/w_sqrtl_compat.c: Likewise.
977 * math/w_tgamma_compat.c: Likewise.
978 * math/w_tgammaf_compat.c: Likewise.
979 * math/w_tgammal_compat.c: Likewise.
980 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
982 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
983 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
985 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
986 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
988 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
989 * sysdeps/i386/fpu/w_sqrt.c: New file.
990 * sysdeps/ia64/fpu/w_acos.c: Likewise.
991 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
992 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
993 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
994 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
995 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
996 * sysdeps/ia64/fpu/w_asin.c: Likewise.
997 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
998 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
999 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
1000 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
1001 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
1002 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
1003 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
1004 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
1005 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
1006 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
1007 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
1008 * sysdeps/ia64/fpu/w_exp.c: Likewise.
1009 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
1010 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
1011 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
1012 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
1013 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
1014 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
1015 * sysdeps/ia64/fpu/w_expf.c: Likewise.
1016 * sysdeps/ia64/fpu/w_expl.c: Likewise.
1017 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
1018 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
1019 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
1020 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
1021 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
1022 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
1023 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
1024 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
1025 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
1026 * sysdeps/ia64/fpu/w_log.c: Likewise.
1027 * sysdeps/ia64/fpu/w_log10.c: Likewise.
1028 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
1029 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
1030 * sysdeps/ia64/fpu/w_log2.c: Likewise.
1031 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
1032 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
1033 * sysdeps/ia64/fpu/w_logf.c: Likewise.
1034 * sysdeps/ia64/fpu/w_logl.c: Likewise.
1035 * sysdeps/ia64/fpu/w_pow.c: Likewise.
1036 * sysdeps/ia64/fpu/w_powf.c: Likewise.
1037 * sysdeps/ia64/fpu/w_powl.c: Likewise.
1038 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
1039 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
1040 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
1041 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
1042 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
1043 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
1044 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
1045 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
1046 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
1047 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
1048 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
1049 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
1050 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
1052 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
1053 * sysdeps/ieee754/k_standard.c: Likewise.
1054 * sysdeps/ieee754/k_standardf.c: Likewise.
1055 * sysdeps/ieee754/k_standardl.c: Likewise.
1056 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
1057 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
1058 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
1059 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
1060 long_double_symbol call on [LIBM_SVID_COMPAT].
1061 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
1062 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
1063 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
1064 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
1065 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
1066 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
1067 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
1068 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
1069 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
1070 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
1071 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
1072 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
1073 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
1074 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
1075 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
1076 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
1077 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
1078 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
1079 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
1080 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
1081 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
1082 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
1084 2017-09-05 Steve Ellcey <sellcey@cavium.com>
1086 * include/shlib-compat.h (TEST_COMPAT): New Macro.
1087 * malloc/tst-mallocstate.c: Convert from test-skeleton
1088 to test-driver. Ifdef code using TEST_COMPAT macro.
1089 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
1090 * math/test-matherr.c: Likewise.
1092 2017-09-05 Joseph Myers <joseph@codesourcery.com>
1095 * debug/pcprofiledump.c (main): Use byte-swapped mask when
1096 comparing word with byte-swapped constant.
1098 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
1101 * locale/iso-639.def: add Miskito.
1102 * localedata/SUPPORTED: Add miq_NI/UTF-8.
1103 * localedata/locales/miq_NI: New file.
1105 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
1108 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
1109 (__mkdir): Likewise.
1110 * io/chmod.c (__chmod): Add libc_hidden_def.
1111 * io/mkdir.c (__mkdir): Likewise.
1112 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
1113 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
1114 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
1115 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
1117 2017-09-04 Joseph Myers <joseph@codesourcery.com>
1119 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1123 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
1124 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
1126 2017-09-04 Florian Weimer <fweimer@redhat.com>
1128 * math/math.h: Issue warning if log is defined.
1130 2017-09-04 Joseph Myers <joseph@codesourcery.com>
1132 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1133 kernel version to 4.13.
1135 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1137 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
1138 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
1140 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
1141 just <bits/types.h>.
1142 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
1143 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
1144 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
1145 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
1146 * misc/preadv2.c: Include <errno.h>.
1147 * misc/preadv64v2.c: Include <errno.h>.
1148 * misc/pwritev2.c: Include <errno.h>.
1149 * misc/pwritev64v2.c: Include <errno.h>.
1150 * sysdeps/posix/preadv2.c: Include <errno.h>.
1151 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
1152 Fix <unistd.h> inclusion.
1153 * sysdeps/posix/pwritev2.c: Include <errno.h>.
1154 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
1155 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
1156 __strtoul_internal): New functions.
1157 * sysdeps/posix/pause.c: Include <sigsetops.h>.
1158 * sysdeps/posix/system.c: Include <sigsetops.h>.
1159 * sysdeps/mach/hurd/i386/Makefile
1160 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
1161 [$(subdir) = csu] (sysdep-only-routines): Likewise.
1162 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1163 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
1164 __feraiseexcept_renamed to feraiseexcept instead of
1166 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
1167 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
1168 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
1169 RWF_NOWAIT): Define to 0 if undefined already.
1170 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
1172 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
1173 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
1175 2017-09-01 Joseph Myers <joseph@codesourcery.com>
1177 * manual/math.texi (pow10): Do not document.
1180 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
1181 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
1182 * math/libm-test-exp10.inc (pow10_test): Remove.
1183 (do_test): Do not call pow10.
1184 * math/w_exp10_compat.c (pow10): Make into compat symbol.
1185 [NO_LONG_DOUBLE] (pow10l): Likewise.
1186 * math/w_exp10f_compat.c (pow10f): Likewise.
1187 * math/w_exp10l_compat.c (pow10l): Likewise.
1188 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
1189 (pow10): Make into compat symbol.
1190 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
1191 (pow10f): Make into compat symbol.
1192 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
1193 (pow10l): Make into compat symbol.
1194 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
1196 (CFLAGS-nldbl-pow10.c): Remove variable..
1197 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
1198 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
1199 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
1200 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
1201 Undefine and redefine.
1202 (pow10l): Make into compat symbol.
1203 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
1204 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1205 * sysdeps/arm/libm-test-ulps: Likewise.
1206 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
1207 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1208 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1209 * sysdeps/microblaze/libm-test-ulps: Likewise.
1210 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1211 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1212 * sysdeps/nios2/libm-test-ulps: Likewise.
1213 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1214 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1215 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1216 * sysdeps/sh/libm-test-ulps: Likewise.
1217 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1218 * sysdeps/tile/libm-test-ulps: Likewise.
1219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1221 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1223 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
1225 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
1227 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
1228 "../ChangeLog.old/ChangeLog.8".
1229 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
1230 "../ChangeLog.old/ChangeLog.14".
1232 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
1234 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
1237 2017-09-01 Joseph Myers <joseph@codesourcery.com>
1239 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
1241 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
1243 * csu/version.c (banner): Remove "by Roland McGrath et al.".
1244 * nptl/Banner: Remove "by Ulrich Drepper et al.".
1246 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1248 * stdlib/tst-atexit-common.c (do_test): Test support for at least
1251 2017-09-01 Zack Weinberg <zackw@panix.com>
1253 * math/math.h (HUGE_VAL): Improve commentary.
1255 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1256 Andreas Schwab <schwab@suse.de>
1259 * include/stdio.h (__gen_tempfd): New function.
1260 * stdio-common/Makefile (routines): Add gentempfd.
1261 * stdio-common/gentempfd.c: New file.
1262 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
1263 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
1266 2017-09-01 Florian Weimer <fweimer@redhat.com>
1270 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
1271 result to determine success or failure, not the errno value.
1272 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
1273 (tst-nss-files-hosts-erange): Link with -ldl.
1274 * nss/tst-nss-files-hosts-erange.c: New file.
1275 * nss/tst-resolv-basic.c (response): Handle nodata.example.
1276 (do_test): Add NO_DATA tests.
1277 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
1280 2017-09-01 Florian Weimer <fweimer@redhat.com>
1283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
1284 coming from gethostbyname2_r.
1286 2017-09-01 Florian Weimer <fweimer@redhat.com>
1288 * support/namespace.h (struct support_chroot_configuration): Add
1290 (struct support_chroot): Add path_hosts, path_host_conf.
1291 * support/support_chroot.c (write_file): New function.
1292 (support_chroot_create): Call it to process /etc/resolv.conf,
1293 /etc/hosts, /etc/host.conf.
1294 (support_chroot_free): Update.
1296 2017-09-01 Florian Weimer <fweimer@redhat.com>
1298 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
1299 status indicates it is set.
1301 2017-09-01 Florian Weimer <fweimer@redhat.com>
1303 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
1304 function lookup failures more reliable.
1306 2017-09-01 Florian Weimer <fweimer@redhat.com>
1308 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
1309 (getcanonname): Likewise.
1310 (gaih_inet): Likewise.
1312 2017-09-01 Florian Weimer <fweimer@redhat.com>
1314 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
1315 (getcanonname): Likewise.
1316 (gaih_inet): Likewise.
1318 2017-08-31 Steve Ellcey <sellcey@cavium.com>
1319 Richard Henderson <rth@twiddle.net>
1321 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
1322 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
1323 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
1324 (IREG_SIZE, OREG_SIZE): New macros.
1325 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
1326 (IREG_SIZE, OREG_SIZE): New macros.
1327 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
1328 (IREG_SIZE): New macro.
1329 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
1330 (IREG_SIZE): New macro.
1331 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
1333 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
1334 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
1335 (__CONCATX): Handle exceptions correctly on large values that may
1337 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
1338 Initialize if not already set.
1339 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
1341 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1343 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
1344 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
1346 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
1348 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
1350 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
1352 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
1354 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
1356 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
1358 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
1359 (NO_CANCELLATION): Likewise.
1360 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
1362 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
1364 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
1366 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
1367 (NO_CANCELLATION): Likewise.
1368 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
1369 (NO_CANCELLATION): Likewise.
1370 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
1372 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
1374 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
1376 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
1378 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
1380 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
1381 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
1383 2017-08-31 Steve Ellcey <sellcey@cavium.com>
1385 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
1388 2017-08-31 Florian Weimer <fweimer@redhat.com>
1390 * include/libc-symbols.h (internal_function): Remove.
1392 2017-08-31 Florian Weimer <fweimer@redhat.com>
1394 * stdlib/fmtmsg.c (internal_addseverity): Remove
1397 2017-08-31 Florian Weimer <fweimer@redhat.com>
1399 * stdio-common/printf_fp.c (group_number): Remove
1401 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
1403 2017-08-31 Florian Weimer <fweimer@redhat.com>
1405 * posix/fnmatch.c (internal_function): Remove definition.
1406 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
1407 * posix/regcomp.c (peek_token, init_word_char)
1408 (duplicate_node_closure, fetch_token, peek_token)
1409 (peek_token_bracket, build_range_exp, build_collating_symbol):
1411 * posix/regex_internal.c (re_string_construct_common)
1412 (create_ci_newstate, create_cd_newstate, re_string_allocate)
1413 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
1414 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
1415 (re_string_translate_buffer, re_string_reconstruct)
1416 (re_string_peek_byte_case, re_string_fetch_byte_case)
1417 (re_string_destruct, re_string_context_at, re_node_set_alloc)
1418 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
1419 (re_node_set_add_intersect, re_node_set_init_union)
1420 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
1421 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
1422 (re_dfa_add_node, calc_state_hash, re_acquire_state)
1423 (re_acquire_state_context): Likewise.
1424 * posix/regex_internal.h (internal_function): Remove definition.
1425 (re_string_realloc_buffers, build_wcs_buffer)
1426 (build_wcs_upper_buffer, build_upper_buffer)
1427 (re_string_translate_buffer, re_string_context_at)
1428 (re_string_char_size_at, re_string_wchar_at)
1429 (re_string_elem_size_at): Likewise.
1430 * posix/regexec.c (match_ctx_init, match_ctx_clean)
1431 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
1432 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
1433 (re_search_internal, re_search_2_stub, re_search_stub)
1434 (re_copy_regs, prune_impossible_nodes, check_matching)
1435 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
1436 (free_fail_stack_return, sift_states_iter_mb)
1437 (sift_states_backward, build_sifted_states)
1438 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
1439 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
1440 (check_subexp_limits, sift_states_bkref, merge_state_array)
1441 (find_recover_state, transit_state, merge_state_with_log)
1442 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
1443 (transit_state_mb, transit_state_bkref, get_subexp)
1444 (get_subexp_sub, find_subexp_node, check_arrival)
1445 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
1446 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
1447 (check_node_accept_bytes, find_collation_sequence_value)
1448 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
1449 (acquire_init_state_context, check_halt_node_context)
1450 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
1451 (sub_epsilon_src_nodes): Likewise.
1452 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
1453 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
1454 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
1455 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
1456 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
1457 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
1458 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
1459 * sysdeps/posix/ttyname.c (getttyname): Likewise.
1460 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
1461 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
1463 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
1465 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
1466 (PWRITEV): Likewise.
1467 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
1468 (PWRITEV): Likewise.
1469 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
1470 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
1472 2017-08-31 Florian Weimer <fweimer@redhat.com>
1474 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
1475 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
1476 Remove internal_function.
1477 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1478 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
1479 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
1480 (__deallocate_stack, __libc_pthread_init)
1481 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
1482 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
1483 (__libc_disable_asynccancel, __librt_disable_asynccancel):
1485 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
1486 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
1487 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
1489 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
1490 (__pthread_mutex_unlock_usercnt): Likewise.
1492 2017-08-31 Florian Weimer <fweimer@redhat.com>
1494 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
1495 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
1496 (fts_safe_changedir): Remove internal_function.
1497 * io/ftw.c (internal_function): Remove definition.
1498 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
1500 2017-08-31 Florian Weimer <fweimer@redhat.com>
1502 * inet/deadline.c (__deadline_current_time)
1503 (__deadline_from_timeval, __deadline_to_ms): Remove
1505 * inet/getnameinfo.c (nrl_domainname): Likewise.
1506 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
1507 * inet/inet6_option.c (add_pad): Likewise.
1508 * inet/net-internal.h (__deadline_current_time)
1509 (__deadline_from_timeval, __deadline_to_ms): Likewise.
1510 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
1511 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
1512 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
1514 2017-08-31 Joseph Myers <joseph@codesourcery.com>
1516 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
1517 include <bits/nan.h>.
1518 * math/Makefile (headers): Remove bits/nan.h.
1519 * bits/nan.h: Remove.
1520 * sysdeps/ieee754/bits/nan.h: Likewise.
1521 * sysdeps/mips/bits/nan.h: Likewise.
1523 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
1524 not include <bits/inf.h>.
1525 * math/Makefile (headers): Remove bits/inf.h.
1526 * bits/inf.h: Remove.
1527 * sysdeps/ieee754/bits/inf.h: Likewise.
1529 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
1530 bits/huge_vall.h or bits/huge_val_flt128.h.
1531 (HUGE_VAL): Define directly here.
1532 [__USE_ISOC99] (HUGE_VALF): Likewise.
1533 [__USE_ISOC99] (HUGE_VALL): Likewise.
1534 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1535 (HUGE_VAL_F128): Likewise.
1536 * math/Makefile (headers): Remove bits/huge_val.h,
1537 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
1538 * bits/huge_val.h: Remove.
1539 * bits/huge_val_flt128.h: Likewise.
1540 * bits/huge_valf.h: Likewise.
1541 * bits/huge_vall.h: Likewise.
1542 * sysdeps/ia64/bits/huge_vall.h: Likewise.
1543 * sysdeps/ieee754/bits/huge_val.h: Likewise.
1544 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
1545 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
1546 * sysdeps/sh/bits/huge_val.h: Likewise.
1547 * sysdeps/sparc/bits/huge_vall.h: Likewise.
1548 * sysdeps/x86/bits/huge_vall.h: Likewise.
1550 2017-08-31 Florian Weimer <fweimer@redhat.com>
1552 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
1554 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
1556 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
1557 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
1558 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
1559 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
1560 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1561 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
1562 * elf/dl-libc.c (dlerror_run): Likewise.
1563 * elf/dl-load.c (add_name_to_object, decompose_rpath)
1564 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
1565 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
1566 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
1568 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
1569 (_dl_higher_prime_number, _dl_strtoul): Likewise.
1570 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
1571 * elf/dl-profile.c (_dl_start_profile): Likewise.
1572 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
1573 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
1575 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
1576 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
1577 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
1578 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
1579 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
1580 (_dl_allocate_tls_storage): Likewise.
1581 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
1582 (_dl_check_all_versions): Likewise.
1583 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
1584 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
1585 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
1586 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
1587 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
1588 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
1589 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
1590 internal_function from __dl_start.
1591 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
1592 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
1593 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
1594 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
1595 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
1596 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
1597 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
1598 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
1599 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
1600 (_dl_next_ld_env_entry, _dl_important_hwcaps)
1601 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
1602 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
1603 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
1604 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
1605 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
1607 (struct rtld_global_ro): Remove internal_function from the
1608 _dl_lookup_symbol_x member.
1609 (_dl_symbol_value): Remove. No longer defined anywhere.
1610 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
1612 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
1613 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1614 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
1615 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
1616 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
1617 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
1618 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
1619 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
1620 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
1621 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
1622 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
1623 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1625 2017-08-31 Florian Weimer <fweimer@redhat.com>
1627 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
1628 Remove internal_function.
1629 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
1631 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
1634 2017-08-31 Florian Weimer <fweimer@redhat.com>
1636 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
1637 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
1638 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
1640 2017-08-31 Florian Weimer <fweimer@redhat.com>
1642 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
1643 (__gai_enqueue_request): Remove internal_function.
1644 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
1645 (__gai_remove_request, __gai_notify, __gai_notify_only)
1646 (__gai_sigqueue): Likewise.
1647 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
1648 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
1649 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
1650 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1653 2017-08-31 Florian Weimer <fweimer@redhat.com>
1655 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
1656 * include/dirent.h (__opendirat, __getdents, __getdents64)
1657 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
1658 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
1659 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
1660 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
1662 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
1664 2017-08-31 Florian Weimer <fweimer@redhat.com>
1666 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
1668 (GETCWD_RETURN_TYPE): Likewise.
1670 2017-08-31 Florian Weimer <fweimer@redhat.com>
1672 * include/time.h (__tz_compute, __strptime_internal): Remove
1674 * time/strptime_l.c (__strptime_internal): Likewise.
1675 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
1677 2017-08-31 Florian Weimer <fweimer@redhat.com>
1679 * iconv/gconv.c (__gconv): Remove internal_function.
1680 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
1681 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
1682 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
1683 (__gconv_release_cache): Likewise.
1684 * iconv/gconv_close.c (__gconv_close): Likewise.
1685 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
1686 (read_conf_file, __gconv_get_path): Likewise.
1687 * iconv/gconv_db.c (derivation_lookup, add_derivation)
1688 (__gconv_release_step, gen_steps, increment_counter)
1689 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
1690 (__gconv_close_transform, free_modules_db): Likewise.
1691 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
1693 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
1694 (__gconv_find_transform, __gconv_lookup_cache)
1695 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
1696 (__gconv_close_transform, __gconv_release_cache)
1697 (__gconv_loaded_object, __gconv_release_shlib)
1698 (__gconv_compare_alias): Likewise.
1699 * iconv/gconv_open.c (__gconv_open): Likewise.
1700 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
1701 * iconv/iconvconfig.c (add_module): Likewise.
1702 * intl/dcigettext.c (plural_lookup, guess_category_value)
1703 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
1704 * intl/eval-plural.h (plural_eval): Likewise.
1705 * intl/finddomain.c (_nl_find_domain): Likewise.
1706 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
1707 (_nl_load_domain, _nl_find_msg): Likewise.
1708 (internal_function): Remove definition.
1709 * intl/loadinfo.h (internal_function): Likewise.
1710 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
1712 * intl/localealias.c (internal_function): Remove definition.
1713 (read_alias_file): Remove internal_function.
1714 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
1715 * intl/plural-exp.h (internal_function): Remove definition.
1716 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
1718 * intl/plural.c: Regenerate.
1719 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
1720 * locale/coll-lookup.c (__collidx_table_lookup)
1721 (__collseq_table_lookup): Likewise.
1722 * locale/coll-lookup.h (__collidx_table_lookup)
1723 (__collseq_table_lookup): Likewise.
1724 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
1725 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
1726 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
1727 (_nl_unload_locale): Likewise.
1728 * locale/localeinfo.h (struct __locale_data): Remove
1729 internal_function from cleanup member.
1730 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
1731 (_nl_remove_locale, _nl_load_locale_from_archive)
1732 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
1733 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
1734 (_nl_cleanup_time): Remove internal_function.
1735 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
1736 (_nl_parse_alt_digit): Likewise.
1737 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
1738 (_nl_select_era_entry): Likewise.
1739 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
1740 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
1741 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
1742 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
1743 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
1745 2017-08-31 Florian Weimer <fweimer@redhat.com>
1747 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
1748 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
1749 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
1750 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
1752 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
1753 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
1754 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
1755 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
1757 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
1759 2017-08-31 Florian Weimer <fweimer@redhat.com>
1761 * misc/getttyent.c (skip, value): Remove internal_function.
1762 * misc/syslog.c (openlog_internal): Likewise.
1763 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
1765 2017-08-31 Florian Weimer <fweimer@redhat.com>
1767 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
1768 (__nss_rewrite_field): Remove internal_function.
1769 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1770 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
1771 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1772 * nss/nsswitch.c (nss_parse_file, nss_getline)
1773 (nss_parse_service_list, nss_new_service): Likewise.
1774 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
1775 * nss/valid_field.c (__nss_valid_field): Likewise.
1776 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
1778 2017-08-31 Florian Weimer <fweimer@redhat.com>
1780 * malloc/arena.c (__malloc_fork_lock_parent)
1781 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
1782 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
1783 internal_function from defintions.
1784 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
1785 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
1786 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
1787 internal_function from declarations.
1788 * malloc/malloc.c (internal_function): Do not define.
1789 (mem2mem_check): Remove internal_function from declaration.
1790 (munmap_chunk, mremap_chunk): Remove internal_function.
1791 * malloc/mtrace.c (tr_where): Likewise.
1793 2017-08-31 Florian Weimer <fweimer@redhat.com>
1795 * include/rpc/pmap_clnt.h (__get_socket): Remove
1797 * sunrpc/auth_des.c (synchronize): Likewise.
1798 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
1799 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
1800 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
1801 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
1802 (key_call): Likewise.
1803 * sunrpc/pm_getport.c (__get_socket): Likewise.
1804 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
1805 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
1806 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
1807 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
1808 (invalidate): Likewise.
1809 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
1810 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
1811 (set_input_fragment, get_input_bytes): Likewise.
1813 2017-08-31 Florian Weimer <fweimer@redhat.com>
1815 * malloc/malloc.c (_int_free): Remove locked variable and related
1818 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
1821 * Makerules (build-module-helper-objlist): Filter out
1822 $(elf-objpfx)sofini.os.
1823 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
1826 2017-08-31 Florian Weimer <fweimer@redhat.com>
1828 * libio/fcloseall.c: Assume weak_alias is defined.
1829 * libio/feof.c: Likewise.
1830 * libio/fileno.c: Likewise.
1831 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
1832 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
1834 (_IO_file_open): Call __open directly.
1835 (_IO_new_file_sync): Assume ESPIPE is defined.
1836 (_IO_file_seekoff_maybe_mmap): Call __read directly.
1837 (_IO_new_file_write): Call __write directly.
1838 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
1839 * libio/ftello64.c (__ftello64): Assume EIO is defined.
1840 * libio/genops.c: Assume _LIBC is defined.
1841 (save_for_backup): Remove internal_function.
1842 * libio/getc.c: Assume weak_alias is defined.
1843 * libio/getwc.c: Likewise.
1844 * libio/iofclose.c: Assume _LIBC is defined.
1845 * libio/iofdopen.c: Likewise.
1846 (_IO_fcntl): Remove macro definition.
1847 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
1848 Call __fcntl directly.
1849 * libio/iofflush.c: Assume weak_alias is defined.
1850 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
1852 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
1853 * libio/iofgets.c: Likewise.
1854 * libio/iofopen.c: Assume _LIBC is defined.
1855 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
1856 * libio/iofputs.c: Assume weak_alias is defined.
1857 * libio/iofread.c: Likewise.
1858 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
1859 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
1860 * libio/ioftell.c: Assume weak_alias is defined.
1861 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
1862 * libio/iofwide.c: Assume _LIBC is defined.
1863 (_IO_fwide): Drop SHARED conditional because it is implied by
1865 * libio/iofwrite.c: Assume weak_alias is defined.
1866 * libio/iogetdelim.c: Likewise.
1867 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
1868 * libio/iogetwline.c (wmemcpy): Remove macro definition.
1869 (_IO_getwline): Call __wmemcpy directly.
1870 * libio/iopopen.c: Assume _LIBC is defined.
1871 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
1872 (_IO_close): Remove macro definitions.
1873 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
1875 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
1877 * libio/ioputs.c: Assume weak_alias is defined.
1878 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
1879 * libio/iosetbuffer.c: Assume weak_alias is defined.
1880 * libio/iosetvbuf.c: Likewise.
1881 * libio/ioungetc.c: Likewise.
1882 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
1883 libc_hidden_def, libc_hidden_weak, NULL are defined.
1884 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
1885 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
1887 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
1889 (_IO_old_file_init_internal): Drop SHARED conditional because it
1890 is implied by SHLIB_COMPAT.
1891 (_IO_old_file_fopen): Call __open directly.
1892 (_IO_old_file_sync): Assume ESPIPE is defined.
1893 (_IO_old_file_write): Call __write directly.
1894 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
1895 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
1896 Call __fcntl directly.
1897 * libio/oldiofgetpos.c: Assume weak_alias is defined.
1898 (_IO_old_fgetpos): Assume EIO is defined.
1899 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
1900 (_IO_old_fgetpos64): Assume EIO is defined.
1901 * libio/oldiofsetpos.c: Assume weak_alias is defined.
1902 (_IO_old_fsetpos): Assume EIO is defined.
1903 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
1904 (_IO_old_fsetpos64): Assume EIO is defined.
1905 * libio/oldiopopen.c: Assume _LIBC is defined.
1906 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
1907 (_IO_close): Remove macro definitions.
1908 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
1910 (_IO_old_proc_close): Call __close, __waitpid directly.
1911 * libio/put.c: Assume weak_alias is defined.
1912 * libio/stdfiles.c: Assume _LIBC is defined.
1913 * libio/stdio.c: Likewise.
1914 * libio/wfileops.c: Likewise.
1915 (_IO_wfile_sync): Assume ESPIPE is defined.
1916 * libio/wgenops.c: Assume _LIBC is defined.
1917 (save_for_wbackup): Remove internal_function.
1919 2017-08-31 Florian Weimer <fweimer@redhat.com>
1921 * malloc/malloc.c (top_check): Change return type to void. Remove
1923 * malloc/hooks.c (top_check): Likewise.
1924 (malloc_check, realloc_check, memalign_check): Adjust.
1926 2017-08-30 Joseph Myers <joseph@codesourcery.com>
1929 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
1930 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
1931 sigcontext and namespace requirements.
1932 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
1933 * sysdeps/m68k/sys/ucontext.h: Likewise.
1934 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
1935 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
1936 <bits/sigcontext.h>.
1937 (__ctx): Define earlier.
1938 (mcontext_t): Define structure contents rather than using struct
1940 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
1941 __glibc_reserved1 instead of __reserved.
1942 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
1943 <bits/sigcontext.h>.
1944 (__ctx): Define earlier.
1945 (mcontext_t): Define structure contents rather than using struct
1947 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
1948 mcontext_t instead of struct sigcontext.
1949 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
1950 <bits/sigcontext.h>.
1951 (__ctx): Define earlier.
1952 (mcontext_t): Define structure contents rather than using struct
1954 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
1955 <bits/sigcontext.h>.
1956 (__ctx): Define earlier.
1957 (mcontext_t): Define structure contents rather than using struct
1959 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
1960 mcontext_t instead of struct sigcontext.
1961 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
1962 mcontext_t instead of struct sigcontext.
1963 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
1964 <bits/sigcontext.h>.
1966 (struct __ia64_fpreg_mcontext): New type.
1967 (mcontext_t): Define structure contents rather than using struct
1969 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
1970 (uc_sigmask): Define using __ctx.
1971 (uc_stack): Likewise.
1972 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
1973 <bits/sigcontext.h>.
1974 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1975 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
1976 <bits/sigcontext.h>.
1977 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
1978 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
1979 <bits/sigcontext.h>.
1980 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
1981 <bits/sigcontext.h>.
1982 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
1983 <bits/sigcontext.h>.
1984 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
1985 <bits/sigcontext.h>.
1986 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
1987 <bits/sigcontext.h>.
1988 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
1989 <bits/sigcontext.h>.
1990 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
1991 <bits/sigcontext.h>.
1992 (__ctx): Define earlier.
1993 (mcontext_t): Define structure contents rather than using struct
1995 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
1996 <bits/sigcontext.h>. Include <bits/types.h>.
1997 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
1998 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
1999 (test-xfail-XPG42/ucontext.h/conform): Likewise.
2000 (test-xfail-UNIX98/signal.h/conform): Likewise.
2001 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2002 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2003 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2004 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2005 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2006 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2007 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2008 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2009 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2011 2017-08-30 Florian Weimer <fweimer@redhat.com>
2013 * malloc/dynarray_emplace_enlarge.c
2014 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
2015 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2016 * malloc/tst-dynarray.c (test_long_overflow): New function.
2019 2017-08-30 Florian Weimer <fweimer@redhat.com>
2021 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
2022 (set_arena_corrupt): Remove definitions.
2023 (mtrim): Do not check for corrupt arena.
2024 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
2027 2017-08-30 Florian Weimer <fweimer@redhat.com>
2030 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
2032 (ptmalloc_init): Do not set or use check_action.
2033 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
2034 call to malloc_printerr. Remove return statement.
2035 (free_check): Likewise. Remove arena unlock.
2036 (top_check): Update comment. Adjust call to malloc_printerr.
2037 Remove heap repair code.
2038 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
2039 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
2040 (sysmalloc): Adjust call to malloc_printerr.
2041 (munmap_chunk, __libc_realloc): Likewise. Remove return
2043 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
2044 Remove errout label and corresponding gotos.
2045 (_int_free): Likewise. Remove arena unlock.
2046 (do_set_mallopt_check): Do not set check_action.
2047 (malloc_printerr): Adjust parameter list. Do not mark arena as
2049 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
2051 * manual/probes.texi (Memory Allocation Probes): Remove
2052 memory_mallopt_check_action.
2054 2017-08-30 Steve Ellcey <sellcey@cavium.com>
2056 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
2057 Use pointer to uint64_t instead of long int for sp.
2059 2017-08-30 Florian Weimer <fweimer@redhat.com>
2062 * malloc/malloc.c (malloc_printerr): Always terminate the process,
2063 without printing a backtrace. Do not leak any information in the
2065 * manual/memory.texi (Heap Consistency Checking): Update.
2066 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
2068 2017-08-30 Florian Weimer <fweimer@redhat.com>
2070 Do not scale NPTL tests with available number of CPUs.
2071 * nptl/tst-cond16.c (count): Set to constant value of 8.
2072 * nptl/tst-cond18.c (count): Likewise.
2074 2017-08-29 Joseph Myers <joseph@codesourcery.com>
2077 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
2078 Define to take a second argument that is a macro that
2079 concatentates a suffix, not the suffix itself.
2080 (__CONCAT_d): New macro.
2081 (__CONCAT_f): Likewise.
2082 (__CONCAT_l): Likewise.
2084 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
2086 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
2089 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2090 Aurelien Jarno <aurelien@aurel32.net>
2091 Maciej W. Rozycki <macro@imgtec.com>
2094 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
2095 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
2096 `mips16-syscall6' and `mips16-syscall7'.
2097 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
2098 (CFLAGS-mips16-syscall7.c): Remove.
2099 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
2100 Remove `__mips16_syscall5', `__mips16_syscall6' and
2101 `__mips16_syscall7'.
2102 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
2103 (__mips16_syscall0): Rename `__mips16_syscall_return' to
2104 `__mips_syscall_return'.
2105 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
2106 (__mips16_syscall1): Likewise.
2107 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
2108 (__mips16_syscall2): Likewise.
2109 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
2110 (__mips16_syscall3): Likewise.
2111 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
2112 (__mips16_syscall4): Likewise.
2113 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
2115 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
2117 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
2119 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
2120 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
2121 `__mips16_syscall5'. Remove prototype.
2122 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
2123 `__mips16_syscall6'. Remove prototype.
2124 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
2125 `__mips16_syscall7'. Remove prototype.
2126 (__nomips16, __mips16_syscall_return): Move to...
2127 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
2128 (__nomips16, __mips_syscall_return): ... here.
2129 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
2130 `__mips16_syscall_return' to `__mips_syscall_return'.
2131 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
2132 `internal_syscall##nr'.
2133 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
2134 `internal_syscall##nr'.
2135 (FORCE_FRAME_POINTER): Remove.
2136 (__mips_syscall5): New prototype.
2137 (internal_syscall5): Rewrite to call `__mips_syscall5'.
2138 (__mips_syscall6): New prototype.
2139 (internal_syscall6): Rewrite to call `__mips_syscall6'.
2140 (__mips_syscall7): New prototype.
2141 (internal_syscall7): Rewrite to call `__mips_syscall7'.
2142 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
2143 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
2144 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
2145 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
2146 (sysdep_routines): Add libc-do-syscall.
2147 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
2148 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
2150 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2153 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
2154 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
2155 (advise_stack_range): New function.
2156 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
2157 stack non required to advise_stack_range at allocatestack.c
2159 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2161 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
2163 2017-08-29 Florian Weimer <fweimer@redhat.com>
2166 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
2167 __end_fct. Mangle __end_fct after setting it to NULL.
2168 * iconv/Makefile (tests): Add tst-gconv-init-failure.
2169 (modules-names, modules-names-tests): Add
2170 tst-gconv-init-failure-mod.
2171 (gconv-modules): New target.
2172 (tst-gconv-init-failure-mod.so): Link against libsupport.
2173 (tst-gconv-init-failure): Depend on gconv-modules,
2174 tst-gconv-init-failure-mod.so.
2175 * iconv/tst-gconv-init-failure-mod.c: New file.
2176 * iconv/tst-gconv-init-failure.c: Likewise.
2177 * iconv/test-gconv-modules: Likewise.
2179 2017-08-29 Florian Weimer <fweimer@redhat.com>
2182 * iconv/gconv_db.c (free_derivation): Remove redundant
2184 (gen_steps): Unconditionally mangle __btowc_fct after
2186 (increment_counter): Likewise. Do not call init_fct for internal
2189 2017-08-29 Joseph Myers <joseph@codesourcery.com>
2192 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
2193 (_MSUF_): Remove macro.
2194 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
2196 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
2197 (__REDIRFROM_X): New macro.
2198 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
2200 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
2201 (__REDIRTO_X): Likewise.
2202 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
2204 (__MATH_REDIRCALL_2): Likewise.
2205 (__MATH_REDIRCALL_INTERNAL): Likewise.
2206 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
2207 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
2208 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
2209 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
2210 * math/test-finite-macros.c: New file.
2211 * math/Makefile (tests): Add test-finite-macros.
2212 (CFLAGS-test-finite-macros.c): New variable.
2214 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
2215 Jeff Law <law@redhat.com>
2218 Mangle NULL pointers in iconv/gconv.
2219 * iconv/gconv_cache.c (find_module): Demangle init_fct before
2220 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
2221 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
2222 is non-NULL before demangling the end_fct. Check for NULL
2223 end_fct after demangling.
2224 (__gconv_release_step): Demangle the end_fct before checking
2225 it for NULL. Remove assert on __shlibc_handle != NULL.
2226 (gen_steps): Don't check btowc_fct for NULL before mangling.
2227 Demangle init_fct before checking for NULL.
2228 (increment_counter): Likewise.
2229 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
2230 end_fct for NULL before mangling.
2231 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
2234 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
2237 * locale/iso-639.def: add Morisyen.
2239 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2242 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
2243 (iszero): New C++ implementation that does not use
2244 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
2245 signaling nans are enabled, since __builtin_types_compatible_p
2246 is a C-only feature.
2247 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
2248 defined, include ieee754_float128.h for access to the union and
2249 member ieee854_float128.ieee.
2250 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
2251 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
2252 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
2253 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
2254 options of test-math-zero on powerpc64le.
2256 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
2258 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
2259 Change double to float.
2261 2017-08-28 Joseph Myers <joseph@codesourcery.com>
2263 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
2265 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
2266 conditional code; define contents only for [LIBM_SVID_COMPAT].
2268 2017-08-28 Florian Weimer <fweimer@redhat.com>
2270 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
2271 (abi-lp64_be-options): Remove.
2272 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
2273 (abi-hard-options): Likewise.
2274 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
2275 (abi-o32_hard-options, abi-o32_soft_2008-options)
2276 (abi-o32_hard_2008-options, abi-n32_soft-options)
2277 (abi-n32_hard-options, abi-n32_soft_2008-options)
2278 (abi-n32_hard_2008-options, abi-n64_soft-options)
2279 (abi-n64_hard-options, abi-n64_soft_2008-options)
2280 (abi-n64_hard_2008-options): Likewise.
2281 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
2282 (abi-64-v1-options, abi-64-v2-options): Likewise.
2283 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
2284 (abi-64-options): Likewise.
2285 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
2286 (abi-64-options): Likewise.
2287 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
2288 (abi-64-options): Likewise.
2289 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
2290 (abi-64-options, abi-x32-options): Likewise.
2292 2017-08-28 Florian Weimer <fweimer@redhat.com>
2294 Store supported list of SYS_* system calls in the source tree.
2295 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2296 (bits/syscall.h): Generate from list file.
2297 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
2298 [$(subdir) = misc] (tests): Add tst-syscall-list.
2299 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
2300 [$(subdir) = misc] (tst-syscall-list-macros.list)
2301 [$(subdir) = misc] (tst-syscall-list-nr.list)
2302 (tst-syscall-list-sys.list): Helper targets for new
2303 tst-syscall-list test.
2304 [$(subdir) = misc] (tst-syscall-list.out): Run test script
2305 tst-syscall-list.sh.
2306 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
2307 target. Do not include bits/syscall.d.
2308 [$(subdir) = misc] (generated): Do not update.
2309 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
2310 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
2311 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
2312 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
2314 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2316 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
2317 (tst-cxa_atexit, tst-on_exit): Likewise.
2318 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
2319 tst-cxa_atexit, and tst-on_exit.
2320 * stdlib/tst-atexit-common.c: New file.
2321 * stdlib/tst-atexit.c: New file.
2322 * stdlib/tst-at_quick_exit.c: New file.
2323 * stdlib/tst-cxa_atexit.c: New file.
2324 * stdlib/tst-on_exit.c: New file.
2326 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2328 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
2329 * mach/stack_chk_fail_local.c: New file.
2330 * hurd/stack_chk_fail_local.c: New file.
2331 * mach/Machrules ($(interface-library)-routines): Add
2332 stack_chk_fail_local.
2333 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
2334 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
2335 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
2336 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
2337 * hurd/Makefile (CFLAGS-hurdstartup.o,
2338 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2340 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
2342 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
2343 (index_cpu_*, index_arch_*): Removed.
2345 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2347 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
2348 Use uint64_t instead of unsigned long.
2350 2017-08-25 Joseph Myers <joseph@codesourcery.com>
2352 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
2353 [__HAVE_DISTINCT_FLOAT128].
2355 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
2356 of <bits/math-finite.h>.
2357 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
2358 inclusion of <bits/math-finite.h>.
2359 * math/bits/math-finite.h (__REDIRTO_X): Do not define
2360 conditionally on [__MATH_DECLARING_LDOUBLE && defined
2361 __NO_LONG_DOUBLE_MATH].
2362 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
2363 (__MATH_REDIRCALL_2): Likewise.
2364 (__MATH_REDIRCALL_INTERNAL): Likewise.
2365 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
2366 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
2367 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
2369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
2371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
2373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
2375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
2377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
2379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
2381 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
2382 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
2383 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
2384 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
2385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2386 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
2387 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
2388 w_sqrtf_compat-ppc32.
2390 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2392 * math/math.h [defined __cplusplus] (issignaling): In the long
2393 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
2394 is not defined. Call __issignaling, otherwise.
2396 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2398 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
2399 syscall definitions and replace __builtin_expect with __glibc_likely.
2400 * sysdeps/unix/syscall-template.S: Update comment about cancellable
2402 (SYSCALL_CANCELLABLE): Removedefinition
2403 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
2405 (PSEUDO_END): Likewise.
2406 [IS_IN (libpthread)] (CENABLE): Likewise.
2407 [IS_IN (libpthread)] (CDISABLE): Likewise.
2408 [IS_IN (libc)] (CENABLE): Likewise.
2409 [IS_IN (libc)] (CENABLE): Likewise.
2410 [IS_IN (librt)] (CDISABLE): Likewise.
2411 [IS_IN (librt)] (CDISABLE): Likewise.
2412 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2413 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
2415 (PSEUDO_END): Likewise.
2416 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
2417 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
2418 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
2419 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
2420 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
2421 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
2422 (CENABLE): Likewise.
2423 (CDISABLE): Likewise.
2424 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2425 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
2427 (PSEUDO_END): Likewise.
2428 [IS_IN (libpthread)] (CENABLE): Likewise.
2429 [IS_IN (libpthread)] (CDISABLE): Likewise.
2430 [IS_IN (libc)] (CENABLE): Likewise.
2431 [IS_IN (libc)] (CENABLE): Likewise.
2432 [IS_IN (librt)] (CDISABLE): Likewise.
2433 [IS_IN (librt)] (CDISABLE): Likewise.
2434 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2435 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
2437 (PSEUDO_END): Likewise.
2438 [IS_IN (libpthread)] (CENABLE): Likewise.
2439 [IS_IN (libpthread)] (CDISABLE): Likewise.
2440 [IS_IN (libc)] (CENABLE): Likewise.
2441 [IS_IN (libc)] (CENABLE): Likewise.
2442 [IS_IN (librt)] (CDISABLE): Likewise.
2443 [IS_IN (librt)] (CDISABLE): Likewise.
2444 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2445 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
2447 (PSEUDO_END): Likewise.
2448 [IS_IN (libpthread)] (CENABLE): Likewise.
2449 [IS_IN (libpthread)] (CDISABLE): Likewise.
2450 [IS_IN (libc)] (CENABLE): Likewise.
2451 [IS_IN (libc)] (CENABLE): Likewise.
2452 [IS_IN (librt)] (CDISABLE): Likewise.
2453 [IS_IN (librt)] (CDISABLE): Likewise.
2454 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2455 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
2457 (PSEUDO_END): Likewise.
2458 [IS_IN (libpthread)] (CENABLE): Likewise.
2459 [IS_IN (libpthread)] (CDISABLE): Likewise.
2460 [IS_IN (libc)] (CENABLE): Likewise.
2461 [IS_IN (libc)] (CENABLE): Likewise.
2462 [IS_IN (librt)] (CDISABLE): Likewise.
2463 [IS_IN (librt)] (CDISABLE): Likewise.
2464 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2465 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
2467 (PSEUDO_END): Likewise.
2468 [IS_IN (libpthread)] (CENABLE): Likewise.
2469 [IS_IN (libpthread)] (CDISABLE): Likewise.
2470 [IS_IN (libc)] (CENABLE): Likewise.
2471 [IS_IN (libc)] (CENABLE): Likewise.
2472 [IS_IN (librt)] (CDISABLE): Likewise.
2473 [IS_IN (librt)] (CDISABLE): Likewise.
2474 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2475 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
2477 (PSEUDO_END): Likewise.
2478 [IS_IN (libpthread)] (CENABLE): Likewise.
2479 [IS_IN (libpthread)] (CDISABLE): Likewise.
2480 [IS_IN (libc)] (CENABLE): Likewise.
2481 [IS_IN (libc)] (CENABLE): Likewise.
2482 [IS_IN (librt)] (CDISABLE): Likewise.
2483 [IS_IN (librt)] (CDISABLE): Likewise.
2484 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2485 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
2487 (PSEUDO_END): Likewise.
2488 [IS_IN (libpthread)] (CENABLE): Likewise.
2489 [IS_IN (libpthread)] (CDISABLE): Likewise.
2490 [IS_IN (libc)] (CENABLE): Likewise.
2491 [IS_IN (libc)] (CENABLE): Likewise.
2492 [IS_IN (librt)] (CDISABLE): Likewise.
2493 [IS_IN (librt)] (CDISABLE): Likewise.
2494 (SINGLE_THREAD_P): Likewise.
2495 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
2497 (PSEUDO_END): Likewise.
2498 [IS_IN (libpthread)] (CENABLE): Likewise.
2499 [IS_IN (libpthread)] (CDISABLE): Likewise.
2500 [IS_IN (libc)] (CENABLE): Likewise.
2501 [IS_IN (libc)] (CENABLE): Likewise.
2502 [IS_IN (librt)] (CDISABLE): Likewise.
2503 [IS_IN (librt)] (CDISABLE): Likewise.
2504 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2505 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
2507 (PSEUDO_END): Likewise.
2508 [IS_IN (libpthread)] (CENABLE): Likewise.
2509 [IS_IN (libpthread)] (CDISABLE): Likewise.
2510 [IS_IN (libc)] (CENABLE): Likewise.
2511 [IS_IN (libc)] (CENABLE): Likewise.
2512 [IS_IN (librt)] (CDISABLE): Likewise.
2513 [IS_IN (librt)] (CDISABLE): Likewise.
2514 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2515 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
2516 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2517 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
2518 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
2520 (PSEUDO_END): Likewise.
2521 [IS_IN (libpthread)] (CENABLE): Likewise.
2522 [IS_IN (libpthread)] (CDISABLE): Likewise.
2523 [IS_IN (libc)] (CENABLE): Likewise.
2524 [IS_IN (libc)] (CENABLE): Likewise.
2525 [IS_IN (librt)] (CDISABLE): Likewise.
2526 [IS_IN (librt)] (CDISABLE): Likewise.
2527 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2528 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
2530 (PSEUDO_END): Likewise.
2531 [IS_IN (libpthread)] (CENABLE): Likewise.
2532 [IS_IN (libpthread)] (CDISABLE): Likewise.
2533 [IS_IN (libc)] (CENABLE): Likewise.
2534 [IS_IN (libc)] (CENABLE): Likewise.
2535 [IS_IN (librt)] (CDISABLE): Likewise.
2536 [IS_IN (librt)] (CDISABLE): Likewise.
2537 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2538 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
2540 (PSEUDO_END): Likewise.
2541 [IS_IN (libpthread)] (CENABLE): Likewise.
2542 [IS_IN (libpthread)] (CDISABLE): Likewise.
2543 [IS_IN (libc)] (CENABLE): Likewise.
2544 [IS_IN (libc)] (CENABLE): Likewise.
2545 [IS_IN (librt)] (CDISABLE): Likewise.
2546 [IS_IN (librt)] (CDISABLE): Likewise.
2547 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2548 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
2549 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2550 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
2551 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
2553 (PSEUDO_END): Likewise.
2554 [IS_IN (libpthread)] (CENABLE): Likewise.
2555 [IS_IN (libpthread)] (CDISABLE): Likewise.
2556 [IS_IN (libc)] (CENABLE): Likewise.
2557 [IS_IN (libc)] (CENABLE): Likewise.
2558 [IS_IN (librt)] (CDISABLE): Likewise.
2559 [IS_IN (librt)] (CDISABLE): Likewise.
2560 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2561 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
2563 (PSEUDO_END): Likewise.
2564 [IS_IN (libpthread)] (CENABLE): Likewise.
2565 [IS_IN (libpthread)] (CDISABLE): Likewise.
2566 [IS_IN (libc)] (CENABLE): Likewise.
2567 [IS_IN (libc)] (CENABLE): Likewise.
2568 [IS_IN (librt)] (CDISABLE): Likewise.
2569 [IS_IN (librt)] (CDISABLE): Likewise.
2570 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2572 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2574 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
2576 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
2578 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2580 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
2583 * string/stratcliff.c (do_test): Declare size, nchars, inner,
2584 middle and outer with size_t instead of int. Repleace %d and
2585 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
2586 "MAX (outer, nchars - 64)" to support unsigned outer and
2587 nchars. Also exit loop when outer == 0.
2589 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2591 * include/fcntl.h (__fcntl_nocancel): Remove definition.
2592 * include/signal.h (__sigsuspend_nocancel): Likewise.
2593 * include/time.h (__nanosleep_nocancel): Likewise.
2594 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
2595 * login/utmp_file.c: Include non cancellable syscall header.
2596 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
2599 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
2601 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
2602 .byte sequences with AVX512F instructions.
2603 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
2604 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
2605 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
2606 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
2608 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
2611 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
2612 Steve Ellcey <sellcey@cavium.com>
2614 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
2615 Use PTR_REG macro in cmp instruction.
2617 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2619 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
2620 Change the return type of the ifunc resolver to match the return
2621 type of the target function.
2623 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2625 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
2626 (preadv64): Likewise.
2627 (pwrite64(: Likewise.
2628 (pwritev64): Likewise.
2630 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2631 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
2632 (LOAD_ARGS_0): Likewise.
2633 (LOAD_ARGS_1): Likewise.
2634 (LOAD_ARGS_2): Likewise.
2635 (LOAD_ARGS_3): Likewise.
2636 (LOAD_ARGS_4): Likewise.
2637 (LOAD_ARGS_5): Likewise.
2638 (LOAD_ARGS_6): Likewise.
2639 (LOAD_REGS_0): Likewise.
2640 (LOAD_REGS_1): Likewise.
2641 (LOAD_REGS_2): Likewise.
2642 (LOAD_REGS_3): Likewise.
2643 (LOAD_REGS_4): Likewise.
2644 (LOAD_REGS_5): Likewise.
2645 (LOAD_REGS_6): Likewise.
2646 (ASM_ARGS_0): Likewise.
2647 (ASM_ARGS_1): Likewise.
2648 (ASM_ARGS_2): Likewise.
2649 (ASM_ARGS_3): Likewise.
2650 (ASM_ARGS_4): Likewise.
2651 (ASM_ARGS_5): Likewise.
2652 (ASM_ARGS_6): Likewise.
2653 (LOAD_ARGS_TYPES_1): Likewise.
2654 (LOAD_ARGS_TYPES_2): Likewise.
2655 (LOAD_ARGS_TYPES_3): Likewise.
2656 (LOAD_ARGS_TYPES_4): Likewise.
2657 (LOAD_ARGS_TYPES_5): Likewise.
2658 (LOAD_ARGS_TYPES_6): Likewise.
2659 (LOAD_REGS_TYPES_1): Likewise.
2660 (LOAD_REGS_TYPES_2): Likewise.
2661 (LOAD_REGS_TYPES_3): Likewise.
2662 (LOAD_REGS_TYPES_4): Likewise.
2663 (LOAD_REGS_TYPES_5): Likewise.
2664 (LOAD_REGS_TYPES_6): Likewise.
2665 (TYPEFY): New define.
2667 (internal_syscall0): Likewise.
2668 (internal_syscall1): Likewise.
2669 (internal_syscall2): Likewise.
2670 (internal_syscall3): Likewise.
2671 (internal_syscall4): Likewise.
2672 (internal_syscall5): Likewise.
2673 (internal_syscall6): Likewise.
2674 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
2675 (INTERNAL_SYSCALL_NCS): Remove define.
2676 (internal_syscall1): Add define.
2678 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2680 * math/w_remainder_compat.c: Remove duplicate inclusion of
2682 * math/w_remainderf_compat.c: Likewise.
2683 * math/w_remainderl_compat.c: Likewise.
2685 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2689 2017-08-22 Joseph Myers <joseph@codesourcery.com>
2692 * math/tgmath.h (__floating_type): Simplify definitions.
2693 (__real_integer_type): New macro.
2694 (__complex_integer_type): Likewise.
2695 (__expr_is_real): Likewise.
2696 (__tgmath_real_type_sub): Update comment to describe handling of
2698 (__tgmath_complex_type_sub): New macro.
2699 (__tgmath_complex_type): Likewise.
2700 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2701 (__TGMATH_CF128): Use __expr_is_real.
2702 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
2704 (__TGMATH_BINARY_REAL_IMAG): Likewise.
2705 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
2706 * math/gen-tgmath-tests.py (Type.create_type): Create complex
2709 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2711 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
2713 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
2715 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
2718 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
2719 nanosleep_not_cancel with __nanosleep_nocancel.
2720 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
2721 (__nanosleep_nocancel): New macro.
2722 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
2724 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
2726 (__nanosleep_nocancel): New prototype.
2728 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
2729 pause_not_cancel with __pause_nocancel.
2730 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
2731 (__pause_nocancel): New macro.
2732 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
2734 (__pause_nocancel): New prototype.
2735 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
2737 2017-08-22 Martin Sebor <msebor@redhat.com>
2739 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
2740 to return a pointer to the same type as the target function.
2742 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
2746 * include/printf.h (__printf_fphex): Add attribute_hidden.
2747 (__guess_grouping): New prototype.
2748 * stdio-common/printf_fp.c (__guess_grouping): Removed.
2749 * stdio-common/reg-printf.c (__register_printf_specifier): Add
2750 libc_hidden_proto and libc_hidden_def.
2751 * stdlib/strfmon_l.c (__guess_grouping): Removed.
2752 (__vstrfmon_l): Remove the third argument passed to
2755 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2757 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
2758 definition for issignaling that does not rely on __MATH_TG,
2759 since __MATH_TG uses __builtin_types_compatible_p, which is only
2760 available in C mode.
2761 (CFLAGS-test-math-issignaling.cc): New variable.
2762 * math/Makefile [CXX] (tests): Add test-math-issignaling.
2763 * math/test-math-issignaling.cc: New test for C++ implementation
2764 of type-generic issignaling.
2765 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
2766 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
2767 options of test-math-issignaling on powerpc64le.
2769 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
2771 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
2773 (hidden_proto): Likewise.
2774 (hidden_tls_proto): Likewise.
2775 (__hidden_proto): Likewise.
2777 2017-08-22 Florian Weimer <fweimer@redhat.com>
2779 math: Statically link tests of internal functionality.
2780 * math/Makefile (tests): Remove atest-exp, atest-sincos,
2782 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
2783 (gmp-objs): Remove assignment.
2784 (atest-exp, atest-sincos, atest-exp2): Remove targets.
2786 2017-08-22 Joseph Myers <joseph@codesourcery.com>
2789 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
2791 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
2793 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
2796 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
2797 variable definitions above inclusion of ../Rules.
2799 2017-08-21 Joseph Myers <joseph@codesourcery.com>
2801 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
2802 case calling __builtin_unreachable.
2804 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2806 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
2808 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
2809 (__waitpid_nocancel): New macro.
2810 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
2812 (__waitpid_nocancel): Replace macro with a function.
2813 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
2816 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
2818 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
2819 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
2821 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
2822 __writev_nocancel_nostatus.
2823 (write_call_graph): Likewise.
2824 (write_bb_counts): Likewise.
2825 * resolv/herror.c (herror): Likewise.
2826 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
2828 (__writev_nocancel_nostatus): New macro.
2829 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
2831 (__writev_nocancel_nostatus): New function.
2833 2017-08-21 Joseph Myers <joseph@codesourcery.com>
2836 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2838 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
2840 (hidden_proto): Likewise.
2841 (hidden_tls_proto): Likewise.
2842 (__hidden_proto): Likewise.
2845 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
2846 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
2847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
2849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
2851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
2853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
2855 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
2856 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
2857 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
2858 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
2859 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
2860 GLIBC_2.0 sqrtl symbol.
2862 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
2863 [__USE_MISC] (_LIB_VERSION): Likewise.
2864 [__USE_MISC] (struct exception): Likewise.
2865 [__USE_MISC] (matherr): Likewise.
2866 [__USE_MISC] (DOMAIN): Likewise.
2867 [__USE_MISC] (SING): Likewise.
2868 [__USE_MISC] (OVERFLOW): Likewise.
2869 [__USE_MISC] (UNDERFLOW): Likewise.
2870 [__USE_MISC] (TLOSS): Likewise.
2871 [__USE_MISC] (PLOSS): Likewise.
2872 [__USE_MISC] (HUGE): Likewise.
2873 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
2874 * math/math-svid-compat.h: New file.
2875 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
2877 * include/math.h [!_ISOMAC] (__matherr): Remove.
2878 * manual/arith.texi (FP Exceptions): Do not document matherr.
2879 * math/Makefile (tests): Change test-matherr to test-matherr-3.
2880 (tests-internal): New variable.
2881 (install-lib): Do not add libieee.a.
2882 (non-lib.a): Likewise.
2883 (extra-objs): Do not add libieee.a and ieee-math.o.
2884 (CPPFLAGS-s_lib_version.c): Remove variable.
2885 ($(objpfx)libieee.a): Remove rule.
2886 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
2887 * math/ieee-math.c: Remove.
2888 * math/libm-test-support.c (matherr): Remove.
2889 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
2890 and license notices. Include <math-svid-compat.h> and
2892 (matherr): Undefine as macro. Use compat_symbol_reference.
2893 (_LIB_VERSION): Likewise.
2894 * math/test-matherr-2.c: New file.
2895 * math/test-matherr-3.c: Likewise.
2896 * sysdeps/generic/math_private.h (__kernel_standard): Remove
2898 (__kernel_standard_f): Likewise.
2899 (__kernel_standard_l): Likewise.
2900 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
2901 <math_private.h>. Include <math-svid-compat.h>.
2902 (_LIB_VERSION): Undefine as macro.
2903 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
2904 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
2905 [LIBM_SVID_COMPAT], use compat_symbol.
2906 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
2907 <math_private.h>. Include <math-svid-compat.h>.
2908 (matherr): Undefine as macro.
2909 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
2911 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
2912 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
2913 compat_symbol_reference.
2914 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
2915 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
2916 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
2917 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
2918 (MATHERR_D): Remove declaration.
2919 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
2920 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
2921 [LIBM_BUILD] (pmatherrf): Likewise.
2922 [LIBM_BUILD] (pmatherr): Likewise.
2923 [LIBM_BUILD] (pmatherrl): Likewise.
2926 (OVERFLOW): Likewise.
2927 (UNDERFLOW): Likewise.
2930 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
2931 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
2933 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
2934 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
2936 * math/lgamma-compat.h: Include <math-svid-compat.h>.
2937 * math/w_acos_compat.c: Likewise.
2938 * math/w_acosf_compat.c: Likewise.
2939 * math/w_acosh_compat.c: Likewise.
2940 * math/w_acoshf_compat.c: Likewise.
2941 * math/w_acoshl_compat.c: Likewise.
2942 * math/w_acosl_compat.c: Likewise.
2943 * math/w_asin_compat.c: Likewise.
2944 * math/w_asinf_compat.c: Likewise.
2945 * math/w_asinl_compat.c: Likewise.
2946 * math/w_atan2_compat.c: Likewise.
2947 * math/w_atan2f_compat.c: Likewise.
2948 * math/w_atan2l_compat.c: Likewise.
2949 * math/w_atanh_compat.c: Likewise.
2950 * math/w_atanhf_compat.c: Likewise.
2951 * math/w_atanhl_compat.c: Likewise.
2952 * math/w_cosh_compat.c: Likewise.
2953 * math/w_coshf_compat.c: Likewise.
2954 * math/w_coshl_compat.c: Likewise.
2955 * math/w_exp10_compat.c: Likewise.
2956 * math/w_exp10f_compat.c: Likewise.
2957 * math/w_exp10l_compat.c: Likewise.
2958 * math/w_exp2_compat.c: Likewise.
2959 * math/w_exp2f_compat.c: Likewise.
2960 * math/w_exp2l_compat.c: Likewise.
2961 * math/w_fmod_compat.c: Likewise.
2962 * math/w_fmodf_compat.c: Likewise.
2963 * math/w_fmodl_compat.c: Likewise.
2964 * math/w_hypot_compat.c: Likewise.
2965 * math/w_hypotf_compat.c: Likewise.
2966 * math/w_hypotl_compat.c: Likewise.
2967 * math/w_j0_compat.c: Likewise.
2968 * math/w_j0f_compat.c: Likewise.
2969 * math/w_j0l_compat.c: Likewise.
2970 * math/w_j1_compat.c: Likewise.
2971 * math/w_j1f_compat.c: Likewise.
2972 * math/w_j1l_compat.c: Likewise.
2973 * math/w_jn_compat.c: Likewise.
2974 * math/w_jnf_compat.c: Likewise.
2975 * math/w_jnl_compat.c: Likewise.
2976 * math/w_lgamma_main.c: Likewise.
2977 * math/w_lgamma_r_compat.c: Likewise.
2978 * math/w_lgammaf_main.c: Likewise.
2979 * math/w_lgammaf_r_compat.c: Likewise.
2980 * math/w_lgammal_main.c: Likewise.
2981 * math/w_lgammal_r_compat.c: Likewise.
2982 * math/w_log10_compat.c: Likewise.
2983 * math/w_log10f_compat.c: Likewise.
2984 * math/w_log10l_compat.c: Likewise.
2985 * math/w_log2_compat.c: Likewise.
2986 * math/w_log2f_compat.c: Likewise.
2987 * math/w_log2l_compat.c: Likewise.
2988 * math/w_log_compat.c: Likewise.
2989 * math/w_logf_compat.c: Likewise.
2990 * math/w_logl_compat.c: Likewise.
2991 * math/w_pow_compat.c: Likewise.
2992 * math/w_powf_compat.c: Likewise.
2993 * math/w_powl_compat.c: Likewise.
2994 * math/w_remainder_compat.c: Likewise.
2995 * math/w_remainderf_compat.c: Likewise.
2996 * math/w_remainderl_compat.c: Likewise.
2997 * math/w_scalb_compat.c: Likewise.
2998 * math/w_scalbf_compat.c: Likewise.
2999 * math/w_scalbl_compat.c: Likewise.
3000 * math/w_sinh_compat.c: Likewise.
3001 * math/w_sinhf_compat.c: Likewise.
3002 * math/w_sinhl_compat.c: Likewise.
3003 * math/w_sqrt_compat.c: Likewise.
3004 * math/w_sqrtf_compat.c: Likewise.
3005 * math/w_sqrtl_compat.c: Likewise.
3006 * math/w_tgamma_compat.c: Likewise.
3007 * math/w_tgammaf_compat.c: Likewise.
3008 * math/w_tgammal_compat.c: Likewise.
3009 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
3010 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
3011 * sysdeps/ieee754/k_standard.c: Likewise.
3012 * sysdeps/ieee754/k_standardf.c: Likewise.
3013 * sysdeps/ieee754/k_standardl.c: Likewise.
3014 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
3015 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
3016 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
3017 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
3018 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
3019 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
3020 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
3021 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
3022 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
3023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
3025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
3027 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
3028 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
3029 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
3030 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
3032 2017-08-21 Florian Weimer <fweimer@redhat.com>
3035 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
3036 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
3037 Move before inclusion of ../Rules.
3039 2017-08-21 Florian Weimer <fweimer@redhat.com>
3042 * assert/assert.h (assert): Use static_cast (bool) for C++.
3043 Use the ternary operator in the warning branch for GNU C.
3044 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
3045 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
3046 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
3047 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
3048 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
3050 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3053 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3054 (__syscall_clock_gettime): Add attribute_hidden.
3055 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
3056 (__start_context): Likewise.
3058 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3060 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
3062 (hidden_proto): Likewise.
3063 (hidden_tls_proto): Likewise.
3064 (__hidden_proto): Likewise.
3066 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3068 * include/libc-symbols.h (attribute_hidden): Enable hidden
3069 visibility in libc.a compiled with PIE.
3071 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3074 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
3075 Add attribute_hidden.
3077 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3080 * Makerules (all-nonlib): Add $(others-extras).
3081 * catgets/Makefile (others-extras): New.
3082 * elf/Makefile (others-extras): Likewise.
3083 * nss/Makefile (others-extras): Likewise.
3085 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3088 * csu/libc-start.c (__libc_multiple_libcs): Removed.
3089 * elf/dl-open.c: Include <libc-internal.h>.
3090 (__libc_multiple_libcs): Removed.
3091 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
3093 * include/libc-internal.h (__libc_multiple_libcs): New.
3094 * misc/sbrk.c: Include <libc-internal.h>.
3095 (__libc_multiple_libcs): Removed.
3097 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3100 * grp/initgroups.c (__nss_group_database): Removed.
3101 (__nss_initgroups_database): Likewise.
3102 * nscd/gai.c (__nss_hosts_database): Likewise.
3103 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
3104 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
3105 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
3106 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
3107 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
3108 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
3110 * nss/nsswitch.c (__nss_database_custom): Define only if
3111 USE_NSCD is defined.
3112 (__nss_configure_lookup): Use __nss_database_custom only if
3113 USE_NSCD is defined.
3114 * nss/nsswitch.h (__nss_database_custom): Declare only if
3115 USE_NSCD is defined. Add attribute_hidden.
3116 (__nss_setent): Add attribute_hidden.
3117 (__nss_endent): Likewise.
3118 (__nss_getent_r): Likewise.
3119 (__nss_getent): Likewise.
3120 (DEFINE_DATABASE): Declare __nss_##arg##_database.
3122 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3125 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
3126 libc_hidden_proto and libc_hidden_def.
3128 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3131 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
3132 Add libc_hidden_proto.
3133 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
3134 Add libc_hidden_def.
3136 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3139 * gmon/Makefile (routines): Remove bb_init_func and
3141 (elide-routines.os): Removed.
3142 * gmon/bb_exit_func.c: Likewise.
3143 * gmon/bb_init_func.c: Likewise.
3144 * include/sys/gmon.h (__bb): Likewise.
3145 (__bb_init_func): Likewise.
3146 (__bb_exit_func): Likewise.
3147 * sysdeps/alpha/bb_init_func.S: Likewise.
3149 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3151 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
3152 * include/setjmp.h (____longjmp_chk): Here. Add
3155 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
3158 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
3160 (__strspn_sse2): Likewise.
3162 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3164 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
3165 (close_not_cancel_no_status): Likewise.
3166 (__close_nocancel): New macro.
3167 (__close_nocancel_nostatus): Likewise.
3168 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
3170 (close_not_cancel): Likewise.
3171 (close_not_cancel_no_status): Likewise.
3172 (__close_nocancel): New prototype.
3173 (__close_nocancel_nostatus): New function.
3174 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
3175 * catgets/open_catalog.c (__open_catalog): Replace
3176 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
3177 * gmon/gmon.c (write_gmon): Likewise.
3178 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3179 * intl/loadmsgcat.c (close): Likewise.
3180 * io/ftw.c (open_dir_stream): Likewise.
3181 (ftw_startup): Likewise.
3182 * libio/fileops.c (_IO_file_open): Likewise.
3183 (_IO_file_close_mmap): Likewise.
3184 (_IO_file_close): Likewise.
3185 * libio/iopopen.c (_IO_dup2): Likewise.
3186 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3187 * locale/loadlocale.c (_nl_load_locale): Likewise.
3188 * login/utmp_file.c (pututline_file): Likewise.
3189 (endutent_file): Likewise.
3190 * misc/daemon.c (daemon): Likewise.
3191 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3192 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3193 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
3194 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3195 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3196 * nscd/nscd_helper.c (open_socket): Likewise.
3197 (__nscd_open_socket): Likewise.
3198 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3199 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
3200 (__nscd_innetgr): Likewise.
3201 * nss/nss_db/db-open.c (internal_setent): Likewise.
3202 * resolv/res-close.c (__res_iclose): Likewise.
3203 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
3204 * sysdeps/posix/closedir.c (__closedir): Likewise.
3205 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
3206 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3207 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
3208 (opendir_tail): Likewise.
3209 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3210 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
3211 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3212 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3213 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
3214 (gethostid): Likewise.
3215 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
3216 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3218 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3219 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
3220 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
3221 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
3223 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
3224 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
3225 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
3227 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
3228 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3230 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3232 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3233 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
3234 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
3237 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
3238 (openat_not_cancel_3): Likewise.
3239 (openat64_not_cancel_3): Likewise).
3240 (openat_not_cancel_3): Likewise).
3241 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
3243 (openat_not_cancel_3): Likewise.
3244 (openat64_not_cancel): Likewise.
3245 (openat64_not_cancel_3): Likewise.
3246 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
3247 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
3248 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
3249 __open{64}_nocancel.
3250 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
3251 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3252 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3254 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
3257 * include/argz.h (__argz_create_sep): New function prototype.
3258 (__argz_append): Likewise.
3259 (__argz_add): Likewise.
3260 (__argz_add_sep): Likewise.
3261 (__argz_delete): Likewise.
3262 (__argz_insert): Likewise.
3263 (__argz_replace): Likewise.
3264 * string/argz.h (__argz_create_sep): Removed.
3265 (__argz_append): Likewise.
3266 (__argz_add): Likewise.
3267 (__argz_add_sep): Likewise.
3268 (__argz_delete): Likewise.
3269 (__argz_insert): Likewise.
3270 (__argz_replace): Likewise.
3272 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
3274 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
3275 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
3276 (GNU_PROPERTY_STACK_SIZE): Likewie.
3277 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
3278 (GNU_PROPERTY_LOPROC): Likewise.
3279 (GNU_PROPERTY_HIPROC): Likewise.
3280 (GNU_PROPERTY_LOUSER): Likewise.
3281 (GNU_PROPERTY_HIUSER): Likewise.
3282 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
3283 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
3284 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
3285 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
3286 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
3287 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
3288 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
3289 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
3290 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
3291 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
3292 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
3293 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
3294 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
3295 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
3296 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
3297 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
3298 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
3299 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
3300 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
3301 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
3302 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
3303 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
3304 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
3306 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3308 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
3311 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3314 * math/math.h (isinf): Check if in C or C++ mode before using
3315 __builtin_types_compatible_p, since this is a C mode feature.
3317 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3319 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
3320 (__write_nocancel): New macro.
3321 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
3322 Rewrite as a function prototype.
3323 (write_not_cancel): Remove macro.
3324 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
3325 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
3326 (write_gmon): Likewise.
3327 * libio/fileops.c (_IO_new_file_write): Likewise.
3328 * login/utmp_file.c (pututline_file): Likewise.
3329 (updwtmp_file): Likewise.
3330 * stdio-common/psiginfo.c (psiginfo): Likewise.
3331 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3332 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
3333 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
3335 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3338 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
3339 (__read_nocancel): New macro.
3340 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
3342 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
3344 (__read_nocancel): New prototype.
3345 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
3346 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
3347 with __read_nocancel.
3348 * intl/loadmsgcat.c (read): Likewise.
3349 * libio/fileops.c (_IO_file_read): Likewise.
3350 * locale/loadlocale.c (_nl_load_locale): Likewise.
3351 * login/utmp_file.c (getutent_r_file): Likewise.
3352 (internal_getut_r): Likewise.
3353 (getutline_r_file): Likewise.
3354 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
3355 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3356 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
3357 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3359 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
3360 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
3361 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
3363 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
3365 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
3367 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3369 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
3371 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
3374 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
3375 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
3378 2017-08-17 DJ Delorie <dj@redhat.com>
3380 * bug17079.c: Update to new test harness.
3381 * test-digits-dots.c: Likewise.
3382 * test-netdb.c: Likewise.
3383 * tst-field.c: Likewise.
3384 * tst-nss-getpwent.c: Likewise.
3385 * tst-nss-static.c: Likewise.
3386 * tst-nss-test1.c: Likewise.
3387 * tst-nss-test2.c: Likewise.
3388 * tst-nss-test3.c: Likewise.
3389 * tst-nss-test4.c: Likewise.
3390 * tst-nss-test5.c: Likewise.
3392 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3394 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
3395 (open_not_cancel_2): Likewise.
3396 (open_nocancel): New macro.
3397 (open64_nocancel): Likewise.
3398 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
3399 (open_not_cancel_2): Likewise.
3400 (__open_nocancel): New prototype.
3401 (__open64_nocancel): Likewise.
3402 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
3404 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
3405 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
3406 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
3407 with __open_nocancel.
3408 * csu/check_fds.c (check_one_fd): Likewise.
3409 * gmon/gmon.c (write_gmon): Likewise.
3410 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
3411 * intl/loadmsgcat.c (open): Likewise.
3412 * libio/fileops.c (_IO_file_open): Likewise.
3413 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3414 * locale/loadlocale.c (_nl_load_locale): Likewise.
3415 * login/utmp_file.c (setutent_file): Likewise.
3416 * misc/daemon.c (daemon): Likewise.
3417 * nss/nss_db/db-open.c (internal_setent): Likewise.
3418 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
3419 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
3420 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
3421 (__opendir): Likewise.
3422 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3423 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
3424 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
3425 (gethostid): Likewise.
3426 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
3427 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3429 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3430 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
3431 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
3432 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
3434 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
3436 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
3438 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3440 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3442 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3444 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3445 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
3447 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
3449 * benchtests/bench-skeleton.c (main): Add support for
3450 latency benchmarking.
3451 * benchtests/scripts/bench.py: Add support for latency benchmarking.
3453 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
3455 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
3458 2017-08-17 Florian Weimer <fweimer@redhat.com>
3460 * include/sys/socket.h (__opensock): Remove internal_function.
3461 * socket/opensock.c (__opensock): Likewise.
3462 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
3464 2017-08-16 Joseph Myers <joseph@codesourcery.com>
3467 * signal/bits/types/__sigval_t.h: New file.
3468 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
3469 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
3470 and define sigval_t using __sigval_t.
3471 * include/bits/types/__sigval_t.h: New file.
3472 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
3473 instead of <bits/types/__sigval_t.h>.
3474 (struct sigevent): Use __sigval_t instead of sigval_t.
3475 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
3476 instead of <bits/types/__sigval_t.h>.
3477 (siginfo_t): Use __sigval_t instead of sigval_t.
3478 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
3479 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
3480 (struct sigevent): Use __sigval_t instead of sigval_t.
3481 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
3482 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
3483 (siginfo_t): Use __sigval_t instead of sigval_t.
3484 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
3486 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
3488 * NEWS: Remove "[Add new features here]" for 2.27.
3490 2017-08-16 Joseph Myers <joseph@codesourcery.com>
3492 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
3495 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
3497 * NEWS: Mention x86-64 FMA optimization.
3499 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
3502 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3504 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
3505 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
3506 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
3508 2017-08-16 Andreas Schwab <schwab@suse.de>
3512 * elf/ldd.bash.in: Never run file directly.
3514 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
3517 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
3518 (L(SP_INF_0)): Likewise.
3520 2017-08-15 Florian Weimer <fweimer@redhat.com>
3522 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
3525 2017-08-15 Florian Weimer <fweimer@redhat.com>
3527 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
3528 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
3529 BROKEN_THREAD_SIGNALS code.
3530 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
3531 request_list): Remove caller_pid member used for
3532 BROKEN_THREAD_SIGNALS.
3533 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
3534 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
3535 Remove BROKEN_THREAD_SIGNALS support.
3536 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
3537 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
3539 2017-08-15 Florian Weimer <fweimer@redhat.com>
3541 * gmon/Makefile (tests): Add tst-gmon.
3542 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
3544 (tests-special): Add tst-gmon-prof.out.
3545 (tst-gmon.out): Depend on clean-tst-gmon-data.
3546 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
3547 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
3548 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
3550 * aclocal.m4 (GPROF): Set and substitute.
3551 * config.amke.in (GPROF): Set.
3552 * configure: Regenerate.
3554 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
3556 * elf/elf.h A (NT_PPC_TAR): New macro.
3557 (NT_PPC_PPR): Likewise.
3558 (NT_PPC_DSCR): Likewise.
3559 (NT_PPC_EBB): Likewise.
3560 (NT_PPC_PMU): Likewise.
3561 (NT_PPC_TM_CGPR): Likewise.
3562 (NT_PPC_TM_CFPR): Likewise.
3563 (NT_PPC_TM_CVMX): Likewise.
3564 (NT_PPC_TM_CVSX): Likewise.
3565 (NT_PPC_TM_SPR): Likewise.
3566 (NT_PPC_TM_CTAR): Likewise.
3567 (NT_PPC_TM_CPPR): Likewise.
3568 (NT_PPC_TM_CDSCR): Likewise.
3570 2017-08-15 Florian Weimer <fweimer@redhat.com>
3572 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
3573 regparm (2) instead of internal_function.
3574 (_MCOUNT_DECL): Adjust.
3576 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3578 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
3579 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
3581 2017-08-14 Joseph Myers <joseph@codesourcery.com>
3583 * conform/data/sys/wait.h-data (si_value): Do not expect for
3586 2017-08-14 Florian Weimer <fweimer@redhat.com>
3589 NSS: Create stubs for accidentally exported lookup functions.
3590 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
3592 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
3593 (ether_hostton): Call __nss_ethers_lookup2 instead.
3594 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
3595 (ether_ntohost): Call __nss_ethers_lookup2 instead.
3596 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
3597 (setup): Call __nss_netgroup_lookup2 instead.
3598 * nss/Makefile (routines): Add compat-lookup.
3599 * nss/Versions (GLIBC_2.27): Add symbol version.
3600 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
3601 (DB_COMPAT_FCT): Remove.
3602 * nss/compat-lookup.c: New file.
3603 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
3605 * nss/service-lookup.c (NO_COMPAT): Remove definition.
3606 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
3607 (netname2user): Call __nss_publickey_lookup2 instead.
3608 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
3609 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
3612 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3613 Sergei Trofimovich <slyfox@inbox.ru>
3616 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
3617 Rename to MMAP2_PAGE_UNIT.
3618 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
3619 __OFF_T_MATCHES_OFF64_T is not defined.
3620 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
3622 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
3623 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
3625 2017-08-14 Florian Weimer <fweimer@redhat.com>
3627 i386: Do not set internal_function.
3628 * config.h.in (USE_REGPARMS, internal_function): Remove.
3629 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
3630 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
3632 2017-08-14 Florian Weimer <fweimer@redhat.com>
3634 * elf/dl-init.c (_dl_init): Remove internal_function.
3635 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
3636 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
3638 2017-08-14 Florian Weimer <fweimer@redhat.com>
3640 * elf/rtld.c (_dl_start): Remove internal_function.
3641 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
3644 2017-08-14 Florian Weimer <fweimer@redhat.com>
3646 * elf/dl-fini.c (_dl_fini): Remove internal_function
3647 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
3649 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
3651 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
3652 (bit_cpu_SHSTK): Likewise.
3653 (index_cpu_IBT): Likewise.
3654 (index_cpu_SHSTK): Likewise.
3655 (reg_IBT): Likewise.
3656 (reg_SHSTK): Likewise.
3657 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
3658 Handle index_cpu_IBT and index_cpu_SHSTK.
3660 2017-08-14 Mike FABIAN <mfabian@redhat.com>
3663 * po/fr.po: Fix spelling mistake.
3665 2017-08-13 Florian Weimer <fweimer@redhat.com>
3667 * elf/dl-addr.c (_dl_addr): Remove internal_function.
3668 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
3669 (_dl_catch_error, _dl_receive_error): Likewise.
3670 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
3671 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
3672 (_dl_deallocate_tls): Likewise.
3673 * include/dlfcn.h (_dl_addr): Likewise.
3674 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
3675 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
3676 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
3679 2017-08-13 Florian Weimer <fweimer@redhat.com>
3681 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
3682 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
3684 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
3686 2017-08-13 Florian Weimer <fweimer@redhat.com>
3688 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
3690 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
3691 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
3692 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
3693 internal_function from _dl_make_stack_executable_hook member.
3694 (_dl_make_stack_executable): Remove internal_function.
3695 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
3697 * sysdeps/unix/sysv/linux/dl-execstack.c
3698 (_dl_make_stack_executable): Likewise.
3700 2017-08-13 Florian Weimer <fweimer@redhat.com>
3702 * sysdeps/unix/sysv/linux/netlinkaccess.h
3703 (__netlink_assert_response): Remove internal_function.
3704 * sysdeps/unix/sysv/linux/netlink_assert_response.c
3705 (__netlink_assert_response): Likewise.
3707 2017-08-13 Florian Weimer <fweimer@redhat.com>
3709 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
3711 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
3713 2017-08-13 Florian Weimer <fweimer@redhat.com>
3715 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
3717 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
3718 * inet/netgroup.h (__internal_setnetgrent)
3719 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
3720 * inet/getnetgrent_r.c (__internal_setnetgrent)
3721 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
3722 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
3723 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
3724 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
3725 * nss/nsswitch.h (db_lookup_function): Likewise.
3727 2017-08-13 Florian Weimer <fweimer@redhat.com>
3729 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
3730 Remove internal_function.
3731 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
3732 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
3733 message argument on the stack.
3734 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
3737 2017-08-12 Mike FABIAN <mfabian@redhat.com>
3739 Adapt test case data to the changes in the thousands
3743 * localedata/tst-langinfo.sh: Adapt test case data.
3744 * stdlib/tst-strfmon_l.c: Likewise.
3745 * stdlib/tst-strtod4.c: Likewise.
3746 * stdlib/tst-strtod5i.c: Likewise.
3748 2017-08-11 Florian Weimer <fweimer@redhat.com>
3751 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
3752 Suppress pedantic warning resulting from statement expression.
3753 (__ASSERT_FUNCTION): Add missing __extension__.
3755 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
3757 * benchtests/bench-memmove-large.c: Print output in JSON
3759 * benchtests/bench-memmove.c: Likewise.
3761 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
3762 * benchtests/bench-memchr.c (do_one_test): Likewise.
3763 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
3764 * benchtests/bench-memcpy.c (do_one_test): Likewise.
3765 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
3766 * benchtests/bench-memmove.c (do_one_test): Likewise.
3767 * benchtests/bench-memset-large.c (do_one_test): Likewise.
3768 * benchtests/bench-memset.c (do_one_test): Likewise.
3769 * benchtests/bench-string.h (test_init): Remove memsets.
3771 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
3774 (Computing the Width of an Integer Data Type): Rename section to
3775 "Width of an Integer Type". Remove inaccurate statement regarding
3776 lack of C language facilities for determining width of integer
3777 types, and reorder content to improve flow and context of
3780 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
3782 * lang.texi (va_copy): Change standard from ISO to C99.
3783 (__va_copy): Add standard and header annotation.
3784 Update description for clarity of origins and current use.
3786 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3789 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
3790 xssqrtqp requires operands to be in Vector Registers
3791 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
3792 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
3793 (__ieee754_sqrtf128): Likewise.
3795 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
3797 * sysdeps/aarch64/memcmp.S (memcmp):
3798 Rewrite of optimized memcmp.
3800 2017-08-10 Florian Weimer <fweimer@redhat.com>
3802 Introduce ld.so exceptions.
3803 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
3804 (_dl_exception_create, _dl_exception_create_format)
3805 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
3806 (_dl_catch_exception): Declare.
3807 (_dl_catch_error): Update comment.
3808 * elf/dl-error-skeleton.c (struct catch): Replace objname,
3809 errstring, malloced members with exception member.
3810 (_dl_out_of_memory): Remove.
3811 (fatal_error): New function, extracted from _dl_signal_error.
3812 (_dl_signal_exception, _dl_signal_cexception): New functions.
3813 (_dl_signal_error): Call _dl_exception_create to allocate an
3815 (_dl_catch_exception): New function, based on _dl_catch_error.
3816 (_dl_catch_error): Implement using _dl_catch_exception.
3817 * elf/dl-exception.c: New file.
3818 * elf/Makefile (dl-routines): Add dl-exception.
3819 (elide-routines.os): Likewise.
3820 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
3821 _dl_exception_create_format, _dl_exception_free.
3822 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
3823 _dl_signal_exception.
3824 * elf/dl-lookup.c (make_string): Remove.
3825 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
3826 _dl_signal_cexception, _dl_exception_free.
3827 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
3828 _dl_signal_exception.
3829 * elf/dl-sym.c (do_sym): Likewise.
3830 * elf/dl-version.c (make_string): Remove.
3831 (match_symbol): Use _dl_exception_create_format,
3832 _dl_signal_cexception, _dl_exception_free.
3833 (_dl_check_map_versions): Likewise.
3834 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
3835 _dl_catch_exception.
3836 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3837 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3838 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3839 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3840 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3841 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3842 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3843 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
3845 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3852 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3853 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3854 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
3856 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
3858 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3860 2017-08-10 Florian Weimer <fweimer@redhat.com>
3862 * inet/net-internal.h (__inet6_scopeid_pton): Remove
3863 attribute_hidden, internal_function.
3864 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
3867 2017-08-10 Florian Weimer <fweimer@redhat.com>
3869 * malloc/malloc.c (get_max_fast): Reimplement as an inline
3870 function which calls __builtin_unreachable.
3872 2017-08-10 Mike FABIAN <mfabian@redhat.com>
3874 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
3875 Indian monetary formatting
3876 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
3879 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
3881 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
3882 Fix typo in comment.
3885 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
3886 PTRACE_SEIZE_DEVEL): Remove.
3887 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
3888 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3889 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3890 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3891 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3893 2017-08-09 Joseph Myers <joseph@codesourcery.com>
3895 * posix/bits/types.h (__qaddr_t): Remove.
3898 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
3899 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3901 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
3902 (ucontext_t): Use __ctx with uc_flags.
3903 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
3905 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3907 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
3908 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3910 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
3911 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3913 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
3915 (ucontext_t): Use __ctx with uc_flags.
3916 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
3917 (ucontext_t): Use __ctx with uc_flags.
3918 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
3919 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
3920 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
3921 (ucontext_t): Use __ctx with uc_flags.
3922 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
3923 undefine further down.
3924 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3926 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
3927 undefine further down.
3928 (ucontext_t): Use __ctx with uc_flags.
3929 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
3930 undefine further down.
3931 (ucontext_t): Use __ctx with uc_flags.
3932 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
3933 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
3934 Rename uc_pad to __glibc_reserved1.
3935 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
3936 undefine further down.
3937 (ucontext_t): Use __ctx with uc_flags.
3938 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
3940 (ucontext_t): Use __ctx with uc_flags.
3941 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
3942 __ctx with uc_flags.
3943 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
3944 (ucontext_t): Use __ctx with uc_flags.
3945 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
3946 __ctx with uc_flags.
3948 2017-08-09 Florian Weimer <fweimer@redhat.com>
3951 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
3952 before early return.
3954 2017-08-09 Andreas Schwab <schwab@suse.de>
3957 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
3961 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
3962 tst-compat-forwarder.
3963 (modules-names): Add tst-compat-forwarder-mod.
3964 ($(objpfx)tst-compat-forwarder): Depend on
3965 $(objpfx)tst-compat-forwarder-mod.so.
3966 * nptl/tst-compat-forwarder.c: New file.
3967 * nptl/tst-compat-forwarder-mod.c: New file.
3969 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
3971 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
3974 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
3975 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
3977 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
3979 (__libc_ifunc_impl_list): Add __memcpy_falkor.
3980 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
3981 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
3982 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3984 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
3987 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3990 * manual/setjmp.texi (getcontex): Document uc_stack value
3991 compatibility differences.
3993 2017-08-08 Joseph Myers <joseph@codesourcery.com>
3995 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
3996 (old_malloc_hook): Likewise.
3997 (old_memalign_hook): Likewise.
3998 (old_realloc_hook): Likewise.
3999 (struct hdr): Likewise.
4001 (freehook): Likewise.
4002 (mallochook): Likewise.
4003 (memalignhook): Likewise.
4004 (reallochook): Likewise.
4006 * malloc/mtrace.c (mallwatch): Likewise.
4007 (tr_old_free_hook): Likewise.
4008 (tr_old_malloc_hook): Likewise.
4009 (tr_old_realloc_hook): Likewise.
4010 (tr_old_memalign_hook): Likewise.
4011 (tr_where): Likewise.
4012 (lock_and_info): Likewise.
4013 (tr_freehook): Likewise.
4014 (tr_mallochook): Likewise.
4015 (tr_reallochook): Likewise.
4016 (tr_memalignhook): Likewise.
4017 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
4018 * misc/mmap.c (__mmap): Likewise.
4019 * misc/mmap64.c (__mmap64): Likewise.
4020 * misc/mprotect.c (__mprotect): Likewise.
4021 * misc/msync.c (msync): Likewise.
4022 * misc/munmap.c (__munmap): Likewise.
4023 * posix/posix_madvise.c (posix_madvise): Likewise.
4024 * socket/send.c (__send): Likewise.
4025 * socket/sendto.c (__sendto): Likewise.
4026 * socket/setsockopt.c (__setsockopt): Likewise.
4027 * string/memcmp.c (__ptr_t): Remove macro.
4028 (MEMCMP): Use void * instead of ptr_t.
4029 * string/memrchr.c (__ptr_t): Remove macro.
4030 (__memrchr): Use void * instead of ptr_t.
4031 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
4032 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
4033 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
4034 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
4035 * sysdeps/mach/msync.c (msync): Likewise.
4036 * sysdeps/mach/munmap.c (__munmap): Likewise.
4037 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
4039 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
4040 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
4041 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
4042 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
4043 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
4044 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4045 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
4046 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
4048 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4049 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
4050 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
4051 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
4052 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
4053 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
4054 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
4055 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
4056 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
4058 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
4059 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
4060 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
4061 (MEMCMP): Use void * instead of ptr_t.
4062 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
4063 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
4065 2017-08-08 Florian Weimer <fweimer@redhat.com>
4067 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
4070 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
4073 * csu/libc-tls.c: Include <startup.h> first.
4074 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
4075 * elf/dl-tunables.c: Include <startup.h> first.
4076 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
4077 * sysdeps/generic/startup.h: New file.
4078 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
4079 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
4080 (I386_USE_SYSENTER): New. Defined to 0.
4082 2017-08-08 Andreas Schwab <schwab@suse.de>
4085 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
4086 * nptl/pt-system.c (system): Likewise.
4088 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4091 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
4093 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
4094 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
4095 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
4096 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
4097 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
4098 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
4099 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
4101 2017-08-07 Joseph Myers <joseph@codesourcery.com>
4104 * bits/sigaction.h (struct sigaction): Define sa_handler and
4105 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
4106 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4107 [__USE_XOPEN_EXTENDED].
4108 (SA_RESTART): Likewise.
4109 (SA_NODEFER): Likewise.
4110 (SA_RESETHAND): Likewise.
4111 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
4112 (struct sigaction): Define sa_handler and sa_sigaction using union
4113 also for [__USE_XOPEN_EXTENDED].
4114 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4115 [__USE_XOPEN_EXTENDED].
4116 (SA_RESTART): Likewise.
4117 (SA_NODEFER): Likewise.
4118 (SA_RESETHAND): Likewise.
4119 * sysdeps/unix/sysv/linux/bits/sigaction.h
4120 (struct sigaction): Define sa_handler and sa_sigaction using union
4121 also for [__USE_XOPEN_EXTENDED].
4122 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4123 [__USE_XOPEN_EXTENDED].
4124 (SA_RESTART): Likewise.
4125 (SA_NODEFER): Likewise.
4126 (SA_RESETHAND): Likewise.
4127 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
4128 (struct sigaction): Define sa_handler and sa_sigaction using union
4129 also for [__USE_XOPEN_EXTENDED].
4130 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4131 [__USE_XOPEN_EXTENDED].
4132 (SA_RESTART): Likewise.
4133 (SA_NODEFER): Likewise.
4134 (SA_RESETHAND): Likewise.
4135 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
4136 (struct sigaction): Define sa_handler and sa_sigaction using union
4137 also for [__USE_XOPEN_EXTENDED].
4138 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4139 [__USE_XOPEN_EXTENDED].
4140 (SA_RESTART): Likewise.
4141 (SA_NODEFER): Likewise.
4142 (SA_RESETHAND): Likewise.
4143 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
4144 (struct sigaction): Define sa_handler and sa_sigaction using union
4145 also for [__USE_XOPEN_EXTENDED].
4146 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4147 [__USE_XOPEN_EXTENDED].
4148 (SA_RESTART): Likewise.
4149 (SA_NODEFER): Likewise.
4150 (SA_RESETHAND): Likewise.
4151 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4152 (struct sigaction): Define sa_handler and sa_sigaction using union
4153 also for [__USE_XOPEN_EXTENDED].
4154 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4155 [__USE_XOPEN_EXTENDED].
4156 (SA_RESTART): Likewise.
4157 (SA_NODEFER): Likewise.
4158 (SA_RESETHAND): Likewise.
4159 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4160 (struct sigaction): Define sa_handler and sa_sigaction using union
4161 also for [__USE_XOPEN_EXTENDED].
4162 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4163 [__USE_XOPEN_EXTENDED].
4164 (SA_RESTART): Likewise.
4165 (SA_NODEFER): Likewise. Define directly rather than as alias.
4166 (SA_RESETHAND): Likewise.
4167 (SA_INTERRUPT): Define only for [__USE_MISC].
4168 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
4169 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
4171 (SA_STACK): Define only for [__USE_MISC].
4172 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
4173 (struct sigaction): Define sa_handler and sa_sigaction using union
4174 also for [__USE_XOPEN_EXTENDED].
4175 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4176 [__USE_XOPEN_EXTENDED].
4177 (SA_RESTART): Likewise.
4178 (SA_NODEFER): Likewise.
4179 (SA_RESETHAND): Likewise.
4180 (SA_NOPTRACE): Define only for [__USE_MISC].
4182 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
4183 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
4184 (struct catalog_info): Likewise.
4185 * inet/htontest.c (lo): Likewise.
4187 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4188 * inet/inet_net.c (inet_network): Likewise.
4189 * inet/inet_netof.c (inet_netof): Likewise.
4190 * inet/rcmd.c (__ivaliduser): Likewise.
4191 (iruserok): Likewise.
4192 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
4193 * locale/programs/locale-spec.c (locale_special): Likewise.
4194 * nis/nis_findserv.c (struct findserv_req): Likewise.
4195 (__nis_findfastest_with_timeout): Likewise.
4196 * nss/test-netdb.c (test_network): Likewise.
4197 * resolv/inet_neta.c (inet_neta): Likewise.
4198 * resolv/ns_date.c (ns_datetosecs): Likewise.
4199 (SECS_PER_DAY): Likewise.
4200 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
4202 * resolv/res_comp.c (__putlong): Likewise.
4203 (__putshort): Likewise.
4204 (_getlong): Likewise.
4205 (_getshort): Likewise.
4206 * resolv/res_debug.c (p_time): Likewise.
4207 (precsize_ntoa): Likewise.
4208 (precsize_aton): Likewise.
4209 (latlon2ul): Likewise.
4210 (loc_aton): Likewise.
4211 (loc_ntoa): Likewise.
4212 * resolv/res_hconf.c (struct netaddr): Likewise.
4213 (_res_hconf_reorder_addrs): Likewise.
4214 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4215 (clnttcp_control): Likewise.
4216 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4217 (clntudp_control): Likewise.
4218 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
4219 (clntunix_control): Likewise.
4220 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4221 * sunrpc/rpc/auth.h (union des_block): Likewise.
4222 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
4223 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
4224 (xdrrec_create): Likewise.
4225 (xdrrec_endofrecord): Likewise.
4226 (flush_out): Likewise.
4227 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
4228 (xdrstdio_putlong): Likewise.
4229 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
4232 * misc/sys/cdefs.h (__long_double_t): Remove.
4233 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
4234 instead of __long_double_t,
4235 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
4237 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
4239 * benchtests/scripts/compare_strings.py: Avoid display error when
4240 running on a text terminal.
4242 * benchtests/scripts/compare_strings.py (main): Add an
4243 optional -base option.
4244 (process_results): New argument base_func.
4246 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
4248 * benchtests/bench-memcpy-large.c (test_name): Likewise.
4249 * benchtests/bench-memcpy-random.c (test_name): Likewise.
4251 2017-08-07 Andreas Schwab <schwab@suse.de>
4253 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
4254 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4255 * intl/Makefile ($(objpfx)tst-gettext.out)
4256 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
4257 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
4258 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4259 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4260 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
4261 * posix/Makefile ($(objpfx)globtest.out)
4262 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
4263 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
4264 ($(objpfx)tst-printf.out): Likewise.
4265 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
4266 ($(objpfx)tst-setcontext3.out): Likewise.
4268 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
4270 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4271 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
4272 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
4273 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
4274 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
4276 (CFLAGS-doasin-fma.c): New.
4277 (CFLAGS-dosincos-fma.c): Likewise.
4278 (CFLAGS-e_asin-fma.c): Likewise.
4279 (CFLAGS-e_atan2-fma.c): Likewise.
4280 (CFLAGS-e_exp-fma.c): Likewise.
4281 (CFLAGS-e_log-fma.c): Likewise.
4282 (CFLAGS-e_pow-fma.c): Likewise.
4283 (CFLAGS-halfulp-fma.c): Likewise.
4284 (CFLAGS-mpa-fma.c): Likewise.
4285 (CFLAGS-mpatan-fma.c): Likewise.
4286 (CFLAGS-mpatan2-fma.c): Likewise.
4287 (CFLAGS-mpexp-fma.c): Likewise.
4288 (CFLAGS-mplog-fma.c): Likewise.
4289 (CFLAGS-mpsqrt-fma.c): Likewise.
4290 (CFLAGS-mptan-fma.c): Likewise.
4291 (CFLAGS-s_atan-fma.c): Likewise.
4292 (CFLAGS-sincos32-fma.c): Likewise.
4293 (CFLAGS-slowexp-fma.c): Likewise.
4294 (CFLAGS-slowpow-fma.c): Likewise.
4295 (CFLAGS-s_sin-fma.c): Likewise.
4296 (CFLAGS-s_tan-fma.c): Likewise.
4297 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
4298 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
4299 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
4300 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
4301 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
4302 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
4303 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
4304 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
4305 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
4306 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
4307 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
4308 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
4309 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
4310 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
4311 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
4312 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
4313 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
4314 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
4315 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
4316 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
4317 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
4318 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
4319 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
4320 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
4321 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4322 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4323 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4324 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
4325 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4326 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4327 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4329 2017-08-04 Joseph Myers <joseph@codesourcery.com>
4331 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
4332 (min_of_type_f): New macro.
4333 (min_of_type_): Likewise.
4334 (min_of_type_l): Likewise.
4335 (min_of_type_f128): Likewise.
4336 (min_of_type): Define using __MATH_TG and taking an expression
4338 (math_check_force_underflow): Pass expression instead of type to
4340 (math_check_force_underflow_nonneg): Likewise.
4342 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4344 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
4345 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
4346 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
4348 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4350 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4351 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
4352 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
4353 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
4354 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
4355 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
4356 memcpy_chk-nonshared, mempcpy_chk-nonshared,
4357 memmove_chk-nonshared and memset_chk-nonshared
4358 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
4359 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
4360 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
4361 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
4362 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
4363 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
4364 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
4365 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
4366 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
4367 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
4368 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
4369 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
4370 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
4371 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
4372 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
4373 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
4374 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
4375 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
4376 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
4377 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
4378 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
4379 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
4380 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
4381 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
4382 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
4383 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
4384 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
4385 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
4386 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
4387 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
4388 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
4389 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
4390 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
4391 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
4392 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
4393 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
4394 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
4395 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
4396 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
4397 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
4398 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
4399 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
4400 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
4401 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
4402 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
4403 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
4404 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
4405 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
4406 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
4407 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
4408 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
4409 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
4410 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
4411 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
4412 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
4413 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
4414 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
4415 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
4416 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
4417 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
4418 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
4419 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
4420 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
4421 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
4422 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
4423 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
4424 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
4425 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
4426 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
4427 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
4428 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
4429 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4430 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4431 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4432 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4433 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4434 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4435 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4436 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4437 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4438 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4439 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4440 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4441 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4442 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4443 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4444 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4445 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4446 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4447 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4448 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4449 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4450 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4451 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4452 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4453 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4454 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4455 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4456 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4457 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4458 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4459 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4460 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4461 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4462 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4463 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4464 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4465 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4467 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4469 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
4470 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
4471 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
4472 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
4473 svml_d_log2_core-sse2, svml_d_log4_core-sse,
4474 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
4475 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
4476 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
4477 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
4478 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
4479 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
4480 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
4481 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
4482 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
4483 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
4484 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
4485 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
4486 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
4487 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
4488 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
4489 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
4490 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
4491 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
4492 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
4493 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
4494 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
4495 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
4496 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
4497 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
4498 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
4499 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
4500 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
4501 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
4502 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
4503 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
4504 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
4505 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
4506 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
4507 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
4508 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
4509 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
4510 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
4511 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
4512 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
4513 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
4514 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
4515 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
4516 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
4517 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
4518 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
4519 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
4520 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
4521 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
4522 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
4523 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
4524 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
4525 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
4526 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
4527 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
4529 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
4530 Don't include <sysdep.h> nor <init-arch.h>.
4531 (_ZGVbN2v_cos): Removed.
4532 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
4534 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
4535 Don't include <sysdep.h> nor <init-arch.h>.
4536 (_ZGVdN4v_cos): Removed.
4537 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
4539 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
4540 Don't include <sysdep.h> nor <init-arch.h>.
4541 (_ZGVeN8v_cos): Removed.
4542 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
4544 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
4545 Don't include <sysdep.h> nor <init-arch.h>.
4546 (_ZGVbN2v_exp): Removed.
4547 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
4549 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
4550 Don't include <sysdep.h> nor <init-arch.h>.
4551 (_ZGVdN4v_exp): Removed.
4552 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
4554 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
4555 Don't include <sysdep.h> nor <init-arch.h>.
4556 (_ZGVeN8v_exp): Removed.
4557 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
4559 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
4560 Don't include <sysdep.h> nor <init-arch.h>.
4561 (_ZGVbN2v_log): Removed.
4562 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
4564 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
4565 Don't include <sysdep.h> nor <init-arch.h>.
4566 (_ZGVdN4v_log): Removed.
4567 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
4569 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
4570 Don't include <sysdep.h> nor <init-arch.h>.
4571 (_ZGVeN8v_log): Removed.
4572 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
4574 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
4575 Don't include <sysdep.h> nor <init-arch.h>.
4576 (_ZGVbN2vv_pow): Removed.
4577 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
4579 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
4580 Don't include <sysdep.h> nor <init-arch.h>.
4581 (_ZGVdN4vv_pow): Removed.
4582 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
4584 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
4585 Don't include <sysdep.h> nor <init-arch.h>.
4586 (_ZGVeN8vv_pow): Removed.
4587 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
4589 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
4590 Don't include <sysdep.h> nor <init-arch.h>.
4591 (_ZGVbN2v_sin): Removed.
4592 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
4594 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
4595 Don't include <sysdep.h> nor <init-arch.h>.
4596 (_ZGVbN4v_sin): Removed.
4597 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
4599 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
4600 Don't include <sysdep.h> nor <init-arch.h>.
4601 (_ZGVbN8v_sin): Removed.
4602 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
4604 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
4605 Don't include <sysdep.h> nor <init-arch.h>.
4606 (_ZGVbN2vvv_sincos): Removed.
4607 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
4609 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
4610 Don't include <sysdep.h> nor <init-arch.h>.
4611 (_ZGVdN4vvv_sincos): Removed.
4612 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
4614 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
4615 Don't include <sysdep.h> nor <init-arch.h>.
4616 (_ZGVeN8vvv_sincos): Removed.
4617 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
4619 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
4620 Don't include <sysdep.h> nor <init-arch.h>.
4621 (_ZGVeN16v_cosf): Removed.
4622 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
4624 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
4625 Don't include <sysdep.h> nor <init-arch.h>.
4626 (_ZGVbN4v_cosf): Removed.
4627 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
4629 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
4630 Don't include <sysdep.h> nor <init-arch.h>.
4631 (_ZGVdN8v_cosf): Removed.
4632 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
4634 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
4635 Don't include <sysdep.h> nor <init-arch.h>.
4636 (_ZGVeN16v_expf): Removed.
4637 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
4639 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
4640 Don't include <sysdep.h> nor <init-arch.h>.
4641 (_ZGVbN4v_expf): Removed.
4642 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
4644 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
4645 Don't include <sysdep.h> nor <init-arch.h>.
4646 (_ZGVdN8v_expf): Removed.
4647 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
4649 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
4650 Don't include <sysdep.h> nor <init-arch.h>.
4651 (_ZGVeN16v_logf): Removed.
4652 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
4654 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
4655 Don't include <sysdep.h> nor <init-arch.h>.
4656 (_ZGVbN4v_logf): Removed.
4657 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
4659 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
4660 Don't include <sysdep.h> nor <init-arch.h>.
4661 (_ZGVdN8v_logf): Removed.
4662 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
4664 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
4665 Don't include <sysdep.h> nor <init-arch.h>.
4666 (_ZGVeN16vv_powf): Removed.
4667 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
4669 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
4670 Don't include <sysdep.h> nor <init-arch.h>.
4671 (_ZGVbN4vv_powf): Removed.
4672 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
4674 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
4675 Don't include <sysdep.h> nor <init-arch.h>.
4676 (_ZGVdN8vv_powf): Removed.
4677 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
4679 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
4680 Don't include <sysdep.h> nor <init-arch.h>.
4681 (_ZGVeN16vvv_sincosf): Removed.
4682 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
4684 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
4685 Don't include <sysdep.h> nor <init-arch.h>.
4686 (_ZGVbN4vvv_sincosf): Removed.
4687 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
4689 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
4690 Don't include <sysdep.h> nor <init-arch.h>.
4691 (_ZGVdN8vvv_sincosf): Removed.
4692 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
4694 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
4695 Don't include <sysdep.h> nor <init-arch.h>.
4696 (_ZGVeN16v_sinf): Removed.
4697 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
4699 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
4700 Don't include <sysdep.h> nor <init-arch.h>.
4701 (_ZGVbN4v_sinf): Removed.
4702 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
4704 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
4705 Don't include <sysdep.h> nor <init-arch.h>.
4706 (_ZGVdN8v_sinf): Removed.
4708 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4710 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4711 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
4712 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
4713 s_rint-sse4_1 and s_rintf-sse4_1.
4714 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
4715 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
4716 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
4717 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
4718 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
4719 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
4720 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
4721 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
4722 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
4723 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
4724 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
4725 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4727 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
4728 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
4729 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4731 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
4732 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
4733 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4735 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
4736 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
4737 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4738 (__floorf): Removed.
4739 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
4740 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
4741 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4742 (__nearbyint): Removed.
4743 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
4744 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
4745 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4746 (__nearbyintf): Removed.
4747 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
4748 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
4749 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4751 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
4752 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
4753 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4756 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4758 * sysdeps/i386/start.S (_start): Check Check PIC instead of
4759 SHARED. Avoid dynamic relocation against main in static PIE.
4761 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4764 * elf/Makefile (CFLAGS-tst-prelink.c): New.
4765 (LDFLAGS-tst-prelink): Likewise.
4767 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4769 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
4770 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
4771 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
4772 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
4773 (INTERNAL_SYSCALL_NCS): Likewise.
4774 (LOADARGS_1): Likewise.
4775 (LOADARGS_5): Likewise.
4776 (RESTOREARGS_1): Likewise.
4777 (RESTOREARGS_5): Likewise.
4779 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4781 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
4782 (MEMPCPY_SYMBOL): Likewise.
4783 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4784 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
4785 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
4787 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4788 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4790 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
4791 (__hidden_ver1): Don't use in libc.a.
4792 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
4793 (__mempcpy): Don't create a weak alias in libc.a.
4794 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
4796 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
4797 (__hidden_ver1): Don't use in libc.a.
4799 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4801 * config.make.in (have-insert): New.
4802 * configure.ac (libc_cv_insert): New. Set to yes if linker
4803 supports INSERT in linker script.
4804 (AC_SUBST(libc_cv_insert): New.
4805 * configure: Regenerated.
4806 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
4807 if $(have-insert) == yes.
4809 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4811 * elf/Makefile (tests): Add vismain only if
4812 $(have-protected-data) == yes.
4813 (tests-pie): Likewise.
4815 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4818 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4819 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
4821 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4824 * sysdeps/i386/i586/memset.S
4825 (__memset_zero_constant_len_parameter): Removed.
4826 * sysdeps/i386/i686/memset.S
4827 (__memset_zero_constant_len_parameter): Likewise.
4828 * sysdeps/i386/i686/multiarch/memset_chk.S
4829 (__memset_zero_constant_len_parameter): Likewise.
4830 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
4833 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
4835 * stdlib/getentropy.c (getentropy): Change return type to int.
4837 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
4839 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4841 2017-08-03 Joseph Myers <joseph@codesourcery.com>
4843 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
4845 * math/s_nexttowardf.c (__nexttowardf): Likewise.
4846 * sysdeps/generic/math_private.h (ieee_double_shape_type):
4848 (ieee_float_shape_type): Likewise.
4849 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
4850 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
4851 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4852 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4853 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4854 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
4855 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
4856 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4857 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4859 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4860 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4861 (__ieee754_yn): Likewise.
4862 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4863 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4864 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
4866 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4867 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
4868 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
4869 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
4871 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
4872 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
4873 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
4874 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
4875 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
4876 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
4878 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
4879 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
4880 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
4881 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
4882 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4883 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
4884 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
4885 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
4886 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
4887 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
4888 (__issignaling): Likewise.
4889 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
4890 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
4891 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4893 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
4894 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
4895 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
4896 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
4898 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
4900 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
4901 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
4902 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
4903 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
4904 (__erfcf): Likewise.
4905 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
4906 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
4907 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
4908 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
4910 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
4911 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
4913 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
4914 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
4915 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
4916 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
4917 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
4918 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4919 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
4920 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
4922 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
4924 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
4926 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
4927 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4929 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4931 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4932 (__ieee754_ynl): Likewise.
4933 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4934 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
4936 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
4938 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
4939 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
4940 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4942 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
4943 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
4944 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
4945 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
4946 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
4947 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
4948 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
4949 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
4951 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
4952 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
4953 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
4955 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
4956 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
4957 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
4958 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
4959 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
4960 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4962 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4964 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4966 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4968 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
4969 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4970 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4971 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
4972 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
4973 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
4974 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
4976 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4978 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4979 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4981 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4982 (__ieee754_remainderl): Likewise.
4983 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4984 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4985 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4986 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4988 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4989 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4991 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4992 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
4993 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
4994 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
4995 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4996 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4998 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4999 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
5000 (__ieee754_y0l): Likewise.
5003 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5004 (__ieee754_y1l): Likewise.
5007 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5008 (__ieee754_ynl): Likewise.
5009 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
5010 (__ieee754_lgammal_r): Likewise.
5011 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
5013 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
5014 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
5015 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
5016 (__erfcl): Likewise.
5017 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
5018 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
5020 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
5021 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
5022 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
5023 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
5024 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
5025 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5026 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5028 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
5029 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5030 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
5031 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
5032 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5034 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
5035 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
5037 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
5038 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
5039 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
5040 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5041 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
5043 2017-08-03 Florian Weimer <fweimer@redhat.com>
5046 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
5047 on memory allocation failure.
5049 2017-08-03 Alan Modra <amodra@gmail.com>
5051 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
5052 tst-tlsopt-powerpc.c with function name change and no test harness.
5053 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
5054 Call tls_get_addr_opt_test.
5055 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
5056 (modules-names): Add mod-tlsopt-powerpc.
5057 (mod-tlsopt-powerpc.so-no-z-defs): Define.
5058 (tst-tlsopt-powerpc): Depend on .so.
5059 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
5060 define. Expand use in TLS_GD and TLS_LD.
5062 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5064 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
5066 * sysdeps/posix/shm_open.c: Include <pthread.h>.
5068 2017-08-02 Joseph Myers <joseph@codesourcery.com>
5071 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
5072 comparing size with that of double.
5073 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
5074 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
5075 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
5076 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
5077 (__TGMATH_BINARY_REAL_IMAG): Likewise.
5078 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
5079 unsigned __int128 types.
5081 2017-08-02 Steve Ellcey <sellcey@cavium.com>
5083 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
5084 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
5085 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
5086 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
5087 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
5089 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
5091 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
5093 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
5095 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
5097 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
5098 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5099 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5100 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5101 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5102 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5103 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5105 2017-08-02 Joseph Myers <joseph@codesourcery.com>
5108 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
5109 bit-field expressions passed to sizeof or typeof.
5110 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5111 (__TGMATH_F128): Likewise.
5112 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5113 (__TGMATH_CF128): Likewise.
5114 (__TGMATH_UNARY_REAL_ONLY): Likewise.
5115 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
5116 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
5117 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
5118 (__TGMATH_BINARY_REAL_ONLY): Likewise.
5119 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
5120 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
5121 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
5122 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
5123 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
5124 (__TGMATH_UNARY_REAL_IMAG): Likewise.
5125 (__TGMATH_UNARY_IMAG): Likewise.
5126 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
5127 (__TGMATH_BINARY_REAL_IMAG): Likewise.
5128 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
5130 (define_vars_for_type): Handle bit_field type specially.
5131 (Tests.__init__): Declare structure with bit-field element.
5133 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
5136 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
5137 (MEMCPY_CHK): Define only if SHARED is defined.
5138 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
5140 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
5143 See ChangeLog.18 for earlier changes.