1 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
4 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
5 tests-pie): Add tst-gmon-pie.
6 (CFLAGS-tst-gmon-pie.c): New.
7 (CRT-tst-gmon-pie): Likewise.
8 (tst-gmon-pie-ENV): Likewise.
9 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
10 ($(objpfx)tst-gmon-pie.out): Likewise.
11 (clean-tst-gmon-pie-data): Likewise.
12 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
13 * gmon/gmon.c [PIC]: Include <link.h>.
14 [PIC] (callback): New function.
15 (write_hist): Add an argument for load address. Subtract load
17 (write_call_graph): Likewise.
18 (write_gmon): Call __dl_iterate_phdr to get load address, pass
19 it to write_hist and write_call_graph.
21 2017-10-11 Joseph Myers <joseph@codesourcery.com>
23 * math/Makefile (test-types-basic): New variable.
24 (test-types): Likewise.
25 (libm-test-support): Use $(test-types) instead of $(types).
26 (libm-tests-base-normal): Likewise.
27 (libm-tests-base-finite): Likewise.
28 (libm-tests-base-inline): Likewise.
29 (generated): Likewise.
30 ($(objpfx)libm-test-support-$(t).c): Likewise.
31 (libm-tests-for-type iterator): Likewise.
32 (libm-test-support iterator): Likewise.
33 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
34 (ulp_idx): Use ULP_IDX.
35 * math/test-ldouble.h: Include <float.h>.
36 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
38 (ULP_I_IDX): Likewise.
39 * math/test-double.h (ULP_IDX): Likewise.
40 (ULP_I_IDX): Likewise.
41 * math/test-float.h (ULP_IDX): Likewise.
42 (ULP_I_IDX): Likewise.
43 * math/test-float128.h (ULP_IDX): Likewise.
44 (ULP_I_IDX): Likewise.
46 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
48 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
49 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
50 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
51 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
52 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
53 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
54 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
55 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
56 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
57 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
58 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
59 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
60 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
61 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
62 (SINGLE_THREAD_BY_GLOBAL): Define.
63 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
65 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
67 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
69 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
71 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
72 (SINGLE_THREAD_BY_GLOBAL): Likewise.
73 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
76 2017-10-11 Andreas Schwab <schwab@suse.de>
78 * nis/Makefile (aux): Remove.
79 * nscd/Makefile (aux): Add nscd_hash.
80 (nscd-modules): Likewise.
81 ($(objpfx)nscd): Don't depend on libnsl.
82 * nscd/nscd_hash.c: New file.
83 * nscd/nscd_hash.h: Likewise.
84 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
85 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
86 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
87 instead of <nis/rpcsvc/nis.h>.
88 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
90 2017-10-11 Florian Weimer <fweimer@redhat.com>
93 Avoid large NSS buffers with many addresses, aliases.
94 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
95 using dynarrays and struct alloc_buffer.
96 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
97 (tst-nss-files-hosts-multi): Link with -ldl.
98 * nss/tst-nss-files-hosts-multi.c: New file.
100 2017-10-11 Florian Weimer <fweimer@redhat.com>
103 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
104 scratch_buffer. Eliminate gotos.
106 2017-10-11 Joseph Myers <joseph@codesourcery.com>
108 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
109 libm_alias_ldouble_other.
110 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
111 undefine and redefine.
112 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
113 (exp10l): Do not define here.
114 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
115 (weak_alias): Undefine and redefine.
116 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
117 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
118 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
119 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
121 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
122 [!__fma] (fma): Define using libm_alias_double.
123 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
124 [!__fmaf] (fmaf): Define using libm_alias_float.
125 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
126 (fmal): Define using libm_alias_ldouble.
128 2017-10-10 Joseph Myers <joseph@codesourcery.com>
130 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
132 (libm_alias_double_other): Likewise.
133 (libm_alias_double_r): Use libm_alias_double_other_r.
134 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
136 (libm_alias_float_other): Likewise.
137 (libm_alias_float_r): Use libm_alias_float_other_r.
138 * sysdeps/generic/libm-alias-float128.h
139 (libm_alias_float128_other_r): New macro.
140 (libm_alias_float128_other): Likewise.
141 (libm_alias_float128_r): Use libm_alias_float128_other_r.
142 * sysdeps/generic/libm-alias-ldouble.h
143 (libm_alias_ldouble_other_r): New macro.
144 (libm_alias_ldouble_other): Likewise.
145 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
146 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
147 (libm_alias_double_other_r): New macro.
148 (libm_alias_double_other): Likewise.
149 (libm_alias_double_r): Use libm_alias_double_other_r.
150 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
151 (libm_alias_ldouble_other_r): New macro.
152 (libm_alias_ldouble_other): Likewise.
153 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
154 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
155 [!USE_AS_COMPAT]: Use libm_alias_double_other.
156 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
157 [!USE_AS_COMPAT]: Use libm_alias_float_other.
158 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
159 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
160 * math/w_exp2f.c: Use libm_alias_float_other.
161 * math/w_expf.c: Likewise.
162 * math/w_log2f.c: Likewise.
163 * math/w_logf.c: Likewise.
164 * math/w_powf.c: Likewise.
165 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
166 [!__exp2f]: Use libm_alias_float_other.
167 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
168 [!__expf]: Use libm_alias_float_other.
169 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
170 [!__log2f]: Use libm_alias_float_other.
171 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
172 [!__logf]: Use libm_alias_float_other.
173 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
174 [!__powf]: Use libm_alias_float_other.
176 2017-10-10 Florian Weimer <fweimer@redhat.com>
178 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
180 (_nss_files_gethostbyname3_r): Call it.
182 2017-10-09 Joseph Myers <joseph@codesourcery.com>
184 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
185 error. Remove default definition of declare_mgen_alias.
186 [!declare_mgen_alias_r]: Likewise.
187 * sysdeps/generic/math-type-macros-double.h
188 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
189 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
190 (declare_mgen_alias_r): Likewise.
191 * sysdeps/generic/math-type-macros-float128.h
192 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
193 * sysdeps/generic/math-type-macros-ldouble.h
194 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
195 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
197 (declare_mgen_alias_r_s): Likewise.
198 (declare_mgen_alias_r): Likewise.
199 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
200 (lgamma_r): Define using libm_alias_double_r.
201 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
202 (lgammaf_r): Define using libm_alias_float_r.
203 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
204 (lgammal_r): Define using libm_alias_ldouble_r.
205 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
206 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
208 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
210 * lib/glob.c (__glob_pattern_type): Remove now-spurious
213 2017-10-09 Joseph Myers <joseph@codesourcery.com>
215 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
217 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
220 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
221 [__cplusplus >= 201103] (__USE_ISOC99): Define.
222 * math/Makefile (test-math-cxx11): New test.
223 * math/test-math-cxx11.cc: New file.
225 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
227 * login/openpty.c (openpty): Close slave pty file descriptor on error.
229 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
230 call to allocate the slave pty file descriptor.
232 2017-10-06 Joseph Myers <joseph@codesourcery.com>
234 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
235 [!__fma] (fma): Define using libm_alias_double.
236 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
237 [!__fma] (fma): Define using libm_alias_double.
239 * sysdeps/ieee754/float128/float128_private.h: Include
240 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
241 (libm_alias_ldouble_r): Undefine and redefine.
242 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
243 <libm-alias-ldouble.h>.
244 (asinhl): Define using libm_alias_ldouble.
245 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
246 <libm-alias-ldouble.h>.
247 (atanl): Define using libm_alias_ldouble.
248 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
249 <libm-alias-ldouble.h>.
250 (cbrtl): Define using libm_alias_ldouble.
251 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
252 <libm-alias-ldouble.h>.
253 (ceill): Define using libm_alias_ldouble.
254 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
255 <libm-alias-ldouble.h>.
256 (copysignl): Define using libm_alias_ldouble.
257 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
258 <libm-alias-ldouble.h>.
259 (cosl): Define using libm_alias_ldouble.
260 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
261 <libm-alias-ldouble.h>.
262 (erfl): Define using libm_alias_ldouble.
264 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
265 <libm-alias-ldouble.h>.
266 (expm1l): Define using libm_alias_ldouble.
267 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
268 <libm-alias-ldouble.h>.
269 (fabsl): Define using libm_alias_ldouble.
270 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
271 <libm-alias-ldouble.h>.
272 (floorl): Define using libm_alias_ldouble.
273 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
274 <libm-alias-ldouble.h>.
275 (fmal): Define using libm_alias_ldouble.
276 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
277 <libm-alias-ldouble.h>.
278 (frexpl): Define using libm_alias_ldouble.
279 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
281 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
282 <libm-alias-ldouble.h>.
283 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
285 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
286 <libm-alias-ldouble.h>.
287 (getpayloadl): Define using libm_alias_ldouble.
288 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
289 <libm-alias-ldouble.h>.
290 (llrintl): Define using libm_alias_ldouble.
291 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
292 <libm-alias-ldouble.h>.
293 (llroundl): Define using libm_alias_ldouble.
294 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
295 <libm-alias-ldouble.h>.
296 (logbl): Define using libm_alias_ldouble.
297 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
298 <libm-alias-ldouble.h>.
299 (lrintl): Define using libm_alias_ldouble.
300 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
301 <libm-alias-ldouble.h>.
302 (lroundl): Define using libm_alias_ldouble.
303 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
304 <libm-alias-ldouble.h>.
305 (modfl): Define using libm_alias_ldouble.
306 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
307 <libm-alias-ldouble.h>.
308 (nearbyintl): Define using libm_alias_ldouble.
309 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
310 <libm-alias-ldouble.h>.
311 (nextafterl): Define using libm_alias_ldouble.
312 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
313 <libm-alias-ldouble.h>.
314 (nextupl): Define using libm_alias_ldouble.
315 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
316 <libm-alias-ldouble.h>.
317 (remquol): Define using libm_alias_ldouble.
318 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
319 <libm-alias-ldouble.h>.
320 (rintl): Define using libm_alias_ldouble.
321 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
322 <libm-alias-ldouble.h>.
323 (roundevenl): Define using libm_alias_ldouble.
324 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
325 <libm-alias-ldouble.h>.
326 (roundl): Define using libm_alias_ldouble.
327 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
328 using libm_alias_ldouble.
329 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
330 <libm-alias-ldouble.h>.
331 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
332 Define using libm_alias_ldouble.
333 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
334 <libm-alias-ldouble.h>.
335 (sincosl): Define using libm_alias_ldouble.
336 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
337 <libm-alias-ldouble.h>.
338 (sinl): Define using libm_alias_ldouble.
339 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
340 <libm-alias-ldouble.h>.
341 (tanhl): Define using libm_alias_ldouble.
342 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
343 <libm-alias-ldouble.h>.
344 (tanl): Define using libm_alias_ldouble.
345 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
346 <libm-alias-ldouble.h>.
347 (totalorderl): Define using libm_alias_ldouble.
348 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
349 <libm-alias-ldouble.h>.
350 (totalordermagl): Define using libm_alias_ldouble.
351 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
352 <libm-alias-ldouble.h>.
353 (truncl): Define using libm_alias_ldouble.
354 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
356 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
358 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
359 <libm-alias-ldouble.h>.
360 (weak_alias): Do not undefine and redefine.
361 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
362 (copysignl): Define with long_double_symbol only if [IS_IN
364 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
365 <libm-alias-ldouble.h>.
366 (weak_alias): Do not undefine and redefine.
367 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
368 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
369 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
370 <libm-alias-ldouble.h>.
371 (weak_alias): Do not undefine and redefine.
372 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
373 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
374 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
375 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
376 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
377 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
378 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
379 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
380 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
381 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
382 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
383 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
384 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
385 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
386 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
387 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
388 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
389 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
390 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
391 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
392 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
393 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
394 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
395 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
396 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
397 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
399 2017-10-06 Carlos O'Donell <carlos@redhat.com>
402 * malloc/malloc.c (tcache_shutting_down): Use bool type.
403 (tcache_thread_freeres): Set tcache_shutting_down before
405 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
406 * malloc/tst-malloc-tcache-leak.c: New file.
408 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
410 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
411 back to powerpc32 file.
412 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
413 (memrchr): Add __memrchr_power8 to ifunc list.
414 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
415 extra bytes for unaligned inputs.
417 2017-10-06 Joseph Myers <joseph@codesourcery.com>
419 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
420 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
421 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
422 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
423 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
425 2017-10-05 Joseph Myers <joseph@codesourcery.com>
427 * sysdeps/arm/libm-test-ulps: Update.
429 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
430 <libm-alias-ldouble.h>.
431 (asinhl): Define using libm_alias_ldouble.
432 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
433 <libm-alias-ldouble.h>.
434 (cbrtl): Define using libm_alias_ldouble.
435 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
436 <libm-alias-ldouble.h>.
437 (copysignl): Define using libm_alias_ldouble.
438 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
439 <libm-alias-ldouble.h>.
440 (cosl): Define using libm_alias_ldouble.
441 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
442 <libm-alias-ldouble.h>.
443 (erfl): Define using libm_alias_ldouble.
445 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
446 <libm-alias-ldouble.h>.
447 (fmal): Define using libm_alias_ldouble.
448 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
449 <libm-alias-ldouble.h>.
450 (frexpl): Define using libm_alias_ldouble.
451 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
453 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
454 <libm-alias-ldouble.h>.
455 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
457 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
458 <libm-alias-ldouble.h>.
459 (getpayloadl): Define using libm_alias_ldouble.
460 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
461 <libm-alias-ldouble.h>.
462 (llrintl): Define using libm_alias_ldouble.
463 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
464 <libm-alias-ldouble.h>.
465 (llroundl): Define using libm_alias_ldouble.
466 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
467 <libm-alias-ldouble.h>.
468 (lrintl): Define using libm_alias_ldouble.
469 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
470 <libm-alias-ldouble.h>.
471 (lroundl): Define using libm_alias_ldouble.
472 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
473 <libm-alias-ldouble.h>.
474 (modfl): Define using libm_alias_ldouble.
475 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
476 <libm-alias-ldouble.h>.
477 (nextupl): Define using libm_alias_ldouble.
478 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
479 <libm-alias-ldouble.h>.
480 (remquol): Define using libm_alias_ldouble.
481 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
482 <libm-alias-ldouble.h>.
483 (roundevenl): Define using libm_alias_ldouble.
484 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
485 <libm-alias-ldouble.h>.
486 (roundl): Define using libm_alias_ldouble.
487 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
488 using libm_alias_ldouble.
489 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
490 <libm-alias-ldouble.h>.
491 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
492 <libm-alias-ldouble.h>.
493 (setpayloadsigl): Define using libm_alias_ldouble.
494 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
495 <libm-alias-ldouble.h>.
496 (sincosl): Define using libm_alias_ldouble.
497 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
498 <libm-alias-ldouble.h>.
499 (sinl): Define using libm_alias_ldouble.
500 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
501 <libm-alias-ldouble.h>.
502 (tanhl): Define using libm_alias_ldouble.
503 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
504 <libm-alias-ldouble.h>.
505 (tanl): Define using libm_alias_ldouble.
506 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
507 <libm-alias-ldouble.h>.
508 (totalorderl): Define using libm_alias_ldouble.
509 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
510 <libm-alias-ldouble.h>.
511 (totalordermagl): Define using libm_alias_ldouble.
512 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
514 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
517 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
519 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
521 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
522 (__libc_ifunc_impl_list): Likewise.
523 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
524 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
526 * benchtests/bench-memmove-walk.c: New file.
527 * benchtests/Makefile (string-benchset): Add it.
529 * benchtests/bench-memset-walk.c: New file.
530 * benchtests/Makefile (string-benchset): Add it.
532 * benchtests/bench-memcpy-walk.c: New file.
533 * benchtests/Makefile (string-benchset): Add it.
535 2017-10-05 Florian Weimer <fweimer@redhat.com>
537 nscd: Eliminate compilation time dependency in the build output.
538 * nscd/nscd_stat.c (STATDATA_VERSION)
539 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
540 (STATDATA_VERSION_FULL): New macro definitions.
541 (compilation): Remove.
542 (struct statdata): Adjust version member.
543 (send_stats): Set version from STATDATA_VERSION_FULL.
544 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
546 2017-10-05 Joseph Myers <joseph@codesourcery.com>
548 * configure.ac (--enable-add-ons): Remove option.
549 (machine): Do not mention add-ons in comment.
550 (LIBC_PRECONFIGURE): Likewise.
551 (add_ons): Remove variable and sanity checks and logic to locate
553 (add_ons_automatic): Remove variable.
554 (configured_add_ons): Likewise.
555 (add_ons_sfx): Likewise.
556 (add_ons_pfx): Likewise.
557 (add_on_subdirs): Likewise.
558 (sysnames_add_ons): Likewise. Remove loop over add-ons and
559 consideration of add-ons in Implies handling.
560 (sysdeps_add_ons): Likewise.
561 * configure: Regenerated.
562 * libidn/configure.ac: Remove.
563 * libidn/configure: Likewise.
564 * sysdeps/unix/inet/configure.ac: New file.
565 * sysdeps/unix/inet/configure: New generated file.
566 * sysdeps/unix/inet/Subdirs: Add libidn.
567 * Makeconfig (sysdeps-srcdirs): Remove variable.
568 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
569 ($(common-objpfx)config.status): Do not depend on add-on files.
570 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
572 (all-subdirs): Do not include $(add-on-subdirs).
573 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
574 * config.make.in (add-ons): Remove variable.
575 (add-on-subdirs): Likewise.
576 (sysdeps-add-ons): Likewise.
577 * manual/Makefile (add-chapters): Remove.
578 ($(objpfx)texis): Do not depend on $(add-chapters).
579 (nonexamples): Do not handle $(add-chapters).
580 (examples): Do not handle $(add-ons).
581 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
583 * manual/install.texi (Installation): Do not mention add-ons.
584 (--enable-add-ons): Do not document configure option.
585 * INSTALL: Regenerated.
586 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
587 * manual/maint.texi (Hierarchy Conventions): Do not mention
589 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
591 * scripts/gen-sorted.awk: Do not handle Subdirs files from
593 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
594 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
596 2017-10-05 Andreas Schwab <schwab@suse.de>
599 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
600 (_IO_flush_all_lockp): Always lock list_all_lock.
601 (_IO_flush_all_linebuffered): Likewise.
602 (_IO_unbuffer_all): Likewise.
604 2017-10-05 Florian Weimer <fweimer@redhat.com>
607 Do not flush stdio streams on abort.
608 * stdlib/abort.c (fflush): Remove macro definition.
609 (abort): Remove stages related to stdio flushing.
611 2017-10-05 Florian Weimer <fweimer@redhat.com>
613 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
615 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
617 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
619 2017-10-05 Florian Weimer <fweimer@redhat.com>
621 * support/support_format_hostent.c (support_format_hostent): Add
622 more error information for NETDB_INTERNAL.
624 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
626 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
627 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
628 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
629 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
630 AC_DEFINE if multi-arch is enabled.
631 * sysdeps/i386/configure: Regenerated.
633 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
635 * Makeconfig (+link-static-before-libc): Use
636 $(DEFAULT-LDFLAGS-$(@F)).
637 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
638 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
639 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
641 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
643 * elf/Makefile (tests): Add tst-main1.
644 (modules-names): Add tst-main1mod.
645 ($(objpfx)tst-main1): New.
646 (CRT-tst-main1): Likewise.
647 (LDFLAGS-tst-main1): Likewise.
648 (LDLIBS-tst-main1): Likewise.
649 (tst-main1mod.so-no-z-defs): Likewise.
650 * elf/tst-main1.c: New file.
651 * elf/tst-main1mod.c: Likewise.
653 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
655 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
657 2017-10-04 Joseph Myers <joseph@codesourcery.com>
659 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
660 (fma): Define using libm_alias_double.
661 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
662 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
664 (fmal): Do not define as compat symbol here.
665 * sysdeps/alpha/fpu/s_fma.c: New file.
667 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
669 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
671 2017-10-04 Joseph Myers <joseph@codesourcery.com>
674 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
676 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
678 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
679 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
680 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
681 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
683 Include <math_ldbl_opt.h>
684 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
686 (compat_symbol): Undefine and redefine.
687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
689 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
690 (compat_symbol): Undefine and redefine.
691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
692 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
693 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
695 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
696 GLIBC_2.0 copysignl symbol.
697 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
698 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
700 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
702 2017-10-04 Florian Weimer <fweimer@redhat.com>
704 * scripts/check-local-headers.sh: Ignore nspr4 header file
705 directory in addition to nspr.
707 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
710 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
711 * configure: Regenerate.
712 * crypt/Makefile (nss-cpp-flags): New variable.
713 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
714 (CPPFLAGS-md5-crypt.c): Use it.
715 * scripts/check-local-headers.sh: Ignore nspr header file
718 2017-10-04 Andreas Schwab <schwab@suse.de>
720 * nis/Makefile (services): Remove compat.
721 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
722 ($(objpfx)libnss_compat.so): Remove rule.
723 * nis/Versions (libnss_compat): Remove.
724 * nss/Makefile (services): Add compat.
725 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
726 * nss/Versions (libnss_compat): Define.
727 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
728 Don't include <rpc/types.h>. Replace bool_t by bool.
729 * nss/nss_compat/compat-initgroups.c: Likewise.
730 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
731 instead of <rpcsrv/ypclnt.h>.
732 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
733 yp_get_default_domain.
734 * nss/nss_compat/compat-pwd.c: Likewise.
735 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
736 yp_get_default_domain.
737 * nss/nss_compat/nisdomain.c: New file.
738 * nss/nss_compat/nisdomain.h: Likewise.
740 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
743 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
744 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
746 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
749 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
750 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
752 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
754 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
755 "movl main@GOTOFF(%ebx), %eax".
757 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
759 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
760 allow undefined _DYNAMIC in PIE libc.a.
761 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
764 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
766 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
769 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
771 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
774 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
776 * math/test-math-iscanonical.cc (error): Replace bool with int.
778 2017-10-03 Joseph Myers <joseph@codesourcery.com>
780 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
781 (modf): Define using libm_alias_double, only if [!__modf].
782 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
783 <libm-alias-double.h>.
784 (modf): Define using libm_alias_double, only if [!__modf].
785 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
788 (weak_alias): Do not undefine and redefine.
789 (strong_alias): Likewise.
790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
791 (weak_alias): Likewise.
792 (strong_alias): Likewise.
794 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
795 (logb): Define using libm_alias_double, only if [!__logb].
796 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
797 <libm-alias-double.h>.
798 (logb): Define using libm_alias_double, only if [!__logb].
799 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
801 (weak_alias): Do not undefine and redefine.
802 (strong_alias): Likewise.
803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
804 (weak_alias): Likewise.
805 (strong_alias): Likewise.
807 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
809 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
810 Check SHARED instead PIC.
812 2017-10-03 Joseph Myers <joseph@codesourcery.com>
814 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
815 [!__fmaf] (fmaf): Define using libm_alias_float.
817 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
818 (frexp): Define using libm_alias_double.
819 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
820 <libm-alias-double.h>.
821 (frexp): Define using libm_alias_double.
822 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
825 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
828 * math/math.h: Trivial fix for unbalanced parentheses in comment.
829 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
830 (CFLAGS-test-math-iscanonical.cc): New variable.
831 * math/test-math-iscanonical.cc: New file.
832 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
833 Provide a C++ implementation based on function overloading,
834 rather than using __MATH_TG, which uses C-only builtins.
835 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
837 * sysdeps/powerpc/powerpc64le/Makefile
838 (CFLAGS-test-math-iscanonical.cc): New variable.
840 2017-10-03 Joseph Myers <joseph@codesourcery.com>
842 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
843 (ceil): Define using libm_alias_double.
844 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
845 (floor): Define using libm_alias_double.
846 * sysdeps/ieee754/dbl-64/s_llround.c: Include
847 <libm-alias-double.h>.
848 (llround): Define using libm_alias_double.
849 * sysdeps/ieee754/dbl-64/s_lround.c: Include
850 <libm-alias-double.h>.
851 (lround): Define using libm_alias_double.
852 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
853 <libm-alias-double.h>.
854 (nearbyint): Define using libm_alias_double.
855 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
856 <libm-alias-double.h>.
857 (remquo): Define using libm_alias_double.
858 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
859 (rint): Define using libm_alias_double.
860 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
861 (round): Define using libm_alias_double.
862 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
863 (trunc): Define using libm_alias_double.
864 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
865 <libm-alias-double.h>.
866 (ceil): Define using libm_alias_double.
867 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
868 <libm-alias-double.h>.
869 (floor): Define using libm_alias_double.
870 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
871 <libm-alias-double.h>.
872 (llround): Define using libm_alias_double.
873 [_LP64] (lround): Likewise.
874 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
875 <libm-alias-double.h>.
876 [!_LP64] (lround): Define using libm_alias_double.
877 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
878 <libm-alias-double.h>.
879 (nearbyint): Define using libm_alias_double.
880 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
881 <libm-alias-double.h>.
882 (remquo): Define using libm_alias_double.
883 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
884 <libm-alias-double.h>.
885 (rint): Define using libm_alias_double.
886 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
887 <libm-alias-double.h>.
888 (round): Define using libm_alias_double.
889 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
890 <libm-alias-double.h>.
891 (trunc): Define using libm_alias_double.
892 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
893 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
894 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
895 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
896 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
897 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
898 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
899 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
900 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
902 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
904 * math/w_remainder.c: New file.
905 * math/w_remainderf.c: New file.
906 * math/w_remainderl.c: New file.
908 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
910 * elf/rtld.c (BOOTSTRAP_MAP): New.
911 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
912 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
914 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
916 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
919 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
921 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
922 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
923 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
924 rtld_hidden_data_ver): Define to empty.
925 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
926 __assert_perror_fail): Likewise.
927 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
928 (__rewinddir): Likewise.
929 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
930 (__profile_frequency): Likewise.
931 * include/setjmp.h (__sigsetjmp): Likewise.
932 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
933 __libc_sigaction): Likewise.
934 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
935 not set hidden attribute.
936 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
937 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
938 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
939 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
940 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
941 __fxstatat64): Likewise.
942 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
944 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
945 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
946 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
947 (NO_RTLD_HIDDEN): Set.
948 * sysdeps/mach/hurd/configure: Refresh.
949 * config.h.in: Refresh.
951 2017-10-02 Joseph Myers <joseph@codesourcery.com>
953 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
954 (atan): Define using libm_alias_double.
955 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
956 (tan): Define using libm_alias_double.
957 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
958 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
960 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
961 define as weak alias of __atan. Do not define any aliases if
963 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
964 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
965 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
966 as weak alias of __tan. Do not define any aliases if [__tan].
967 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
968 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
969 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
971 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
972 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
973 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
974 and define as weak alias of __atan.
975 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
977 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
978 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
979 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
980 define as weak alias of __tan.
982 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
984 * math/w_lgamma.c: New file.
985 * math/w_lgammaf.c: New file.
986 * math/w_lgammal.c: New file.
988 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
990 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
991 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
992 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
993 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
994 * sysdeps/ieee754/flt-32/w_logf.c: New file.
995 * sysdeps/ieee754/flt-32/w_powf.c: New file.
996 * sysdeps/i386/fpu/w_log2f.c: New file.
997 * sysdeps/i386/fpu/w_logf.c: New file.
998 * sysdeps/i386/fpu/w_powf.c: New file.
999 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
1000 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
1001 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
1003 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1004 H.J. Lu <hongjiu.lu@intel.com>
1006 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
1007 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
1008 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
1009 * sysdeps/ieee754/flt-32/w_expf.c: New file.
1010 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
1012 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
1013 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
1014 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
1015 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
1016 * sysdeps/i386/fpu/w_exp2f.c: New file.
1017 * sysdeps/i386/fpu/w_expf.c: New file.
1018 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
1019 * sysdeps/x86_64/fpu/w_expf.c: New file.
1021 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1023 * math/Versions (logf): New libm symbol at GLIBC_2.27.
1026 * math/w_log2f.c: New file.
1027 * math/w_logf.c: New file.
1028 * math/w_powf.c: New file.
1029 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
1030 * math/w_logf_compat.c (__logf_compat): Likewise.
1031 * math/w_powf_compat.c (__powf_compat): Likewise.
1032 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
1033 * sysdeps/ia64/fpu/e_logf.S: Likewise.
1034 * sysdeps/ia64/fpu/e_powf.S: Likewise.
1035 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1036 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1037 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1038 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1039 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1040 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1041 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1042 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1043 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1044 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1045 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1046 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1055 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1056 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1057 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1058 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1059 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1064 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1065 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1066 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1068 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1070 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1071 (sysdep_routines): Add memrchr_power8.
1072 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1073 (memrchr): Add __memrchr_power8 to list of memrchr functions.
1074 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
1076 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
1077 (memrchr): Add __memrchr_power8 to ifunc list.
1078 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
1080 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1083 * sysdeps/unix/sysv/linux/posix_fadvise64.c
1084 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
1086 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1087 (__posix_fallocate64_l64): Likewise.
1089 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1092 * sysdeps/unix/sysv/linux/sched_setaffinity.c
1093 (__sched_setaffinity_new): Add libc_hidden_proto and
1096 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1099 * include/glob.h (__glob64): Add libc_hidden_proto.
1100 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
1103 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1106 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
1109 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1112 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
1114 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1117 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
1120 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1123 * csu/version.c (__libc_print_version): Add attribute_hidden.
1125 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1128 * include/libc-internal.h (__init_misc): Add attribute_hidden.
1130 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1133 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
1135 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1138 * nscd/nscd_helper.c (__nis_hash): New prototype.
1140 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1143 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
1144 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
1146 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1147 * termios/tcgetattr.c (__tcgetattr): Likewise.
1149 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1152 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
1153 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
1154 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
1155 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
1156 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
1158 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1161 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
1163 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1166 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
1167 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
1169 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1172 * intl/hash-string.h (__hash_string): Add attribute_hidden.
1174 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1177 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
1178 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
1180 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1183 * include/ifreq.h: New file.
1184 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
1185 (__ifreq): Likewise.
1186 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
1187 (__ifreq): Likewise.
1189 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1192 * include/idna.h: New file.
1193 * inet/getnameinfo.c: Include <idna.h> instead of
1195 (__idna_to_unicode_lzlz): Removed.
1196 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
1198 (__idna_to_ascii_lz): Removed.
1199 (__idna_to_unicode_lzlz): Likewise.
1201 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1204 * include/plural-exp.h: New file.
1205 * intl/plural-exp.c: Include <plural-exp.h> instead of
1208 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1211 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
1212 "getsourcefilter.h".
1213 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
1214 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
1215 "getsourcefilter.h".
1216 (__get_sol): Removed.
1218 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1221 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
1223 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
1225 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1228 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
1231 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1234 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
1236 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1239 * include/search.h (__tdestroy): Add libc_hidden_proto.
1240 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
1242 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1245 * include/assert.h (__assert_fail_base): Add attribute_hidden.
1247 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1250 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
1253 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1256 * include/signal.h (__kill): Add libc_hidden_proto.
1257 (__sigblock): Likewise.
1258 (__sigprocmask): Likewise.
1259 (__sigaltstack): Likewise.
1260 * signal/kill.c (__kill): Add libc_hidden_def.
1261 * signal/sigblock.c (__sigblock): Likewise.
1262 * signal/sigprocmask.c (__sigprocmask): Likewise.
1263 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1264 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1265 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
1266 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
1267 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
1269 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
1271 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
1272 (__sigprocmask): Likewise.
1273 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
1275 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
1276 (__sigprocmask): Likewise.
1277 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
1280 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1283 * include/string.h (__strsep): Add libc_hidden_proto.
1284 * string/strsep.c (__strsep): Add libc_hidden_def.
1286 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1289 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
1291 (__spawni): Likewise.
1293 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1296 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
1297 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
1300 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1303 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
1305 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1308 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
1309 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
1310 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1311 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
1312 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
1314 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1315 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
1317 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1320 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
1321 (__dcigettext): Likewise.
1323 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1326 * include/sys/sysinfo.h (__get_nprocs_conf): Add
1328 (__get_nprocs): Likewise.
1329 (__get_phys_pages): Likewise.
1330 (__get_avphys_pages): Likewise.
1331 (__get_child_max): Add attribute_hidden.
1332 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
1333 (__get_nprocs): Likewise.
1334 (__get_phys_pages): Likewise.
1335 (__get_avphys_pages): Likewise.
1336 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
1338 (__get_nprocs): Likewise.
1339 (__get_phys_pages): Likewise.
1340 (__get_avphys_pages): Likewise.
1341 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
1343 (__get_nprocs_conf): Likewise.
1344 (__get_phys_pages): Likewise.
1345 (__get_avphys_pages): Likewise.
1347 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1350 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
1352 (__netlink_close): Likewise.
1353 (__netlink_free_handle): Likewise.
1354 (__netlink_request): Likewise.
1356 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1359 * include/rpc/rpc.h (__rpc_thread_variables): Add
1361 (__rpc_thread_svc_cleanup): Likewise.
1362 (__rpc_thread_clnt_cleanup): Likewise.
1363 (__rpc_thread_key_cleanup): Likewise.
1365 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1368 * include/sys/uio.h (__readv): Add libc_hidden_proto.
1369 (__writev): Likewise.
1370 * misc/readv.c (__readv): Add libc_hidden_def.
1371 * misc/writev.c (__writev): Likewise.
1372 * sysdeps/posix/readv.c (__readv): Likewise.
1373 * sysdeps/posix/writev.c (__writev): Likewise.
1374 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
1375 (__readv): Likewise.
1376 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
1377 (__writev): Likewise.
1379 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1382 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
1383 (__regcomp): Add libc_hidden_proto.
1384 (__regexec): Likewise.
1385 (__regfree): Likewise.
1386 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
1387 (__regfree): Likewise.
1388 * posix/regexec.c (__regexec): Likewise.
1390 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1393 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
1394 (__getutent): Likewise.
1395 (__getutid): Likewise.
1396 (__getutline): Likewise.
1397 (__pututline): Likewise.
1398 (__getutent_r): Likewise.
1399 (__getutid_r): Likewise.
1400 (__getutline_r): Likewise.
1401 (__utmpname): Add attribute_hidden.
1402 (__setutent): Likewise.
1403 (__endutent): Likewise.
1404 * login/getutent.c (__getutent): Add libc_hidden_def.
1405 * login/getutent_r.c (__getutent_r): Likewise.
1406 (__pututline): Likewise.
1407 * login/getutid.c (__getutid): Likewise.
1408 * login/getutid_r.c (__getutid_r): Likewise.
1409 * login/getutline.c (__getutline): Likewise.
1410 * login/getutline_r.c (__getutline_r): Likewise.
1411 * login/updwtmp.c (__updwtmp): Likewise.
1413 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1416 * include/dirent.h (__opendir): Always add attribute_hidden.
1417 (__fdopendir): Likewise.
1418 (__closedir): Likewise.
1419 (__readdir): Likewise.
1420 (__readdir64): Add libc_hidden_proto.
1421 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
1422 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
1423 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
1424 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
1427 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1430 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
1431 * include/netdb.h (__gethostbyaddr_r): Likewise.
1432 (__gethostbyname_r): Likewise.
1433 (__gethostbyname2_r): Likewise.
1434 (__getnetbyaddr_r): Likewise.
1435 (__getnetbyname_r): Likewise.
1436 (__getservbyname_r): Likewise.
1437 (__getservbyport_r): Likewise.
1438 (__getprotobyname_r): Likewise.
1439 (__getprotobynumber_r): Likewise.
1440 (__getnetgrent_r): Likewise.
1441 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
1442 (__getrpcbynumber_r): Likewise.
1443 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
1445 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1448 * include/stdio.h (__fcloseall): Add attribute_hidden.
1449 (__getline): Likewise.
1450 (__path_search): Likewise.
1451 (__gen_tempname): Likewise.
1452 (__libc_message): Likewise.
1453 (__flockfile): Likewise.
1454 (__funlockfile): Likewise.
1455 (__fxprintf): Likewise.
1456 (__fxprintf_nocancel): Likewise.
1458 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1461 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
1462 (__sgetsgent_r): Likewise.
1464 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1467 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
1468 (__statfs64): Likewise.
1469 (__fstatfs64): Likewise.
1470 * include/sys/statvfs.h (__statvfs64): Likewise.
1471 (__fstatvfs64): Likewise.
1472 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
1473 (__statfs_filesize_max): Likewise.
1474 (__statfs_symlinks): Likewise.
1475 (__statfs_chown_restricted): Likewise.
1477 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1480 * include/time.h (__tzstring): Add attribute_hidden.
1481 (__tzfile_read): Likewise.
1482 (__tzfile_compute): Likewise.
1483 (__tzfile_default): Likewise.
1484 (__tzset_parse_tz): Likewise.
1485 (__offtime): Likewise.
1486 (__asctime_r): Likewise.
1487 (__tzset): Likewise.
1488 (__tz_convert): Likewise.
1489 (__getdate_r): Likewise.
1490 (__getclktck): Likewise.
1492 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1495 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
1496 (__nscd_unmap): Likewise.
1497 (__nscd_cache_search): Likewise.
1498 (__nscd_get_nl_timestamp): Likewise.
1499 (__nscd_getpwnam_r): Likewise.
1500 (__nscd_getpwuid_r): Likewise.
1501 (__nscd_getgrnam_r): Likewise.
1502 (__nscd_getgrgid_r): Likewise.
1503 (__nscd_gethostbyname_r): Likewise.
1504 (__nscd_gethostbyname2_r): Likewise.
1505 (__nscd_gethostbyaddr_r): Likewise.
1506 (__nscd_getai): Likewise.
1507 (__nscd_getgrouplist): Likewise.
1508 (__nscd_getservbyname_r): Likewise.
1509 (__nscd_getservbyport_r): Likewise.
1510 (__nscd_innetgr): Likewise.
1511 (__nscd_setnetgrent): Likewise.
1513 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1516 * include/gmp.h: Declare internal functions only if _ISOMAC is
1518 (__mpn_extract_double): Add attribute_hidden.
1519 (__mpn_extract_long_double): Likewise.
1520 (__mpn_extract_float128): Likewise.
1521 (__mpn_construct_float): Likewise.
1522 (__mpn_construct_double): Likewise.
1523 (__mpn_construct_long_double): Likewise.
1524 (__mpn_construct_float128): Likewise.
1525 (mpn_add_1): Likewise.
1526 (mpn_addmul_1): Likewise.
1527 (mpn_add_n): Likewise.
1528 (mpn_cmp): Likewise.
1529 (mpn_divrem): Likewise.
1530 (mpn_lshift): Likewise.
1531 (mpn_mul): Likewise.
1532 (mpn_mul_1): Likewise.
1533 (mpn_rshift): Likewise.
1534 (mpn_sub_1): Likewise.
1535 (mpn_submul_1): Likewise.
1536 (mpn_sub_n): Likewise.
1538 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1541 * include/wchar.h (__wcsnlen): Add attribute_hidden.
1542 (__wcscat): Likewise.
1543 (__btowc): Likewise.
1544 (__wcrtomb): Likewise.
1545 (__mbsrtowcs): Likewise.
1546 (__wcsrtombs): Likewise.
1547 (__mbsnrtowcs): Likewise.
1548 (__wcsnrtombs): Likewise.
1549 (__wcsncpy): Likewise.
1550 (__wcpncpy): Likewise.
1551 (__wmemcpy): Likewise.
1552 (__wmempcpy): Likewise.
1553 (__wmemmove): Likewise.
1554 (__wcschrnul): Likewise.
1555 (__vfwscanf): Likewise.
1556 (__vswprintf): Likewise.
1557 (__fwprintf): Likewise.
1558 (__vfwprintf): Likewise.
1560 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1563 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
1564 (__getgrgid_r): Likewise.
1565 (__getgrnam_r): Likewise.
1566 * include/pwd.h (__getpwuid_r): Likewise.
1567 (__getpwnam_r): Likewise.
1568 (__fgetpwent_r): Likewise.
1569 * include/shadow.h (__getspnam_r): Likewise.
1570 (__sgetspent_r): Likewise.
1571 (__fgetspent_r): Likewise.
1573 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1576 * include/unistd.h (__access): Add attribute_hidden.
1577 (__lseek64): Likewise.
1578 (__libc_pread64): Likewise.
1579 (__pipe2): Likewise.
1580 (__sleep): Likewise.
1581 (__chdir): Likewise.
1582 (__fchdir): Likewise.
1583 (__getcwd): Likewise.
1584 (__rmdir): Likewise.
1585 (__execvpe): Likewise.
1586 (__execve): Likewise.
1587 (__setsid): Likewise.
1588 (__getuid): Likewise.
1589 (__geteuid): Likewise.
1590 (__getgid): Likewise.
1591 (__getegid): Likewise.
1592 (__getgroups): Likewise.
1593 (__group_member): Likewise.
1594 (__ttyname_r): Likewise.
1595 (__isatty): Likewise.
1596 (__readlink): Likewise.
1597 (__unlink): Likewise.
1598 (__gethostname): Likewise.
1599 (__profil): Likewise.
1600 (__getdtablesize): Likewise.
1602 (__ftruncate): Likewise.
1603 (__ftruncate64): Likewise.
1605 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1608 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
1609 * argp/argp-fs-xinl.c: Likewise.
1610 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
1611 * argp/argp-parse.c: Include <argp.h>.
1612 * argp/argp-xinl.c: Likewise.
1613 * include/argp-fmtstream.h: New file.
1614 * include/argp.h (__argp_error): Add attribute_hidden.
1615 (__argp_failure): Likewise.
1616 (__argp_input): Likewise.
1617 (__argp_state_help): Likewise.
1619 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1622 * include/wchar.h (____wcstof_l_internal): New prototype.
1623 (____wcstod_l_internal): Likewise.
1624 (____wcstold_l_internal): Likewise.
1625 (____wcstol_l_internal): Likewise.
1626 (____wcstoul_l_internal): Likewise.
1627 (____wcstoll_l_internal): Likewise.
1628 (____wcstoull_l_internal): Likewise.
1629 (____wcstof128_l_internal): Likewise.
1630 * sysdeps/ieee754/float128/wcstof128.c
1631 (____wcstof128_l_internal): Removed.
1632 * sysdeps/ieee754/float128/wcstof128_l.c
1633 (____wcstof128_l_internal): Likewise.
1634 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
1635 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
1636 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
1637 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
1638 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
1639 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
1640 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
1641 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
1642 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
1643 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
1645 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1648 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
1649 instead of <sys/statvfs.h>.
1650 (__internal_statvfs): Removed.
1651 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
1652 instead of <sys/statvfs.h>.
1653 (__internal_statvfs64): Removed.
1654 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
1655 "internal_statvfs.h" instead of <sys/statvfs.h>.
1656 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
1657 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
1658 instead of <sys/statvfs.h>.
1659 (__internal_statvfs): Removed.
1660 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
1661 instead of <sys/statvfs.h>.
1662 (__internal_statvfs64): Removed.
1664 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1667 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
1668 (__gconv_close): Likewise.
1669 (__gconv): Likewise.
1670 (__gconv_find_transform): Likewise.
1671 (__gconv_lookup_cache): Likewise.
1672 (__gconv_compare_alias_cache): Likewise.
1673 (__gconv_load_cache): Likewise.
1674 (__gconv_get_path): Likewise.
1675 (__gconv_close_transform): Likewise.
1676 (__gconv_release_cache): Likewise.
1677 (__gconv_find_shlib): Likewise.
1678 (__gconv_release_shlib): Likewise.
1679 (__gconv_get_builtin_trans): Likewise.
1680 (__gconv_compare_alias): Likewise.
1681 * include/dlfcn.h (_dlerror_run): Likewise.
1682 * include/stdio.h (__fortify_fail_abort): Likewise.
1683 * include/time.h (__tz_compute): Likewise.
1684 (__strptime_internal): Likewise.
1685 * intl/gettextP.h (_nl_find_domain): Likewise.
1686 (_nl_load_domain): Likewise.
1687 (_nl_find_msg): Likewise.
1688 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
1689 (EXTRACT_PLURAL_EXPRESSION): Likewise.
1690 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
1691 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
1692 (__gai_find_request): Likewise.
1693 (__gai_remove_request): Likewise.
1694 (__gai_notify): Likewise.
1695 (__gai_notify_only): Likewise.
1696 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
1697 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
1698 (_dl_non_dynamic_init): Likewise.
1699 (_dl_aux_init): Likewise.
1700 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
1701 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
1703 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
1704 (__wcsmbs_clone_conv): Likewise.
1705 (__wcsmbs_named_conv): Likewise.
1707 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1710 * include/stdlib.h (__random): Add attribute_hidden.
1711 (__random_r): Likewise.
1712 (__srandom_r): Likewise.
1713 (__initstate_r): Likewise.
1714 (__setstate_r): Likewise.
1715 (__erand48_r): Likewise.
1716 (__nrand48_r): Likewise.
1717 (__jrand48_r): Likewise.
1718 (__srand48_r): Likewise.
1719 (__seed48_r): Likewise.
1720 (__lcong48_r): Likewise.
1721 (__drand48_iterate): Likewise.
1722 (__setenv): Likewise.
1723 (__unsetenv): Likewise.
1724 (__clearenv): Likewise.
1725 (__ptsname_r): Likewise.
1726 (__posix_openpt): Likewise.
1727 (__add_to_environ): Likewise.
1728 (__realpath): Add libc_hidden_proto.
1729 (__ecvt_r): Likewise.
1730 (__fcvt_r): Likewise.
1731 (__qecvt_r): Likewise.
1732 (__qfcvt_r): Likewise.
1733 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
1734 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
1736 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1739 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
1740 * include/time.h (__mktime_internal): Likewise.
1741 * libio/iolibio.h (__fopen_internal): Likewise.
1743 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
1745 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
1747 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
1748 Correct offset used to restore PIC register.
1750 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
1753 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
1754 code to load address of __getcontext_ret when generating PIC code.
1756 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
1758 * elf/Makefile (tests-static-internal): Add
1759 tst-tls1-static-non-pie.
1760 (LDFLAGS-tst-tls1-static-non-pie): New.
1761 * elf/tst-tls1-static-non-pie.c: New file.
1763 2017-09-29 Joseph Myers <joseph@codesourcery.com>
1765 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
1766 (asinh): Define using libm_alias_double.
1767 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
1768 (cbrt): Define using libm_alias_double.
1769 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
1770 <libm-alias-double.h>.
1771 (copysign): Define using libm_alias_double.
1772 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
1773 (erf): Define using libm_alias_double.
1775 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
1776 (expm1): Define using libm_alias_double.
1777 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
1778 (fabs): Define using libm_alias_double.
1779 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
1781 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
1782 <libm-alias-double.h>.
1783 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
1785 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
1786 <libm-alias-double.h>.
1787 (getpayload): Define using libm_alias_double.
1788 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
1789 <libm-alias-double.h>.
1790 (llrint): Define using libm_alias_double.
1791 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
1792 (lrint): Define using libm_alias_double.
1793 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
1794 <libm-alias-double.h>.
1795 (nextup): Define using libm_alias_double.
1796 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
1797 <libm-alias-double.h>.
1798 (roundeven): Define using libm_alias_double.
1799 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
1801 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
1802 <libm-alias-double.h>.
1803 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
1804 using libm_alias_double.
1805 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
1806 (cos): Define using libm_alias_double.
1808 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
1809 <libm-alias-double.h>.
1810 (sincos): Define using libm_alias_double.
1811 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
1812 (tanh): Define using libm_alias_double.
1813 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
1814 <libm-alias-double.h>.
1815 (totalorder): Define using libm_alias_double.
1816 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1817 <libm-alias-double.h>.
1818 (totalordermag): Define using libm_alias_double.
1819 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
1821 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
1823 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
1824 <libm-alias-double.h>.
1825 (getpayload): Define using libm_alias_double.
1826 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
1827 <libm-alias-double.h>.
1828 (roundeven): Define using libm_alias_double.
1829 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
1830 <libm-alias-double.h>.
1831 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1832 <libm-alias-double.h>.
1833 (totalorder): Define using libm_alias_double.
1834 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1835 <libm-alias-double.h>.
1836 (totalordermag): Define using libm_alias_double.
1837 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
1838 libc compat symbol here.
1839 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
1840 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
1841 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
1842 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
1843 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
1844 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
1845 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
1846 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
1847 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
1848 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
1850 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
1852 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
1853 _dl_relocate_static_pie instead of _dl_start to compute load
1854 address in static PIE. Return 0 if _DYNAMIC is undefined for
1857 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
1859 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
1860 _DYNAMIC is undefined for static executable.
1862 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
1864 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
1866 2017-09-29 Joseph Myers <joseph@codesourcery.com>
1868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1870 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
1872 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
1873 (__ieee754_lgamma_r): Use fabs rather than __fabs.
1874 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
1875 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1876 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1877 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
1878 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
1879 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
1880 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
1881 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
1882 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
1883 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
1884 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
1885 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
1886 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1887 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1888 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
1890 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
1892 * math/bits/cmathcalls.h (cimag): Remove inline.
1893 (creal): Remove inline.
1894 (conj): Remove inline.
1896 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
1898 * math/Makefile (type-float-routines): Add e_powf_log2_data.
1899 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
1900 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
1901 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
1902 (issignalingf_inline): Likewise.
1903 (POWF_LOG2_TABLE_BITS): Likewise.
1904 (POWF_LOG2_POLY_ORDER): Likewise.
1905 (POWF_SCALE_BITS): Likewise.
1906 (POWF_SCALE): Likewise.
1907 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
1908 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
1909 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
1911 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
1913 * math/Makefile (type-float-routines): Add e_log2f_data.
1914 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
1915 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
1916 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
1917 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
1918 * sysdeps/i386/fpu/e_log2f_data.c: New file.
1919 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
1920 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
1922 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
1924 * math/Makefile (type-float-routines): Add e_logf_data.
1925 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
1926 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
1927 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
1928 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
1929 * sysdeps/i386/fpu/e_logf_data.c: New file.
1930 * sysdeps/ia64/fpu/e_logf_data.c: New file.
1931 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
1933 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
1935 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
1936 undefined _DYNAMIC in PIE libc.a.
1937 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
1940 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
1942 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
1943 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
1944 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
1945 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
1946 (__signbit): Remove.
1947 (__signbitl): Remove.
1948 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
1949 (__signbit): Remove.
1950 (__signbitl): Remove.
1951 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
1952 (__signbit): Remove.
1953 (__signbitl): Remove.
1954 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
1955 (__signbit): Remove.
1956 (__signbitl): Remove.
1957 * sysdeps/tile/bits/mathinline.h: Delete file.
1958 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
1959 (__signbit): Remove.
1960 (__signbitl): Remove.
1962 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
1964 * math/math.h: Improve handling of C99 isgreater macros.
1965 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
1966 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
1967 * sysdeps/powerpc/bits/mathinline.h: Likewise.
1968 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
1969 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
1971 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
1973 * sysdeps/aarch64/libm-test-ulps: Update.
1975 2017-09-28 Joseph Myers <joseph@codesourcery.com>
1978 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1979 math_opt_barrier on argument when doing arithmetic on it.
1980 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1981 Likewise. Use math_force_eval not math_opt_barrier after
1983 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
1984 math_opt_barrier on argument when doing arithmetic on it.
1985 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1988 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
1990 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
1992 (__freeifaddrs): Likewise.
1994 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1996 * include/dirent.h (__dirfd): New declaration.
1997 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
1999 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
2000 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
2001 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
2002 * include/unistd.h (__revoke): New declaration.
2003 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
2005 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
2006 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
2008 * include/dirent.h (__seekdir): New declaration.
2009 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
2010 redefine as weak alias.
2011 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
2013 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
2014 and use libc_hidden_def on them.
2015 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
2017 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
2018 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
2019 instead of getifaddrs and freeifaddrs.
2021 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
2024 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
2025 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
2026 (__dso_handle): Remove declaration.
2027 * dlfcn/tstatexit.c (__dso_handle): Removed.
2028 (main): Don't check __dso_handle.
2029 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
2030 (main): Don't check __dso_handle.
2031 * include/dso_handle.h: New file.
2032 * malloc/mtrace.c: Include <dso_handle.h>.
2033 (mtrace): Pass __dso_handle directly.
2034 * nptl/pthread_atfork.c: Include <dso_handle.h>.
2035 (__dso_handle): Remove declaration.
2036 (__pthread_atfork): Pass __dso_handle directly.
2037 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
2038 (__dso_handle): Removed.
2039 * posix/wordexp-test.c: Include <dso_handle.h>.
2040 (__dso_handle): Remove declaration.
2041 (__app_register_atfork): Pass __dso_handle directly.
2042 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
2043 (__dso_handle): Remove declaration.
2044 (at_quick_exit): Pass __dso_handle directly.
2045 * stdlib/atexit.c: Include <dso_handle.h>.
2046 (__dso_handle): Remove declaration.
2047 (atexit): Pass __dso_handle directly.
2048 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
2049 (__dso_handle): Removed.
2051 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2053 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
2056 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
2058 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
2059 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
2060 values to correct default value for given type.
2062 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
2065 * elf/Makefile (tests): Add tst-debug1.
2066 ($(objpfx)tst-debug1): New.
2067 ($(objpfx)tst-debug1.out): Likewise.
2068 ($(objpfx)tst-debug1mod1.so): Likewise.
2069 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
2071 * elf/tst-debug1.c: New file.
2073 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2075 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
2076 Define using __ifunc.
2078 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2080 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
2083 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2086 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
2088 2017-09-26 Florian Weimer <fweimer@redhat.com>
2090 * resolv/Makefile (tests-internal): Fix typo in comment.
2092 2017-09-26 Florian Weimer <fweimer@redhat.com>
2094 * resolv/nss_dns/dns-host.c: Fix typo in comment.
2096 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2098 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
2099 Use an union instead of a max_align_t array for __space,
2100 so that __space is the same size on all platforms.
2101 * malloc/scratch_buffer_grow_preserve.c
2102 (__libc_scratch_buffer_grow_preserve): Likewise.
2105 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
2107 * posix/Makefile (routines): Add glob-lstat-compat and
2108 glob64-lstat-compat.
2109 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
2110 * posix/glob-lstat-compat.c: New file.
2111 * posix/glob64-lstat-compat.c: Likewise.
2112 * posix/tst-glob_lstat_compat.c: Likewise.
2113 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
2114 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
2115 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
2116 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
2118 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
2119 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
2120 * posix/glob.c (glob_lstat): New function.
2121 (glob): Rename to __glob and add versioned symbol to 2.27.
2122 (glob_in_dir): Use glob_lstat.
2123 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
2124 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2125 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
2127 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
2128 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
2129 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
2130 gl_lstat on glob call.
2131 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
2133 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2134 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2135 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2136 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2137 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2138 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2139 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2140 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2141 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2142 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2143 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2144 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2147 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2149 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2150 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2151 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2152 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2153 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2156 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2157 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2158 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2160 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
2162 * configure.ac (AS): Require binutils 2.25 or later.
2163 * configure: Regenerated.
2165 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
2168 * stdlib/test-atexit-race-common.c (do_test): Minimize required
2171 2017-09-25 DJ Delorie <dj@redhat.com>
2174 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
2177 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2179 * sysdeps/ieee754/dbl-64/sincos32.h
2180 [SINCCOS32_H]: Remove define.
2181 [SINCOS32_H]: Define.
2183 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2185 * math/Versions (expf): New libm symbol at GLIBC_2.27.
2187 * math/w_exp2f.c: New file.
2188 * math/w_expf.c: New file.
2189 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
2190 * math/w_expf_compat.c (__expf_compat): Likewise.
2191 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
2192 * sysdeps/ia64/fpu/e_expf.S: Likewise.
2193 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
2194 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2195 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2196 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2197 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2198 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2199 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2200 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2201 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2202 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2203 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2204 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2213 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2214 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2215 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2216 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2217 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2218 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2220 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2222 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2223 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2224 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2226 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2228 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
2229 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
2230 (roundtoint, converttoint): Likewise.
2231 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
2232 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
2233 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
2234 * sysdeps/ieee754/flt-32/math_config.h: New file.
2235 * sysdeps/ieee754/flt-32/math_errf.c: New file.
2236 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
2237 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
2238 * sysdeps/i386/fpu/math_errf.c: New file.
2239 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
2240 * sysdeps/ia64/fpu/math_errf.c: New file.
2241 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
2242 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
2244 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2246 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
2247 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
2248 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
2249 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
2250 to make sure that these symbols are defined.
2251 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
2253 (__need_NULL): Do not define.
2254 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
2256 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
2257 CMGROUP_MAX, cmsgcred): Do not define.
2258 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
2260 * bits/socket.h: Likewise.
2261 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
2262 __gettimeofday instead of gettimeofday.
2263 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
2264 instead of settimeofday.
2266 2017-09-22 Joseph Myers <joseph@codesourcery.com>
2268 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
2269 (asinhf): Define using libm_alias_float.
2270 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
2271 (atanf): Define using libm_alias_float.
2272 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
2273 (cbrtf): Define using libm_alias_float.
2274 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
2275 (ceilf): Define using libm_alias_float.
2276 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
2277 <libm-alias-float.h>.
2278 (copysignf): Define using libm_alias_float.
2279 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
2280 (cosf): Define using libm_alias_float.
2281 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
2282 (erff): Define using libm_alias_float.
2284 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
2285 (expm1f): Define using libm_alias_float.
2286 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
2287 (fabsf): Define using libm_alias_float.
2288 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
2289 (floorf): Define using libm_alias_float.
2290 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
2291 (frexpf): Define using libm_alias_float.
2292 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
2294 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
2295 <libm-alias-float.h>.
2296 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
2298 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
2299 <libm-alias-float.h>.
2300 (getpayloadf): Define using libm_alias_float.
2301 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
2302 <libm-alias-float.h>.
2303 (llrintf): Define using libm_alias_float.
2304 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
2305 <libm-alias-float.h>.
2306 (llroundf): Define using libm_alias_float.
2307 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
2308 (logbf): Define using libm_alias_float.
2309 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
2310 (lrintf): Define using libm_alias_float.
2311 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
2312 (lroundf): Define using libm_alias_float.
2313 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
2314 (modff): Define using libm_alias_float.
2315 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
2316 <libm-alias-float.h>.
2317 (nearbyintf): Define using libm_alias_float.
2318 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
2319 <libm-alias-float.h>.
2320 (nextafterf): Define using libm_alias_float.
2321 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
2322 <libm-alias-float.h>.
2323 (nextupf): Define using libm_alias_float.
2324 * sysdeps/ieee754/flt-32/s_remquof.c: Include
2325 <libm-alias-float.h>.
2326 (remquof): Define using libm_alias_float.
2327 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
2328 (rintf): Define using libm_alias_float.
2329 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
2330 <libm-alias-float.h>.
2331 (roundevenf): Define using libm_alias_float.
2332 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
2333 (roundf): Define using libm_alias_float.
2334 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
2335 using libm_alias_float.
2336 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
2337 <libm-alias-float.h>.
2338 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
2339 Define using libm_alias_float.
2340 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
2341 <libm-alias-float.h>.
2342 (sincosf): Define using libm_alias_float.
2343 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
2344 (sinf): Define using libm_alias_float.
2345 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
2346 (tanf): Define using libm_alias_float.
2347 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
2348 (tanhf): Define using libm_alias_float.
2349 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
2350 <libm-alias-float.h>.
2351 (totalorderf): Define using libm_alias_float.
2352 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
2353 <libm-alias-float.h>.
2354 (totalordermagf): Define using libm_alias_float.
2355 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
2356 (truncf): Define using libm_alias_float.
2357 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
2359 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
2362 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2365 math/math.h: Let fpclassify use the builtin in C++ mode, even
2366 when optimazing for size.
2368 2017-09-22 Joseph Myers <joseph@codesourcery.com>
2370 * csu/Makefile (generated): Do not add version-info.h.
2371 (before-compile): Likewise.
2372 (all-Banner-files): Remove variable.
2373 ($(objpfx)version-info.h): Remove rule.
2374 * csu/version.c (banner): Do not include "version-info.h".
2375 * libidn/Banner: Remove.
2376 * manual/contrib.texi (Simon Josefsson): New entry.
2378 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2380 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2381 Remove conditionals on LDBL_MANT_DIG.
2382 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
2383 (__ieee754_lgammal_r): Likewise.
2385 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2387 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
2389 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
2390 _Float128 and L(). Replace _Float128 with long double and L(x)
2391 with xL, throughout the file.
2392 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2393 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2394 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2395 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
2397 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2399 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
2400 sysdeps/ieee754/ldbl-128ibm.
2401 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
2402 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
2403 of including it. Keep _Float128 and L() intact. These will be
2404 reviewed by a separate patch.
2405 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2406 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2407 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2408 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
2410 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
2413 (__finitef128): Define to __redirect___finitef128.
2414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
2415 (__isinff128): Define to __redirect___isinff128.
2416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
2417 (__isnanf128): Define to __redirect___isnanf128.
2419 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2421 * sysdeps/powerpc/powerpc64le/Makefile
2422 (CFLAGS-tst-strtod-nan-locale.c): New variable.
2423 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
2425 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
2426 Carlos O'Donell <carlos@redhat.com>
2429 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
2430 * stdlib/test-dlclose-exit-race.c: New file.
2431 * stdlib/test-dlclose-exit-race-helper.c: New file.
2432 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
2434 2017-09-21 Joseph Myers <joseph@codesourcery.com>
2436 * crypt/Banner: Remove file.
2437 * nptl/Banner: Likewise.
2438 * resolv/Banner: Likewise.
2439 * soft-fp/Banner: Likewise.
2440 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
2441 ($(objpfx)version.d): Remove dependency on banner.h.
2442 ($(objpfx)version.os): Likewise.
2443 * nptl/version.c (banner): Do not include banner.h.
2444 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
2445 Jelinek and BIND code.
2447 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
2448 Carlos O'Donell <carlos@redhat.com>
2450 * support/xdlfcn.h: New file.
2451 * support/xdlfcn.c: New file.
2452 * support/Makefile (libsupport-routines): Add xdlfcn.
2453 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
2455 2017-09-20 Joseph Myers <joseph@codesourcery.com>
2458 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2459 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
2460 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
2461 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
2462 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
2463 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
2464 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
2465 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
2467 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
2468 Ricky Zhou <rickyz@google.com>
2469 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
2472 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
2474 (__new_exitfn): Fail registration when we finished at_exit processing.
2475 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
2476 * stdlib/on_exit.c (__on_exit): Likewise.
2477 * stdlib/exit.c (__exit_funcs_done): New variable.
2478 (__run_exit_handlers): Use __exit_funcs_lock.
2479 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
2481 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
2482 (test-cxa_atexit-race, test-on_exit-race): New tests.
2483 * stdlib/test-atexit-race-common.c: New file.
2484 * stdlib/test-atexit-race.c: New file.
2485 * stdlib/test-at_quick_exit-race.c: New file.
2486 * stdlib/test-cxa_atexit-race.c: New file.
2487 * stdlib/test-on_exit-race.c: New file.
2489 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
2491 * benchtests/Makefile: Add exp2f and log2f benchmarks.
2492 * benchtests/exp2f-inputs: Copy of expf-inputs.
2493 * benchtests/log2f-inputs: Copy of logf-inputs.
2495 2017-09-19 Joseph Myers <joseph@codesourcery.com>
2497 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
2498 Explicitly take address of first element of array arguments in
2499 call to INLINE_SYSCALL.
2501 2017-09-19 Andreas Schwab <schwab@suse.de>
2504 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
2506 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
2508 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
2509 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
2510 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2511 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
2512 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2513 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
2514 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2515 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
2516 * posix/Makefile (tests): Add tst-fexecve.
2517 * posix/tst-fexecve.c: New file.
2519 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
2521 * benchtests/Makefile: Add logf benchmark.
2522 * benchtests/logf-inputs: Add reduced trace from wrf_r.
2524 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
2526 * benchtests/Makefile: Add expf benchmark.
2527 * benchtests/expf-inputs: Add reduced trace from wrf_r.
2529 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
2531 * csu/Makefile: Add -funwind-tables to libc-start.c.
2532 * debug/Makefile: Add -funwind-tables to backtrace.c.
2533 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
2534 * sysdeps/arm/Makefile: Likewise.
2535 * sysdeps/i386/Makefile: Likewise.
2536 * sysdeps/m68k/Makefile: Likewise.
2537 * sysdeps/mips/Makefile: Likewise.
2538 * sysdeps/nios2/Makefile: Likewise.
2539 * sysdeps/sh/Makefile: Likewise.
2540 * sysdeps/sparc/Makefile: Likewise.
2542 2017-09-19 Joseph Myers <joseph@codesourcery.com>
2544 * benchtests/Makefile (bench-math): Add trunc and truncf.
2545 (CFLAGS-bench-trunc.c): New variable.
2546 (CFLAGS-bench-truncf.c): Likewise.
2547 * benchtests/trunc-inputs: New file.
2548 * benchtests/truncf-inputs: Likewise.
2550 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2552 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
2554 2017-09-18 Joseph Myers <joseph@codesourcery.com>
2556 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
2557 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
2559 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
2560 (exp10l): Define as weak alias.
2561 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
2562 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
2564 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
2565 (remainderl): Define as weak alias.
2567 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
2568 (fmal): Define using libm_alias_ldouble.
2569 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
2570 (acoshl): Define using libm_alias_ldouble.
2571 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
2572 (acosl): Define using libm_alias_ldouble.
2573 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
2574 (asinl): Define using libm_alias_ldouble.
2575 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
2576 (atan2l): Define using libm_alias_ldouble.
2577 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
2578 (atanhl): Define using libm_alias_ldouble.
2579 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
2580 (coshl): Define using libm_alias_ldouble.
2581 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
2582 (exp10l): Define using libm_alias_ldouble.
2583 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
2584 (exp2l): Define using libm_alias_ldouble.
2585 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
2586 (expl): Define using libm_alias_ldouble.
2587 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
2588 (fmodl): Define using libm_alias_ldouble.
2589 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
2590 (hypotl): Define using libm_alias_ldouble.
2591 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
2592 (j0l): Define using libm_alias_ldouble.
2594 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
2595 (j1l): Define using libm_alias_ldouble.
2597 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
2598 (jnl): Define using libm_alias_ldouble.
2600 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
2601 (log10l): Define using libm_alias_ldouble.
2602 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
2603 (log2l): Define using libm_alias_ldouble.
2604 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
2605 (logl): Define using libm_alias_ldouble.
2606 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
2607 (powl): Define using libm_alias_ldouble.
2608 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
2609 (remainderl): Define using libm_alias_ldouble.
2610 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
2611 (sinhl): Define using libm_alias_ldouble.
2612 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
2613 (sqrtl): Define using libm_alias_ldouble.
2614 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
2615 (tgammal): Define using libm_alias_ldouble.
2616 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
2617 (exp10l): Do not use long_double_symbol here.
2618 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
2619 [LIBM_SVID_COMPAT] (remainderl): Likewise.
2620 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
2621 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
2622 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
2623 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
2624 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
2625 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
2626 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
2627 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
2628 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
2629 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
2630 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
2631 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
2632 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
2633 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
2634 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
2635 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
2636 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
2637 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
2638 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
2639 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
2641 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
2643 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
2644 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
2646 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
2648 * io/read.c (read): Add libc_hidden_weak.
2649 * sysdeps/mach/hurd/read.c (read): Likewise.
2650 * io/write.c (write): Likewise.
2651 * sysdeps/mach/hurd/write.c (write): Likewise.
2652 * io/pread64.c (__pread64): Likewise.
2653 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
2654 * posix/pread64.c (__pread64): Add libc_hidden_def.
2656 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
2658 * benchtests/scripts/compare_strings.py: New option -g.
2659 (draw_graph): Print a message that a graph is being generated.
2660 (process_results): Generate graph only if -g is passed.
2661 (main): Process option -g.
2663 * benchtests/scripts/compare_strings.py (process_results):
2664 Better spacing for output.
2666 * benchtests/scripts/compare_strings.py: Use argparse.
2667 * benchtests/README: Document existence of compare_strings.py.
2669 2017-09-15 Joseph Myers <joseph@codesourcery.com>
2671 * math/s_fma.c: Include <libm-alias-double.h>.
2672 (fma): Define using libm_alias_double.
2673 * math/s_nextafter.c: Include <libm-alias-double.h>.
2674 (nextafter): Define using libm_alias_double.
2675 * math/w_acos_compat.c: Include <libm-alias-double.h>.
2676 (acos): Define using libm_alias_double.
2677 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
2678 (aocsh): Define using libm_alias_double.
2679 * math/w_asin_compat.c: Include <libm-alias-double.h>.
2680 (asin): Define using libm_alias_double.
2681 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
2682 (atan2): Define using libm_alias_double.
2683 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
2684 (atanh): Define using libm_alias_double.
2685 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
2686 (cosh): Define using libm_alias_double.
2687 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
2688 (exp10): Define using libm_alias_double.
2689 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
2690 (exp2): Define using libm_alias_double.
2691 * math/w_exp_compat.c: Include <libm-alias-double.h>.
2692 (exp): Define using libm_alias_double.
2693 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
2694 (fmod): Define using libm_alias_double.
2695 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
2696 (hypot): Define using libm_alias_double.
2697 * math/w_j0_compat.c: Include <libm-alias-double.h>.
2698 (j0): Define using libm_alias_double.
2700 * math/w_j1_compat.c: Include <libm-alias-double.h>.
2701 (j1): Define using libm_alias_double.
2703 * math/w_jn_compat.c: Include <libm-alias-double.h>.
2704 (jn): Define using libm_alias_double.
2706 * math/w_log10_compat.c: Include <libm-alias-double.h>.
2707 (log10): Define using libm_alias_double.
2708 * math/w_log2_compat.c: Include <libm-alias-double.h>.
2709 (log2): Define using libm_alias_double.
2710 * math/w_log_compat.c: Include <libm-alias-double.h>.
2711 (log): Define using libm_alias_double.
2712 * math/w_pow_compat.c: Include <libm-alias-double.h>.
2713 (pow): Define using libm_alias_double.
2714 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
2715 (remainder): Define using libm_alias_double.
2716 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
2717 (sinh): Define using libm_alias_double.
2718 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
2719 (sqrt): Define using libm_alias_double.
2720 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
2721 (tgamma): Define using libm_alias_double.
2722 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
2723 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
2724 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
2725 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
2726 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
2727 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
2728 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
2729 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
2730 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
2731 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
2732 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
2733 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
2734 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
2735 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
2736 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
2737 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
2738 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
2739 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
2740 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
2741 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
2742 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
2743 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
2744 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
2745 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
2746 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
2748 * math/e_acoshl.c: Remove.
2749 * math/e_acosl.c: Likewise.
2750 * math/e_asinl.c: Likewise.
2751 * math/e_atan2l.c: Likewise.
2752 * math/e_atanhl.c: Likewise.
2753 * math/e_coshl.c: Likewise.
2754 * math/e_expl.c: Likewise.
2755 * math/e_fmodl.c: Likewise.
2756 * math/e_gammal_r.c: Likewise.
2757 * math/e_hypotl.c: Likewise.
2758 * math/e_j0l.c: Likewise.
2759 * math/e_j1l.c: Likewise.
2760 * math/e_jnl.c: Likewise.
2761 * math/e_lgammal_r.c: Likewise.
2762 * math/e_log10l.c: Likewise.
2763 * math/e_log2l.c: Likewise.
2764 * math/e_logl.c: Likewise.
2765 * math/e_powl.c: Likewise.
2766 * math/e_rem_pio2l.c: Likewise.
2767 * math/e_sinhl.c: Likewise.
2768 * math/e_sqrtf128.c: Likewise.
2769 * math/e_sqrtl.c: Likewise.
2770 * math/k_cosl.c: Likewise.
2771 * math/k_sinl.c: Likewise.
2772 * math/k_tanl.c: Likewise.
2773 * math/s_asinhl.c: Likewise.
2774 * math/s_atanl.c: Likewise.
2775 * math/s_cbrtl.c: Likewise.
2776 * math/s_erfl.c: Likewise.
2777 * math/s_expm1l.c: Likewise.
2778 * math/s_log1pl.c: Likewise.
2779 * math/s_tanhl.c: Likewise.
2781 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2784 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
2785 [$(subdir) = math] (sysdep_calls): New variable. Has the
2786 previous contents of sysdep_routines, but re-sorted..
2787 [$(subdir) = math] (sysdep_routines): Re-use the contents from
2789 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
2790 defined in sysdep_calls and replace by the respective m_* names.
2791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
2792 (compat_symbol): Undefine to avoid duplicated compat symbols in
2795 2017-09-15 Joseph Myers <joseph@codesourcery.com>
2797 * math/s_fmaf.c: Include <libm-alias-float.h>.
2798 (fmaf): Define using libm_alias_float.
2799 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
2800 (acosf): Define using libm_alias_float.
2801 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
2802 (acoshf): Define using libm_alias_float.
2803 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
2804 (asinf): Define using libm_alias_float.
2805 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
2806 (atan2f): Define using libm_alias_float.
2807 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
2808 (atanhf): Define using libm_alias_float.
2809 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
2810 (coshf): Define using libm_alias_float.
2811 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
2812 (exp10f): Define using libm_alias_float.
2813 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
2814 (fmodf): Define using libm_alias_float.
2815 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
2816 (hypotf): Define using libm_alias_float.
2817 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
2818 (j0f): Define using libm_alias_float.
2820 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
2821 (j1f): Define using libm_alias_float.
2823 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
2824 (jnf): Define using libm_alias_float.
2826 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
2827 (log10f): Define using libm_alias_float.
2828 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
2829 (log2f): Define using libm_alias_float.
2830 * math/w_logf_compat.c: Include <libm-alias-float.h>.
2831 (logf): Define using libm_alias_float.
2832 * math/w_powf_compat.c: Include <libm-alias-float.h>.
2833 (powf): Define using libm_alias_float.
2834 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
2835 (remainderf): Define using libm_alias_float.
2836 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
2837 (sinhf): Define using libm_alias_float.
2838 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
2839 (sqrtf): Define using libm_alias_float.
2840 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
2841 (tgammaf): Define using libm_alias_float.
2843 2017-09-14 Joseph Myers <joseph@codesourcery.com>
2845 * include/math.h (roundeven): Change hidden_proto call to
2847 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
2849 [NO_LONG_DOUBLE] (__j0l): New strong alias.
2850 (y0): Rename to __y0 and define as weak alias.
2851 [NO_LONG_DOUBLE] (__y0l): New strong alias.
2852 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
2854 (y0f): Rename to __y0f and define as weak alias.
2855 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
2857 [NO_LONG_DOUBLE] (__j1l): New strong alias.
2858 (y1): Rename to __y1 and define as weak alias.
2859 [NO_LONG_DOUBLE] (__y1l): New strong alias.
2860 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
2862 (y1f): Rename to __y1f and define as weak alias.
2863 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
2865 [NO_LONG_DOUBLE] (__jnl): New strong alias.
2866 (yn): Rename to __yn and define as weak alias.
2867 [NO_LONG_DOUBLE] (__ynl): New strong alias.
2868 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
2870 (ynf): Rename to __ynf and define as weak alias.
2871 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
2872 (fromfp): Define as weak alias.
2873 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
2874 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
2875 (fromfpx): Define as weak alias.
2876 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
2877 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
2878 __getpayload and define as weak alias.
2879 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
2880 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
2881 __roundeven and define as weak alias.
2882 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
2883 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
2885 (setpayload): Define as weak alias.
2886 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
2887 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
2889 (setpayloadsig): Define as weak alias.
2890 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
2891 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
2892 __totalorder and define as weak alias.
2893 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
2894 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
2895 to __totalordermag and define as weak alias.
2896 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
2897 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
2898 (ufromfp): Define as weak alias.
2899 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
2900 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
2902 (ufromfpx): Define as weak alias.
2903 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
2904 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
2905 Rename to __getpayload and define as weak alias.
2906 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
2907 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
2908 Rename to __roundeven and define as weak alias.
2909 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
2910 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
2911 Rename to __totalorder and define as weak alias.
2912 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
2913 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
2914 (totalordermag): Rename to __totalordermag and define as weak
2916 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
2917 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
2919 (__roundevenl): Likewise.
2920 (__totalorderl): Likewise.
2921 (__totalordermagl): Likewise
2922 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
2924 (fromfpf128): Define as weak alias.
2925 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
2927 (fromfpxf128): Define as weak alias.
2928 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
2930 (setpayloadf128): Define as weak alias.
2931 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
2932 __setpayloadsigf128.
2933 (setpayloadsigf128): Define as weak alias.
2934 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
2936 (ufromfpf128): Define as weak alias.
2937 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
2939 (ufromfpxf128): Define as weak alias.
2940 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
2941 (fromfpf): Define as weak alias.
2942 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
2944 (fromfpxf): Define as weak alias.
2945 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
2946 __getpayloadf and define as weak alias.
2947 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
2948 __roundevenf and define as weak alias.
2949 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
2951 (setpayloadf): Define as weak alias.
2952 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
2954 (setpayloadsigf): Define as weak alias.
2955 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
2956 __totalorderf and define as weak alias.
2957 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
2958 Rename to __totalordermagf and define as weak alias.
2959 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
2961 (ufromfpf): Define as weak alias.
2962 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
2964 (ufromfpxf): Define as weak alias.
2965 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
2967 (fromfpl): Define as weak alias.
2968 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
2970 (fromfpxl): Define as weak alias.
2971 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
2972 to __getpayloadl and define as weak alias.
2973 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
2974 __roundevenl and define as weak alias.
2975 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
2977 (setpayloadl): Define as weak alias.
2978 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
2980 (setpayloadsigl): Define as weak alias.
2981 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
2982 to __totalorderl and define as weak alias.
2983 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
2984 Rename to __totalordermagl and define as weak alias.
2985 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
2987 (ufromfpl): Define as weak alias.
2988 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
2990 (ufromfpxl): Define as weak alias.
2991 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
2993 (fromfpl): Define as weak alias.
2994 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
2996 (fromfpxl): Define as weak alias.
2997 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
2998 Rename to __getpayloadl and define as weak alias.
2999 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
3000 to __roundevenl and define as weak alias. Call __roundeven
3001 instead of roundeven.
3002 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
3004 (setpayloadl): Define as weak alias.
3005 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
3007 (setpayloadsigl): Define as weak alias.
3008 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
3009 Rename to __totalorderl and define as weak alias.
3010 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
3011 Rename to __totalordermagl and define as weak alias.
3012 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
3014 (ufromfpl): Define as weak alias.
3015 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
3017 (ufromfpxl): Define as weak alias.
3018 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
3020 (fromfpl): Define as weak alias.
3021 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
3023 (fromfpxl): Define as weak alias.
3024 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
3025 __getpayloadl and define as weak alias.
3026 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
3027 __roundevenl and define as weak alias.
3028 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
3030 (setpayloadl): Define as weak alias.
3031 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
3033 (setpayloadsigl): Define as weak alias.
3034 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
3035 __totalorderl and define as weak alias.
3036 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
3037 Rename to __totalordermagl and define as weak alias.
3038 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
3040 (ufromfpl): Define as weak alias.
3041 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
3043 (ufromfpxl): Define as weak alias.
3045 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3047 * benchtests/bench-string.h (realloc_bufs): New function.
3048 (test_init): Call it.
3049 * benchtests/bench-memset-large.c (do_test): Likewise.
3050 * benchtests/bench-memset.c (do_test): Likewise.
3052 * benchtests/bench-memset-large.c: Print output in JSON
3054 * benchtests/bench-memset.c: Likewise.
3056 2017-09-14 Mike FABIAN <mfabian@redhat.com>
3059 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
3060 * iconvdata/Makefile: Add IBM858.
3061 * iconvdata/gconv-modules: Likewise.
3062 * iconvdata/tst-tables.sh: Likewise.
3063 * iconvdata/ibm858.c: New file.
3064 * localedata/charmaps/IBM858: Likewise.
3066 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
3069 * locales/niu_NZ (LC_TIME): copy "niu_NU".
3070 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
3072 2017-09-14 Mike FABIAN <mfabian@redhat.com>
3075 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
3076 and add tel_int_fmt.
3078 2017-09-14 Joseph Myers <joseph@codesourcery.com>
3080 * sysdeps/generic/libm-alias-float128.h: New file.
3081 * sysdeps/generic/math-type-macros-float128.h: Include
3082 <libm-alias-float128.h>.
3083 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
3085 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3087 * sysdeps/generic/libm-alias-ldouble.h: New file.
3088 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
3089 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
3090 * sysdeps/generic/math-type-macros-ldouble.h: Include
3091 <libm-alias-ldouble.h>.
3092 [!declare_mgen_alias] (declare_mgen_alias): Define to use
3095 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3097 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
3098 * math/w_exp_compat.c: ... here.
3099 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
3100 * math/w_expf_compat.c: ... here.
3101 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
3102 * math/w_expl_compat.c: ... here.
3103 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
3104 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
3105 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
3106 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
3108 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3110 * math/w_scalbln_template.c (strong_alias): Do not undefine and
3112 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
3114 (ldexpl): Only define as compat symbol for libc, not libm.
3115 (scalbnl): Define as compat symbol for libc here.
3116 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
3117 define for [IS_IN (libc)].
3118 (__ldexpl_2): Remove alias.
3119 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
3120 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
3121 name in long_double_symbol call.
3122 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
3123 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3124 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3125 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
3126 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
3128 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
3129 Define as compat symbol.
3131 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3133 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
3134 * sysdeps/unix/sysv/linux/alpha/Makefile
3135 [$(subdir) = csu] (sysdep_routines): Remove rule.
3137 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3139 * sysdeps/generic/libm-alias-double.h: New file.
3140 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
3141 * sysdeps/generic/math-type-macros-double.h: Include
3142 <libm-alias-double.h>.
3143 [declare_mgen_alias] (declare_mgen_alias): Define to use
3145 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
3146 (M_LIBM_NEED_COMPAT): Remove macro.
3147 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
3148 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
3149 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
3151 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3152 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3153 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3154 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3155 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3156 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3157 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3158 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3159 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3160 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3161 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3162 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3163 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3164 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3165 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3166 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3167 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3168 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3169 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3170 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3171 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3172 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3173 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3174 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3175 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3176 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3177 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3178 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
3179 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
3181 (declare_mgen_alias): New macro.
3182 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
3183 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
3184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
3185 (M_LIBM_NEED_COMPAT): Remove macro.
3186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
3187 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
3189 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
3190 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
3192 2017-09-12 Joseph Myers <joseph@codesourcery.com>
3194 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
3195 (declare_mgen_alias_2): Remove.
3196 * sysdeps/generic/math-type-macros-double.h
3197 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
3199 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
3201 (ldexp): Define with declare_mgen_alias.
3204 2017-09-12 Steve Ellcey <sellcey@cavium.com>
3206 * grp/initgroups.c: Include config.h.
3207 (DEFAULT_CONFIG): New macro.
3208 (internal_getgrouplist): Use DEFAULT_CONFIG.
3209 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3210 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
3211 (DEFAULT_DEFCONFIG): New macro.
3212 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
3213 * nss/grp-lookup.c: Include config.h
3214 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
3215 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
3216 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
3217 * manual/nss.texi: Update default values section.
3219 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
3222 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
3224 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
3225 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
3226 Handle MathVec_Prefer_No_AVX512.
3227 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
3228 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
3231 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
3233 * posix/sched_primax.c (__sched_get_priority_max): Add
3235 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
3236 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3237 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
3238 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
3239 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
3240 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
3241 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
3242 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
3245 2017-09-11 Joseph Myers <joseph@codesourcery.com>
3247 * sysdeps/generic/libm-alias-float.h: New file.
3248 * sysdeps/generic/math-type-macros-float.h: Include
3249 <libm-alias-float.h>.
3250 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
3252 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
3255 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
3256 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
3257 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
3258 (HWCAP_IMPORTANT): Likewise.
3259 (HWCAP_X86_64): New enum.
3260 (HWCAP_X86_AVX512_1): Updated.
3261 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
3262 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
3263 (modules-names): Add x86_64/tst-x86_64mod-1.
3264 (LDFLAGS-tst-x86_64mod-1.so): New.
3265 ($(objpfx)tst-x86_64-1): Likewise.
3266 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
3267 (tst-x86_64-1-clean): Likewise.
3268 * sysdeps/x86_64/tst-x86_64-1.c: New file.
3269 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
3271 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
3273 * po/sv.po: Update translations.
3274 * po/fr.po: Likewise.
3276 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3278 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
3280 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
3282 * elf/rtld-Rules: Fix $(error) use.
3284 2017-09-09 Mike FABIAN <mfabian@redhat.com>
3287 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
3288 * locale/iso-639.def: Change “Bengali” to “Bangla”.
3289 * localedata/locales/bn_BD: “Bengali” was still used in some
3290 comments. Change it to “Bangla”.
3292 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
3294 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
3296 2017-09-08 Steve Ellcey <sellcey@cavium.com>
3298 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
3299 thunderx2t99p1 to list of cpu names.
3300 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3301 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
3303 2017-09-08 Steve Ellcey <sellcey@cavium.com>
3305 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
3306 Use strcmp instead of tunable_is_name.
3308 2017-09-08 Joseph Myers <joseph@codesourcery.com>
3310 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3311 (F_GET_RW_HINT): New macro.
3312 [__USE_GNU] (F_SET_RW_HINT): Likewise.
3313 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
3314 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
3315 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
3316 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
3317 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
3318 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
3319 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
3320 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
3322 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3323 (F_ADD_SEALS): New macro.
3324 [__USE_GNU] (F_GET_SEALS): Likewise.
3325 [__USE_GNU] (F_SEAL_SEAL): Likewise.
3326 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
3327 [__USE_GNU] (F_SEAL_GROW): Likewise.
3328 [__USE_GNU] (F_SEAL_WRITE): Likewise.
3330 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3332 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
3333 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
3334 * posix/glob_internal.h (__glob_pattern_type):
3335 * posix/glob.c (glob):
3336 * posix/glob_pattern_p.c (__glob_pattern_p):
3339 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
3340 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3341 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
3342 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
3343 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
3344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
3345 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
3346 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
3347 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
3348 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3349 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
3350 * sysdeps/wordsize-64/glob.c: Likewise.
3351 * sysdeps/wordsize-64/glob64.c: Likewise.
3352 * sysdeps/wordsize-64/globfree.c: Likewise.
3353 * sysdeps/wordsize-64/globfree64.c: Likewise.
3354 * sysdeps/unix/sysv/linux/glob.c: New file.
3355 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
3356 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
3357 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
3358 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
3359 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
3360 adds !GLOB_NO_OLD_VERSION as an extra condition.
3361 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
3362 using relative path instead of absolute one.
3363 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
3364 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
3365 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3366 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
3367 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
3368 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
3371 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
3372 (glob): Use the same scratch buffer for both getlogin_r and
3373 getpwnam_r. Don’t require preallocation of the login name. This
3374 simplifies storage allocation, and corrects the handling of
3378 * posix/glob.c (glob): Port recent patches to platforms
3380 (glob): Fix longstanding misuse of errno after getpwnam_r, which
3381 returns an error number rather than setting errno.
3383 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
3384 instead of GCC extension.
3385 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
3386 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
3387 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
3391 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
3392 * posix/bug-glob1.c: Remove file.
3393 * posix/tst-glob_symlinks.c: New file.
3394 * posix/glob.c (__lstat64): New macro.
3395 (is_dir): New function.
3396 (glob, glob_in_dir): Match symlinks even if they are dangling.
3397 (link_stat, link_exists_p): Remove. All uses removed.
3401 * posix/glob.c (struct readdir_result): Remove skip_entry member.
3402 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
3406 * posix/Makefile (routines): Add globfree, globfree64, and
3408 * posix/flexmember.h: New file.
3409 * posix/glob_internal.h: Likewise.
3410 * posix/glob_pattern_p.c: Likewise.
3411 * posix/globfree.c: Likewise.
3412 * posix/globfree64.c: Likewise.
3413 * sysdeps/gnu/globfree64.c: Likewise.
3414 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
3415 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
3416 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
3417 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
3418 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
3419 * sysdeps/wordsize-64/globfree.c: Likewise.
3420 * sysdeps/wordsize-64/globfree64.c: Likewise.
3421 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
3422 [NDEBUG): Remove comments.
3423 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
3424 (dirent_type): New type. Use uint_fast8_t not
3425 uint8_t, as C99 does not require uint8_t.
3426 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
3427 (struct readdir_result): Use dirent_type. Do not define skip_entry
3428 unless it is needed; this saves a byte on platforms lacking d_ino.
3429 (readdir_result_type, readdir_result_skip_entry):
3430 New functions, replacing ...
3431 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
3432 these functions, which were removed. This makes the callers
3433 easier to read. All callers changed.
3434 (D_INO_TO_RESULT): Now empty if there is no d_ino.
3435 (size_add_wrapv, glob_use_alloca): New static functions.
3436 (glob, glob_in_dir): Check for size_t overflow in several places,
3437 and fix some size_t checks that were not quite right.
3438 Remove old code using SHELL since Bash no longer
3440 (glob, prefix_array): Separate MS code better.
3441 (glob_in_dir): Remove old Amiga and VMS code.
3442 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
3444 (glob_in_dir): Do not rely on undefined behavior in accessing
3445 struct members beyond their bounds. Use a flexible array member
3447 (link_stat): Rename from link_exists2_p and return -1/0 instead of
3448 0/1. Caller changed.
3449 (glob): Fix memory leaks.
3450 * posix/glob64 (globfree64): Move to separate file.
3451 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
3452 (globfree64): Remove hidden alias.
3453 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
3455 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
3457 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
3459 Move compat code to separate file.
3460 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
3463 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
3465 * resolv/tst-resolv-qtypes.c (domain): Changed to
3466 "const char domain[] =".
3468 2017-09-07 Joseph Myers <joseph@codesourcery.com>
3470 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3473 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
3474 (TCP_MD5SIG_EXT): Likewise.
3475 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
3476 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
3477 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
3479 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
3481 2017-09-07 Mike FABIAN <mfabian@redhat.com>
3483 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
3485 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
3488 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
3490 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3492 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
3493 before assuming that the file is empty. Avoid testing buffer content
3496 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3499 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
3501 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
3503 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
3505 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
3507 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
3509 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
3511 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
3514 2017-09-06 Florian Weimer <fweimer@redhat.com>
3516 * malloc/dynarray_emplace_enlarge.c
3517 (__libc_dynarray_emplace_enlarge): Add missing else.
3519 2017-09-06 Florian Weimer <fweimer@redhat.com>
3522 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
3523 case of failure to obtain the global conf object.
3525 2017-09-06 Florian Weimer <fweimer@redhat.com>
3528 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
3529 dynarray allocation failure.
3531 2017-09-06 Florian Weimer <fweimer@redhat.com>
3533 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
3534 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
3535 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
3537 (response): Call them. Add 'p', '6' flag processing.
3538 (test_reverse): New function.
3539 (test_get2_any): Call it.
3540 (test_no_inet6): Add 'p' test.
3541 (test_inet6): Likewise.
3543 2017-09-06 Florian Weimer <fweimer@redhat.com>
3545 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
3546 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
3548 (test_gai): Adjust query names. Add additional tests.
3549 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
3550 test_get2. Adjust query names. Add additional tests.
3551 (test_no_inet6): New function, extracted from threadfunc.
3552 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
3553 Add additional tests.
3555 2017-09-06 Mike FABIAN <mfabian@redhat.com>
3558 * localedata/unicode-gen/utf8_gen.py: Set the width for
3559 characters with Prepended_Concatenation_Mark property to 1
3560 * localedata/charmaps/UTF-8: Updated using the improved script.
3562 2017-09-06 Mike FABIAN <mfabian@redhat.com>
3565 * localedata/unicode-gen/utf8_gen.py: Improve the script to
3566 use the range notation for all ranges of neighbouring characters
3567 with the same width.
3569 2017-09-05 Joseph Myers <joseph@codesourcery.com>
3571 * sysdeps/generic/math-type-macros-double.h: Include
3572 <math-svid-compat.h>.
3573 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
3574 * sysdeps/generic/math-type-macros-float.h: Include
3575 <math-svid-compat.h>.
3576 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
3577 * sysdeps/generic/math-type-macros-ldouble.h: Include
3578 <math-svid-compat.h>.
3579 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
3580 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
3582 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
3583 * math/w_acosf_compat.c: Likewise.
3584 * math/w_acosh_compat.c: Likewise.
3585 * math/w_acoshf_compat.c: Likewise.
3586 * math/w_acoshl_compat.c: Likewise.
3587 * math/w_acosl_compat.c: Likewise.
3588 * math/w_asin_compat.c: Likewise.
3589 * math/w_asinf_compat.c: Likewise.
3590 * math/w_asinl_compat.c: Likewise.
3591 * math/w_atan2_compat.c: Likewise.
3592 * math/w_atan2f_compat.c: Likewise.
3593 * math/w_atan2l_compat.c: Likewise.
3594 * math/w_atanh_compat.c: Likewise.
3595 * math/w_atanhf_compat.c: Likewise.
3596 * math/w_atanhl_compat.c: Likewise.
3597 * math/w_cosh_compat.c: Likewise.
3598 * math/w_coshf_compat.c: Likewise.
3599 * math/w_coshl_compat.c: Likewise.
3600 * math/w_exp10_compat.c: Likewise.
3601 * math/w_exp10f_compat.c: Likewise.
3602 * math/w_exp10l_compat.c: Likewise.
3603 * math/w_exp2_compat.c: Likewise.
3604 * math/w_exp2f_compat.c: Likewise.
3605 * math/w_exp2l_compat.c: Likewise.
3606 * math/w_fmod_compat.c: Likewise.
3607 * math/w_fmodf_compat.c: Likewise.
3608 * math/w_fmodl_compat.c: Likewise.
3609 * math/w_hypot_compat.c: Likewise.
3610 * math/w_hypotf_compat.c: Likewise.
3611 * math/w_hypotl_compat.c: Likewise.
3612 * math/w_j0_compat.c: Likewise.
3613 * math/w_j0f_compat.c: Likewise.
3614 * math/w_j0l_compat.c: Likewise.
3615 * math/w_j1_compat.c: Likewise.
3616 * math/w_j1f_compat.c: Likewise.
3617 * math/w_j1l_compat.c: Likewise.
3618 * math/w_jn_compat.c: Likewise.
3619 * math/w_jnf_compat.c: Likewise.
3620 * math/w_jnl_compat.c: Likewise.
3621 * math/w_lgamma_r_compat.c: Likewise.
3622 * math/w_lgammaf_r_compat.c: Likewise.
3623 * math/w_lgammal_r_compat.c: Likewise.
3624 * math/w_log10_compat.c: Likewise.
3625 * math/w_log10f_compat.c: Likewise.
3626 * math/w_log10l_compat.c: Likewise.
3627 * math/w_log2_compat.c: Likewise.
3628 * math/w_log2f_compat.c: Likewise.
3629 * math/w_log2l_compat.c: Likewise.
3630 * math/w_log_compat.c: Likewise.
3631 * math/w_logf_compat.c: Likewise.
3632 * math/w_logl_compat.c: Likewise.
3633 * math/w_pow_compat.c: Likewise.
3634 * math/w_powf_compat.c: Likewise.
3635 * math/w_powl_compat.c: Likewise.
3636 * math/w_remainder_compat.c: Likewise.
3637 * math/w_remainderf_compat.c: Likewise.
3638 * math/w_remainderl_compat.c: Likewise.
3639 * math/w_sinh_compat.c: Likewise.
3640 * math/w_sinhf_compat.c: Likewise.
3641 * math/w_sinhl_compat.c: Likewise.
3642 * math/w_sqrt_compat.c: Likewise.
3643 * math/w_sqrtf_compat.c: Likewise.
3644 * math/w_sqrtl_compat.c: Likewise.
3645 * math/w_tgamma_compat.c: Likewise.
3646 * math/w_tgammaf_compat.c: Likewise.
3647 * math/w_tgammal_compat.c: Likewise.
3648 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
3650 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
3651 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
3653 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
3654 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
3656 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
3657 * sysdeps/i386/fpu/w_sqrt.c: New file.
3658 * sysdeps/ia64/fpu/w_acos.c: Likewise.
3659 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
3660 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
3661 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
3662 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
3663 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
3664 * sysdeps/ia64/fpu/w_asin.c: Likewise.
3665 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
3666 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
3667 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
3668 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
3669 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
3670 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
3671 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
3672 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
3673 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
3674 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
3675 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
3676 * sysdeps/ia64/fpu/w_exp.c: Likewise.
3677 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
3678 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
3679 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
3680 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
3681 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
3682 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
3683 * sysdeps/ia64/fpu/w_expf.c: Likewise.
3684 * sysdeps/ia64/fpu/w_expl.c: Likewise.
3685 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
3686 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
3687 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
3688 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
3689 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
3690 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
3691 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
3692 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
3693 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
3694 * sysdeps/ia64/fpu/w_log.c: Likewise.
3695 * sysdeps/ia64/fpu/w_log10.c: Likewise.
3696 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
3697 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
3698 * sysdeps/ia64/fpu/w_log2.c: Likewise.
3699 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
3700 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
3701 * sysdeps/ia64/fpu/w_logf.c: Likewise.
3702 * sysdeps/ia64/fpu/w_logl.c: Likewise.
3703 * sysdeps/ia64/fpu/w_pow.c: Likewise.
3704 * sysdeps/ia64/fpu/w_powf.c: Likewise.
3705 * sysdeps/ia64/fpu/w_powl.c: Likewise.
3706 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
3707 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
3708 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
3709 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
3710 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
3711 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
3712 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
3713 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
3714 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
3715 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
3716 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
3717 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
3718 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
3720 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
3721 * sysdeps/ieee754/k_standard.c: Likewise.
3722 * sysdeps/ieee754/k_standardf.c: Likewise.
3723 * sysdeps/ieee754/k_standardl.c: Likewise.
3724 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
3725 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
3726 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
3727 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
3728 long_double_symbol call on [LIBM_SVID_COMPAT].
3729 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
3730 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
3731 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
3732 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
3733 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
3734 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
3735 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
3736 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
3737 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
3738 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
3739 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
3740 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
3741 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
3742 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
3743 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
3744 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
3745 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
3746 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
3747 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
3748 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
3749 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
3750 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
3752 2017-09-05 Steve Ellcey <sellcey@cavium.com>
3754 * include/shlib-compat.h (TEST_COMPAT): New Macro.
3755 * malloc/tst-mallocstate.c: Convert from test-skeleton
3756 to test-driver. Ifdef code using TEST_COMPAT macro.
3757 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
3758 * math/test-matherr.c: Likewise.
3760 2017-09-05 Joseph Myers <joseph@codesourcery.com>
3763 * debug/pcprofiledump.c (main): Use byte-swapped mask when
3764 comparing word with byte-swapped constant.
3766 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3769 * locale/iso-639.def: add Miskito.
3770 * localedata/SUPPORTED: Add miq_NI/UTF-8.
3771 * localedata/locales/miq_NI: New file.
3773 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
3776 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
3777 (__mkdir): Likewise.
3778 * io/chmod.c (__chmod): Add libc_hidden_def.
3779 * io/mkdir.c (__mkdir): Likewise.
3780 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
3781 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
3782 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
3783 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
3785 2017-09-04 Joseph Myers <joseph@codesourcery.com>
3787 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3791 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
3792 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
3794 2017-09-04 Florian Weimer <fweimer@redhat.com>
3796 * math/math.h: Issue warning if log is defined.
3798 2017-09-04 Joseph Myers <joseph@codesourcery.com>
3800 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3801 kernel version to 4.13.
3803 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3805 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
3806 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
3808 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
3809 just <bits/types.h>.
3810 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
3811 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
3812 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
3813 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
3814 * misc/preadv2.c: Include <errno.h>.
3815 * misc/preadv64v2.c: Include <errno.h>.
3816 * misc/pwritev2.c: Include <errno.h>.
3817 * misc/pwritev64v2.c: Include <errno.h>.
3818 * sysdeps/posix/preadv2.c: Include <errno.h>.
3819 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
3820 Fix <unistd.h> inclusion.
3821 * sysdeps/posix/pwritev2.c: Include <errno.h>.
3822 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
3823 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
3824 __strtoul_internal): New functions.
3825 * sysdeps/posix/pause.c: Include <sigsetops.h>.
3826 * sysdeps/posix/system.c: Include <sigsetops.h>.
3827 * sysdeps/mach/hurd/i386/Makefile
3828 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
3829 [$(subdir) = csu] (sysdep-only-routines): Likewise.
3830 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3831 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
3832 __feraiseexcept_renamed to feraiseexcept instead of
3834 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
3835 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
3836 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
3837 RWF_NOWAIT): Define to 0 if undefined already.
3838 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
3840 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
3841 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
3843 2017-09-01 Joseph Myers <joseph@codesourcery.com>
3845 * manual/math.texi (pow10): Do not document.
3848 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
3849 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
3850 * math/libm-test-exp10.inc (pow10_test): Remove.
3851 (do_test): Do not call pow10.
3852 * math/w_exp10_compat.c (pow10): Make into compat symbol.
3853 [NO_LONG_DOUBLE] (pow10l): Likewise.
3854 * math/w_exp10f_compat.c (pow10f): Likewise.
3855 * math/w_exp10l_compat.c (pow10l): Likewise.
3856 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
3857 (pow10): Make into compat symbol.
3858 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
3859 (pow10f): Make into compat symbol.
3860 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
3861 (pow10l): Make into compat symbol.
3862 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
3864 (CFLAGS-nldbl-pow10.c): Remove variable..
3865 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
3866 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
3867 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
3868 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
3869 Undefine and redefine.
3870 (pow10l): Make into compat symbol.
3871 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
3872 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3873 * sysdeps/arm/libm-test-ulps: Likewise.
3874 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
3875 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3876 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3877 * sysdeps/microblaze/libm-test-ulps: Likewise.
3878 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3879 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3880 * sysdeps/nios2/libm-test-ulps: Likewise.
3881 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3882 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3883 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3884 * sysdeps/sh/libm-test-ulps: Likewise.
3885 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3886 * sysdeps/tile/libm-test-ulps: Likewise.
3887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3889 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3891 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
3893 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
3895 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
3896 "../ChangeLog.old/ChangeLog.8".
3897 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
3898 "../ChangeLog.old/ChangeLog.14".
3900 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
3902 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
3905 2017-09-01 Joseph Myers <joseph@codesourcery.com>
3907 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
3909 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
3911 * csu/version.c (banner): Remove "by Roland McGrath et al.".
3912 * nptl/Banner: Remove "by Ulrich Drepper et al.".
3914 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3916 * stdlib/tst-atexit-common.c (do_test): Test support for at least
3919 2017-09-01 Zack Weinberg <zackw@panix.com>
3921 * math/math.h (HUGE_VAL): Improve commentary.
3923 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3924 Andreas Schwab <schwab@suse.de>
3927 * include/stdio.h (__gen_tempfd): New function.
3928 * stdio-common/Makefile (routines): Add gentempfd.
3929 * stdio-common/gentempfd.c: New file.
3930 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
3931 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
3934 2017-09-01 Florian Weimer <fweimer@redhat.com>
3938 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
3939 result to determine success or failure, not the errno value.
3940 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
3941 (tst-nss-files-hosts-erange): Link with -ldl.
3942 * nss/tst-nss-files-hosts-erange.c: New file.
3943 * nss/tst-resolv-basic.c (response): Handle nodata.example.
3944 (do_test): Add NO_DATA tests.
3945 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
3948 2017-09-01 Florian Weimer <fweimer@redhat.com>
3951 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
3952 coming from gethostbyname2_r.
3954 2017-09-01 Florian Weimer <fweimer@redhat.com>
3956 * support/namespace.h (struct support_chroot_configuration): Add
3958 (struct support_chroot): Add path_hosts, path_host_conf.
3959 * support/support_chroot.c (write_file): New function.
3960 (support_chroot_create): Call it to process /etc/resolv.conf,
3961 /etc/hosts, /etc/host.conf.
3962 (support_chroot_free): Update.
3964 2017-09-01 Florian Weimer <fweimer@redhat.com>
3966 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
3967 status indicates it is set.
3969 2017-09-01 Florian Weimer <fweimer@redhat.com>
3971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
3972 function lookup failures more reliable.
3974 2017-09-01 Florian Weimer <fweimer@redhat.com>
3976 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
3977 (getcanonname): Likewise.
3978 (gaih_inet): Likewise.
3980 2017-09-01 Florian Weimer <fweimer@redhat.com>
3982 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
3983 (getcanonname): Likewise.
3984 (gaih_inet): Likewise.
3986 2017-08-31 Steve Ellcey <sellcey@cavium.com>
3987 Richard Henderson <rth@twiddle.net>
3989 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
3990 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
3991 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
3992 (IREG_SIZE, OREG_SIZE): New macros.
3993 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
3994 (IREG_SIZE, OREG_SIZE): New macros.
3995 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
3996 (IREG_SIZE): New macro.
3997 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
3998 (IREG_SIZE): New macro.
3999 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
4001 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
4002 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
4003 (__CONCATX): Handle exceptions correctly on large values that may
4005 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
4006 Initialize if not already set.
4007 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
4009 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4011 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
4012 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
4014 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
4016 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
4018 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
4020 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
4022 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
4024 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
4026 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
4027 (NO_CANCELLATION): Likewise.
4028 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
4030 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
4032 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
4034 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
4035 (NO_CANCELLATION): Likewise.
4036 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
4037 (NO_CANCELLATION): Likewise.
4038 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
4040 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
4042 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
4044 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
4046 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
4048 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
4049 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
4051 2017-08-31 Steve Ellcey <sellcey@cavium.com>
4053 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
4056 2017-08-31 Florian Weimer <fweimer@redhat.com>
4058 * include/libc-symbols.h (internal_function): Remove.
4060 2017-08-31 Florian Weimer <fweimer@redhat.com>
4062 * stdlib/fmtmsg.c (internal_addseverity): Remove
4065 2017-08-31 Florian Weimer <fweimer@redhat.com>
4067 * stdio-common/printf_fp.c (group_number): Remove
4069 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
4071 2017-08-31 Florian Weimer <fweimer@redhat.com>
4073 * posix/fnmatch.c (internal_function): Remove definition.
4074 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
4075 * posix/regcomp.c (peek_token, init_word_char)
4076 (duplicate_node_closure, fetch_token, peek_token)
4077 (peek_token_bracket, build_range_exp, build_collating_symbol):
4079 * posix/regex_internal.c (re_string_construct_common)
4080 (create_ci_newstate, create_cd_newstate, re_string_allocate)
4081 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
4082 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
4083 (re_string_translate_buffer, re_string_reconstruct)
4084 (re_string_peek_byte_case, re_string_fetch_byte_case)
4085 (re_string_destruct, re_string_context_at, re_node_set_alloc)
4086 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
4087 (re_node_set_add_intersect, re_node_set_init_union)
4088 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
4089 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
4090 (re_dfa_add_node, calc_state_hash, re_acquire_state)
4091 (re_acquire_state_context): Likewise.
4092 * posix/regex_internal.h (internal_function): Remove definition.
4093 (re_string_realloc_buffers, build_wcs_buffer)
4094 (build_wcs_upper_buffer, build_upper_buffer)
4095 (re_string_translate_buffer, re_string_context_at)
4096 (re_string_char_size_at, re_string_wchar_at)
4097 (re_string_elem_size_at): Likewise.
4098 * posix/regexec.c (match_ctx_init, match_ctx_clean)
4099 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
4100 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
4101 (re_search_internal, re_search_2_stub, re_search_stub)
4102 (re_copy_regs, prune_impossible_nodes, check_matching)
4103 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
4104 (free_fail_stack_return, sift_states_iter_mb)
4105 (sift_states_backward, build_sifted_states)
4106 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
4107 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
4108 (check_subexp_limits, sift_states_bkref, merge_state_array)
4109 (find_recover_state, transit_state, merge_state_with_log)
4110 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
4111 (transit_state_mb, transit_state_bkref, get_subexp)
4112 (get_subexp_sub, find_subexp_node, check_arrival)
4113 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
4114 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
4115 (check_node_accept_bytes, find_collation_sequence_value)
4116 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
4117 (acquire_init_state_context, check_halt_node_context)
4118 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
4119 (sub_epsilon_src_nodes): Likewise.
4120 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
4121 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
4122 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
4123 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
4124 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
4125 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
4126 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
4127 * sysdeps/posix/ttyname.c (getttyname): Likewise.
4128 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
4129 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
4131 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
4133 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
4134 (PWRITEV): Likewise.
4135 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
4136 (PWRITEV): Likewise.
4137 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
4138 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
4140 2017-08-31 Florian Weimer <fweimer@redhat.com>
4142 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
4143 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
4144 Remove internal_function.
4145 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
4146 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
4147 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
4148 (__deallocate_stack, __libc_pthread_init)
4149 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
4150 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
4151 (__libc_disable_asynccancel, __librt_disable_asynccancel):
4153 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
4154 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
4155 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
4157 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
4158 (__pthread_mutex_unlock_usercnt): Likewise.
4160 2017-08-31 Florian Weimer <fweimer@redhat.com>
4162 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
4163 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
4164 (fts_safe_changedir): Remove internal_function.
4165 * io/ftw.c (internal_function): Remove definition.
4166 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
4168 2017-08-31 Florian Weimer <fweimer@redhat.com>
4170 * inet/deadline.c (__deadline_current_time)
4171 (__deadline_from_timeval, __deadline_to_ms): Remove
4173 * inet/getnameinfo.c (nrl_domainname): Likewise.
4174 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
4175 * inet/inet6_option.c (add_pad): Likewise.
4176 * inet/net-internal.h (__deadline_current_time)
4177 (__deadline_from_timeval, __deadline_to_ms): Likewise.
4178 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
4179 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
4180 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
4182 2017-08-31 Joseph Myers <joseph@codesourcery.com>
4184 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
4185 include <bits/nan.h>.
4186 * math/Makefile (headers): Remove bits/nan.h.
4187 * bits/nan.h: Remove.
4188 * sysdeps/ieee754/bits/nan.h: Likewise.
4189 * sysdeps/mips/bits/nan.h: Likewise.
4191 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
4192 not include <bits/inf.h>.
4193 * math/Makefile (headers): Remove bits/inf.h.
4194 * bits/inf.h: Remove.
4195 * sysdeps/ieee754/bits/inf.h: Likewise.
4197 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
4198 bits/huge_vall.h or bits/huge_val_flt128.h.
4199 (HUGE_VAL): Define directly here.
4200 [__USE_ISOC99] (HUGE_VALF): Likewise.
4201 [__USE_ISOC99] (HUGE_VALL): Likewise.
4202 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4203 (HUGE_VAL_F128): Likewise.
4204 * math/Makefile (headers): Remove bits/huge_val.h,
4205 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
4206 * bits/huge_val.h: Remove.
4207 * bits/huge_val_flt128.h: Likewise.
4208 * bits/huge_valf.h: Likewise.
4209 * bits/huge_vall.h: Likewise.
4210 * sysdeps/ia64/bits/huge_vall.h: Likewise.
4211 * sysdeps/ieee754/bits/huge_val.h: Likewise.
4212 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
4213 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
4214 * sysdeps/sh/bits/huge_val.h: Likewise.
4215 * sysdeps/sparc/bits/huge_vall.h: Likewise.
4216 * sysdeps/x86/bits/huge_vall.h: Likewise.
4218 2017-08-31 Florian Weimer <fweimer@redhat.com>
4220 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
4222 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
4224 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
4225 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4226 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
4227 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
4228 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4229 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4230 * elf/dl-libc.c (dlerror_run): Likewise.
4231 * elf/dl-load.c (add_name_to_object, decompose_rpath)
4232 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
4233 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
4234 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
4236 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
4237 (_dl_higher_prime_number, _dl_strtoul): Likewise.
4238 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
4239 * elf/dl-profile.c (_dl_start_profile): Likewise.
4240 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
4241 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
4243 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
4244 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
4245 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
4246 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
4247 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
4248 (_dl_allocate_tls_storage): Likewise.
4249 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
4250 (_dl_check_all_versions): Likewise.
4251 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
4252 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
4253 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
4254 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
4255 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
4256 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
4257 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
4258 internal_function from __dl_start.
4259 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
4260 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
4261 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
4262 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
4263 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
4264 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
4265 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
4266 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
4267 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
4268 (_dl_next_ld_env_entry, _dl_important_hwcaps)
4269 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
4270 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
4271 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
4272 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
4273 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
4275 (struct rtld_global_ro): Remove internal_function from the
4276 _dl_lookup_symbol_x member.
4277 (_dl_symbol_value): Remove. No longer defined anywhere.
4278 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
4280 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
4281 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4282 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
4283 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
4284 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
4285 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
4286 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
4287 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
4288 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
4289 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
4290 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
4291 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4293 2017-08-31 Florian Weimer <fweimer@redhat.com>
4295 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
4296 Remove internal_function.
4297 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
4299 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
4302 2017-08-31 Florian Weimer <fweimer@redhat.com>
4304 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
4305 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
4306 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
4308 2017-08-31 Florian Weimer <fweimer@redhat.com>
4310 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
4311 (__gai_enqueue_request): Remove internal_function.
4312 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
4313 (__gai_remove_request, __gai_notify, __gai_notify_only)
4314 (__gai_sigqueue): Likewise.
4315 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
4316 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
4317 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
4318 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4321 2017-08-31 Florian Weimer <fweimer@redhat.com>
4323 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
4324 * include/dirent.h (__opendirat, __getdents, __getdents64)
4325 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
4326 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
4327 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
4328 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
4330 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
4332 2017-08-31 Florian Weimer <fweimer@redhat.com>
4334 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
4336 (GETCWD_RETURN_TYPE): Likewise.
4338 2017-08-31 Florian Weimer <fweimer@redhat.com>
4340 * include/time.h (__tz_compute, __strptime_internal): Remove
4342 * time/strptime_l.c (__strptime_internal): Likewise.
4343 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
4345 2017-08-31 Florian Weimer <fweimer@redhat.com>
4347 * iconv/gconv.c (__gconv): Remove internal_function.
4348 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
4349 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
4350 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
4351 (__gconv_release_cache): Likewise.
4352 * iconv/gconv_close.c (__gconv_close): Likewise.
4353 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
4354 (read_conf_file, __gconv_get_path): Likewise.
4355 * iconv/gconv_db.c (derivation_lookup, add_derivation)
4356 (__gconv_release_step, gen_steps, increment_counter)
4357 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
4358 (__gconv_close_transform, free_modules_db): Likewise.
4359 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
4361 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
4362 (__gconv_find_transform, __gconv_lookup_cache)
4363 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
4364 (__gconv_close_transform, __gconv_release_cache)
4365 (__gconv_loaded_object, __gconv_release_shlib)
4366 (__gconv_compare_alias): Likewise.
4367 * iconv/gconv_open.c (__gconv_open): Likewise.
4368 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
4369 * iconv/iconvconfig.c (add_module): Likewise.
4370 * intl/dcigettext.c (plural_lookup, guess_category_value)
4371 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
4372 * intl/eval-plural.h (plural_eval): Likewise.
4373 * intl/finddomain.c (_nl_find_domain): Likewise.
4374 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
4375 (_nl_load_domain, _nl_find_msg): Likewise.
4376 (internal_function): Remove definition.
4377 * intl/loadinfo.h (internal_function): Likewise.
4378 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
4380 * intl/localealias.c (internal_function): Remove definition.
4381 (read_alias_file): Remove internal_function.
4382 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
4383 * intl/plural-exp.h (internal_function): Remove definition.
4384 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
4386 * intl/plural.c: Regenerate.
4387 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
4388 * locale/coll-lookup.c (__collidx_table_lookup)
4389 (__collseq_table_lookup): Likewise.
4390 * locale/coll-lookup.h (__collidx_table_lookup)
4391 (__collseq_table_lookup): Likewise.
4392 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
4393 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4394 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
4395 (_nl_unload_locale): Likewise.
4396 * locale/localeinfo.h (struct __locale_data): Remove
4397 internal_function from cleanup member.
4398 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
4399 (_nl_remove_locale, _nl_load_locale_from_archive)
4400 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
4401 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
4402 (_nl_cleanup_time): Remove internal_function.
4403 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
4404 (_nl_parse_alt_digit): Likewise.
4405 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
4406 (_nl_select_era_entry): Likewise.
4407 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
4408 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
4409 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
4410 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
4411 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
4413 2017-08-31 Florian Weimer <fweimer@redhat.com>
4415 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
4416 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
4417 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
4418 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
4420 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
4421 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
4422 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
4423 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
4425 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
4427 2017-08-31 Florian Weimer <fweimer@redhat.com>
4429 * misc/getttyent.c (skip, value): Remove internal_function.
4430 * misc/syslog.c (openlog_internal): Likewise.
4431 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
4433 2017-08-31 Florian Weimer <fweimer@redhat.com>
4435 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
4436 (__nss_rewrite_field): Remove internal_function.
4437 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4438 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
4439 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4440 * nss/nsswitch.c (nss_parse_file, nss_getline)
4441 (nss_parse_service_list, nss_new_service): Likewise.
4442 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
4443 * nss/valid_field.c (__nss_valid_field): Likewise.
4444 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
4446 2017-08-31 Florian Weimer <fweimer@redhat.com>
4448 * malloc/arena.c (__malloc_fork_lock_parent)
4449 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
4450 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
4451 internal_function from defintions.
4452 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
4453 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
4454 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
4455 internal_function from declarations.
4456 * malloc/malloc.c (internal_function): Do not define.
4457 (mem2mem_check): Remove internal_function from declaration.
4458 (munmap_chunk, mremap_chunk): Remove internal_function.
4459 * malloc/mtrace.c (tr_where): Likewise.
4461 2017-08-31 Florian Weimer <fweimer@redhat.com>
4463 * include/rpc/pmap_clnt.h (__get_socket): Remove
4465 * sunrpc/auth_des.c (synchronize): Likewise.
4466 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
4467 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
4468 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
4469 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
4470 (key_call): Likewise.
4471 * sunrpc/pm_getport.c (__get_socket): Likewise.
4472 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
4473 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
4474 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
4475 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
4476 (invalidate): Likewise.
4477 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
4478 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
4479 (set_input_fragment, get_input_bytes): Likewise.
4481 2017-08-31 Florian Weimer <fweimer@redhat.com>
4483 * malloc/malloc.c (_int_free): Remove locked variable and related
4486 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
4489 * Makerules (build-module-helper-objlist): Filter out
4490 $(elf-objpfx)sofini.os.
4491 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
4494 2017-08-31 Florian Weimer <fweimer@redhat.com>
4496 * libio/fcloseall.c: Assume weak_alias is defined.
4497 * libio/feof.c: Likewise.
4498 * libio/fileno.c: Likewise.
4499 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
4500 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
4502 (_IO_file_open): Call __open directly.
4503 (_IO_new_file_sync): Assume ESPIPE is defined.
4504 (_IO_file_seekoff_maybe_mmap): Call __read directly.
4505 (_IO_new_file_write): Call __write directly.
4506 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
4507 * libio/ftello64.c (__ftello64): Assume EIO is defined.
4508 * libio/genops.c: Assume _LIBC is defined.
4509 (save_for_backup): Remove internal_function.
4510 * libio/getc.c: Assume weak_alias is defined.
4511 * libio/getwc.c: Likewise.
4512 * libio/iofclose.c: Assume _LIBC is defined.
4513 * libio/iofdopen.c: Likewise.
4514 (_IO_fcntl): Remove macro definition.
4515 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
4516 Call __fcntl directly.
4517 * libio/iofflush.c: Assume weak_alias is defined.
4518 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
4520 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
4521 * libio/iofgets.c: Likewise.
4522 * libio/iofopen.c: Assume _LIBC is defined.
4523 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
4524 * libio/iofputs.c: Assume weak_alias is defined.
4525 * libio/iofread.c: Likewise.
4526 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
4527 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
4528 * libio/ioftell.c: Assume weak_alias is defined.
4529 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
4530 * libio/iofwide.c: Assume _LIBC is defined.
4531 (_IO_fwide): Drop SHARED conditional because it is implied by
4533 * libio/iofwrite.c: Assume weak_alias is defined.
4534 * libio/iogetdelim.c: Likewise.
4535 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
4536 * libio/iogetwline.c (wmemcpy): Remove macro definition.
4537 (_IO_getwline): Call __wmemcpy directly.
4538 * libio/iopopen.c: Assume _LIBC is defined.
4539 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
4540 (_IO_close): Remove macro definitions.
4541 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
4543 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
4545 * libio/ioputs.c: Assume weak_alias is defined.
4546 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
4547 * libio/iosetbuffer.c: Assume weak_alias is defined.
4548 * libio/iosetvbuf.c: Likewise.
4549 * libio/ioungetc.c: Likewise.
4550 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
4551 libc_hidden_def, libc_hidden_weak, NULL are defined.
4552 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
4553 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
4555 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
4557 (_IO_old_file_init_internal): Drop SHARED conditional because it
4558 is implied by SHLIB_COMPAT.
4559 (_IO_old_file_fopen): Call __open directly.
4560 (_IO_old_file_sync): Assume ESPIPE is defined.
4561 (_IO_old_file_write): Call __write directly.
4562 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
4563 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
4564 Call __fcntl directly.
4565 * libio/oldiofgetpos.c: Assume weak_alias is defined.
4566 (_IO_old_fgetpos): Assume EIO is defined.
4567 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
4568 (_IO_old_fgetpos64): Assume EIO is defined.
4569 * libio/oldiofsetpos.c: Assume weak_alias is defined.
4570 (_IO_old_fsetpos): Assume EIO is defined.
4571 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
4572 (_IO_old_fsetpos64): Assume EIO is defined.
4573 * libio/oldiopopen.c: Assume _LIBC is defined.
4574 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
4575 (_IO_close): Remove macro definitions.
4576 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
4578 (_IO_old_proc_close): Call __close, __waitpid directly.
4579 * libio/put.c: Assume weak_alias is defined.
4580 * libio/stdfiles.c: Assume _LIBC is defined.
4581 * libio/stdio.c: Likewise.
4582 * libio/wfileops.c: Likewise.
4583 (_IO_wfile_sync): Assume ESPIPE is defined.
4584 * libio/wgenops.c: Assume _LIBC is defined.
4585 (save_for_wbackup): Remove internal_function.
4587 2017-08-31 Florian Weimer <fweimer@redhat.com>
4589 * malloc/malloc.c (top_check): Change return type to void. Remove
4591 * malloc/hooks.c (top_check): Likewise.
4592 (malloc_check, realloc_check, memalign_check): Adjust.
4594 2017-08-30 Joseph Myers <joseph@codesourcery.com>
4597 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
4598 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
4599 sigcontext and namespace requirements.
4600 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
4601 * sysdeps/m68k/sys/ucontext.h: Likewise.
4602 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
4603 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
4604 <bits/sigcontext.h>.
4605 (__ctx): Define earlier.
4606 (mcontext_t): Define structure contents rather than using struct
4608 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
4609 __glibc_reserved1 instead of __reserved.
4610 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
4611 <bits/sigcontext.h>.
4612 (__ctx): Define earlier.
4613 (mcontext_t): Define structure contents rather than using struct
4615 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
4616 mcontext_t instead of struct sigcontext.
4617 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
4618 <bits/sigcontext.h>.
4619 (__ctx): Define earlier.
4620 (mcontext_t): Define structure contents rather than using struct
4622 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
4623 <bits/sigcontext.h>.
4624 (__ctx): Define earlier.
4625 (mcontext_t): Define structure contents rather than using struct
4627 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
4628 mcontext_t instead of struct sigcontext.
4629 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
4630 mcontext_t instead of struct sigcontext.
4631 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4632 <bits/sigcontext.h>.
4634 (struct __ia64_fpreg_mcontext): New type.
4635 (mcontext_t): Define structure contents rather than using struct
4637 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
4638 (uc_sigmask): Define using __ctx.
4639 (uc_stack): Likewise.
4640 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
4641 <bits/sigcontext.h>.
4642 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
4643 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
4644 <bits/sigcontext.h>.
4645 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
4646 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
4647 <bits/sigcontext.h>.
4648 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
4649 <bits/sigcontext.h>.
4650 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
4651 <bits/sigcontext.h>.
4652 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
4653 <bits/sigcontext.h>.
4654 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
4655 <bits/sigcontext.h>.
4656 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
4657 <bits/sigcontext.h>.
4658 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
4659 <bits/sigcontext.h>.
4660 (__ctx): Define earlier.
4661 (mcontext_t): Define structure contents rather than using struct
4663 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
4664 <bits/sigcontext.h>. Include <bits/types.h>.
4665 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
4666 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
4667 (test-xfail-XPG42/ucontext.h/conform): Likewise.
4668 (test-xfail-UNIX98/signal.h/conform): Likewise.
4669 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4670 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4671 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4672 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4673 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4674 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4675 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4676 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4677 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4679 2017-08-30 Florian Weimer <fweimer@redhat.com>
4681 * malloc/dynarray_emplace_enlarge.c
4682 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
4683 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4684 * malloc/tst-dynarray.c (test_long_overflow): New function.
4687 2017-08-30 Florian Weimer <fweimer@redhat.com>
4689 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
4690 (set_arena_corrupt): Remove definitions.
4691 (mtrim): Do not check for corrupt arena.
4692 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
4695 2017-08-30 Florian Weimer <fweimer@redhat.com>
4698 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
4700 (ptmalloc_init): Do not set or use check_action.
4701 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
4702 call to malloc_printerr. Remove return statement.
4703 (free_check): Likewise. Remove arena unlock.
4704 (top_check): Update comment. Adjust call to malloc_printerr.
4705 Remove heap repair code.
4706 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
4707 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
4708 (sysmalloc): Adjust call to malloc_printerr.
4709 (munmap_chunk, __libc_realloc): Likewise. Remove return
4711 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
4712 Remove errout label and corresponding gotos.
4713 (_int_free): Likewise. Remove arena unlock.
4714 (do_set_mallopt_check): Do not set check_action.
4715 (malloc_printerr): Adjust parameter list. Do not mark arena as
4717 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
4719 * manual/probes.texi (Memory Allocation Probes): Remove
4720 memory_mallopt_check_action.
4722 2017-08-30 Steve Ellcey <sellcey@cavium.com>
4724 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
4725 Use pointer to uint64_t instead of long int for sp.
4727 2017-08-30 Florian Weimer <fweimer@redhat.com>
4730 * malloc/malloc.c (malloc_printerr): Always terminate the process,
4731 without printing a backtrace. Do not leak any information in the
4733 * manual/memory.texi (Heap Consistency Checking): Update.
4734 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
4736 2017-08-30 Florian Weimer <fweimer@redhat.com>
4738 Do not scale NPTL tests with available number of CPUs.
4739 * nptl/tst-cond16.c (count): Set to constant value of 8.
4740 * nptl/tst-cond18.c (count): Likewise.
4742 2017-08-29 Joseph Myers <joseph@codesourcery.com>
4745 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
4746 Define to take a second argument that is a macro that
4747 concatentates a suffix, not the suffix itself.
4748 (__CONCAT_d): New macro.
4749 (__CONCAT_f): Likewise.
4750 (__CONCAT_l): Likewise.
4752 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
4754 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
4757 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4758 Aurelien Jarno <aurelien@aurel32.net>
4759 Maciej W. Rozycki <macro@imgtec.com>
4762 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
4763 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
4764 `mips16-syscall6' and `mips16-syscall7'.
4765 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
4766 (CFLAGS-mips16-syscall7.c): Remove.
4767 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
4768 Remove `__mips16_syscall5', `__mips16_syscall6' and
4769 `__mips16_syscall7'.
4770 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
4771 (__mips16_syscall0): Rename `__mips16_syscall_return' to
4772 `__mips_syscall_return'.
4773 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
4774 (__mips16_syscall1): Likewise.
4775 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
4776 (__mips16_syscall2): Likewise.
4777 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
4778 (__mips16_syscall3): Likewise.
4779 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
4780 (__mips16_syscall4): Likewise.
4781 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
4783 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
4785 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
4787 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
4788 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
4789 `__mips16_syscall5'. Remove prototype.
4790 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
4791 `__mips16_syscall6'. Remove prototype.
4792 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
4793 `__mips16_syscall7'. Remove prototype.
4794 (__nomips16, __mips16_syscall_return): Move to...
4795 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
4796 (__nomips16, __mips_syscall_return): ... here.
4797 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
4798 `__mips16_syscall_return' to `__mips_syscall_return'.
4799 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
4800 `internal_syscall##nr'.
4801 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
4802 `internal_syscall##nr'.
4803 (FORCE_FRAME_POINTER): Remove.
4804 (__mips_syscall5): New prototype.
4805 (internal_syscall5): Rewrite to call `__mips_syscall5'.
4806 (__mips_syscall6): New prototype.
4807 (internal_syscall6): Rewrite to call `__mips_syscall6'.
4808 (__mips_syscall7): New prototype.
4809 (internal_syscall7): Rewrite to call `__mips_syscall7'.
4810 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
4811 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
4812 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
4813 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
4814 (sysdep_routines): Add libc-do-syscall.
4815 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
4816 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
4818 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4821 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
4822 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
4823 (advise_stack_range): New function.
4824 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
4825 stack non required to advise_stack_range at allocatestack.c
4827 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
4829 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
4831 2017-08-29 Florian Weimer <fweimer@redhat.com>
4834 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
4835 __end_fct. Mangle __end_fct after setting it to NULL.
4836 * iconv/Makefile (tests): Add tst-gconv-init-failure.
4837 (modules-names, modules-names-tests): Add
4838 tst-gconv-init-failure-mod.
4839 (gconv-modules): New target.
4840 (tst-gconv-init-failure-mod.so): Link against libsupport.
4841 (tst-gconv-init-failure): Depend on gconv-modules,
4842 tst-gconv-init-failure-mod.so.
4843 * iconv/tst-gconv-init-failure-mod.c: New file.
4844 * iconv/tst-gconv-init-failure.c: Likewise.
4845 * iconv/test-gconv-modules: Likewise.
4847 2017-08-29 Florian Weimer <fweimer@redhat.com>
4850 * iconv/gconv_db.c (free_derivation): Remove redundant
4852 (gen_steps): Unconditionally mangle __btowc_fct after
4854 (increment_counter): Likewise. Do not call init_fct for internal
4857 2017-08-29 Joseph Myers <joseph@codesourcery.com>
4860 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
4861 (_MSUF_): Remove macro.
4862 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
4864 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
4865 (__REDIRFROM_X): New macro.
4866 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
4868 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
4869 (__REDIRTO_X): Likewise.
4870 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
4872 (__MATH_REDIRCALL_2): Likewise.
4873 (__MATH_REDIRCALL_INTERNAL): Likewise.
4874 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
4875 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
4876 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
4877 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
4878 * math/test-finite-macros.c: New file.
4879 * math/Makefile (tests): Add test-finite-macros.
4880 (CFLAGS-test-finite-macros.c): New variable.
4882 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
4883 Jeff Law <law@redhat.com>
4886 Mangle NULL pointers in iconv/gconv.
4887 * iconv/gconv_cache.c (find_module): Demangle init_fct before
4888 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
4889 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
4890 is non-NULL before demangling the end_fct. Check for NULL
4891 end_fct after demangling.
4892 (__gconv_release_step): Demangle the end_fct before checking
4893 it for NULL. Remove assert on __shlibc_handle != NULL.
4894 (gen_steps): Don't check btowc_fct for NULL before mangling.
4895 Demangle init_fct before checking for NULL.
4896 (increment_counter): Likewise.
4897 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
4898 end_fct for NULL before mangling.
4899 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
4902 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
4905 * locale/iso-639.def: add Morisyen.
4907 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4910 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
4911 (iszero): New C++ implementation that does not use
4912 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
4913 signaling nans are enabled, since __builtin_types_compatible_p
4914 is a C-only feature.
4915 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
4916 defined, include ieee754_float128.h for access to the union and
4917 member ieee854_float128.ieee.
4918 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
4919 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
4920 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
4921 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
4922 options of test-math-zero on powerpc64le.
4924 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
4926 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
4927 Change double to float.
4929 2017-08-28 Joseph Myers <joseph@codesourcery.com>
4931 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
4933 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
4934 conditional code; define contents only for [LIBM_SVID_COMPAT].
4936 2017-08-28 Florian Weimer <fweimer@redhat.com>
4938 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
4939 (abi-lp64_be-options): Remove.
4940 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
4941 (abi-hard-options): Likewise.
4942 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
4943 (abi-o32_hard-options, abi-o32_soft_2008-options)
4944 (abi-o32_hard_2008-options, abi-n32_soft-options)
4945 (abi-n32_hard-options, abi-n32_soft_2008-options)
4946 (abi-n32_hard_2008-options, abi-n64_soft-options)
4947 (abi-n64_hard-options, abi-n64_soft_2008-options)
4948 (abi-n64_hard_2008-options): Likewise.
4949 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
4950 (abi-64-v1-options, abi-64-v2-options): Likewise.
4951 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
4952 (abi-64-options): Likewise.
4953 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
4954 (abi-64-options): Likewise.
4955 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
4956 (abi-64-options): Likewise.
4957 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
4958 (abi-64-options, abi-x32-options): Likewise.
4960 2017-08-28 Florian Weimer <fweimer@redhat.com>
4962 Store supported list of SYS_* system calls in the source tree.
4963 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4964 (bits/syscall.h): Generate from list file.
4965 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
4966 [$(subdir) = misc] (tests): Add tst-syscall-list.
4967 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
4968 [$(subdir) = misc] (tst-syscall-list-macros.list)
4969 [$(subdir) = misc] (tst-syscall-list-nr.list)
4970 (tst-syscall-list-sys.list): Helper targets for new
4971 tst-syscall-list test.
4972 [$(subdir) = misc] (tst-syscall-list.out): Run test script
4973 tst-syscall-list.sh.
4974 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
4975 target. Do not include bits/syscall.d.
4976 [$(subdir) = misc] (generated): Do not update.
4977 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
4978 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
4979 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
4980 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
4982 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4984 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
4985 (tst-cxa_atexit, tst-on_exit): Likewise.
4986 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
4987 tst-cxa_atexit, and tst-on_exit.
4988 * stdlib/tst-atexit-common.c: New file.
4989 * stdlib/tst-atexit.c: New file.
4990 * stdlib/tst-at_quick_exit.c: New file.
4991 * stdlib/tst-cxa_atexit.c: New file.
4992 * stdlib/tst-on_exit.c: New file.
4994 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4996 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
4997 * mach/stack_chk_fail_local.c: New file.
4998 * hurd/stack_chk_fail_local.c: New file.
4999 * mach/Machrules ($(interface-library)-routines): Add
5000 stack_chk_fail_local.
5001 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
5002 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
5003 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
5004 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
5005 * hurd/Makefile (CFLAGS-hurdstartup.o,
5006 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
5008 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
5010 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
5011 (index_cpu_*, index_arch_*): Removed.
5013 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5015 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
5016 Use uint64_t instead of unsigned long.
5018 2017-08-25 Joseph Myers <joseph@codesourcery.com>
5020 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
5021 [__HAVE_DISTINCT_FLOAT128].
5023 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
5024 of <bits/math-finite.h>.
5025 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
5026 inclusion of <bits/math-finite.h>.
5027 * math/bits/math-finite.h (__REDIRTO_X): Do not define
5028 conditionally on [__MATH_DECLARING_LDOUBLE && defined
5029 __NO_LONG_DOUBLE_MATH].
5030 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
5031 (__MATH_REDIRCALL_2): Likewise.
5032 (__MATH_REDIRCALL_INTERNAL): Likewise.
5033 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
5034 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
5035 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
5037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
5039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
5041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
5043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
5045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
5047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
5049 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5050 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5051 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5052 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
5054 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
5055 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
5056 w_sqrtf_compat-ppc32.
5058 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5060 * math/math.h [defined __cplusplus] (issignaling): In the long
5061 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
5062 is not defined. Call __issignaling, otherwise.
5064 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5066 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
5067 syscall definitions and replace __builtin_expect with __glibc_likely.
5068 * sysdeps/unix/syscall-template.S: Update comment about cancellable
5070 (SYSCALL_CANCELLABLE): Removedefinition
5071 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
5073 (PSEUDO_END): Likewise.
5074 [IS_IN (libpthread)] (CENABLE): Likewise.
5075 [IS_IN (libpthread)] (CDISABLE): Likewise.
5076 [IS_IN (libc)] (CENABLE): Likewise.
5077 [IS_IN (libc)] (CENABLE): Likewise.
5078 [IS_IN (librt)] (CDISABLE): Likewise.
5079 [IS_IN (librt)] (CDISABLE): Likewise.
5080 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5081 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
5083 (PSEUDO_END): Likewise.
5084 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
5085 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
5086 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
5087 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
5088 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
5089 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
5090 (CENABLE): Likewise.
5091 (CDISABLE): Likewise.
5092 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5093 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
5095 (PSEUDO_END): Likewise.
5096 [IS_IN (libpthread)] (CENABLE): Likewise.
5097 [IS_IN (libpthread)] (CDISABLE): Likewise.
5098 [IS_IN (libc)] (CENABLE): Likewise.
5099 [IS_IN (libc)] (CENABLE): Likewise.
5100 [IS_IN (librt)] (CDISABLE): Likewise.
5101 [IS_IN (librt)] (CDISABLE): Likewise.
5102 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5103 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
5105 (PSEUDO_END): Likewise.
5106 [IS_IN (libpthread)] (CENABLE): Likewise.
5107 [IS_IN (libpthread)] (CDISABLE): Likewise.
5108 [IS_IN (libc)] (CENABLE): Likewise.
5109 [IS_IN (libc)] (CENABLE): Likewise.
5110 [IS_IN (librt)] (CDISABLE): Likewise.
5111 [IS_IN (librt)] (CDISABLE): Likewise.
5112 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5113 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
5115 (PSEUDO_END): Likewise.
5116 [IS_IN (libpthread)] (CENABLE): Likewise.
5117 [IS_IN (libpthread)] (CDISABLE): Likewise.
5118 [IS_IN (libc)] (CENABLE): Likewise.
5119 [IS_IN (libc)] (CENABLE): Likewise.
5120 [IS_IN (librt)] (CDISABLE): Likewise.
5121 [IS_IN (librt)] (CDISABLE): Likewise.
5122 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5123 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
5125 (PSEUDO_END): Likewise.
5126 [IS_IN (libpthread)] (CENABLE): Likewise.
5127 [IS_IN (libpthread)] (CDISABLE): Likewise.
5128 [IS_IN (libc)] (CENABLE): Likewise.
5129 [IS_IN (libc)] (CENABLE): Likewise.
5130 [IS_IN (librt)] (CDISABLE): Likewise.
5131 [IS_IN (librt)] (CDISABLE): Likewise.
5132 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5133 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
5135 (PSEUDO_END): Likewise.
5136 [IS_IN (libpthread)] (CENABLE): Likewise.
5137 [IS_IN (libpthread)] (CDISABLE): Likewise.
5138 [IS_IN (libc)] (CENABLE): Likewise.
5139 [IS_IN (libc)] (CENABLE): Likewise.
5140 [IS_IN (librt)] (CDISABLE): Likewise.
5141 [IS_IN (librt)] (CDISABLE): Likewise.
5142 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5143 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
5145 (PSEUDO_END): Likewise.
5146 [IS_IN (libpthread)] (CENABLE): Likewise.
5147 [IS_IN (libpthread)] (CDISABLE): Likewise.
5148 [IS_IN (libc)] (CENABLE): Likewise.
5149 [IS_IN (libc)] (CENABLE): Likewise.
5150 [IS_IN (librt)] (CDISABLE): Likewise.
5151 [IS_IN (librt)] (CDISABLE): Likewise.
5152 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5153 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
5155 (PSEUDO_END): Likewise.
5156 [IS_IN (libpthread)] (CENABLE): Likewise.
5157 [IS_IN (libpthread)] (CDISABLE): Likewise.
5158 [IS_IN (libc)] (CENABLE): Likewise.
5159 [IS_IN (libc)] (CENABLE): Likewise.
5160 [IS_IN (librt)] (CDISABLE): Likewise.
5161 [IS_IN (librt)] (CDISABLE): Likewise.
5162 (SINGLE_THREAD_P): Likewise.
5163 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
5165 (PSEUDO_END): Likewise.
5166 [IS_IN (libpthread)] (CENABLE): Likewise.
5167 [IS_IN (libpthread)] (CDISABLE): Likewise.
5168 [IS_IN (libc)] (CENABLE): Likewise.
5169 [IS_IN (libc)] (CENABLE): Likewise.
5170 [IS_IN (librt)] (CDISABLE): Likewise.
5171 [IS_IN (librt)] (CDISABLE): Likewise.
5172 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5173 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
5175 (PSEUDO_END): Likewise.
5176 [IS_IN (libpthread)] (CENABLE): Likewise.
5177 [IS_IN (libpthread)] (CDISABLE): Likewise.
5178 [IS_IN (libc)] (CENABLE): Likewise.
5179 [IS_IN (libc)] (CENABLE): Likewise.
5180 [IS_IN (librt)] (CDISABLE): Likewise.
5181 [IS_IN (librt)] (CDISABLE): Likewise.
5182 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5183 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
5184 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5185 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
5186 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
5188 (PSEUDO_END): Likewise.
5189 [IS_IN (libpthread)] (CENABLE): Likewise.
5190 [IS_IN (libpthread)] (CDISABLE): Likewise.
5191 [IS_IN (libc)] (CENABLE): Likewise.
5192 [IS_IN (libc)] (CENABLE): Likewise.
5193 [IS_IN (librt)] (CDISABLE): Likewise.
5194 [IS_IN (librt)] (CDISABLE): Likewise.
5195 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5196 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
5198 (PSEUDO_END): Likewise.
5199 [IS_IN (libpthread)] (CENABLE): Likewise.
5200 [IS_IN (libpthread)] (CDISABLE): Likewise.
5201 [IS_IN (libc)] (CENABLE): Likewise.
5202 [IS_IN (libc)] (CENABLE): Likewise.
5203 [IS_IN (librt)] (CDISABLE): Likewise.
5204 [IS_IN (librt)] (CDISABLE): Likewise.
5205 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5206 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
5208 (PSEUDO_END): Likewise.
5209 [IS_IN (libpthread)] (CENABLE): Likewise.
5210 [IS_IN (libpthread)] (CDISABLE): Likewise.
5211 [IS_IN (libc)] (CENABLE): Likewise.
5212 [IS_IN (libc)] (CENABLE): Likewise.
5213 [IS_IN (librt)] (CDISABLE): Likewise.
5214 [IS_IN (librt)] (CDISABLE): Likewise.
5215 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5216 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
5217 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5218 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
5219 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
5221 (PSEUDO_END): Likewise.
5222 [IS_IN (libpthread)] (CENABLE): Likewise.
5223 [IS_IN (libpthread)] (CDISABLE): Likewise.
5224 [IS_IN (libc)] (CENABLE): Likewise.
5225 [IS_IN (libc)] (CENABLE): Likewise.
5226 [IS_IN (librt)] (CDISABLE): Likewise.
5227 [IS_IN (librt)] (CDISABLE): Likewise.
5228 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5229 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
5231 (PSEUDO_END): Likewise.
5232 [IS_IN (libpthread)] (CENABLE): Likewise.
5233 [IS_IN (libpthread)] (CDISABLE): Likewise.
5234 [IS_IN (libc)] (CENABLE): Likewise.
5235 [IS_IN (libc)] (CENABLE): Likewise.
5236 [IS_IN (librt)] (CDISABLE): Likewise.
5237 [IS_IN (librt)] (CDISABLE): Likewise.
5238 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5240 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
5242 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
5244 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
5246 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5248 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
5251 * string/stratcliff.c (do_test): Declare size, nchars, inner,
5252 middle and outer with size_t instead of int. Repleace %d and
5253 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
5254 "MAX (outer, nchars - 64)" to support unsigned outer and
5255 nchars. Also exit loop when outer == 0.
5257 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5259 * include/fcntl.h (__fcntl_nocancel): Remove definition.
5260 * include/signal.h (__sigsuspend_nocancel): Likewise.
5261 * include/time.h (__nanosleep_nocancel): Likewise.
5262 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
5263 * login/utmp_file.c: Include non cancellable syscall header.
5264 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
5267 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
5269 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
5270 .byte sequences with AVX512F instructions.
5271 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
5272 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
5273 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
5274 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
5276 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
5279 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
5280 Steve Ellcey <sellcey@cavium.com>
5282 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
5283 Use PTR_REG macro in cmp instruction.
5285 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5287 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
5288 Change the return type of the ifunc resolver to match the return
5289 type of the target function.
5291 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5293 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
5294 (preadv64): Likewise.
5295 (pwrite64(: Likewise.
5296 (pwritev64): Likewise.
5298 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5299 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
5300 (LOAD_ARGS_0): Likewise.
5301 (LOAD_ARGS_1): Likewise.
5302 (LOAD_ARGS_2): Likewise.
5303 (LOAD_ARGS_3): Likewise.
5304 (LOAD_ARGS_4): Likewise.
5305 (LOAD_ARGS_5): Likewise.
5306 (LOAD_ARGS_6): Likewise.
5307 (LOAD_REGS_0): Likewise.
5308 (LOAD_REGS_1): Likewise.
5309 (LOAD_REGS_2): Likewise.
5310 (LOAD_REGS_3): Likewise.
5311 (LOAD_REGS_4): Likewise.
5312 (LOAD_REGS_5): Likewise.
5313 (LOAD_REGS_6): Likewise.
5314 (ASM_ARGS_0): Likewise.
5315 (ASM_ARGS_1): Likewise.
5316 (ASM_ARGS_2): Likewise.
5317 (ASM_ARGS_3): Likewise.
5318 (ASM_ARGS_4): Likewise.
5319 (ASM_ARGS_5): Likewise.
5320 (ASM_ARGS_6): Likewise.
5321 (LOAD_ARGS_TYPES_1): Likewise.
5322 (LOAD_ARGS_TYPES_2): Likewise.
5323 (LOAD_ARGS_TYPES_3): Likewise.
5324 (LOAD_ARGS_TYPES_4): Likewise.
5325 (LOAD_ARGS_TYPES_5): Likewise.
5326 (LOAD_ARGS_TYPES_6): Likewise.
5327 (LOAD_REGS_TYPES_1): Likewise.
5328 (LOAD_REGS_TYPES_2): Likewise.
5329 (LOAD_REGS_TYPES_3): Likewise.
5330 (LOAD_REGS_TYPES_4): Likewise.
5331 (LOAD_REGS_TYPES_5): Likewise.
5332 (LOAD_REGS_TYPES_6): Likewise.
5333 (TYPEFY): New define.
5335 (internal_syscall0): Likewise.
5336 (internal_syscall1): Likewise.
5337 (internal_syscall2): Likewise.
5338 (internal_syscall3): Likewise.
5339 (internal_syscall4): Likewise.
5340 (internal_syscall5): Likewise.
5341 (internal_syscall6): Likewise.
5342 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
5343 (INTERNAL_SYSCALL_NCS): Remove define.
5344 (internal_syscall1): Add define.
5346 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5348 * math/w_remainder_compat.c: Remove duplicate inclusion of
5350 * math/w_remainderf_compat.c: Likewise.
5351 * math/w_remainderl_compat.c: Likewise.
5353 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5357 2017-08-22 Joseph Myers <joseph@codesourcery.com>
5360 * math/tgmath.h (__floating_type): Simplify definitions.
5361 (__real_integer_type): New macro.
5362 (__complex_integer_type): Likewise.
5363 (__expr_is_real): Likewise.
5364 (__tgmath_real_type_sub): Update comment to describe handling of
5366 (__tgmath_complex_type_sub): New macro.
5367 (__tgmath_complex_type): Likewise.
5368 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5369 (__TGMATH_CF128): Use __expr_is_real.
5370 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
5372 (__TGMATH_BINARY_REAL_IMAG): Likewise.
5373 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
5374 * math/gen-tgmath-tests.py (Type.create_type): Create complex
5377 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5379 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
5381 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
5383 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
5386 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
5387 nanosleep_not_cancel with __nanosleep_nocancel.
5388 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
5389 (__nanosleep_nocancel): New macro.
5390 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
5392 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
5394 (__nanosleep_nocancel): New prototype.
5396 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
5397 pause_not_cancel with __pause_nocancel.
5398 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
5399 (__pause_nocancel): New macro.
5400 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
5402 (__pause_nocancel): New prototype.
5403 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
5405 2017-08-22 Martin Sebor <msebor@redhat.com>
5407 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
5408 to return a pointer to the same type as the target function.
5410 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
5414 * include/printf.h (__printf_fphex): Add attribute_hidden.
5415 (__guess_grouping): New prototype.
5416 * stdio-common/printf_fp.c (__guess_grouping): Removed.
5417 * stdio-common/reg-printf.c (__register_printf_specifier): Add
5418 libc_hidden_proto and libc_hidden_def.
5419 * stdlib/strfmon_l.c (__guess_grouping): Removed.
5420 (__vstrfmon_l): Remove the third argument passed to
5423 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5425 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
5426 definition for issignaling that does not rely on __MATH_TG,
5427 since __MATH_TG uses __builtin_types_compatible_p, which is only
5428 available in C mode.
5429 (CFLAGS-test-math-issignaling.cc): New variable.
5430 * math/Makefile [CXX] (tests): Add test-math-issignaling.
5431 * math/test-math-issignaling.cc: New test for C++ implementation
5432 of type-generic issignaling.
5433 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
5434 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
5435 options of test-math-issignaling on powerpc64le.
5437 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
5439 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
5441 (hidden_proto): Likewise.
5442 (hidden_tls_proto): Likewise.
5443 (__hidden_proto): Likewise.
5445 2017-08-22 Florian Weimer <fweimer@redhat.com>
5447 math: Statically link tests of internal functionality.
5448 * math/Makefile (tests): Remove atest-exp, atest-sincos,
5450 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
5451 (gmp-objs): Remove assignment.
5452 (atest-exp, atest-sincos, atest-exp2): Remove targets.
5454 2017-08-22 Joseph Myers <joseph@codesourcery.com>
5457 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
5459 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
5461 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
5464 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
5465 variable definitions above inclusion of ../Rules.
5467 2017-08-21 Joseph Myers <joseph@codesourcery.com>
5469 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
5470 case calling __builtin_unreachable.
5472 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5474 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
5476 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
5477 (__waitpid_nocancel): New macro.
5478 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
5480 (__waitpid_nocancel): Replace macro with a function.
5481 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
5484 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
5486 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
5487 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
5489 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
5490 __writev_nocancel_nostatus.
5491 (write_call_graph): Likewise.
5492 (write_bb_counts): Likewise.
5493 * resolv/herror.c (herror): Likewise.
5494 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
5496 (__writev_nocancel_nostatus): New macro.
5497 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
5499 (__writev_nocancel_nostatus): New function.
5501 2017-08-21 Joseph Myers <joseph@codesourcery.com>
5504 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5506 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
5508 (hidden_proto): Likewise.
5509 (hidden_tls_proto): Likewise.
5510 (__hidden_proto): Likewise.
5513 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
5514 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
5515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
5517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
5519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
5521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
5523 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
5524 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
5525 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
5526 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
5527 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5528 GLIBC_2.0 sqrtl symbol.
5530 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
5531 [__USE_MISC] (_LIB_VERSION): Likewise.
5532 [__USE_MISC] (struct exception): Likewise.
5533 [__USE_MISC] (matherr): Likewise.
5534 [__USE_MISC] (DOMAIN): Likewise.
5535 [__USE_MISC] (SING): Likewise.
5536 [__USE_MISC] (OVERFLOW): Likewise.
5537 [__USE_MISC] (UNDERFLOW): Likewise.
5538 [__USE_MISC] (TLOSS): Likewise.
5539 [__USE_MISC] (PLOSS): Likewise.
5540 [__USE_MISC] (HUGE): Likewise.
5541 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
5542 * math/math-svid-compat.h: New file.
5543 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
5545 * include/math.h [!_ISOMAC] (__matherr): Remove.
5546 * manual/arith.texi (FP Exceptions): Do not document matherr.
5547 * math/Makefile (tests): Change test-matherr to test-matherr-3.
5548 (tests-internal): New variable.
5549 (install-lib): Do not add libieee.a.
5550 (non-lib.a): Likewise.
5551 (extra-objs): Do not add libieee.a and ieee-math.o.
5552 (CPPFLAGS-s_lib_version.c): Remove variable.
5553 ($(objpfx)libieee.a): Remove rule.
5554 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
5555 * math/ieee-math.c: Remove.
5556 * math/libm-test-support.c (matherr): Remove.
5557 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
5558 and license notices. Include <math-svid-compat.h> and
5560 (matherr): Undefine as macro. Use compat_symbol_reference.
5561 (_LIB_VERSION): Likewise.
5562 * math/test-matherr-2.c: New file.
5563 * math/test-matherr-3.c: Likewise.
5564 * sysdeps/generic/math_private.h (__kernel_standard): Remove
5566 (__kernel_standard_f): Likewise.
5567 (__kernel_standard_l): Likewise.
5568 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
5569 <math_private.h>. Include <math-svid-compat.h>.
5570 (_LIB_VERSION): Undefine as macro.
5571 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
5572 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
5573 [LIBM_SVID_COMPAT], use compat_symbol.
5574 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
5575 <math_private.h>. Include <math-svid-compat.h>.
5576 (matherr): Undefine as macro.
5577 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
5579 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
5580 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
5581 compat_symbol_reference.
5582 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
5583 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
5584 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
5585 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
5586 (MATHERR_D): Remove declaration.
5587 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
5588 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
5589 [LIBM_BUILD] (pmatherrf): Likewise.
5590 [LIBM_BUILD] (pmatherr): Likewise.
5591 [LIBM_BUILD] (pmatherrl): Likewise.
5594 (OVERFLOW): Likewise.
5595 (UNDERFLOW): Likewise.
5598 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
5599 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
5601 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
5602 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
5604 * math/lgamma-compat.h: Include <math-svid-compat.h>.
5605 * math/w_acos_compat.c: Likewise.
5606 * math/w_acosf_compat.c: Likewise.
5607 * math/w_acosh_compat.c: Likewise.
5608 * math/w_acoshf_compat.c: Likewise.
5609 * math/w_acoshl_compat.c: Likewise.
5610 * math/w_acosl_compat.c: Likewise.
5611 * math/w_asin_compat.c: Likewise.
5612 * math/w_asinf_compat.c: Likewise.
5613 * math/w_asinl_compat.c: Likewise.
5614 * math/w_atan2_compat.c: Likewise.
5615 * math/w_atan2f_compat.c: Likewise.
5616 * math/w_atan2l_compat.c: Likewise.
5617 * math/w_atanh_compat.c: Likewise.
5618 * math/w_atanhf_compat.c: Likewise.
5619 * math/w_atanhl_compat.c: Likewise.
5620 * math/w_cosh_compat.c: Likewise.
5621 * math/w_coshf_compat.c: Likewise.
5622 * math/w_coshl_compat.c: Likewise.
5623 * math/w_exp10_compat.c: Likewise.
5624 * math/w_exp10f_compat.c: Likewise.
5625 * math/w_exp10l_compat.c: Likewise.
5626 * math/w_exp2_compat.c: Likewise.
5627 * math/w_exp2f_compat.c: Likewise.
5628 * math/w_exp2l_compat.c: Likewise.
5629 * math/w_fmod_compat.c: Likewise.
5630 * math/w_fmodf_compat.c: Likewise.
5631 * math/w_fmodl_compat.c: Likewise.
5632 * math/w_hypot_compat.c: Likewise.
5633 * math/w_hypotf_compat.c: Likewise.
5634 * math/w_hypotl_compat.c: Likewise.
5635 * math/w_j0_compat.c: Likewise.
5636 * math/w_j0f_compat.c: Likewise.
5637 * math/w_j0l_compat.c: Likewise.
5638 * math/w_j1_compat.c: Likewise.
5639 * math/w_j1f_compat.c: Likewise.
5640 * math/w_j1l_compat.c: Likewise.
5641 * math/w_jn_compat.c: Likewise.
5642 * math/w_jnf_compat.c: Likewise.
5643 * math/w_jnl_compat.c: Likewise.
5644 * math/w_lgamma_main.c: Likewise.
5645 * math/w_lgamma_r_compat.c: Likewise.
5646 * math/w_lgammaf_main.c: Likewise.
5647 * math/w_lgammaf_r_compat.c: Likewise.
5648 * math/w_lgammal_main.c: Likewise.
5649 * math/w_lgammal_r_compat.c: Likewise.
5650 * math/w_log10_compat.c: Likewise.
5651 * math/w_log10f_compat.c: Likewise.
5652 * math/w_log10l_compat.c: Likewise.
5653 * math/w_log2_compat.c: Likewise.
5654 * math/w_log2f_compat.c: Likewise.
5655 * math/w_log2l_compat.c: Likewise.
5656 * math/w_log_compat.c: Likewise.
5657 * math/w_logf_compat.c: Likewise.
5658 * math/w_logl_compat.c: Likewise.
5659 * math/w_pow_compat.c: Likewise.
5660 * math/w_powf_compat.c: Likewise.
5661 * math/w_powl_compat.c: Likewise.
5662 * math/w_remainder_compat.c: Likewise.
5663 * math/w_remainderf_compat.c: Likewise.
5664 * math/w_remainderl_compat.c: Likewise.
5665 * math/w_scalb_compat.c: Likewise.
5666 * math/w_scalbf_compat.c: Likewise.
5667 * math/w_scalbl_compat.c: Likewise.
5668 * math/w_sinh_compat.c: Likewise.
5669 * math/w_sinhf_compat.c: Likewise.
5670 * math/w_sinhl_compat.c: Likewise.
5671 * math/w_sqrt_compat.c: Likewise.
5672 * math/w_sqrtf_compat.c: Likewise.
5673 * math/w_sqrtl_compat.c: Likewise.
5674 * math/w_tgamma_compat.c: Likewise.
5675 * math/w_tgammaf_compat.c: Likewise.
5676 * math/w_tgammal_compat.c: Likewise.
5677 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
5678 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
5679 * sysdeps/ieee754/k_standard.c: Likewise.
5680 * sysdeps/ieee754/k_standardf.c: Likewise.
5681 * sysdeps/ieee754/k_standardl.c: Likewise.
5682 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
5683 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
5684 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
5685 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5686 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5687 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5688 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5689 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
5690 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
5691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
5693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
5695 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
5696 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
5697 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
5698 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
5700 2017-08-21 Florian Weimer <fweimer@redhat.com>
5703 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
5704 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
5705 Move before inclusion of ../Rules.
5707 2017-08-21 Florian Weimer <fweimer@redhat.com>
5710 * assert/assert.h (assert): Use static_cast (bool) for C++.
5711 Use the ternary operator in the warning branch for GNU C.
5712 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
5713 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
5714 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
5715 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
5716 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
5718 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5721 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5722 (__syscall_clock_gettime): Add attribute_hidden.
5723 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
5724 (__start_context): Likewise.
5726 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5728 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
5730 (hidden_proto): Likewise.
5731 (hidden_tls_proto): Likewise.
5732 (__hidden_proto): Likewise.
5734 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5736 * include/libc-symbols.h (attribute_hidden): Enable hidden
5737 visibility in libc.a compiled with PIE.
5739 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5742 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
5743 Add attribute_hidden.
5745 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5748 * Makerules (all-nonlib): Add $(others-extras).
5749 * catgets/Makefile (others-extras): New.
5750 * elf/Makefile (others-extras): Likewise.
5751 * nss/Makefile (others-extras): Likewise.
5753 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5756 * csu/libc-start.c (__libc_multiple_libcs): Removed.
5757 * elf/dl-open.c: Include <libc-internal.h>.
5758 (__libc_multiple_libcs): Removed.
5759 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
5761 * include/libc-internal.h (__libc_multiple_libcs): New.
5762 * misc/sbrk.c: Include <libc-internal.h>.
5763 (__libc_multiple_libcs): Removed.
5765 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5768 * grp/initgroups.c (__nss_group_database): Removed.
5769 (__nss_initgroups_database): Likewise.
5770 * nscd/gai.c (__nss_hosts_database): Likewise.
5771 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
5772 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
5773 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
5774 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
5775 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
5776 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
5778 * nss/nsswitch.c (__nss_database_custom): Define only if
5779 USE_NSCD is defined.
5780 (__nss_configure_lookup): Use __nss_database_custom only if
5781 USE_NSCD is defined.
5782 * nss/nsswitch.h (__nss_database_custom): Declare only if
5783 USE_NSCD is defined. Add attribute_hidden.
5784 (__nss_setent): Add attribute_hidden.
5785 (__nss_endent): Likewise.
5786 (__nss_getent_r): Likewise.
5787 (__nss_getent): Likewise.
5788 (DEFINE_DATABASE): Declare __nss_##arg##_database.
5790 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
5793 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
5794 libc_hidden_proto and libc_hidden_def.
5796 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
5799 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
5800 Add libc_hidden_proto.
5801 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
5802 Add libc_hidden_def.
5804 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
5807 * gmon/Makefile (routines): Remove bb_init_func and
5809 (elide-routines.os): Removed.
5810 * gmon/bb_exit_func.c: Likewise.
5811 * gmon/bb_init_func.c: Likewise.
5812 * include/sys/gmon.h (__bb): Likewise.
5813 (__bb_init_func): Likewise.
5814 (__bb_exit_func): Likewise.
5815 * sysdeps/alpha/bb_init_func.S: Likewise.
5817 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
5819 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
5820 * include/setjmp.h (____longjmp_chk): Here. Add
5823 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
5826 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
5828 (__strspn_sse2): Likewise.
5830 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5832 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
5833 (close_not_cancel_no_status): Likewise.
5834 (__close_nocancel): New macro.
5835 (__close_nocancel_nostatus): Likewise.
5836 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
5838 (close_not_cancel): Likewise.
5839 (close_not_cancel_no_status): Likewise.
5840 (__close_nocancel): New prototype.
5841 (__close_nocancel_nostatus): New function.
5842 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
5843 * catgets/open_catalog.c (__open_catalog): Replace
5844 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
5845 * gmon/gmon.c (write_gmon): Likewise.
5846 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5847 * intl/loadmsgcat.c (close): Likewise.
5848 * io/ftw.c (open_dir_stream): Likewise.
5849 (ftw_startup): Likewise.
5850 * libio/fileops.c (_IO_file_open): Likewise.
5851 (_IO_file_close_mmap): Likewise.
5852 (_IO_file_close): Likewise.
5853 * libio/iopopen.c (_IO_dup2): Likewise.
5854 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5855 * locale/loadlocale.c (_nl_load_locale): Likewise.
5856 * login/utmp_file.c (pututline_file): Likewise.
5857 (endutent_file): Likewise.
5858 * misc/daemon.c (daemon): Likewise.
5859 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5860 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5861 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
5862 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5863 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5864 * nscd/nscd_helper.c (open_socket): Likewise.
5865 (__nscd_open_socket): Likewise.
5866 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5867 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
5868 (__nscd_innetgr): Likewise.
5869 * nss/nss_db/db-open.c (internal_setent): Likewise.
5870 * resolv/res-close.c (__res_iclose): Likewise.
5871 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
5872 * sysdeps/posix/closedir.c (__closedir): Likewise.
5873 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
5874 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
5875 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
5876 (opendir_tail): Likewise.
5877 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
5878 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
5879 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5880 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
5881 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
5882 (gethostid): Likewise.
5883 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
5884 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5886 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5887 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
5888 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
5889 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
5891 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
5892 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
5893 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
5895 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
5896 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
5898 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
5900 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5901 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
5902 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
5905 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
5906 (openat_not_cancel_3): Likewise.
5907 (openat64_not_cancel_3): Likewise).
5908 (openat_not_cancel_3): Likewise).
5909 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
5911 (openat_not_cancel_3): Likewise.
5912 (openat64_not_cancel): Likewise.
5913 (openat64_not_cancel_3): Likewise.
5914 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
5915 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
5916 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
5917 __open{64}_nocancel.
5918 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
5919 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
5920 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5922 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
5925 * include/argz.h (__argz_create_sep): New function prototype.
5926 (__argz_append): Likewise.
5927 (__argz_add): Likewise.
5928 (__argz_add_sep): Likewise.
5929 (__argz_delete): Likewise.
5930 (__argz_insert): Likewise.
5931 (__argz_replace): Likewise.
5932 * string/argz.h (__argz_create_sep): Removed.
5933 (__argz_append): Likewise.
5934 (__argz_add): Likewise.
5935 (__argz_add_sep): Likewise.
5936 (__argz_delete): Likewise.
5937 (__argz_insert): Likewise.
5938 (__argz_replace): Likewise.
5940 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
5942 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
5943 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
5944 (GNU_PROPERTY_STACK_SIZE): Likewie.
5945 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
5946 (GNU_PROPERTY_LOPROC): Likewise.
5947 (GNU_PROPERTY_HIPROC): Likewise.
5948 (GNU_PROPERTY_LOUSER): Likewise.
5949 (GNU_PROPERTY_HIUSER): Likewise.
5950 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
5951 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
5952 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
5953 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
5954 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
5955 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
5956 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
5957 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
5958 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
5959 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
5960 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
5961 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
5962 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
5963 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
5964 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
5965 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
5966 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
5967 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
5968 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
5969 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
5970 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
5971 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
5972 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
5974 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5976 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
5979 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5982 * math/math.h (isinf): Check if in C or C++ mode before using
5983 __builtin_types_compatible_p, since this is a C mode feature.
5985 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5987 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
5988 (__write_nocancel): New macro.
5989 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
5990 Rewrite as a function prototype.
5991 (write_not_cancel): Remove macro.
5992 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
5993 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
5994 (write_gmon): Likewise.
5995 * libio/fileops.c (_IO_new_file_write): Likewise.
5996 * login/utmp_file.c (pututline_file): Likewise.
5997 (updwtmp_file): Likewise.
5998 * stdio-common/psiginfo.c (psiginfo): Likewise.
5999 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6000 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6001 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6003 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6006 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
6007 (__read_nocancel): New macro.
6008 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6010 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
6012 (__read_nocancel): New prototype.
6013 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
6014 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
6015 with __read_nocancel.
6016 * intl/loadmsgcat.c (read): Likewise.
6017 * libio/fileops.c (_IO_file_read): Likewise.
6018 * locale/loadlocale.c (_nl_load_locale): Likewise.
6019 * login/utmp_file.c (getutent_r_file): Likewise.
6020 (internal_getut_r): Likewise.
6021 (getutline_r_file): Likewise.
6022 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
6023 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6024 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6025 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6027 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
6028 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6029 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6031 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6033 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6035 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6037 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6039 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6042 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
6043 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
6046 2017-08-17 DJ Delorie <dj@redhat.com>
6048 * bug17079.c: Update to new test harness.
6049 * test-digits-dots.c: Likewise.
6050 * test-netdb.c: Likewise.
6051 * tst-field.c: Likewise.
6052 * tst-nss-getpwent.c: Likewise.
6053 * tst-nss-static.c: Likewise.
6054 * tst-nss-test1.c: Likewise.
6055 * tst-nss-test2.c: Likewise.
6056 * tst-nss-test3.c: Likewise.
6057 * tst-nss-test4.c: Likewise.
6058 * tst-nss-test5.c: Likewise.
6060 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6062 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
6063 (open_not_cancel_2): Likewise.
6064 (open_nocancel): New macro.
6065 (open64_nocancel): Likewise.
6066 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
6067 (open_not_cancel_2): Likewise.
6068 (__open_nocancel): New prototype.
6069 (__open64_nocancel): Likewise.
6070 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6072 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
6073 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
6074 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
6075 with __open_nocancel.
6076 * csu/check_fds.c (check_one_fd): Likewise.
6077 * gmon/gmon.c (write_gmon): Likewise.
6078 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
6079 * intl/loadmsgcat.c (open): Likewise.
6080 * libio/fileops.c (_IO_file_open): Likewise.
6081 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6082 * locale/loadlocale.c (_nl_load_locale): Likewise.
6083 * login/utmp_file.c (setutent_file): Likewise.
6084 * misc/daemon.c (daemon): Likewise.
6085 * nss/nss_db/db-open.c (internal_setent): Likewise.
6086 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
6087 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
6088 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
6089 (__opendir): Likewise.
6090 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6091 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
6092 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6093 (gethostid): Likewise.
6094 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6095 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6097 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6098 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
6099 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6100 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6102 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6104 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6106 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6108 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6110 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6112 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6113 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6115 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
6117 * benchtests/bench-skeleton.c (main): Add support for
6118 latency benchmarking.
6119 * benchtests/scripts/bench.py: Add support for latency benchmarking.
6121 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
6123 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
6126 2017-08-17 Florian Weimer <fweimer@redhat.com>
6128 * include/sys/socket.h (__opensock): Remove internal_function.
6129 * socket/opensock.c (__opensock): Likewise.
6130 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
6132 2017-08-16 Joseph Myers <joseph@codesourcery.com>
6135 * signal/bits/types/__sigval_t.h: New file.
6136 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
6137 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
6138 and define sigval_t using __sigval_t.
6139 * include/bits/types/__sigval_t.h: New file.
6140 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
6141 instead of <bits/types/__sigval_t.h>.
6142 (struct sigevent): Use __sigval_t instead of sigval_t.
6143 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
6144 instead of <bits/types/__sigval_t.h>.
6145 (siginfo_t): Use __sigval_t instead of sigval_t.
6146 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
6147 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
6148 (struct sigevent): Use __sigval_t instead of sigval_t.
6149 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
6150 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
6151 (siginfo_t): Use __sigval_t instead of sigval_t.
6152 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
6154 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
6156 * NEWS: Remove "[Add new features here]" for 2.27.
6158 2017-08-16 Joseph Myers <joseph@codesourcery.com>
6160 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
6163 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
6165 * NEWS: Mention x86-64 FMA optimization.
6167 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
6170 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6172 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
6173 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
6174 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
6176 2017-08-16 Andreas Schwab <schwab@suse.de>
6180 * elf/ldd.bash.in: Never run file directly.
6182 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
6185 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
6186 (L(SP_INF_0)): Likewise.
6188 2017-08-15 Florian Weimer <fweimer@redhat.com>
6190 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
6193 2017-08-15 Florian Weimer <fweimer@redhat.com>
6195 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
6196 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
6197 BROKEN_THREAD_SIGNALS code.
6198 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
6199 request_list): Remove caller_pid member used for
6200 BROKEN_THREAD_SIGNALS.
6201 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
6202 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
6203 Remove BROKEN_THREAD_SIGNALS support.
6204 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
6205 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
6207 2017-08-15 Florian Weimer <fweimer@redhat.com>
6209 * gmon/Makefile (tests): Add tst-gmon.
6210 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
6212 (tests-special): Add tst-gmon-prof.out.
6213 (tst-gmon.out): Depend on clean-tst-gmon-data.
6214 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
6215 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
6216 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
6218 * aclocal.m4 (GPROF): Set and substitute.
6219 * config.amke.in (GPROF): Set.
6220 * configure: Regenerate.
6222 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
6224 * elf/elf.h A (NT_PPC_TAR): New macro.
6225 (NT_PPC_PPR): Likewise.
6226 (NT_PPC_DSCR): Likewise.
6227 (NT_PPC_EBB): Likewise.
6228 (NT_PPC_PMU): Likewise.
6229 (NT_PPC_TM_CGPR): Likewise.
6230 (NT_PPC_TM_CFPR): Likewise.
6231 (NT_PPC_TM_CVMX): Likewise.
6232 (NT_PPC_TM_CVSX): Likewise.
6233 (NT_PPC_TM_SPR): Likewise.
6234 (NT_PPC_TM_CTAR): Likewise.
6235 (NT_PPC_TM_CPPR): Likewise.
6236 (NT_PPC_TM_CDSCR): Likewise.
6238 2017-08-15 Florian Weimer <fweimer@redhat.com>
6240 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
6241 regparm (2) instead of internal_function.
6242 (_MCOUNT_DECL): Adjust.
6244 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
6246 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
6247 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
6249 2017-08-14 Joseph Myers <joseph@codesourcery.com>
6251 * conform/data/sys/wait.h-data (si_value): Do not expect for
6254 2017-08-14 Florian Weimer <fweimer@redhat.com>
6257 NSS: Create stubs for accidentally exported lookup functions.
6258 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
6260 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
6261 (ether_hostton): Call __nss_ethers_lookup2 instead.
6262 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
6263 (ether_ntohost): Call __nss_ethers_lookup2 instead.
6264 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
6265 (setup): Call __nss_netgroup_lookup2 instead.
6266 * nss/Makefile (routines): Add compat-lookup.
6267 * nss/Versions (GLIBC_2.27): Add symbol version.
6268 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
6269 (DB_COMPAT_FCT): Remove.
6270 * nss/compat-lookup.c: New file.
6271 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
6273 * nss/service-lookup.c (NO_COMPAT): Remove definition.
6274 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
6275 (netname2user): Call __nss_publickey_lookup2 instead.
6276 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
6277 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
6280 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6281 Sergei Trofimovich <slyfox@inbox.ru>
6284 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
6285 Rename to MMAP2_PAGE_UNIT.
6286 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
6287 __OFF_T_MATCHES_OFF64_T is not defined.
6288 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
6290 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
6291 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
6293 2017-08-14 Florian Weimer <fweimer@redhat.com>
6295 i386: Do not set internal_function.
6296 * config.h.in (USE_REGPARMS, internal_function): Remove.
6297 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
6298 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
6300 2017-08-14 Florian Weimer <fweimer@redhat.com>
6302 * elf/dl-init.c (_dl_init): Remove internal_function.
6303 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
6304 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
6306 2017-08-14 Florian Weimer <fweimer@redhat.com>
6308 * elf/rtld.c (_dl_start): Remove internal_function.
6309 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
6312 2017-08-14 Florian Weimer <fweimer@redhat.com>
6314 * elf/dl-fini.c (_dl_fini): Remove internal_function
6315 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
6317 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
6319 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
6320 (bit_cpu_SHSTK): Likewise.
6321 (index_cpu_IBT): Likewise.
6322 (index_cpu_SHSTK): Likewise.
6323 (reg_IBT): Likewise.
6324 (reg_SHSTK): Likewise.
6325 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
6326 Handle index_cpu_IBT and index_cpu_SHSTK.
6328 2017-08-14 Mike FABIAN <mfabian@redhat.com>
6331 * po/fr.po: Fix spelling mistake.
6333 2017-08-13 Florian Weimer <fweimer@redhat.com>
6335 * elf/dl-addr.c (_dl_addr): Remove internal_function.
6336 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
6337 (_dl_catch_error, _dl_receive_error): Likewise.
6338 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
6339 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
6340 (_dl_deallocate_tls): Likewise.
6341 * include/dlfcn.h (_dl_addr): Likewise.
6342 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
6343 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
6344 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
6347 2017-08-13 Florian Weimer <fweimer@redhat.com>
6349 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
6350 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
6352 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
6354 2017-08-13 Florian Weimer <fweimer@redhat.com>
6356 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
6358 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
6359 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
6360 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
6361 internal_function from _dl_make_stack_executable_hook member.
6362 (_dl_make_stack_executable): Remove internal_function.
6363 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
6365 * sysdeps/unix/sysv/linux/dl-execstack.c
6366 (_dl_make_stack_executable): Likewise.
6368 2017-08-13 Florian Weimer <fweimer@redhat.com>
6370 * sysdeps/unix/sysv/linux/netlinkaccess.h
6371 (__netlink_assert_response): Remove internal_function.
6372 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6373 (__netlink_assert_response): Likewise.
6375 2017-08-13 Florian Weimer <fweimer@redhat.com>
6377 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
6379 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
6381 2017-08-13 Florian Weimer <fweimer@redhat.com>
6383 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
6385 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
6386 * inet/netgroup.h (__internal_setnetgrent)
6387 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
6388 * inet/getnetgrent_r.c (__internal_setnetgrent)
6389 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
6390 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
6391 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
6392 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
6393 * nss/nsswitch.h (db_lookup_function): Likewise.
6395 2017-08-13 Florian Weimer <fweimer@redhat.com>
6397 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
6398 Remove internal_function.
6399 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
6400 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
6401 message argument on the stack.
6402 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
6405 2017-08-12 Mike FABIAN <mfabian@redhat.com>
6407 Adapt test case data to the changes in the thousands
6411 * localedata/tst-langinfo.sh: Adapt test case data.
6412 * stdlib/tst-strfmon_l.c: Likewise.
6413 * stdlib/tst-strtod4.c: Likewise.
6414 * stdlib/tst-strtod5i.c: Likewise.
6416 2017-08-11 Florian Weimer <fweimer@redhat.com>
6419 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
6420 Suppress pedantic warning resulting from statement expression.
6421 (__ASSERT_FUNCTION): Add missing __extension__.
6423 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
6425 * benchtests/bench-memmove-large.c: Print output in JSON
6427 * benchtests/bench-memmove.c: Likewise.
6429 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
6430 * benchtests/bench-memchr.c (do_one_test): Likewise.
6431 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
6432 * benchtests/bench-memcpy.c (do_one_test): Likewise.
6433 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
6434 * benchtests/bench-memmove.c (do_one_test): Likewise.
6435 * benchtests/bench-memset-large.c (do_one_test): Likewise.
6436 * benchtests/bench-memset.c (do_one_test): Likewise.
6437 * benchtests/bench-string.h (test_init): Remove memsets.
6439 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
6442 (Computing the Width of an Integer Data Type): Rename section to
6443 "Width of an Integer Type". Remove inaccurate statement regarding
6444 lack of C language facilities for determining width of integer
6445 types, and reorder content to improve flow and context of
6448 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
6450 * lang.texi (va_copy): Change standard from ISO to C99.
6451 (__va_copy): Add standard and header annotation.
6452 Update description for clarity of origins and current use.
6454 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6457 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
6458 xssqrtqp requires operands to be in Vector Registers
6459 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
6460 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
6461 (__ieee754_sqrtf128): Likewise.
6463 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6465 * sysdeps/aarch64/memcmp.S (memcmp):
6466 Rewrite of optimized memcmp.
6468 2017-08-10 Florian Weimer <fweimer@redhat.com>
6470 Introduce ld.so exceptions.
6471 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
6472 (_dl_exception_create, _dl_exception_create_format)
6473 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
6474 (_dl_catch_exception): Declare.
6475 (_dl_catch_error): Update comment.
6476 * elf/dl-error-skeleton.c (struct catch): Replace objname,
6477 errstring, malloced members with exception member.
6478 (_dl_out_of_memory): Remove.
6479 (fatal_error): New function, extracted from _dl_signal_error.
6480 (_dl_signal_exception, _dl_signal_cexception): New functions.
6481 (_dl_signal_error): Call _dl_exception_create to allocate an
6483 (_dl_catch_exception): New function, based on _dl_catch_error.
6484 (_dl_catch_error): Implement using _dl_catch_exception.
6485 * elf/dl-exception.c: New file.
6486 * elf/Makefile (dl-routines): Add dl-exception.
6487 (elide-routines.os): Likewise.
6488 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
6489 _dl_exception_create_format, _dl_exception_free.
6490 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
6491 _dl_signal_exception.
6492 * elf/dl-lookup.c (make_string): Remove.
6493 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
6494 _dl_signal_cexception, _dl_exception_free.
6495 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
6496 _dl_signal_exception.
6497 * elf/dl-sym.c (do_sym): Likewise.
6498 * elf/dl-version.c (make_string): Remove.
6499 (match_symbol): Use _dl_exception_create_format,
6500 _dl_signal_cexception, _dl_exception_free.
6501 (_dl_check_map_versions): Likewise.
6502 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
6503 _dl_catch_exception.
6504 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6505 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6506 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6507 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6508 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6509 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6510 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6511 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
6513 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6520 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6521 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6522 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
6524 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
6526 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6528 2017-08-10 Florian Weimer <fweimer@redhat.com>
6530 * inet/net-internal.h (__inet6_scopeid_pton): Remove
6531 attribute_hidden, internal_function.
6532 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
6535 2017-08-10 Florian Weimer <fweimer@redhat.com>
6537 * malloc/malloc.c (get_max_fast): Reimplement as an inline
6538 function which calls __builtin_unreachable.
6540 2017-08-10 Mike FABIAN <mfabian@redhat.com>
6542 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
6543 Indian monetary formatting
6544 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
6547 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
6549 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
6550 Fix typo in comment.
6553 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
6554 PTRACE_SEIZE_DEVEL): Remove.
6555 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
6556 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6557 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6558 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6559 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6561 2017-08-09 Joseph Myers <joseph@codesourcery.com>
6563 * posix/bits/types.h (__qaddr_t): Remove.
6566 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
6567 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6569 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
6570 (ucontext_t): Use __ctx with uc_flags.
6571 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
6573 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6575 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
6576 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6578 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
6579 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6581 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
6583 (ucontext_t): Use __ctx with uc_flags.
6584 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
6585 (ucontext_t): Use __ctx with uc_flags.
6586 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
6587 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
6588 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
6589 (ucontext_t): Use __ctx with uc_flags.
6590 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
6591 undefine further down.
6592 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6594 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
6595 undefine further down.
6596 (ucontext_t): Use __ctx with uc_flags.
6597 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
6598 undefine further down.
6599 (ucontext_t): Use __ctx with uc_flags.
6600 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
6601 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
6602 Rename uc_pad to __glibc_reserved1.
6603 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
6604 undefine further down.
6605 (ucontext_t): Use __ctx with uc_flags.
6606 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
6608 (ucontext_t): Use __ctx with uc_flags.
6609 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
6610 __ctx with uc_flags.
6611 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
6612 (ucontext_t): Use __ctx with uc_flags.
6613 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
6614 __ctx with uc_flags.
6616 2017-08-09 Florian Weimer <fweimer@redhat.com>
6619 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
6620 before early return.
6622 2017-08-09 Andreas Schwab <schwab@suse.de>
6625 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
6629 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
6630 tst-compat-forwarder.
6631 (modules-names): Add tst-compat-forwarder-mod.
6632 ($(objpfx)tst-compat-forwarder): Depend on
6633 $(objpfx)tst-compat-forwarder-mod.so.
6634 * nptl/tst-compat-forwarder.c: New file.
6635 * nptl/tst-compat-forwarder-mod.c: New file.
6637 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
6639 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
6642 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
6643 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
6645 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
6647 (__libc_ifunc_impl_list): Add __memcpy_falkor.
6648 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
6649 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
6650 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6652 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
6655 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6658 * manual/setjmp.texi (getcontex): Document uc_stack value
6659 compatibility differences.
6661 2017-08-08 Joseph Myers <joseph@codesourcery.com>
6663 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
6664 (old_malloc_hook): Likewise.
6665 (old_memalign_hook): Likewise.
6666 (old_realloc_hook): Likewise.
6667 (struct hdr): Likewise.
6669 (freehook): Likewise.
6670 (mallochook): Likewise.
6671 (memalignhook): Likewise.
6672 (reallochook): Likewise.
6674 * malloc/mtrace.c (mallwatch): Likewise.
6675 (tr_old_free_hook): Likewise.
6676 (tr_old_malloc_hook): Likewise.
6677 (tr_old_realloc_hook): Likewise.
6678 (tr_old_memalign_hook): Likewise.
6679 (tr_where): Likewise.
6680 (lock_and_info): Likewise.
6681 (tr_freehook): Likewise.
6682 (tr_mallochook): Likewise.
6683 (tr_reallochook): Likewise.
6684 (tr_memalignhook): Likewise.
6685 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
6686 * misc/mmap.c (__mmap): Likewise.
6687 * misc/mmap64.c (__mmap64): Likewise.
6688 * misc/mprotect.c (__mprotect): Likewise.
6689 * misc/msync.c (msync): Likewise.
6690 * misc/munmap.c (__munmap): Likewise.
6691 * posix/posix_madvise.c (posix_madvise): Likewise.
6692 * socket/send.c (__send): Likewise.
6693 * socket/sendto.c (__sendto): Likewise.
6694 * socket/setsockopt.c (__setsockopt): Likewise.
6695 * string/memcmp.c (__ptr_t): Remove macro.
6696 (MEMCMP): Use void * instead of ptr_t.
6697 * string/memrchr.c (__ptr_t): Remove macro.
6698 (__memrchr): Use void * instead of ptr_t.
6699 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
6700 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6701 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
6702 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
6703 * sysdeps/mach/msync.c (msync): Likewise.
6704 * sysdeps/mach/munmap.c (__munmap): Likewise.
6705 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
6707 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6708 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
6709 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
6710 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
6711 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
6712 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6713 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
6714 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
6716 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6717 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
6718 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
6719 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
6720 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
6721 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
6722 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
6723 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
6724 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
6726 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
6727 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
6728 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
6729 (MEMCMP): Use void * instead of ptr_t.
6730 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
6731 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
6733 2017-08-08 Florian Weimer <fweimer@redhat.com>
6735 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
6738 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
6741 * csu/libc-tls.c: Include <startup.h> first.
6742 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
6743 * elf/dl-tunables.c: Include <startup.h> first.
6744 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
6745 * sysdeps/generic/startup.h: New file.
6746 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
6747 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
6748 (I386_USE_SYSENTER): New. Defined to 0.
6750 2017-08-08 Andreas Schwab <schwab@suse.de>
6753 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
6754 * nptl/pt-system.c (system): Likewise.
6756 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6759 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
6761 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
6762 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
6763 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
6764 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
6765 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6766 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6767 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6769 2017-08-07 Joseph Myers <joseph@codesourcery.com>
6772 * bits/sigaction.h (struct sigaction): Define sa_handler and
6773 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
6774 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6775 [__USE_XOPEN_EXTENDED].
6776 (SA_RESTART): Likewise.
6777 (SA_NODEFER): Likewise.
6778 (SA_RESETHAND): Likewise.
6779 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
6780 (struct sigaction): Define sa_handler and sa_sigaction using union
6781 also for [__USE_XOPEN_EXTENDED].
6782 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6783 [__USE_XOPEN_EXTENDED].
6784 (SA_RESTART): Likewise.
6785 (SA_NODEFER): Likewise.
6786 (SA_RESETHAND): Likewise.
6787 * sysdeps/unix/sysv/linux/bits/sigaction.h
6788 (struct sigaction): Define sa_handler and sa_sigaction using union
6789 also for [__USE_XOPEN_EXTENDED].
6790 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6791 [__USE_XOPEN_EXTENDED].
6792 (SA_RESTART): Likewise.
6793 (SA_NODEFER): Likewise.
6794 (SA_RESETHAND): Likewise.
6795 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
6796 (struct sigaction): Define sa_handler and sa_sigaction using union
6797 also for [__USE_XOPEN_EXTENDED].
6798 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6799 [__USE_XOPEN_EXTENDED].
6800 (SA_RESTART): Likewise.
6801 (SA_NODEFER): Likewise.
6802 (SA_RESETHAND): Likewise.
6803 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
6804 (struct sigaction): Define sa_handler and sa_sigaction using union
6805 also for [__USE_XOPEN_EXTENDED].
6806 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6807 [__USE_XOPEN_EXTENDED].
6808 (SA_RESTART): Likewise.
6809 (SA_NODEFER): Likewise.
6810 (SA_RESETHAND): Likewise.
6811 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6812 (struct sigaction): Define sa_handler and sa_sigaction using union
6813 also for [__USE_XOPEN_EXTENDED].
6814 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6815 [__USE_XOPEN_EXTENDED].
6816 (SA_RESTART): Likewise.
6817 (SA_NODEFER): Likewise.
6818 (SA_RESETHAND): Likewise.
6819 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6820 (struct sigaction): Define sa_handler and sa_sigaction using union
6821 also for [__USE_XOPEN_EXTENDED].
6822 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6823 [__USE_XOPEN_EXTENDED].
6824 (SA_RESTART): Likewise.
6825 (SA_NODEFER): Likewise.
6826 (SA_RESETHAND): Likewise.
6827 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6828 (struct sigaction): Define sa_handler and sa_sigaction using union
6829 also for [__USE_XOPEN_EXTENDED].
6830 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6831 [__USE_XOPEN_EXTENDED].
6832 (SA_RESTART): Likewise.
6833 (SA_NODEFER): Likewise. Define directly rather than as alias.
6834 (SA_RESETHAND): Likewise.
6835 (SA_INTERRUPT): Define only for [__USE_MISC].
6836 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
6837 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
6839 (SA_STACK): Define only for [__USE_MISC].
6840 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
6841 (struct sigaction): Define sa_handler and sa_sigaction using union
6842 also for [__USE_XOPEN_EXTENDED].
6843 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6844 [__USE_XOPEN_EXTENDED].
6845 (SA_RESTART): Likewise.
6846 (SA_NODEFER): Likewise.
6847 (SA_RESETHAND): Likewise.
6848 (SA_NOPTRACE): Define only for [__USE_MISC].
6850 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
6851 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
6852 (struct catalog_info): Likewise.
6853 * inet/htontest.c (lo): Likewise.
6855 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6856 * inet/inet_net.c (inet_network): Likewise.
6857 * inet/inet_netof.c (inet_netof): Likewise.
6858 * inet/rcmd.c (__ivaliduser): Likewise.
6859 (iruserok): Likewise.
6860 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
6861 * locale/programs/locale-spec.c (locale_special): Likewise.
6862 * nis/nis_findserv.c (struct findserv_req): Likewise.
6863 (__nis_findfastest_with_timeout): Likewise.
6864 * nss/test-netdb.c (test_network): Likewise.
6865 * resolv/inet_neta.c (inet_neta): Likewise.
6866 * resolv/ns_date.c (ns_datetosecs): Likewise.
6867 (SECS_PER_DAY): Likewise.
6868 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
6870 * resolv/res_comp.c (__putlong): Likewise.
6871 (__putshort): Likewise.
6872 (_getlong): Likewise.
6873 (_getshort): Likewise.
6874 * resolv/res_debug.c (p_time): Likewise.
6875 (precsize_ntoa): Likewise.
6876 (precsize_aton): Likewise.
6877 (latlon2ul): Likewise.
6878 (loc_aton): Likewise.
6879 (loc_ntoa): Likewise.
6880 * resolv/res_hconf.c (struct netaddr): Likewise.
6881 (_res_hconf_reorder_addrs): Likewise.
6882 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
6883 (clnttcp_control): Likewise.
6884 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6885 (clntudp_control): Likewise.
6886 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
6887 (clntunix_control): Likewise.
6888 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
6889 * sunrpc/rpc/auth.h (union des_block): Likewise.
6890 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
6891 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
6892 (xdrrec_create): Likewise.
6893 (xdrrec_endofrecord): Likewise.
6894 (flush_out): Likewise.
6895 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
6896 (xdrstdio_putlong): Likewise.
6897 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
6900 * misc/sys/cdefs.h (__long_double_t): Remove.
6901 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
6902 instead of __long_double_t,
6903 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
6905 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
6907 * benchtests/scripts/compare_strings.py: Avoid display error when
6908 running on a text terminal.
6910 * benchtests/scripts/compare_strings.py (main): Add an
6911 optional -base option.
6912 (process_results): New argument base_func.
6914 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
6916 * benchtests/bench-memcpy-large.c (test_name): Likewise.
6917 * benchtests/bench-memcpy-random.c (test_name): Likewise.
6919 2017-08-07 Andreas Schwab <schwab@suse.de>
6921 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
6922 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6923 * intl/Makefile ($(objpfx)tst-gettext.out)
6924 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
6925 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
6926 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6927 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6928 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
6929 * posix/Makefile ($(objpfx)globtest.out)
6930 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
6931 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
6932 ($(objpfx)tst-printf.out): Likewise.
6933 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
6934 ($(objpfx)tst-setcontext3.out): Likewise.
6936 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
6938 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6939 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
6940 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
6941 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
6942 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
6944 (CFLAGS-doasin-fma.c): New.
6945 (CFLAGS-dosincos-fma.c): Likewise.
6946 (CFLAGS-e_asin-fma.c): Likewise.
6947 (CFLAGS-e_atan2-fma.c): Likewise.
6948 (CFLAGS-e_exp-fma.c): Likewise.
6949 (CFLAGS-e_log-fma.c): Likewise.
6950 (CFLAGS-e_pow-fma.c): Likewise.
6951 (CFLAGS-halfulp-fma.c): Likewise.
6952 (CFLAGS-mpa-fma.c): Likewise.
6953 (CFLAGS-mpatan-fma.c): Likewise.
6954 (CFLAGS-mpatan2-fma.c): Likewise.
6955 (CFLAGS-mpexp-fma.c): Likewise.
6956 (CFLAGS-mplog-fma.c): Likewise.
6957 (CFLAGS-mpsqrt-fma.c): Likewise.
6958 (CFLAGS-mptan-fma.c): Likewise.
6959 (CFLAGS-s_atan-fma.c): Likewise.
6960 (CFLAGS-sincos32-fma.c): Likewise.
6961 (CFLAGS-slowexp-fma.c): Likewise.
6962 (CFLAGS-slowpow-fma.c): Likewise.
6963 (CFLAGS-s_sin-fma.c): Likewise.
6964 (CFLAGS-s_tan-fma.c): Likewise.
6965 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
6966 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
6967 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
6968 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
6969 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
6970 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
6971 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
6972 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
6973 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
6974 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
6975 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
6976 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
6977 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
6978 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
6979 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
6980 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
6981 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
6982 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
6983 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
6984 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
6985 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
6986 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
6987 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
6988 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
6989 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6990 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6991 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6992 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
6993 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6994 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6995 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6997 2017-08-04 Joseph Myers <joseph@codesourcery.com>
6999 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
7000 (min_of_type_f): New macro.
7001 (min_of_type_): Likewise.
7002 (min_of_type_l): Likewise.
7003 (min_of_type_f128): Likewise.
7004 (min_of_type): Define using __MATH_TG and taking an expression
7006 (math_check_force_underflow): Pass expression instead of type to
7008 (math_check_force_underflow_nonneg): Likewise.
7010 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7012 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
7013 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
7014 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
7016 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7018 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7019 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
7020 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
7021 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
7022 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
7023 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
7024 memcpy_chk-nonshared, mempcpy_chk-nonshared,
7025 memmove_chk-nonshared and memset_chk-nonshared
7026 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
7027 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
7028 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
7029 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
7030 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
7031 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
7032 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
7033 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
7034 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
7035 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
7036 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
7037 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
7038 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
7039 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
7040 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
7041 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
7042 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
7043 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
7044 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
7045 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
7046 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
7047 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
7048 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
7049 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
7050 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
7051 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
7052 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
7053 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
7054 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
7055 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
7056 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
7057 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
7058 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
7059 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
7060 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
7061 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
7062 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
7063 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
7064 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
7065 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
7066 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
7067 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
7068 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
7069 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
7070 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
7071 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
7072 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
7073 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
7074 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
7075 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
7076 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
7077 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
7078 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
7079 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
7080 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
7081 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
7082 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
7083 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
7084 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
7085 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
7086 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
7087 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
7088 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
7089 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
7090 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
7091 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
7092 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
7093 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
7094 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
7095 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
7096 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
7097 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7098 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7099 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7100 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7101 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7102 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7103 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7104 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7105 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7106 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7107 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7108 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7109 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7110 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7111 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7112 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7113 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7114 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7115 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7116 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7117 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7118 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7119 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7120 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7121 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7122 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7123 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7124 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7125 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7126 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7127 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7128 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7129 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7130 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7131 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7132 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7133 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7135 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7137 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
7138 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
7139 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
7140 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
7141 svml_d_log2_core-sse2, svml_d_log4_core-sse,
7142 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
7143 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
7144 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
7145 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
7146 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
7147 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
7148 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
7149 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
7150 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
7151 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
7152 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
7153 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
7154 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
7155 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
7156 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
7157 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
7158 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
7159 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
7160 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
7161 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
7162 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
7163 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
7164 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
7165 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
7166 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
7167 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
7168 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
7169 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
7170 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
7171 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
7172 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
7173 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
7174 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
7175 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
7176 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
7177 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
7178 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
7179 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
7180 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
7181 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
7182 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
7183 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
7184 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
7185 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
7186 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
7187 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
7188 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
7189 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
7190 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
7191 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
7192 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
7193 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
7194 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
7195 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
7197 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
7198 Don't include <sysdep.h> nor <init-arch.h>.
7199 (_ZGVbN2v_cos): Removed.
7200 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
7202 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
7203 Don't include <sysdep.h> nor <init-arch.h>.
7204 (_ZGVdN4v_cos): Removed.
7205 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
7207 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
7208 Don't include <sysdep.h> nor <init-arch.h>.
7209 (_ZGVeN8v_cos): Removed.
7210 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
7212 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
7213 Don't include <sysdep.h> nor <init-arch.h>.
7214 (_ZGVbN2v_exp): Removed.
7215 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
7217 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
7218 Don't include <sysdep.h> nor <init-arch.h>.
7219 (_ZGVdN4v_exp): Removed.
7220 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
7222 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
7223 Don't include <sysdep.h> nor <init-arch.h>.
7224 (_ZGVeN8v_exp): Removed.
7225 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
7227 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
7228 Don't include <sysdep.h> nor <init-arch.h>.
7229 (_ZGVbN2v_log): Removed.
7230 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
7232 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
7233 Don't include <sysdep.h> nor <init-arch.h>.
7234 (_ZGVdN4v_log): Removed.
7235 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
7237 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
7238 Don't include <sysdep.h> nor <init-arch.h>.
7239 (_ZGVeN8v_log): Removed.
7240 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
7242 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
7243 Don't include <sysdep.h> nor <init-arch.h>.
7244 (_ZGVbN2vv_pow): Removed.
7245 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
7247 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
7248 Don't include <sysdep.h> nor <init-arch.h>.
7249 (_ZGVdN4vv_pow): Removed.
7250 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
7252 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
7253 Don't include <sysdep.h> nor <init-arch.h>.
7254 (_ZGVeN8vv_pow): Removed.
7255 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
7257 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
7258 Don't include <sysdep.h> nor <init-arch.h>.
7259 (_ZGVbN2v_sin): Removed.
7260 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
7262 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
7263 Don't include <sysdep.h> nor <init-arch.h>.
7264 (_ZGVbN4v_sin): Removed.
7265 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
7267 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
7268 Don't include <sysdep.h> nor <init-arch.h>.
7269 (_ZGVbN8v_sin): Removed.
7270 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
7272 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
7273 Don't include <sysdep.h> nor <init-arch.h>.
7274 (_ZGVbN2vvv_sincos): Removed.
7275 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
7277 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
7278 Don't include <sysdep.h> nor <init-arch.h>.
7279 (_ZGVdN4vvv_sincos): Removed.
7280 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
7282 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
7283 Don't include <sysdep.h> nor <init-arch.h>.
7284 (_ZGVeN8vvv_sincos): Removed.
7285 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
7287 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
7288 Don't include <sysdep.h> nor <init-arch.h>.
7289 (_ZGVeN16v_cosf): Removed.
7290 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
7292 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
7293 Don't include <sysdep.h> nor <init-arch.h>.
7294 (_ZGVbN4v_cosf): Removed.
7295 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
7297 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
7298 Don't include <sysdep.h> nor <init-arch.h>.
7299 (_ZGVdN8v_cosf): Removed.
7300 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
7302 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
7303 Don't include <sysdep.h> nor <init-arch.h>.
7304 (_ZGVeN16v_expf): Removed.
7305 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
7307 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
7308 Don't include <sysdep.h> nor <init-arch.h>.
7309 (_ZGVbN4v_expf): Removed.
7310 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
7312 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
7313 Don't include <sysdep.h> nor <init-arch.h>.
7314 (_ZGVdN8v_expf): Removed.
7315 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
7317 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
7318 Don't include <sysdep.h> nor <init-arch.h>.
7319 (_ZGVeN16v_logf): Removed.
7320 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
7322 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
7323 Don't include <sysdep.h> nor <init-arch.h>.
7324 (_ZGVbN4v_logf): Removed.
7325 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
7327 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
7328 Don't include <sysdep.h> nor <init-arch.h>.
7329 (_ZGVdN8v_logf): Removed.
7330 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
7332 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
7333 Don't include <sysdep.h> nor <init-arch.h>.
7334 (_ZGVeN16vv_powf): Removed.
7335 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
7337 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
7338 Don't include <sysdep.h> nor <init-arch.h>.
7339 (_ZGVbN4vv_powf): Removed.
7340 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
7342 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
7343 Don't include <sysdep.h> nor <init-arch.h>.
7344 (_ZGVdN8vv_powf): Removed.
7345 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
7347 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
7348 Don't include <sysdep.h> nor <init-arch.h>.
7349 (_ZGVeN16vvv_sincosf): Removed.
7350 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
7352 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
7353 Don't include <sysdep.h> nor <init-arch.h>.
7354 (_ZGVbN4vvv_sincosf): Removed.
7355 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
7357 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
7358 Don't include <sysdep.h> nor <init-arch.h>.
7359 (_ZGVdN8vvv_sincosf): Removed.
7360 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
7362 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
7363 Don't include <sysdep.h> nor <init-arch.h>.
7364 (_ZGVeN16v_sinf): Removed.
7365 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
7367 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
7368 Don't include <sysdep.h> nor <init-arch.h>.
7369 (_ZGVbN4v_sinf): Removed.
7370 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
7372 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
7373 Don't include <sysdep.h> nor <init-arch.h>.
7374 (_ZGVdN8v_sinf): Removed.
7376 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7378 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7379 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
7380 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
7381 s_rint-sse4_1 and s_rintf-sse4_1.
7382 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
7383 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7384 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7385 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7386 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7387 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
7388 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
7389 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7390 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7391 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
7392 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
7393 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7395 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
7396 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
7397 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7399 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
7400 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
7401 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7403 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
7404 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
7405 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7406 (__floorf): Removed.
7407 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
7408 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
7409 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7410 (__nearbyint): Removed.
7411 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
7412 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
7413 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7414 (__nearbyintf): Removed.
7415 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
7416 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
7417 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7419 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
7420 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
7421 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7424 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7426 * sysdeps/i386/start.S (_start): Check Check PIC instead of
7427 SHARED. Avoid dynamic relocation against main in static PIE.
7429 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7432 * elf/Makefile (CFLAGS-tst-prelink.c): New.
7433 (LDFLAGS-tst-prelink): Likewise.
7435 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7437 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
7438 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
7439 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
7440 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
7441 (INTERNAL_SYSCALL_NCS): Likewise.
7442 (LOADARGS_1): Likewise.
7443 (LOADARGS_5): Likewise.
7444 (RESTOREARGS_1): Likewise.
7445 (RESTOREARGS_5): Likewise.
7447 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7449 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
7450 (MEMPCPY_SYMBOL): Likewise.
7451 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7452 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
7453 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
7455 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7456 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7458 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
7459 (__hidden_ver1): Don't use in libc.a.
7460 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
7461 (__mempcpy): Don't create a weak alias in libc.a.
7462 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
7464 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
7465 (__hidden_ver1): Don't use in libc.a.
7467 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7469 * config.make.in (have-insert): New.
7470 * configure.ac (libc_cv_insert): New. Set to yes if linker
7471 supports INSERT in linker script.
7472 (AC_SUBST(libc_cv_insert): New.
7473 * configure: Regenerated.
7474 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
7475 if $(have-insert) == yes.
7477 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7479 * elf/Makefile (tests): Add vismain only if
7480 $(have-protected-data) == yes.
7481 (tests-pie): Likewise.
7483 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7486 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7487 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
7489 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7492 * sysdeps/i386/i586/memset.S
7493 (__memset_zero_constant_len_parameter): Removed.
7494 * sysdeps/i386/i686/memset.S
7495 (__memset_zero_constant_len_parameter): Likewise.
7496 * sysdeps/i386/i686/multiarch/memset_chk.S
7497 (__memset_zero_constant_len_parameter): Likewise.
7498 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
7501 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
7503 * stdlib/getentropy.c (getentropy): Change return type to int.
7505 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
7507 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
7509 2017-08-03 Joseph Myers <joseph@codesourcery.com>
7511 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
7513 * math/s_nexttowardf.c (__nexttowardf): Likewise.
7514 * sysdeps/generic/math_private.h (ieee_double_shape_type):
7516 (ieee_float_shape_type): Likewise.
7517 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
7518 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
7519 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7520 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7521 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7522 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
7523 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
7524 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7525 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7527 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7528 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7529 (__ieee754_yn): Likewise.
7530 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7531 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7532 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
7534 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7535 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
7536 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
7537 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
7539 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
7540 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
7541 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
7542 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
7543 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
7544 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
7546 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
7547 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
7548 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
7549 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
7550 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7551 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
7552 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
7553 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
7554 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
7555 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
7556 (__issignaling): Likewise.
7557 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
7558 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
7559 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7561 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7562 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
7563 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
7564 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
7566 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
7568 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
7569 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
7570 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
7571 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
7572 (__erfcf): Likewise.
7573 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
7574 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
7575 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
7576 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
7578 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
7579 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
7581 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
7582 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
7583 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
7584 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
7585 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
7586 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7587 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
7588 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
7590 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
7592 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
7594 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
7595 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7597 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7599 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7600 (__ieee754_ynl): Likewise.
7601 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7602 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
7604 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
7606 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
7607 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
7608 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7610 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
7611 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
7612 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
7613 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
7614 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
7615 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
7616 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
7617 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
7619 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
7620 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
7621 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
7623 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
7624 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
7625 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
7626 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
7627 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
7628 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7630 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7632 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7634 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7636 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
7637 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7638 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7639 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
7640 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
7641 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
7642 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
7644 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7646 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7647 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7649 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7650 (__ieee754_remainderl): Likewise.
7651 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7652 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7653 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
7654 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
7656 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
7657 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7659 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7660 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
7661 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
7662 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
7663 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7664 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7666 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7667 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
7668 (__ieee754_y0l): Likewise.
7671 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7672 (__ieee754_y1l): Likewise.
7675 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7676 (__ieee754_ynl): Likewise.
7677 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7678 (__ieee754_lgammal_r): Likewise.
7679 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
7681 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
7682 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
7683 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
7684 (__erfcl): Likewise.
7685 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
7686 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
7688 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
7689 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
7690 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
7691 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
7692 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
7693 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7694 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7696 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
7697 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7698 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
7699 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
7700 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7702 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
7703 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
7705 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
7706 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
7707 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
7708 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7709 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
7711 2017-08-03 Florian Weimer <fweimer@redhat.com>
7714 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
7715 on memory allocation failure.
7717 2017-08-03 Alan Modra <amodra@gmail.com>
7719 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
7720 tst-tlsopt-powerpc.c with function name change and no test harness.
7721 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
7722 Call tls_get_addr_opt_test.
7723 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
7724 (modules-names): Add mod-tlsopt-powerpc.
7725 (mod-tlsopt-powerpc.so-no-z-defs): Define.
7726 (tst-tlsopt-powerpc): Depend on .so.
7727 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
7728 define. Expand use in TLS_GD and TLS_LD.
7730 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7732 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
7734 * sysdeps/posix/shm_open.c: Include <pthread.h>.
7736 2017-08-02 Joseph Myers <joseph@codesourcery.com>
7739 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
7740 comparing size with that of double.
7741 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
7742 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
7743 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
7744 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
7745 (__TGMATH_BINARY_REAL_IMAG): Likewise.
7746 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
7747 unsigned __int128 types.
7749 2017-08-02 Steve Ellcey <sellcey@cavium.com>
7751 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
7752 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
7753 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
7754 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
7755 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
7757 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
7759 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
7761 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
7763 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
7765 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7766 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7767 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7768 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7769 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7770 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7771 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7773 2017-08-02 Joseph Myers <joseph@codesourcery.com>
7776 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
7777 bit-field expressions passed to sizeof or typeof.
7778 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7779 (__TGMATH_F128): Likewise.
7780 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7781 (__TGMATH_CF128): Likewise.
7782 (__TGMATH_UNARY_REAL_ONLY): Likewise.
7783 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
7784 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
7785 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
7786 (__TGMATH_BINARY_REAL_ONLY): Likewise.
7787 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
7788 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
7789 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
7790 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
7791 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
7792 (__TGMATH_UNARY_REAL_IMAG): Likewise.
7793 (__TGMATH_UNARY_IMAG): Likewise.
7794 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
7795 (__TGMATH_BINARY_REAL_IMAG): Likewise.
7796 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
7798 (define_vars_for_type): Handle bit_field type specially.
7799 (Tests.__init__): Declare structure with bit-field element.
7801 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
7804 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
7805 (MEMCPY_CHK): Define only if SHARED is defined.
7806 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
7808 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
7811 See ChangeLog.18 for earlier changes.