1 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
5 [$(subdir) = math] (sysdep_calls): New variable. Has the
6 previous contents of sysdep_routines, but re-sorted..
7 [$(subdir) = math] (sysdep_routines): Re-use the contents from
9 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
10 defined in sysdep_calls and replace by the respective m_* names.
11 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
12 (compat_symbol): Undefine to avoid duplicated compat symbols in
15 2017-09-15 Joseph Myers <joseph@codesourcery.com>
17 * math/s_fmaf.c: Include <libm-alias-float.h>.
18 (fmaf): Define using libm_alias_float.
19 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
20 (acosf): Define using libm_alias_float.
21 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
22 (acoshf): Define using libm_alias_float.
23 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
24 (asinf): Define using libm_alias_float.
25 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
26 (atan2f): Define using libm_alias_float.
27 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
28 (atanhf): Define using libm_alias_float.
29 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
30 (coshf): Define using libm_alias_float.
31 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
32 (exp10f): Define using libm_alias_float.
33 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
34 (fmodf): Define using libm_alias_float.
35 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
36 (hypotf): Define using libm_alias_float.
37 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
38 (j0f): Define using libm_alias_float.
40 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
41 (j1f): Define using libm_alias_float.
43 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
44 (jnf): Define using libm_alias_float.
46 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
47 (log10f): Define using libm_alias_float.
48 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
49 (log2f): Define using libm_alias_float.
50 * math/w_logf_compat.c: Include <libm-alias-float.h>.
51 (logf): Define using libm_alias_float.
52 * math/w_powf_compat.c: Include <libm-alias-float.h>.
53 (powf): Define using libm_alias_float.
54 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
55 (remainderf): Define using libm_alias_float.
56 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
57 (sinhf): Define using libm_alias_float.
58 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
59 (sqrtf): Define using libm_alias_float.
60 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
61 (tgammaf): Define using libm_alias_float.
63 2017-09-14 Joseph Myers <joseph@codesourcery.com>
65 * include/math.h (roundeven): Change hidden_proto call to
67 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
69 [NO_LONG_DOUBLE] (__j0l): New strong alias.
70 (y0): Rename to __y0 and define as weak alias.
71 [NO_LONG_DOUBLE] (__y0l): New strong alias.
72 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
74 (y0f): Rename to __y0f and define as weak alias.
75 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
77 [NO_LONG_DOUBLE] (__j1l): New strong alias.
78 (y1): Rename to __y1 and define as weak alias.
79 [NO_LONG_DOUBLE] (__y1l): New strong alias.
80 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
82 (y1f): Rename to __y1f and define as weak alias.
83 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
85 [NO_LONG_DOUBLE] (__jnl): New strong alias.
86 (yn): Rename to __yn and define as weak alias.
87 [NO_LONG_DOUBLE] (__ynl): New strong alias.
88 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
90 (ynf): Rename to __ynf and define as weak alias.
91 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
92 (fromfp): Define as weak alias.
93 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
94 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
95 (fromfpx): Define as weak alias.
96 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
97 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
98 __getpayload and define as weak alias.
99 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
100 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
101 __roundeven and define as weak alias.
102 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
103 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
105 (setpayload): Define as weak alias.
106 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
107 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
109 (setpayloadsig): Define as weak alias.
110 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
111 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
112 __totalorder and define as weak alias.
113 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
114 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
115 to __totalordermag and define as weak alias.
116 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
117 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
118 (ufromfp): Define as weak alias.
119 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
120 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
122 (ufromfpx): Define as weak alias.
123 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
124 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
125 Rename to __getpayload and define as weak alias.
126 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
127 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
128 Rename to __roundeven and define as weak alias.
129 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
130 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
131 Rename to __totalorder and define as weak alias.
132 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
133 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
134 (totalordermag): Rename to __totalordermag and define as weak
136 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
137 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
139 (__roundevenl): Likewise.
140 (__totalorderl): Likewise.
141 (__totalordermagl): Likewise
142 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
144 (fromfpf128): Define as weak alias.
145 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
147 (fromfpxf128): Define as weak alias.
148 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
150 (setpayloadf128): Define as weak alias.
151 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
153 (setpayloadsigf128): Define as weak alias.
154 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
156 (ufromfpf128): Define as weak alias.
157 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
159 (ufromfpxf128): Define as weak alias.
160 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
161 (fromfpf): Define as weak alias.
162 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
164 (fromfpxf): Define as weak alias.
165 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
166 __getpayloadf and define as weak alias.
167 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
168 __roundevenf and define as weak alias.
169 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
171 (setpayloadf): Define as weak alias.
172 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
174 (setpayloadsigf): Define as weak alias.
175 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
176 __totalorderf and define as weak alias.
177 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
178 Rename to __totalordermagf and define as weak alias.
179 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
181 (ufromfpf): Define as weak alias.
182 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
184 (ufromfpxf): Define as weak alias.
185 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
187 (fromfpl): Define as weak alias.
188 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
190 (fromfpxl): Define as weak alias.
191 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
192 to __getpayloadl and define as weak alias.
193 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
194 __roundevenl and define as weak alias.
195 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
197 (setpayloadl): Define as weak alias.
198 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
200 (setpayloadsigl): Define as weak alias.
201 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
202 to __totalorderl and define as weak alias.
203 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
204 Rename to __totalordermagl and define as weak alias.
205 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
207 (ufromfpl): Define as weak alias.
208 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
210 (ufromfpxl): Define as weak alias.
211 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
213 (fromfpl): Define as weak alias.
214 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
216 (fromfpxl): Define as weak alias.
217 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
218 Rename to __getpayloadl and define as weak alias.
219 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
220 to __roundevenl and define as weak alias. Call __roundeven
221 instead of roundeven.
222 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
224 (setpayloadl): Define as weak alias.
225 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
227 (setpayloadsigl): Define as weak alias.
228 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
229 Rename to __totalorderl and define as weak alias.
230 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
231 Rename to __totalordermagl and define as weak alias.
232 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
234 (ufromfpl): Define as weak alias.
235 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
237 (ufromfpxl): Define as weak alias.
238 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
240 (fromfpl): Define as weak alias.
241 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
243 (fromfpxl): Define as weak alias.
244 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
245 __getpayloadl and define as weak alias.
246 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
247 __roundevenl and define as weak alias.
248 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
250 (setpayloadl): Define as weak alias.
251 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
253 (setpayloadsigl): Define as weak alias.
254 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
255 __totalorderl and define as weak alias.
256 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
257 Rename to __totalordermagl and define as weak alias.
258 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
260 (ufromfpl): Define as weak alias.
261 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
263 (ufromfpxl): Define as weak alias.
265 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
267 * benchtests/bench-string.h (realloc_bufs): New function.
268 (test_init): Call it.
269 * benchtests/bench-memset-large.c (do_test): Likewise.
270 * benchtests/bench-memset.c (do_test): Likewise.
272 * benchtests/bench-memset-large.c: Print output in JSON
274 * benchtests/bench-memset.c: Likewise.
276 2017-09-14 Mike FABIAN <mfabian@redhat.com>
279 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
280 * iconvdata/Makefile: Add IBM858.
281 * iconvdata/gconv-modules: Likewise.
282 * iconvdata/tst-tables.sh: Likewise.
283 * iconvdata/ibm858.c: New file.
284 * localedata/charmaps/IBM858: Likewise.
286 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
289 * locales/niu_NZ (LC_TIME): copy "niu_NU".
290 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
292 2017-09-14 Mike FABIAN <mfabian@redhat.com>
295 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
298 2017-09-14 Joseph Myers <joseph@codesourcery.com>
300 * sysdeps/generic/libm-alias-float128.h: New file.
301 * sysdeps/generic/math-type-macros-float128.h: Include
302 <libm-alias-float128.h>.
303 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
305 2017-09-13 Joseph Myers <joseph@codesourcery.com>
307 * sysdeps/generic/libm-alias-ldouble.h: New file.
308 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
309 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
310 * sysdeps/generic/math-type-macros-ldouble.h: Include
311 <libm-alias-ldouble.h>.
312 [!declare_mgen_alias] (declare_mgen_alias): Define to use
315 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
317 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
318 * math/w_exp_compat.c: ... here.
319 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
320 * math/w_expf_compat.c: ... here.
321 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
322 * math/w_expl_compat.c: ... here.
323 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
324 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
325 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
326 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
328 2017-09-13 Joseph Myers <joseph@codesourcery.com>
330 * math/w_scalbln_template.c (strong_alias): Do not undefine and
332 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
334 (ldexpl): Only define as compat symbol for libc, not libm.
335 (scalbnl): Define as compat symbol for libc here.
336 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
337 define for [IS_IN (libc)].
338 (__ldexpl_2): Remove alias.
339 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
340 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
341 name in long_double_symbol call.
342 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
343 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
344 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
345 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
346 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
348 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
349 Define as compat symbol.
351 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
353 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
354 * sysdeps/unix/sysv/linux/alpha/Makefile
355 [$(subdir) = csu] (sysdep_routines): Remove rule.
357 2017-09-13 Joseph Myers <joseph@codesourcery.com>
359 * sysdeps/generic/libm-alias-double.h: New file.
360 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
361 * sysdeps/generic/math-type-macros-double.h: Include
362 <libm-alias-double.h>.
363 [declare_mgen_alias] (declare_mgen_alias): Define to use
365 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
366 (M_LIBM_NEED_COMPAT): Remove macro.
367 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
368 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
369 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
371 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
372 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
373 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
374 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
375 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
376 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
377 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
378 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
379 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
380 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
381 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
382 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
383 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
384 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
385 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
386 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
387 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
388 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
389 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
390 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
391 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
392 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
393 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
394 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
395 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
396 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
397 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
398 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
399 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
401 (declare_mgen_alias): New macro.
402 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
403 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
405 (M_LIBM_NEED_COMPAT): Remove macro.
406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
407 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
409 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
410 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
412 2017-09-12 Joseph Myers <joseph@codesourcery.com>
414 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
415 (declare_mgen_alias_2): Remove.
416 * sysdeps/generic/math-type-macros-double.h
417 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
419 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
421 (ldexp): Define with declare_mgen_alias.
424 2017-09-12 Steve Ellcey <sellcey@cavium.com>
426 * grp/initgroups.c: Include config.h.
427 (DEFAULT_CONFIG): New macro.
428 (internal_getgrouplist): Use DEFAULT_CONFIG.
429 * nscd/initgrcache.c (addinitgroupsX): Likewise.
430 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
431 (DEFAULT_DEFCONFIG): New macro.
432 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
433 * nss/grp-lookup.c: Include config.h
434 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
435 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
436 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
437 * manual/nss.texi: Update default values section.
439 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
442 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
444 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
445 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
446 Handle MathVec_Prefer_No_AVX512.
447 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
448 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
451 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
453 * posix/sched_primax.c (__sched_get_priority_max): Add
455 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
456 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
457 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
458 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
459 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
460 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
461 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
462 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
465 2017-09-11 Joseph Myers <joseph@codesourcery.com>
467 * sysdeps/generic/libm-alias-float.h: New file.
468 * sysdeps/generic/math-type-macros-float.h: Include
469 <libm-alias-float.h>.
470 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
472 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
475 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
476 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
477 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
478 (HWCAP_IMPORTANT): Likewise.
479 (HWCAP_X86_64): New enum.
480 (HWCAP_X86_AVX512_1): Updated.
481 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
482 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
483 (modules-names): Add x86_64/tst-x86_64mod-1.
484 (LDFLAGS-tst-x86_64mod-1.so): New.
485 ($(objpfx)tst-x86_64-1): Likewise.
486 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
487 (tst-x86_64-1-clean): Likewise.
488 * sysdeps/x86_64/tst-x86_64-1.c: New file.
489 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
491 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
493 * po/sv.po: Update translations.
494 * po/fr.po: Likewise.
496 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
498 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
500 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
502 * elf/rtld-Rules: Fix $(error) use.
504 2017-09-09 Mike FABIAN <mfabian@redhat.com>
507 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
508 * locale/iso-639.def: Change “Bengali” to “Bangla”.
509 * localedata/locales/bn_BD: “Bengali” was still used in some
510 comments. Change it to “Bangla”.
512 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
514 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
516 2017-09-08 Steve Ellcey <sellcey@cavium.com>
518 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
519 thunderx2t99p1 to list of cpu names.
520 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
521 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
523 2017-09-08 Steve Ellcey <sellcey@cavium.com>
525 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
526 Use strcmp instead of tunable_is_name.
528 2017-09-08 Joseph Myers <joseph@codesourcery.com>
530 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
531 (F_GET_RW_HINT): New macro.
532 [__USE_GNU] (F_SET_RW_HINT): Likewise.
533 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
534 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
535 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
536 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
537 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
538 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
539 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
540 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
542 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
543 (F_ADD_SEALS): New macro.
544 [__USE_GNU] (F_GET_SEALS): Likewise.
545 [__USE_GNU] (F_SEAL_SEAL): Likewise.
546 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
547 [__USE_GNU] (F_SEAL_GROW): Likewise.
548 [__USE_GNU] (F_SEAL_WRITE): Likewise.
550 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
552 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
553 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
554 * posix/glob_internal.h (__glob_pattern_type):
555 * posix/glob.c (glob):
556 * posix/glob_pattern_p.c (__glob_pattern_p):
559 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
560 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
561 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
562 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
563 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
565 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
566 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
567 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
568 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
569 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
570 * sysdeps/wordsize-64/glob.c: Likewise.
571 * sysdeps/wordsize-64/glob64.c: Likewise.
572 * sysdeps/wordsize-64/globfree.c: Likewise.
573 * sysdeps/wordsize-64/globfree64.c: Likewise.
574 * sysdeps/unix/sysv/linux/glob.c: New file.
575 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
576 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
577 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
578 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
579 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
580 adds !GLOB_NO_OLD_VERSION as an extra condition.
581 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
582 using relative path instead of absolute one.
583 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
584 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
585 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
586 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
587 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
588 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
591 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
592 (glob): Use the same scratch buffer for both getlogin_r and
593 getpwnam_r. Don’t require preallocation of the login name. This
594 simplifies storage allocation, and corrects the handling of
598 * posix/glob.c (glob): Port recent patches to platforms
600 (glob): Fix longstanding misuse of errno after getpwnam_r, which
601 returns an error number rather than setting errno.
603 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
604 instead of GCC extension.
605 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
606 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
607 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
611 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
612 * posix/bug-glob1.c: Remove file.
613 * posix/tst-glob_symlinks.c: New file.
614 * posix/glob.c (__lstat64): New macro.
615 (is_dir): New function.
616 (glob, glob_in_dir): Match symlinks even if they are dangling.
617 (link_stat, link_exists_p): Remove. All uses removed.
621 * posix/glob.c (struct readdir_result): Remove skip_entry member.
622 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
626 * posix/Makefile (routines): Add globfree, globfree64, and
628 * posix/flexmember.h: New file.
629 * posix/glob_internal.h: Likewise.
630 * posix/glob_pattern_p.c: Likewise.
631 * posix/globfree.c: Likewise.
632 * posix/globfree64.c: Likewise.
633 * sysdeps/gnu/globfree64.c: Likewise.
634 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
635 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
636 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
637 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
638 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
639 * sysdeps/wordsize-64/globfree.c: Likewise.
640 * sysdeps/wordsize-64/globfree64.c: Likewise.
641 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
642 [NDEBUG): Remove comments.
643 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
644 (dirent_type): New type. Use uint_fast8_t not
645 uint8_t, as C99 does not require uint8_t.
646 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
647 (struct readdir_result): Use dirent_type. Do not define skip_entry
648 unless it is needed; this saves a byte on platforms lacking d_ino.
649 (readdir_result_type, readdir_result_skip_entry):
650 New functions, replacing ...
651 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
652 these functions, which were removed. This makes the callers
653 easier to read. All callers changed.
654 (D_INO_TO_RESULT): Now empty if there is no d_ino.
655 (size_add_wrapv, glob_use_alloca): New static functions.
656 (glob, glob_in_dir): Check for size_t overflow in several places,
657 and fix some size_t checks that were not quite right.
658 Remove old code using SHELL since Bash no longer
660 (glob, prefix_array): Separate MS code better.
661 (glob_in_dir): Remove old Amiga and VMS code.
662 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
664 (glob_in_dir): Do not rely on undefined behavior in accessing
665 struct members beyond their bounds. Use a flexible array member
667 (link_stat): Rename from link_exists2_p and return -1/0 instead of
669 (glob): Fix memory leaks.
670 * posix/glob64 (globfree64): Move to separate file.
671 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
672 (globfree64): Remove hidden alias.
673 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
675 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
677 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
679 Move compat code to separate file.
680 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
683 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
685 * resolv/tst-resolv-qtypes.c (domain): Changed to
686 "const char domain[] =".
688 2017-09-07 Joseph Myers <joseph@codesourcery.com>
690 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
693 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
694 (TCP_MD5SIG_EXT): Likewise.
695 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
696 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
697 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
699 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
701 2017-09-07 Mike FABIAN <mfabian@redhat.com>
703 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
705 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
708 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
710 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
712 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
713 before assuming that the file is empty. Avoid testing buffer content
716 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
719 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
721 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
723 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
725 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
727 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
729 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
731 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
734 2017-09-06 Florian Weimer <fweimer@redhat.com>
736 * malloc/dynarray_emplace_enlarge.c
737 (__libc_dynarray_emplace_enlarge): Add missing else.
739 2017-09-06 Florian Weimer <fweimer@redhat.com>
742 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
743 case of failure to obtain the global conf object.
745 2017-09-06 Florian Weimer <fweimer@redhat.com>
748 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
749 dynarray allocation failure.
751 2017-09-06 Florian Weimer <fweimer@redhat.com>
753 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
754 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
755 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
757 (response): Call them. Add 'p', '6' flag processing.
758 (test_reverse): New function.
759 (test_get2_any): Call it.
760 (test_no_inet6): Add 'p' test.
761 (test_inet6): Likewise.
763 2017-09-06 Florian Weimer <fweimer@redhat.com>
765 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
766 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
768 (test_gai): Adjust query names. Add additional tests.
769 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
770 test_get2. Adjust query names. Add additional tests.
771 (test_no_inet6): New function, extracted from threadfunc.
772 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
773 Add additional tests.
775 2017-09-06 Mike FABIAN <mfabian@redhat.com>
778 * localedata/unicode-gen/utf8_gen.py: Set the width for
779 characters with Prepended_Concatenation_Mark property to 1
780 * localedata/charmaps/UTF-8: Updated using the improved script.
782 2017-09-06 Mike FABIAN <mfabian@redhat.com>
785 * localedata/unicode-gen/utf8_gen.py: Improve the script to
786 use the range notation for all ranges of neighbouring characters
789 2017-09-05 Joseph Myers <joseph@codesourcery.com>
791 * sysdeps/generic/math-type-macros-double.h: Include
792 <math-svid-compat.h>.
793 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
794 * sysdeps/generic/math-type-macros-float.h: Include
795 <math-svid-compat.h>.
796 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
797 * sysdeps/generic/math-type-macros-ldouble.h: Include
798 <math-svid-compat.h>.
799 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
800 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
802 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
803 * math/w_acosf_compat.c: Likewise.
804 * math/w_acosh_compat.c: Likewise.
805 * math/w_acoshf_compat.c: Likewise.
806 * math/w_acoshl_compat.c: Likewise.
807 * math/w_acosl_compat.c: Likewise.
808 * math/w_asin_compat.c: Likewise.
809 * math/w_asinf_compat.c: Likewise.
810 * math/w_asinl_compat.c: Likewise.
811 * math/w_atan2_compat.c: Likewise.
812 * math/w_atan2f_compat.c: Likewise.
813 * math/w_atan2l_compat.c: Likewise.
814 * math/w_atanh_compat.c: Likewise.
815 * math/w_atanhf_compat.c: Likewise.
816 * math/w_atanhl_compat.c: Likewise.
817 * math/w_cosh_compat.c: Likewise.
818 * math/w_coshf_compat.c: Likewise.
819 * math/w_coshl_compat.c: Likewise.
820 * math/w_exp10_compat.c: Likewise.
821 * math/w_exp10f_compat.c: Likewise.
822 * math/w_exp10l_compat.c: Likewise.
823 * math/w_exp2_compat.c: Likewise.
824 * math/w_exp2f_compat.c: Likewise.
825 * math/w_exp2l_compat.c: Likewise.
826 * math/w_fmod_compat.c: Likewise.
827 * math/w_fmodf_compat.c: Likewise.
828 * math/w_fmodl_compat.c: Likewise.
829 * math/w_hypot_compat.c: Likewise.
830 * math/w_hypotf_compat.c: Likewise.
831 * math/w_hypotl_compat.c: Likewise.
832 * math/w_j0_compat.c: Likewise.
833 * math/w_j0f_compat.c: Likewise.
834 * math/w_j0l_compat.c: Likewise.
835 * math/w_j1_compat.c: Likewise.
836 * math/w_j1f_compat.c: Likewise.
837 * math/w_j1l_compat.c: Likewise.
838 * math/w_jn_compat.c: Likewise.
839 * math/w_jnf_compat.c: Likewise.
840 * math/w_jnl_compat.c: Likewise.
841 * math/w_lgamma_r_compat.c: Likewise.
842 * math/w_lgammaf_r_compat.c: Likewise.
843 * math/w_lgammal_r_compat.c: Likewise.
844 * math/w_log10_compat.c: Likewise.
845 * math/w_log10f_compat.c: Likewise.
846 * math/w_log10l_compat.c: Likewise.
847 * math/w_log2_compat.c: Likewise.
848 * math/w_log2f_compat.c: Likewise.
849 * math/w_log2l_compat.c: Likewise.
850 * math/w_log_compat.c: Likewise.
851 * math/w_logf_compat.c: Likewise.
852 * math/w_logl_compat.c: Likewise.
853 * math/w_pow_compat.c: Likewise.
854 * math/w_powf_compat.c: Likewise.
855 * math/w_powl_compat.c: Likewise.
856 * math/w_remainder_compat.c: Likewise.
857 * math/w_remainderf_compat.c: Likewise.
858 * math/w_remainderl_compat.c: Likewise.
859 * math/w_sinh_compat.c: Likewise.
860 * math/w_sinhf_compat.c: Likewise.
861 * math/w_sinhl_compat.c: Likewise.
862 * math/w_sqrt_compat.c: Likewise.
863 * math/w_sqrtf_compat.c: Likewise.
864 * math/w_sqrtl_compat.c: Likewise.
865 * math/w_tgamma_compat.c: Likewise.
866 * math/w_tgammaf_compat.c: Likewise.
867 * math/w_tgammal_compat.c: Likewise.
868 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
870 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
871 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
873 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
874 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
876 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
877 * sysdeps/i386/fpu/w_sqrt.c: New file.
878 * sysdeps/ia64/fpu/w_acos.c: Likewise.
879 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
880 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
881 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
882 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
883 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
884 * sysdeps/ia64/fpu/w_asin.c: Likewise.
885 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
886 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
887 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
888 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
889 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
890 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
891 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
892 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
893 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
894 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
895 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
896 * sysdeps/ia64/fpu/w_exp.c: Likewise.
897 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
898 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
899 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
900 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
901 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
902 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
903 * sysdeps/ia64/fpu/w_expf.c: Likewise.
904 * sysdeps/ia64/fpu/w_expl.c: Likewise.
905 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
906 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
907 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
908 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
909 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
910 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
911 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
912 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
913 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
914 * sysdeps/ia64/fpu/w_log.c: Likewise.
915 * sysdeps/ia64/fpu/w_log10.c: Likewise.
916 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
917 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
918 * sysdeps/ia64/fpu/w_log2.c: Likewise.
919 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
920 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
921 * sysdeps/ia64/fpu/w_logf.c: Likewise.
922 * sysdeps/ia64/fpu/w_logl.c: Likewise.
923 * sysdeps/ia64/fpu/w_pow.c: Likewise.
924 * sysdeps/ia64/fpu/w_powf.c: Likewise.
925 * sysdeps/ia64/fpu/w_powl.c: Likewise.
926 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
927 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
928 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
929 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
930 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
931 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
932 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
933 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
934 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
935 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
936 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
937 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
938 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
940 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
941 * sysdeps/ieee754/k_standard.c: Likewise.
942 * sysdeps/ieee754/k_standardf.c: Likewise.
943 * sysdeps/ieee754/k_standardl.c: Likewise.
944 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
945 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
946 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
947 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
948 long_double_symbol call on [LIBM_SVID_COMPAT].
949 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
950 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
951 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
952 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
953 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
954 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
955 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
956 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
957 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
958 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
959 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
960 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
961 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
962 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
963 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
964 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
965 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
966 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
967 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
968 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
969 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
970 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
972 2017-09-05 Steve Ellcey <sellcey@cavium.com>
974 * include/shlib-compat.h (TEST_COMPAT): New Macro.
975 * malloc/tst-mallocstate.c: Convert from test-skeleton
976 to test-driver. Ifdef code using TEST_COMPAT macro.
977 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
978 * math/test-matherr.c: Likewise.
980 2017-09-05 Joseph Myers <joseph@codesourcery.com>
983 * debug/pcprofiledump.c (main): Use byte-swapped mask when
984 comparing word with byte-swapped constant.
986 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
989 * locale/iso-639.def: add Miskito.
990 * localedata/SUPPORTED: Add miq_NI/UTF-8.
991 * localedata/locales/miq_NI: New file.
993 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
996 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
998 * io/chmod.c (__chmod): Add libc_hidden_def.
999 * io/mkdir.c (__mkdir): Likewise.
1000 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
1001 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
1002 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
1003 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
1005 2017-09-04 Joseph Myers <joseph@codesourcery.com>
1007 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1011 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
1012 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
1014 2017-09-04 Florian Weimer <fweimer@redhat.com>
1016 * math/math.h: Issue warning if log is defined.
1018 2017-09-04 Joseph Myers <joseph@codesourcery.com>
1020 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1021 kernel version to 4.13.
1023 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1025 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
1026 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
1028 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
1029 just <bits/types.h>.
1030 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
1031 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
1032 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
1033 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
1034 * misc/preadv2.c: Include <errno.h>.
1035 * misc/preadv64v2.c: Include <errno.h>.
1036 * misc/pwritev2.c: Include <errno.h>.
1037 * misc/pwritev64v2.c: Include <errno.h>.
1038 * sysdeps/posix/preadv2.c: Include <errno.h>.
1039 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
1040 Fix <unistd.h> inclusion.
1041 * sysdeps/posix/pwritev2.c: Include <errno.h>.
1042 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
1043 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
1044 __strtoul_internal): New functions.
1045 * sysdeps/posix/pause.c: Include <sigsetops.h>.
1046 * sysdeps/posix/system.c: Include <sigsetops.h>.
1047 * sysdeps/mach/hurd/i386/Makefile
1048 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
1049 [$(subdir) = csu] (sysdep-only-routines): Likewise.
1050 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1051 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
1052 __feraiseexcept_renamed to feraiseexcept instead of
1054 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
1055 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
1056 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
1057 RWF_NOWAIT): Define to 0 if undefined already.
1058 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
1060 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
1061 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
1063 2017-09-01 Joseph Myers <joseph@codesourcery.com>
1065 * manual/math.texi (pow10): Do not document.
1068 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
1069 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
1070 * math/libm-test-exp10.inc (pow10_test): Remove.
1071 (do_test): Do not call pow10.
1072 * math/w_exp10_compat.c (pow10): Make into compat symbol.
1073 [NO_LONG_DOUBLE] (pow10l): Likewise.
1074 * math/w_exp10f_compat.c (pow10f): Likewise.
1075 * math/w_exp10l_compat.c (pow10l): Likewise.
1076 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
1077 (pow10): Make into compat symbol.
1078 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
1079 (pow10f): Make into compat symbol.
1080 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
1081 (pow10l): Make into compat symbol.
1082 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
1084 (CFLAGS-nldbl-pow10.c): Remove variable..
1085 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
1086 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
1087 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
1088 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
1089 Undefine and redefine.
1090 (pow10l): Make into compat symbol.
1091 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
1092 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1093 * sysdeps/arm/libm-test-ulps: Likewise.
1094 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
1095 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1096 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1097 * sysdeps/microblaze/libm-test-ulps: Likewise.
1098 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1099 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1100 * sysdeps/nios2/libm-test-ulps: Likewise.
1101 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1102 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1103 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1104 * sysdeps/sh/libm-test-ulps: Likewise.
1105 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1106 * sysdeps/tile/libm-test-ulps: Likewise.
1107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1109 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1111 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
1113 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
1115 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
1116 "../ChangeLog.old/ChangeLog.8".
1117 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
1118 "../ChangeLog.old/ChangeLog.14".
1120 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
1122 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
1125 2017-09-01 Joseph Myers <joseph@codesourcery.com>
1127 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
1129 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
1131 * csu/version.c (banner): Remove "by Roland McGrath et al.".
1132 * nptl/Banner: Remove "by Ulrich Drepper et al.".
1134 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1136 * stdlib/tst-atexit-common.c (do_test): Test support for at least
1139 2017-09-01 Zack Weinberg <zackw@panix.com>
1141 * math/math.h (HUGE_VAL): Improve commentary.
1143 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1144 Andreas Schwab <schwab@suse.de>
1147 * include/stdio.h (__gen_tempfd): New function.
1148 * stdio-common/Makefile (routines): Add gentempfd.
1149 * stdio-common/gentempfd.c: New file.
1150 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
1151 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
1154 2017-09-01 Florian Weimer <fweimer@redhat.com>
1158 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
1159 result to determine success or failure, not the errno value.
1160 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
1161 (tst-nss-files-hosts-erange): Link with -ldl.
1162 * nss/tst-nss-files-hosts-erange.c: New file.
1163 * nss/tst-resolv-basic.c (response): Handle nodata.example.
1164 (do_test): Add NO_DATA tests.
1165 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
1168 2017-09-01 Florian Weimer <fweimer@redhat.com>
1171 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
1172 coming from gethostbyname2_r.
1174 2017-09-01 Florian Weimer <fweimer@redhat.com>
1176 * support/namespace.h (struct support_chroot_configuration): Add
1178 (struct support_chroot): Add path_hosts, path_host_conf.
1179 * support/support_chroot.c (write_file): New function.
1180 (support_chroot_create): Call it to process /etc/resolv.conf,
1181 /etc/hosts, /etc/host.conf.
1182 (support_chroot_free): Update.
1184 2017-09-01 Florian Weimer <fweimer@redhat.com>
1186 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
1187 status indicates it is set.
1189 2017-09-01 Florian Weimer <fweimer@redhat.com>
1191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
1192 function lookup failures more reliable.
1194 2017-09-01 Florian Weimer <fweimer@redhat.com>
1196 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
1197 (getcanonname): Likewise.
1198 (gaih_inet): Likewise.
1200 2017-09-01 Florian Weimer <fweimer@redhat.com>
1202 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
1203 (getcanonname): Likewise.
1204 (gaih_inet): Likewise.
1206 2017-08-31 Steve Ellcey <sellcey@cavium.com>
1207 Richard Henderson <rth@twiddle.net>
1209 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
1210 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
1211 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
1212 (IREG_SIZE, OREG_SIZE): New macros.
1213 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
1214 (IREG_SIZE, OREG_SIZE): New macros.
1215 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
1216 (IREG_SIZE): New macro.
1217 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
1218 (IREG_SIZE): New macro.
1219 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
1221 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
1222 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
1223 (__CONCATX): Handle exceptions correctly on large values that may
1225 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
1226 Initialize if not already set.
1227 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
1229 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1231 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
1232 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
1234 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
1236 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
1238 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
1240 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
1242 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
1244 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
1246 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
1247 (NO_CANCELLATION): Likewise.
1248 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
1250 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
1252 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
1254 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
1255 (NO_CANCELLATION): Likewise.
1256 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
1257 (NO_CANCELLATION): Likewise.
1258 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
1260 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
1262 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
1264 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
1266 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
1268 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
1269 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
1271 2017-08-31 Steve Ellcey <sellcey@cavium.com>
1273 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
1276 2017-08-31 Florian Weimer <fweimer@redhat.com>
1278 * include/libc-symbols.h (internal_function): Remove.
1280 2017-08-31 Florian Weimer <fweimer@redhat.com>
1282 * stdlib/fmtmsg.c (internal_addseverity): Remove
1285 2017-08-31 Florian Weimer <fweimer@redhat.com>
1287 * stdio-common/printf_fp.c (group_number): Remove
1289 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
1291 2017-08-31 Florian Weimer <fweimer@redhat.com>
1293 * posix/fnmatch.c (internal_function): Remove definition.
1294 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
1295 * posix/regcomp.c (peek_token, init_word_char)
1296 (duplicate_node_closure, fetch_token, peek_token)
1297 (peek_token_bracket, build_range_exp, build_collating_symbol):
1299 * posix/regex_internal.c (re_string_construct_common)
1300 (create_ci_newstate, create_cd_newstate, re_string_allocate)
1301 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
1302 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
1303 (re_string_translate_buffer, re_string_reconstruct)
1304 (re_string_peek_byte_case, re_string_fetch_byte_case)
1305 (re_string_destruct, re_string_context_at, re_node_set_alloc)
1306 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
1307 (re_node_set_add_intersect, re_node_set_init_union)
1308 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
1309 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
1310 (re_dfa_add_node, calc_state_hash, re_acquire_state)
1311 (re_acquire_state_context): Likewise.
1312 * posix/regex_internal.h (internal_function): Remove definition.
1313 (re_string_realloc_buffers, build_wcs_buffer)
1314 (build_wcs_upper_buffer, build_upper_buffer)
1315 (re_string_translate_buffer, re_string_context_at)
1316 (re_string_char_size_at, re_string_wchar_at)
1317 (re_string_elem_size_at): Likewise.
1318 * posix/regexec.c (match_ctx_init, match_ctx_clean)
1319 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
1320 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
1321 (re_search_internal, re_search_2_stub, re_search_stub)
1322 (re_copy_regs, prune_impossible_nodes, check_matching)
1323 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
1324 (free_fail_stack_return, sift_states_iter_mb)
1325 (sift_states_backward, build_sifted_states)
1326 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
1327 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
1328 (check_subexp_limits, sift_states_bkref, merge_state_array)
1329 (find_recover_state, transit_state, merge_state_with_log)
1330 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
1331 (transit_state_mb, transit_state_bkref, get_subexp)
1332 (get_subexp_sub, find_subexp_node, check_arrival)
1333 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
1334 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
1335 (check_node_accept_bytes, find_collation_sequence_value)
1336 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
1337 (acquire_init_state_context, check_halt_node_context)
1338 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
1339 (sub_epsilon_src_nodes): Likewise.
1340 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
1341 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
1342 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
1343 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
1344 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
1345 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
1346 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
1347 * sysdeps/posix/ttyname.c (getttyname): Likewise.
1348 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
1349 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
1351 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
1353 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
1354 (PWRITEV): Likewise.
1355 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
1356 (PWRITEV): Likewise.
1357 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
1358 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
1360 2017-08-31 Florian Weimer <fweimer@redhat.com>
1362 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
1363 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
1364 Remove internal_function.
1365 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1366 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
1367 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
1368 (__deallocate_stack, __libc_pthread_init)
1369 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
1370 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
1371 (__libc_disable_asynccancel, __librt_disable_asynccancel):
1373 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
1374 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
1375 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
1377 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
1378 (__pthread_mutex_unlock_usercnt): Likewise.
1380 2017-08-31 Florian Weimer <fweimer@redhat.com>
1382 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
1383 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
1384 (fts_safe_changedir): Remove internal_function.
1385 * io/ftw.c (internal_function): Remove definition.
1386 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
1388 2017-08-31 Florian Weimer <fweimer@redhat.com>
1390 * inet/deadline.c (__deadline_current_time)
1391 (__deadline_from_timeval, __deadline_to_ms): Remove
1393 * inet/getnameinfo.c (nrl_domainname): Likewise.
1394 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
1395 * inet/inet6_option.c (add_pad): Likewise.
1396 * inet/net-internal.h (__deadline_current_time)
1397 (__deadline_from_timeval, __deadline_to_ms): Likewise.
1398 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
1399 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
1400 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
1402 2017-08-31 Joseph Myers <joseph@codesourcery.com>
1404 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
1405 include <bits/nan.h>.
1406 * math/Makefile (headers): Remove bits/nan.h.
1407 * bits/nan.h: Remove.
1408 * sysdeps/ieee754/bits/nan.h: Likewise.
1409 * sysdeps/mips/bits/nan.h: Likewise.
1411 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
1412 not include <bits/inf.h>.
1413 * math/Makefile (headers): Remove bits/inf.h.
1414 * bits/inf.h: Remove.
1415 * sysdeps/ieee754/bits/inf.h: Likewise.
1417 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
1418 bits/huge_vall.h or bits/huge_val_flt128.h.
1419 (HUGE_VAL): Define directly here.
1420 [__USE_ISOC99] (HUGE_VALF): Likewise.
1421 [__USE_ISOC99] (HUGE_VALL): Likewise.
1422 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1423 (HUGE_VAL_F128): Likewise.
1424 * math/Makefile (headers): Remove bits/huge_val.h,
1425 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
1426 * bits/huge_val.h: Remove.
1427 * bits/huge_val_flt128.h: Likewise.
1428 * bits/huge_valf.h: Likewise.
1429 * bits/huge_vall.h: Likewise.
1430 * sysdeps/ia64/bits/huge_vall.h: Likewise.
1431 * sysdeps/ieee754/bits/huge_val.h: Likewise.
1432 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
1433 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
1434 * sysdeps/sh/bits/huge_val.h: Likewise.
1435 * sysdeps/sparc/bits/huge_vall.h: Likewise.
1436 * sysdeps/x86/bits/huge_vall.h: Likewise.
1438 2017-08-31 Florian Weimer <fweimer@redhat.com>
1440 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
1442 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
1444 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
1445 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
1446 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
1447 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
1448 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1449 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
1450 * elf/dl-libc.c (dlerror_run): Likewise.
1451 * elf/dl-load.c (add_name_to_object, decompose_rpath)
1452 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
1453 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
1454 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
1456 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
1457 (_dl_higher_prime_number, _dl_strtoul): Likewise.
1458 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
1459 * elf/dl-profile.c (_dl_start_profile): Likewise.
1460 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
1461 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
1463 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
1464 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
1465 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
1466 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
1467 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
1468 (_dl_allocate_tls_storage): Likewise.
1469 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
1470 (_dl_check_all_versions): Likewise.
1471 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
1472 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
1473 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
1474 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
1475 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
1476 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
1477 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
1478 internal_function from __dl_start.
1479 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
1480 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
1481 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
1482 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
1483 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
1484 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
1485 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
1486 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
1487 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
1488 (_dl_next_ld_env_entry, _dl_important_hwcaps)
1489 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
1490 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
1491 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
1492 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
1493 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
1495 (struct rtld_global_ro): Remove internal_function from the
1496 _dl_lookup_symbol_x member.
1497 (_dl_symbol_value): Remove. No longer defined anywhere.
1498 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
1500 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
1501 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1502 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
1503 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
1504 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
1505 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
1506 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
1507 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
1508 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
1509 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
1510 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
1511 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1513 2017-08-31 Florian Weimer <fweimer@redhat.com>
1515 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
1516 Remove internal_function.
1517 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
1519 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
1522 2017-08-31 Florian Weimer <fweimer@redhat.com>
1524 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
1525 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
1526 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
1528 2017-08-31 Florian Weimer <fweimer@redhat.com>
1530 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
1531 (__gai_enqueue_request): Remove internal_function.
1532 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
1533 (__gai_remove_request, __gai_notify, __gai_notify_only)
1534 (__gai_sigqueue): Likewise.
1535 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
1536 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
1537 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
1538 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1541 2017-08-31 Florian Weimer <fweimer@redhat.com>
1543 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
1544 * include/dirent.h (__opendirat, __getdents, __getdents64)
1545 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
1546 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
1547 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
1548 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
1550 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
1552 2017-08-31 Florian Weimer <fweimer@redhat.com>
1554 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
1556 (GETCWD_RETURN_TYPE): Likewise.
1558 2017-08-31 Florian Weimer <fweimer@redhat.com>
1560 * include/time.h (__tz_compute, __strptime_internal): Remove
1562 * time/strptime_l.c (__strptime_internal): Likewise.
1563 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
1565 2017-08-31 Florian Weimer <fweimer@redhat.com>
1567 * iconv/gconv.c (__gconv): Remove internal_function.
1568 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
1569 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
1570 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
1571 (__gconv_release_cache): Likewise.
1572 * iconv/gconv_close.c (__gconv_close): Likewise.
1573 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
1574 (read_conf_file, __gconv_get_path): Likewise.
1575 * iconv/gconv_db.c (derivation_lookup, add_derivation)
1576 (__gconv_release_step, gen_steps, increment_counter)
1577 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
1578 (__gconv_close_transform, free_modules_db): Likewise.
1579 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
1581 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
1582 (__gconv_find_transform, __gconv_lookup_cache)
1583 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
1584 (__gconv_close_transform, __gconv_release_cache)
1585 (__gconv_loaded_object, __gconv_release_shlib)
1586 (__gconv_compare_alias): Likewise.
1587 * iconv/gconv_open.c (__gconv_open): Likewise.
1588 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
1589 * iconv/iconvconfig.c (add_module): Likewise.
1590 * intl/dcigettext.c (plural_lookup, guess_category_value)
1591 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
1592 * intl/eval-plural.h (plural_eval): Likewise.
1593 * intl/finddomain.c (_nl_find_domain): Likewise.
1594 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
1595 (_nl_load_domain, _nl_find_msg): Likewise.
1596 (internal_function): Remove definition.
1597 * intl/loadinfo.h (internal_function): Likewise.
1598 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
1600 * intl/localealias.c (internal_function): Remove definition.
1601 (read_alias_file): Remove internal_function.
1602 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
1603 * intl/plural-exp.h (internal_function): Remove definition.
1604 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
1606 * intl/plural.c: Regenerate.
1607 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
1608 * locale/coll-lookup.c (__collidx_table_lookup)
1609 (__collseq_table_lookup): Likewise.
1610 * locale/coll-lookup.h (__collidx_table_lookup)
1611 (__collseq_table_lookup): Likewise.
1612 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
1613 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
1614 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
1615 (_nl_unload_locale): Likewise.
1616 * locale/localeinfo.h (struct __locale_data): Remove
1617 internal_function from cleanup member.
1618 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
1619 (_nl_remove_locale, _nl_load_locale_from_archive)
1620 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
1621 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
1622 (_nl_cleanup_time): Remove internal_function.
1623 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
1624 (_nl_parse_alt_digit): Likewise.
1625 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
1626 (_nl_select_era_entry): Likewise.
1627 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
1628 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
1629 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
1630 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
1631 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
1633 2017-08-31 Florian Weimer <fweimer@redhat.com>
1635 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
1636 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
1637 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
1638 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
1640 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
1641 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
1642 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
1643 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
1645 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
1647 2017-08-31 Florian Weimer <fweimer@redhat.com>
1649 * misc/getttyent.c (skip, value): Remove internal_function.
1650 * misc/syslog.c (openlog_internal): Likewise.
1651 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
1653 2017-08-31 Florian Weimer <fweimer@redhat.com>
1655 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
1656 (__nss_rewrite_field): Remove internal_function.
1657 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1658 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
1659 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1660 * nss/nsswitch.c (nss_parse_file, nss_getline)
1661 (nss_parse_service_list, nss_new_service): Likewise.
1662 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
1663 * nss/valid_field.c (__nss_valid_field): Likewise.
1664 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
1666 2017-08-31 Florian Weimer <fweimer@redhat.com>
1668 * malloc/arena.c (__malloc_fork_lock_parent)
1669 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
1670 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
1671 internal_function from defintions.
1672 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
1673 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
1674 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
1675 internal_function from declarations.
1676 * malloc/malloc.c (internal_function): Do not define.
1677 (mem2mem_check): Remove internal_function from declaration.
1678 (munmap_chunk, mremap_chunk): Remove internal_function.
1679 * malloc/mtrace.c (tr_where): Likewise.
1681 2017-08-31 Florian Weimer <fweimer@redhat.com>
1683 * include/rpc/pmap_clnt.h (__get_socket): Remove
1685 * sunrpc/auth_des.c (synchronize): Likewise.
1686 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
1687 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
1688 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
1689 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
1690 (key_call): Likewise.
1691 * sunrpc/pm_getport.c (__get_socket): Likewise.
1692 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
1693 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
1694 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
1695 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
1696 (invalidate): Likewise.
1697 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
1698 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
1699 (set_input_fragment, get_input_bytes): Likewise.
1701 2017-08-31 Florian Weimer <fweimer@redhat.com>
1703 * malloc/malloc.c (_int_free): Remove locked variable and related
1706 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
1709 * Makerules (build-module-helper-objlist): Filter out
1710 $(elf-objpfx)sofini.os.
1711 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
1714 2017-08-31 Florian Weimer <fweimer@redhat.com>
1716 * libio/fcloseall.c: Assume weak_alias is defined.
1717 * libio/feof.c: Likewise.
1718 * libio/fileno.c: Likewise.
1719 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
1720 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
1722 (_IO_file_open): Call __open directly.
1723 (_IO_new_file_sync): Assume ESPIPE is defined.
1724 (_IO_file_seekoff_maybe_mmap): Call __read directly.
1725 (_IO_new_file_write): Call __write directly.
1726 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
1727 * libio/ftello64.c (__ftello64): Assume EIO is defined.
1728 * libio/genops.c: Assume _LIBC is defined.
1729 (save_for_backup): Remove internal_function.
1730 * libio/getc.c: Assume weak_alias is defined.
1731 * libio/getwc.c: Likewise.
1732 * libio/iofclose.c: Assume _LIBC is defined.
1733 * libio/iofdopen.c: Likewise.
1734 (_IO_fcntl): Remove macro definition.
1735 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
1736 Call __fcntl directly.
1737 * libio/iofflush.c: Assume weak_alias is defined.
1738 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
1740 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
1741 * libio/iofgets.c: Likewise.
1742 * libio/iofopen.c: Assume _LIBC is defined.
1743 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
1744 * libio/iofputs.c: Assume weak_alias is defined.
1745 * libio/iofread.c: Likewise.
1746 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
1747 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
1748 * libio/ioftell.c: Assume weak_alias is defined.
1749 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
1750 * libio/iofwide.c: Assume _LIBC is defined.
1751 (_IO_fwide): Drop SHARED conditional because it is implied by
1753 * libio/iofwrite.c: Assume weak_alias is defined.
1754 * libio/iogetdelim.c: Likewise.
1755 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
1756 * libio/iogetwline.c (wmemcpy): Remove macro definition.
1757 (_IO_getwline): Call __wmemcpy directly.
1758 * libio/iopopen.c: Assume _LIBC is defined.
1759 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
1760 (_IO_close): Remove macro definitions.
1761 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
1763 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
1765 * libio/ioputs.c: Assume weak_alias is defined.
1766 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
1767 * libio/iosetbuffer.c: Assume weak_alias is defined.
1768 * libio/iosetvbuf.c: Likewise.
1769 * libio/ioungetc.c: Likewise.
1770 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
1771 libc_hidden_def, libc_hidden_weak, NULL are defined.
1772 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
1773 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
1775 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
1777 (_IO_old_file_init_internal): Drop SHARED conditional because it
1778 is implied by SHLIB_COMPAT.
1779 (_IO_old_file_fopen): Call __open directly.
1780 (_IO_old_file_sync): Assume ESPIPE is defined.
1781 (_IO_old_file_write): Call __write directly.
1782 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
1783 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
1784 Call __fcntl directly.
1785 * libio/oldiofgetpos.c: Assume weak_alias is defined.
1786 (_IO_old_fgetpos): Assume EIO is defined.
1787 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
1788 (_IO_old_fgetpos64): Assume EIO is defined.
1789 * libio/oldiofsetpos.c: Assume weak_alias is defined.
1790 (_IO_old_fsetpos): Assume EIO is defined.
1791 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
1792 (_IO_old_fsetpos64): Assume EIO is defined.
1793 * libio/oldiopopen.c: Assume _LIBC is defined.
1794 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
1795 (_IO_close): Remove macro definitions.
1796 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
1798 (_IO_old_proc_close): Call __close, __waitpid directly.
1799 * libio/put.c: Assume weak_alias is defined.
1800 * libio/stdfiles.c: Assume _LIBC is defined.
1801 * libio/stdio.c: Likewise.
1802 * libio/wfileops.c: Likewise.
1803 (_IO_wfile_sync): Assume ESPIPE is defined.
1804 * libio/wgenops.c: Assume _LIBC is defined.
1805 (save_for_wbackup): Remove internal_function.
1807 2017-08-31 Florian Weimer <fweimer@redhat.com>
1809 * malloc/malloc.c (top_check): Change return type to void. Remove
1811 * malloc/hooks.c (top_check): Likewise.
1812 (malloc_check, realloc_check, memalign_check): Adjust.
1814 2017-08-30 Joseph Myers <joseph@codesourcery.com>
1817 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
1818 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
1819 sigcontext and namespace requirements.
1820 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
1821 * sysdeps/m68k/sys/ucontext.h: Likewise.
1822 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
1823 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
1824 <bits/sigcontext.h>.
1825 (__ctx): Define earlier.
1826 (mcontext_t): Define structure contents rather than using struct
1828 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
1829 __glibc_reserved1 instead of __reserved.
1830 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
1831 <bits/sigcontext.h>.
1832 (__ctx): Define earlier.
1833 (mcontext_t): Define structure contents rather than using struct
1835 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
1836 mcontext_t instead of struct sigcontext.
1837 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
1838 <bits/sigcontext.h>.
1839 (__ctx): Define earlier.
1840 (mcontext_t): Define structure contents rather than using struct
1842 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
1843 <bits/sigcontext.h>.
1844 (__ctx): Define earlier.
1845 (mcontext_t): Define structure contents rather than using struct
1847 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
1848 mcontext_t instead of struct sigcontext.
1849 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
1850 mcontext_t instead of struct sigcontext.
1851 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
1852 <bits/sigcontext.h>.
1854 (struct __ia64_fpreg_mcontext): New type.
1855 (mcontext_t): Define structure contents rather than using struct
1857 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
1858 (uc_sigmask): Define using __ctx.
1859 (uc_stack): Likewise.
1860 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
1861 <bits/sigcontext.h>.
1862 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1863 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
1864 <bits/sigcontext.h>.
1865 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
1866 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
1867 <bits/sigcontext.h>.
1868 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
1869 <bits/sigcontext.h>.
1870 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
1871 <bits/sigcontext.h>.
1872 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
1873 <bits/sigcontext.h>.
1874 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
1875 <bits/sigcontext.h>.
1876 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
1877 <bits/sigcontext.h>.
1878 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
1879 <bits/sigcontext.h>.
1880 (__ctx): Define earlier.
1881 (mcontext_t): Define structure contents rather than using struct
1883 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
1884 <bits/sigcontext.h>. Include <bits/types.h>.
1885 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
1886 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
1887 (test-xfail-XPG42/ucontext.h/conform): Likewise.
1888 (test-xfail-UNIX98/signal.h/conform): Likewise.
1889 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1890 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1891 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1892 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1893 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1894 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1895 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1896 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1897 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1899 2017-08-30 Florian Weimer <fweimer@redhat.com>
1901 * malloc/dynarray_emplace_enlarge.c
1902 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
1903 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
1904 * malloc/tst-dynarray.c (test_long_overflow): New function.
1907 2017-08-30 Florian Weimer <fweimer@redhat.com>
1909 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
1910 (set_arena_corrupt): Remove definitions.
1911 (mtrim): Do not check for corrupt arena.
1912 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
1915 2017-08-30 Florian Weimer <fweimer@redhat.com>
1918 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
1920 (ptmalloc_init): Do not set or use check_action.
1921 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
1922 call to malloc_printerr. Remove return statement.
1923 (free_check): Likewise. Remove arena unlock.
1924 (top_check): Update comment. Adjust call to malloc_printerr.
1925 Remove heap repair code.
1926 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
1927 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
1928 (sysmalloc): Adjust call to malloc_printerr.
1929 (munmap_chunk, __libc_realloc): Likewise. Remove return
1931 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
1932 Remove errout label and corresponding gotos.
1933 (_int_free): Likewise. Remove arena unlock.
1934 (do_set_mallopt_check): Do not set check_action.
1935 (malloc_printerr): Adjust parameter list. Do not mark arena as
1937 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
1939 * manual/probes.texi (Memory Allocation Probes): Remove
1940 memory_mallopt_check_action.
1942 2017-08-30 Steve Ellcey <sellcey@cavium.com>
1944 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
1945 Use pointer to uint64_t instead of long int for sp.
1947 2017-08-30 Florian Weimer <fweimer@redhat.com>
1950 * malloc/malloc.c (malloc_printerr): Always terminate the process,
1951 without printing a backtrace. Do not leak any information in the
1953 * manual/memory.texi (Heap Consistency Checking): Update.
1954 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
1956 2017-08-30 Florian Weimer <fweimer@redhat.com>
1958 Do not scale NPTL tests with available number of CPUs.
1959 * nptl/tst-cond16.c (count): Set to constant value of 8.
1960 * nptl/tst-cond18.c (count): Likewise.
1962 2017-08-29 Joseph Myers <joseph@codesourcery.com>
1965 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
1966 Define to take a second argument that is a macro that
1967 concatentates a suffix, not the suffix itself.
1968 (__CONCAT_d): New macro.
1969 (__CONCAT_f): Likewise.
1970 (__CONCAT_l): Likewise.
1972 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
1974 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
1977 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1978 Aurelien Jarno <aurelien@aurel32.net>
1979 Maciej W. Rozycki <macro@imgtec.com>
1982 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
1983 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
1984 `mips16-syscall6' and `mips16-syscall7'.
1985 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
1986 (CFLAGS-mips16-syscall7.c): Remove.
1987 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
1988 Remove `__mips16_syscall5', `__mips16_syscall6' and
1989 `__mips16_syscall7'.
1990 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
1991 (__mips16_syscall0): Rename `__mips16_syscall_return' to
1992 `__mips_syscall_return'.
1993 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
1994 (__mips16_syscall1): Likewise.
1995 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
1996 (__mips16_syscall2): Likewise.
1997 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
1998 (__mips16_syscall3): Likewise.
1999 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
2000 (__mips16_syscall4): Likewise.
2001 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
2003 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
2005 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
2007 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
2008 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
2009 `__mips16_syscall5'. Remove prototype.
2010 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
2011 `__mips16_syscall6'. Remove prototype.
2012 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
2013 `__mips16_syscall7'. Remove prototype.
2014 (__nomips16, __mips16_syscall_return): Move to...
2015 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
2016 (__nomips16, __mips_syscall_return): ... here.
2017 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
2018 `__mips16_syscall_return' to `__mips_syscall_return'.
2019 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
2020 `internal_syscall##nr'.
2021 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
2022 `internal_syscall##nr'.
2023 (FORCE_FRAME_POINTER): Remove.
2024 (__mips_syscall5): New prototype.
2025 (internal_syscall5): Rewrite to call `__mips_syscall5'.
2026 (__mips_syscall6): New prototype.
2027 (internal_syscall6): Rewrite to call `__mips_syscall6'.
2028 (__mips_syscall7): New prototype.
2029 (internal_syscall7): Rewrite to call `__mips_syscall7'.
2030 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
2031 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
2032 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
2033 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
2034 (sysdep_routines): Add libc-do-syscall.
2035 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
2036 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
2038 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2041 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
2042 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
2043 (advise_stack_range): New function.
2044 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
2045 stack non required to advise_stack_range at allocatestack.c
2047 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2049 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
2051 2017-08-29 Florian Weimer <fweimer@redhat.com>
2054 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
2055 __end_fct. Mangle __end_fct after setting it to NULL.
2056 * iconv/Makefile (tests): Add tst-gconv-init-failure.
2057 (modules-names, modules-names-tests): Add
2058 tst-gconv-init-failure-mod.
2059 (gconv-modules): New target.
2060 (tst-gconv-init-failure-mod.so): Link against libsupport.
2061 (tst-gconv-init-failure): Depend on gconv-modules,
2062 tst-gconv-init-failure-mod.so.
2063 * iconv/tst-gconv-init-failure-mod.c: New file.
2064 * iconv/tst-gconv-init-failure.c: Likewise.
2065 * iconv/test-gconv-modules: Likewise.
2067 2017-08-29 Florian Weimer <fweimer@redhat.com>
2070 * iconv/gconv_db.c (free_derivation): Remove redundant
2072 (gen_steps): Unconditionally mangle __btowc_fct after
2074 (increment_counter): Likewise. Do not call init_fct for internal
2077 2017-08-29 Joseph Myers <joseph@codesourcery.com>
2080 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
2081 (_MSUF_): Remove macro.
2082 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
2084 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
2085 (__REDIRFROM_X): New macro.
2086 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
2088 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
2089 (__REDIRTO_X): Likewise.
2090 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
2092 (__MATH_REDIRCALL_2): Likewise.
2093 (__MATH_REDIRCALL_INTERNAL): Likewise.
2094 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
2095 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
2096 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
2097 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
2098 * math/test-finite-macros.c: New file.
2099 * math/Makefile (tests): Add test-finite-macros.
2100 (CFLAGS-test-finite-macros.c): New variable.
2102 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
2103 Jeff Law <law@redhat.com>
2106 Mangle NULL pointers in iconv/gconv.
2107 * iconv/gconv_cache.c (find_module): Demangle init_fct before
2108 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
2109 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
2110 is non-NULL before demangling the end_fct. Check for NULL
2111 end_fct after demangling.
2112 (__gconv_release_step): Demangle the end_fct before checking
2113 it for NULL. Remove assert on __shlibc_handle != NULL.
2114 (gen_steps): Don't check btowc_fct for NULL before mangling.
2115 Demangle init_fct before checking for NULL.
2116 (increment_counter): Likewise.
2117 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
2118 end_fct for NULL before mangling.
2119 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
2122 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
2125 * locale/iso-639.def: add Morisyen.
2127 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2130 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
2131 (iszero): New C++ implementation that does not use
2132 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
2133 signaling nans are enabled, since __builtin_types_compatible_p
2134 is a C-only feature.
2135 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
2136 defined, include ieee754_float128.h for access to the union and
2137 member ieee854_float128.ieee.
2138 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
2139 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
2140 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
2141 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
2142 options of test-math-zero on powerpc64le.
2144 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
2146 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
2147 Change double to float.
2149 2017-08-28 Joseph Myers <joseph@codesourcery.com>
2151 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
2153 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
2154 conditional code; define contents only for [LIBM_SVID_COMPAT].
2156 2017-08-28 Florian Weimer <fweimer@redhat.com>
2158 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
2159 (abi-lp64_be-options): Remove.
2160 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
2161 (abi-hard-options): Likewise.
2162 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
2163 (abi-o32_hard-options, abi-o32_soft_2008-options)
2164 (abi-o32_hard_2008-options, abi-n32_soft-options)
2165 (abi-n32_hard-options, abi-n32_soft_2008-options)
2166 (abi-n32_hard_2008-options, abi-n64_soft-options)
2167 (abi-n64_hard-options, abi-n64_soft_2008-options)
2168 (abi-n64_hard_2008-options): Likewise.
2169 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
2170 (abi-64-v1-options, abi-64-v2-options): Likewise.
2171 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
2172 (abi-64-options): Likewise.
2173 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
2174 (abi-64-options): Likewise.
2175 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
2176 (abi-64-options): Likewise.
2177 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
2178 (abi-64-options, abi-x32-options): Likewise.
2180 2017-08-28 Florian Weimer <fweimer@redhat.com>
2182 Store supported list of SYS_* system calls in the source tree.
2183 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2184 (bits/syscall.h): Generate from list file.
2185 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
2186 [$(subdir) = misc] (tests): Add tst-syscall-list.
2187 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
2188 [$(subdir) = misc] (tst-syscall-list-macros.list)
2189 [$(subdir) = misc] (tst-syscall-list-nr.list)
2190 (tst-syscall-list-sys.list): Helper targets for new
2191 tst-syscall-list test.
2192 [$(subdir) = misc] (tst-syscall-list.out): Run test script
2193 tst-syscall-list.sh.
2194 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
2195 target. Do not include bits/syscall.d.
2196 [$(subdir) = misc] (generated): Do not update.
2197 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
2198 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
2199 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
2200 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
2202 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2204 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
2205 (tst-cxa_atexit, tst-on_exit): Likewise.
2206 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
2207 tst-cxa_atexit, and tst-on_exit.
2208 * stdlib/tst-atexit-common.c: New file.
2209 * stdlib/tst-atexit.c: New file.
2210 * stdlib/tst-at_quick_exit.c: New file.
2211 * stdlib/tst-cxa_atexit.c: New file.
2212 * stdlib/tst-on_exit.c: New file.
2214 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2216 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
2217 * mach/stack_chk_fail_local.c: New file.
2218 * hurd/stack_chk_fail_local.c: New file.
2219 * mach/Machrules ($(interface-library)-routines): Add
2220 stack_chk_fail_local.
2221 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
2222 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
2223 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
2224 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
2225 * hurd/Makefile (CFLAGS-hurdstartup.o,
2226 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2228 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
2230 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
2231 (index_cpu_*, index_arch_*): Removed.
2233 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2235 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
2236 Use uint64_t instead of unsigned long.
2238 2017-08-25 Joseph Myers <joseph@codesourcery.com>
2240 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
2241 [__HAVE_DISTINCT_FLOAT128].
2243 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
2244 of <bits/math-finite.h>.
2245 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
2246 inclusion of <bits/math-finite.h>.
2247 * math/bits/math-finite.h (__REDIRTO_X): Do not define
2248 conditionally on [__MATH_DECLARING_LDOUBLE && defined
2249 __NO_LONG_DOUBLE_MATH].
2250 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
2251 (__MATH_REDIRCALL_2): Likewise.
2252 (__MATH_REDIRCALL_INTERNAL): Likewise.
2253 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
2254 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
2255 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
2257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
2259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
2261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
2263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
2265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
2267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
2269 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
2270 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
2271 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
2272 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
2273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2274 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
2275 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
2276 w_sqrtf_compat-ppc32.
2278 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2280 * math/math.h [defined __cplusplus] (issignaling): In the long
2281 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
2282 is not defined. Call __issignaling, otherwise.
2284 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2286 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
2287 syscall definitions and replace __builtin_expect with __glibc_likely.
2288 * sysdeps/unix/syscall-template.S: Update comment about cancellable
2290 (SYSCALL_CANCELLABLE): Removedefinition
2291 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
2293 (PSEUDO_END): Likewise.
2294 [IS_IN (libpthread)] (CENABLE): Likewise.
2295 [IS_IN (libpthread)] (CDISABLE): Likewise.
2296 [IS_IN (libc)] (CENABLE): Likewise.
2297 [IS_IN (libc)] (CENABLE): Likewise.
2298 [IS_IN (librt)] (CDISABLE): Likewise.
2299 [IS_IN (librt)] (CDISABLE): Likewise.
2300 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2301 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
2303 (PSEUDO_END): Likewise.
2304 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
2305 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
2306 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
2307 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
2308 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
2309 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
2310 (CENABLE): Likewise.
2311 (CDISABLE): Likewise.
2312 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2313 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
2315 (PSEUDO_END): Likewise.
2316 [IS_IN (libpthread)] (CENABLE): Likewise.
2317 [IS_IN (libpthread)] (CDISABLE): Likewise.
2318 [IS_IN (libc)] (CENABLE): Likewise.
2319 [IS_IN (libc)] (CENABLE): Likewise.
2320 [IS_IN (librt)] (CDISABLE): Likewise.
2321 [IS_IN (librt)] (CDISABLE): Likewise.
2322 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2323 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
2325 (PSEUDO_END): Likewise.
2326 [IS_IN (libpthread)] (CENABLE): Likewise.
2327 [IS_IN (libpthread)] (CDISABLE): Likewise.
2328 [IS_IN (libc)] (CENABLE): Likewise.
2329 [IS_IN (libc)] (CENABLE): Likewise.
2330 [IS_IN (librt)] (CDISABLE): Likewise.
2331 [IS_IN (librt)] (CDISABLE): Likewise.
2332 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2333 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
2335 (PSEUDO_END): Likewise.
2336 [IS_IN (libpthread)] (CENABLE): Likewise.
2337 [IS_IN (libpthread)] (CDISABLE): Likewise.
2338 [IS_IN (libc)] (CENABLE): Likewise.
2339 [IS_IN (libc)] (CENABLE): Likewise.
2340 [IS_IN (librt)] (CDISABLE): Likewise.
2341 [IS_IN (librt)] (CDISABLE): Likewise.
2342 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2343 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
2345 (PSEUDO_END): Likewise.
2346 [IS_IN (libpthread)] (CENABLE): Likewise.
2347 [IS_IN (libpthread)] (CDISABLE): Likewise.
2348 [IS_IN (libc)] (CENABLE): Likewise.
2349 [IS_IN (libc)] (CENABLE): Likewise.
2350 [IS_IN (librt)] (CDISABLE): Likewise.
2351 [IS_IN (librt)] (CDISABLE): Likewise.
2352 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2353 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
2355 (PSEUDO_END): Likewise.
2356 [IS_IN (libpthread)] (CENABLE): Likewise.
2357 [IS_IN (libpthread)] (CDISABLE): Likewise.
2358 [IS_IN (libc)] (CENABLE): Likewise.
2359 [IS_IN (libc)] (CENABLE): Likewise.
2360 [IS_IN (librt)] (CDISABLE): Likewise.
2361 [IS_IN (librt)] (CDISABLE): Likewise.
2362 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2363 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
2365 (PSEUDO_END): Likewise.
2366 [IS_IN (libpthread)] (CENABLE): Likewise.
2367 [IS_IN (libpthread)] (CDISABLE): Likewise.
2368 [IS_IN (libc)] (CENABLE): Likewise.
2369 [IS_IN (libc)] (CENABLE): Likewise.
2370 [IS_IN (librt)] (CDISABLE): Likewise.
2371 [IS_IN (librt)] (CDISABLE): Likewise.
2372 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2373 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
2375 (PSEUDO_END): Likewise.
2376 [IS_IN (libpthread)] (CENABLE): Likewise.
2377 [IS_IN (libpthread)] (CDISABLE): Likewise.
2378 [IS_IN (libc)] (CENABLE): Likewise.
2379 [IS_IN (libc)] (CENABLE): Likewise.
2380 [IS_IN (librt)] (CDISABLE): Likewise.
2381 [IS_IN (librt)] (CDISABLE): Likewise.
2382 (SINGLE_THREAD_P): Likewise.
2383 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
2385 (PSEUDO_END): Likewise.
2386 [IS_IN (libpthread)] (CENABLE): Likewise.
2387 [IS_IN (libpthread)] (CDISABLE): Likewise.
2388 [IS_IN (libc)] (CENABLE): Likewise.
2389 [IS_IN (libc)] (CENABLE): Likewise.
2390 [IS_IN (librt)] (CDISABLE): Likewise.
2391 [IS_IN (librt)] (CDISABLE): Likewise.
2392 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2393 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
2395 (PSEUDO_END): Likewise.
2396 [IS_IN (libpthread)] (CENABLE): Likewise.
2397 [IS_IN (libpthread)] (CDISABLE): Likewise.
2398 [IS_IN (libc)] (CENABLE): Likewise.
2399 [IS_IN (libc)] (CENABLE): Likewise.
2400 [IS_IN (librt)] (CDISABLE): Likewise.
2401 [IS_IN (librt)] (CDISABLE): Likewise.
2402 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2403 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
2404 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2405 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
2406 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
2408 (PSEUDO_END): Likewise.
2409 [IS_IN (libpthread)] (CENABLE): Likewise.
2410 [IS_IN (libpthread)] (CDISABLE): Likewise.
2411 [IS_IN (libc)] (CENABLE): Likewise.
2412 [IS_IN (libc)] (CENABLE): Likewise.
2413 [IS_IN (librt)] (CDISABLE): Likewise.
2414 [IS_IN (librt)] (CDISABLE): Likewise.
2415 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2416 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
2418 (PSEUDO_END): Likewise.
2419 [IS_IN (libpthread)] (CENABLE): Likewise.
2420 [IS_IN (libpthread)] (CDISABLE): Likewise.
2421 [IS_IN (libc)] (CENABLE): Likewise.
2422 [IS_IN (libc)] (CENABLE): Likewise.
2423 [IS_IN (librt)] (CDISABLE): Likewise.
2424 [IS_IN (librt)] (CDISABLE): Likewise.
2425 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2426 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
2428 (PSEUDO_END): Likewise.
2429 [IS_IN (libpthread)] (CENABLE): Likewise.
2430 [IS_IN (libpthread)] (CDISABLE): Likewise.
2431 [IS_IN (libc)] (CENABLE): Likewise.
2432 [IS_IN (libc)] (CENABLE): Likewise.
2433 [IS_IN (librt)] (CDISABLE): Likewise.
2434 [IS_IN (librt)] (CDISABLE): Likewise.
2435 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2436 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
2437 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2438 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
2439 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
2441 (PSEUDO_END): Likewise.
2442 [IS_IN (libpthread)] (CENABLE): Likewise.
2443 [IS_IN (libpthread)] (CDISABLE): Likewise.
2444 [IS_IN (libc)] (CENABLE): Likewise.
2445 [IS_IN (libc)] (CENABLE): Likewise.
2446 [IS_IN (librt)] (CDISABLE): Likewise.
2447 [IS_IN (librt)] (CDISABLE): Likewise.
2448 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2449 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
2451 (PSEUDO_END): Likewise.
2452 [IS_IN (libpthread)] (CENABLE): Likewise.
2453 [IS_IN (libpthread)] (CDISABLE): Likewise.
2454 [IS_IN (libc)] (CENABLE): Likewise.
2455 [IS_IN (libc)] (CENABLE): Likewise.
2456 [IS_IN (librt)] (CDISABLE): Likewise.
2457 [IS_IN (librt)] (CDISABLE): Likewise.
2458 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2460 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2462 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
2464 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
2466 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2468 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
2471 * string/stratcliff.c (do_test): Declare size, nchars, inner,
2472 middle and outer with size_t instead of int. Repleace %d and
2473 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
2474 "MAX (outer, nchars - 64)" to support unsigned outer and
2475 nchars. Also exit loop when outer == 0.
2477 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2479 * include/fcntl.h (__fcntl_nocancel): Remove definition.
2480 * include/signal.h (__sigsuspend_nocancel): Likewise.
2481 * include/time.h (__nanosleep_nocancel): Likewise.
2482 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
2483 * login/utmp_file.c: Include non cancellable syscall header.
2484 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
2487 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
2489 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
2490 .byte sequences with AVX512F instructions.
2491 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
2492 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
2493 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
2494 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
2496 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
2499 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
2500 Steve Ellcey <sellcey@cavium.com>
2502 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
2503 Use PTR_REG macro in cmp instruction.
2505 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2507 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
2508 Change the return type of the ifunc resolver to match the return
2509 type of the target function.
2511 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2513 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
2514 (preadv64): Likewise.
2515 (pwrite64(: Likewise.
2516 (pwritev64): Likewise.
2518 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2519 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
2520 (LOAD_ARGS_0): Likewise.
2521 (LOAD_ARGS_1): Likewise.
2522 (LOAD_ARGS_2): Likewise.
2523 (LOAD_ARGS_3): Likewise.
2524 (LOAD_ARGS_4): Likewise.
2525 (LOAD_ARGS_5): Likewise.
2526 (LOAD_ARGS_6): Likewise.
2527 (LOAD_REGS_0): Likewise.
2528 (LOAD_REGS_1): Likewise.
2529 (LOAD_REGS_2): Likewise.
2530 (LOAD_REGS_3): Likewise.
2531 (LOAD_REGS_4): Likewise.
2532 (LOAD_REGS_5): Likewise.
2533 (LOAD_REGS_6): Likewise.
2534 (ASM_ARGS_0): Likewise.
2535 (ASM_ARGS_1): Likewise.
2536 (ASM_ARGS_2): Likewise.
2537 (ASM_ARGS_3): Likewise.
2538 (ASM_ARGS_4): Likewise.
2539 (ASM_ARGS_5): Likewise.
2540 (ASM_ARGS_6): Likewise.
2541 (LOAD_ARGS_TYPES_1): Likewise.
2542 (LOAD_ARGS_TYPES_2): Likewise.
2543 (LOAD_ARGS_TYPES_3): Likewise.
2544 (LOAD_ARGS_TYPES_4): Likewise.
2545 (LOAD_ARGS_TYPES_5): Likewise.
2546 (LOAD_ARGS_TYPES_6): Likewise.
2547 (LOAD_REGS_TYPES_1): Likewise.
2548 (LOAD_REGS_TYPES_2): Likewise.
2549 (LOAD_REGS_TYPES_3): Likewise.
2550 (LOAD_REGS_TYPES_4): Likewise.
2551 (LOAD_REGS_TYPES_5): Likewise.
2552 (LOAD_REGS_TYPES_6): Likewise.
2553 (TYPEFY): New define.
2555 (internal_syscall0): Likewise.
2556 (internal_syscall1): Likewise.
2557 (internal_syscall2): Likewise.
2558 (internal_syscall3): Likewise.
2559 (internal_syscall4): Likewise.
2560 (internal_syscall5): Likewise.
2561 (internal_syscall6): Likewise.
2562 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
2563 (INTERNAL_SYSCALL_NCS): Remove define.
2564 (internal_syscall1): Add define.
2566 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2568 * math/w_remainder_compat.c: Remove duplicate inclusion of
2570 * math/w_remainderf_compat.c: Likewise.
2571 * math/w_remainderl_compat.c: Likewise.
2573 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2577 2017-08-22 Joseph Myers <joseph@codesourcery.com>
2580 * math/tgmath.h (__floating_type): Simplify definitions.
2581 (__real_integer_type): New macro.
2582 (__complex_integer_type): Likewise.
2583 (__expr_is_real): Likewise.
2584 (__tgmath_real_type_sub): Update comment to describe handling of
2586 (__tgmath_complex_type_sub): New macro.
2587 (__tgmath_complex_type): Likewise.
2588 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2589 (__TGMATH_CF128): Use __expr_is_real.
2590 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
2592 (__TGMATH_BINARY_REAL_IMAG): Likewise.
2593 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
2594 * math/gen-tgmath-tests.py (Type.create_type): Create complex
2597 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2599 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
2601 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
2603 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
2606 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
2607 nanosleep_not_cancel with __nanosleep_nocancel.
2608 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
2609 (__nanosleep_nocancel): New macro.
2610 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
2612 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
2614 (__nanosleep_nocancel): New prototype.
2616 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
2617 pause_not_cancel with __pause_nocancel.
2618 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
2619 (__pause_nocancel): New macro.
2620 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
2622 (__pause_nocancel): New prototype.
2623 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
2625 2017-08-22 Martin Sebor <msebor@redhat.com>
2627 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
2628 to return a pointer to the same type as the target function.
2630 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
2634 * include/printf.h (__printf_fphex): Add attribute_hidden.
2635 (__guess_grouping): New prototype.
2636 * stdio-common/printf_fp.c (__guess_grouping): Removed.
2637 * stdio-common/reg-printf.c (__register_printf_specifier): Add
2638 libc_hidden_proto and libc_hidden_def.
2639 * stdlib/strfmon_l.c (__guess_grouping): Removed.
2640 (__vstrfmon_l): Remove the third argument passed to
2643 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2645 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
2646 definition for issignaling that does not rely on __MATH_TG,
2647 since __MATH_TG uses __builtin_types_compatible_p, which is only
2648 available in C mode.
2649 (CFLAGS-test-math-issignaling.cc): New variable.
2650 * math/Makefile [CXX] (tests): Add test-math-issignaling.
2651 * math/test-math-issignaling.cc: New test for C++ implementation
2652 of type-generic issignaling.
2653 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
2654 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
2655 options of test-math-issignaling on powerpc64le.
2657 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
2659 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
2661 (hidden_proto): Likewise.
2662 (hidden_tls_proto): Likewise.
2663 (__hidden_proto): Likewise.
2665 2017-08-22 Florian Weimer <fweimer@redhat.com>
2667 math: Statically link tests of internal functionality.
2668 * math/Makefile (tests): Remove atest-exp, atest-sincos,
2670 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
2671 (gmp-objs): Remove assignment.
2672 (atest-exp, atest-sincos, atest-exp2): Remove targets.
2674 2017-08-22 Joseph Myers <joseph@codesourcery.com>
2677 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
2679 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
2681 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
2684 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
2685 variable definitions above inclusion of ../Rules.
2687 2017-08-21 Joseph Myers <joseph@codesourcery.com>
2689 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
2690 case calling __builtin_unreachable.
2692 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2694 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
2696 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
2697 (__waitpid_nocancel): New macro.
2698 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
2700 (__waitpid_nocancel): Replace macro with a function.
2701 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
2704 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
2706 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
2707 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
2709 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
2710 __writev_nocancel_nostatus.
2711 (write_call_graph): Likewise.
2712 (write_bb_counts): Likewise.
2713 * resolv/herror.c (herror): Likewise.
2714 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
2716 (__writev_nocancel_nostatus): New macro.
2717 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
2719 (__writev_nocancel_nostatus): New function.
2721 2017-08-21 Joseph Myers <joseph@codesourcery.com>
2724 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2726 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
2728 (hidden_proto): Likewise.
2729 (hidden_tls_proto): Likewise.
2730 (__hidden_proto): Likewise.
2733 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
2734 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
2735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
2737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
2739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
2741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
2743 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
2744 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
2745 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
2746 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
2747 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
2748 GLIBC_2.0 sqrtl symbol.
2750 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
2751 [__USE_MISC] (_LIB_VERSION): Likewise.
2752 [__USE_MISC] (struct exception): Likewise.
2753 [__USE_MISC] (matherr): Likewise.
2754 [__USE_MISC] (DOMAIN): Likewise.
2755 [__USE_MISC] (SING): Likewise.
2756 [__USE_MISC] (OVERFLOW): Likewise.
2757 [__USE_MISC] (UNDERFLOW): Likewise.
2758 [__USE_MISC] (TLOSS): Likewise.
2759 [__USE_MISC] (PLOSS): Likewise.
2760 [__USE_MISC] (HUGE): Likewise.
2761 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
2762 * math/math-svid-compat.h: New file.
2763 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
2765 * include/math.h [!_ISOMAC] (__matherr): Remove.
2766 * manual/arith.texi (FP Exceptions): Do not document matherr.
2767 * math/Makefile (tests): Change test-matherr to test-matherr-3.
2768 (tests-internal): New variable.
2769 (install-lib): Do not add libieee.a.
2770 (non-lib.a): Likewise.
2771 (extra-objs): Do not add libieee.a and ieee-math.o.
2772 (CPPFLAGS-s_lib_version.c): Remove variable.
2773 ($(objpfx)libieee.a): Remove rule.
2774 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
2775 * math/ieee-math.c: Remove.
2776 * math/libm-test-support.c (matherr): Remove.
2777 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
2778 and license notices. Include <math-svid-compat.h> and
2780 (matherr): Undefine as macro. Use compat_symbol_reference.
2781 (_LIB_VERSION): Likewise.
2782 * math/test-matherr-2.c: New file.
2783 * math/test-matherr-3.c: Likewise.
2784 * sysdeps/generic/math_private.h (__kernel_standard): Remove
2786 (__kernel_standard_f): Likewise.
2787 (__kernel_standard_l): Likewise.
2788 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
2789 <math_private.h>. Include <math-svid-compat.h>.
2790 (_LIB_VERSION): Undefine as macro.
2791 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
2792 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
2793 [LIBM_SVID_COMPAT], use compat_symbol.
2794 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
2795 <math_private.h>. Include <math-svid-compat.h>.
2796 (matherr): Undefine as macro.
2797 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
2799 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
2800 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
2801 compat_symbol_reference.
2802 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
2803 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
2804 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
2805 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
2806 (MATHERR_D): Remove declaration.
2807 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
2808 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
2809 [LIBM_BUILD] (pmatherrf): Likewise.
2810 [LIBM_BUILD] (pmatherr): Likewise.
2811 [LIBM_BUILD] (pmatherrl): Likewise.
2814 (OVERFLOW): Likewise.
2815 (UNDERFLOW): Likewise.
2818 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
2819 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
2821 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
2822 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
2824 * math/lgamma-compat.h: Include <math-svid-compat.h>.
2825 * math/w_acos_compat.c: Likewise.
2826 * math/w_acosf_compat.c: Likewise.
2827 * math/w_acosh_compat.c: Likewise.
2828 * math/w_acoshf_compat.c: Likewise.
2829 * math/w_acoshl_compat.c: Likewise.
2830 * math/w_acosl_compat.c: Likewise.
2831 * math/w_asin_compat.c: Likewise.
2832 * math/w_asinf_compat.c: Likewise.
2833 * math/w_asinl_compat.c: Likewise.
2834 * math/w_atan2_compat.c: Likewise.
2835 * math/w_atan2f_compat.c: Likewise.
2836 * math/w_atan2l_compat.c: Likewise.
2837 * math/w_atanh_compat.c: Likewise.
2838 * math/w_atanhf_compat.c: Likewise.
2839 * math/w_atanhl_compat.c: Likewise.
2840 * math/w_cosh_compat.c: Likewise.
2841 * math/w_coshf_compat.c: Likewise.
2842 * math/w_coshl_compat.c: Likewise.
2843 * math/w_exp10_compat.c: Likewise.
2844 * math/w_exp10f_compat.c: Likewise.
2845 * math/w_exp10l_compat.c: Likewise.
2846 * math/w_exp2_compat.c: Likewise.
2847 * math/w_exp2f_compat.c: Likewise.
2848 * math/w_exp2l_compat.c: Likewise.
2849 * math/w_fmod_compat.c: Likewise.
2850 * math/w_fmodf_compat.c: Likewise.
2851 * math/w_fmodl_compat.c: Likewise.
2852 * math/w_hypot_compat.c: Likewise.
2853 * math/w_hypotf_compat.c: Likewise.
2854 * math/w_hypotl_compat.c: Likewise.
2855 * math/w_j0_compat.c: Likewise.
2856 * math/w_j0f_compat.c: Likewise.
2857 * math/w_j0l_compat.c: Likewise.
2858 * math/w_j1_compat.c: Likewise.
2859 * math/w_j1f_compat.c: Likewise.
2860 * math/w_j1l_compat.c: Likewise.
2861 * math/w_jn_compat.c: Likewise.
2862 * math/w_jnf_compat.c: Likewise.
2863 * math/w_jnl_compat.c: Likewise.
2864 * math/w_lgamma_main.c: Likewise.
2865 * math/w_lgamma_r_compat.c: Likewise.
2866 * math/w_lgammaf_main.c: Likewise.
2867 * math/w_lgammaf_r_compat.c: Likewise.
2868 * math/w_lgammal_main.c: Likewise.
2869 * math/w_lgammal_r_compat.c: Likewise.
2870 * math/w_log10_compat.c: Likewise.
2871 * math/w_log10f_compat.c: Likewise.
2872 * math/w_log10l_compat.c: Likewise.
2873 * math/w_log2_compat.c: Likewise.
2874 * math/w_log2f_compat.c: Likewise.
2875 * math/w_log2l_compat.c: Likewise.
2876 * math/w_log_compat.c: Likewise.
2877 * math/w_logf_compat.c: Likewise.
2878 * math/w_logl_compat.c: Likewise.
2879 * math/w_pow_compat.c: Likewise.
2880 * math/w_powf_compat.c: Likewise.
2881 * math/w_powl_compat.c: Likewise.
2882 * math/w_remainder_compat.c: Likewise.
2883 * math/w_remainderf_compat.c: Likewise.
2884 * math/w_remainderl_compat.c: Likewise.
2885 * math/w_scalb_compat.c: Likewise.
2886 * math/w_scalbf_compat.c: Likewise.
2887 * math/w_scalbl_compat.c: Likewise.
2888 * math/w_sinh_compat.c: Likewise.
2889 * math/w_sinhf_compat.c: Likewise.
2890 * math/w_sinhl_compat.c: Likewise.
2891 * math/w_sqrt_compat.c: Likewise.
2892 * math/w_sqrtf_compat.c: Likewise.
2893 * math/w_sqrtl_compat.c: Likewise.
2894 * math/w_tgamma_compat.c: Likewise.
2895 * math/w_tgammaf_compat.c: Likewise.
2896 * math/w_tgammal_compat.c: Likewise.
2897 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
2898 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
2899 * sysdeps/ieee754/k_standard.c: Likewise.
2900 * sysdeps/ieee754/k_standardf.c: Likewise.
2901 * sysdeps/ieee754/k_standardl.c: Likewise.
2902 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
2903 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
2904 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
2905 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
2906 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
2907 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
2908 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
2909 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
2910 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
2911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
2913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
2915 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
2916 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
2917 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
2918 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
2920 2017-08-21 Florian Weimer <fweimer@redhat.com>
2923 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
2924 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
2925 Move before inclusion of ../Rules.
2927 2017-08-21 Florian Weimer <fweimer@redhat.com>
2930 * assert/assert.h (assert): Use static_cast (bool) for C++.
2931 Use the ternary operator in the warning branch for GNU C.
2932 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
2933 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
2934 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
2935 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
2936 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
2938 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2941 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2942 (__syscall_clock_gettime): Add attribute_hidden.
2943 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
2944 (__start_context): Likewise.
2946 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2948 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
2950 (hidden_proto): Likewise.
2951 (hidden_tls_proto): Likewise.
2952 (__hidden_proto): Likewise.
2954 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2956 * include/libc-symbols.h (attribute_hidden): Enable hidden
2957 visibility in libc.a compiled with PIE.
2959 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2962 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
2963 Add attribute_hidden.
2965 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2968 * Makerules (all-nonlib): Add $(others-extras).
2969 * catgets/Makefile (others-extras): New.
2970 * elf/Makefile (others-extras): Likewise.
2971 * nss/Makefile (others-extras): Likewise.
2973 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2976 * csu/libc-start.c (__libc_multiple_libcs): Removed.
2977 * elf/dl-open.c: Include <libc-internal.h>.
2978 (__libc_multiple_libcs): Removed.
2979 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
2981 * include/libc-internal.h (__libc_multiple_libcs): New.
2982 * misc/sbrk.c: Include <libc-internal.h>.
2983 (__libc_multiple_libcs): Removed.
2985 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2988 * grp/initgroups.c (__nss_group_database): Removed.
2989 (__nss_initgroups_database): Likewise.
2990 * nscd/gai.c (__nss_hosts_database): Likewise.
2991 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
2992 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
2993 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
2994 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
2995 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
2996 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
2998 * nss/nsswitch.c (__nss_database_custom): Define only if
2999 USE_NSCD is defined.
3000 (__nss_configure_lookup): Use __nss_database_custom only if
3001 USE_NSCD is defined.
3002 * nss/nsswitch.h (__nss_database_custom): Declare only if
3003 USE_NSCD is defined. Add attribute_hidden.
3004 (__nss_setent): Add attribute_hidden.
3005 (__nss_endent): Likewise.
3006 (__nss_getent_r): Likewise.
3007 (__nss_getent): Likewise.
3008 (DEFINE_DATABASE): Declare __nss_##arg##_database.
3010 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3013 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
3014 libc_hidden_proto and libc_hidden_def.
3016 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3019 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
3020 Add libc_hidden_proto.
3021 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
3022 Add libc_hidden_def.
3024 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3027 * gmon/Makefile (routines): Remove bb_init_func and
3029 (elide-routines.os): Removed.
3030 * gmon/bb_exit_func.c: Likewise.
3031 * gmon/bb_init_func.c: Likewise.
3032 * include/sys/gmon.h (__bb): Likewise.
3033 (__bb_init_func): Likewise.
3034 (__bb_exit_func): Likewise.
3035 * sysdeps/alpha/bb_init_func.S: Likewise.
3037 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3039 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
3040 * include/setjmp.h (____longjmp_chk): Here. Add
3043 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
3046 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
3048 (__strspn_sse2): Likewise.
3050 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3052 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
3053 (close_not_cancel_no_status): Likewise.
3054 (__close_nocancel): New macro.
3055 (__close_nocancel_nostatus): Likewise.
3056 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
3058 (close_not_cancel): Likewise.
3059 (close_not_cancel_no_status): Likewise.
3060 (__close_nocancel): New prototype.
3061 (__close_nocancel_nostatus): New function.
3062 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
3063 * catgets/open_catalog.c (__open_catalog): Replace
3064 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
3065 * gmon/gmon.c (write_gmon): Likewise.
3066 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3067 * intl/loadmsgcat.c (close): Likewise.
3068 * io/ftw.c (open_dir_stream): Likewise.
3069 (ftw_startup): Likewise.
3070 * libio/fileops.c (_IO_file_open): Likewise.
3071 (_IO_file_close_mmap): Likewise.
3072 (_IO_file_close): Likewise.
3073 * libio/iopopen.c (_IO_dup2): Likewise.
3074 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3075 * locale/loadlocale.c (_nl_load_locale): Likewise.
3076 * login/utmp_file.c (pututline_file): Likewise.
3077 (endutent_file): Likewise.
3078 * misc/daemon.c (daemon): Likewise.
3079 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3080 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3081 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
3082 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3083 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3084 * nscd/nscd_helper.c (open_socket): Likewise.
3085 (__nscd_open_socket): Likewise.
3086 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3087 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
3088 (__nscd_innetgr): Likewise.
3089 * nss/nss_db/db-open.c (internal_setent): Likewise.
3090 * resolv/res-close.c (__res_iclose): Likewise.
3091 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
3092 * sysdeps/posix/closedir.c (__closedir): Likewise.
3093 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
3094 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3095 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
3096 (opendir_tail): Likewise.
3097 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3098 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
3099 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3100 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3101 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
3102 (gethostid): Likewise.
3103 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
3104 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3106 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3107 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
3108 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
3109 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
3111 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
3112 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
3113 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
3115 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
3116 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3118 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3120 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3121 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
3122 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
3125 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
3126 (openat_not_cancel_3): Likewise.
3127 (openat64_not_cancel_3): Likewise).
3128 (openat_not_cancel_3): Likewise).
3129 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
3131 (openat_not_cancel_3): Likewise.
3132 (openat64_not_cancel): Likewise.
3133 (openat64_not_cancel_3): Likewise.
3134 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
3135 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
3136 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
3137 __open{64}_nocancel.
3138 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
3139 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3140 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3142 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
3145 * include/argz.h (__argz_create_sep): New function prototype.
3146 (__argz_append): Likewise.
3147 (__argz_add): Likewise.
3148 (__argz_add_sep): Likewise.
3149 (__argz_delete): Likewise.
3150 (__argz_insert): Likewise.
3151 (__argz_replace): Likewise.
3152 * string/argz.h (__argz_create_sep): Removed.
3153 (__argz_append): Likewise.
3154 (__argz_add): Likewise.
3155 (__argz_add_sep): Likewise.
3156 (__argz_delete): Likewise.
3157 (__argz_insert): Likewise.
3158 (__argz_replace): Likewise.
3160 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
3162 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
3163 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
3164 (GNU_PROPERTY_STACK_SIZE): Likewie.
3165 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
3166 (GNU_PROPERTY_LOPROC): Likewise.
3167 (GNU_PROPERTY_HIPROC): Likewise.
3168 (GNU_PROPERTY_LOUSER): Likewise.
3169 (GNU_PROPERTY_HIUSER): Likewise.
3170 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
3171 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
3172 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
3173 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
3174 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
3175 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
3176 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
3177 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
3178 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
3179 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
3180 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
3181 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
3182 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
3183 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
3184 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
3185 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
3186 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
3187 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
3188 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
3189 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
3190 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
3191 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
3192 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
3194 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3196 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
3199 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3202 * math/math.h (isinf): Check if in C or C++ mode before using
3203 __builtin_types_compatible_p, since this is a C mode feature.
3205 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3207 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
3208 (__write_nocancel): New macro.
3209 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
3210 Rewrite as a function prototype.
3211 (write_not_cancel): Remove macro.
3212 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
3213 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
3214 (write_gmon): Likewise.
3215 * libio/fileops.c (_IO_new_file_write): Likewise.
3216 * login/utmp_file.c (pututline_file): Likewise.
3217 (updwtmp_file): Likewise.
3218 * stdio-common/psiginfo.c (psiginfo): Likewise.
3219 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3220 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
3221 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
3223 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3226 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
3227 (__read_nocancel): New macro.
3228 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
3230 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
3232 (__read_nocancel): New prototype.
3233 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
3234 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
3235 with __read_nocancel.
3236 * intl/loadmsgcat.c (read): Likewise.
3237 * libio/fileops.c (_IO_file_read): Likewise.
3238 * locale/loadlocale.c (_nl_load_locale): Likewise.
3239 * login/utmp_file.c (getutent_r_file): Likewise.
3240 (internal_getut_r): Likewise.
3241 (getutline_r_file): Likewise.
3242 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
3243 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3244 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
3245 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3247 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
3248 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
3249 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
3251 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
3253 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
3255 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3257 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
3259 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
3262 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
3263 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
3266 2017-08-17 DJ Delorie <dj@redhat.com>
3268 * bug17079.c: Update to new test harness.
3269 * test-digits-dots.c: Likewise.
3270 * test-netdb.c: Likewise.
3271 * tst-field.c: Likewise.
3272 * tst-nss-getpwent.c: Likewise.
3273 * tst-nss-static.c: Likewise.
3274 * tst-nss-test1.c: Likewise.
3275 * tst-nss-test2.c: Likewise.
3276 * tst-nss-test3.c: Likewise.
3277 * tst-nss-test4.c: Likewise.
3278 * tst-nss-test5.c: Likewise.
3280 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3282 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
3283 (open_not_cancel_2): Likewise.
3284 (open_nocancel): New macro.
3285 (open64_nocancel): Likewise.
3286 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
3287 (open_not_cancel_2): Likewise.
3288 (__open_nocancel): New prototype.
3289 (__open64_nocancel): Likewise.
3290 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
3292 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
3293 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
3294 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
3295 with __open_nocancel.
3296 * csu/check_fds.c (check_one_fd): Likewise.
3297 * gmon/gmon.c (write_gmon): Likewise.
3298 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
3299 * intl/loadmsgcat.c (open): Likewise.
3300 * libio/fileops.c (_IO_file_open): Likewise.
3301 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3302 * locale/loadlocale.c (_nl_load_locale): Likewise.
3303 * login/utmp_file.c (setutent_file): Likewise.
3304 * misc/daemon.c (daemon): Likewise.
3305 * nss/nss_db/db-open.c (internal_setent): Likewise.
3306 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
3307 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
3308 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
3309 (__opendir): Likewise.
3310 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3311 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
3312 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
3313 (gethostid): Likewise.
3314 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
3315 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3317 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3318 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
3319 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
3320 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
3322 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
3324 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
3326 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3328 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3330 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3332 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3333 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
3335 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
3337 * benchtests/bench-skeleton.c (main): Add support for
3338 latency benchmarking.
3339 * benchtests/scripts/bench.py: Add support for latency benchmarking.
3341 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
3343 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
3346 2017-08-17 Florian Weimer <fweimer@redhat.com>
3348 * include/sys/socket.h (__opensock): Remove internal_function.
3349 * socket/opensock.c (__opensock): Likewise.
3350 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
3352 2017-08-16 Joseph Myers <joseph@codesourcery.com>
3355 * signal/bits/types/__sigval_t.h: New file.
3356 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
3357 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
3358 and define sigval_t using __sigval_t.
3359 * include/bits/types/__sigval_t.h: New file.
3360 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
3361 instead of <bits/types/__sigval_t.h>.
3362 (struct sigevent): Use __sigval_t instead of sigval_t.
3363 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
3364 instead of <bits/types/__sigval_t.h>.
3365 (siginfo_t): Use __sigval_t instead of sigval_t.
3366 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
3367 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
3368 (struct sigevent): Use __sigval_t instead of sigval_t.
3369 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
3370 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
3371 (siginfo_t): Use __sigval_t instead of sigval_t.
3372 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
3374 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
3376 * NEWS: Remove "[Add new features here]" for 2.27.
3378 2017-08-16 Joseph Myers <joseph@codesourcery.com>
3380 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
3383 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
3385 * NEWS: Mention x86-64 FMA optimization.
3387 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
3390 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3392 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
3393 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
3394 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
3396 2017-08-16 Andreas Schwab <schwab@suse.de>
3400 * elf/ldd.bash.in: Never run file directly.
3402 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
3405 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
3406 (L(SP_INF_0)): Likewise.
3408 2017-08-15 Florian Weimer <fweimer@redhat.com>
3410 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
3413 2017-08-15 Florian Weimer <fweimer@redhat.com>
3415 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
3416 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
3417 BROKEN_THREAD_SIGNALS code.
3418 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
3419 request_list): Remove caller_pid member used for
3420 BROKEN_THREAD_SIGNALS.
3421 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
3422 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
3423 Remove BROKEN_THREAD_SIGNALS support.
3424 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
3425 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
3427 2017-08-15 Florian Weimer <fweimer@redhat.com>
3429 * gmon/Makefile (tests): Add tst-gmon.
3430 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
3432 (tests-special): Add tst-gmon-prof.out.
3433 (tst-gmon.out): Depend on clean-tst-gmon-data.
3434 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
3435 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
3436 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
3438 * aclocal.m4 (GPROF): Set and substitute.
3439 * config.amke.in (GPROF): Set.
3440 * configure: Regenerate.
3442 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
3444 * elf/elf.h A (NT_PPC_TAR): New macro.
3445 (NT_PPC_PPR): Likewise.
3446 (NT_PPC_DSCR): Likewise.
3447 (NT_PPC_EBB): Likewise.
3448 (NT_PPC_PMU): Likewise.
3449 (NT_PPC_TM_CGPR): Likewise.
3450 (NT_PPC_TM_CFPR): Likewise.
3451 (NT_PPC_TM_CVMX): Likewise.
3452 (NT_PPC_TM_CVSX): Likewise.
3453 (NT_PPC_TM_SPR): Likewise.
3454 (NT_PPC_TM_CTAR): Likewise.
3455 (NT_PPC_TM_CPPR): Likewise.
3456 (NT_PPC_TM_CDSCR): Likewise.
3458 2017-08-15 Florian Weimer <fweimer@redhat.com>
3460 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
3461 regparm (2) instead of internal_function.
3462 (_MCOUNT_DECL): Adjust.
3464 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3466 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
3467 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
3469 2017-08-14 Joseph Myers <joseph@codesourcery.com>
3471 * conform/data/sys/wait.h-data (si_value): Do not expect for
3474 2017-08-14 Florian Weimer <fweimer@redhat.com>
3477 NSS: Create stubs for accidentally exported lookup functions.
3478 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
3480 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
3481 (ether_hostton): Call __nss_ethers_lookup2 instead.
3482 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
3483 (ether_ntohost): Call __nss_ethers_lookup2 instead.
3484 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
3485 (setup): Call __nss_netgroup_lookup2 instead.
3486 * nss/Makefile (routines): Add compat-lookup.
3487 * nss/Versions (GLIBC_2.27): Add symbol version.
3488 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
3489 (DB_COMPAT_FCT): Remove.
3490 * nss/compat-lookup.c: New file.
3491 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
3493 * nss/service-lookup.c (NO_COMPAT): Remove definition.
3494 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
3495 (netname2user): Call __nss_publickey_lookup2 instead.
3496 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
3497 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
3500 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3501 Sergei Trofimovich <slyfox@inbox.ru>
3504 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
3505 Rename to MMAP2_PAGE_UNIT.
3506 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
3507 __OFF_T_MATCHES_OFF64_T is not defined.
3508 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
3510 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
3511 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
3513 2017-08-14 Florian Weimer <fweimer@redhat.com>
3515 i386: Do not set internal_function.
3516 * config.h.in (USE_REGPARMS, internal_function): Remove.
3517 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
3518 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
3520 2017-08-14 Florian Weimer <fweimer@redhat.com>
3522 * elf/dl-init.c (_dl_init): Remove internal_function.
3523 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
3524 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
3526 2017-08-14 Florian Weimer <fweimer@redhat.com>
3528 * elf/rtld.c (_dl_start): Remove internal_function.
3529 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
3532 2017-08-14 Florian Weimer <fweimer@redhat.com>
3534 * elf/dl-fini.c (_dl_fini): Remove internal_function
3535 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
3537 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
3539 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
3540 (bit_cpu_SHSTK): Likewise.
3541 (index_cpu_IBT): Likewise.
3542 (index_cpu_SHSTK): Likewise.
3543 (reg_IBT): Likewise.
3544 (reg_SHSTK): Likewise.
3545 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
3546 Handle index_cpu_IBT and index_cpu_SHSTK.
3548 2017-08-14 Mike FABIAN <mfabian@redhat.com>
3551 * po/fr.po: Fix spelling mistake.
3553 2017-08-13 Florian Weimer <fweimer@redhat.com>
3555 * elf/dl-addr.c (_dl_addr): Remove internal_function.
3556 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
3557 (_dl_catch_error, _dl_receive_error): Likewise.
3558 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
3559 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
3560 (_dl_deallocate_tls): Likewise.
3561 * include/dlfcn.h (_dl_addr): Likewise.
3562 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
3563 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
3564 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
3567 2017-08-13 Florian Weimer <fweimer@redhat.com>
3569 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
3570 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
3572 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
3574 2017-08-13 Florian Weimer <fweimer@redhat.com>
3576 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
3578 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
3579 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
3580 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
3581 internal_function from _dl_make_stack_executable_hook member.
3582 (_dl_make_stack_executable): Remove internal_function.
3583 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
3585 * sysdeps/unix/sysv/linux/dl-execstack.c
3586 (_dl_make_stack_executable): Likewise.
3588 2017-08-13 Florian Weimer <fweimer@redhat.com>
3590 * sysdeps/unix/sysv/linux/netlinkaccess.h
3591 (__netlink_assert_response): Remove internal_function.
3592 * sysdeps/unix/sysv/linux/netlink_assert_response.c
3593 (__netlink_assert_response): Likewise.
3595 2017-08-13 Florian Weimer <fweimer@redhat.com>
3597 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
3599 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
3601 2017-08-13 Florian Weimer <fweimer@redhat.com>
3603 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
3605 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
3606 * inet/netgroup.h (__internal_setnetgrent)
3607 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
3608 * inet/getnetgrent_r.c (__internal_setnetgrent)
3609 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
3610 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
3611 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
3612 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
3613 * nss/nsswitch.h (db_lookup_function): Likewise.
3615 2017-08-13 Florian Weimer <fweimer@redhat.com>
3617 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
3618 Remove internal_function.
3619 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
3620 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
3621 message argument on the stack.
3622 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
3625 2017-08-12 Mike FABIAN <mfabian@redhat.com>
3627 Adapt test case data to the changes in the thousands
3631 * localedata/tst-langinfo.sh: Adapt test case data.
3632 * stdlib/tst-strfmon_l.c: Likewise.
3633 * stdlib/tst-strtod4.c: Likewise.
3634 * stdlib/tst-strtod5i.c: Likewise.
3636 2017-08-11 Florian Weimer <fweimer@redhat.com>
3639 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
3640 Suppress pedantic warning resulting from statement expression.
3641 (__ASSERT_FUNCTION): Add missing __extension__.
3643 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
3645 * benchtests/bench-memmove-large.c: Print output in JSON
3647 * benchtests/bench-memmove.c: Likewise.
3649 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
3650 * benchtests/bench-memchr.c (do_one_test): Likewise.
3651 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
3652 * benchtests/bench-memcpy.c (do_one_test): Likewise.
3653 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
3654 * benchtests/bench-memmove.c (do_one_test): Likewise.
3655 * benchtests/bench-memset-large.c (do_one_test): Likewise.
3656 * benchtests/bench-memset.c (do_one_test): Likewise.
3657 * benchtests/bench-string.h (test_init): Remove memsets.
3659 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
3662 (Computing the Width of an Integer Data Type): Rename section to
3663 "Width of an Integer Type". Remove inaccurate statement regarding
3664 lack of C language facilities for determining width of integer
3665 types, and reorder content to improve flow and context of
3668 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
3670 * lang.texi (va_copy): Change standard from ISO to C99.
3671 (__va_copy): Add standard and header annotation.
3672 Update description for clarity of origins and current use.
3674 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3677 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
3678 xssqrtqp requires operands to be in Vector Registers
3679 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
3680 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
3681 (__ieee754_sqrtf128): Likewise.
3683 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
3685 * sysdeps/aarch64/memcmp.S (memcmp):
3686 Rewrite of optimized memcmp.
3688 2017-08-10 Florian Weimer <fweimer@redhat.com>
3690 Introduce ld.so exceptions.
3691 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
3692 (_dl_exception_create, _dl_exception_create_format)
3693 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
3694 (_dl_catch_exception): Declare.
3695 (_dl_catch_error): Update comment.
3696 * elf/dl-error-skeleton.c (struct catch): Replace objname,
3697 errstring, malloced members with exception member.
3698 (_dl_out_of_memory): Remove.
3699 (fatal_error): New function, extracted from _dl_signal_error.
3700 (_dl_signal_exception, _dl_signal_cexception): New functions.
3701 (_dl_signal_error): Call _dl_exception_create to allocate an
3703 (_dl_catch_exception): New function, based on _dl_catch_error.
3704 (_dl_catch_error): Implement using _dl_catch_exception.
3705 * elf/dl-exception.c: New file.
3706 * elf/Makefile (dl-routines): Add dl-exception.
3707 (elide-routines.os): Likewise.
3708 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
3709 _dl_exception_create_format, _dl_exception_free.
3710 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
3711 _dl_signal_exception.
3712 * elf/dl-lookup.c (make_string): Remove.
3713 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
3714 _dl_signal_cexception, _dl_exception_free.
3715 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
3716 _dl_signal_exception.
3717 * elf/dl-sym.c (do_sym): Likewise.
3718 * elf/dl-version.c (make_string): Remove.
3719 (match_symbol): Use _dl_exception_create_format,
3720 _dl_signal_cexception, _dl_exception_free.
3721 (_dl_check_map_versions): Likewise.
3722 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
3723 _dl_catch_exception.
3724 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3725 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3726 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3727 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3728 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3729 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3730 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3731 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
3733 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3740 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3741 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3742 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
3744 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
3746 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3748 2017-08-10 Florian Weimer <fweimer@redhat.com>
3750 * inet/net-internal.h (__inet6_scopeid_pton): Remove
3751 attribute_hidden, internal_function.
3752 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
3755 2017-08-10 Florian Weimer <fweimer@redhat.com>
3757 * malloc/malloc.c (get_max_fast): Reimplement as an inline
3758 function which calls __builtin_unreachable.
3760 2017-08-10 Mike FABIAN <mfabian@redhat.com>
3762 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
3763 Indian monetary formatting
3764 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
3767 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
3769 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
3770 Fix typo in comment.
3773 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
3774 PTRACE_SEIZE_DEVEL): Remove.
3775 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
3776 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3777 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3778 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3779 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3781 2017-08-09 Joseph Myers <joseph@codesourcery.com>
3783 * posix/bits/types.h (__qaddr_t): Remove.
3786 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
3787 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3789 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
3790 (ucontext_t): Use __ctx with uc_flags.
3791 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
3793 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3795 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
3796 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3798 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
3799 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3801 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
3803 (ucontext_t): Use __ctx with uc_flags.
3804 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
3805 (ucontext_t): Use __ctx with uc_flags.
3806 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
3807 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
3808 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
3809 (ucontext_t): Use __ctx with uc_flags.
3810 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
3811 undefine further down.
3812 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3814 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
3815 undefine further down.
3816 (ucontext_t): Use __ctx with uc_flags.
3817 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
3818 undefine further down.
3819 (ucontext_t): Use __ctx with uc_flags.
3820 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
3821 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
3822 Rename uc_pad to __glibc_reserved1.
3823 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
3824 undefine further down.
3825 (ucontext_t): Use __ctx with uc_flags.
3826 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
3828 (ucontext_t): Use __ctx with uc_flags.
3829 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
3830 __ctx with uc_flags.
3831 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
3832 (ucontext_t): Use __ctx with uc_flags.
3833 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
3834 __ctx with uc_flags.
3836 2017-08-09 Florian Weimer <fweimer@redhat.com>
3839 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
3840 before early return.
3842 2017-08-09 Andreas Schwab <schwab@suse.de>
3845 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
3849 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
3850 tst-compat-forwarder.
3851 (modules-names): Add tst-compat-forwarder-mod.
3852 ($(objpfx)tst-compat-forwarder): Depend on
3853 $(objpfx)tst-compat-forwarder-mod.so.
3854 * nptl/tst-compat-forwarder.c: New file.
3855 * nptl/tst-compat-forwarder-mod.c: New file.
3857 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
3859 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
3862 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
3863 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
3865 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
3867 (__libc_ifunc_impl_list): Add __memcpy_falkor.
3868 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
3869 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
3870 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3872 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
3875 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3878 * manual/setjmp.texi (getcontex): Document uc_stack value
3879 compatibility differences.
3881 2017-08-08 Joseph Myers <joseph@codesourcery.com>
3883 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
3884 (old_malloc_hook): Likewise.
3885 (old_memalign_hook): Likewise.
3886 (old_realloc_hook): Likewise.
3887 (struct hdr): Likewise.
3889 (freehook): Likewise.
3890 (mallochook): Likewise.
3891 (memalignhook): Likewise.
3892 (reallochook): Likewise.
3894 * malloc/mtrace.c (mallwatch): Likewise.
3895 (tr_old_free_hook): Likewise.
3896 (tr_old_malloc_hook): Likewise.
3897 (tr_old_realloc_hook): Likewise.
3898 (tr_old_memalign_hook): Likewise.
3899 (tr_where): Likewise.
3900 (lock_and_info): Likewise.
3901 (tr_freehook): Likewise.
3902 (tr_mallochook): Likewise.
3903 (tr_reallochook): Likewise.
3904 (tr_memalignhook): Likewise.
3905 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
3906 * misc/mmap.c (__mmap): Likewise.
3907 * misc/mmap64.c (__mmap64): Likewise.
3908 * misc/mprotect.c (__mprotect): Likewise.
3909 * misc/msync.c (msync): Likewise.
3910 * misc/munmap.c (__munmap): Likewise.
3911 * posix/posix_madvise.c (posix_madvise): Likewise.
3912 * socket/send.c (__send): Likewise.
3913 * socket/sendto.c (__sendto): Likewise.
3914 * socket/setsockopt.c (__setsockopt): Likewise.
3915 * string/memcmp.c (__ptr_t): Remove macro.
3916 (MEMCMP): Use void * instead of ptr_t.
3917 * string/memrchr.c (__ptr_t): Remove macro.
3918 (__memrchr): Use void * instead of ptr_t.
3919 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
3920 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3921 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
3922 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
3923 * sysdeps/mach/msync.c (msync): Likewise.
3924 * sysdeps/mach/munmap.c (__munmap): Likewise.
3925 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
3927 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3928 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
3929 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
3930 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
3931 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
3932 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3933 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
3934 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
3936 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3937 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
3938 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
3939 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
3940 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
3941 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
3942 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
3943 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
3944 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
3946 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
3947 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
3948 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
3949 (MEMCMP): Use void * instead of ptr_t.
3950 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
3951 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
3953 2017-08-08 Florian Weimer <fweimer@redhat.com>
3955 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
3958 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
3961 * csu/libc-tls.c: Include <startup.h> first.
3962 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
3963 * elf/dl-tunables.c: Include <startup.h> first.
3964 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
3965 * sysdeps/generic/startup.h: New file.
3966 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
3967 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
3968 (I386_USE_SYSENTER): New. Defined to 0.
3970 2017-08-08 Andreas Schwab <schwab@suse.de>
3973 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
3974 * nptl/pt-system.c (system): Likewise.
3976 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3979 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
3981 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
3982 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
3983 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
3984 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
3985 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
3986 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
3987 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
3989 2017-08-07 Joseph Myers <joseph@codesourcery.com>
3992 * bits/sigaction.h (struct sigaction): Define sa_handler and
3993 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
3994 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3995 [__USE_XOPEN_EXTENDED].
3996 (SA_RESTART): Likewise.
3997 (SA_NODEFER): Likewise.
3998 (SA_RESETHAND): Likewise.
3999 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
4000 (struct sigaction): Define sa_handler and sa_sigaction using union
4001 also for [__USE_XOPEN_EXTENDED].
4002 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4003 [__USE_XOPEN_EXTENDED].
4004 (SA_RESTART): Likewise.
4005 (SA_NODEFER): Likewise.
4006 (SA_RESETHAND): Likewise.
4007 * sysdeps/unix/sysv/linux/bits/sigaction.h
4008 (struct sigaction): Define sa_handler and sa_sigaction using union
4009 also for [__USE_XOPEN_EXTENDED].
4010 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4011 [__USE_XOPEN_EXTENDED].
4012 (SA_RESTART): Likewise.
4013 (SA_NODEFER): Likewise.
4014 (SA_RESETHAND): Likewise.
4015 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
4016 (struct sigaction): Define sa_handler and sa_sigaction using union
4017 also for [__USE_XOPEN_EXTENDED].
4018 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4019 [__USE_XOPEN_EXTENDED].
4020 (SA_RESTART): Likewise.
4021 (SA_NODEFER): Likewise.
4022 (SA_RESETHAND): Likewise.
4023 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
4024 (struct sigaction): Define sa_handler and sa_sigaction using union
4025 also for [__USE_XOPEN_EXTENDED].
4026 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4027 [__USE_XOPEN_EXTENDED].
4028 (SA_RESTART): Likewise.
4029 (SA_NODEFER): Likewise.
4030 (SA_RESETHAND): Likewise.
4031 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
4032 (struct sigaction): Define sa_handler and sa_sigaction using union
4033 also for [__USE_XOPEN_EXTENDED].
4034 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4035 [__USE_XOPEN_EXTENDED].
4036 (SA_RESTART): Likewise.
4037 (SA_NODEFER): Likewise.
4038 (SA_RESETHAND): Likewise.
4039 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4040 (struct sigaction): Define sa_handler and sa_sigaction using union
4041 also for [__USE_XOPEN_EXTENDED].
4042 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4043 [__USE_XOPEN_EXTENDED].
4044 (SA_RESTART): Likewise.
4045 (SA_NODEFER): Likewise.
4046 (SA_RESETHAND): Likewise.
4047 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4048 (struct sigaction): Define sa_handler and sa_sigaction using union
4049 also for [__USE_XOPEN_EXTENDED].
4050 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4051 [__USE_XOPEN_EXTENDED].
4052 (SA_RESTART): Likewise.
4053 (SA_NODEFER): Likewise. Define directly rather than as alias.
4054 (SA_RESETHAND): Likewise.
4055 (SA_INTERRUPT): Define only for [__USE_MISC].
4056 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
4057 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
4059 (SA_STACK): Define only for [__USE_MISC].
4060 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
4061 (struct sigaction): Define sa_handler and sa_sigaction using union
4062 also for [__USE_XOPEN_EXTENDED].
4063 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4064 [__USE_XOPEN_EXTENDED].
4065 (SA_RESTART): Likewise.
4066 (SA_NODEFER): Likewise.
4067 (SA_RESETHAND): Likewise.
4068 (SA_NOPTRACE): Define only for [__USE_MISC].
4070 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
4071 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
4072 (struct catalog_info): Likewise.
4073 * inet/htontest.c (lo): Likewise.
4075 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4076 * inet/inet_net.c (inet_network): Likewise.
4077 * inet/inet_netof.c (inet_netof): Likewise.
4078 * inet/rcmd.c (__ivaliduser): Likewise.
4079 (iruserok): Likewise.
4080 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
4081 * locale/programs/locale-spec.c (locale_special): Likewise.
4082 * nis/nis_findserv.c (struct findserv_req): Likewise.
4083 (__nis_findfastest_with_timeout): Likewise.
4084 * nss/test-netdb.c (test_network): Likewise.
4085 * resolv/inet_neta.c (inet_neta): Likewise.
4086 * resolv/ns_date.c (ns_datetosecs): Likewise.
4087 (SECS_PER_DAY): Likewise.
4088 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
4090 * resolv/res_comp.c (__putlong): Likewise.
4091 (__putshort): Likewise.
4092 (_getlong): Likewise.
4093 (_getshort): Likewise.
4094 * resolv/res_debug.c (p_time): Likewise.
4095 (precsize_ntoa): Likewise.
4096 (precsize_aton): Likewise.
4097 (latlon2ul): Likewise.
4098 (loc_aton): Likewise.
4099 (loc_ntoa): Likewise.
4100 * resolv/res_hconf.c (struct netaddr): Likewise.
4101 (_res_hconf_reorder_addrs): Likewise.
4102 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4103 (clnttcp_control): Likewise.
4104 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4105 (clntudp_control): Likewise.
4106 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
4107 (clntunix_control): Likewise.
4108 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4109 * sunrpc/rpc/auth.h (union des_block): Likewise.
4110 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
4111 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
4112 (xdrrec_create): Likewise.
4113 (xdrrec_endofrecord): Likewise.
4114 (flush_out): Likewise.
4115 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
4116 (xdrstdio_putlong): Likewise.
4117 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
4120 * misc/sys/cdefs.h (__long_double_t): Remove.
4121 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
4122 instead of __long_double_t,
4123 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
4125 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
4127 * benchtests/scripts/compare_strings.py: Avoid display error when
4128 running on a text terminal.
4130 * benchtests/scripts/compare_strings.py (main): Add an
4131 optional -base option.
4132 (process_results): New argument base_func.
4134 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
4136 * benchtests/bench-memcpy-large.c (test_name): Likewise.
4137 * benchtests/bench-memcpy-random.c (test_name): Likewise.
4139 2017-08-07 Andreas Schwab <schwab@suse.de>
4141 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
4142 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4143 * intl/Makefile ($(objpfx)tst-gettext.out)
4144 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
4145 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
4146 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4147 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4148 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
4149 * posix/Makefile ($(objpfx)globtest.out)
4150 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
4151 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
4152 ($(objpfx)tst-printf.out): Likewise.
4153 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
4154 ($(objpfx)tst-setcontext3.out): Likewise.
4156 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
4158 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4159 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
4160 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
4161 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
4162 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
4164 (CFLAGS-doasin-fma.c): New.
4165 (CFLAGS-dosincos-fma.c): Likewise.
4166 (CFLAGS-e_asin-fma.c): Likewise.
4167 (CFLAGS-e_atan2-fma.c): Likewise.
4168 (CFLAGS-e_exp-fma.c): Likewise.
4169 (CFLAGS-e_log-fma.c): Likewise.
4170 (CFLAGS-e_pow-fma.c): Likewise.
4171 (CFLAGS-halfulp-fma.c): Likewise.
4172 (CFLAGS-mpa-fma.c): Likewise.
4173 (CFLAGS-mpatan-fma.c): Likewise.
4174 (CFLAGS-mpatan2-fma.c): Likewise.
4175 (CFLAGS-mpexp-fma.c): Likewise.
4176 (CFLAGS-mplog-fma.c): Likewise.
4177 (CFLAGS-mpsqrt-fma.c): Likewise.
4178 (CFLAGS-mptan-fma.c): Likewise.
4179 (CFLAGS-s_atan-fma.c): Likewise.
4180 (CFLAGS-sincos32-fma.c): Likewise.
4181 (CFLAGS-slowexp-fma.c): Likewise.
4182 (CFLAGS-slowpow-fma.c): Likewise.
4183 (CFLAGS-s_sin-fma.c): Likewise.
4184 (CFLAGS-s_tan-fma.c): Likewise.
4185 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
4186 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
4187 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
4188 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
4189 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
4190 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
4191 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
4192 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
4193 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
4194 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
4195 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
4196 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
4197 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
4198 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
4199 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
4200 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
4201 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
4202 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
4203 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
4204 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
4205 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
4206 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
4207 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
4208 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
4209 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4210 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4211 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4212 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
4213 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4214 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4215 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4217 2017-08-04 Joseph Myers <joseph@codesourcery.com>
4219 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
4220 (min_of_type_f): New macro.
4221 (min_of_type_): Likewise.
4222 (min_of_type_l): Likewise.
4223 (min_of_type_f128): Likewise.
4224 (min_of_type): Define using __MATH_TG and taking an expression
4226 (math_check_force_underflow): Pass expression instead of type to
4228 (math_check_force_underflow_nonneg): Likewise.
4230 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4232 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
4233 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
4234 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
4236 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4238 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4239 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
4240 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
4241 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
4242 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
4243 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
4244 memcpy_chk-nonshared, mempcpy_chk-nonshared,
4245 memmove_chk-nonshared and memset_chk-nonshared
4246 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
4247 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
4248 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
4249 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
4250 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
4251 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
4252 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
4253 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
4254 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
4255 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
4256 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
4257 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
4258 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
4259 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
4260 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
4261 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
4262 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
4263 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
4264 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
4265 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
4266 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
4267 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
4268 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
4269 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
4270 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
4271 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
4272 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
4273 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
4274 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
4275 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
4276 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
4277 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
4278 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
4279 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
4280 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
4281 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
4282 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
4283 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
4284 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
4285 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
4286 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
4287 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
4288 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
4289 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
4290 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
4291 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
4292 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
4293 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
4294 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
4295 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
4296 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
4297 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
4298 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
4299 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
4300 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
4301 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
4302 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
4303 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
4304 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
4305 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
4306 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
4307 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
4308 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
4309 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
4310 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
4311 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
4312 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
4313 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
4314 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
4315 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
4316 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
4317 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4318 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4319 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4320 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4321 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4322 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4323 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4324 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4325 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4326 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4327 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4328 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4329 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4330 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4331 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4332 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4333 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4334 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4335 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4336 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4337 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4338 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4339 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4340 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4341 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4342 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4343 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4344 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4345 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4346 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4347 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4348 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4349 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4350 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4351 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4352 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4353 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4355 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4357 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
4358 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
4359 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
4360 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
4361 svml_d_log2_core-sse2, svml_d_log4_core-sse,
4362 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
4363 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
4364 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
4365 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
4366 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
4367 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
4368 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
4369 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
4370 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
4371 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
4372 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
4373 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
4374 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
4375 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
4376 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
4377 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
4378 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
4379 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
4380 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
4381 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
4382 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
4383 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
4384 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
4385 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
4386 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
4387 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
4388 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
4389 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
4390 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
4391 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
4392 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
4393 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
4394 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
4395 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
4396 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
4397 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
4398 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
4399 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
4400 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
4401 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
4402 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
4403 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
4404 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
4405 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
4406 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
4407 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
4408 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
4409 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
4410 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
4411 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
4412 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
4413 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
4414 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
4415 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
4417 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
4418 Don't include <sysdep.h> nor <init-arch.h>.
4419 (_ZGVbN2v_cos): Removed.
4420 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
4422 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
4423 Don't include <sysdep.h> nor <init-arch.h>.
4424 (_ZGVdN4v_cos): Removed.
4425 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
4427 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
4428 Don't include <sysdep.h> nor <init-arch.h>.
4429 (_ZGVeN8v_cos): Removed.
4430 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
4432 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
4433 Don't include <sysdep.h> nor <init-arch.h>.
4434 (_ZGVbN2v_exp): Removed.
4435 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
4437 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
4438 Don't include <sysdep.h> nor <init-arch.h>.
4439 (_ZGVdN4v_exp): Removed.
4440 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
4442 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
4443 Don't include <sysdep.h> nor <init-arch.h>.
4444 (_ZGVeN8v_exp): Removed.
4445 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
4447 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
4448 Don't include <sysdep.h> nor <init-arch.h>.
4449 (_ZGVbN2v_log): Removed.
4450 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
4452 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
4453 Don't include <sysdep.h> nor <init-arch.h>.
4454 (_ZGVdN4v_log): Removed.
4455 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
4457 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
4458 Don't include <sysdep.h> nor <init-arch.h>.
4459 (_ZGVeN8v_log): Removed.
4460 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
4462 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
4463 Don't include <sysdep.h> nor <init-arch.h>.
4464 (_ZGVbN2vv_pow): Removed.
4465 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
4467 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
4468 Don't include <sysdep.h> nor <init-arch.h>.
4469 (_ZGVdN4vv_pow): Removed.
4470 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
4472 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
4473 Don't include <sysdep.h> nor <init-arch.h>.
4474 (_ZGVeN8vv_pow): Removed.
4475 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
4477 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
4478 Don't include <sysdep.h> nor <init-arch.h>.
4479 (_ZGVbN2v_sin): Removed.
4480 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
4482 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
4483 Don't include <sysdep.h> nor <init-arch.h>.
4484 (_ZGVbN4v_sin): Removed.
4485 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
4487 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
4488 Don't include <sysdep.h> nor <init-arch.h>.
4489 (_ZGVbN8v_sin): Removed.
4490 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
4492 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
4493 Don't include <sysdep.h> nor <init-arch.h>.
4494 (_ZGVbN2vvv_sincos): Removed.
4495 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
4497 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
4498 Don't include <sysdep.h> nor <init-arch.h>.
4499 (_ZGVdN4vvv_sincos): Removed.
4500 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
4502 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
4503 Don't include <sysdep.h> nor <init-arch.h>.
4504 (_ZGVeN8vvv_sincos): Removed.
4505 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
4507 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
4508 Don't include <sysdep.h> nor <init-arch.h>.
4509 (_ZGVeN16v_cosf): Removed.
4510 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
4512 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
4513 Don't include <sysdep.h> nor <init-arch.h>.
4514 (_ZGVbN4v_cosf): Removed.
4515 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
4517 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
4518 Don't include <sysdep.h> nor <init-arch.h>.
4519 (_ZGVdN8v_cosf): Removed.
4520 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
4522 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
4523 Don't include <sysdep.h> nor <init-arch.h>.
4524 (_ZGVeN16v_expf): Removed.
4525 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
4527 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
4528 Don't include <sysdep.h> nor <init-arch.h>.
4529 (_ZGVbN4v_expf): Removed.
4530 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
4532 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
4533 Don't include <sysdep.h> nor <init-arch.h>.
4534 (_ZGVdN8v_expf): Removed.
4535 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
4537 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
4538 Don't include <sysdep.h> nor <init-arch.h>.
4539 (_ZGVeN16v_logf): Removed.
4540 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
4542 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
4543 Don't include <sysdep.h> nor <init-arch.h>.
4544 (_ZGVbN4v_logf): Removed.
4545 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
4547 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
4548 Don't include <sysdep.h> nor <init-arch.h>.
4549 (_ZGVdN8v_logf): Removed.
4550 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
4552 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
4553 Don't include <sysdep.h> nor <init-arch.h>.
4554 (_ZGVeN16vv_powf): Removed.
4555 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
4557 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
4558 Don't include <sysdep.h> nor <init-arch.h>.
4559 (_ZGVbN4vv_powf): Removed.
4560 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
4562 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
4563 Don't include <sysdep.h> nor <init-arch.h>.
4564 (_ZGVdN8vv_powf): Removed.
4565 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
4567 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
4568 Don't include <sysdep.h> nor <init-arch.h>.
4569 (_ZGVeN16vvv_sincosf): Removed.
4570 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
4572 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
4573 Don't include <sysdep.h> nor <init-arch.h>.
4574 (_ZGVbN4vvv_sincosf): Removed.
4575 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
4577 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
4578 Don't include <sysdep.h> nor <init-arch.h>.
4579 (_ZGVdN8vvv_sincosf): Removed.
4580 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
4582 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
4583 Don't include <sysdep.h> nor <init-arch.h>.
4584 (_ZGVeN16v_sinf): Removed.
4585 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
4587 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
4588 Don't include <sysdep.h> nor <init-arch.h>.
4589 (_ZGVbN4v_sinf): Removed.
4590 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
4592 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
4593 Don't include <sysdep.h> nor <init-arch.h>.
4594 (_ZGVdN8v_sinf): Removed.
4596 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4598 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4599 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
4600 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
4601 s_rint-sse4_1 and s_rintf-sse4_1.
4602 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
4603 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
4604 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
4605 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
4606 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
4607 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
4608 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
4609 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
4610 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
4611 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
4612 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
4613 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4615 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
4616 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
4617 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4619 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
4620 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
4621 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4623 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
4624 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
4625 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4626 (__floorf): Removed.
4627 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
4628 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
4629 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4630 (__nearbyint): Removed.
4631 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
4632 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
4633 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4634 (__nearbyintf): Removed.
4635 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
4636 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
4637 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4639 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
4640 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
4641 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4644 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4646 * sysdeps/i386/start.S (_start): Check Check PIC instead of
4647 SHARED. Avoid dynamic relocation against main in static PIE.
4649 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4652 * elf/Makefile (CFLAGS-tst-prelink.c): New.
4653 (LDFLAGS-tst-prelink): Likewise.
4655 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4657 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
4658 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
4659 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
4660 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
4661 (INTERNAL_SYSCALL_NCS): Likewise.
4662 (LOADARGS_1): Likewise.
4663 (LOADARGS_5): Likewise.
4664 (RESTOREARGS_1): Likewise.
4665 (RESTOREARGS_5): Likewise.
4667 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4669 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
4670 (MEMPCPY_SYMBOL): Likewise.
4671 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4672 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
4673 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
4675 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4676 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4678 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
4679 (__hidden_ver1): Don't use in libc.a.
4680 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
4681 (__mempcpy): Don't create a weak alias in libc.a.
4682 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
4684 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
4685 (__hidden_ver1): Don't use in libc.a.
4687 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4689 * config.make.in (have-insert): New.
4690 * configure.ac (libc_cv_insert): New. Set to yes if linker
4691 supports INSERT in linker script.
4692 (AC_SUBST(libc_cv_insert): New.
4693 * configure: Regenerated.
4694 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
4695 if $(have-insert) == yes.
4697 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4699 * elf/Makefile (tests): Add vismain only if
4700 $(have-protected-data) == yes.
4701 (tests-pie): Likewise.
4703 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4706 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4707 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
4709 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4712 * sysdeps/i386/i586/memset.S
4713 (__memset_zero_constant_len_parameter): Removed.
4714 * sysdeps/i386/i686/memset.S
4715 (__memset_zero_constant_len_parameter): Likewise.
4716 * sysdeps/i386/i686/multiarch/memset_chk.S
4717 (__memset_zero_constant_len_parameter): Likewise.
4718 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
4721 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
4723 * stdlib/getentropy.c (getentropy): Change return type to int.
4725 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
4727 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4729 2017-08-03 Joseph Myers <joseph@codesourcery.com>
4731 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
4733 * math/s_nexttowardf.c (__nexttowardf): Likewise.
4734 * sysdeps/generic/math_private.h (ieee_double_shape_type):
4736 (ieee_float_shape_type): Likewise.
4737 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
4738 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
4739 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4740 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4741 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4742 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
4743 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
4744 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4745 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4747 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4748 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4749 (__ieee754_yn): Likewise.
4750 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4751 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4752 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
4754 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4755 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
4756 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
4757 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
4759 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
4760 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
4761 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
4762 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
4763 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
4764 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
4766 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
4767 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
4768 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
4769 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
4770 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4771 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
4772 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
4773 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
4774 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
4775 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
4776 (__issignaling): Likewise.
4777 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
4778 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
4779 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4781 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
4782 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
4783 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
4784 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
4786 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
4788 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
4789 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
4790 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
4791 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
4792 (__erfcf): Likewise.
4793 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
4794 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
4795 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
4796 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
4798 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
4799 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
4801 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
4802 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
4803 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
4804 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
4805 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
4806 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4807 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
4808 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
4810 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
4812 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
4814 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
4815 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4817 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4819 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4820 (__ieee754_ynl): Likewise.
4821 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4822 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
4824 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
4826 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
4827 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
4828 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4830 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
4831 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
4832 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
4833 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
4834 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
4835 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
4836 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
4837 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
4839 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
4840 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
4841 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
4843 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
4844 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
4845 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
4846 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
4847 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
4848 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4850 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4852 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4854 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4856 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
4857 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4858 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4859 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
4860 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
4861 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
4862 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
4864 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4866 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4867 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4869 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4870 (__ieee754_remainderl): Likewise.
4871 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4872 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4873 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4874 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4876 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4877 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4879 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4880 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
4881 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
4882 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
4883 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4884 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4886 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4887 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
4888 (__ieee754_y0l): Likewise.
4891 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4892 (__ieee754_y1l): Likewise.
4895 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4896 (__ieee754_ynl): Likewise.
4897 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
4898 (__ieee754_lgammal_r): Likewise.
4899 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
4901 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
4902 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
4903 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
4904 (__erfcl): Likewise.
4905 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
4906 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
4908 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
4909 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
4910 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
4911 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
4912 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
4913 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4914 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4916 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
4917 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4918 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
4919 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
4920 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4922 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
4923 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
4925 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
4926 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
4927 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
4928 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4929 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
4931 2017-08-03 Florian Weimer <fweimer@redhat.com>
4934 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
4935 on memory allocation failure.
4937 2017-08-03 Alan Modra <amodra@gmail.com>
4939 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
4940 tst-tlsopt-powerpc.c with function name change and no test harness.
4941 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
4942 Call tls_get_addr_opt_test.
4943 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
4944 (modules-names): Add mod-tlsopt-powerpc.
4945 (mod-tlsopt-powerpc.so-no-z-defs): Define.
4946 (tst-tlsopt-powerpc): Depend on .so.
4947 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
4948 define. Expand use in TLS_GD and TLS_LD.
4950 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4952 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
4954 * sysdeps/posix/shm_open.c: Include <pthread.h>.
4956 2017-08-02 Joseph Myers <joseph@codesourcery.com>
4959 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
4960 comparing size with that of double.
4961 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
4962 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
4963 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
4964 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
4965 (__TGMATH_BINARY_REAL_IMAG): Likewise.
4966 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
4967 unsigned __int128 types.
4969 2017-08-02 Steve Ellcey <sellcey@cavium.com>
4971 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
4972 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
4973 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
4974 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
4975 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
4977 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
4979 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
4981 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
4983 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
4985 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
4986 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4987 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4988 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4989 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4990 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4991 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4993 2017-08-02 Joseph Myers <joseph@codesourcery.com>
4996 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
4997 bit-field expressions passed to sizeof or typeof.
4998 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4999 (__TGMATH_F128): Likewise.
5000 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5001 (__TGMATH_CF128): Likewise.
5002 (__TGMATH_UNARY_REAL_ONLY): Likewise.
5003 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
5004 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
5005 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
5006 (__TGMATH_BINARY_REAL_ONLY): Likewise.
5007 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
5008 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
5009 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
5010 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
5011 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
5012 (__TGMATH_UNARY_REAL_IMAG): Likewise.
5013 (__TGMATH_UNARY_IMAG): Likewise.
5014 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
5015 (__TGMATH_BINARY_REAL_IMAG): Likewise.
5016 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
5018 (define_vars_for_type): Handle bit_field type specially.
5019 (Tests.__init__): Declare structure with bit-field element.
5021 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
5024 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
5025 (MEMCPY_CHK): Define only if SHARED is defined.
5026 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
5028 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
5031 See ChangeLog.18 for earlier changes.