1 2017-10-15 Carlos O'Donell <carlos@redhat.com>
3 * localedata/collate-test.c (allocate_arrays): Don't use \n in
4 record_verbose messages.
6 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
9 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
10 to silence -O3 -Wall warning with GCC 7.
12 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
14 * Makeconfig (+link-static-before-libc): Use the first of
15 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
16 * gmon/Makefile (tests): Add tst-gmon-static.
17 (tests-static): Likewise.
18 (CFLAGS-tst-gmon-static.c): New.
19 (CRT-tst-gmon-static): Likewise.
20 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
21 (tst-gmon-static-ENV): Likewise.
22 (tests-special): Likewise.
23 ($(objpfx)tst-gmon-static.out): Likewise.
24 (clean-tst-gmon-static-data): Likewise.
25 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
26 * gmon/tst-gmon-static-gprof.sh: New file.
27 * gmon/tst-gmon-static.c: Likewise.
29 2017-10-13 Carlos O'Donell <carlos@redhat.com>
32 * locale/programs/linereader.c (get_string): Don't warn on
33 non-symbolic character.
35 2017-10-13 Carlos O'Donell <carlos@redhat.com>
38 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
41 2017-10-13 Carlos O'Donell <carlos@redhat.com>
44 * locale/programs/record-status.h: New file
45 * locale/programs/locale.c: Add comment.
46 * locale/programs/charmap-dir.c: Don't include error.h.
47 (charmap_opendir): Use record_error.
48 * locale/programs/charmap.c: Don't include error.h.
49 (charmap_read): Use record_error, and record_warning.
50 (parse_charmap): Likewise.
51 * locale/programs/ld-address.c: Don't include error.h.
52 (address_finish): Use record_error, and record_warning.
53 * locale/programs/ld-collate.c: Don't include error.h.
54 (collate_finish): Use record_error, and record_error_at_line.
55 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
56 (ctype_class_new): Likewise.
57 (ctype_map_new): Likewise.
58 (set_one_default): Likewise.
59 (set_class_defaults): Likewise.
60 (translit_flatten): Likewise.
61 (allocate_arrays): Use record_error, and record_verbose.
62 * locale/programs/ld-identification.c: Don't include error.h.
63 (indentation_finish): Use record_error and record_warning.
64 * locale/programs/ld-measurement.c: Don't include error.h.
65 (measurement_finish): Use record_error.
66 * locale/programs/ld-messages.c
67 (message_finish): Likewise.
68 * locale/programs/ld-monetary.c
69 (monetary_finish): Likewise.
70 * locale/programs/ld-name.c (name_finish): Use record_error
72 * locale/programs/ld-numeric.c
73 (numeric_finish): Use record_error.
74 * locale/programs/ld-paper.c: Don't include error.h.
75 (paper_finish): Use record_error.
76 * locale/programs/ld-telephone.c: Don't include error.h.
77 (telephone_finish): Use record_error.
78 * locale/programs/ld-time.c (time_finish): Likewise.
79 * locale/programs/linereader.h (lr_error): Make inline func.
80 * locale/programs/localedef.c: Define recorded_warning_count,
81 and recorded_error_count.
82 (main): Use record_error. Use recorded_error_count and
83 recorded_warning_count to issue correct error returns.
84 (add_to_readlist): Use record_error.
85 (find_locale): Likewise.
86 (load_locale): Likewise.
87 * locale/programs/localedef.h: Remove be_quiet
89 * locale/programs/locarchive.c (compare_from_file): Use
91 * locale/programs/locfile.c (write_locale_data): Use
93 * locale/programs/repertoire.c: Dont include error.h.
94 (repertoire_complain): Use record_error.
95 * localedata/tst-fmon.sh: Expect failures from localedef.
96 * localedata/tst-locale.sh: Likewise.
97 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
99 2017-10-12 Carlos O'Donell <carlos@redhat.com>
101 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
105 (i18n_ctype): ...this.
106 (i18n-report): Rename to...
107 (i18n_ctype-report): ...this.
108 * localedata/locales/i18n_ctype: Regenerate.
109 * localedata/locales/i18n: copy i18n_ctype.
111 2017-10-13 Joseph Myers <joseph@codesourcery.com>
113 * stdlib/strfroml.c: Include <bits/floatn.h>.
114 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
115 Define before include of <stdlib.h> and undefine afterwards, then
116 define as weak alias.
118 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
119 Undefine and restore default definition. Use
120 libm_alias_ldouble_other.
122 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
125 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
128 2017-10-13 James Clarke <jrtc27@jrtc27.com>
130 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
131 Assign sym_map to be map for local symbols, as TLS relocations
132 use sym_map to determine whether the symbol is defined and to
133 extract the TLS information.
134 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
135 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
137 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
140 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
141 (math_force_eval): Add powerpc version.
144 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
147 * stdio-common/tst-printf.sh: Likewise.
148 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
149 ifdef clause in order to set the carry bit right. Replace r0 by
150 0 without changing the behavior.
152 2017-10-13 Joseph Myers <joseph@codesourcery.com>
154 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
155 <libm-alias-ldouble.h>.
156 (fabsl): Define using libm_alias_ldouble.
157 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
158 <libm-alias-ldouble.h>.
159 (fabsl): Define using libm_alias_ldouble.
161 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
162 Remove conditional code.
164 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
165 Rename to __clog10_internal_l.
166 (__clog10_internal_l): Define aliases using
167 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
170 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
172 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
173 * benchtests/sincosf-inputs: New file.
174 * benchtests/cosf-inputs: New file.
175 * benchtests/sinf-inputs: New file.
177 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
179 * posix/tst-spawn.c (do_test): Wait for both children.
181 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
184 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
185 tests-pie): Add tst-gmon-pie.
186 (CFLAGS-tst-gmon-pie.c): New.
187 (CRT-tst-gmon-pie): Likewise.
188 (tst-gmon-pie-ENV): Likewise.
189 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
190 ($(objpfx)tst-gmon-pie.out): Likewise.
191 (clean-tst-gmon-pie-data): Likewise.
192 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
193 * gmon/gmon.c [PIC]: Include <link.h>.
194 [PIC] (callback): New function.
195 (write_hist): Add an argument for load address. Subtract load
197 (write_call_graph): Likewise.
198 (write_gmon): Call __dl_iterate_phdr to get load address, pass
199 it to write_hist and write_call_graph.
200 * gmon/tst-gmon-pie.c: New file.
202 2017-10-11 Joseph Myers <joseph@codesourcery.com>
204 * math/Makefile (test-types-basic): New variable.
205 (test-types): Likewise.
206 (libm-test-support): Use $(test-types) instead of $(types).
207 (libm-tests-base-normal): Likewise.
208 (libm-tests-base-finite): Likewise.
209 (libm-tests-base-inline): Likewise.
210 (generated): Likewise.
211 ($(objpfx)libm-test-support-$(t).c): Likewise.
212 (libm-tests-for-type iterator): Likewise.
213 (libm-test-support iterator): Likewise.
214 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
215 (ulp_idx): Use ULP_IDX.
216 * math/test-ldouble.h: Include <float.h>.
217 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
218 (ULP_IDX): New macro.
219 (ULP_I_IDX): Likewise.
220 * math/test-double.h (ULP_IDX): Likewise.
221 (ULP_I_IDX): Likewise.
222 * math/test-float.h (ULP_IDX): Likewise.
223 (ULP_I_IDX): Likewise.
224 * math/test-float128.h (ULP_IDX): Likewise.
225 (ULP_I_IDX): Likewise.
227 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
229 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
230 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
231 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
232 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
233 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
234 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
235 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
236 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
237 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
238 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
239 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
240 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
241 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
242 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
243 (SINGLE_THREAD_BY_GLOBAL): Define.
244 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
246 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
248 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
250 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
252 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
253 (SINGLE_THREAD_BY_GLOBAL): Likewise.
254 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
257 2017-10-11 Andreas Schwab <schwab@suse.de>
259 * nis/Makefile (aux): Remove.
260 * nscd/Makefile (aux): Add nscd_hash.
261 (nscd-modules): Likewise.
262 ($(objpfx)nscd): Don't depend on libnsl.
263 * nscd/nscd_hash.c: New file.
264 * nscd/nscd_hash.h: Likewise.
265 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
266 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
267 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
268 instead of <nis/rpcsvc/nis.h>.
269 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
271 2017-10-11 Florian Weimer <fweimer@redhat.com>
274 Avoid large NSS buffers with many addresses, aliases.
275 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
276 using dynarrays and struct alloc_buffer.
277 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
278 (tst-nss-files-hosts-multi): Link with -ldl.
279 * nss/tst-nss-files-hosts-multi.c: New file.
281 2017-10-11 Florian Weimer <fweimer@redhat.com>
284 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
285 scratch_buffer. Eliminate gotos.
287 2017-10-11 Joseph Myers <joseph@codesourcery.com>
289 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
290 libm_alias_ldouble_other.
291 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
292 undefine and redefine.
293 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
294 (exp10l): Do not define here.
295 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
296 (weak_alias): Undefine and redefine.
297 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
298 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
299 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
300 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
302 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
303 [!__fma] (fma): Define using libm_alias_double.
304 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
305 [!__fmaf] (fmaf): Define using libm_alias_float.
306 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
307 (fmal): Define using libm_alias_ldouble.
309 2017-10-10 Joseph Myers <joseph@codesourcery.com>
311 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
313 (libm_alias_double_other): Likewise.
314 (libm_alias_double_r): Use libm_alias_double_other_r.
315 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
317 (libm_alias_float_other): Likewise.
318 (libm_alias_float_r): Use libm_alias_float_other_r.
319 * sysdeps/generic/libm-alias-float128.h
320 (libm_alias_float128_other_r): New macro.
321 (libm_alias_float128_other): Likewise.
322 (libm_alias_float128_r): Use libm_alias_float128_other_r.
323 * sysdeps/generic/libm-alias-ldouble.h
324 (libm_alias_ldouble_other_r): New macro.
325 (libm_alias_ldouble_other): Likewise.
326 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
327 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
328 (libm_alias_double_other_r): New macro.
329 (libm_alias_double_other): Likewise.
330 (libm_alias_double_r): Use libm_alias_double_other_r.
331 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
332 (libm_alias_ldouble_other_r): New macro.
333 (libm_alias_ldouble_other): Likewise.
334 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
335 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
336 [!USE_AS_COMPAT]: Use libm_alias_double_other.
337 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
338 [!USE_AS_COMPAT]: Use libm_alias_float_other.
339 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
340 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
341 * math/w_exp2f.c: Use libm_alias_float_other.
342 * math/w_expf.c: Likewise.
343 * math/w_log2f.c: Likewise.
344 * math/w_logf.c: Likewise.
345 * math/w_powf.c: Likewise.
346 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
347 [!__exp2f]: Use libm_alias_float_other.
348 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
349 [!__expf]: Use libm_alias_float_other.
350 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
351 [!__log2f]: Use libm_alias_float_other.
352 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
353 [!__logf]: Use libm_alias_float_other.
354 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
355 [!__powf]: Use libm_alias_float_other.
357 2017-10-10 Florian Weimer <fweimer@redhat.com>
359 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
361 (_nss_files_gethostbyname3_r): Call it.
363 2017-10-09 Joseph Myers <joseph@codesourcery.com>
365 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
366 error. Remove default definition of declare_mgen_alias.
367 [!declare_mgen_alias_r]: Likewise.
368 * sysdeps/generic/math-type-macros-double.h
369 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
370 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
371 (declare_mgen_alias_r): Likewise.
372 * sysdeps/generic/math-type-macros-float128.h
373 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
374 * sysdeps/generic/math-type-macros-ldouble.h
375 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
376 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
378 (declare_mgen_alias_r_s): Likewise.
379 (declare_mgen_alias_r): Likewise.
380 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
381 (lgamma_r): Define using libm_alias_double_r.
382 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
383 (lgammaf_r): Define using libm_alias_float_r.
384 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
385 (lgammal_r): Define using libm_alias_ldouble_r.
386 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
387 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
389 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
391 * lib/glob.c (__glob_pattern_type): Remove now-spurious
394 2017-10-09 Joseph Myers <joseph@codesourcery.com>
396 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
398 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
401 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
402 [__cplusplus >= 201103] (__USE_ISOC99): Define.
403 * math/Makefile (test-math-cxx11): New test.
404 * math/test-math-cxx11.cc: New file.
406 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
408 * login/openpty.c (openpty): Close slave pty file descriptor on error.
410 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
411 call to allocate the slave pty file descriptor.
413 2017-10-06 Joseph Myers <joseph@codesourcery.com>
415 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
416 [!__fma] (fma): Define using libm_alias_double.
417 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
418 [!__fma] (fma): Define using libm_alias_double.
420 * sysdeps/ieee754/float128/float128_private.h: Include
421 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
422 (libm_alias_ldouble_r): Undefine and redefine.
423 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
424 <libm-alias-ldouble.h>.
425 (asinhl): Define using libm_alias_ldouble.
426 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
427 <libm-alias-ldouble.h>.
428 (atanl): Define using libm_alias_ldouble.
429 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
430 <libm-alias-ldouble.h>.
431 (cbrtl): Define using libm_alias_ldouble.
432 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
433 <libm-alias-ldouble.h>.
434 (ceill): Define using libm_alias_ldouble.
435 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
436 <libm-alias-ldouble.h>.
437 (copysignl): Define using libm_alias_ldouble.
438 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
439 <libm-alias-ldouble.h>.
440 (cosl): Define using libm_alias_ldouble.
441 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
442 <libm-alias-ldouble.h>.
443 (erfl): Define using libm_alias_ldouble.
445 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
446 <libm-alias-ldouble.h>.
447 (expm1l): Define using libm_alias_ldouble.
448 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
449 <libm-alias-ldouble.h>.
450 (fabsl): Define using libm_alias_ldouble.
451 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
452 <libm-alias-ldouble.h>.
453 (floorl): Define using libm_alias_ldouble.
454 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
455 <libm-alias-ldouble.h>.
456 (fmal): Define using libm_alias_ldouble.
457 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
458 <libm-alias-ldouble.h>.
459 (frexpl): Define using libm_alias_ldouble.
460 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
462 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
463 <libm-alias-ldouble.h>.
464 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
466 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
467 <libm-alias-ldouble.h>.
468 (getpayloadl): Define using libm_alias_ldouble.
469 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
470 <libm-alias-ldouble.h>.
471 (llrintl): Define using libm_alias_ldouble.
472 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
473 <libm-alias-ldouble.h>.
474 (llroundl): Define using libm_alias_ldouble.
475 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
476 <libm-alias-ldouble.h>.
477 (logbl): Define using libm_alias_ldouble.
478 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
479 <libm-alias-ldouble.h>.
480 (lrintl): Define using libm_alias_ldouble.
481 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
482 <libm-alias-ldouble.h>.
483 (lroundl): Define using libm_alias_ldouble.
484 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
485 <libm-alias-ldouble.h>.
486 (modfl): Define using libm_alias_ldouble.
487 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
488 <libm-alias-ldouble.h>.
489 (nearbyintl): Define using libm_alias_ldouble.
490 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
491 <libm-alias-ldouble.h>.
492 (nextafterl): Define using libm_alias_ldouble.
493 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
494 <libm-alias-ldouble.h>.
495 (nextupl): Define using libm_alias_ldouble.
496 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
497 <libm-alias-ldouble.h>.
498 (remquol): Define using libm_alias_ldouble.
499 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
500 <libm-alias-ldouble.h>.
501 (rintl): Define using libm_alias_ldouble.
502 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
503 <libm-alias-ldouble.h>.
504 (roundevenl): Define using libm_alias_ldouble.
505 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
506 <libm-alias-ldouble.h>.
507 (roundl): Define using libm_alias_ldouble.
508 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
509 using libm_alias_ldouble.
510 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
511 <libm-alias-ldouble.h>.
512 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
513 Define using libm_alias_ldouble.
514 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
515 <libm-alias-ldouble.h>.
516 (sincosl): Define using libm_alias_ldouble.
517 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
518 <libm-alias-ldouble.h>.
519 (sinl): Define using libm_alias_ldouble.
520 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
521 <libm-alias-ldouble.h>.
522 (tanhl): Define using libm_alias_ldouble.
523 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
524 <libm-alias-ldouble.h>.
525 (tanl): Define using libm_alias_ldouble.
526 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
527 <libm-alias-ldouble.h>.
528 (totalorderl): Define using libm_alias_ldouble.
529 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
530 <libm-alias-ldouble.h>.
531 (totalordermagl): Define using libm_alias_ldouble.
532 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
533 <libm-alias-ldouble.h>.
534 (truncl): Define using libm_alias_ldouble.
535 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
537 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
539 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
540 <libm-alias-ldouble.h>.
541 (weak_alias): Do not undefine and redefine.
542 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
543 (copysignl): Define with long_double_symbol only if [IS_IN
545 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
546 <libm-alias-ldouble.h>.
547 (weak_alias): Do not undefine and redefine.
548 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
549 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
550 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
551 <libm-alias-ldouble.h>.
552 (weak_alias): Do not undefine and redefine.
553 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
554 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
555 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
556 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
557 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
558 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
559 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
560 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
561 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
562 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
563 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
564 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
565 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
566 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
567 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
568 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
569 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
570 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
571 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
572 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
573 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
574 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
575 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
576 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
577 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
578 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
580 2017-10-06 Carlos O'Donell <carlos@redhat.com>
583 * malloc/malloc.c (tcache_shutting_down): Use bool type.
584 (tcache_thread_freeres): Set tcache_shutting_down before
586 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
587 * malloc/tst-malloc-tcache-leak.c: New file.
589 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
591 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
592 back to powerpc32 file.
593 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
594 (memrchr): Add __memrchr_power8 to ifunc list.
595 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
596 extra bytes for unaligned inputs.
598 2017-10-06 Joseph Myers <joseph@codesourcery.com>
600 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
601 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
602 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
603 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
604 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
606 2017-10-05 Joseph Myers <joseph@codesourcery.com>
608 * sysdeps/arm/libm-test-ulps: Update.
610 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
611 <libm-alias-ldouble.h>.
612 (asinhl): Define using libm_alias_ldouble.
613 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
614 <libm-alias-ldouble.h>.
615 (cbrtl): Define using libm_alias_ldouble.
616 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
617 <libm-alias-ldouble.h>.
618 (copysignl): Define using libm_alias_ldouble.
619 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
620 <libm-alias-ldouble.h>.
621 (cosl): Define using libm_alias_ldouble.
622 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
623 <libm-alias-ldouble.h>.
624 (erfl): Define using libm_alias_ldouble.
626 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
627 <libm-alias-ldouble.h>.
628 (fmal): Define using libm_alias_ldouble.
629 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
630 <libm-alias-ldouble.h>.
631 (frexpl): Define using libm_alias_ldouble.
632 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
634 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
635 <libm-alias-ldouble.h>.
636 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
638 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
639 <libm-alias-ldouble.h>.
640 (getpayloadl): Define using libm_alias_ldouble.
641 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
642 <libm-alias-ldouble.h>.
643 (llrintl): Define using libm_alias_ldouble.
644 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
645 <libm-alias-ldouble.h>.
646 (llroundl): Define using libm_alias_ldouble.
647 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
648 <libm-alias-ldouble.h>.
649 (lrintl): Define using libm_alias_ldouble.
650 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
651 <libm-alias-ldouble.h>.
652 (lroundl): Define using libm_alias_ldouble.
653 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
654 <libm-alias-ldouble.h>.
655 (modfl): Define using libm_alias_ldouble.
656 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
657 <libm-alias-ldouble.h>.
658 (nextupl): Define using libm_alias_ldouble.
659 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
660 <libm-alias-ldouble.h>.
661 (remquol): Define using libm_alias_ldouble.
662 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
663 <libm-alias-ldouble.h>.
664 (roundevenl): Define using libm_alias_ldouble.
665 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
666 <libm-alias-ldouble.h>.
667 (roundl): Define using libm_alias_ldouble.
668 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
669 using libm_alias_ldouble.
670 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
671 <libm-alias-ldouble.h>.
672 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
673 <libm-alias-ldouble.h>.
674 (setpayloadsigl): Define using libm_alias_ldouble.
675 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
676 <libm-alias-ldouble.h>.
677 (sincosl): Define using libm_alias_ldouble.
678 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
679 <libm-alias-ldouble.h>.
680 (sinl): Define using libm_alias_ldouble.
681 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
682 <libm-alias-ldouble.h>.
683 (tanhl): Define using libm_alias_ldouble.
684 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
685 <libm-alias-ldouble.h>.
686 (tanl): Define using libm_alias_ldouble.
687 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
688 <libm-alias-ldouble.h>.
689 (totalorderl): Define using libm_alias_ldouble.
690 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
691 <libm-alias-ldouble.h>.
692 (totalordermagl): Define using libm_alias_ldouble.
693 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
695 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
698 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
700 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
702 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
703 (__libc_ifunc_impl_list): Likewise.
704 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
705 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
707 * benchtests/bench-memmove-walk.c: New file.
708 * benchtests/Makefile (string-benchset): Add it.
710 * benchtests/bench-memset-walk.c: New file.
711 * benchtests/Makefile (string-benchset): Add it.
713 * benchtests/bench-memcpy-walk.c: New file.
714 * benchtests/Makefile (string-benchset): Add it.
716 2017-10-05 Florian Weimer <fweimer@redhat.com>
718 nscd: Eliminate compilation time dependency in the build output.
719 * nscd/nscd_stat.c (STATDATA_VERSION)
720 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
721 (STATDATA_VERSION_FULL): New macro definitions.
722 (compilation): Remove.
723 (struct statdata): Adjust version member.
724 (send_stats): Set version from STATDATA_VERSION_FULL.
725 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
727 2017-10-05 Joseph Myers <joseph@codesourcery.com>
729 * configure.ac (--enable-add-ons): Remove option.
730 (machine): Do not mention add-ons in comment.
731 (LIBC_PRECONFIGURE): Likewise.
732 (add_ons): Remove variable and sanity checks and logic to locate
734 (add_ons_automatic): Remove variable.
735 (configured_add_ons): Likewise.
736 (add_ons_sfx): Likewise.
737 (add_ons_pfx): Likewise.
738 (add_on_subdirs): Likewise.
739 (sysnames_add_ons): Likewise. Remove loop over add-ons and
740 consideration of add-ons in Implies handling.
741 (sysdeps_add_ons): Likewise.
742 * configure: Regenerated.
743 * libidn/configure.ac: Remove.
744 * libidn/configure: Likewise.
745 * sysdeps/unix/inet/configure.ac: New file.
746 * sysdeps/unix/inet/configure: New generated file.
747 * sysdeps/unix/inet/Subdirs: Add libidn.
748 * Makeconfig (sysdeps-srcdirs): Remove variable.
749 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
750 ($(common-objpfx)config.status): Do not depend on add-on files.
751 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
753 (all-subdirs): Do not include $(add-on-subdirs).
754 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
755 * config.make.in (add-ons): Remove variable.
756 (add-on-subdirs): Likewise.
757 (sysdeps-add-ons): Likewise.
758 * manual/Makefile (add-chapters): Remove.
759 ($(objpfx)texis): Do not depend on $(add-chapters).
760 (nonexamples): Do not handle $(add-chapters).
761 (examples): Do not handle $(add-ons).
762 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
764 * manual/install.texi (Installation): Do not mention add-ons.
765 (--enable-add-ons): Do not document configure option.
766 * INSTALL: Regenerated.
767 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
768 * manual/maint.texi (Hierarchy Conventions): Do not mention
770 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
772 * scripts/gen-sorted.awk: Do not handle Subdirs files from
774 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
775 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
777 2017-10-05 Andreas Schwab <schwab@suse.de>
780 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
781 (_IO_flush_all_lockp): Always lock list_all_lock.
782 (_IO_flush_all_linebuffered): Likewise.
783 (_IO_unbuffer_all): Likewise.
785 2017-10-05 Florian Weimer <fweimer@redhat.com>
788 Do not flush stdio streams on abort.
789 * stdlib/abort.c (fflush): Remove macro definition.
790 (abort): Remove stages related to stdio flushing.
792 2017-10-05 Florian Weimer <fweimer@redhat.com>
794 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
796 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
798 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
800 2017-10-05 Florian Weimer <fweimer@redhat.com>
802 * support/support_format_hostent.c (support_format_hostent): Add
803 more error information for NETDB_INTERNAL.
805 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
807 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
808 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
809 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
810 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
811 AC_DEFINE if multi-arch is enabled.
812 * sysdeps/i386/configure: Regenerated.
814 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
816 * Makeconfig (+link-static-before-libc): Use
817 $(DEFAULT-LDFLAGS-$(@F)).
818 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
819 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
820 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
822 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
824 * elf/Makefile (tests): Add tst-main1.
825 (modules-names): Add tst-main1mod.
826 ($(objpfx)tst-main1): New.
827 (CRT-tst-main1): Likewise.
828 (LDFLAGS-tst-main1): Likewise.
829 (LDLIBS-tst-main1): Likewise.
830 (tst-main1mod.so-no-z-defs): Likewise.
831 * elf/tst-main1.c: New file.
832 * elf/tst-main1mod.c: Likewise.
834 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
836 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
838 2017-10-04 Joseph Myers <joseph@codesourcery.com>
840 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
841 (fma): Define using libm_alias_double.
842 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
843 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
845 (fmal): Do not define as compat symbol here.
846 * sysdeps/alpha/fpu/s_fma.c: New file.
848 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
850 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
852 2017-10-04 Joseph Myers <joseph@codesourcery.com>
855 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
857 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
859 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
860 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
861 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
862 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
864 Include <math_ldbl_opt.h>
865 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
867 (compat_symbol): Undefine and redefine.
868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
870 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
871 (compat_symbol): Undefine and redefine.
872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
873 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
874 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
876 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
877 GLIBC_2.0 copysignl symbol.
878 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
879 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
881 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
883 2017-10-04 Florian Weimer <fweimer@redhat.com>
885 * scripts/check-local-headers.sh: Ignore nspr4 header file
886 directory in addition to nspr.
888 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
891 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
892 * configure: Regenerate.
893 * crypt/Makefile (nss-cpp-flags): New variable.
894 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
895 (CPPFLAGS-md5-crypt.c): Use it.
896 * scripts/check-local-headers.sh: Ignore nspr header file
899 2017-10-04 Andreas Schwab <schwab@suse.de>
901 * nis/Makefile (services): Remove compat.
902 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
903 ($(objpfx)libnss_compat.so): Remove rule.
904 * nis/Versions (libnss_compat): Remove.
905 * nss/Makefile (services): Add compat.
906 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
907 * nss/Versions (libnss_compat): Define.
908 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
909 Don't include <rpc/types.h>. Replace bool_t by bool.
910 * nss/nss_compat/compat-initgroups.c: Likewise.
911 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
912 instead of <rpcsrv/ypclnt.h>.
913 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
914 yp_get_default_domain.
915 * nss/nss_compat/compat-pwd.c: Likewise.
916 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
917 yp_get_default_domain.
918 * nss/nss_compat/nisdomain.c: New file.
919 * nss/nss_compat/nisdomain.h: Likewise.
921 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
924 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
925 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
927 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
930 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
931 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
933 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
935 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
936 "movl main@GOTOFF(%ebx), %eax".
938 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
940 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
941 allow undefined _DYNAMIC in PIE libc.a.
942 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
945 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
947 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
950 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
952 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
955 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
957 * math/test-math-iscanonical.cc (error): Replace bool with int.
959 2017-10-03 Joseph Myers <joseph@codesourcery.com>
961 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
962 (modf): Define using libm_alias_double, only if [!__modf].
963 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
964 <libm-alias-double.h>.
965 (modf): Define using libm_alias_double, only if [!__modf].
966 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
969 (weak_alias): Do not undefine and redefine.
970 (strong_alias): Likewise.
971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
972 (weak_alias): Likewise.
973 (strong_alias): Likewise.
975 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
976 (logb): Define using libm_alias_double, only if [!__logb].
977 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
978 <libm-alias-double.h>.
979 (logb): Define using libm_alias_double, only if [!__logb].
980 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
982 (weak_alias): Do not undefine and redefine.
983 (strong_alias): Likewise.
984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
985 (weak_alias): Likewise.
986 (strong_alias): Likewise.
988 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
990 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
991 Check SHARED instead PIC.
993 2017-10-03 Joseph Myers <joseph@codesourcery.com>
995 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
996 [!__fmaf] (fmaf): Define using libm_alias_float.
998 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
999 (frexp): Define using libm_alias_double.
1000 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
1001 <libm-alias-double.h>.
1002 (frexp): Define using libm_alias_double.
1003 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
1006 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1009 * math/math.h: Trivial fix for unbalanced parentheses in comment.
1010 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
1011 (CFLAGS-test-math-iscanonical.cc): New variable.
1012 * math/test-math-iscanonical.cc: New file.
1013 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
1014 Provide a C++ implementation based on function overloading,
1015 rather than using __MATH_TG, which uses C-only builtins.
1016 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
1018 * sysdeps/powerpc/powerpc64le/Makefile
1019 (CFLAGS-test-math-iscanonical.cc): New variable.
1021 2017-10-03 Joseph Myers <joseph@codesourcery.com>
1023 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
1024 (ceil): Define using libm_alias_double.
1025 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
1026 (floor): Define using libm_alias_double.
1027 * sysdeps/ieee754/dbl-64/s_llround.c: Include
1028 <libm-alias-double.h>.
1029 (llround): Define using libm_alias_double.
1030 * sysdeps/ieee754/dbl-64/s_lround.c: Include
1031 <libm-alias-double.h>.
1032 (lround): Define using libm_alias_double.
1033 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
1034 <libm-alias-double.h>.
1035 (nearbyint): Define using libm_alias_double.
1036 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
1037 <libm-alias-double.h>.
1038 (remquo): Define using libm_alias_double.
1039 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
1040 (rint): Define using libm_alias_double.
1041 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
1042 (round): Define using libm_alias_double.
1043 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
1044 (trunc): Define using libm_alias_double.
1045 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
1046 <libm-alias-double.h>.
1047 (ceil): Define using libm_alias_double.
1048 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
1049 <libm-alias-double.h>.
1050 (floor): Define using libm_alias_double.
1051 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
1052 <libm-alias-double.h>.
1053 (llround): Define using libm_alias_double.
1054 [_LP64] (lround): Likewise.
1055 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
1056 <libm-alias-double.h>.
1057 [!_LP64] (lround): Define using libm_alias_double.
1058 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
1059 <libm-alias-double.h>.
1060 (nearbyint): Define using libm_alias_double.
1061 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
1062 <libm-alias-double.h>.
1063 (remquo): Define using libm_alias_double.
1064 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
1065 <libm-alias-double.h>.
1066 (rint): Define using libm_alias_double.
1067 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
1068 <libm-alias-double.h>.
1069 (round): Define using libm_alias_double.
1070 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
1071 <libm-alias-double.h>.
1072 (trunc): Define using libm_alias_double.
1073 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
1074 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
1075 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
1076 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
1077 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
1078 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
1079 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
1080 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
1081 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
1083 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1085 * math/w_remainder.c: New file.
1086 * math/w_remainderf.c: New file.
1087 * math/w_remainderl.c: New file.
1089 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1091 * elf/rtld.c (BOOTSTRAP_MAP): New.
1092 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
1093 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1095 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1097 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1100 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1102 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
1103 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
1104 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
1105 rtld_hidden_data_ver): Define to empty.
1106 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
1107 __assert_perror_fail): Likewise.
1108 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1109 (__rewinddir): Likewise.
1110 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1111 (__profile_frequency): Likewise.
1112 * include/setjmp.h (__sigsetjmp): Likewise.
1113 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
1114 __libc_sigaction): Likewise.
1115 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
1116 not set hidden attribute.
1117 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
1118 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
1119 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
1120 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
1121 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
1122 __fxstatat64): Likewise.
1123 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1124 (__uname): Likewise.
1125 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1126 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
1127 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
1128 (NO_RTLD_HIDDEN): Set.
1129 * sysdeps/mach/hurd/configure: Refresh.
1130 * config.h.in: Refresh.
1132 2017-10-02 Joseph Myers <joseph@codesourcery.com>
1134 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
1135 (atan): Define using libm_alias_double.
1136 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
1137 (tan): Define using libm_alias_double.
1138 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
1139 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
1141 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
1142 define as weak alias of __atan. Do not define any aliases if
1144 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
1145 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
1146 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
1147 as weak alias of __tan. Do not define any aliases if [__tan].
1148 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
1149 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
1150 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
1152 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
1153 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
1154 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
1155 and define as weak alias of __atan.
1156 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
1158 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
1159 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
1160 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
1161 define as weak alias of __tan.
1163 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1165 * math/w_lgamma.c: New file.
1166 * math/w_lgammaf.c: New file.
1167 * math/w_lgammal.c: New file.
1169 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1171 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
1172 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
1173 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
1174 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
1175 * sysdeps/ieee754/flt-32/w_logf.c: New file.
1176 * sysdeps/ieee754/flt-32/w_powf.c: New file.
1177 * sysdeps/i386/fpu/w_log2f.c: New file.
1178 * sysdeps/i386/fpu/w_logf.c: New file.
1179 * sysdeps/i386/fpu/w_powf.c: New file.
1180 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
1181 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
1182 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
1184 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1185 H.J. Lu <hongjiu.lu@intel.com>
1187 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
1188 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
1189 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
1190 * sysdeps/ieee754/flt-32/w_expf.c: New file.
1191 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
1193 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
1194 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
1195 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
1196 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
1197 * sysdeps/i386/fpu/w_exp2f.c: New file.
1198 * sysdeps/i386/fpu/w_expf.c: New file.
1199 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
1200 * sysdeps/x86_64/fpu/w_expf.c: New file.
1202 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1204 * math/Versions (logf): New libm symbol at GLIBC_2.27.
1207 * math/w_log2f.c: New file.
1208 * math/w_logf.c: New file.
1209 * math/w_powf.c: New file.
1210 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
1211 * math/w_logf_compat.c (__logf_compat): Likewise.
1212 * math/w_powf_compat.c (__powf_compat): Likewise.
1213 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
1214 * sysdeps/ia64/fpu/e_logf.S: Likewise.
1215 * sysdeps/ia64/fpu/e_powf.S: Likewise.
1216 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1217 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1218 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1219 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1220 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1221 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1222 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1223 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1224 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1225 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1226 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1227 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1236 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1237 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1238 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1239 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1240 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1241 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1243 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1245 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1246 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1247 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1249 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1251 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1252 (sysdep_routines): Add memrchr_power8.
1253 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1254 (memrchr): Add __memrchr_power8 to list of memrchr functions.
1255 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
1257 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
1258 (memrchr): Add __memrchr_power8 to ifunc list.
1259 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
1261 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1264 * sysdeps/unix/sysv/linux/posix_fadvise64.c
1265 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
1267 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1268 (__posix_fallocate64_l64): Likewise.
1270 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1273 * sysdeps/unix/sysv/linux/sched_setaffinity.c
1274 (__sched_setaffinity_new): Add libc_hidden_proto and
1277 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1280 * include/glob.h (__glob64): Add libc_hidden_proto.
1281 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
1284 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1287 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
1290 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1293 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
1295 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1298 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
1301 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1304 * csu/version.c (__libc_print_version): Add attribute_hidden.
1306 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1309 * include/libc-internal.h (__init_misc): Add attribute_hidden.
1311 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1314 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
1316 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1319 * nscd/nscd_helper.c (__nis_hash): New prototype.
1321 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1324 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
1325 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
1327 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1328 * termios/tcgetattr.c (__tcgetattr): Likewise.
1330 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1333 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
1334 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
1335 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
1336 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
1337 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
1339 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1342 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
1344 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1347 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
1348 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
1350 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1353 * intl/hash-string.h (__hash_string): Add attribute_hidden.
1355 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1358 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
1359 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
1361 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1364 * include/ifreq.h: New file.
1365 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
1366 (__ifreq): Likewise.
1367 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
1368 (__ifreq): Likewise.
1370 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1373 * include/idna.h: New file.
1374 * inet/getnameinfo.c: Include <idna.h> instead of
1376 (__idna_to_unicode_lzlz): Removed.
1377 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
1379 (__idna_to_ascii_lz): Removed.
1380 (__idna_to_unicode_lzlz): Likewise.
1382 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1385 * include/plural-exp.h: New file.
1386 * intl/plural-exp.c: Include <plural-exp.h> instead of
1389 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1392 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
1393 "getsourcefilter.h".
1394 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
1395 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
1396 "getsourcefilter.h".
1397 (__get_sol): Removed.
1399 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1402 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
1404 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
1406 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1409 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
1412 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1415 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
1417 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1420 * include/search.h (__tdestroy): Add libc_hidden_proto.
1421 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
1423 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1426 * include/assert.h (__assert_fail_base): Add attribute_hidden.
1428 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1431 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
1434 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1437 * include/signal.h (__kill): Add libc_hidden_proto.
1438 (__sigblock): Likewise.
1439 (__sigprocmask): Likewise.
1440 (__sigaltstack): Likewise.
1441 * signal/kill.c (__kill): Add libc_hidden_def.
1442 * signal/sigblock.c (__sigblock): Likewise.
1443 * signal/sigprocmask.c (__sigprocmask): Likewise.
1444 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1445 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1446 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
1447 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
1448 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
1450 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
1452 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
1453 (__sigprocmask): Likewise.
1454 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
1456 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
1457 (__sigprocmask): Likewise.
1458 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
1461 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1464 * include/string.h (__strsep): Add libc_hidden_proto.
1465 * string/strsep.c (__strsep): Add libc_hidden_def.
1467 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1470 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
1472 (__spawni): Likewise.
1474 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1477 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
1478 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
1481 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1484 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
1486 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1489 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
1490 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
1491 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1492 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
1493 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
1495 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1496 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
1498 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1501 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
1502 (__dcigettext): Likewise.
1504 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1507 * include/sys/sysinfo.h (__get_nprocs_conf): Add
1509 (__get_nprocs): Likewise.
1510 (__get_phys_pages): Likewise.
1511 (__get_avphys_pages): Likewise.
1512 (__get_child_max): Add attribute_hidden.
1513 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
1514 (__get_nprocs): Likewise.
1515 (__get_phys_pages): Likewise.
1516 (__get_avphys_pages): Likewise.
1517 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
1519 (__get_nprocs): Likewise.
1520 (__get_phys_pages): Likewise.
1521 (__get_avphys_pages): Likewise.
1522 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
1524 (__get_nprocs_conf): Likewise.
1525 (__get_phys_pages): Likewise.
1526 (__get_avphys_pages): Likewise.
1528 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1531 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
1533 (__netlink_close): Likewise.
1534 (__netlink_free_handle): Likewise.
1535 (__netlink_request): Likewise.
1537 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1540 * include/rpc/rpc.h (__rpc_thread_variables): Add
1542 (__rpc_thread_svc_cleanup): Likewise.
1543 (__rpc_thread_clnt_cleanup): Likewise.
1544 (__rpc_thread_key_cleanup): Likewise.
1546 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1549 * include/sys/uio.h (__readv): Add libc_hidden_proto.
1550 (__writev): Likewise.
1551 * misc/readv.c (__readv): Add libc_hidden_def.
1552 * misc/writev.c (__writev): Likewise.
1553 * sysdeps/posix/readv.c (__readv): Likewise.
1554 * sysdeps/posix/writev.c (__writev): Likewise.
1555 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
1556 (__readv): Likewise.
1557 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
1558 (__writev): Likewise.
1560 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1563 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
1564 (__regcomp): Add libc_hidden_proto.
1565 (__regexec): Likewise.
1566 (__regfree): Likewise.
1567 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
1568 (__regfree): Likewise.
1569 * posix/regexec.c (__regexec): Likewise.
1571 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1574 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
1575 (__getutent): Likewise.
1576 (__getutid): Likewise.
1577 (__getutline): Likewise.
1578 (__pututline): Likewise.
1579 (__getutent_r): Likewise.
1580 (__getutid_r): Likewise.
1581 (__getutline_r): Likewise.
1582 (__utmpname): Add attribute_hidden.
1583 (__setutent): Likewise.
1584 (__endutent): Likewise.
1585 * login/getutent.c (__getutent): Add libc_hidden_def.
1586 * login/getutent_r.c (__getutent_r): Likewise.
1587 (__pututline): Likewise.
1588 * login/getutid.c (__getutid): Likewise.
1589 * login/getutid_r.c (__getutid_r): Likewise.
1590 * login/getutline.c (__getutline): Likewise.
1591 * login/getutline_r.c (__getutline_r): Likewise.
1592 * login/updwtmp.c (__updwtmp): Likewise.
1594 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1597 * include/dirent.h (__opendir): Always add attribute_hidden.
1598 (__fdopendir): Likewise.
1599 (__closedir): Likewise.
1600 (__readdir): Likewise.
1601 (__readdir64): Add libc_hidden_proto.
1602 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
1603 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
1604 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
1605 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
1608 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1611 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
1612 * include/netdb.h (__gethostbyaddr_r): Likewise.
1613 (__gethostbyname_r): Likewise.
1614 (__gethostbyname2_r): Likewise.
1615 (__getnetbyaddr_r): Likewise.
1616 (__getnetbyname_r): Likewise.
1617 (__getservbyname_r): Likewise.
1618 (__getservbyport_r): Likewise.
1619 (__getprotobyname_r): Likewise.
1620 (__getprotobynumber_r): Likewise.
1621 (__getnetgrent_r): Likewise.
1622 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
1623 (__getrpcbynumber_r): Likewise.
1624 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
1626 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1629 * include/stdio.h (__fcloseall): Add attribute_hidden.
1630 (__getline): Likewise.
1631 (__path_search): Likewise.
1632 (__gen_tempname): Likewise.
1633 (__libc_message): Likewise.
1634 (__flockfile): Likewise.
1635 (__funlockfile): Likewise.
1636 (__fxprintf): Likewise.
1637 (__fxprintf_nocancel): Likewise.
1639 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1642 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
1643 (__sgetsgent_r): Likewise.
1645 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1648 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
1649 (__statfs64): Likewise.
1650 (__fstatfs64): Likewise.
1651 * include/sys/statvfs.h (__statvfs64): Likewise.
1652 (__fstatvfs64): Likewise.
1653 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
1654 (__statfs_filesize_max): Likewise.
1655 (__statfs_symlinks): Likewise.
1656 (__statfs_chown_restricted): Likewise.
1658 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1661 * include/time.h (__tzstring): Add attribute_hidden.
1662 (__tzfile_read): Likewise.
1663 (__tzfile_compute): Likewise.
1664 (__tzfile_default): Likewise.
1665 (__tzset_parse_tz): Likewise.
1666 (__offtime): Likewise.
1667 (__asctime_r): Likewise.
1668 (__tzset): Likewise.
1669 (__tz_convert): Likewise.
1670 (__getdate_r): Likewise.
1671 (__getclktck): Likewise.
1673 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1676 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
1677 (__nscd_unmap): Likewise.
1678 (__nscd_cache_search): Likewise.
1679 (__nscd_get_nl_timestamp): Likewise.
1680 (__nscd_getpwnam_r): Likewise.
1681 (__nscd_getpwuid_r): Likewise.
1682 (__nscd_getgrnam_r): Likewise.
1683 (__nscd_getgrgid_r): Likewise.
1684 (__nscd_gethostbyname_r): Likewise.
1685 (__nscd_gethostbyname2_r): Likewise.
1686 (__nscd_gethostbyaddr_r): Likewise.
1687 (__nscd_getai): Likewise.
1688 (__nscd_getgrouplist): Likewise.
1689 (__nscd_getservbyname_r): Likewise.
1690 (__nscd_getservbyport_r): Likewise.
1691 (__nscd_innetgr): Likewise.
1692 (__nscd_setnetgrent): Likewise.
1694 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1697 * include/gmp.h: Declare internal functions only if _ISOMAC is
1699 (__mpn_extract_double): Add attribute_hidden.
1700 (__mpn_extract_long_double): Likewise.
1701 (__mpn_extract_float128): Likewise.
1702 (__mpn_construct_float): Likewise.
1703 (__mpn_construct_double): Likewise.
1704 (__mpn_construct_long_double): Likewise.
1705 (__mpn_construct_float128): Likewise.
1706 (mpn_add_1): Likewise.
1707 (mpn_addmul_1): Likewise.
1708 (mpn_add_n): Likewise.
1709 (mpn_cmp): Likewise.
1710 (mpn_divrem): Likewise.
1711 (mpn_lshift): Likewise.
1712 (mpn_mul): Likewise.
1713 (mpn_mul_1): Likewise.
1714 (mpn_rshift): Likewise.
1715 (mpn_sub_1): Likewise.
1716 (mpn_submul_1): Likewise.
1717 (mpn_sub_n): Likewise.
1719 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1722 * include/wchar.h (__wcsnlen): Add attribute_hidden.
1723 (__wcscat): Likewise.
1724 (__btowc): Likewise.
1725 (__wcrtomb): Likewise.
1726 (__mbsrtowcs): Likewise.
1727 (__wcsrtombs): Likewise.
1728 (__mbsnrtowcs): Likewise.
1729 (__wcsnrtombs): Likewise.
1730 (__wcsncpy): Likewise.
1731 (__wcpncpy): Likewise.
1732 (__wmemcpy): Likewise.
1733 (__wmempcpy): Likewise.
1734 (__wmemmove): Likewise.
1735 (__wcschrnul): Likewise.
1736 (__vfwscanf): Likewise.
1737 (__vswprintf): Likewise.
1738 (__fwprintf): Likewise.
1739 (__vfwprintf): Likewise.
1741 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1744 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
1745 (__getgrgid_r): Likewise.
1746 (__getgrnam_r): Likewise.
1747 * include/pwd.h (__getpwuid_r): Likewise.
1748 (__getpwnam_r): Likewise.
1749 (__fgetpwent_r): Likewise.
1750 * include/shadow.h (__getspnam_r): Likewise.
1751 (__sgetspent_r): Likewise.
1752 (__fgetspent_r): Likewise.
1754 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1757 * include/unistd.h (__access): Add attribute_hidden.
1758 (__lseek64): Likewise.
1759 (__libc_pread64): Likewise.
1760 (__pipe2): Likewise.
1761 (__sleep): Likewise.
1762 (__chdir): Likewise.
1763 (__fchdir): Likewise.
1764 (__getcwd): Likewise.
1765 (__rmdir): Likewise.
1766 (__execvpe): Likewise.
1767 (__execve): Likewise.
1768 (__setsid): Likewise.
1769 (__getuid): Likewise.
1770 (__geteuid): Likewise.
1771 (__getgid): Likewise.
1772 (__getegid): Likewise.
1773 (__getgroups): Likewise.
1774 (__group_member): Likewise.
1775 (__ttyname_r): Likewise.
1776 (__isatty): Likewise.
1777 (__readlink): Likewise.
1778 (__unlink): Likewise.
1779 (__gethostname): Likewise.
1780 (__profil): Likewise.
1781 (__getdtablesize): Likewise.
1783 (__ftruncate): Likewise.
1784 (__ftruncate64): Likewise.
1786 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1789 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
1790 * argp/argp-fs-xinl.c: Likewise.
1791 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
1792 * argp/argp-parse.c: Include <argp.h>.
1793 * argp/argp-xinl.c: Likewise.
1794 * include/argp-fmtstream.h: New file.
1795 * include/argp.h (__argp_error): Add attribute_hidden.
1796 (__argp_failure): Likewise.
1797 (__argp_input): Likewise.
1798 (__argp_state_help): Likewise.
1800 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1803 * include/wchar.h (____wcstof_l_internal): New prototype.
1804 (____wcstod_l_internal): Likewise.
1805 (____wcstold_l_internal): Likewise.
1806 (____wcstol_l_internal): Likewise.
1807 (____wcstoul_l_internal): Likewise.
1808 (____wcstoll_l_internal): Likewise.
1809 (____wcstoull_l_internal): Likewise.
1810 (____wcstof128_l_internal): Likewise.
1811 * sysdeps/ieee754/float128/wcstof128.c
1812 (____wcstof128_l_internal): Removed.
1813 * sysdeps/ieee754/float128/wcstof128_l.c
1814 (____wcstof128_l_internal): Likewise.
1815 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
1816 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
1817 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
1818 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
1819 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
1820 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
1821 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
1822 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
1823 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
1824 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
1826 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1829 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
1830 instead of <sys/statvfs.h>.
1831 (__internal_statvfs): Removed.
1832 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
1833 instead of <sys/statvfs.h>.
1834 (__internal_statvfs64): Removed.
1835 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
1836 "internal_statvfs.h" instead of <sys/statvfs.h>.
1837 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
1838 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
1839 instead of <sys/statvfs.h>.
1840 (__internal_statvfs): Removed.
1841 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
1842 instead of <sys/statvfs.h>.
1843 (__internal_statvfs64): Removed.
1845 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1848 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
1849 (__gconv_close): Likewise.
1850 (__gconv): Likewise.
1851 (__gconv_find_transform): Likewise.
1852 (__gconv_lookup_cache): Likewise.
1853 (__gconv_compare_alias_cache): Likewise.
1854 (__gconv_load_cache): Likewise.
1855 (__gconv_get_path): Likewise.
1856 (__gconv_close_transform): Likewise.
1857 (__gconv_release_cache): Likewise.
1858 (__gconv_find_shlib): Likewise.
1859 (__gconv_release_shlib): Likewise.
1860 (__gconv_get_builtin_trans): Likewise.
1861 (__gconv_compare_alias): Likewise.
1862 * include/dlfcn.h (_dlerror_run): Likewise.
1863 * include/stdio.h (__fortify_fail_abort): Likewise.
1864 * include/time.h (__tz_compute): Likewise.
1865 (__strptime_internal): Likewise.
1866 * intl/gettextP.h (_nl_find_domain): Likewise.
1867 (_nl_load_domain): Likewise.
1868 (_nl_find_msg): Likewise.
1869 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
1870 (EXTRACT_PLURAL_EXPRESSION): Likewise.
1871 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
1872 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
1873 (__gai_find_request): Likewise.
1874 (__gai_remove_request): Likewise.
1875 (__gai_notify): Likewise.
1876 (__gai_notify_only): Likewise.
1877 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
1878 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
1879 (_dl_non_dynamic_init): Likewise.
1880 (_dl_aux_init): Likewise.
1881 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
1882 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
1884 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
1885 (__wcsmbs_clone_conv): Likewise.
1886 (__wcsmbs_named_conv): Likewise.
1888 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1891 * include/stdlib.h (__random): Add attribute_hidden.
1892 (__random_r): Likewise.
1893 (__srandom_r): Likewise.
1894 (__initstate_r): Likewise.
1895 (__setstate_r): Likewise.
1896 (__erand48_r): Likewise.
1897 (__nrand48_r): Likewise.
1898 (__jrand48_r): Likewise.
1899 (__srand48_r): Likewise.
1900 (__seed48_r): Likewise.
1901 (__lcong48_r): Likewise.
1902 (__drand48_iterate): Likewise.
1903 (__setenv): Likewise.
1904 (__unsetenv): Likewise.
1905 (__clearenv): Likewise.
1906 (__ptsname_r): Likewise.
1907 (__posix_openpt): Likewise.
1908 (__add_to_environ): Likewise.
1909 (__realpath): Add libc_hidden_proto.
1910 (__ecvt_r): Likewise.
1911 (__fcvt_r): Likewise.
1912 (__qecvt_r): Likewise.
1913 (__qfcvt_r): Likewise.
1914 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
1915 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
1917 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1920 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
1921 * include/time.h (__mktime_internal): Likewise.
1922 * libio/iolibio.h (__fopen_internal): Likewise.
1924 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
1926 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
1928 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
1929 Correct offset used to restore PIC register.
1931 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
1934 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
1935 code to load address of __getcontext_ret when generating PIC code.
1937 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
1939 * elf/Makefile (tests-static-internal): Add
1940 tst-tls1-static-non-pie.
1941 (LDFLAGS-tst-tls1-static-non-pie): New.
1942 * elf/tst-tls1-static-non-pie.c: New file.
1944 2017-09-29 Joseph Myers <joseph@codesourcery.com>
1946 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
1947 (asinh): Define using libm_alias_double.
1948 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
1949 (cbrt): Define using libm_alias_double.
1950 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
1951 <libm-alias-double.h>.
1952 (copysign): Define using libm_alias_double.
1953 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
1954 (erf): Define using libm_alias_double.
1956 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
1957 (expm1): Define using libm_alias_double.
1958 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
1959 (fabs): Define using libm_alias_double.
1960 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
1962 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
1963 <libm-alias-double.h>.
1964 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
1966 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
1967 <libm-alias-double.h>.
1968 (getpayload): Define using libm_alias_double.
1969 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
1970 <libm-alias-double.h>.
1971 (llrint): Define using libm_alias_double.
1972 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
1973 (lrint): Define using libm_alias_double.
1974 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
1975 <libm-alias-double.h>.
1976 (nextup): Define using libm_alias_double.
1977 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
1978 <libm-alias-double.h>.
1979 (roundeven): Define using libm_alias_double.
1980 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
1982 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
1983 <libm-alias-double.h>.
1984 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
1985 using libm_alias_double.
1986 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
1987 (cos): Define using libm_alias_double.
1989 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
1990 <libm-alias-double.h>.
1991 (sincos): Define using libm_alias_double.
1992 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
1993 (tanh): Define using libm_alias_double.
1994 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
1995 <libm-alias-double.h>.
1996 (totalorder): Define using libm_alias_double.
1997 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1998 <libm-alias-double.h>.
1999 (totalordermag): Define using libm_alias_double.
2000 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
2002 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
2004 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
2005 <libm-alias-double.h>.
2006 (getpayload): Define using libm_alias_double.
2007 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
2008 <libm-alias-double.h>.
2009 (roundeven): Define using libm_alias_double.
2010 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
2011 <libm-alias-double.h>.
2012 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
2013 <libm-alias-double.h>.
2014 (totalorder): Define using libm_alias_double.
2015 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
2016 <libm-alias-double.h>.
2017 (totalordermag): Define using libm_alias_double.
2018 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
2019 libc compat symbol here.
2020 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
2021 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
2022 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
2023 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
2024 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
2025 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
2026 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
2027 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
2028 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
2029 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
2031 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2033 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
2034 _dl_relocate_static_pie instead of _dl_start to compute load
2035 address in static PIE. Return 0 if _DYNAMIC is undefined for
2038 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2040 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
2041 _DYNAMIC is undefined for static executable.
2043 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2045 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
2047 2017-09-29 Joseph Myers <joseph@codesourcery.com>
2049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2051 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
2053 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2054 (__ieee754_lgamma_r): Use fabs rather than __fabs.
2055 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
2056 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2057 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2058 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
2059 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
2060 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
2061 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
2062 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
2063 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
2064 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2065 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
2066 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
2067 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2068 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2069 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
2071 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
2073 * math/bits/cmathcalls.h (cimag): Remove inline.
2074 (creal): Remove inline.
2075 (conj): Remove inline.
2077 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2079 * math/Makefile (type-float-routines): Add e_powf_log2_data.
2080 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
2081 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
2082 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
2083 (issignalingf_inline): Likewise.
2084 (POWF_LOG2_TABLE_BITS): Likewise.
2085 (POWF_LOG2_POLY_ORDER): Likewise.
2086 (POWF_SCALE_BITS): Likewise.
2087 (POWF_SCALE): Likewise.
2088 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
2089 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
2090 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
2092 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2094 * math/Makefile (type-float-routines): Add e_log2f_data.
2095 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
2096 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
2097 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
2098 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
2099 * sysdeps/i386/fpu/e_log2f_data.c: New file.
2100 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
2101 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
2103 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2105 * math/Makefile (type-float-routines): Add e_logf_data.
2106 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
2107 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
2108 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
2109 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
2110 * sysdeps/i386/fpu/e_logf_data.c: New file.
2111 * sysdeps/ia64/fpu/e_logf_data.c: New file.
2112 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
2114 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
2116 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
2117 undefined _DYNAMIC in PIE libc.a.
2118 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
2121 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
2123 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
2124 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
2125 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
2126 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
2127 (__signbit): Remove.
2128 (__signbitl): Remove.
2129 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
2130 (__signbit): Remove.
2131 (__signbitl): Remove.
2132 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
2133 (__signbit): Remove.
2134 (__signbitl): Remove.
2135 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
2136 (__signbit): Remove.
2137 (__signbitl): Remove.
2138 * sysdeps/tile/bits/mathinline.h: Delete file.
2139 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
2140 (__signbit): Remove.
2141 (__signbitl): Remove.
2143 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
2145 * math/math.h: Improve handling of C99 isgreater macros.
2146 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
2147 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
2148 * sysdeps/powerpc/bits/mathinline.h: Likewise.
2149 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2150 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
2152 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
2154 * sysdeps/aarch64/libm-test-ulps: Update.
2156 2017-09-28 Joseph Myers <joseph@codesourcery.com>
2159 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2160 math_opt_barrier on argument when doing arithmetic on it.
2161 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2162 Likewise. Use math_force_eval not math_opt_barrier after
2164 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
2165 math_opt_barrier on argument when doing arithmetic on it.
2166 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2169 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
2171 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
2173 (__freeifaddrs): Likewise.
2175 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2177 * include/dirent.h (__dirfd): New declaration.
2178 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
2180 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
2181 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
2182 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
2183 * include/unistd.h (__revoke): New declaration.
2184 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
2186 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
2187 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
2189 * include/dirent.h (__seekdir): New declaration.
2190 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
2191 redefine as weak alias.
2192 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
2194 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
2195 and use libc_hidden_def on them.
2196 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
2198 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
2199 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
2200 instead of getifaddrs and freeifaddrs.
2202 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
2205 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
2206 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
2207 (__dso_handle): Remove declaration.
2208 * dlfcn/tstatexit.c (__dso_handle): Removed.
2209 (main): Don't check __dso_handle.
2210 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
2211 (main): Don't check __dso_handle.
2212 * include/dso_handle.h: New file.
2213 * malloc/mtrace.c: Include <dso_handle.h>.
2214 (mtrace): Pass __dso_handle directly.
2215 * nptl/pthread_atfork.c: Include <dso_handle.h>.
2216 (__dso_handle): Remove declaration.
2217 (__pthread_atfork): Pass __dso_handle directly.
2218 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
2219 (__dso_handle): Removed.
2220 * posix/wordexp-test.c: Include <dso_handle.h>.
2221 (__dso_handle): Remove declaration.
2222 (__app_register_atfork): Pass __dso_handle directly.
2223 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
2224 (__dso_handle): Remove declaration.
2225 (at_quick_exit): Pass __dso_handle directly.
2226 * stdlib/atexit.c: Include <dso_handle.h>.
2227 (__dso_handle): Remove declaration.
2228 (atexit): Pass __dso_handle directly.
2229 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
2230 (__dso_handle): Removed.
2232 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2234 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
2237 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
2239 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
2240 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
2241 values to correct default value for given type.
2243 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
2246 * elf/Makefile (tests): Add tst-debug1.
2247 ($(objpfx)tst-debug1): New.
2248 ($(objpfx)tst-debug1.out): Likewise.
2249 ($(objpfx)tst-debug1mod1.so): Likewise.
2250 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
2252 * elf/tst-debug1.c: New file.
2254 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2256 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
2257 Define using __ifunc.
2259 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2261 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
2264 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2267 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
2269 2017-09-26 Florian Weimer <fweimer@redhat.com>
2271 * resolv/Makefile (tests-internal): Fix typo in comment.
2273 2017-09-26 Florian Weimer <fweimer@redhat.com>
2275 * resolv/nss_dns/dns-host.c: Fix typo in comment.
2277 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2279 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
2280 Use an union instead of a max_align_t array for __space,
2281 so that __space is the same size on all platforms.
2282 * malloc/scratch_buffer_grow_preserve.c
2283 (__libc_scratch_buffer_grow_preserve): Likewise.
2286 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
2288 * posix/Makefile (routines): Add glob-lstat-compat and
2289 glob64-lstat-compat.
2290 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
2291 * posix/glob-lstat-compat.c: New file.
2292 * posix/glob64-lstat-compat.c: Likewise.
2293 * posix/tst-glob_lstat_compat.c: Likewise.
2294 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
2295 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
2296 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
2297 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
2299 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
2300 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
2301 * posix/glob.c (glob_lstat): New function.
2302 (glob): Rename to __glob and add versioned symbol to 2.27.
2303 (glob_in_dir): Use glob_lstat.
2304 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
2305 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2306 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
2308 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
2309 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
2310 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
2311 gl_lstat on glob call.
2312 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
2314 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2315 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2316 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2317 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2318 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2319 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2320 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2321 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2322 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2323 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2324 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2325 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2328 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2330 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2331 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2332 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2333 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2334 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2335 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2337 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2338 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2339 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2341 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
2343 * configure.ac (AS): Require binutils 2.25 or later.
2344 * configure: Regenerated.
2346 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
2349 * stdlib/test-atexit-race-common.c (do_test): Minimize required
2352 2017-09-25 DJ Delorie <dj@redhat.com>
2355 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
2358 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2360 * sysdeps/ieee754/dbl-64/sincos32.h
2361 [SINCCOS32_H]: Remove define.
2362 [SINCOS32_H]: Define.
2364 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2366 * math/Versions (expf): New libm symbol at GLIBC_2.27.
2368 * math/w_exp2f.c: New file.
2369 * math/w_expf.c: New file.
2370 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
2371 * math/w_expf_compat.c (__expf_compat): Likewise.
2372 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
2373 * sysdeps/ia64/fpu/e_expf.S: Likewise.
2374 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
2375 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2376 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2377 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2378 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2379 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2380 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2381 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2382 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2383 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2384 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2385 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2394 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2395 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2396 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2397 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2398 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2403 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2404 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2405 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2407 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2409 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
2410 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
2411 (roundtoint, converttoint): Likewise.
2412 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
2413 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
2414 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
2415 * sysdeps/ieee754/flt-32/math_config.h: New file.
2416 * sysdeps/ieee754/flt-32/math_errf.c: New file.
2417 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
2418 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
2419 * sysdeps/i386/fpu/math_errf.c: New file.
2420 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
2421 * sysdeps/ia64/fpu/math_errf.c: New file.
2422 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
2423 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
2425 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2427 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
2428 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
2429 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
2430 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
2431 to make sure that these symbols are defined.
2432 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
2434 (__need_NULL): Do not define.
2435 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
2437 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
2438 CMGROUP_MAX, cmsgcred): Do not define.
2439 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
2441 * bits/socket.h: Likewise.
2442 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
2443 __gettimeofday instead of gettimeofday.
2444 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
2445 instead of settimeofday.
2447 2017-09-22 Joseph Myers <joseph@codesourcery.com>
2449 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
2450 (asinhf): Define using libm_alias_float.
2451 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
2452 (atanf): Define using libm_alias_float.
2453 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
2454 (cbrtf): Define using libm_alias_float.
2455 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
2456 (ceilf): Define using libm_alias_float.
2457 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
2458 <libm-alias-float.h>.
2459 (copysignf): Define using libm_alias_float.
2460 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
2461 (cosf): Define using libm_alias_float.
2462 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
2463 (erff): Define using libm_alias_float.
2465 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
2466 (expm1f): Define using libm_alias_float.
2467 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
2468 (fabsf): Define using libm_alias_float.
2469 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
2470 (floorf): Define using libm_alias_float.
2471 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
2472 (frexpf): Define using libm_alias_float.
2473 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
2475 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
2476 <libm-alias-float.h>.
2477 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
2479 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
2480 <libm-alias-float.h>.
2481 (getpayloadf): Define using libm_alias_float.
2482 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
2483 <libm-alias-float.h>.
2484 (llrintf): Define using libm_alias_float.
2485 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
2486 <libm-alias-float.h>.
2487 (llroundf): Define using libm_alias_float.
2488 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
2489 (logbf): Define using libm_alias_float.
2490 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
2491 (lrintf): Define using libm_alias_float.
2492 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
2493 (lroundf): Define using libm_alias_float.
2494 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
2495 (modff): Define using libm_alias_float.
2496 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
2497 <libm-alias-float.h>.
2498 (nearbyintf): Define using libm_alias_float.
2499 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
2500 <libm-alias-float.h>.
2501 (nextafterf): Define using libm_alias_float.
2502 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
2503 <libm-alias-float.h>.
2504 (nextupf): Define using libm_alias_float.
2505 * sysdeps/ieee754/flt-32/s_remquof.c: Include
2506 <libm-alias-float.h>.
2507 (remquof): Define using libm_alias_float.
2508 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
2509 (rintf): Define using libm_alias_float.
2510 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
2511 <libm-alias-float.h>.
2512 (roundevenf): Define using libm_alias_float.
2513 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
2514 (roundf): Define using libm_alias_float.
2515 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
2516 using libm_alias_float.
2517 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
2518 <libm-alias-float.h>.
2519 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
2520 Define using libm_alias_float.
2521 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
2522 <libm-alias-float.h>.
2523 (sincosf): Define using libm_alias_float.
2524 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
2525 (sinf): Define using libm_alias_float.
2526 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
2527 (tanf): Define using libm_alias_float.
2528 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
2529 (tanhf): Define using libm_alias_float.
2530 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
2531 <libm-alias-float.h>.
2532 (totalorderf): Define using libm_alias_float.
2533 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
2534 <libm-alias-float.h>.
2535 (totalordermagf): Define using libm_alias_float.
2536 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
2537 (truncf): Define using libm_alias_float.
2538 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
2540 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
2543 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2546 math/math.h: Let fpclassify use the builtin in C++ mode, even
2547 when optimazing for size.
2549 2017-09-22 Joseph Myers <joseph@codesourcery.com>
2551 * csu/Makefile (generated): Do not add version-info.h.
2552 (before-compile): Likewise.
2553 (all-Banner-files): Remove variable.
2554 ($(objpfx)version-info.h): Remove rule.
2555 * csu/version.c (banner): Do not include "version-info.h".
2556 * libidn/Banner: Remove.
2557 * manual/contrib.texi (Simon Josefsson): New entry.
2559 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2561 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2562 Remove conditionals on LDBL_MANT_DIG.
2563 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
2564 (__ieee754_lgammal_r): Likewise.
2566 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2568 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
2570 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
2571 _Float128 and L(). Replace _Float128 with long double and L(x)
2572 with xL, throughout the file.
2573 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2574 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2575 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2576 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
2578 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2580 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
2581 sysdeps/ieee754/ldbl-128ibm.
2582 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
2583 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
2584 of including it. Keep _Float128 and L() intact. These will be
2585 reviewed by a separate patch.
2586 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2587 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2588 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2589 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
2591 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
2594 (__finitef128): Define to __redirect___finitef128.
2595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
2596 (__isinff128): Define to __redirect___isinff128.
2597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
2598 (__isnanf128): Define to __redirect___isnanf128.
2600 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2602 * sysdeps/powerpc/powerpc64le/Makefile
2603 (CFLAGS-tst-strtod-nan-locale.c): New variable.
2604 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
2606 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
2607 Carlos O'Donell <carlos@redhat.com>
2610 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
2611 * stdlib/test-dlclose-exit-race.c: New file.
2612 * stdlib/test-dlclose-exit-race-helper.c: New file.
2613 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
2615 2017-09-21 Joseph Myers <joseph@codesourcery.com>
2617 * crypt/Banner: Remove file.
2618 * nptl/Banner: Likewise.
2619 * resolv/Banner: Likewise.
2620 * soft-fp/Banner: Likewise.
2621 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
2622 ($(objpfx)version.d): Remove dependency on banner.h.
2623 ($(objpfx)version.os): Likewise.
2624 * nptl/version.c (banner): Do not include banner.h.
2625 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
2626 Jelinek and BIND code.
2628 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
2629 Carlos O'Donell <carlos@redhat.com>
2631 * support/xdlfcn.h: New file.
2632 * support/xdlfcn.c: New file.
2633 * support/Makefile (libsupport-routines): Add xdlfcn.
2634 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
2636 2017-09-20 Joseph Myers <joseph@codesourcery.com>
2639 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2640 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
2641 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
2642 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
2643 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
2644 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
2645 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
2646 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
2648 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
2649 Ricky Zhou <rickyz@google.com>
2650 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
2653 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
2655 (__new_exitfn): Fail registration when we finished at_exit processing.
2656 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
2657 * stdlib/on_exit.c (__on_exit): Likewise.
2658 * stdlib/exit.c (__exit_funcs_done): New variable.
2659 (__run_exit_handlers): Use __exit_funcs_lock.
2660 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
2662 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
2663 (test-cxa_atexit-race, test-on_exit-race): New tests.
2664 * stdlib/test-atexit-race-common.c: New file.
2665 * stdlib/test-atexit-race.c: New file.
2666 * stdlib/test-at_quick_exit-race.c: New file.
2667 * stdlib/test-cxa_atexit-race.c: New file.
2668 * stdlib/test-on_exit-race.c: New file.
2670 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
2672 * benchtests/Makefile: Add exp2f and log2f benchmarks.
2673 * benchtests/exp2f-inputs: Copy of expf-inputs.
2674 * benchtests/log2f-inputs: Copy of logf-inputs.
2676 2017-09-19 Joseph Myers <joseph@codesourcery.com>
2678 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
2679 Explicitly take address of first element of array arguments in
2680 call to INLINE_SYSCALL.
2682 2017-09-19 Andreas Schwab <schwab@suse.de>
2685 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
2687 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
2689 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
2690 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
2691 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2692 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
2693 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2694 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
2695 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2696 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
2697 * posix/Makefile (tests): Add tst-fexecve.
2698 * posix/tst-fexecve.c: New file.
2700 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
2702 * benchtests/Makefile: Add logf benchmark.
2703 * benchtests/logf-inputs: Add reduced trace from wrf_r.
2705 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
2707 * benchtests/Makefile: Add expf benchmark.
2708 * benchtests/expf-inputs: Add reduced trace from wrf_r.
2710 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
2712 * csu/Makefile: Add -funwind-tables to libc-start.c.
2713 * debug/Makefile: Add -funwind-tables to backtrace.c.
2714 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
2715 * sysdeps/arm/Makefile: Likewise.
2716 * sysdeps/i386/Makefile: Likewise.
2717 * sysdeps/m68k/Makefile: Likewise.
2718 * sysdeps/mips/Makefile: Likewise.
2719 * sysdeps/nios2/Makefile: Likewise.
2720 * sysdeps/sh/Makefile: Likewise.
2721 * sysdeps/sparc/Makefile: Likewise.
2723 2017-09-19 Joseph Myers <joseph@codesourcery.com>
2725 * benchtests/Makefile (bench-math): Add trunc and truncf.
2726 (CFLAGS-bench-trunc.c): New variable.
2727 (CFLAGS-bench-truncf.c): Likewise.
2728 * benchtests/trunc-inputs: New file.
2729 * benchtests/truncf-inputs: Likewise.
2731 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2733 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
2735 2017-09-18 Joseph Myers <joseph@codesourcery.com>
2737 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
2738 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
2740 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
2741 (exp10l): Define as weak alias.
2742 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
2743 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
2745 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
2746 (remainderl): Define as weak alias.
2748 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
2749 (fmal): Define using libm_alias_ldouble.
2750 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
2751 (acoshl): Define using libm_alias_ldouble.
2752 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
2753 (acosl): Define using libm_alias_ldouble.
2754 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
2755 (asinl): Define using libm_alias_ldouble.
2756 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
2757 (atan2l): Define using libm_alias_ldouble.
2758 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
2759 (atanhl): Define using libm_alias_ldouble.
2760 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
2761 (coshl): Define using libm_alias_ldouble.
2762 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
2763 (exp10l): Define using libm_alias_ldouble.
2764 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
2765 (exp2l): Define using libm_alias_ldouble.
2766 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
2767 (expl): Define using libm_alias_ldouble.
2768 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
2769 (fmodl): Define using libm_alias_ldouble.
2770 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
2771 (hypotl): Define using libm_alias_ldouble.
2772 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
2773 (j0l): Define using libm_alias_ldouble.
2775 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
2776 (j1l): Define using libm_alias_ldouble.
2778 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
2779 (jnl): Define using libm_alias_ldouble.
2781 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
2782 (log10l): Define using libm_alias_ldouble.
2783 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
2784 (log2l): Define using libm_alias_ldouble.
2785 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
2786 (logl): Define using libm_alias_ldouble.
2787 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
2788 (powl): Define using libm_alias_ldouble.
2789 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
2790 (remainderl): Define using libm_alias_ldouble.
2791 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
2792 (sinhl): Define using libm_alias_ldouble.
2793 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
2794 (sqrtl): Define using libm_alias_ldouble.
2795 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
2796 (tgammal): Define using libm_alias_ldouble.
2797 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
2798 (exp10l): Do not use long_double_symbol here.
2799 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
2800 [LIBM_SVID_COMPAT] (remainderl): Likewise.
2801 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
2802 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
2803 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
2804 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
2805 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
2806 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
2807 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
2808 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
2809 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
2810 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
2811 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
2812 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
2813 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
2814 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
2815 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
2816 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
2817 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
2818 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
2819 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
2820 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
2822 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
2824 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
2825 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
2827 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
2829 * io/read.c (read): Add libc_hidden_weak.
2830 * sysdeps/mach/hurd/read.c (read): Likewise.
2831 * io/write.c (write): Likewise.
2832 * sysdeps/mach/hurd/write.c (write): Likewise.
2833 * io/pread64.c (__pread64): Likewise.
2834 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
2835 * posix/pread64.c (__pread64): Add libc_hidden_def.
2837 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
2839 * benchtests/scripts/compare_strings.py: New option -g.
2840 (draw_graph): Print a message that a graph is being generated.
2841 (process_results): Generate graph only if -g is passed.
2842 (main): Process option -g.
2844 * benchtests/scripts/compare_strings.py (process_results):
2845 Better spacing for output.
2847 * benchtests/scripts/compare_strings.py: Use argparse.
2848 * benchtests/README: Document existence of compare_strings.py.
2850 2017-09-15 Joseph Myers <joseph@codesourcery.com>
2852 * math/s_fma.c: Include <libm-alias-double.h>.
2853 (fma): Define using libm_alias_double.
2854 * math/s_nextafter.c: Include <libm-alias-double.h>.
2855 (nextafter): Define using libm_alias_double.
2856 * math/w_acos_compat.c: Include <libm-alias-double.h>.
2857 (acos): Define using libm_alias_double.
2858 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
2859 (aocsh): Define using libm_alias_double.
2860 * math/w_asin_compat.c: Include <libm-alias-double.h>.
2861 (asin): Define using libm_alias_double.
2862 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
2863 (atan2): Define using libm_alias_double.
2864 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
2865 (atanh): Define using libm_alias_double.
2866 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
2867 (cosh): Define using libm_alias_double.
2868 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
2869 (exp10): Define using libm_alias_double.
2870 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
2871 (exp2): Define using libm_alias_double.
2872 * math/w_exp_compat.c: Include <libm-alias-double.h>.
2873 (exp): Define using libm_alias_double.
2874 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
2875 (fmod): Define using libm_alias_double.
2876 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
2877 (hypot): Define using libm_alias_double.
2878 * math/w_j0_compat.c: Include <libm-alias-double.h>.
2879 (j0): Define using libm_alias_double.
2881 * math/w_j1_compat.c: Include <libm-alias-double.h>.
2882 (j1): Define using libm_alias_double.
2884 * math/w_jn_compat.c: Include <libm-alias-double.h>.
2885 (jn): Define using libm_alias_double.
2887 * math/w_log10_compat.c: Include <libm-alias-double.h>.
2888 (log10): Define using libm_alias_double.
2889 * math/w_log2_compat.c: Include <libm-alias-double.h>.
2890 (log2): Define using libm_alias_double.
2891 * math/w_log_compat.c: Include <libm-alias-double.h>.
2892 (log): Define using libm_alias_double.
2893 * math/w_pow_compat.c: Include <libm-alias-double.h>.
2894 (pow): Define using libm_alias_double.
2895 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
2896 (remainder): Define using libm_alias_double.
2897 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
2898 (sinh): Define using libm_alias_double.
2899 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
2900 (sqrt): Define using libm_alias_double.
2901 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
2902 (tgamma): Define using libm_alias_double.
2903 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
2904 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
2905 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
2906 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
2907 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
2908 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
2909 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
2910 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
2911 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
2912 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
2913 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
2914 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
2915 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
2916 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
2917 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
2918 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
2919 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
2920 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
2921 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
2922 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
2923 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
2924 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
2925 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
2926 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
2927 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
2929 * math/e_acoshl.c: Remove.
2930 * math/e_acosl.c: Likewise.
2931 * math/e_asinl.c: Likewise.
2932 * math/e_atan2l.c: Likewise.
2933 * math/e_atanhl.c: Likewise.
2934 * math/e_coshl.c: Likewise.
2935 * math/e_expl.c: Likewise.
2936 * math/e_fmodl.c: Likewise.
2937 * math/e_gammal_r.c: Likewise.
2938 * math/e_hypotl.c: Likewise.
2939 * math/e_j0l.c: Likewise.
2940 * math/e_j1l.c: Likewise.
2941 * math/e_jnl.c: Likewise.
2942 * math/e_lgammal_r.c: Likewise.
2943 * math/e_log10l.c: Likewise.
2944 * math/e_log2l.c: Likewise.
2945 * math/e_logl.c: Likewise.
2946 * math/e_powl.c: Likewise.
2947 * math/e_rem_pio2l.c: Likewise.
2948 * math/e_sinhl.c: Likewise.
2949 * math/e_sqrtf128.c: Likewise.
2950 * math/e_sqrtl.c: Likewise.
2951 * math/k_cosl.c: Likewise.
2952 * math/k_sinl.c: Likewise.
2953 * math/k_tanl.c: Likewise.
2954 * math/s_asinhl.c: Likewise.
2955 * math/s_atanl.c: Likewise.
2956 * math/s_cbrtl.c: Likewise.
2957 * math/s_erfl.c: Likewise.
2958 * math/s_expm1l.c: Likewise.
2959 * math/s_log1pl.c: Likewise.
2960 * math/s_tanhl.c: Likewise.
2962 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2965 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
2966 [$(subdir) = math] (sysdep_calls): New variable. Has the
2967 previous contents of sysdep_routines, but re-sorted..
2968 [$(subdir) = math] (sysdep_routines): Re-use the contents from
2970 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
2971 defined in sysdep_calls and replace by the respective m_* names.
2972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
2973 (compat_symbol): Undefine to avoid duplicated compat symbols in
2976 2017-09-15 Joseph Myers <joseph@codesourcery.com>
2978 * math/s_fmaf.c: Include <libm-alias-float.h>.
2979 (fmaf): Define using libm_alias_float.
2980 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
2981 (acosf): Define using libm_alias_float.
2982 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
2983 (acoshf): Define using libm_alias_float.
2984 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
2985 (asinf): Define using libm_alias_float.
2986 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
2987 (atan2f): Define using libm_alias_float.
2988 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
2989 (atanhf): Define using libm_alias_float.
2990 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
2991 (coshf): Define using libm_alias_float.
2992 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
2993 (exp10f): Define using libm_alias_float.
2994 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
2995 (fmodf): Define using libm_alias_float.
2996 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
2997 (hypotf): Define using libm_alias_float.
2998 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
2999 (j0f): Define using libm_alias_float.
3001 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
3002 (j1f): Define using libm_alias_float.
3004 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
3005 (jnf): Define using libm_alias_float.
3007 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
3008 (log10f): Define using libm_alias_float.
3009 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
3010 (log2f): Define using libm_alias_float.
3011 * math/w_logf_compat.c: Include <libm-alias-float.h>.
3012 (logf): Define using libm_alias_float.
3013 * math/w_powf_compat.c: Include <libm-alias-float.h>.
3014 (powf): Define using libm_alias_float.
3015 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
3016 (remainderf): Define using libm_alias_float.
3017 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
3018 (sinhf): Define using libm_alias_float.
3019 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
3020 (sqrtf): Define using libm_alias_float.
3021 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
3022 (tgammaf): Define using libm_alias_float.
3024 2017-09-14 Joseph Myers <joseph@codesourcery.com>
3026 * include/math.h (roundeven): Change hidden_proto call to
3028 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
3030 [NO_LONG_DOUBLE] (__j0l): New strong alias.
3031 (y0): Rename to __y0 and define as weak alias.
3032 [NO_LONG_DOUBLE] (__y0l): New strong alias.
3033 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
3035 (y0f): Rename to __y0f and define as weak alias.
3036 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
3038 [NO_LONG_DOUBLE] (__j1l): New strong alias.
3039 (y1): Rename to __y1 and define as weak alias.
3040 [NO_LONG_DOUBLE] (__y1l): New strong alias.
3041 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
3043 (y1f): Rename to __y1f and define as weak alias.
3044 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
3046 [NO_LONG_DOUBLE] (__jnl): New strong alias.
3047 (yn): Rename to __yn and define as weak alias.
3048 [NO_LONG_DOUBLE] (__ynl): New strong alias.
3049 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
3051 (ynf): Rename to __ynf and define as weak alias.
3052 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
3053 (fromfp): Define as weak alias.
3054 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
3055 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
3056 (fromfpx): Define as weak alias.
3057 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
3058 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
3059 __getpayload and define as weak alias.
3060 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
3061 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
3062 __roundeven and define as weak alias.
3063 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
3064 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
3066 (setpayload): Define as weak alias.
3067 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
3068 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
3070 (setpayloadsig): Define as weak alias.
3071 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
3072 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
3073 __totalorder and define as weak alias.
3074 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
3075 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
3076 to __totalordermag and define as weak alias.
3077 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
3078 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
3079 (ufromfp): Define as weak alias.
3080 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
3081 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
3083 (ufromfpx): Define as weak alias.
3084 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
3085 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
3086 Rename to __getpayload and define as weak alias.
3087 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
3088 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
3089 Rename to __roundeven and define as weak alias.
3090 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
3091 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
3092 Rename to __totalorder and define as weak alias.
3093 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
3094 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
3095 (totalordermag): Rename to __totalordermag and define as weak
3097 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
3098 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
3100 (__roundevenl): Likewise.
3101 (__totalorderl): Likewise.
3102 (__totalordermagl): Likewise
3103 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
3105 (fromfpf128): Define as weak alias.
3106 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
3108 (fromfpxf128): Define as weak alias.
3109 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
3111 (setpayloadf128): Define as weak alias.
3112 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
3113 __setpayloadsigf128.
3114 (setpayloadsigf128): Define as weak alias.
3115 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
3117 (ufromfpf128): Define as weak alias.
3118 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
3120 (ufromfpxf128): Define as weak alias.
3121 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
3122 (fromfpf): Define as weak alias.
3123 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
3125 (fromfpxf): Define as weak alias.
3126 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
3127 __getpayloadf and define as weak alias.
3128 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
3129 __roundevenf and define as weak alias.
3130 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
3132 (setpayloadf): Define as weak alias.
3133 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
3135 (setpayloadsigf): Define as weak alias.
3136 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
3137 __totalorderf and define as weak alias.
3138 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
3139 Rename to __totalordermagf and define as weak alias.
3140 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
3142 (ufromfpf): Define as weak alias.
3143 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
3145 (ufromfpxf): Define as weak alias.
3146 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
3148 (fromfpl): Define as weak alias.
3149 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
3151 (fromfpxl): Define as weak alias.
3152 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
3153 to __getpayloadl and define as weak alias.
3154 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
3155 __roundevenl and define as weak alias.
3156 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
3158 (setpayloadl): Define as weak alias.
3159 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
3161 (setpayloadsigl): Define as weak alias.
3162 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
3163 to __totalorderl and define as weak alias.
3164 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
3165 Rename to __totalordermagl and define as weak alias.
3166 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
3168 (ufromfpl): Define as weak alias.
3169 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
3171 (ufromfpxl): Define as weak alias.
3172 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
3174 (fromfpl): Define as weak alias.
3175 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
3177 (fromfpxl): Define as weak alias.
3178 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
3179 Rename to __getpayloadl and define as weak alias.
3180 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
3181 to __roundevenl and define as weak alias. Call __roundeven
3182 instead of roundeven.
3183 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
3185 (setpayloadl): Define as weak alias.
3186 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
3188 (setpayloadsigl): Define as weak alias.
3189 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
3190 Rename to __totalorderl and define as weak alias.
3191 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
3192 Rename to __totalordermagl and define as weak alias.
3193 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
3195 (ufromfpl): Define as weak alias.
3196 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
3198 (ufromfpxl): Define as weak alias.
3199 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
3201 (fromfpl): Define as weak alias.
3202 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
3204 (fromfpxl): Define as weak alias.
3205 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
3206 __getpayloadl and define as weak alias.
3207 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
3208 __roundevenl and define as weak alias.
3209 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
3211 (setpayloadl): Define as weak alias.
3212 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
3214 (setpayloadsigl): Define as weak alias.
3215 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
3216 __totalorderl and define as weak alias.
3217 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
3218 Rename to __totalordermagl and define as weak alias.
3219 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
3221 (ufromfpl): Define as weak alias.
3222 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
3224 (ufromfpxl): Define as weak alias.
3226 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3228 * benchtests/bench-string.h (realloc_bufs): New function.
3229 (test_init): Call it.
3230 * benchtests/bench-memset-large.c (do_test): Likewise.
3231 * benchtests/bench-memset.c (do_test): Likewise.
3233 * benchtests/bench-memset-large.c: Print output in JSON
3235 * benchtests/bench-memset.c: Likewise.
3237 2017-09-14 Mike FABIAN <mfabian@redhat.com>
3240 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
3241 * iconvdata/Makefile: Add IBM858.
3242 * iconvdata/gconv-modules: Likewise.
3243 * iconvdata/tst-tables.sh: Likewise.
3244 * iconvdata/ibm858.c: New file.
3245 * localedata/charmaps/IBM858: Likewise.
3247 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
3250 * locales/niu_NZ (LC_TIME): copy "niu_NU".
3251 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
3253 2017-09-14 Mike FABIAN <mfabian@redhat.com>
3256 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
3257 and add tel_int_fmt.
3259 2017-09-14 Joseph Myers <joseph@codesourcery.com>
3261 * sysdeps/generic/libm-alias-float128.h: New file.
3262 * sysdeps/generic/math-type-macros-float128.h: Include
3263 <libm-alias-float128.h>.
3264 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
3266 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3268 * sysdeps/generic/libm-alias-ldouble.h: New file.
3269 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
3270 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
3271 * sysdeps/generic/math-type-macros-ldouble.h: Include
3272 <libm-alias-ldouble.h>.
3273 [!declare_mgen_alias] (declare_mgen_alias): Define to use
3276 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3278 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
3279 * math/w_exp_compat.c: ... here.
3280 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
3281 * math/w_expf_compat.c: ... here.
3282 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
3283 * math/w_expl_compat.c: ... here.
3284 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
3285 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
3286 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
3287 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
3289 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3291 * math/w_scalbln_template.c (strong_alias): Do not undefine and
3293 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
3295 (ldexpl): Only define as compat symbol for libc, not libm.
3296 (scalbnl): Define as compat symbol for libc here.
3297 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
3298 define for [IS_IN (libc)].
3299 (__ldexpl_2): Remove alias.
3300 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
3301 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
3302 name in long_double_symbol call.
3303 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
3304 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3305 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3306 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
3307 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
3309 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
3310 Define as compat symbol.
3312 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3314 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
3315 * sysdeps/unix/sysv/linux/alpha/Makefile
3316 [$(subdir) = csu] (sysdep_routines): Remove rule.
3318 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3320 * sysdeps/generic/libm-alias-double.h: New file.
3321 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
3322 * sysdeps/generic/math-type-macros-double.h: Include
3323 <libm-alias-double.h>.
3324 [declare_mgen_alias] (declare_mgen_alias): Define to use
3326 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
3327 (M_LIBM_NEED_COMPAT): Remove macro.
3328 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
3329 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
3330 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
3332 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3333 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3334 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3335 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3336 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3337 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3338 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3339 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3340 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3341 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3342 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3343 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3344 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3345 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3346 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3347 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3348 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3349 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3350 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3351 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3352 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3353 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3354 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3355 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3356 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3357 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3358 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3359 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
3360 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
3362 (declare_mgen_alias): New macro.
3363 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
3364 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
3365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
3366 (M_LIBM_NEED_COMPAT): Remove macro.
3367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
3368 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
3370 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
3371 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
3373 2017-09-12 Joseph Myers <joseph@codesourcery.com>
3375 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
3376 (declare_mgen_alias_2): Remove.
3377 * sysdeps/generic/math-type-macros-double.h
3378 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
3380 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
3382 (ldexp): Define with declare_mgen_alias.
3385 2017-09-12 Steve Ellcey <sellcey@cavium.com>
3387 * grp/initgroups.c: Include config.h.
3388 (DEFAULT_CONFIG): New macro.
3389 (internal_getgrouplist): Use DEFAULT_CONFIG.
3390 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3391 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
3392 (DEFAULT_DEFCONFIG): New macro.
3393 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
3394 * nss/grp-lookup.c: Include config.h
3395 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
3396 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
3397 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
3398 * manual/nss.texi: Update default values section.
3400 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
3403 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
3405 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
3406 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
3407 Handle MathVec_Prefer_No_AVX512.
3408 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
3409 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
3412 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
3414 * posix/sched_primax.c (__sched_get_priority_max): Add
3416 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
3417 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3418 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
3419 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
3420 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
3421 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
3422 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
3423 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
3426 2017-09-11 Joseph Myers <joseph@codesourcery.com>
3428 * sysdeps/generic/libm-alias-float.h: New file.
3429 * sysdeps/generic/math-type-macros-float.h: Include
3430 <libm-alias-float.h>.
3431 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
3433 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
3436 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
3437 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
3438 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
3439 (HWCAP_IMPORTANT): Likewise.
3440 (HWCAP_X86_64): New enum.
3441 (HWCAP_X86_AVX512_1): Updated.
3442 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
3443 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
3444 (modules-names): Add x86_64/tst-x86_64mod-1.
3445 (LDFLAGS-tst-x86_64mod-1.so): New.
3446 ($(objpfx)tst-x86_64-1): Likewise.
3447 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
3448 (tst-x86_64-1-clean): Likewise.
3449 * sysdeps/x86_64/tst-x86_64-1.c: New file.
3450 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
3452 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
3454 * po/sv.po: Update translations.
3455 * po/fr.po: Likewise.
3457 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3459 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
3461 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
3463 * elf/rtld-Rules: Fix $(error) use.
3465 2017-09-09 Mike FABIAN <mfabian@redhat.com>
3468 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
3469 * locale/iso-639.def: Change “Bengali” to “Bangla”.
3470 * localedata/locales/bn_BD: “Bengali” was still used in some
3471 comments. Change it to “Bangla”.
3473 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
3475 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
3477 2017-09-08 Steve Ellcey <sellcey@cavium.com>
3479 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
3480 thunderx2t99p1 to list of cpu names.
3481 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3482 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
3484 2017-09-08 Steve Ellcey <sellcey@cavium.com>
3486 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
3487 Use strcmp instead of tunable_is_name.
3489 2017-09-08 Joseph Myers <joseph@codesourcery.com>
3491 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3492 (F_GET_RW_HINT): New macro.
3493 [__USE_GNU] (F_SET_RW_HINT): Likewise.
3494 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
3495 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
3496 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
3497 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
3498 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
3499 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
3500 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
3501 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
3503 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3504 (F_ADD_SEALS): New macro.
3505 [__USE_GNU] (F_GET_SEALS): Likewise.
3506 [__USE_GNU] (F_SEAL_SEAL): Likewise.
3507 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
3508 [__USE_GNU] (F_SEAL_GROW): Likewise.
3509 [__USE_GNU] (F_SEAL_WRITE): Likewise.
3511 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3513 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
3514 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
3515 * posix/glob_internal.h (__glob_pattern_type):
3516 * posix/glob.c (glob):
3517 * posix/glob_pattern_p.c (__glob_pattern_p):
3520 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
3521 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3522 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
3523 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
3524 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
3525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
3526 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
3527 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
3528 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
3529 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3530 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
3531 * sysdeps/wordsize-64/glob.c: Likewise.
3532 * sysdeps/wordsize-64/glob64.c: Likewise.
3533 * sysdeps/wordsize-64/globfree.c: Likewise.
3534 * sysdeps/wordsize-64/globfree64.c: Likewise.
3535 * sysdeps/unix/sysv/linux/glob.c: New file.
3536 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
3537 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
3538 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
3539 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
3540 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
3541 adds !GLOB_NO_OLD_VERSION as an extra condition.
3542 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
3543 using relative path instead of absolute one.
3544 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
3545 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
3546 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3547 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
3548 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
3549 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
3552 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
3553 (glob): Use the same scratch buffer for both getlogin_r and
3554 getpwnam_r. Don’t require preallocation of the login name. This
3555 simplifies storage allocation, and corrects the handling of
3559 * posix/glob.c (glob): Port recent patches to platforms
3561 (glob): Fix longstanding misuse of errno after getpwnam_r, which
3562 returns an error number rather than setting errno.
3564 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
3565 instead of GCC extension.
3566 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
3567 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
3568 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
3572 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
3573 * posix/bug-glob1.c: Remove file.
3574 * posix/tst-glob_symlinks.c: New file.
3575 * posix/glob.c (__lstat64): New macro.
3576 (is_dir): New function.
3577 (glob, glob_in_dir): Match symlinks even if they are dangling.
3578 (link_stat, link_exists_p): Remove. All uses removed.
3582 * posix/glob.c (struct readdir_result): Remove skip_entry member.
3583 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
3587 * posix/Makefile (routines): Add globfree, globfree64, and
3589 * posix/flexmember.h: New file.
3590 * posix/glob_internal.h: Likewise.
3591 * posix/glob_pattern_p.c: Likewise.
3592 * posix/globfree.c: Likewise.
3593 * posix/globfree64.c: Likewise.
3594 * sysdeps/gnu/globfree64.c: Likewise.
3595 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
3596 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
3597 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
3598 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
3599 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
3600 * sysdeps/wordsize-64/globfree.c: Likewise.
3601 * sysdeps/wordsize-64/globfree64.c: Likewise.
3602 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
3603 [NDEBUG): Remove comments.
3604 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
3605 (dirent_type): New type. Use uint_fast8_t not
3606 uint8_t, as C99 does not require uint8_t.
3607 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
3608 (struct readdir_result): Use dirent_type. Do not define skip_entry
3609 unless it is needed; this saves a byte on platforms lacking d_ino.
3610 (readdir_result_type, readdir_result_skip_entry):
3611 New functions, replacing ...
3612 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
3613 these functions, which were removed. This makes the callers
3614 easier to read. All callers changed.
3615 (D_INO_TO_RESULT): Now empty if there is no d_ino.
3616 (size_add_wrapv, glob_use_alloca): New static functions.
3617 (glob, glob_in_dir): Check for size_t overflow in several places,
3618 and fix some size_t checks that were not quite right.
3619 Remove old code using SHELL since Bash no longer
3621 (glob, prefix_array): Separate MS code better.
3622 (glob_in_dir): Remove old Amiga and VMS code.
3623 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
3625 (glob_in_dir): Do not rely on undefined behavior in accessing
3626 struct members beyond their bounds. Use a flexible array member
3628 (link_stat): Rename from link_exists2_p and return -1/0 instead of
3629 0/1. Caller changed.
3630 (glob): Fix memory leaks.
3631 * posix/glob64 (globfree64): Move to separate file.
3632 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
3633 (globfree64): Remove hidden alias.
3634 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
3636 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
3638 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
3640 Move compat code to separate file.
3641 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
3644 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
3646 * resolv/tst-resolv-qtypes.c (domain): Changed to
3647 "const char domain[] =".
3649 2017-09-07 Joseph Myers <joseph@codesourcery.com>
3651 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3654 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
3655 (TCP_MD5SIG_EXT): Likewise.
3656 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
3657 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
3658 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
3660 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
3662 2017-09-07 Mike FABIAN <mfabian@redhat.com>
3664 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
3666 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
3669 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
3671 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3673 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
3674 before assuming that the file is empty. Avoid testing buffer content
3677 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3680 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
3682 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
3684 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
3686 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
3688 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
3690 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
3692 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
3695 2017-09-06 Florian Weimer <fweimer@redhat.com>
3697 * malloc/dynarray_emplace_enlarge.c
3698 (__libc_dynarray_emplace_enlarge): Add missing else.
3700 2017-09-06 Florian Weimer <fweimer@redhat.com>
3703 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
3704 case of failure to obtain the global conf object.
3706 2017-09-06 Florian Weimer <fweimer@redhat.com>
3709 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
3710 dynarray allocation failure.
3712 2017-09-06 Florian Weimer <fweimer@redhat.com>
3714 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
3715 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
3716 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
3718 (response): Call them. Add 'p', '6' flag processing.
3719 (test_reverse): New function.
3720 (test_get2_any): Call it.
3721 (test_no_inet6): Add 'p' test.
3722 (test_inet6): Likewise.
3724 2017-09-06 Florian Weimer <fweimer@redhat.com>
3726 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
3727 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
3729 (test_gai): Adjust query names. Add additional tests.
3730 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
3731 test_get2. Adjust query names. Add additional tests.
3732 (test_no_inet6): New function, extracted from threadfunc.
3733 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
3734 Add additional tests.
3736 2017-09-06 Mike FABIAN <mfabian@redhat.com>
3739 * localedata/unicode-gen/utf8_gen.py: Set the width for
3740 characters with Prepended_Concatenation_Mark property to 1
3741 * localedata/charmaps/UTF-8: Updated using the improved script.
3743 2017-09-06 Mike FABIAN <mfabian@redhat.com>
3746 * localedata/unicode-gen/utf8_gen.py: Improve the script to
3747 use the range notation for all ranges of neighbouring characters
3748 with the same width.
3750 2017-09-05 Joseph Myers <joseph@codesourcery.com>
3752 * sysdeps/generic/math-type-macros-double.h: Include
3753 <math-svid-compat.h>.
3754 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
3755 * sysdeps/generic/math-type-macros-float.h: Include
3756 <math-svid-compat.h>.
3757 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
3758 * sysdeps/generic/math-type-macros-ldouble.h: Include
3759 <math-svid-compat.h>.
3760 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
3761 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
3763 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
3764 * math/w_acosf_compat.c: Likewise.
3765 * math/w_acosh_compat.c: Likewise.
3766 * math/w_acoshf_compat.c: Likewise.
3767 * math/w_acoshl_compat.c: Likewise.
3768 * math/w_acosl_compat.c: Likewise.
3769 * math/w_asin_compat.c: Likewise.
3770 * math/w_asinf_compat.c: Likewise.
3771 * math/w_asinl_compat.c: Likewise.
3772 * math/w_atan2_compat.c: Likewise.
3773 * math/w_atan2f_compat.c: Likewise.
3774 * math/w_atan2l_compat.c: Likewise.
3775 * math/w_atanh_compat.c: Likewise.
3776 * math/w_atanhf_compat.c: Likewise.
3777 * math/w_atanhl_compat.c: Likewise.
3778 * math/w_cosh_compat.c: Likewise.
3779 * math/w_coshf_compat.c: Likewise.
3780 * math/w_coshl_compat.c: Likewise.
3781 * math/w_exp10_compat.c: Likewise.
3782 * math/w_exp10f_compat.c: Likewise.
3783 * math/w_exp10l_compat.c: Likewise.
3784 * math/w_exp2_compat.c: Likewise.
3785 * math/w_exp2f_compat.c: Likewise.
3786 * math/w_exp2l_compat.c: Likewise.
3787 * math/w_fmod_compat.c: Likewise.
3788 * math/w_fmodf_compat.c: Likewise.
3789 * math/w_fmodl_compat.c: Likewise.
3790 * math/w_hypot_compat.c: Likewise.
3791 * math/w_hypotf_compat.c: Likewise.
3792 * math/w_hypotl_compat.c: Likewise.
3793 * math/w_j0_compat.c: Likewise.
3794 * math/w_j0f_compat.c: Likewise.
3795 * math/w_j0l_compat.c: Likewise.
3796 * math/w_j1_compat.c: Likewise.
3797 * math/w_j1f_compat.c: Likewise.
3798 * math/w_j1l_compat.c: Likewise.
3799 * math/w_jn_compat.c: Likewise.
3800 * math/w_jnf_compat.c: Likewise.
3801 * math/w_jnl_compat.c: Likewise.
3802 * math/w_lgamma_r_compat.c: Likewise.
3803 * math/w_lgammaf_r_compat.c: Likewise.
3804 * math/w_lgammal_r_compat.c: Likewise.
3805 * math/w_log10_compat.c: Likewise.
3806 * math/w_log10f_compat.c: Likewise.
3807 * math/w_log10l_compat.c: Likewise.
3808 * math/w_log2_compat.c: Likewise.
3809 * math/w_log2f_compat.c: Likewise.
3810 * math/w_log2l_compat.c: Likewise.
3811 * math/w_log_compat.c: Likewise.
3812 * math/w_logf_compat.c: Likewise.
3813 * math/w_logl_compat.c: Likewise.
3814 * math/w_pow_compat.c: Likewise.
3815 * math/w_powf_compat.c: Likewise.
3816 * math/w_powl_compat.c: Likewise.
3817 * math/w_remainder_compat.c: Likewise.
3818 * math/w_remainderf_compat.c: Likewise.
3819 * math/w_remainderl_compat.c: Likewise.
3820 * math/w_sinh_compat.c: Likewise.
3821 * math/w_sinhf_compat.c: Likewise.
3822 * math/w_sinhl_compat.c: Likewise.
3823 * math/w_sqrt_compat.c: Likewise.
3824 * math/w_sqrtf_compat.c: Likewise.
3825 * math/w_sqrtl_compat.c: Likewise.
3826 * math/w_tgamma_compat.c: Likewise.
3827 * math/w_tgammaf_compat.c: Likewise.
3828 * math/w_tgammal_compat.c: Likewise.
3829 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
3831 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
3832 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
3834 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
3835 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
3837 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
3838 * sysdeps/i386/fpu/w_sqrt.c: New file.
3839 * sysdeps/ia64/fpu/w_acos.c: Likewise.
3840 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
3841 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
3842 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
3843 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
3844 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
3845 * sysdeps/ia64/fpu/w_asin.c: Likewise.
3846 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
3847 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
3848 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
3849 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
3850 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
3851 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
3852 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
3853 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
3854 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
3855 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
3856 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
3857 * sysdeps/ia64/fpu/w_exp.c: Likewise.
3858 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
3859 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
3860 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
3861 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
3862 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
3863 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
3864 * sysdeps/ia64/fpu/w_expf.c: Likewise.
3865 * sysdeps/ia64/fpu/w_expl.c: Likewise.
3866 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
3867 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
3868 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
3869 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
3870 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
3871 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
3872 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
3873 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
3874 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
3875 * sysdeps/ia64/fpu/w_log.c: Likewise.
3876 * sysdeps/ia64/fpu/w_log10.c: Likewise.
3877 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
3878 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
3879 * sysdeps/ia64/fpu/w_log2.c: Likewise.
3880 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
3881 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
3882 * sysdeps/ia64/fpu/w_logf.c: Likewise.
3883 * sysdeps/ia64/fpu/w_logl.c: Likewise.
3884 * sysdeps/ia64/fpu/w_pow.c: Likewise.
3885 * sysdeps/ia64/fpu/w_powf.c: Likewise.
3886 * sysdeps/ia64/fpu/w_powl.c: Likewise.
3887 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
3888 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
3889 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
3890 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
3891 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
3892 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
3893 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
3894 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
3895 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
3896 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
3897 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
3898 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
3899 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
3901 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
3902 * sysdeps/ieee754/k_standard.c: Likewise.
3903 * sysdeps/ieee754/k_standardf.c: Likewise.
3904 * sysdeps/ieee754/k_standardl.c: Likewise.
3905 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
3906 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
3907 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
3908 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
3909 long_double_symbol call on [LIBM_SVID_COMPAT].
3910 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
3911 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
3912 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
3913 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
3914 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
3915 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
3916 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
3917 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
3918 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
3919 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
3920 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
3921 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
3922 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
3923 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
3924 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
3925 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
3926 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
3927 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
3928 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
3929 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
3930 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
3931 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
3933 2017-09-05 Steve Ellcey <sellcey@cavium.com>
3935 * include/shlib-compat.h (TEST_COMPAT): New Macro.
3936 * malloc/tst-mallocstate.c: Convert from test-skeleton
3937 to test-driver. Ifdef code using TEST_COMPAT macro.
3938 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
3939 * math/test-matherr.c: Likewise.
3941 2017-09-05 Joseph Myers <joseph@codesourcery.com>
3944 * debug/pcprofiledump.c (main): Use byte-swapped mask when
3945 comparing word with byte-swapped constant.
3947 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3950 * locale/iso-639.def: add Miskito.
3951 * localedata/SUPPORTED: Add miq_NI/UTF-8.
3952 * localedata/locales/miq_NI: New file.
3954 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
3957 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
3958 (__mkdir): Likewise.
3959 * io/chmod.c (__chmod): Add libc_hidden_def.
3960 * io/mkdir.c (__mkdir): Likewise.
3961 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
3962 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
3963 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
3964 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
3966 2017-09-04 Joseph Myers <joseph@codesourcery.com>
3968 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3972 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
3973 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
3975 2017-09-04 Florian Weimer <fweimer@redhat.com>
3977 * math/math.h: Issue warning if log is defined.
3979 2017-09-04 Joseph Myers <joseph@codesourcery.com>
3981 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3982 kernel version to 4.13.
3984 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3986 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
3987 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
3989 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
3990 just <bits/types.h>.
3991 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
3992 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
3993 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
3994 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
3995 * misc/preadv2.c: Include <errno.h>.
3996 * misc/preadv64v2.c: Include <errno.h>.
3997 * misc/pwritev2.c: Include <errno.h>.
3998 * misc/pwritev64v2.c: Include <errno.h>.
3999 * sysdeps/posix/preadv2.c: Include <errno.h>.
4000 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
4001 Fix <unistd.h> inclusion.
4002 * sysdeps/posix/pwritev2.c: Include <errno.h>.
4003 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
4004 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
4005 __strtoul_internal): New functions.
4006 * sysdeps/posix/pause.c: Include <sigsetops.h>.
4007 * sysdeps/posix/system.c: Include <sigsetops.h>.
4008 * sysdeps/mach/hurd/i386/Makefile
4009 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
4010 [$(subdir) = csu] (sysdep-only-routines): Likewise.
4011 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4012 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
4013 __feraiseexcept_renamed to feraiseexcept instead of
4015 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
4016 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
4017 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
4018 RWF_NOWAIT): Define to 0 if undefined already.
4019 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
4021 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
4022 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
4024 2017-09-01 Joseph Myers <joseph@codesourcery.com>
4026 * manual/math.texi (pow10): Do not document.
4029 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
4030 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
4031 * math/libm-test-exp10.inc (pow10_test): Remove.
4032 (do_test): Do not call pow10.
4033 * math/w_exp10_compat.c (pow10): Make into compat symbol.
4034 [NO_LONG_DOUBLE] (pow10l): Likewise.
4035 * math/w_exp10f_compat.c (pow10f): Likewise.
4036 * math/w_exp10l_compat.c (pow10l): Likewise.
4037 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
4038 (pow10): Make into compat symbol.
4039 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
4040 (pow10f): Make into compat symbol.
4041 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
4042 (pow10l): Make into compat symbol.
4043 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
4045 (CFLAGS-nldbl-pow10.c): Remove variable..
4046 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
4047 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
4048 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
4049 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
4050 Undefine and redefine.
4051 (pow10l): Make into compat symbol.
4052 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
4053 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4054 * sysdeps/arm/libm-test-ulps: Likewise.
4055 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
4056 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4057 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4058 * sysdeps/microblaze/libm-test-ulps: Likewise.
4059 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4060 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4061 * sysdeps/nios2/libm-test-ulps: Likewise.
4062 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4063 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4064 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4065 * sysdeps/sh/libm-test-ulps: Likewise.
4066 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4067 * sysdeps/tile/libm-test-ulps: Likewise.
4068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4070 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4072 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
4074 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4076 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
4077 "../ChangeLog.old/ChangeLog.8".
4078 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
4079 "../ChangeLog.old/ChangeLog.14".
4081 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4083 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
4086 2017-09-01 Joseph Myers <joseph@codesourcery.com>
4088 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
4090 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4092 * csu/version.c (banner): Remove "by Roland McGrath et al.".
4093 * nptl/Banner: Remove "by Ulrich Drepper et al.".
4095 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4097 * stdlib/tst-atexit-common.c (do_test): Test support for at least
4100 2017-09-01 Zack Weinberg <zackw@panix.com>
4102 * math/math.h (HUGE_VAL): Improve commentary.
4104 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4105 Andreas Schwab <schwab@suse.de>
4108 * include/stdio.h (__gen_tempfd): New function.
4109 * stdio-common/Makefile (routines): Add gentempfd.
4110 * stdio-common/gentempfd.c: New file.
4111 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
4112 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
4115 2017-09-01 Florian Weimer <fweimer@redhat.com>
4119 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
4120 result to determine success or failure, not the errno value.
4121 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
4122 (tst-nss-files-hosts-erange): Link with -ldl.
4123 * nss/tst-nss-files-hosts-erange.c: New file.
4124 * nss/tst-resolv-basic.c (response): Handle nodata.example.
4125 (do_test): Add NO_DATA tests.
4126 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
4129 2017-09-01 Florian Weimer <fweimer@redhat.com>
4132 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
4133 coming from gethostbyname2_r.
4135 2017-09-01 Florian Weimer <fweimer@redhat.com>
4137 * support/namespace.h (struct support_chroot_configuration): Add
4139 (struct support_chroot): Add path_hosts, path_host_conf.
4140 * support/support_chroot.c (write_file): New function.
4141 (support_chroot_create): Call it to process /etc/resolv.conf,
4142 /etc/hosts, /etc/host.conf.
4143 (support_chroot_free): Update.
4145 2017-09-01 Florian Weimer <fweimer@redhat.com>
4147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
4148 status indicates it is set.
4150 2017-09-01 Florian Weimer <fweimer@redhat.com>
4152 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
4153 function lookup failures more reliable.
4155 2017-09-01 Florian Weimer <fweimer@redhat.com>
4157 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
4158 (getcanonname): Likewise.
4159 (gaih_inet): Likewise.
4161 2017-09-01 Florian Weimer <fweimer@redhat.com>
4163 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
4164 (getcanonname): Likewise.
4165 (gaih_inet): Likewise.
4167 2017-08-31 Steve Ellcey <sellcey@cavium.com>
4168 Richard Henderson <rth@twiddle.net>
4170 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
4171 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
4172 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
4173 (IREG_SIZE, OREG_SIZE): New macros.
4174 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
4175 (IREG_SIZE, OREG_SIZE): New macros.
4176 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
4177 (IREG_SIZE): New macro.
4178 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
4179 (IREG_SIZE): New macro.
4180 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
4182 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
4183 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
4184 (__CONCATX): Handle exceptions correctly on large values that may
4186 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
4187 Initialize if not already set.
4188 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
4190 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4192 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
4193 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
4195 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
4197 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
4199 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
4201 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
4203 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
4205 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
4207 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
4208 (NO_CANCELLATION): Likewise.
4209 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
4211 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
4213 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
4215 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
4216 (NO_CANCELLATION): Likewise.
4217 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
4218 (NO_CANCELLATION): Likewise.
4219 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
4221 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
4223 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
4225 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
4227 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
4229 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
4230 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
4232 2017-08-31 Steve Ellcey <sellcey@cavium.com>
4234 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
4237 2017-08-31 Florian Weimer <fweimer@redhat.com>
4239 * include/libc-symbols.h (internal_function): Remove.
4241 2017-08-31 Florian Weimer <fweimer@redhat.com>
4243 * stdlib/fmtmsg.c (internal_addseverity): Remove
4246 2017-08-31 Florian Weimer <fweimer@redhat.com>
4248 * stdio-common/printf_fp.c (group_number): Remove
4250 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
4252 2017-08-31 Florian Weimer <fweimer@redhat.com>
4254 * posix/fnmatch.c (internal_function): Remove definition.
4255 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
4256 * posix/regcomp.c (peek_token, init_word_char)
4257 (duplicate_node_closure, fetch_token, peek_token)
4258 (peek_token_bracket, build_range_exp, build_collating_symbol):
4260 * posix/regex_internal.c (re_string_construct_common)
4261 (create_ci_newstate, create_cd_newstate, re_string_allocate)
4262 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
4263 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
4264 (re_string_translate_buffer, re_string_reconstruct)
4265 (re_string_peek_byte_case, re_string_fetch_byte_case)
4266 (re_string_destruct, re_string_context_at, re_node_set_alloc)
4267 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
4268 (re_node_set_add_intersect, re_node_set_init_union)
4269 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
4270 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
4271 (re_dfa_add_node, calc_state_hash, re_acquire_state)
4272 (re_acquire_state_context): Likewise.
4273 * posix/regex_internal.h (internal_function): Remove definition.
4274 (re_string_realloc_buffers, build_wcs_buffer)
4275 (build_wcs_upper_buffer, build_upper_buffer)
4276 (re_string_translate_buffer, re_string_context_at)
4277 (re_string_char_size_at, re_string_wchar_at)
4278 (re_string_elem_size_at): Likewise.
4279 * posix/regexec.c (match_ctx_init, match_ctx_clean)
4280 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
4281 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
4282 (re_search_internal, re_search_2_stub, re_search_stub)
4283 (re_copy_regs, prune_impossible_nodes, check_matching)
4284 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
4285 (free_fail_stack_return, sift_states_iter_mb)
4286 (sift_states_backward, build_sifted_states)
4287 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
4288 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
4289 (check_subexp_limits, sift_states_bkref, merge_state_array)
4290 (find_recover_state, transit_state, merge_state_with_log)
4291 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
4292 (transit_state_mb, transit_state_bkref, get_subexp)
4293 (get_subexp_sub, find_subexp_node, check_arrival)
4294 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
4295 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
4296 (check_node_accept_bytes, find_collation_sequence_value)
4297 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
4298 (acquire_init_state_context, check_halt_node_context)
4299 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
4300 (sub_epsilon_src_nodes): Likewise.
4301 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
4302 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
4303 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
4304 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
4305 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
4306 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
4307 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
4308 * sysdeps/posix/ttyname.c (getttyname): Likewise.
4309 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
4310 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
4312 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
4314 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
4315 (PWRITEV): Likewise.
4316 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
4317 (PWRITEV): Likewise.
4318 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
4319 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
4321 2017-08-31 Florian Weimer <fweimer@redhat.com>
4323 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
4324 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
4325 Remove internal_function.
4326 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
4327 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
4328 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
4329 (__deallocate_stack, __libc_pthread_init)
4330 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
4331 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
4332 (__libc_disable_asynccancel, __librt_disable_asynccancel):
4334 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
4335 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
4336 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
4338 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
4339 (__pthread_mutex_unlock_usercnt): Likewise.
4341 2017-08-31 Florian Weimer <fweimer@redhat.com>
4343 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
4344 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
4345 (fts_safe_changedir): Remove internal_function.
4346 * io/ftw.c (internal_function): Remove definition.
4347 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
4349 2017-08-31 Florian Weimer <fweimer@redhat.com>
4351 * inet/deadline.c (__deadline_current_time)
4352 (__deadline_from_timeval, __deadline_to_ms): Remove
4354 * inet/getnameinfo.c (nrl_domainname): Likewise.
4355 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
4356 * inet/inet6_option.c (add_pad): Likewise.
4357 * inet/net-internal.h (__deadline_current_time)
4358 (__deadline_from_timeval, __deadline_to_ms): Likewise.
4359 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
4360 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
4361 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
4363 2017-08-31 Joseph Myers <joseph@codesourcery.com>
4365 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
4366 include <bits/nan.h>.
4367 * math/Makefile (headers): Remove bits/nan.h.
4368 * bits/nan.h: Remove.
4369 * sysdeps/ieee754/bits/nan.h: Likewise.
4370 * sysdeps/mips/bits/nan.h: Likewise.
4372 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
4373 not include <bits/inf.h>.
4374 * math/Makefile (headers): Remove bits/inf.h.
4375 * bits/inf.h: Remove.
4376 * sysdeps/ieee754/bits/inf.h: Likewise.
4378 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
4379 bits/huge_vall.h or bits/huge_val_flt128.h.
4380 (HUGE_VAL): Define directly here.
4381 [__USE_ISOC99] (HUGE_VALF): Likewise.
4382 [__USE_ISOC99] (HUGE_VALL): Likewise.
4383 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4384 (HUGE_VAL_F128): Likewise.
4385 * math/Makefile (headers): Remove bits/huge_val.h,
4386 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
4387 * bits/huge_val.h: Remove.
4388 * bits/huge_val_flt128.h: Likewise.
4389 * bits/huge_valf.h: Likewise.
4390 * bits/huge_vall.h: Likewise.
4391 * sysdeps/ia64/bits/huge_vall.h: Likewise.
4392 * sysdeps/ieee754/bits/huge_val.h: Likewise.
4393 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
4394 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
4395 * sysdeps/sh/bits/huge_val.h: Likewise.
4396 * sysdeps/sparc/bits/huge_vall.h: Likewise.
4397 * sysdeps/x86/bits/huge_vall.h: Likewise.
4399 2017-08-31 Florian Weimer <fweimer@redhat.com>
4401 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
4403 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
4405 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
4406 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4407 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
4408 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
4409 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4410 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4411 * elf/dl-libc.c (dlerror_run): Likewise.
4412 * elf/dl-load.c (add_name_to_object, decompose_rpath)
4413 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
4414 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
4415 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
4417 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
4418 (_dl_higher_prime_number, _dl_strtoul): Likewise.
4419 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
4420 * elf/dl-profile.c (_dl_start_profile): Likewise.
4421 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
4422 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
4424 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
4425 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
4426 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
4427 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
4428 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
4429 (_dl_allocate_tls_storage): Likewise.
4430 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
4431 (_dl_check_all_versions): Likewise.
4432 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
4433 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
4434 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
4435 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
4436 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
4437 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
4438 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
4439 internal_function from __dl_start.
4440 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
4441 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
4442 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
4443 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
4444 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
4445 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
4446 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
4447 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
4448 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
4449 (_dl_next_ld_env_entry, _dl_important_hwcaps)
4450 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
4451 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
4452 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
4453 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
4454 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
4456 (struct rtld_global_ro): Remove internal_function from the
4457 _dl_lookup_symbol_x member.
4458 (_dl_symbol_value): Remove. No longer defined anywhere.
4459 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
4461 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
4462 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4463 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
4464 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
4465 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
4466 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
4467 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
4468 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
4469 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
4470 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
4471 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
4472 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4474 2017-08-31 Florian Weimer <fweimer@redhat.com>
4476 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
4477 Remove internal_function.
4478 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
4480 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
4483 2017-08-31 Florian Weimer <fweimer@redhat.com>
4485 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
4486 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
4487 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
4489 2017-08-31 Florian Weimer <fweimer@redhat.com>
4491 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
4492 (__gai_enqueue_request): Remove internal_function.
4493 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
4494 (__gai_remove_request, __gai_notify, __gai_notify_only)
4495 (__gai_sigqueue): Likewise.
4496 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
4497 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
4498 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
4499 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4502 2017-08-31 Florian Weimer <fweimer@redhat.com>
4504 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
4505 * include/dirent.h (__opendirat, __getdents, __getdents64)
4506 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
4507 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
4508 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
4509 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
4511 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
4513 2017-08-31 Florian Weimer <fweimer@redhat.com>
4515 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
4517 (GETCWD_RETURN_TYPE): Likewise.
4519 2017-08-31 Florian Weimer <fweimer@redhat.com>
4521 * include/time.h (__tz_compute, __strptime_internal): Remove
4523 * time/strptime_l.c (__strptime_internal): Likewise.
4524 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
4526 2017-08-31 Florian Weimer <fweimer@redhat.com>
4528 * iconv/gconv.c (__gconv): Remove internal_function.
4529 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
4530 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
4531 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
4532 (__gconv_release_cache): Likewise.
4533 * iconv/gconv_close.c (__gconv_close): Likewise.
4534 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
4535 (read_conf_file, __gconv_get_path): Likewise.
4536 * iconv/gconv_db.c (derivation_lookup, add_derivation)
4537 (__gconv_release_step, gen_steps, increment_counter)
4538 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
4539 (__gconv_close_transform, free_modules_db): Likewise.
4540 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
4542 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
4543 (__gconv_find_transform, __gconv_lookup_cache)
4544 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
4545 (__gconv_close_transform, __gconv_release_cache)
4546 (__gconv_loaded_object, __gconv_release_shlib)
4547 (__gconv_compare_alias): Likewise.
4548 * iconv/gconv_open.c (__gconv_open): Likewise.
4549 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
4550 * iconv/iconvconfig.c (add_module): Likewise.
4551 * intl/dcigettext.c (plural_lookup, guess_category_value)
4552 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
4553 * intl/eval-plural.h (plural_eval): Likewise.
4554 * intl/finddomain.c (_nl_find_domain): Likewise.
4555 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
4556 (_nl_load_domain, _nl_find_msg): Likewise.
4557 (internal_function): Remove definition.
4558 * intl/loadinfo.h (internal_function): Likewise.
4559 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
4561 * intl/localealias.c (internal_function): Remove definition.
4562 (read_alias_file): Remove internal_function.
4563 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
4564 * intl/plural-exp.h (internal_function): Remove definition.
4565 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
4567 * intl/plural.c: Regenerate.
4568 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
4569 * locale/coll-lookup.c (__collidx_table_lookup)
4570 (__collseq_table_lookup): Likewise.
4571 * locale/coll-lookup.h (__collidx_table_lookup)
4572 (__collseq_table_lookup): Likewise.
4573 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
4574 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4575 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
4576 (_nl_unload_locale): Likewise.
4577 * locale/localeinfo.h (struct __locale_data): Remove
4578 internal_function from cleanup member.
4579 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
4580 (_nl_remove_locale, _nl_load_locale_from_archive)
4581 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
4582 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
4583 (_nl_cleanup_time): Remove internal_function.
4584 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
4585 (_nl_parse_alt_digit): Likewise.
4586 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
4587 (_nl_select_era_entry): Likewise.
4588 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
4589 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
4590 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
4591 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
4592 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
4594 2017-08-31 Florian Weimer <fweimer@redhat.com>
4596 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
4597 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
4598 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
4599 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
4601 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
4602 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
4603 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
4604 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
4606 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
4608 2017-08-31 Florian Weimer <fweimer@redhat.com>
4610 * misc/getttyent.c (skip, value): Remove internal_function.
4611 * misc/syslog.c (openlog_internal): Likewise.
4612 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
4614 2017-08-31 Florian Weimer <fweimer@redhat.com>
4616 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
4617 (__nss_rewrite_field): Remove internal_function.
4618 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4619 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
4620 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4621 * nss/nsswitch.c (nss_parse_file, nss_getline)
4622 (nss_parse_service_list, nss_new_service): Likewise.
4623 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
4624 * nss/valid_field.c (__nss_valid_field): Likewise.
4625 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
4627 2017-08-31 Florian Weimer <fweimer@redhat.com>
4629 * malloc/arena.c (__malloc_fork_lock_parent)
4630 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
4631 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
4632 internal_function from defintions.
4633 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
4634 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
4635 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
4636 internal_function from declarations.
4637 * malloc/malloc.c (internal_function): Do not define.
4638 (mem2mem_check): Remove internal_function from declaration.
4639 (munmap_chunk, mremap_chunk): Remove internal_function.
4640 * malloc/mtrace.c (tr_where): Likewise.
4642 2017-08-31 Florian Weimer <fweimer@redhat.com>
4644 * include/rpc/pmap_clnt.h (__get_socket): Remove
4646 * sunrpc/auth_des.c (synchronize): Likewise.
4647 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
4648 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
4649 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
4650 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
4651 (key_call): Likewise.
4652 * sunrpc/pm_getport.c (__get_socket): Likewise.
4653 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
4654 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
4655 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
4656 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
4657 (invalidate): Likewise.
4658 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
4659 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
4660 (set_input_fragment, get_input_bytes): Likewise.
4662 2017-08-31 Florian Weimer <fweimer@redhat.com>
4664 * malloc/malloc.c (_int_free): Remove locked variable and related
4667 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
4670 * Makerules (build-module-helper-objlist): Filter out
4671 $(elf-objpfx)sofini.os.
4672 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
4675 2017-08-31 Florian Weimer <fweimer@redhat.com>
4677 * libio/fcloseall.c: Assume weak_alias is defined.
4678 * libio/feof.c: Likewise.
4679 * libio/fileno.c: Likewise.
4680 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
4681 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
4683 (_IO_file_open): Call __open directly.
4684 (_IO_new_file_sync): Assume ESPIPE is defined.
4685 (_IO_file_seekoff_maybe_mmap): Call __read directly.
4686 (_IO_new_file_write): Call __write directly.
4687 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
4688 * libio/ftello64.c (__ftello64): Assume EIO is defined.
4689 * libio/genops.c: Assume _LIBC is defined.
4690 (save_for_backup): Remove internal_function.
4691 * libio/getc.c: Assume weak_alias is defined.
4692 * libio/getwc.c: Likewise.
4693 * libio/iofclose.c: Assume _LIBC is defined.
4694 * libio/iofdopen.c: Likewise.
4695 (_IO_fcntl): Remove macro definition.
4696 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
4697 Call __fcntl directly.
4698 * libio/iofflush.c: Assume weak_alias is defined.
4699 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
4701 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
4702 * libio/iofgets.c: Likewise.
4703 * libio/iofopen.c: Assume _LIBC is defined.
4704 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
4705 * libio/iofputs.c: Assume weak_alias is defined.
4706 * libio/iofread.c: Likewise.
4707 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
4708 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
4709 * libio/ioftell.c: Assume weak_alias is defined.
4710 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
4711 * libio/iofwide.c: Assume _LIBC is defined.
4712 (_IO_fwide): Drop SHARED conditional because it is implied by
4714 * libio/iofwrite.c: Assume weak_alias is defined.
4715 * libio/iogetdelim.c: Likewise.
4716 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
4717 * libio/iogetwline.c (wmemcpy): Remove macro definition.
4718 (_IO_getwline): Call __wmemcpy directly.
4719 * libio/iopopen.c: Assume _LIBC is defined.
4720 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
4721 (_IO_close): Remove macro definitions.
4722 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
4724 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
4726 * libio/ioputs.c: Assume weak_alias is defined.
4727 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
4728 * libio/iosetbuffer.c: Assume weak_alias is defined.
4729 * libio/iosetvbuf.c: Likewise.
4730 * libio/ioungetc.c: Likewise.
4731 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
4732 libc_hidden_def, libc_hidden_weak, NULL are defined.
4733 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
4734 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
4736 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
4738 (_IO_old_file_init_internal): Drop SHARED conditional because it
4739 is implied by SHLIB_COMPAT.
4740 (_IO_old_file_fopen): Call __open directly.
4741 (_IO_old_file_sync): Assume ESPIPE is defined.
4742 (_IO_old_file_write): Call __write directly.
4743 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
4744 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
4745 Call __fcntl directly.
4746 * libio/oldiofgetpos.c: Assume weak_alias is defined.
4747 (_IO_old_fgetpos): Assume EIO is defined.
4748 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
4749 (_IO_old_fgetpos64): Assume EIO is defined.
4750 * libio/oldiofsetpos.c: Assume weak_alias is defined.
4751 (_IO_old_fsetpos): Assume EIO is defined.
4752 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
4753 (_IO_old_fsetpos64): Assume EIO is defined.
4754 * libio/oldiopopen.c: Assume _LIBC is defined.
4755 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
4756 (_IO_close): Remove macro definitions.
4757 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
4759 (_IO_old_proc_close): Call __close, __waitpid directly.
4760 * libio/put.c: Assume weak_alias is defined.
4761 * libio/stdfiles.c: Assume _LIBC is defined.
4762 * libio/stdio.c: Likewise.
4763 * libio/wfileops.c: Likewise.
4764 (_IO_wfile_sync): Assume ESPIPE is defined.
4765 * libio/wgenops.c: Assume _LIBC is defined.
4766 (save_for_wbackup): Remove internal_function.
4768 2017-08-31 Florian Weimer <fweimer@redhat.com>
4770 * malloc/malloc.c (top_check): Change return type to void. Remove
4772 * malloc/hooks.c (top_check): Likewise.
4773 (malloc_check, realloc_check, memalign_check): Adjust.
4775 2017-08-30 Joseph Myers <joseph@codesourcery.com>
4778 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
4779 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
4780 sigcontext and namespace requirements.
4781 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
4782 * sysdeps/m68k/sys/ucontext.h: Likewise.
4783 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
4784 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
4785 <bits/sigcontext.h>.
4786 (__ctx): Define earlier.
4787 (mcontext_t): Define structure contents rather than using struct
4789 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
4790 __glibc_reserved1 instead of __reserved.
4791 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
4792 <bits/sigcontext.h>.
4793 (__ctx): Define earlier.
4794 (mcontext_t): Define structure contents rather than using struct
4796 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
4797 mcontext_t instead of struct sigcontext.
4798 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
4799 <bits/sigcontext.h>.
4800 (__ctx): Define earlier.
4801 (mcontext_t): Define structure contents rather than using struct
4803 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
4804 <bits/sigcontext.h>.
4805 (__ctx): Define earlier.
4806 (mcontext_t): Define structure contents rather than using struct
4808 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
4809 mcontext_t instead of struct sigcontext.
4810 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
4811 mcontext_t instead of struct sigcontext.
4812 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4813 <bits/sigcontext.h>.
4815 (struct __ia64_fpreg_mcontext): New type.
4816 (mcontext_t): Define structure contents rather than using struct
4818 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
4819 (uc_sigmask): Define using __ctx.
4820 (uc_stack): Likewise.
4821 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
4822 <bits/sigcontext.h>.
4823 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
4824 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
4825 <bits/sigcontext.h>.
4826 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
4827 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
4828 <bits/sigcontext.h>.
4829 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
4830 <bits/sigcontext.h>.
4831 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
4832 <bits/sigcontext.h>.
4833 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
4834 <bits/sigcontext.h>.
4835 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
4836 <bits/sigcontext.h>.
4837 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
4838 <bits/sigcontext.h>.
4839 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
4840 <bits/sigcontext.h>.
4841 (__ctx): Define earlier.
4842 (mcontext_t): Define structure contents rather than using struct
4844 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
4845 <bits/sigcontext.h>. Include <bits/types.h>.
4846 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
4847 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
4848 (test-xfail-XPG42/ucontext.h/conform): Likewise.
4849 (test-xfail-UNIX98/signal.h/conform): Likewise.
4850 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4851 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4852 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4853 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4854 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4855 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4856 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4857 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4858 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4860 2017-08-30 Florian Weimer <fweimer@redhat.com>
4862 * malloc/dynarray_emplace_enlarge.c
4863 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
4864 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4865 * malloc/tst-dynarray.c (test_long_overflow): New function.
4868 2017-08-30 Florian Weimer <fweimer@redhat.com>
4870 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
4871 (set_arena_corrupt): Remove definitions.
4872 (mtrim): Do not check for corrupt arena.
4873 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
4876 2017-08-30 Florian Weimer <fweimer@redhat.com>
4879 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
4881 (ptmalloc_init): Do not set or use check_action.
4882 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
4883 call to malloc_printerr. Remove return statement.
4884 (free_check): Likewise. Remove arena unlock.
4885 (top_check): Update comment. Adjust call to malloc_printerr.
4886 Remove heap repair code.
4887 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
4888 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
4889 (sysmalloc): Adjust call to malloc_printerr.
4890 (munmap_chunk, __libc_realloc): Likewise. Remove return
4892 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
4893 Remove errout label and corresponding gotos.
4894 (_int_free): Likewise. Remove arena unlock.
4895 (do_set_mallopt_check): Do not set check_action.
4896 (malloc_printerr): Adjust parameter list. Do not mark arena as
4898 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
4900 * manual/probes.texi (Memory Allocation Probes): Remove
4901 memory_mallopt_check_action.
4903 2017-08-30 Steve Ellcey <sellcey@cavium.com>
4905 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
4906 Use pointer to uint64_t instead of long int for sp.
4908 2017-08-30 Florian Weimer <fweimer@redhat.com>
4911 * malloc/malloc.c (malloc_printerr): Always terminate the process,
4912 without printing a backtrace. Do not leak any information in the
4914 * manual/memory.texi (Heap Consistency Checking): Update.
4915 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
4917 2017-08-30 Florian Weimer <fweimer@redhat.com>
4919 Do not scale NPTL tests with available number of CPUs.
4920 * nptl/tst-cond16.c (count): Set to constant value of 8.
4921 * nptl/tst-cond18.c (count): Likewise.
4923 2017-08-29 Joseph Myers <joseph@codesourcery.com>
4926 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
4927 Define to take a second argument that is a macro that
4928 concatentates a suffix, not the suffix itself.
4929 (__CONCAT_d): New macro.
4930 (__CONCAT_f): Likewise.
4931 (__CONCAT_l): Likewise.
4933 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
4935 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
4938 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4939 Aurelien Jarno <aurelien@aurel32.net>
4940 Maciej W. Rozycki <macro@imgtec.com>
4943 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
4944 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
4945 `mips16-syscall6' and `mips16-syscall7'.
4946 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
4947 (CFLAGS-mips16-syscall7.c): Remove.
4948 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
4949 Remove `__mips16_syscall5', `__mips16_syscall6' and
4950 `__mips16_syscall7'.
4951 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
4952 (__mips16_syscall0): Rename `__mips16_syscall_return' to
4953 `__mips_syscall_return'.
4954 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
4955 (__mips16_syscall1): Likewise.
4956 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
4957 (__mips16_syscall2): Likewise.
4958 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
4959 (__mips16_syscall3): Likewise.
4960 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
4961 (__mips16_syscall4): Likewise.
4962 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
4964 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
4966 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
4968 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
4969 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
4970 `__mips16_syscall5'. Remove prototype.
4971 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
4972 `__mips16_syscall6'. Remove prototype.
4973 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
4974 `__mips16_syscall7'. Remove prototype.
4975 (__nomips16, __mips16_syscall_return): Move to...
4976 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
4977 (__nomips16, __mips_syscall_return): ... here.
4978 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
4979 `__mips16_syscall_return' to `__mips_syscall_return'.
4980 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
4981 `internal_syscall##nr'.
4982 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
4983 `internal_syscall##nr'.
4984 (FORCE_FRAME_POINTER): Remove.
4985 (__mips_syscall5): New prototype.
4986 (internal_syscall5): Rewrite to call `__mips_syscall5'.
4987 (__mips_syscall6): New prototype.
4988 (internal_syscall6): Rewrite to call `__mips_syscall6'.
4989 (__mips_syscall7): New prototype.
4990 (internal_syscall7): Rewrite to call `__mips_syscall7'.
4991 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
4992 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
4993 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
4994 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
4995 (sysdep_routines): Add libc-do-syscall.
4996 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
4997 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
4999 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5002 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
5003 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
5004 (advise_stack_range): New function.
5005 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
5006 stack non required to advise_stack_range at allocatestack.c
5008 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
5010 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
5012 2017-08-29 Florian Weimer <fweimer@redhat.com>
5015 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
5016 __end_fct. Mangle __end_fct after setting it to NULL.
5017 * iconv/Makefile (tests): Add tst-gconv-init-failure.
5018 (modules-names, modules-names-tests): Add
5019 tst-gconv-init-failure-mod.
5020 (gconv-modules): New target.
5021 (tst-gconv-init-failure-mod.so): Link against libsupport.
5022 (tst-gconv-init-failure): Depend on gconv-modules,
5023 tst-gconv-init-failure-mod.so.
5024 * iconv/tst-gconv-init-failure-mod.c: New file.
5025 * iconv/tst-gconv-init-failure.c: Likewise.
5026 * iconv/test-gconv-modules: Likewise.
5028 2017-08-29 Florian Weimer <fweimer@redhat.com>
5031 * iconv/gconv_db.c (free_derivation): Remove redundant
5033 (gen_steps): Unconditionally mangle __btowc_fct after
5035 (increment_counter): Likewise. Do not call init_fct for internal
5038 2017-08-29 Joseph Myers <joseph@codesourcery.com>
5041 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
5042 (_MSUF_): Remove macro.
5043 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
5045 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
5046 (__REDIRFROM_X): New macro.
5047 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
5049 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
5050 (__REDIRTO_X): Likewise.
5051 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
5053 (__MATH_REDIRCALL_2): Likewise.
5054 (__MATH_REDIRCALL_INTERNAL): Likewise.
5055 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
5056 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
5057 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
5058 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
5059 * math/test-finite-macros.c: New file.
5060 * math/Makefile (tests): Add test-finite-macros.
5061 (CFLAGS-test-finite-macros.c): New variable.
5063 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
5064 Jeff Law <law@redhat.com>
5067 Mangle NULL pointers in iconv/gconv.
5068 * iconv/gconv_cache.c (find_module): Demangle init_fct before
5069 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
5070 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
5071 is non-NULL before demangling the end_fct. Check for NULL
5072 end_fct after demangling.
5073 (__gconv_release_step): Demangle the end_fct before checking
5074 it for NULL. Remove assert on __shlibc_handle != NULL.
5075 (gen_steps): Don't check btowc_fct for NULL before mangling.
5076 Demangle init_fct before checking for NULL.
5077 (increment_counter): Likewise.
5078 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
5079 end_fct for NULL before mangling.
5080 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
5083 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
5086 * locale/iso-639.def: add Morisyen.
5088 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5091 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
5092 (iszero): New C++ implementation that does not use
5093 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
5094 signaling nans are enabled, since __builtin_types_compatible_p
5095 is a C-only feature.
5096 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
5097 defined, include ieee754_float128.h for access to the union and
5098 member ieee854_float128.ieee.
5099 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
5100 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
5101 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
5102 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
5103 options of test-math-zero on powerpc64le.
5105 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
5107 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
5108 Change double to float.
5110 2017-08-28 Joseph Myers <joseph@codesourcery.com>
5112 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
5114 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
5115 conditional code; define contents only for [LIBM_SVID_COMPAT].
5117 2017-08-28 Florian Weimer <fweimer@redhat.com>
5119 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
5120 (abi-lp64_be-options): Remove.
5121 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
5122 (abi-hard-options): Likewise.
5123 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
5124 (abi-o32_hard-options, abi-o32_soft_2008-options)
5125 (abi-o32_hard_2008-options, abi-n32_soft-options)
5126 (abi-n32_hard-options, abi-n32_soft_2008-options)
5127 (abi-n32_hard_2008-options, abi-n64_soft-options)
5128 (abi-n64_hard-options, abi-n64_soft_2008-options)
5129 (abi-n64_hard_2008-options): Likewise.
5130 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
5131 (abi-64-v1-options, abi-64-v2-options): Likewise.
5132 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
5133 (abi-64-options): Likewise.
5134 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
5135 (abi-64-options): Likewise.
5136 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
5137 (abi-64-options): Likewise.
5138 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
5139 (abi-64-options, abi-x32-options): Likewise.
5141 2017-08-28 Florian Weimer <fweimer@redhat.com>
5143 Store supported list of SYS_* system calls in the source tree.
5144 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5145 (bits/syscall.h): Generate from list file.
5146 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
5147 [$(subdir) = misc] (tests): Add tst-syscall-list.
5148 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
5149 [$(subdir) = misc] (tst-syscall-list-macros.list)
5150 [$(subdir) = misc] (tst-syscall-list-nr.list)
5151 (tst-syscall-list-sys.list): Helper targets for new
5152 tst-syscall-list test.
5153 [$(subdir) = misc] (tst-syscall-list.out): Run test script
5154 tst-syscall-list.sh.
5155 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
5156 target. Do not include bits/syscall.d.
5157 [$(subdir) = misc] (generated): Do not update.
5158 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
5159 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
5160 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
5161 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
5163 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5165 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
5166 (tst-cxa_atexit, tst-on_exit): Likewise.
5167 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
5168 tst-cxa_atexit, and tst-on_exit.
5169 * stdlib/tst-atexit-common.c: New file.
5170 * stdlib/tst-atexit.c: New file.
5171 * stdlib/tst-at_quick_exit.c: New file.
5172 * stdlib/tst-cxa_atexit.c: New file.
5173 * stdlib/tst-on_exit.c: New file.
5175 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5177 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
5178 * mach/stack_chk_fail_local.c: New file.
5179 * hurd/stack_chk_fail_local.c: New file.
5180 * mach/Machrules ($(interface-library)-routines): Add
5181 stack_chk_fail_local.
5182 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
5183 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
5184 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
5185 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
5186 * hurd/Makefile (CFLAGS-hurdstartup.o,
5187 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
5189 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
5191 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
5192 (index_cpu_*, index_arch_*): Removed.
5194 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5196 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
5197 Use uint64_t instead of unsigned long.
5199 2017-08-25 Joseph Myers <joseph@codesourcery.com>
5201 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
5202 [__HAVE_DISTINCT_FLOAT128].
5204 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
5205 of <bits/math-finite.h>.
5206 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
5207 inclusion of <bits/math-finite.h>.
5208 * math/bits/math-finite.h (__REDIRTO_X): Do not define
5209 conditionally on [__MATH_DECLARING_LDOUBLE && defined
5210 __NO_LONG_DOUBLE_MATH].
5211 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
5212 (__MATH_REDIRCALL_2): Likewise.
5213 (__MATH_REDIRCALL_INTERNAL): Likewise.
5214 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
5215 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
5216 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
5218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
5220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
5222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
5224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
5226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
5228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
5230 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5231 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5232 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5233 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
5235 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
5236 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
5237 w_sqrtf_compat-ppc32.
5239 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5241 * math/math.h [defined __cplusplus] (issignaling): In the long
5242 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
5243 is not defined. Call __issignaling, otherwise.
5245 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5247 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
5248 syscall definitions and replace __builtin_expect with __glibc_likely.
5249 * sysdeps/unix/syscall-template.S: Update comment about cancellable
5251 (SYSCALL_CANCELLABLE): Removedefinition
5252 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
5254 (PSEUDO_END): Likewise.
5255 [IS_IN (libpthread)] (CENABLE): Likewise.
5256 [IS_IN (libpthread)] (CDISABLE): Likewise.
5257 [IS_IN (libc)] (CENABLE): Likewise.
5258 [IS_IN (libc)] (CENABLE): Likewise.
5259 [IS_IN (librt)] (CDISABLE): Likewise.
5260 [IS_IN (librt)] (CDISABLE): Likewise.
5261 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5262 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
5264 (PSEUDO_END): Likewise.
5265 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
5266 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
5267 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
5268 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
5269 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
5270 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
5271 (CENABLE): Likewise.
5272 (CDISABLE): Likewise.
5273 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5274 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
5276 (PSEUDO_END): Likewise.
5277 [IS_IN (libpthread)] (CENABLE): Likewise.
5278 [IS_IN (libpthread)] (CDISABLE): Likewise.
5279 [IS_IN (libc)] (CENABLE): Likewise.
5280 [IS_IN (libc)] (CENABLE): Likewise.
5281 [IS_IN (librt)] (CDISABLE): Likewise.
5282 [IS_IN (librt)] (CDISABLE): Likewise.
5283 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5284 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
5286 (PSEUDO_END): Likewise.
5287 [IS_IN (libpthread)] (CENABLE): Likewise.
5288 [IS_IN (libpthread)] (CDISABLE): Likewise.
5289 [IS_IN (libc)] (CENABLE): Likewise.
5290 [IS_IN (libc)] (CENABLE): Likewise.
5291 [IS_IN (librt)] (CDISABLE): Likewise.
5292 [IS_IN (librt)] (CDISABLE): Likewise.
5293 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5294 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
5296 (PSEUDO_END): Likewise.
5297 [IS_IN (libpthread)] (CENABLE): Likewise.
5298 [IS_IN (libpthread)] (CDISABLE): Likewise.
5299 [IS_IN (libc)] (CENABLE): Likewise.
5300 [IS_IN (libc)] (CENABLE): Likewise.
5301 [IS_IN (librt)] (CDISABLE): Likewise.
5302 [IS_IN (librt)] (CDISABLE): Likewise.
5303 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5304 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
5306 (PSEUDO_END): Likewise.
5307 [IS_IN (libpthread)] (CENABLE): Likewise.
5308 [IS_IN (libpthread)] (CDISABLE): Likewise.
5309 [IS_IN (libc)] (CENABLE): Likewise.
5310 [IS_IN (libc)] (CENABLE): Likewise.
5311 [IS_IN (librt)] (CDISABLE): Likewise.
5312 [IS_IN (librt)] (CDISABLE): Likewise.
5313 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5314 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
5316 (PSEUDO_END): Likewise.
5317 [IS_IN (libpthread)] (CENABLE): Likewise.
5318 [IS_IN (libpthread)] (CDISABLE): Likewise.
5319 [IS_IN (libc)] (CENABLE): Likewise.
5320 [IS_IN (libc)] (CENABLE): Likewise.
5321 [IS_IN (librt)] (CDISABLE): Likewise.
5322 [IS_IN (librt)] (CDISABLE): Likewise.
5323 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5324 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
5326 (PSEUDO_END): Likewise.
5327 [IS_IN (libpthread)] (CENABLE): Likewise.
5328 [IS_IN (libpthread)] (CDISABLE): Likewise.
5329 [IS_IN (libc)] (CENABLE): Likewise.
5330 [IS_IN (libc)] (CENABLE): Likewise.
5331 [IS_IN (librt)] (CDISABLE): Likewise.
5332 [IS_IN (librt)] (CDISABLE): Likewise.
5333 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5334 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
5336 (PSEUDO_END): Likewise.
5337 [IS_IN (libpthread)] (CENABLE): Likewise.
5338 [IS_IN (libpthread)] (CDISABLE): Likewise.
5339 [IS_IN (libc)] (CENABLE): Likewise.
5340 [IS_IN (libc)] (CENABLE): Likewise.
5341 [IS_IN (librt)] (CDISABLE): Likewise.
5342 [IS_IN (librt)] (CDISABLE): Likewise.
5343 (SINGLE_THREAD_P): Likewise.
5344 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
5346 (PSEUDO_END): Likewise.
5347 [IS_IN (libpthread)] (CENABLE): Likewise.
5348 [IS_IN (libpthread)] (CDISABLE): Likewise.
5349 [IS_IN (libc)] (CENABLE): Likewise.
5350 [IS_IN (libc)] (CENABLE): Likewise.
5351 [IS_IN (librt)] (CDISABLE): Likewise.
5352 [IS_IN (librt)] (CDISABLE): Likewise.
5353 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5354 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
5356 (PSEUDO_END): Likewise.
5357 [IS_IN (libpthread)] (CENABLE): Likewise.
5358 [IS_IN (libpthread)] (CDISABLE): Likewise.
5359 [IS_IN (libc)] (CENABLE): Likewise.
5360 [IS_IN (libc)] (CENABLE): Likewise.
5361 [IS_IN (librt)] (CDISABLE): Likewise.
5362 [IS_IN (librt)] (CDISABLE): Likewise.
5363 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5364 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
5365 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5366 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
5367 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
5369 (PSEUDO_END): Likewise.
5370 [IS_IN (libpthread)] (CENABLE): Likewise.
5371 [IS_IN (libpthread)] (CDISABLE): Likewise.
5372 [IS_IN (libc)] (CENABLE): Likewise.
5373 [IS_IN (libc)] (CENABLE): Likewise.
5374 [IS_IN (librt)] (CDISABLE): Likewise.
5375 [IS_IN (librt)] (CDISABLE): Likewise.
5376 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5377 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
5379 (PSEUDO_END): Likewise.
5380 [IS_IN (libpthread)] (CENABLE): Likewise.
5381 [IS_IN (libpthread)] (CDISABLE): Likewise.
5382 [IS_IN (libc)] (CENABLE): Likewise.
5383 [IS_IN (libc)] (CENABLE): Likewise.
5384 [IS_IN (librt)] (CDISABLE): Likewise.
5385 [IS_IN (librt)] (CDISABLE): Likewise.
5386 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5387 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
5389 (PSEUDO_END): Likewise.
5390 [IS_IN (libpthread)] (CENABLE): Likewise.
5391 [IS_IN (libpthread)] (CDISABLE): Likewise.
5392 [IS_IN (libc)] (CENABLE): Likewise.
5393 [IS_IN (libc)] (CENABLE): Likewise.
5394 [IS_IN (librt)] (CDISABLE): Likewise.
5395 [IS_IN (librt)] (CDISABLE): Likewise.
5396 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5397 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
5398 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5399 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
5400 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
5402 (PSEUDO_END): Likewise.
5403 [IS_IN (libpthread)] (CENABLE): Likewise.
5404 [IS_IN (libpthread)] (CDISABLE): Likewise.
5405 [IS_IN (libc)] (CENABLE): Likewise.
5406 [IS_IN (libc)] (CENABLE): Likewise.
5407 [IS_IN (librt)] (CDISABLE): Likewise.
5408 [IS_IN (librt)] (CDISABLE): Likewise.
5409 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5410 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
5412 (PSEUDO_END): Likewise.
5413 [IS_IN (libpthread)] (CENABLE): Likewise.
5414 [IS_IN (libpthread)] (CDISABLE): Likewise.
5415 [IS_IN (libc)] (CENABLE): Likewise.
5416 [IS_IN (libc)] (CENABLE): Likewise.
5417 [IS_IN (librt)] (CDISABLE): Likewise.
5418 [IS_IN (librt)] (CDISABLE): Likewise.
5419 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5421 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
5423 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
5425 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
5427 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5429 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
5432 * string/stratcliff.c (do_test): Declare size, nchars, inner,
5433 middle and outer with size_t instead of int. Repleace %d and
5434 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
5435 "MAX (outer, nchars - 64)" to support unsigned outer and
5436 nchars. Also exit loop when outer == 0.
5438 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5440 * include/fcntl.h (__fcntl_nocancel): Remove definition.
5441 * include/signal.h (__sigsuspend_nocancel): Likewise.
5442 * include/time.h (__nanosleep_nocancel): Likewise.
5443 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
5444 * login/utmp_file.c: Include non cancellable syscall header.
5445 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
5448 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
5450 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
5451 .byte sequences with AVX512F instructions.
5452 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
5453 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
5454 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
5455 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
5457 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
5460 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
5461 Steve Ellcey <sellcey@cavium.com>
5463 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
5464 Use PTR_REG macro in cmp instruction.
5466 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5468 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
5469 Change the return type of the ifunc resolver to match the return
5470 type of the target function.
5472 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5474 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
5475 (preadv64): Likewise.
5476 (pwrite64(: Likewise.
5477 (pwritev64): Likewise.
5479 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5480 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
5481 (LOAD_ARGS_0): Likewise.
5482 (LOAD_ARGS_1): Likewise.
5483 (LOAD_ARGS_2): Likewise.
5484 (LOAD_ARGS_3): Likewise.
5485 (LOAD_ARGS_4): Likewise.
5486 (LOAD_ARGS_5): Likewise.
5487 (LOAD_ARGS_6): Likewise.
5488 (LOAD_REGS_0): Likewise.
5489 (LOAD_REGS_1): Likewise.
5490 (LOAD_REGS_2): Likewise.
5491 (LOAD_REGS_3): Likewise.
5492 (LOAD_REGS_4): Likewise.
5493 (LOAD_REGS_5): Likewise.
5494 (LOAD_REGS_6): Likewise.
5495 (ASM_ARGS_0): Likewise.
5496 (ASM_ARGS_1): Likewise.
5497 (ASM_ARGS_2): Likewise.
5498 (ASM_ARGS_3): Likewise.
5499 (ASM_ARGS_4): Likewise.
5500 (ASM_ARGS_5): Likewise.
5501 (ASM_ARGS_6): Likewise.
5502 (LOAD_ARGS_TYPES_1): Likewise.
5503 (LOAD_ARGS_TYPES_2): Likewise.
5504 (LOAD_ARGS_TYPES_3): Likewise.
5505 (LOAD_ARGS_TYPES_4): Likewise.
5506 (LOAD_ARGS_TYPES_5): Likewise.
5507 (LOAD_ARGS_TYPES_6): Likewise.
5508 (LOAD_REGS_TYPES_1): Likewise.
5509 (LOAD_REGS_TYPES_2): Likewise.
5510 (LOAD_REGS_TYPES_3): Likewise.
5511 (LOAD_REGS_TYPES_4): Likewise.
5512 (LOAD_REGS_TYPES_5): Likewise.
5513 (LOAD_REGS_TYPES_6): Likewise.
5514 (TYPEFY): New define.
5516 (internal_syscall0): Likewise.
5517 (internal_syscall1): Likewise.
5518 (internal_syscall2): Likewise.
5519 (internal_syscall3): Likewise.
5520 (internal_syscall4): Likewise.
5521 (internal_syscall5): Likewise.
5522 (internal_syscall6): Likewise.
5523 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
5524 (INTERNAL_SYSCALL_NCS): Remove define.
5525 (internal_syscall1): Add define.
5527 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5529 * math/w_remainder_compat.c: Remove duplicate inclusion of
5531 * math/w_remainderf_compat.c: Likewise.
5532 * math/w_remainderl_compat.c: Likewise.
5534 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5538 2017-08-22 Joseph Myers <joseph@codesourcery.com>
5541 * math/tgmath.h (__floating_type): Simplify definitions.
5542 (__real_integer_type): New macro.
5543 (__complex_integer_type): Likewise.
5544 (__expr_is_real): Likewise.
5545 (__tgmath_real_type_sub): Update comment to describe handling of
5547 (__tgmath_complex_type_sub): New macro.
5548 (__tgmath_complex_type): Likewise.
5549 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5550 (__TGMATH_CF128): Use __expr_is_real.
5551 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
5553 (__TGMATH_BINARY_REAL_IMAG): Likewise.
5554 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
5555 * math/gen-tgmath-tests.py (Type.create_type): Create complex
5558 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5560 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
5562 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
5564 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
5567 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
5568 nanosleep_not_cancel with __nanosleep_nocancel.
5569 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
5570 (__nanosleep_nocancel): New macro.
5571 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
5573 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
5575 (__nanosleep_nocancel): New prototype.
5577 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
5578 pause_not_cancel with __pause_nocancel.
5579 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
5580 (__pause_nocancel): New macro.
5581 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
5583 (__pause_nocancel): New prototype.
5584 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
5586 2017-08-22 Martin Sebor <msebor@redhat.com>
5588 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
5589 to return a pointer to the same type as the target function.
5591 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
5595 * include/printf.h (__printf_fphex): Add attribute_hidden.
5596 (__guess_grouping): New prototype.
5597 * stdio-common/printf_fp.c (__guess_grouping): Removed.
5598 * stdio-common/reg-printf.c (__register_printf_specifier): Add
5599 libc_hidden_proto and libc_hidden_def.
5600 * stdlib/strfmon_l.c (__guess_grouping): Removed.
5601 (__vstrfmon_l): Remove the third argument passed to
5604 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5606 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
5607 definition for issignaling that does not rely on __MATH_TG,
5608 since __MATH_TG uses __builtin_types_compatible_p, which is only
5609 available in C mode.
5610 (CFLAGS-test-math-issignaling.cc): New variable.
5611 * math/Makefile [CXX] (tests): Add test-math-issignaling.
5612 * math/test-math-issignaling.cc: New test for C++ implementation
5613 of type-generic issignaling.
5614 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
5615 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
5616 options of test-math-issignaling on powerpc64le.
5618 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
5620 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
5622 (hidden_proto): Likewise.
5623 (hidden_tls_proto): Likewise.
5624 (__hidden_proto): Likewise.
5626 2017-08-22 Florian Weimer <fweimer@redhat.com>
5628 math: Statically link tests of internal functionality.
5629 * math/Makefile (tests): Remove atest-exp, atest-sincos,
5631 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
5632 (gmp-objs): Remove assignment.
5633 (atest-exp, atest-sincos, atest-exp2): Remove targets.
5635 2017-08-22 Joseph Myers <joseph@codesourcery.com>
5638 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
5640 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
5642 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
5645 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
5646 variable definitions above inclusion of ../Rules.
5648 2017-08-21 Joseph Myers <joseph@codesourcery.com>
5650 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
5651 case calling __builtin_unreachable.
5653 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5655 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
5657 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
5658 (__waitpid_nocancel): New macro.
5659 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
5661 (__waitpid_nocancel): Replace macro with a function.
5662 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
5665 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
5667 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
5668 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
5670 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
5671 __writev_nocancel_nostatus.
5672 (write_call_graph): Likewise.
5673 (write_bb_counts): Likewise.
5674 * resolv/herror.c (herror): Likewise.
5675 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
5677 (__writev_nocancel_nostatus): New macro.
5678 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
5680 (__writev_nocancel_nostatus): New function.
5682 2017-08-21 Joseph Myers <joseph@codesourcery.com>
5685 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5687 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
5689 (hidden_proto): Likewise.
5690 (hidden_tls_proto): Likewise.
5691 (__hidden_proto): Likewise.
5694 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
5695 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
5696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
5698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
5700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
5702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
5704 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
5705 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
5706 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
5707 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
5708 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5709 GLIBC_2.0 sqrtl symbol.
5711 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
5712 [__USE_MISC] (_LIB_VERSION): Likewise.
5713 [__USE_MISC] (struct exception): Likewise.
5714 [__USE_MISC] (matherr): Likewise.
5715 [__USE_MISC] (DOMAIN): Likewise.
5716 [__USE_MISC] (SING): Likewise.
5717 [__USE_MISC] (OVERFLOW): Likewise.
5718 [__USE_MISC] (UNDERFLOW): Likewise.
5719 [__USE_MISC] (TLOSS): Likewise.
5720 [__USE_MISC] (PLOSS): Likewise.
5721 [__USE_MISC] (HUGE): Likewise.
5722 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
5723 * math/math-svid-compat.h: New file.
5724 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
5726 * include/math.h [!_ISOMAC] (__matherr): Remove.
5727 * manual/arith.texi (FP Exceptions): Do not document matherr.
5728 * math/Makefile (tests): Change test-matherr to test-matherr-3.
5729 (tests-internal): New variable.
5730 (install-lib): Do not add libieee.a.
5731 (non-lib.a): Likewise.
5732 (extra-objs): Do not add libieee.a and ieee-math.o.
5733 (CPPFLAGS-s_lib_version.c): Remove variable.
5734 ($(objpfx)libieee.a): Remove rule.
5735 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
5736 * math/ieee-math.c: Remove.
5737 * math/libm-test-support.c (matherr): Remove.
5738 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
5739 and license notices. Include <math-svid-compat.h> and
5741 (matherr): Undefine as macro. Use compat_symbol_reference.
5742 (_LIB_VERSION): Likewise.
5743 * math/test-matherr-2.c: New file.
5744 * math/test-matherr-3.c: Likewise.
5745 * sysdeps/generic/math_private.h (__kernel_standard): Remove
5747 (__kernel_standard_f): Likewise.
5748 (__kernel_standard_l): Likewise.
5749 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
5750 <math_private.h>. Include <math-svid-compat.h>.
5751 (_LIB_VERSION): Undefine as macro.
5752 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
5753 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
5754 [LIBM_SVID_COMPAT], use compat_symbol.
5755 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
5756 <math_private.h>. Include <math-svid-compat.h>.
5757 (matherr): Undefine as macro.
5758 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
5760 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
5761 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
5762 compat_symbol_reference.
5763 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
5764 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
5765 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
5766 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
5767 (MATHERR_D): Remove declaration.
5768 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
5769 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
5770 [LIBM_BUILD] (pmatherrf): Likewise.
5771 [LIBM_BUILD] (pmatherr): Likewise.
5772 [LIBM_BUILD] (pmatherrl): Likewise.
5775 (OVERFLOW): Likewise.
5776 (UNDERFLOW): Likewise.
5779 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
5780 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
5782 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
5783 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
5785 * math/lgamma-compat.h: Include <math-svid-compat.h>.
5786 * math/w_acos_compat.c: Likewise.
5787 * math/w_acosf_compat.c: Likewise.
5788 * math/w_acosh_compat.c: Likewise.
5789 * math/w_acoshf_compat.c: Likewise.
5790 * math/w_acoshl_compat.c: Likewise.
5791 * math/w_acosl_compat.c: Likewise.
5792 * math/w_asin_compat.c: Likewise.
5793 * math/w_asinf_compat.c: Likewise.
5794 * math/w_asinl_compat.c: Likewise.
5795 * math/w_atan2_compat.c: Likewise.
5796 * math/w_atan2f_compat.c: Likewise.
5797 * math/w_atan2l_compat.c: Likewise.
5798 * math/w_atanh_compat.c: Likewise.
5799 * math/w_atanhf_compat.c: Likewise.
5800 * math/w_atanhl_compat.c: Likewise.
5801 * math/w_cosh_compat.c: Likewise.
5802 * math/w_coshf_compat.c: Likewise.
5803 * math/w_coshl_compat.c: Likewise.
5804 * math/w_exp10_compat.c: Likewise.
5805 * math/w_exp10f_compat.c: Likewise.
5806 * math/w_exp10l_compat.c: Likewise.
5807 * math/w_exp2_compat.c: Likewise.
5808 * math/w_exp2f_compat.c: Likewise.
5809 * math/w_exp2l_compat.c: Likewise.
5810 * math/w_fmod_compat.c: Likewise.
5811 * math/w_fmodf_compat.c: Likewise.
5812 * math/w_fmodl_compat.c: Likewise.
5813 * math/w_hypot_compat.c: Likewise.
5814 * math/w_hypotf_compat.c: Likewise.
5815 * math/w_hypotl_compat.c: Likewise.
5816 * math/w_j0_compat.c: Likewise.
5817 * math/w_j0f_compat.c: Likewise.
5818 * math/w_j0l_compat.c: Likewise.
5819 * math/w_j1_compat.c: Likewise.
5820 * math/w_j1f_compat.c: Likewise.
5821 * math/w_j1l_compat.c: Likewise.
5822 * math/w_jn_compat.c: Likewise.
5823 * math/w_jnf_compat.c: Likewise.
5824 * math/w_jnl_compat.c: Likewise.
5825 * math/w_lgamma_main.c: Likewise.
5826 * math/w_lgamma_r_compat.c: Likewise.
5827 * math/w_lgammaf_main.c: Likewise.
5828 * math/w_lgammaf_r_compat.c: Likewise.
5829 * math/w_lgammal_main.c: Likewise.
5830 * math/w_lgammal_r_compat.c: Likewise.
5831 * math/w_log10_compat.c: Likewise.
5832 * math/w_log10f_compat.c: Likewise.
5833 * math/w_log10l_compat.c: Likewise.
5834 * math/w_log2_compat.c: Likewise.
5835 * math/w_log2f_compat.c: Likewise.
5836 * math/w_log2l_compat.c: Likewise.
5837 * math/w_log_compat.c: Likewise.
5838 * math/w_logf_compat.c: Likewise.
5839 * math/w_logl_compat.c: Likewise.
5840 * math/w_pow_compat.c: Likewise.
5841 * math/w_powf_compat.c: Likewise.
5842 * math/w_powl_compat.c: Likewise.
5843 * math/w_remainder_compat.c: Likewise.
5844 * math/w_remainderf_compat.c: Likewise.
5845 * math/w_remainderl_compat.c: Likewise.
5846 * math/w_scalb_compat.c: Likewise.
5847 * math/w_scalbf_compat.c: Likewise.
5848 * math/w_scalbl_compat.c: Likewise.
5849 * math/w_sinh_compat.c: Likewise.
5850 * math/w_sinhf_compat.c: Likewise.
5851 * math/w_sinhl_compat.c: Likewise.
5852 * math/w_sqrt_compat.c: Likewise.
5853 * math/w_sqrtf_compat.c: Likewise.
5854 * math/w_sqrtl_compat.c: Likewise.
5855 * math/w_tgamma_compat.c: Likewise.
5856 * math/w_tgammaf_compat.c: Likewise.
5857 * math/w_tgammal_compat.c: Likewise.
5858 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
5859 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
5860 * sysdeps/ieee754/k_standard.c: Likewise.
5861 * sysdeps/ieee754/k_standardf.c: Likewise.
5862 * sysdeps/ieee754/k_standardl.c: Likewise.
5863 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
5864 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
5865 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
5866 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5867 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5868 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5869 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5870 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
5871 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
5872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
5874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
5876 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
5877 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
5878 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
5879 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
5881 2017-08-21 Florian Weimer <fweimer@redhat.com>
5884 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
5885 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
5886 Move before inclusion of ../Rules.
5888 2017-08-21 Florian Weimer <fweimer@redhat.com>
5891 * assert/assert.h (assert): Use static_cast (bool) for C++.
5892 Use the ternary operator in the warning branch for GNU C.
5893 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
5894 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
5895 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
5896 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
5897 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
5899 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5902 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5903 (__syscall_clock_gettime): Add attribute_hidden.
5904 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
5905 (__start_context): Likewise.
5907 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5909 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
5911 (hidden_proto): Likewise.
5912 (hidden_tls_proto): Likewise.
5913 (__hidden_proto): Likewise.
5915 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5917 * include/libc-symbols.h (attribute_hidden): Enable hidden
5918 visibility in libc.a compiled with PIE.
5920 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5923 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
5924 Add attribute_hidden.
5926 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5929 * Makerules (all-nonlib): Add $(others-extras).
5930 * catgets/Makefile (others-extras): New.
5931 * elf/Makefile (others-extras): Likewise.
5932 * nss/Makefile (others-extras): Likewise.
5934 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5937 * csu/libc-start.c (__libc_multiple_libcs): Removed.
5938 * elf/dl-open.c: Include <libc-internal.h>.
5939 (__libc_multiple_libcs): Removed.
5940 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
5942 * include/libc-internal.h (__libc_multiple_libcs): New.
5943 * misc/sbrk.c: Include <libc-internal.h>.
5944 (__libc_multiple_libcs): Removed.
5946 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5949 * grp/initgroups.c (__nss_group_database): Removed.
5950 (__nss_initgroups_database): Likewise.
5951 * nscd/gai.c (__nss_hosts_database): Likewise.
5952 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
5953 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
5954 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
5955 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
5956 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
5957 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
5959 * nss/nsswitch.c (__nss_database_custom): Define only if
5960 USE_NSCD is defined.
5961 (__nss_configure_lookup): Use __nss_database_custom only if
5962 USE_NSCD is defined.
5963 * nss/nsswitch.h (__nss_database_custom): Declare only if
5964 USE_NSCD is defined. Add attribute_hidden.
5965 (__nss_setent): Add attribute_hidden.
5966 (__nss_endent): Likewise.
5967 (__nss_getent_r): Likewise.
5968 (__nss_getent): Likewise.
5969 (DEFINE_DATABASE): Declare __nss_##arg##_database.
5971 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
5974 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
5975 libc_hidden_proto and libc_hidden_def.
5977 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
5980 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
5981 Add libc_hidden_proto.
5982 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
5983 Add libc_hidden_def.
5985 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
5988 * gmon/Makefile (routines): Remove bb_init_func and
5990 (elide-routines.os): Removed.
5991 * gmon/bb_exit_func.c: Likewise.
5992 * gmon/bb_init_func.c: Likewise.
5993 * include/sys/gmon.h (__bb): Likewise.
5994 (__bb_init_func): Likewise.
5995 (__bb_exit_func): Likewise.
5996 * sysdeps/alpha/bb_init_func.S: Likewise.
5998 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6000 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
6001 * include/setjmp.h (____longjmp_chk): Here. Add
6004 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
6007 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
6009 (__strspn_sse2): Likewise.
6011 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6013 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
6014 (close_not_cancel_no_status): Likewise.
6015 (__close_nocancel): New macro.
6016 (__close_nocancel_nostatus): Likewise.
6017 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
6019 (close_not_cancel): Likewise.
6020 (close_not_cancel_no_status): Likewise.
6021 (__close_nocancel): New prototype.
6022 (__close_nocancel_nostatus): New function.
6023 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
6024 * catgets/open_catalog.c (__open_catalog): Replace
6025 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
6026 * gmon/gmon.c (write_gmon): Likewise.
6027 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6028 * intl/loadmsgcat.c (close): Likewise.
6029 * io/ftw.c (open_dir_stream): Likewise.
6030 (ftw_startup): Likewise.
6031 * libio/fileops.c (_IO_file_open): Likewise.
6032 (_IO_file_close_mmap): Likewise.
6033 (_IO_file_close): Likewise.
6034 * libio/iopopen.c (_IO_dup2): Likewise.
6035 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6036 * locale/loadlocale.c (_nl_load_locale): Likewise.
6037 * login/utmp_file.c (pututline_file): Likewise.
6038 (endutent_file): Likewise.
6039 * misc/daemon.c (daemon): Likewise.
6040 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6041 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6042 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
6043 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6044 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6045 * nscd/nscd_helper.c (open_socket): Likewise.
6046 (__nscd_open_socket): Likewise.
6047 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6048 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
6049 (__nscd_innetgr): Likewise.
6050 * nss/nss_db/db-open.c (internal_setent): Likewise.
6051 * resolv/res-close.c (__res_iclose): Likewise.
6052 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
6053 * sysdeps/posix/closedir.c (__closedir): Likewise.
6054 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
6055 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6056 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
6057 (opendir_tail): Likewise.
6058 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6059 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
6060 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6061 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6062 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6063 (gethostid): Likewise.
6064 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6065 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6067 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6068 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
6069 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6070 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6072 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
6073 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
6074 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6076 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
6077 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6079 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6081 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6082 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6083 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6086 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
6087 (openat_not_cancel_3): Likewise.
6088 (openat64_not_cancel_3): Likewise).
6089 (openat_not_cancel_3): Likewise).
6090 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
6092 (openat_not_cancel_3): Likewise.
6093 (openat64_not_cancel): Likewise.
6094 (openat64_not_cancel_3): Likewise.
6095 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
6096 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
6097 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
6098 __open{64}_nocancel.
6099 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
6100 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6101 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6103 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6106 * include/argz.h (__argz_create_sep): New function prototype.
6107 (__argz_append): Likewise.
6108 (__argz_add): Likewise.
6109 (__argz_add_sep): Likewise.
6110 (__argz_delete): Likewise.
6111 (__argz_insert): Likewise.
6112 (__argz_replace): Likewise.
6113 * string/argz.h (__argz_create_sep): Removed.
6114 (__argz_append): Likewise.
6115 (__argz_add): Likewise.
6116 (__argz_add_sep): Likewise.
6117 (__argz_delete): Likewise.
6118 (__argz_insert): Likewise.
6119 (__argz_replace): Likewise.
6121 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6123 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
6124 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
6125 (GNU_PROPERTY_STACK_SIZE): Likewie.
6126 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
6127 (GNU_PROPERTY_LOPROC): Likewise.
6128 (GNU_PROPERTY_HIPROC): Likewise.
6129 (GNU_PROPERTY_LOUSER): Likewise.
6130 (GNU_PROPERTY_HIUSER): Likewise.
6131 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
6132 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
6133 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
6134 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
6135 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
6136 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
6137 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
6138 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
6139 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
6140 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
6141 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
6142 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
6143 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
6144 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
6145 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
6146 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
6147 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
6148 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
6149 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
6150 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
6151 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
6152 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
6153 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
6155 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6157 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
6160 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6163 * math/math.h (isinf): Check if in C or C++ mode before using
6164 __builtin_types_compatible_p, since this is a C mode feature.
6166 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6168 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
6169 (__write_nocancel): New macro.
6170 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
6171 Rewrite as a function prototype.
6172 (write_not_cancel): Remove macro.
6173 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
6174 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
6175 (write_gmon): Likewise.
6176 * libio/fileops.c (_IO_new_file_write): Likewise.
6177 * login/utmp_file.c (pututline_file): Likewise.
6178 (updwtmp_file): Likewise.
6179 * stdio-common/psiginfo.c (psiginfo): Likewise.
6180 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6181 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6182 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6184 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6187 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
6188 (__read_nocancel): New macro.
6189 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6191 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
6193 (__read_nocancel): New prototype.
6194 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
6195 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
6196 with __read_nocancel.
6197 * intl/loadmsgcat.c (read): Likewise.
6198 * libio/fileops.c (_IO_file_read): Likewise.
6199 * locale/loadlocale.c (_nl_load_locale): Likewise.
6200 * login/utmp_file.c (getutent_r_file): Likewise.
6201 (internal_getut_r): Likewise.
6202 (getutline_r_file): Likewise.
6203 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
6204 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6205 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6206 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6208 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
6209 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6210 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6212 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6214 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6216 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6218 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6220 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6223 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
6224 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
6227 2017-08-17 DJ Delorie <dj@redhat.com>
6229 * bug17079.c: Update to new test harness.
6230 * test-digits-dots.c: Likewise.
6231 * test-netdb.c: Likewise.
6232 * tst-field.c: Likewise.
6233 * tst-nss-getpwent.c: Likewise.
6234 * tst-nss-static.c: Likewise.
6235 * tst-nss-test1.c: Likewise.
6236 * tst-nss-test2.c: Likewise.
6237 * tst-nss-test3.c: Likewise.
6238 * tst-nss-test4.c: Likewise.
6239 * tst-nss-test5.c: Likewise.
6241 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6243 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
6244 (open_not_cancel_2): Likewise.
6245 (open_nocancel): New macro.
6246 (open64_nocancel): Likewise.
6247 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
6248 (open_not_cancel_2): Likewise.
6249 (__open_nocancel): New prototype.
6250 (__open64_nocancel): Likewise.
6251 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6253 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
6254 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
6255 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
6256 with __open_nocancel.
6257 * csu/check_fds.c (check_one_fd): Likewise.
6258 * gmon/gmon.c (write_gmon): Likewise.
6259 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
6260 * intl/loadmsgcat.c (open): Likewise.
6261 * libio/fileops.c (_IO_file_open): Likewise.
6262 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6263 * locale/loadlocale.c (_nl_load_locale): Likewise.
6264 * login/utmp_file.c (setutent_file): Likewise.
6265 * misc/daemon.c (daemon): Likewise.
6266 * nss/nss_db/db-open.c (internal_setent): Likewise.
6267 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
6268 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
6269 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
6270 (__opendir): Likewise.
6271 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6272 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
6273 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6274 (gethostid): Likewise.
6275 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6276 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6278 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6279 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
6280 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6281 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6283 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6285 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6287 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6289 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6291 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6293 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6294 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6296 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
6298 * benchtests/bench-skeleton.c (main): Add support for
6299 latency benchmarking.
6300 * benchtests/scripts/bench.py: Add support for latency benchmarking.
6302 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
6304 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
6307 2017-08-17 Florian Weimer <fweimer@redhat.com>
6309 * include/sys/socket.h (__opensock): Remove internal_function.
6310 * socket/opensock.c (__opensock): Likewise.
6311 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
6313 2017-08-16 Joseph Myers <joseph@codesourcery.com>
6316 * signal/bits/types/__sigval_t.h: New file.
6317 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
6318 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
6319 and define sigval_t using __sigval_t.
6320 * include/bits/types/__sigval_t.h: New file.
6321 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
6322 instead of <bits/types/__sigval_t.h>.
6323 (struct sigevent): Use __sigval_t instead of sigval_t.
6324 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
6325 instead of <bits/types/__sigval_t.h>.
6326 (siginfo_t): Use __sigval_t instead of sigval_t.
6327 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
6328 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
6329 (struct sigevent): Use __sigval_t instead of sigval_t.
6330 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
6331 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
6332 (siginfo_t): Use __sigval_t instead of sigval_t.
6333 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
6335 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
6337 * NEWS: Remove "[Add new features here]" for 2.27.
6339 2017-08-16 Joseph Myers <joseph@codesourcery.com>
6341 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
6344 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
6346 * NEWS: Mention x86-64 FMA optimization.
6348 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
6351 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6353 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
6354 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
6355 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
6357 2017-08-16 Andreas Schwab <schwab@suse.de>
6361 * elf/ldd.bash.in: Never run file directly.
6363 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
6366 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
6367 (L(SP_INF_0)): Likewise.
6369 2017-08-15 Florian Weimer <fweimer@redhat.com>
6371 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
6374 2017-08-15 Florian Weimer <fweimer@redhat.com>
6376 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
6377 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
6378 BROKEN_THREAD_SIGNALS code.
6379 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
6380 request_list): Remove caller_pid member used for
6381 BROKEN_THREAD_SIGNALS.
6382 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
6383 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
6384 Remove BROKEN_THREAD_SIGNALS support.
6385 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
6386 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
6388 2017-08-15 Florian Weimer <fweimer@redhat.com>
6390 * gmon/Makefile (tests): Add tst-gmon.
6391 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
6393 (tests-special): Add tst-gmon-prof.out.
6394 (tst-gmon.out): Depend on clean-tst-gmon-data.
6395 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
6396 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
6397 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
6399 * aclocal.m4 (GPROF): Set and substitute.
6400 * config.amke.in (GPROF): Set.
6401 * configure: Regenerate.
6403 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
6405 * elf/elf.h A (NT_PPC_TAR): New macro.
6406 (NT_PPC_PPR): Likewise.
6407 (NT_PPC_DSCR): Likewise.
6408 (NT_PPC_EBB): Likewise.
6409 (NT_PPC_PMU): Likewise.
6410 (NT_PPC_TM_CGPR): Likewise.
6411 (NT_PPC_TM_CFPR): Likewise.
6412 (NT_PPC_TM_CVMX): Likewise.
6413 (NT_PPC_TM_CVSX): Likewise.
6414 (NT_PPC_TM_SPR): Likewise.
6415 (NT_PPC_TM_CTAR): Likewise.
6416 (NT_PPC_TM_CPPR): Likewise.
6417 (NT_PPC_TM_CDSCR): Likewise.
6419 2017-08-15 Florian Weimer <fweimer@redhat.com>
6421 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
6422 regparm (2) instead of internal_function.
6423 (_MCOUNT_DECL): Adjust.
6425 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
6427 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
6428 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
6430 2017-08-14 Joseph Myers <joseph@codesourcery.com>
6432 * conform/data/sys/wait.h-data (si_value): Do not expect for
6435 2017-08-14 Florian Weimer <fweimer@redhat.com>
6438 NSS: Create stubs for accidentally exported lookup functions.
6439 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
6441 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
6442 (ether_hostton): Call __nss_ethers_lookup2 instead.
6443 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
6444 (ether_ntohost): Call __nss_ethers_lookup2 instead.
6445 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
6446 (setup): Call __nss_netgroup_lookup2 instead.
6447 * nss/Makefile (routines): Add compat-lookup.
6448 * nss/Versions (GLIBC_2.27): Add symbol version.
6449 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
6450 (DB_COMPAT_FCT): Remove.
6451 * nss/compat-lookup.c: New file.
6452 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
6454 * nss/service-lookup.c (NO_COMPAT): Remove definition.
6455 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
6456 (netname2user): Call __nss_publickey_lookup2 instead.
6457 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
6458 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
6461 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6462 Sergei Trofimovich <slyfox@inbox.ru>
6465 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
6466 Rename to MMAP2_PAGE_UNIT.
6467 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
6468 __OFF_T_MATCHES_OFF64_T is not defined.
6469 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
6471 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
6472 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
6474 2017-08-14 Florian Weimer <fweimer@redhat.com>
6476 i386: Do not set internal_function.
6477 * config.h.in (USE_REGPARMS, internal_function): Remove.
6478 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
6479 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
6481 2017-08-14 Florian Weimer <fweimer@redhat.com>
6483 * elf/dl-init.c (_dl_init): Remove internal_function.
6484 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
6485 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
6487 2017-08-14 Florian Weimer <fweimer@redhat.com>
6489 * elf/rtld.c (_dl_start): Remove internal_function.
6490 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
6493 2017-08-14 Florian Weimer <fweimer@redhat.com>
6495 * elf/dl-fini.c (_dl_fini): Remove internal_function
6496 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
6498 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
6500 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
6501 (bit_cpu_SHSTK): Likewise.
6502 (index_cpu_IBT): Likewise.
6503 (index_cpu_SHSTK): Likewise.
6504 (reg_IBT): Likewise.
6505 (reg_SHSTK): Likewise.
6506 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
6507 Handle index_cpu_IBT and index_cpu_SHSTK.
6509 2017-08-14 Mike FABIAN <mfabian@redhat.com>
6512 * po/fr.po: Fix spelling mistake.
6514 2017-08-13 Florian Weimer <fweimer@redhat.com>
6516 * elf/dl-addr.c (_dl_addr): Remove internal_function.
6517 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
6518 (_dl_catch_error, _dl_receive_error): Likewise.
6519 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
6520 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
6521 (_dl_deallocate_tls): Likewise.
6522 * include/dlfcn.h (_dl_addr): Likewise.
6523 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
6524 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
6525 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
6528 2017-08-13 Florian Weimer <fweimer@redhat.com>
6530 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
6531 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
6533 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
6535 2017-08-13 Florian Weimer <fweimer@redhat.com>
6537 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
6539 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
6540 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
6541 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
6542 internal_function from _dl_make_stack_executable_hook member.
6543 (_dl_make_stack_executable): Remove internal_function.
6544 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
6546 * sysdeps/unix/sysv/linux/dl-execstack.c
6547 (_dl_make_stack_executable): Likewise.
6549 2017-08-13 Florian Weimer <fweimer@redhat.com>
6551 * sysdeps/unix/sysv/linux/netlinkaccess.h
6552 (__netlink_assert_response): Remove internal_function.
6553 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6554 (__netlink_assert_response): Likewise.
6556 2017-08-13 Florian Weimer <fweimer@redhat.com>
6558 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
6560 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
6562 2017-08-13 Florian Weimer <fweimer@redhat.com>
6564 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
6566 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
6567 * inet/netgroup.h (__internal_setnetgrent)
6568 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
6569 * inet/getnetgrent_r.c (__internal_setnetgrent)
6570 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
6571 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
6572 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
6573 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
6574 * nss/nsswitch.h (db_lookup_function): Likewise.
6576 2017-08-13 Florian Weimer <fweimer@redhat.com>
6578 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
6579 Remove internal_function.
6580 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
6581 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
6582 message argument on the stack.
6583 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
6586 2017-08-12 Mike FABIAN <mfabian@redhat.com>
6588 Adapt test case data to the changes in the thousands
6592 * localedata/tst-langinfo.sh: Adapt test case data.
6593 * stdlib/tst-strfmon_l.c: Likewise.
6594 * stdlib/tst-strtod4.c: Likewise.
6595 * stdlib/tst-strtod5i.c: Likewise.
6597 2017-08-11 Florian Weimer <fweimer@redhat.com>
6600 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
6601 Suppress pedantic warning resulting from statement expression.
6602 (__ASSERT_FUNCTION): Add missing __extension__.
6604 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
6606 * benchtests/bench-memmove-large.c: Print output in JSON
6608 * benchtests/bench-memmove.c: Likewise.
6610 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
6611 * benchtests/bench-memchr.c (do_one_test): Likewise.
6612 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
6613 * benchtests/bench-memcpy.c (do_one_test): Likewise.
6614 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
6615 * benchtests/bench-memmove.c (do_one_test): Likewise.
6616 * benchtests/bench-memset-large.c (do_one_test): Likewise.
6617 * benchtests/bench-memset.c (do_one_test): Likewise.
6618 * benchtests/bench-string.h (test_init): Remove memsets.
6620 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
6623 (Computing the Width of an Integer Data Type): Rename section to
6624 "Width of an Integer Type". Remove inaccurate statement regarding
6625 lack of C language facilities for determining width of integer
6626 types, and reorder content to improve flow and context of
6629 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
6631 * lang.texi (va_copy): Change standard from ISO to C99.
6632 (__va_copy): Add standard and header annotation.
6633 Update description for clarity of origins and current use.
6635 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6638 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
6639 xssqrtqp requires operands to be in Vector Registers
6640 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
6641 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
6642 (__ieee754_sqrtf128): Likewise.
6644 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6646 * sysdeps/aarch64/memcmp.S (memcmp):
6647 Rewrite of optimized memcmp.
6649 2017-08-10 Florian Weimer <fweimer@redhat.com>
6651 Introduce ld.so exceptions.
6652 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
6653 (_dl_exception_create, _dl_exception_create_format)
6654 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
6655 (_dl_catch_exception): Declare.
6656 (_dl_catch_error): Update comment.
6657 * elf/dl-error-skeleton.c (struct catch): Replace objname,
6658 errstring, malloced members with exception member.
6659 (_dl_out_of_memory): Remove.
6660 (fatal_error): New function, extracted from _dl_signal_error.
6661 (_dl_signal_exception, _dl_signal_cexception): New functions.
6662 (_dl_signal_error): Call _dl_exception_create to allocate an
6664 (_dl_catch_exception): New function, based on _dl_catch_error.
6665 (_dl_catch_error): Implement using _dl_catch_exception.
6666 * elf/dl-exception.c: New file.
6667 * elf/Makefile (dl-routines): Add dl-exception.
6668 (elide-routines.os): Likewise.
6669 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
6670 _dl_exception_create_format, _dl_exception_free.
6671 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
6672 _dl_signal_exception.
6673 * elf/dl-lookup.c (make_string): Remove.
6674 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
6675 _dl_signal_cexception, _dl_exception_free.
6676 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
6677 _dl_signal_exception.
6678 * elf/dl-sym.c (do_sym): Likewise.
6679 * elf/dl-version.c (make_string): Remove.
6680 (match_symbol): Use _dl_exception_create_format,
6681 _dl_signal_cexception, _dl_exception_free.
6682 (_dl_check_map_versions): Likewise.
6683 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
6684 _dl_catch_exception.
6685 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6686 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6687 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6688 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6689 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6690 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6691 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6692 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
6694 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6701 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6702 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6703 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
6705 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
6707 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6709 2017-08-10 Florian Weimer <fweimer@redhat.com>
6711 * inet/net-internal.h (__inet6_scopeid_pton): Remove
6712 attribute_hidden, internal_function.
6713 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
6716 2017-08-10 Florian Weimer <fweimer@redhat.com>
6718 * malloc/malloc.c (get_max_fast): Reimplement as an inline
6719 function which calls __builtin_unreachable.
6721 2017-08-10 Mike FABIAN <mfabian@redhat.com>
6723 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
6724 Indian monetary formatting
6725 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
6728 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
6730 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
6731 Fix typo in comment.
6734 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
6735 PTRACE_SEIZE_DEVEL): Remove.
6736 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
6737 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6738 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6739 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6740 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6742 2017-08-09 Joseph Myers <joseph@codesourcery.com>
6744 * posix/bits/types.h (__qaddr_t): Remove.
6747 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
6748 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6750 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
6751 (ucontext_t): Use __ctx with uc_flags.
6752 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
6754 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6756 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
6757 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6759 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
6760 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6762 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
6764 (ucontext_t): Use __ctx with uc_flags.
6765 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
6766 (ucontext_t): Use __ctx with uc_flags.
6767 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
6768 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
6769 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
6770 (ucontext_t): Use __ctx with uc_flags.
6771 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
6772 undefine further down.
6773 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6775 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
6776 undefine further down.
6777 (ucontext_t): Use __ctx with uc_flags.
6778 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
6779 undefine further down.
6780 (ucontext_t): Use __ctx with uc_flags.
6781 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
6782 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
6783 Rename uc_pad to __glibc_reserved1.
6784 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
6785 undefine further down.
6786 (ucontext_t): Use __ctx with uc_flags.
6787 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
6789 (ucontext_t): Use __ctx with uc_flags.
6790 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
6791 __ctx with uc_flags.
6792 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
6793 (ucontext_t): Use __ctx with uc_flags.
6794 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
6795 __ctx with uc_flags.
6797 2017-08-09 Florian Weimer <fweimer@redhat.com>
6800 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
6801 before early return.
6803 2017-08-09 Andreas Schwab <schwab@suse.de>
6806 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
6810 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
6811 tst-compat-forwarder.
6812 (modules-names): Add tst-compat-forwarder-mod.
6813 ($(objpfx)tst-compat-forwarder): Depend on
6814 $(objpfx)tst-compat-forwarder-mod.so.
6815 * nptl/tst-compat-forwarder.c: New file.
6816 * nptl/tst-compat-forwarder-mod.c: New file.
6818 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
6820 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
6823 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
6824 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
6826 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
6828 (__libc_ifunc_impl_list): Add __memcpy_falkor.
6829 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
6830 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
6831 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6833 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
6836 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6839 * manual/setjmp.texi (getcontex): Document uc_stack value
6840 compatibility differences.
6842 2017-08-08 Joseph Myers <joseph@codesourcery.com>
6844 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
6845 (old_malloc_hook): Likewise.
6846 (old_memalign_hook): Likewise.
6847 (old_realloc_hook): Likewise.
6848 (struct hdr): Likewise.
6850 (freehook): Likewise.
6851 (mallochook): Likewise.
6852 (memalignhook): Likewise.
6853 (reallochook): Likewise.
6855 * malloc/mtrace.c (mallwatch): Likewise.
6856 (tr_old_free_hook): Likewise.
6857 (tr_old_malloc_hook): Likewise.
6858 (tr_old_realloc_hook): Likewise.
6859 (tr_old_memalign_hook): Likewise.
6860 (tr_where): Likewise.
6861 (lock_and_info): Likewise.
6862 (tr_freehook): Likewise.
6863 (tr_mallochook): Likewise.
6864 (tr_reallochook): Likewise.
6865 (tr_memalignhook): Likewise.
6866 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
6867 * misc/mmap.c (__mmap): Likewise.
6868 * misc/mmap64.c (__mmap64): Likewise.
6869 * misc/mprotect.c (__mprotect): Likewise.
6870 * misc/msync.c (msync): Likewise.
6871 * misc/munmap.c (__munmap): Likewise.
6872 * posix/posix_madvise.c (posix_madvise): Likewise.
6873 * socket/send.c (__send): Likewise.
6874 * socket/sendto.c (__sendto): Likewise.
6875 * socket/setsockopt.c (__setsockopt): Likewise.
6876 * string/memcmp.c (__ptr_t): Remove macro.
6877 (MEMCMP): Use void * instead of ptr_t.
6878 * string/memrchr.c (__ptr_t): Remove macro.
6879 (__memrchr): Use void * instead of ptr_t.
6880 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
6881 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6882 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
6883 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
6884 * sysdeps/mach/msync.c (msync): Likewise.
6885 * sysdeps/mach/munmap.c (__munmap): Likewise.
6886 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
6888 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6889 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
6890 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
6891 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
6892 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
6893 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6894 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
6895 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
6897 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6898 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
6899 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
6900 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
6901 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
6902 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
6903 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
6904 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
6905 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
6907 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
6908 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
6909 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
6910 (MEMCMP): Use void * instead of ptr_t.
6911 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
6912 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
6914 2017-08-08 Florian Weimer <fweimer@redhat.com>
6916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
6919 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
6922 * csu/libc-tls.c: Include <startup.h> first.
6923 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
6924 * elf/dl-tunables.c: Include <startup.h> first.
6925 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
6926 * sysdeps/generic/startup.h: New file.
6927 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
6928 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
6929 (I386_USE_SYSENTER): New. Defined to 0.
6931 2017-08-08 Andreas Schwab <schwab@suse.de>
6934 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
6935 * nptl/pt-system.c (system): Likewise.
6937 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6940 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
6942 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
6943 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
6944 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
6945 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
6946 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6947 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6948 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6950 2017-08-07 Joseph Myers <joseph@codesourcery.com>
6953 * bits/sigaction.h (struct sigaction): Define sa_handler and
6954 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
6955 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6956 [__USE_XOPEN_EXTENDED].
6957 (SA_RESTART): Likewise.
6958 (SA_NODEFER): Likewise.
6959 (SA_RESETHAND): Likewise.
6960 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
6961 (struct sigaction): Define sa_handler and sa_sigaction using union
6962 also for [__USE_XOPEN_EXTENDED].
6963 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6964 [__USE_XOPEN_EXTENDED].
6965 (SA_RESTART): Likewise.
6966 (SA_NODEFER): Likewise.
6967 (SA_RESETHAND): Likewise.
6968 * sysdeps/unix/sysv/linux/bits/sigaction.h
6969 (struct sigaction): Define sa_handler and sa_sigaction using union
6970 also for [__USE_XOPEN_EXTENDED].
6971 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6972 [__USE_XOPEN_EXTENDED].
6973 (SA_RESTART): Likewise.
6974 (SA_NODEFER): Likewise.
6975 (SA_RESETHAND): Likewise.
6976 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
6977 (struct sigaction): Define sa_handler and sa_sigaction using union
6978 also for [__USE_XOPEN_EXTENDED].
6979 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6980 [__USE_XOPEN_EXTENDED].
6981 (SA_RESTART): Likewise.
6982 (SA_NODEFER): Likewise.
6983 (SA_RESETHAND): Likewise.
6984 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
6985 (struct sigaction): Define sa_handler and sa_sigaction using union
6986 also for [__USE_XOPEN_EXTENDED].
6987 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6988 [__USE_XOPEN_EXTENDED].
6989 (SA_RESTART): Likewise.
6990 (SA_NODEFER): Likewise.
6991 (SA_RESETHAND): Likewise.
6992 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6993 (struct sigaction): Define sa_handler and sa_sigaction using union
6994 also for [__USE_XOPEN_EXTENDED].
6995 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6996 [__USE_XOPEN_EXTENDED].
6997 (SA_RESTART): Likewise.
6998 (SA_NODEFER): Likewise.
6999 (SA_RESETHAND): Likewise.
7000 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7001 (struct sigaction): Define sa_handler and sa_sigaction using union
7002 also for [__USE_XOPEN_EXTENDED].
7003 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7004 [__USE_XOPEN_EXTENDED].
7005 (SA_RESTART): Likewise.
7006 (SA_NODEFER): Likewise.
7007 (SA_RESETHAND): Likewise.
7008 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7009 (struct sigaction): Define sa_handler and sa_sigaction using union
7010 also for [__USE_XOPEN_EXTENDED].
7011 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7012 [__USE_XOPEN_EXTENDED].
7013 (SA_RESTART): Likewise.
7014 (SA_NODEFER): Likewise. Define directly rather than as alias.
7015 (SA_RESETHAND): Likewise.
7016 (SA_INTERRUPT): Define only for [__USE_MISC].
7017 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
7018 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
7020 (SA_STACK): Define only for [__USE_MISC].
7021 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
7022 (struct sigaction): Define sa_handler and sa_sigaction using union
7023 also for [__USE_XOPEN_EXTENDED].
7024 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7025 [__USE_XOPEN_EXTENDED].
7026 (SA_RESTART): Likewise.
7027 (SA_NODEFER): Likewise.
7028 (SA_RESETHAND): Likewise.
7029 (SA_NOPTRACE): Define only for [__USE_MISC].
7031 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
7032 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
7033 (struct catalog_info): Likewise.
7034 * inet/htontest.c (lo): Likewise.
7036 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7037 * inet/inet_net.c (inet_network): Likewise.
7038 * inet/inet_netof.c (inet_netof): Likewise.
7039 * inet/rcmd.c (__ivaliduser): Likewise.
7040 (iruserok): Likewise.
7041 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
7042 * locale/programs/locale-spec.c (locale_special): Likewise.
7043 * nis/nis_findserv.c (struct findserv_req): Likewise.
7044 (__nis_findfastest_with_timeout): Likewise.
7045 * nss/test-netdb.c (test_network): Likewise.
7046 * resolv/inet_neta.c (inet_neta): Likewise.
7047 * resolv/ns_date.c (ns_datetosecs): Likewise.
7048 (SECS_PER_DAY): Likewise.
7049 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
7051 * resolv/res_comp.c (__putlong): Likewise.
7052 (__putshort): Likewise.
7053 (_getlong): Likewise.
7054 (_getshort): Likewise.
7055 * resolv/res_debug.c (p_time): Likewise.
7056 (precsize_ntoa): Likewise.
7057 (precsize_aton): Likewise.
7058 (latlon2ul): Likewise.
7059 (loc_aton): Likewise.
7060 (loc_ntoa): Likewise.
7061 * resolv/res_hconf.c (struct netaddr): Likewise.
7062 (_res_hconf_reorder_addrs): Likewise.
7063 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7064 (clnttcp_control): Likewise.
7065 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7066 (clntudp_control): Likewise.
7067 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
7068 (clntunix_control): Likewise.
7069 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7070 * sunrpc/rpc/auth.h (union des_block): Likewise.
7071 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
7072 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
7073 (xdrrec_create): Likewise.
7074 (xdrrec_endofrecord): Likewise.
7075 (flush_out): Likewise.
7076 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
7077 (xdrstdio_putlong): Likewise.
7078 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
7081 * misc/sys/cdefs.h (__long_double_t): Remove.
7082 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
7083 instead of __long_double_t,
7084 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
7086 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7088 * benchtests/scripts/compare_strings.py: Avoid display error when
7089 running on a text terminal.
7091 * benchtests/scripts/compare_strings.py (main): Add an
7092 optional -base option.
7093 (process_results): New argument base_func.
7095 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
7097 * benchtests/bench-memcpy-large.c (test_name): Likewise.
7098 * benchtests/bench-memcpy-random.c (test_name): Likewise.
7100 2017-08-07 Andreas Schwab <schwab@suse.de>
7102 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
7103 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7104 * intl/Makefile ($(objpfx)tst-gettext.out)
7105 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
7106 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
7107 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7108 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7109 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
7110 * posix/Makefile ($(objpfx)globtest.out)
7111 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
7112 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
7113 ($(objpfx)tst-printf.out): Likewise.
7114 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
7115 ($(objpfx)tst-setcontext3.out): Likewise.
7117 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
7119 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7120 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
7121 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
7122 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
7123 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
7125 (CFLAGS-doasin-fma.c): New.
7126 (CFLAGS-dosincos-fma.c): Likewise.
7127 (CFLAGS-e_asin-fma.c): Likewise.
7128 (CFLAGS-e_atan2-fma.c): Likewise.
7129 (CFLAGS-e_exp-fma.c): Likewise.
7130 (CFLAGS-e_log-fma.c): Likewise.
7131 (CFLAGS-e_pow-fma.c): Likewise.
7132 (CFLAGS-halfulp-fma.c): Likewise.
7133 (CFLAGS-mpa-fma.c): Likewise.
7134 (CFLAGS-mpatan-fma.c): Likewise.
7135 (CFLAGS-mpatan2-fma.c): Likewise.
7136 (CFLAGS-mpexp-fma.c): Likewise.
7137 (CFLAGS-mplog-fma.c): Likewise.
7138 (CFLAGS-mpsqrt-fma.c): Likewise.
7139 (CFLAGS-mptan-fma.c): Likewise.
7140 (CFLAGS-s_atan-fma.c): Likewise.
7141 (CFLAGS-sincos32-fma.c): Likewise.
7142 (CFLAGS-slowexp-fma.c): Likewise.
7143 (CFLAGS-slowpow-fma.c): Likewise.
7144 (CFLAGS-s_sin-fma.c): Likewise.
7145 (CFLAGS-s_tan-fma.c): Likewise.
7146 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
7147 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
7148 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
7149 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
7150 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
7151 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
7152 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
7153 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
7154 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
7155 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
7156 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
7157 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
7158 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
7159 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
7160 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
7161 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
7162 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
7163 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
7164 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
7165 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
7166 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
7167 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
7168 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
7169 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
7170 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7171 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7172 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7173 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
7174 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7175 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7176 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7178 2017-08-04 Joseph Myers <joseph@codesourcery.com>
7180 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
7181 (min_of_type_f): New macro.
7182 (min_of_type_): Likewise.
7183 (min_of_type_l): Likewise.
7184 (min_of_type_f128): Likewise.
7185 (min_of_type): Define using __MATH_TG and taking an expression
7187 (math_check_force_underflow): Pass expression instead of type to
7189 (math_check_force_underflow_nonneg): Likewise.
7191 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7193 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
7194 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
7195 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
7197 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7199 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7200 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
7201 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
7202 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
7203 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
7204 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
7205 memcpy_chk-nonshared, mempcpy_chk-nonshared,
7206 memmove_chk-nonshared and memset_chk-nonshared
7207 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
7208 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
7209 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
7210 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
7211 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
7212 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
7213 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
7214 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
7215 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
7216 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
7217 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
7218 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
7219 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
7220 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
7221 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
7222 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
7223 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
7224 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
7225 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
7226 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
7227 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
7228 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
7229 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
7230 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
7231 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
7232 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
7233 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
7234 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
7235 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
7236 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
7237 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
7238 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
7239 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
7240 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
7241 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
7242 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
7243 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
7244 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
7245 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
7246 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
7247 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
7248 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
7249 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
7250 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
7251 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
7252 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
7253 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
7254 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
7255 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
7256 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
7257 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
7258 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
7259 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
7260 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
7261 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
7262 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
7263 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
7264 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
7265 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
7266 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
7267 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
7268 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
7269 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
7270 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
7271 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
7272 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
7273 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
7274 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
7275 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
7276 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
7277 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
7278 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7279 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7280 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7281 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7282 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7283 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7284 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7285 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7286 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7287 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7288 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7289 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7290 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7291 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7292 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7293 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7294 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7295 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7296 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7297 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7298 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7299 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7300 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7301 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7302 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7303 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7304 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7305 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7306 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7307 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7308 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7309 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7310 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7311 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7312 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7313 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7314 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7316 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7318 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
7319 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
7320 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
7321 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
7322 svml_d_log2_core-sse2, svml_d_log4_core-sse,
7323 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
7324 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
7325 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
7326 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
7327 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
7328 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
7329 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
7330 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
7331 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
7332 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
7333 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
7334 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
7335 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
7336 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
7337 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
7338 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
7339 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
7340 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
7341 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
7342 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
7343 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
7344 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
7345 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
7346 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
7347 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
7348 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
7349 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
7350 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
7351 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
7352 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
7353 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
7354 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
7355 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
7356 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
7357 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
7358 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
7359 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
7360 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
7361 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
7362 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
7363 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
7364 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
7365 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
7366 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
7367 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
7368 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
7369 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
7370 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
7371 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
7372 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
7373 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
7374 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
7375 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
7376 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
7378 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
7379 Don't include <sysdep.h> nor <init-arch.h>.
7380 (_ZGVbN2v_cos): Removed.
7381 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
7383 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
7384 Don't include <sysdep.h> nor <init-arch.h>.
7385 (_ZGVdN4v_cos): Removed.
7386 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
7388 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
7389 Don't include <sysdep.h> nor <init-arch.h>.
7390 (_ZGVeN8v_cos): Removed.
7391 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
7393 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
7394 Don't include <sysdep.h> nor <init-arch.h>.
7395 (_ZGVbN2v_exp): Removed.
7396 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
7398 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
7399 Don't include <sysdep.h> nor <init-arch.h>.
7400 (_ZGVdN4v_exp): Removed.
7401 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
7403 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
7404 Don't include <sysdep.h> nor <init-arch.h>.
7405 (_ZGVeN8v_exp): Removed.
7406 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
7408 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
7409 Don't include <sysdep.h> nor <init-arch.h>.
7410 (_ZGVbN2v_log): Removed.
7411 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
7413 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
7414 Don't include <sysdep.h> nor <init-arch.h>.
7415 (_ZGVdN4v_log): Removed.
7416 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
7418 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
7419 Don't include <sysdep.h> nor <init-arch.h>.
7420 (_ZGVeN8v_log): Removed.
7421 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
7423 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
7424 Don't include <sysdep.h> nor <init-arch.h>.
7425 (_ZGVbN2vv_pow): Removed.
7426 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
7428 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
7429 Don't include <sysdep.h> nor <init-arch.h>.
7430 (_ZGVdN4vv_pow): Removed.
7431 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
7433 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
7434 Don't include <sysdep.h> nor <init-arch.h>.
7435 (_ZGVeN8vv_pow): Removed.
7436 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
7438 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
7439 Don't include <sysdep.h> nor <init-arch.h>.
7440 (_ZGVbN2v_sin): Removed.
7441 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
7443 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
7444 Don't include <sysdep.h> nor <init-arch.h>.
7445 (_ZGVbN4v_sin): Removed.
7446 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
7448 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
7449 Don't include <sysdep.h> nor <init-arch.h>.
7450 (_ZGVbN8v_sin): Removed.
7451 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
7453 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
7454 Don't include <sysdep.h> nor <init-arch.h>.
7455 (_ZGVbN2vvv_sincos): Removed.
7456 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
7458 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
7459 Don't include <sysdep.h> nor <init-arch.h>.
7460 (_ZGVdN4vvv_sincos): Removed.
7461 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
7463 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
7464 Don't include <sysdep.h> nor <init-arch.h>.
7465 (_ZGVeN8vvv_sincos): Removed.
7466 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
7468 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
7469 Don't include <sysdep.h> nor <init-arch.h>.
7470 (_ZGVeN16v_cosf): Removed.
7471 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
7473 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
7474 Don't include <sysdep.h> nor <init-arch.h>.
7475 (_ZGVbN4v_cosf): Removed.
7476 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
7478 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
7479 Don't include <sysdep.h> nor <init-arch.h>.
7480 (_ZGVdN8v_cosf): Removed.
7481 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
7483 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
7484 Don't include <sysdep.h> nor <init-arch.h>.
7485 (_ZGVeN16v_expf): Removed.
7486 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
7488 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
7489 Don't include <sysdep.h> nor <init-arch.h>.
7490 (_ZGVbN4v_expf): Removed.
7491 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
7493 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
7494 Don't include <sysdep.h> nor <init-arch.h>.
7495 (_ZGVdN8v_expf): Removed.
7496 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
7498 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
7499 Don't include <sysdep.h> nor <init-arch.h>.
7500 (_ZGVeN16v_logf): Removed.
7501 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
7503 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
7504 Don't include <sysdep.h> nor <init-arch.h>.
7505 (_ZGVbN4v_logf): Removed.
7506 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
7508 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
7509 Don't include <sysdep.h> nor <init-arch.h>.
7510 (_ZGVdN8v_logf): Removed.
7511 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
7513 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
7514 Don't include <sysdep.h> nor <init-arch.h>.
7515 (_ZGVeN16vv_powf): Removed.
7516 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
7518 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
7519 Don't include <sysdep.h> nor <init-arch.h>.
7520 (_ZGVbN4vv_powf): Removed.
7521 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
7523 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
7524 Don't include <sysdep.h> nor <init-arch.h>.
7525 (_ZGVdN8vv_powf): Removed.
7526 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
7528 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
7529 Don't include <sysdep.h> nor <init-arch.h>.
7530 (_ZGVeN16vvv_sincosf): Removed.
7531 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
7533 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
7534 Don't include <sysdep.h> nor <init-arch.h>.
7535 (_ZGVbN4vvv_sincosf): Removed.
7536 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
7538 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
7539 Don't include <sysdep.h> nor <init-arch.h>.
7540 (_ZGVdN8vvv_sincosf): Removed.
7541 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
7543 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
7544 Don't include <sysdep.h> nor <init-arch.h>.
7545 (_ZGVeN16v_sinf): Removed.
7546 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
7548 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
7549 Don't include <sysdep.h> nor <init-arch.h>.
7550 (_ZGVbN4v_sinf): Removed.
7551 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
7553 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
7554 Don't include <sysdep.h> nor <init-arch.h>.
7555 (_ZGVdN8v_sinf): Removed.
7557 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7559 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7560 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
7561 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
7562 s_rint-sse4_1 and s_rintf-sse4_1.
7563 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
7564 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7565 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7566 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7567 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7568 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
7569 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
7570 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7571 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7572 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
7573 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
7574 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7576 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
7577 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
7578 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7580 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
7581 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
7582 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7584 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
7585 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
7586 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7587 (__floorf): Removed.
7588 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
7589 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
7590 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7591 (__nearbyint): Removed.
7592 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
7593 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
7594 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7595 (__nearbyintf): Removed.
7596 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
7597 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
7598 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7600 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
7601 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
7602 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7605 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7607 * sysdeps/i386/start.S (_start): Check Check PIC instead of
7608 SHARED. Avoid dynamic relocation against main in static PIE.
7610 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7613 * elf/Makefile (CFLAGS-tst-prelink.c): New.
7614 (LDFLAGS-tst-prelink): Likewise.
7616 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7618 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
7619 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
7620 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
7621 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
7622 (INTERNAL_SYSCALL_NCS): Likewise.
7623 (LOADARGS_1): Likewise.
7624 (LOADARGS_5): Likewise.
7625 (RESTOREARGS_1): Likewise.
7626 (RESTOREARGS_5): Likewise.
7628 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7630 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
7631 (MEMPCPY_SYMBOL): Likewise.
7632 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7633 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
7634 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
7636 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7637 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7639 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
7640 (__hidden_ver1): Don't use in libc.a.
7641 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
7642 (__mempcpy): Don't create a weak alias in libc.a.
7643 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
7645 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
7646 (__hidden_ver1): Don't use in libc.a.
7648 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7650 * config.make.in (have-insert): New.
7651 * configure.ac (libc_cv_insert): New. Set to yes if linker
7652 supports INSERT in linker script.
7653 (AC_SUBST(libc_cv_insert): New.
7654 * configure: Regenerated.
7655 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
7656 if $(have-insert) == yes.
7658 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7660 * elf/Makefile (tests): Add vismain only if
7661 $(have-protected-data) == yes.
7662 (tests-pie): Likewise.
7664 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7667 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7668 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
7670 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7673 * sysdeps/i386/i586/memset.S
7674 (__memset_zero_constant_len_parameter): Removed.
7675 * sysdeps/i386/i686/memset.S
7676 (__memset_zero_constant_len_parameter): Likewise.
7677 * sysdeps/i386/i686/multiarch/memset_chk.S
7678 (__memset_zero_constant_len_parameter): Likewise.
7679 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
7682 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
7684 * stdlib/getentropy.c (getentropy): Change return type to int.
7686 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
7688 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
7690 2017-08-03 Joseph Myers <joseph@codesourcery.com>
7692 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
7694 * math/s_nexttowardf.c (__nexttowardf): Likewise.
7695 * sysdeps/generic/math_private.h (ieee_double_shape_type):
7697 (ieee_float_shape_type): Likewise.
7698 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
7699 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
7700 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7701 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7702 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7703 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
7704 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
7705 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7706 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7708 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7709 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7710 (__ieee754_yn): Likewise.
7711 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7712 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7713 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
7715 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7716 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
7717 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
7718 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
7720 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
7721 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
7722 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
7723 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
7724 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
7725 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
7727 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
7728 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
7729 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
7730 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
7731 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7732 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
7733 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
7734 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
7735 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
7736 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
7737 (__issignaling): Likewise.
7738 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
7739 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
7740 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7742 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7743 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
7744 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
7745 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
7747 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
7749 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
7750 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
7751 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
7752 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
7753 (__erfcf): Likewise.
7754 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
7755 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
7756 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
7757 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
7759 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
7760 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
7762 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
7763 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
7764 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
7765 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
7766 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
7767 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7768 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
7769 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
7771 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
7773 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
7775 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
7776 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7778 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7780 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7781 (__ieee754_ynl): Likewise.
7782 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7783 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
7785 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
7787 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
7788 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
7789 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7791 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
7792 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
7793 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
7794 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
7795 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
7796 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
7797 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
7798 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
7800 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
7801 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
7802 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
7804 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
7805 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
7806 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
7807 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
7808 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
7809 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7811 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7813 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7815 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7817 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
7818 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7819 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7820 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
7821 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
7822 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
7823 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
7825 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7827 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7828 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7830 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7831 (__ieee754_remainderl): Likewise.
7832 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7833 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7834 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
7835 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
7837 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
7838 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7840 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7841 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
7842 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
7843 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
7844 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7845 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7847 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7848 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
7849 (__ieee754_y0l): Likewise.
7852 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7853 (__ieee754_y1l): Likewise.
7856 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7857 (__ieee754_ynl): Likewise.
7858 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7859 (__ieee754_lgammal_r): Likewise.
7860 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
7862 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
7863 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
7864 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
7865 (__erfcl): Likewise.
7866 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
7867 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
7869 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
7870 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
7871 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
7872 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
7873 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
7874 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7875 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7877 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
7878 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7879 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
7880 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
7881 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7883 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
7884 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
7886 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
7887 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
7888 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
7889 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7890 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
7892 2017-08-03 Florian Weimer <fweimer@redhat.com>
7895 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
7896 on memory allocation failure.
7898 2017-08-03 Alan Modra <amodra@gmail.com>
7900 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
7901 tst-tlsopt-powerpc.c with function name change and no test harness.
7902 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
7903 Call tls_get_addr_opt_test.
7904 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
7905 (modules-names): Add mod-tlsopt-powerpc.
7906 (mod-tlsopt-powerpc.so-no-z-defs): Define.
7907 (tst-tlsopt-powerpc): Depend on .so.
7908 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
7909 define. Expand use in TLS_GD and TLS_LD.
7911 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7913 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
7915 * sysdeps/posix/shm_open.c: Include <pthread.h>.
7917 2017-08-02 Joseph Myers <joseph@codesourcery.com>
7920 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
7921 comparing size with that of double.
7922 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
7923 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
7924 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
7925 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
7926 (__TGMATH_BINARY_REAL_IMAG): Likewise.
7927 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
7928 unsigned __int128 types.
7930 2017-08-02 Steve Ellcey <sellcey@cavium.com>
7932 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
7933 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
7934 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
7935 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
7936 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
7938 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
7940 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
7942 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
7944 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
7946 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7947 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7948 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7949 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7950 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7951 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7952 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7954 2017-08-02 Joseph Myers <joseph@codesourcery.com>
7957 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
7958 bit-field expressions passed to sizeof or typeof.
7959 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7960 (__TGMATH_F128): Likewise.
7961 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7962 (__TGMATH_CF128): Likewise.
7963 (__TGMATH_UNARY_REAL_ONLY): Likewise.
7964 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
7965 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
7966 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
7967 (__TGMATH_BINARY_REAL_ONLY): Likewise.
7968 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
7969 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
7970 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
7971 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
7972 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
7973 (__TGMATH_UNARY_REAL_IMAG): Likewise.
7974 (__TGMATH_UNARY_IMAG): Likewise.
7975 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
7976 (__TGMATH_BINARY_REAL_IMAG): Likewise.
7977 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
7979 (define_vars_for_type): Handle bit_field type specially.
7980 (Tests.__init__): Declare structure with bit-field element.
7982 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
7985 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
7986 (MEMCPY_CHK): Define only if SHARED is defined.
7987 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
7989 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
7992 See ChangeLog.18 for earlier changes.