1 2017-10-17 Jordi Mallach <jordi@gnu.org>
3 Aurelien Jarno <aurelien@aurel32.net>
5 * localedata/locales/ca_ES@valencia: New file.
6 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
8 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
11 * math/math.h: Let signbit use the builtin in C++ mode with gcc
14 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16 * scripts/build-many-glibcs.py (Context.add_all_configs):
17 Add arm-linux-gnueabihf multiarch extra_glibcs.
19 * sysdeps/generic/ifunc-init.h: New file.
20 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
22 2017-10-17 Mike FABIAN <mfabian@redhat.com>
25 * localedata/locales/el_GR: Set n_cs_precedes to 0.
26 * localedata/locales/el_CY: copy "el_GR" because it is identical.
27 * stdlib/tst-strfmon_l.c: adapt test case.
29 2017-10-16 Joseph Myers <joseph@codesourcery.com>
31 * sysdeps/generic/float128-abi.h: New file.
32 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
33 non-__prefixed symbols to ....
34 * math/Versions: ... here. Include <float128-abi.h>.
35 * stdlib/Versions ... and here. Include <float128-abi.h>
37 2017-10-16 Florian Weimer <fweimer@redhat.com>
39 * version.h (VERSION): Switch to ".9000" as the development
42 2017-10-16 Florian Weimer <fweimer@redhat.com>
45 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
46 compat_symbol_reference to access non-default version.
48 2017-10-16 Florian Weimer <fweimer@redhat.com>
50 * malloc/Makefile (others-extras): Set to mcheck-init.o.
52 2017-10-16 Carlos O'Donell <carlos@redhat.com>
54 * include/shlib-compat.h (compat_symbol_reference): Update
57 2017-10-16 Joseph Myers <joseph@codesourcery.com>
59 * math/Makefile (test-types): Add
60 $(type-float128-$(float128-alias-fcts)).
61 * math/test-float128.h (TYPE_STR): Define conditional on
62 [FLT128_MANT_DIG == LDBL_MANT_DIG].
64 (ULP_I_IDX): Likewise.
66 * stdlib/strtold.c: Include <bits/floatn.h>
67 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
68 and later undefine as macro. Define as weak alias if
70 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
71 and later undefine as macro. Define as weak alias if
73 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
74 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
75 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
76 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
77 Define and later undefine as macro. Define as weak alias if
79 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
81 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
82 Define and later undefine as macro. Define as weak alias if
84 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
85 Define and later undefine as macro. Define as weak alias if
88 2017-10-15 Carlos O'Donell <carlos@redhat.com>
90 * localedata/collate-test.c (allocate_arrays): Don't use \n in
91 record_verbose messages.
93 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
96 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
97 to silence -O3 -Wall warning with GCC 7.
99 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
101 * Makeconfig (+link-static-before-libc): Use the first of
102 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
103 * gmon/Makefile (tests): Add tst-gmon-static.
104 (tests-static): Likewise.
105 (CFLAGS-tst-gmon-static.c): New.
106 (CRT-tst-gmon-static): Likewise.
107 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
108 (tst-gmon-static-ENV): Likewise.
109 (tests-special): Likewise.
110 ($(objpfx)tst-gmon-static.out): Likewise.
111 (clean-tst-gmon-static-data): Likewise.
112 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
113 * gmon/tst-gmon-static-gprof.sh: New file.
114 * gmon/tst-gmon-static.c: Likewise.
116 2017-10-13 Carlos O'Donell <carlos@redhat.com>
119 * locale/programs/linereader.c (get_string): Don't warn on
120 non-symbolic character.
122 2017-10-13 Carlos O'Donell <carlos@redhat.com>
125 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
128 2017-10-13 Carlos O'Donell <carlos@redhat.com>
131 * locale/programs/record-status.h: New file
132 * locale/programs/locale.c: Add comment.
133 * locale/programs/charmap-dir.c: Don't include error.h.
134 (charmap_opendir): Use record_error.
135 * locale/programs/charmap.c: Don't include error.h.
136 (charmap_read): Use record_error, and record_warning.
137 (parse_charmap): Likewise.
138 * locale/programs/ld-address.c: Don't include error.h.
139 (address_finish): Use record_error, and record_warning.
140 * locale/programs/ld-collate.c: Don't include error.h.
141 (collate_finish): Use record_error, and record_error_at_line.
142 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
143 (ctype_class_new): Likewise.
144 (ctype_map_new): Likewise.
145 (set_one_default): Likewise.
146 (set_class_defaults): Likewise.
147 (translit_flatten): Likewise.
148 (allocate_arrays): Use record_error, and record_verbose.
149 * locale/programs/ld-identification.c: Don't include error.h.
150 (indentation_finish): Use record_error and record_warning.
151 * locale/programs/ld-measurement.c: Don't include error.h.
152 (measurement_finish): Use record_error.
153 * locale/programs/ld-messages.c
154 (message_finish): Likewise.
155 * locale/programs/ld-monetary.c
156 (monetary_finish): Likewise.
157 * locale/programs/ld-name.c (name_finish): Use record_error
159 * locale/programs/ld-numeric.c
160 (numeric_finish): Use record_error.
161 * locale/programs/ld-paper.c: Don't include error.h.
162 (paper_finish): Use record_error.
163 * locale/programs/ld-telephone.c: Don't include error.h.
164 (telephone_finish): Use record_error.
165 * locale/programs/ld-time.c (time_finish): Likewise.
166 * locale/programs/linereader.h (lr_error): Make inline func.
167 * locale/programs/localedef.c: Define recorded_warning_count,
168 and recorded_error_count.
169 (main): Use record_error. Use recorded_error_count and
170 recorded_warning_count to issue correct error returns.
171 (add_to_readlist): Use record_error.
172 (find_locale): Likewise.
173 (load_locale): Likewise.
174 * locale/programs/localedef.h: Remove be_quiet
176 * locale/programs/locarchive.c (compare_from_file): Use
178 * locale/programs/locfile.c (write_locale_data): Use
180 * locale/programs/repertoire.c: Dont include error.h.
181 (repertoire_complain): Use record_error.
182 * localedata/tst-fmon.sh: Expect failures from localedef.
183 * localedata/tst-locale.sh: Likewise.
184 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
186 2017-10-12 Carlos O'Donell <carlos@redhat.com>
188 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
192 (i18n_ctype): ...this.
193 (i18n-report): Rename to...
194 (i18n_ctype-report): ...this.
195 * localedata/locales/i18n_ctype: Regenerate.
196 * localedata/locales/i18n: copy i18n_ctype.
198 2017-10-13 Joseph Myers <joseph@codesourcery.com>
200 * stdlib/strfroml.c: Include <bits/floatn.h>.
201 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
202 Define before include of <stdlib.h> and undefine afterwards, then
203 define as weak alias.
205 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
206 Undefine and restore default definition. Use
207 libm_alias_ldouble_other.
209 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
212 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
215 2017-10-13 James Clarke <jrtc27@jrtc27.com>
217 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
218 Assign sym_map to be map for local symbols, as TLS relocations
219 use sym_map to determine whether the symbol is defined and to
220 extract the TLS information.
221 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
222 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
224 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
227 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
228 (math_force_eval): Add powerpc version.
231 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
234 * stdio-common/tst-printf.sh: Likewise.
235 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
236 ifdef clause in order to set the carry bit right. Replace r0 by
237 0 without changing the behavior.
239 2017-10-13 Joseph Myers <joseph@codesourcery.com>
241 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
242 <libm-alias-ldouble.h>.
243 (fabsl): Define using libm_alias_ldouble.
244 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
245 <libm-alias-ldouble.h>.
246 (fabsl): Define using libm_alias_ldouble.
248 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
249 Remove conditional code.
251 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
252 Rename to __clog10_internal_l.
253 (__clog10_internal_l): Define aliases using
254 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
257 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
259 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
260 * benchtests/sincosf-inputs: New file.
261 * benchtests/cosf-inputs: New file.
262 * benchtests/sinf-inputs: New file.
264 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
266 * posix/tst-spawn.c (do_test): Wait for both children.
268 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
271 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
272 tests-pie): Add tst-gmon-pie.
273 (CFLAGS-tst-gmon-pie.c): New.
274 (CRT-tst-gmon-pie): Likewise.
275 (tst-gmon-pie-ENV): Likewise.
276 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
277 ($(objpfx)tst-gmon-pie.out): Likewise.
278 (clean-tst-gmon-pie-data): Likewise.
279 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
280 * gmon/gmon.c [PIC]: Include <link.h>.
281 [PIC] (callback): New function.
282 (write_hist): Add an argument for load address. Subtract load
284 (write_call_graph): Likewise.
285 (write_gmon): Call __dl_iterate_phdr to get load address, pass
286 it to write_hist and write_call_graph.
287 * gmon/tst-gmon-pie.c: New file.
289 2017-10-11 Joseph Myers <joseph@codesourcery.com>
291 * math/Makefile (test-types-basic): New variable.
292 (test-types): Likewise.
293 (libm-test-support): Use $(test-types) instead of $(types).
294 (libm-tests-base-normal): Likewise.
295 (libm-tests-base-finite): Likewise.
296 (libm-tests-base-inline): Likewise.
297 (generated): Likewise.
298 ($(objpfx)libm-test-support-$(t).c): Likewise.
299 (libm-tests-for-type iterator): Likewise.
300 (libm-test-support iterator): Likewise.
301 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
302 (ulp_idx): Use ULP_IDX.
303 * math/test-ldouble.h: Include <float.h>.
304 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
305 (ULP_IDX): New macro.
306 (ULP_I_IDX): Likewise.
307 * math/test-double.h (ULP_IDX): Likewise.
308 (ULP_I_IDX): Likewise.
309 * math/test-float.h (ULP_IDX): Likewise.
310 (ULP_I_IDX): Likewise.
311 * math/test-float128.h (ULP_IDX): Likewise.
312 (ULP_I_IDX): Likewise.
314 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
316 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
317 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
318 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
319 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
320 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
321 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
322 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
323 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
324 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
325 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
326 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
327 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
328 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
329 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
330 (SINGLE_THREAD_BY_GLOBAL): Define.
331 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
333 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
335 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
337 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
339 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
340 (SINGLE_THREAD_BY_GLOBAL): Likewise.
341 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
344 2017-10-11 Andreas Schwab <schwab@suse.de>
346 * nis/Makefile (aux): Remove.
347 * nscd/Makefile (aux): Add nscd_hash.
348 (nscd-modules): Likewise.
349 ($(objpfx)nscd): Don't depend on libnsl.
350 * nscd/nscd_hash.c: New file.
351 * nscd/nscd_hash.h: Likewise.
352 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
353 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
354 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
355 instead of <nis/rpcsvc/nis.h>.
356 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
358 2017-10-11 Florian Weimer <fweimer@redhat.com>
361 Avoid large NSS buffers with many addresses, aliases.
362 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
363 using dynarrays and struct alloc_buffer.
364 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
365 (tst-nss-files-hosts-multi): Link with -ldl.
366 * nss/tst-nss-files-hosts-multi.c: New file.
368 2017-10-11 Florian Weimer <fweimer@redhat.com>
371 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
372 scratch_buffer. Eliminate gotos.
374 2017-10-11 Joseph Myers <joseph@codesourcery.com>
376 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
377 libm_alias_ldouble_other.
378 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
379 undefine and redefine.
380 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
381 (exp10l): Do not define here.
382 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
383 (weak_alias): Undefine and redefine.
384 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
385 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
386 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
387 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
389 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
390 [!__fma] (fma): Define using libm_alias_double.
391 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
392 [!__fmaf] (fmaf): Define using libm_alias_float.
393 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
394 (fmal): Define using libm_alias_ldouble.
396 2017-10-10 Joseph Myers <joseph@codesourcery.com>
398 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
400 (libm_alias_double_other): Likewise.
401 (libm_alias_double_r): Use libm_alias_double_other_r.
402 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
404 (libm_alias_float_other): Likewise.
405 (libm_alias_float_r): Use libm_alias_float_other_r.
406 * sysdeps/generic/libm-alias-float128.h
407 (libm_alias_float128_other_r): New macro.
408 (libm_alias_float128_other): Likewise.
409 (libm_alias_float128_r): Use libm_alias_float128_other_r.
410 * sysdeps/generic/libm-alias-ldouble.h
411 (libm_alias_ldouble_other_r): New macro.
412 (libm_alias_ldouble_other): Likewise.
413 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
414 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
415 (libm_alias_double_other_r): New macro.
416 (libm_alias_double_other): Likewise.
417 (libm_alias_double_r): Use libm_alias_double_other_r.
418 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
419 (libm_alias_ldouble_other_r): New macro.
420 (libm_alias_ldouble_other): Likewise.
421 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
422 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
423 [!USE_AS_COMPAT]: Use libm_alias_double_other.
424 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
425 [!USE_AS_COMPAT]: Use libm_alias_float_other.
426 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
427 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
428 * math/w_exp2f.c: Use libm_alias_float_other.
429 * math/w_expf.c: Likewise.
430 * math/w_log2f.c: Likewise.
431 * math/w_logf.c: Likewise.
432 * math/w_powf.c: Likewise.
433 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
434 [!__exp2f]: Use libm_alias_float_other.
435 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
436 [!__expf]: Use libm_alias_float_other.
437 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
438 [!__log2f]: Use libm_alias_float_other.
439 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
440 [!__logf]: Use libm_alias_float_other.
441 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
442 [!__powf]: Use libm_alias_float_other.
444 2017-10-10 Florian Weimer <fweimer@redhat.com>
446 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
448 (_nss_files_gethostbyname3_r): Call it.
450 2017-10-09 Joseph Myers <joseph@codesourcery.com>
452 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
453 error. Remove default definition of declare_mgen_alias.
454 [!declare_mgen_alias_r]: Likewise.
455 * sysdeps/generic/math-type-macros-double.h
456 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
457 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
458 (declare_mgen_alias_r): Likewise.
459 * sysdeps/generic/math-type-macros-float128.h
460 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
461 * sysdeps/generic/math-type-macros-ldouble.h
462 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
463 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
465 (declare_mgen_alias_r_s): Likewise.
466 (declare_mgen_alias_r): Likewise.
467 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
468 (lgamma_r): Define using libm_alias_double_r.
469 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
470 (lgammaf_r): Define using libm_alias_float_r.
471 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
472 (lgammal_r): Define using libm_alias_ldouble_r.
473 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
474 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
476 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
478 * lib/glob.c (__glob_pattern_type): Remove now-spurious
481 2017-10-09 Joseph Myers <joseph@codesourcery.com>
483 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
485 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
488 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
489 [__cplusplus >= 201103] (__USE_ISOC99): Define.
490 * math/Makefile (test-math-cxx11): New test.
491 * math/test-math-cxx11.cc: New file.
493 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
495 * login/openpty.c (openpty): Close slave pty file descriptor on error.
497 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
498 call to allocate the slave pty file descriptor.
500 2017-10-06 Joseph Myers <joseph@codesourcery.com>
502 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
503 [!__fma] (fma): Define using libm_alias_double.
504 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
505 [!__fma] (fma): Define using libm_alias_double.
507 * sysdeps/ieee754/float128/float128_private.h: Include
508 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
509 (libm_alias_ldouble_r): Undefine and redefine.
510 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
511 <libm-alias-ldouble.h>.
512 (asinhl): Define using libm_alias_ldouble.
513 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
514 <libm-alias-ldouble.h>.
515 (atanl): Define using libm_alias_ldouble.
516 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
517 <libm-alias-ldouble.h>.
518 (cbrtl): Define using libm_alias_ldouble.
519 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
520 <libm-alias-ldouble.h>.
521 (ceill): Define using libm_alias_ldouble.
522 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
523 <libm-alias-ldouble.h>.
524 (copysignl): Define using libm_alias_ldouble.
525 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
526 <libm-alias-ldouble.h>.
527 (cosl): Define using libm_alias_ldouble.
528 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
529 <libm-alias-ldouble.h>.
530 (erfl): Define using libm_alias_ldouble.
532 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
533 <libm-alias-ldouble.h>.
534 (expm1l): Define using libm_alias_ldouble.
535 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
536 <libm-alias-ldouble.h>.
537 (fabsl): Define using libm_alias_ldouble.
538 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
539 <libm-alias-ldouble.h>.
540 (floorl): Define using libm_alias_ldouble.
541 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
542 <libm-alias-ldouble.h>.
543 (fmal): Define using libm_alias_ldouble.
544 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
545 <libm-alias-ldouble.h>.
546 (frexpl): Define using libm_alias_ldouble.
547 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
549 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
550 <libm-alias-ldouble.h>.
551 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
553 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
554 <libm-alias-ldouble.h>.
555 (getpayloadl): Define using libm_alias_ldouble.
556 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
557 <libm-alias-ldouble.h>.
558 (llrintl): Define using libm_alias_ldouble.
559 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
560 <libm-alias-ldouble.h>.
561 (llroundl): Define using libm_alias_ldouble.
562 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
563 <libm-alias-ldouble.h>.
564 (logbl): Define using libm_alias_ldouble.
565 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
566 <libm-alias-ldouble.h>.
567 (lrintl): Define using libm_alias_ldouble.
568 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
569 <libm-alias-ldouble.h>.
570 (lroundl): Define using libm_alias_ldouble.
571 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
572 <libm-alias-ldouble.h>.
573 (modfl): Define using libm_alias_ldouble.
574 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
575 <libm-alias-ldouble.h>.
576 (nearbyintl): Define using libm_alias_ldouble.
577 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
578 <libm-alias-ldouble.h>.
579 (nextafterl): Define using libm_alias_ldouble.
580 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
581 <libm-alias-ldouble.h>.
582 (nextupl): Define using libm_alias_ldouble.
583 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
584 <libm-alias-ldouble.h>.
585 (remquol): Define using libm_alias_ldouble.
586 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
587 <libm-alias-ldouble.h>.
588 (rintl): Define using libm_alias_ldouble.
589 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
590 <libm-alias-ldouble.h>.
591 (roundevenl): Define using libm_alias_ldouble.
592 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
593 <libm-alias-ldouble.h>.
594 (roundl): Define using libm_alias_ldouble.
595 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
596 using libm_alias_ldouble.
597 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
598 <libm-alias-ldouble.h>.
599 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
600 Define using libm_alias_ldouble.
601 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
602 <libm-alias-ldouble.h>.
603 (sincosl): Define using libm_alias_ldouble.
604 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
605 <libm-alias-ldouble.h>.
606 (sinl): Define using libm_alias_ldouble.
607 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
608 <libm-alias-ldouble.h>.
609 (tanhl): Define using libm_alias_ldouble.
610 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
611 <libm-alias-ldouble.h>.
612 (tanl): Define using libm_alias_ldouble.
613 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
614 <libm-alias-ldouble.h>.
615 (totalorderl): Define using libm_alias_ldouble.
616 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
617 <libm-alias-ldouble.h>.
618 (totalordermagl): Define using libm_alias_ldouble.
619 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
620 <libm-alias-ldouble.h>.
621 (truncl): Define using libm_alias_ldouble.
622 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
624 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
626 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
627 <libm-alias-ldouble.h>.
628 (weak_alias): Do not undefine and redefine.
629 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
630 (copysignl): Define with long_double_symbol only if [IS_IN
632 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
633 <libm-alias-ldouble.h>.
634 (weak_alias): Do not undefine and redefine.
635 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
636 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
637 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
638 <libm-alias-ldouble.h>.
639 (weak_alias): Do not undefine and redefine.
640 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
641 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
642 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
643 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
644 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
645 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
646 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
647 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
648 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
649 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
650 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
651 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
652 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
653 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
654 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
655 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
656 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
657 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
658 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
659 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
660 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
661 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
662 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
663 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
664 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
665 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
667 2017-10-06 Carlos O'Donell <carlos@redhat.com>
670 * malloc/malloc.c (tcache_shutting_down): Use bool type.
671 (tcache_thread_freeres): Set tcache_shutting_down before
673 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
674 * malloc/tst-malloc-tcache-leak.c: New file.
676 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
678 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
679 back to powerpc32 file.
680 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
681 (memrchr): Add __memrchr_power8 to ifunc list.
682 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
683 extra bytes for unaligned inputs.
685 2017-10-06 Joseph Myers <joseph@codesourcery.com>
687 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
688 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
689 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
690 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
691 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
693 2017-10-05 Joseph Myers <joseph@codesourcery.com>
695 * sysdeps/arm/libm-test-ulps: Update.
697 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
698 <libm-alias-ldouble.h>.
699 (asinhl): Define using libm_alias_ldouble.
700 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
701 <libm-alias-ldouble.h>.
702 (cbrtl): Define using libm_alias_ldouble.
703 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
704 <libm-alias-ldouble.h>.
705 (copysignl): Define using libm_alias_ldouble.
706 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
707 <libm-alias-ldouble.h>.
708 (cosl): Define using libm_alias_ldouble.
709 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
710 <libm-alias-ldouble.h>.
711 (erfl): Define using libm_alias_ldouble.
713 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
714 <libm-alias-ldouble.h>.
715 (fmal): Define using libm_alias_ldouble.
716 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
717 <libm-alias-ldouble.h>.
718 (frexpl): Define using libm_alias_ldouble.
719 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
721 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
722 <libm-alias-ldouble.h>.
723 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
725 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
726 <libm-alias-ldouble.h>.
727 (getpayloadl): Define using libm_alias_ldouble.
728 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
729 <libm-alias-ldouble.h>.
730 (llrintl): Define using libm_alias_ldouble.
731 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
732 <libm-alias-ldouble.h>.
733 (llroundl): Define using libm_alias_ldouble.
734 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
735 <libm-alias-ldouble.h>.
736 (lrintl): Define using libm_alias_ldouble.
737 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
738 <libm-alias-ldouble.h>.
739 (lroundl): Define using libm_alias_ldouble.
740 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
741 <libm-alias-ldouble.h>.
742 (modfl): Define using libm_alias_ldouble.
743 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
744 <libm-alias-ldouble.h>.
745 (nextupl): Define using libm_alias_ldouble.
746 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
747 <libm-alias-ldouble.h>.
748 (remquol): Define using libm_alias_ldouble.
749 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
750 <libm-alias-ldouble.h>.
751 (roundevenl): Define using libm_alias_ldouble.
752 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
753 <libm-alias-ldouble.h>.
754 (roundl): Define using libm_alias_ldouble.
755 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
756 using libm_alias_ldouble.
757 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
758 <libm-alias-ldouble.h>.
759 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
760 <libm-alias-ldouble.h>.
761 (setpayloadsigl): Define using libm_alias_ldouble.
762 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
763 <libm-alias-ldouble.h>.
764 (sincosl): Define using libm_alias_ldouble.
765 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
766 <libm-alias-ldouble.h>.
767 (sinl): Define using libm_alias_ldouble.
768 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
769 <libm-alias-ldouble.h>.
770 (tanhl): Define using libm_alias_ldouble.
771 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
772 <libm-alias-ldouble.h>.
773 (tanl): Define using libm_alias_ldouble.
774 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
775 <libm-alias-ldouble.h>.
776 (totalorderl): Define using libm_alias_ldouble.
777 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
778 <libm-alias-ldouble.h>.
779 (totalordermagl): Define using libm_alias_ldouble.
780 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
782 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
785 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
787 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
789 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
790 (__libc_ifunc_impl_list): Likewise.
791 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
792 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
794 * benchtests/bench-memmove-walk.c: New file.
795 * benchtests/Makefile (string-benchset): Add it.
797 * benchtests/bench-memset-walk.c: New file.
798 * benchtests/Makefile (string-benchset): Add it.
800 * benchtests/bench-memcpy-walk.c: New file.
801 * benchtests/Makefile (string-benchset): Add it.
803 2017-10-05 Florian Weimer <fweimer@redhat.com>
805 nscd: Eliminate compilation time dependency in the build output.
806 * nscd/nscd_stat.c (STATDATA_VERSION)
807 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
808 (STATDATA_VERSION_FULL): New macro definitions.
809 (compilation): Remove.
810 (struct statdata): Adjust version member.
811 (send_stats): Set version from STATDATA_VERSION_FULL.
812 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
814 2017-10-05 Joseph Myers <joseph@codesourcery.com>
816 * configure.ac (--enable-add-ons): Remove option.
817 (machine): Do not mention add-ons in comment.
818 (LIBC_PRECONFIGURE): Likewise.
819 (add_ons): Remove variable and sanity checks and logic to locate
821 (add_ons_automatic): Remove variable.
822 (configured_add_ons): Likewise.
823 (add_ons_sfx): Likewise.
824 (add_ons_pfx): Likewise.
825 (add_on_subdirs): Likewise.
826 (sysnames_add_ons): Likewise. Remove loop over add-ons and
827 consideration of add-ons in Implies handling.
828 (sysdeps_add_ons): Likewise.
829 * configure: Regenerated.
830 * libidn/configure.ac: Remove.
831 * libidn/configure: Likewise.
832 * sysdeps/unix/inet/configure.ac: New file.
833 * sysdeps/unix/inet/configure: New generated file.
834 * sysdeps/unix/inet/Subdirs: Add libidn.
835 * Makeconfig (sysdeps-srcdirs): Remove variable.
836 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
837 ($(common-objpfx)config.status): Do not depend on add-on files.
838 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
840 (all-subdirs): Do not include $(add-on-subdirs).
841 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
842 * config.make.in (add-ons): Remove variable.
843 (add-on-subdirs): Likewise.
844 (sysdeps-add-ons): Likewise.
845 * manual/Makefile (add-chapters): Remove.
846 ($(objpfx)texis): Do not depend on $(add-chapters).
847 (nonexamples): Do not handle $(add-chapters).
848 (examples): Do not handle $(add-ons).
849 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
851 * manual/install.texi (Installation): Do not mention add-ons.
852 (--enable-add-ons): Do not document configure option.
853 * INSTALL: Regenerated.
854 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
855 * manual/maint.texi (Hierarchy Conventions): Do not mention
857 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
859 * scripts/gen-sorted.awk: Do not handle Subdirs files from
861 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
862 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
864 2017-10-05 Andreas Schwab <schwab@suse.de>
867 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
868 (_IO_flush_all_lockp): Always lock list_all_lock.
869 (_IO_flush_all_linebuffered): Likewise.
870 (_IO_unbuffer_all): Likewise.
872 2017-10-05 Florian Weimer <fweimer@redhat.com>
875 Do not flush stdio streams on abort.
876 * stdlib/abort.c (fflush): Remove macro definition.
877 (abort): Remove stages related to stdio flushing.
879 2017-10-05 Florian Weimer <fweimer@redhat.com>
881 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
883 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
885 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
887 2017-10-05 Florian Weimer <fweimer@redhat.com>
889 * support/support_format_hostent.c (support_format_hostent): Add
890 more error information for NETDB_INTERNAL.
892 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
894 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
895 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
896 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
897 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
898 AC_DEFINE if multi-arch is enabled.
899 * sysdeps/i386/configure: Regenerated.
901 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
903 * Makeconfig (+link-static-before-libc): Use
904 $(DEFAULT-LDFLAGS-$(@F)).
905 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
906 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
907 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
909 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
911 * elf/Makefile (tests): Add tst-main1.
912 (modules-names): Add tst-main1mod.
913 ($(objpfx)tst-main1): New.
914 (CRT-tst-main1): Likewise.
915 (LDFLAGS-tst-main1): Likewise.
916 (LDLIBS-tst-main1): Likewise.
917 (tst-main1mod.so-no-z-defs): Likewise.
918 * elf/tst-main1.c: New file.
919 * elf/tst-main1mod.c: Likewise.
921 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
923 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
925 2017-10-04 Joseph Myers <joseph@codesourcery.com>
927 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
928 (fma): Define using libm_alias_double.
929 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
930 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
932 (fmal): Do not define as compat symbol here.
933 * sysdeps/alpha/fpu/s_fma.c: New file.
935 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
937 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
939 2017-10-04 Joseph Myers <joseph@codesourcery.com>
942 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
944 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
946 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
947 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
948 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
949 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
951 Include <math_ldbl_opt.h>
952 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
954 (compat_symbol): Undefine and redefine.
955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
957 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
958 (compat_symbol): Undefine and redefine.
959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
960 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
961 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
963 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
964 GLIBC_2.0 copysignl symbol.
965 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
966 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
968 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
970 2017-10-04 Florian Weimer <fweimer@redhat.com>
972 * scripts/check-local-headers.sh: Ignore nspr4 header file
973 directory in addition to nspr.
975 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
978 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
979 * configure: Regenerate.
980 * crypt/Makefile (nss-cpp-flags): New variable.
981 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
982 (CPPFLAGS-md5-crypt.c): Use it.
983 * scripts/check-local-headers.sh: Ignore nspr header file
986 2017-10-04 Andreas Schwab <schwab@suse.de>
988 * nis/Makefile (services): Remove compat.
989 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
990 ($(objpfx)libnss_compat.so): Remove rule.
991 * nis/Versions (libnss_compat): Remove.
992 * nss/Makefile (services): Add compat.
993 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
994 * nss/Versions (libnss_compat): Define.
995 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
996 Don't include <rpc/types.h>. Replace bool_t by bool.
997 * nss/nss_compat/compat-initgroups.c: Likewise.
998 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
999 instead of <rpcsrv/ypclnt.h>.
1000 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
1001 yp_get_default_domain.
1002 * nss/nss_compat/compat-pwd.c: Likewise.
1003 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
1004 yp_get_default_domain.
1005 * nss/nss_compat/nisdomain.c: New file.
1006 * nss/nss_compat/nisdomain.h: Likewise.
1008 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1011 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
1012 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1014 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1017 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
1018 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
1020 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1022 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
1023 "movl main@GOTOFF(%ebx), %eax".
1025 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1027 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
1028 allow undefined _DYNAMIC in PIE libc.a.
1029 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
1032 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1034 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
1037 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1039 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
1042 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1044 * math/test-math-iscanonical.cc (error): Replace bool with int.
1046 2017-10-03 Joseph Myers <joseph@codesourcery.com>
1048 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
1049 (modf): Define using libm_alias_double, only if [!__modf].
1050 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
1051 <libm-alias-double.h>.
1052 (modf): Define using libm_alias_double, only if [!__modf].
1053 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
1055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
1056 (weak_alias): Do not undefine and redefine.
1057 (strong_alias): Likewise.
1058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
1059 (weak_alias): Likewise.
1060 (strong_alias): Likewise.
1062 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
1063 (logb): Define using libm_alias_double, only if [!__logb].
1064 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
1065 <libm-alias-double.h>.
1066 (logb): Define using libm_alias_double, only if [!__logb].
1067 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
1068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
1069 (weak_alias): Do not undefine and redefine.
1070 (strong_alias): Likewise.
1071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
1072 (weak_alias): Likewise.
1073 (strong_alias): Likewise.
1075 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1077 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
1078 Check SHARED instead PIC.
1080 2017-10-03 Joseph Myers <joseph@codesourcery.com>
1082 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
1083 [!__fmaf] (fmaf): Define using libm_alias_float.
1085 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
1086 (frexp): Define using libm_alias_double.
1087 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
1088 <libm-alias-double.h>.
1089 (frexp): Define using libm_alias_double.
1090 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
1093 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1096 * math/math.h: Trivial fix for unbalanced parentheses in comment.
1097 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
1098 (CFLAGS-test-math-iscanonical.cc): New variable.
1099 * math/test-math-iscanonical.cc: New file.
1100 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
1101 Provide a C++ implementation based on function overloading,
1102 rather than using __MATH_TG, which uses C-only builtins.
1103 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
1105 * sysdeps/powerpc/powerpc64le/Makefile
1106 (CFLAGS-test-math-iscanonical.cc): New variable.
1108 2017-10-03 Joseph Myers <joseph@codesourcery.com>
1110 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
1111 (ceil): Define using libm_alias_double.
1112 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
1113 (floor): Define using libm_alias_double.
1114 * sysdeps/ieee754/dbl-64/s_llround.c: Include
1115 <libm-alias-double.h>.
1116 (llround): Define using libm_alias_double.
1117 * sysdeps/ieee754/dbl-64/s_lround.c: Include
1118 <libm-alias-double.h>.
1119 (lround): Define using libm_alias_double.
1120 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
1121 <libm-alias-double.h>.
1122 (nearbyint): Define using libm_alias_double.
1123 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
1124 <libm-alias-double.h>.
1125 (remquo): Define using libm_alias_double.
1126 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
1127 (rint): Define using libm_alias_double.
1128 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
1129 (round): Define using libm_alias_double.
1130 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
1131 (trunc): Define using libm_alias_double.
1132 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
1133 <libm-alias-double.h>.
1134 (ceil): Define using libm_alias_double.
1135 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
1136 <libm-alias-double.h>.
1137 (floor): Define using libm_alias_double.
1138 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
1139 <libm-alias-double.h>.
1140 (llround): Define using libm_alias_double.
1141 [_LP64] (lround): Likewise.
1142 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
1143 <libm-alias-double.h>.
1144 [!_LP64] (lround): Define using libm_alias_double.
1145 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
1146 <libm-alias-double.h>.
1147 (nearbyint): Define using libm_alias_double.
1148 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
1149 <libm-alias-double.h>.
1150 (remquo): Define using libm_alias_double.
1151 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
1152 <libm-alias-double.h>.
1153 (rint): Define using libm_alias_double.
1154 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
1155 <libm-alias-double.h>.
1156 (round): Define using libm_alias_double.
1157 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
1158 <libm-alias-double.h>.
1159 (trunc): Define using libm_alias_double.
1160 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
1161 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
1162 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
1163 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
1164 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
1165 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
1166 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
1167 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
1168 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
1170 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1172 * math/w_remainder.c: New file.
1173 * math/w_remainderf.c: New file.
1174 * math/w_remainderl.c: New file.
1176 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1178 * elf/rtld.c (BOOTSTRAP_MAP): New.
1179 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
1180 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1182 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1184 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1187 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1189 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
1190 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
1191 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
1192 rtld_hidden_data_ver): Define to empty.
1193 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
1194 __assert_perror_fail): Likewise.
1195 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1196 (__rewinddir): Likewise.
1197 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1198 (__profile_frequency): Likewise.
1199 * include/setjmp.h (__sigsetjmp): Likewise.
1200 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
1201 __libc_sigaction): Likewise.
1202 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
1203 not set hidden attribute.
1204 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
1205 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
1206 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
1207 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
1208 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
1209 __fxstatat64): Likewise.
1210 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1211 (__uname): Likewise.
1212 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1213 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
1214 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
1215 (NO_RTLD_HIDDEN): Set.
1216 * sysdeps/mach/hurd/configure: Refresh.
1217 * config.h.in: Refresh.
1219 2017-10-02 Joseph Myers <joseph@codesourcery.com>
1221 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
1222 (atan): Define using libm_alias_double.
1223 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
1224 (tan): Define using libm_alias_double.
1225 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
1226 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
1228 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
1229 define as weak alias of __atan. Do not define any aliases if
1231 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
1232 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
1233 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
1234 as weak alias of __tan. Do not define any aliases if [__tan].
1235 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
1236 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
1237 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
1239 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
1240 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
1241 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
1242 and define as weak alias of __atan.
1243 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
1245 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
1246 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
1247 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
1248 define as weak alias of __tan.
1250 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1252 * math/w_lgamma.c: New file.
1253 * math/w_lgammaf.c: New file.
1254 * math/w_lgammal.c: New file.
1256 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1258 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
1259 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
1260 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
1261 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
1262 * sysdeps/ieee754/flt-32/w_logf.c: New file.
1263 * sysdeps/ieee754/flt-32/w_powf.c: New file.
1264 * sysdeps/i386/fpu/w_log2f.c: New file.
1265 * sysdeps/i386/fpu/w_logf.c: New file.
1266 * sysdeps/i386/fpu/w_powf.c: New file.
1267 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
1268 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
1269 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
1271 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1272 H.J. Lu <hongjiu.lu@intel.com>
1274 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
1275 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
1276 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
1277 * sysdeps/ieee754/flt-32/w_expf.c: New file.
1278 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
1280 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
1281 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
1282 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
1283 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
1284 * sysdeps/i386/fpu/w_exp2f.c: New file.
1285 * sysdeps/i386/fpu/w_expf.c: New file.
1286 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
1287 * sysdeps/x86_64/fpu/w_expf.c: New file.
1289 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1291 * math/Versions (logf): New libm symbol at GLIBC_2.27.
1294 * math/w_log2f.c: New file.
1295 * math/w_logf.c: New file.
1296 * math/w_powf.c: New file.
1297 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
1298 * math/w_logf_compat.c (__logf_compat): Likewise.
1299 * math/w_powf_compat.c (__powf_compat): Likewise.
1300 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
1301 * sysdeps/ia64/fpu/e_logf.S: Likewise.
1302 * sysdeps/ia64/fpu/e_powf.S: Likewise.
1303 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1304 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1305 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1306 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1307 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1308 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1309 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1310 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1311 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1312 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1313 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1314 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1323 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1324 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1325 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1326 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1327 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1328 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1332 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1333 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1334 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1336 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1338 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1339 (sysdep_routines): Add memrchr_power8.
1340 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1341 (memrchr): Add __memrchr_power8 to list of memrchr functions.
1342 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
1344 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
1345 (memrchr): Add __memrchr_power8 to ifunc list.
1346 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
1348 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1351 * sysdeps/unix/sysv/linux/posix_fadvise64.c
1352 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
1354 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1355 (__posix_fallocate64_l64): Likewise.
1357 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1360 * sysdeps/unix/sysv/linux/sched_setaffinity.c
1361 (__sched_setaffinity_new): Add libc_hidden_proto and
1364 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1367 * include/glob.h (__glob64): Add libc_hidden_proto.
1368 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
1371 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1374 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
1377 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1380 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
1382 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1385 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
1388 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1391 * csu/version.c (__libc_print_version): Add attribute_hidden.
1393 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1396 * include/libc-internal.h (__init_misc): Add attribute_hidden.
1398 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1401 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
1403 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1406 * nscd/nscd_helper.c (__nis_hash): New prototype.
1408 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1411 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
1412 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
1414 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1415 * termios/tcgetattr.c (__tcgetattr): Likewise.
1417 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1420 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
1421 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
1422 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
1423 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
1424 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
1426 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1429 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
1431 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1434 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
1435 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
1437 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1440 * intl/hash-string.h (__hash_string): Add attribute_hidden.
1442 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1445 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
1446 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
1448 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1451 * include/ifreq.h: New file.
1452 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
1453 (__ifreq): Likewise.
1454 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
1455 (__ifreq): Likewise.
1457 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1460 * include/idna.h: New file.
1461 * inet/getnameinfo.c: Include <idna.h> instead of
1463 (__idna_to_unicode_lzlz): Removed.
1464 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
1466 (__idna_to_ascii_lz): Removed.
1467 (__idna_to_unicode_lzlz): Likewise.
1469 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1472 * include/plural-exp.h: New file.
1473 * intl/plural-exp.c: Include <plural-exp.h> instead of
1476 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1479 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
1480 "getsourcefilter.h".
1481 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
1482 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
1483 "getsourcefilter.h".
1484 (__get_sol): Removed.
1486 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1489 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
1491 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
1493 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1496 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
1499 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1502 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
1504 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1507 * include/search.h (__tdestroy): Add libc_hidden_proto.
1508 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
1510 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1513 * include/assert.h (__assert_fail_base): Add attribute_hidden.
1515 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1518 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
1521 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1524 * include/signal.h (__kill): Add libc_hidden_proto.
1525 (__sigblock): Likewise.
1526 (__sigprocmask): Likewise.
1527 (__sigaltstack): Likewise.
1528 * signal/kill.c (__kill): Add libc_hidden_def.
1529 * signal/sigblock.c (__sigblock): Likewise.
1530 * signal/sigprocmask.c (__sigprocmask): Likewise.
1531 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1532 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1533 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
1534 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
1535 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
1537 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
1539 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
1540 (__sigprocmask): Likewise.
1541 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
1543 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
1544 (__sigprocmask): Likewise.
1545 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
1548 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1551 * include/string.h (__strsep): Add libc_hidden_proto.
1552 * string/strsep.c (__strsep): Add libc_hidden_def.
1554 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1557 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
1559 (__spawni): Likewise.
1561 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1564 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
1565 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
1568 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1571 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
1573 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1576 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
1577 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
1578 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1579 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
1580 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
1582 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1583 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
1585 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1588 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
1589 (__dcigettext): Likewise.
1591 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1594 * include/sys/sysinfo.h (__get_nprocs_conf): Add
1596 (__get_nprocs): Likewise.
1597 (__get_phys_pages): Likewise.
1598 (__get_avphys_pages): Likewise.
1599 (__get_child_max): Add attribute_hidden.
1600 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
1601 (__get_nprocs): Likewise.
1602 (__get_phys_pages): Likewise.
1603 (__get_avphys_pages): Likewise.
1604 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
1606 (__get_nprocs): Likewise.
1607 (__get_phys_pages): Likewise.
1608 (__get_avphys_pages): Likewise.
1609 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
1611 (__get_nprocs_conf): Likewise.
1612 (__get_phys_pages): Likewise.
1613 (__get_avphys_pages): Likewise.
1615 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1618 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
1620 (__netlink_close): Likewise.
1621 (__netlink_free_handle): Likewise.
1622 (__netlink_request): Likewise.
1624 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1627 * include/rpc/rpc.h (__rpc_thread_variables): Add
1629 (__rpc_thread_svc_cleanup): Likewise.
1630 (__rpc_thread_clnt_cleanup): Likewise.
1631 (__rpc_thread_key_cleanup): Likewise.
1633 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1636 * include/sys/uio.h (__readv): Add libc_hidden_proto.
1637 (__writev): Likewise.
1638 * misc/readv.c (__readv): Add libc_hidden_def.
1639 * misc/writev.c (__writev): Likewise.
1640 * sysdeps/posix/readv.c (__readv): Likewise.
1641 * sysdeps/posix/writev.c (__writev): Likewise.
1642 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
1643 (__readv): Likewise.
1644 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
1645 (__writev): Likewise.
1647 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1650 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
1651 (__regcomp): Add libc_hidden_proto.
1652 (__regexec): Likewise.
1653 (__regfree): Likewise.
1654 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
1655 (__regfree): Likewise.
1656 * posix/regexec.c (__regexec): Likewise.
1658 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1661 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
1662 (__getutent): Likewise.
1663 (__getutid): Likewise.
1664 (__getutline): Likewise.
1665 (__pututline): Likewise.
1666 (__getutent_r): Likewise.
1667 (__getutid_r): Likewise.
1668 (__getutline_r): Likewise.
1669 (__utmpname): Add attribute_hidden.
1670 (__setutent): Likewise.
1671 (__endutent): Likewise.
1672 * login/getutent.c (__getutent): Add libc_hidden_def.
1673 * login/getutent_r.c (__getutent_r): Likewise.
1674 (__pututline): Likewise.
1675 * login/getutid.c (__getutid): Likewise.
1676 * login/getutid_r.c (__getutid_r): Likewise.
1677 * login/getutline.c (__getutline): Likewise.
1678 * login/getutline_r.c (__getutline_r): Likewise.
1679 * login/updwtmp.c (__updwtmp): Likewise.
1681 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1684 * include/dirent.h (__opendir): Always add attribute_hidden.
1685 (__fdopendir): Likewise.
1686 (__closedir): Likewise.
1687 (__readdir): Likewise.
1688 (__readdir64): Add libc_hidden_proto.
1689 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
1690 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
1691 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
1692 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
1695 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1698 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
1699 * include/netdb.h (__gethostbyaddr_r): Likewise.
1700 (__gethostbyname_r): Likewise.
1701 (__gethostbyname2_r): Likewise.
1702 (__getnetbyaddr_r): Likewise.
1703 (__getnetbyname_r): Likewise.
1704 (__getservbyname_r): Likewise.
1705 (__getservbyport_r): Likewise.
1706 (__getprotobyname_r): Likewise.
1707 (__getprotobynumber_r): Likewise.
1708 (__getnetgrent_r): Likewise.
1709 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
1710 (__getrpcbynumber_r): Likewise.
1711 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
1713 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1716 * include/stdio.h (__fcloseall): Add attribute_hidden.
1717 (__getline): Likewise.
1718 (__path_search): Likewise.
1719 (__gen_tempname): Likewise.
1720 (__libc_message): Likewise.
1721 (__flockfile): Likewise.
1722 (__funlockfile): Likewise.
1723 (__fxprintf): Likewise.
1724 (__fxprintf_nocancel): Likewise.
1726 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1729 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
1730 (__sgetsgent_r): Likewise.
1732 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1735 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
1736 (__statfs64): Likewise.
1737 (__fstatfs64): Likewise.
1738 * include/sys/statvfs.h (__statvfs64): Likewise.
1739 (__fstatvfs64): Likewise.
1740 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
1741 (__statfs_filesize_max): Likewise.
1742 (__statfs_symlinks): Likewise.
1743 (__statfs_chown_restricted): Likewise.
1745 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1748 * include/time.h (__tzstring): Add attribute_hidden.
1749 (__tzfile_read): Likewise.
1750 (__tzfile_compute): Likewise.
1751 (__tzfile_default): Likewise.
1752 (__tzset_parse_tz): Likewise.
1753 (__offtime): Likewise.
1754 (__asctime_r): Likewise.
1755 (__tzset): Likewise.
1756 (__tz_convert): Likewise.
1757 (__getdate_r): Likewise.
1758 (__getclktck): Likewise.
1760 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1763 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
1764 (__nscd_unmap): Likewise.
1765 (__nscd_cache_search): Likewise.
1766 (__nscd_get_nl_timestamp): Likewise.
1767 (__nscd_getpwnam_r): Likewise.
1768 (__nscd_getpwuid_r): Likewise.
1769 (__nscd_getgrnam_r): Likewise.
1770 (__nscd_getgrgid_r): Likewise.
1771 (__nscd_gethostbyname_r): Likewise.
1772 (__nscd_gethostbyname2_r): Likewise.
1773 (__nscd_gethostbyaddr_r): Likewise.
1774 (__nscd_getai): Likewise.
1775 (__nscd_getgrouplist): Likewise.
1776 (__nscd_getservbyname_r): Likewise.
1777 (__nscd_getservbyport_r): Likewise.
1778 (__nscd_innetgr): Likewise.
1779 (__nscd_setnetgrent): Likewise.
1781 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1784 * include/gmp.h: Declare internal functions only if _ISOMAC is
1786 (__mpn_extract_double): Add attribute_hidden.
1787 (__mpn_extract_long_double): Likewise.
1788 (__mpn_extract_float128): Likewise.
1789 (__mpn_construct_float): Likewise.
1790 (__mpn_construct_double): Likewise.
1791 (__mpn_construct_long_double): Likewise.
1792 (__mpn_construct_float128): Likewise.
1793 (mpn_add_1): Likewise.
1794 (mpn_addmul_1): Likewise.
1795 (mpn_add_n): Likewise.
1796 (mpn_cmp): Likewise.
1797 (mpn_divrem): Likewise.
1798 (mpn_lshift): Likewise.
1799 (mpn_mul): Likewise.
1800 (mpn_mul_1): Likewise.
1801 (mpn_rshift): Likewise.
1802 (mpn_sub_1): Likewise.
1803 (mpn_submul_1): Likewise.
1804 (mpn_sub_n): Likewise.
1806 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1809 * include/wchar.h (__wcsnlen): Add attribute_hidden.
1810 (__wcscat): Likewise.
1811 (__btowc): Likewise.
1812 (__wcrtomb): Likewise.
1813 (__mbsrtowcs): Likewise.
1814 (__wcsrtombs): Likewise.
1815 (__mbsnrtowcs): Likewise.
1816 (__wcsnrtombs): Likewise.
1817 (__wcsncpy): Likewise.
1818 (__wcpncpy): Likewise.
1819 (__wmemcpy): Likewise.
1820 (__wmempcpy): Likewise.
1821 (__wmemmove): Likewise.
1822 (__wcschrnul): Likewise.
1823 (__vfwscanf): Likewise.
1824 (__vswprintf): Likewise.
1825 (__fwprintf): Likewise.
1826 (__vfwprintf): Likewise.
1828 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1831 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
1832 (__getgrgid_r): Likewise.
1833 (__getgrnam_r): Likewise.
1834 * include/pwd.h (__getpwuid_r): Likewise.
1835 (__getpwnam_r): Likewise.
1836 (__fgetpwent_r): Likewise.
1837 * include/shadow.h (__getspnam_r): Likewise.
1838 (__sgetspent_r): Likewise.
1839 (__fgetspent_r): Likewise.
1841 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1844 * include/unistd.h (__access): Add attribute_hidden.
1845 (__lseek64): Likewise.
1846 (__libc_pread64): Likewise.
1847 (__pipe2): Likewise.
1848 (__sleep): Likewise.
1849 (__chdir): Likewise.
1850 (__fchdir): Likewise.
1851 (__getcwd): Likewise.
1852 (__rmdir): Likewise.
1853 (__execvpe): Likewise.
1854 (__execve): Likewise.
1855 (__setsid): Likewise.
1856 (__getuid): Likewise.
1857 (__geteuid): Likewise.
1858 (__getgid): Likewise.
1859 (__getegid): Likewise.
1860 (__getgroups): Likewise.
1861 (__group_member): Likewise.
1862 (__ttyname_r): Likewise.
1863 (__isatty): Likewise.
1864 (__readlink): Likewise.
1865 (__unlink): Likewise.
1866 (__gethostname): Likewise.
1867 (__profil): Likewise.
1868 (__getdtablesize): Likewise.
1870 (__ftruncate): Likewise.
1871 (__ftruncate64): Likewise.
1873 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1876 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
1877 * argp/argp-fs-xinl.c: Likewise.
1878 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
1879 * argp/argp-parse.c: Include <argp.h>.
1880 * argp/argp-xinl.c: Likewise.
1881 * include/argp-fmtstream.h: New file.
1882 * include/argp.h (__argp_error): Add attribute_hidden.
1883 (__argp_failure): Likewise.
1884 (__argp_input): Likewise.
1885 (__argp_state_help): Likewise.
1887 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1890 * include/wchar.h (____wcstof_l_internal): New prototype.
1891 (____wcstod_l_internal): Likewise.
1892 (____wcstold_l_internal): Likewise.
1893 (____wcstol_l_internal): Likewise.
1894 (____wcstoul_l_internal): Likewise.
1895 (____wcstoll_l_internal): Likewise.
1896 (____wcstoull_l_internal): Likewise.
1897 (____wcstof128_l_internal): Likewise.
1898 * sysdeps/ieee754/float128/wcstof128.c
1899 (____wcstof128_l_internal): Removed.
1900 * sysdeps/ieee754/float128/wcstof128_l.c
1901 (____wcstof128_l_internal): Likewise.
1902 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
1903 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
1904 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
1905 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
1906 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
1907 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
1908 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
1909 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
1910 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
1911 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
1913 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1916 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
1917 instead of <sys/statvfs.h>.
1918 (__internal_statvfs): Removed.
1919 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
1920 instead of <sys/statvfs.h>.
1921 (__internal_statvfs64): Removed.
1922 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
1923 "internal_statvfs.h" instead of <sys/statvfs.h>.
1924 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
1925 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
1926 instead of <sys/statvfs.h>.
1927 (__internal_statvfs): Removed.
1928 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
1929 instead of <sys/statvfs.h>.
1930 (__internal_statvfs64): Removed.
1932 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1935 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
1936 (__gconv_close): Likewise.
1937 (__gconv): Likewise.
1938 (__gconv_find_transform): Likewise.
1939 (__gconv_lookup_cache): Likewise.
1940 (__gconv_compare_alias_cache): Likewise.
1941 (__gconv_load_cache): Likewise.
1942 (__gconv_get_path): Likewise.
1943 (__gconv_close_transform): Likewise.
1944 (__gconv_release_cache): Likewise.
1945 (__gconv_find_shlib): Likewise.
1946 (__gconv_release_shlib): Likewise.
1947 (__gconv_get_builtin_trans): Likewise.
1948 (__gconv_compare_alias): Likewise.
1949 * include/dlfcn.h (_dlerror_run): Likewise.
1950 * include/stdio.h (__fortify_fail_abort): Likewise.
1951 * include/time.h (__tz_compute): Likewise.
1952 (__strptime_internal): Likewise.
1953 * intl/gettextP.h (_nl_find_domain): Likewise.
1954 (_nl_load_domain): Likewise.
1955 (_nl_find_msg): Likewise.
1956 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
1957 (EXTRACT_PLURAL_EXPRESSION): Likewise.
1958 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
1959 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
1960 (__gai_find_request): Likewise.
1961 (__gai_remove_request): Likewise.
1962 (__gai_notify): Likewise.
1963 (__gai_notify_only): Likewise.
1964 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
1965 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
1966 (_dl_non_dynamic_init): Likewise.
1967 (_dl_aux_init): Likewise.
1968 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
1969 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
1971 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
1972 (__wcsmbs_clone_conv): Likewise.
1973 (__wcsmbs_named_conv): Likewise.
1975 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1978 * include/stdlib.h (__random): Add attribute_hidden.
1979 (__random_r): Likewise.
1980 (__srandom_r): Likewise.
1981 (__initstate_r): Likewise.
1982 (__setstate_r): Likewise.
1983 (__erand48_r): Likewise.
1984 (__nrand48_r): Likewise.
1985 (__jrand48_r): Likewise.
1986 (__srand48_r): Likewise.
1987 (__seed48_r): Likewise.
1988 (__lcong48_r): Likewise.
1989 (__drand48_iterate): Likewise.
1990 (__setenv): Likewise.
1991 (__unsetenv): Likewise.
1992 (__clearenv): Likewise.
1993 (__ptsname_r): Likewise.
1994 (__posix_openpt): Likewise.
1995 (__add_to_environ): Likewise.
1996 (__realpath): Add libc_hidden_proto.
1997 (__ecvt_r): Likewise.
1998 (__fcvt_r): Likewise.
1999 (__qecvt_r): Likewise.
2000 (__qfcvt_r): Likewise.
2001 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
2002 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
2004 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2007 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
2008 * include/time.h (__mktime_internal): Likewise.
2009 * libio/iolibio.h (__fopen_internal): Likewise.
2011 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
2013 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
2015 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
2016 Correct offset used to restore PIC register.
2018 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
2021 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
2022 code to load address of __getcontext_ret when generating PIC code.
2024 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
2026 * elf/Makefile (tests-static-internal): Add
2027 tst-tls1-static-non-pie.
2028 (LDFLAGS-tst-tls1-static-non-pie): New.
2029 * elf/tst-tls1-static-non-pie.c: New file.
2031 2017-09-29 Joseph Myers <joseph@codesourcery.com>
2033 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
2034 (asinh): Define using libm_alias_double.
2035 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
2036 (cbrt): Define using libm_alias_double.
2037 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
2038 <libm-alias-double.h>.
2039 (copysign): Define using libm_alias_double.
2040 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
2041 (erf): Define using libm_alias_double.
2043 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
2044 (expm1): Define using libm_alias_double.
2045 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
2046 (fabs): Define using libm_alias_double.
2047 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
2049 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
2050 <libm-alias-double.h>.
2051 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
2053 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
2054 <libm-alias-double.h>.
2055 (getpayload): Define using libm_alias_double.
2056 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
2057 <libm-alias-double.h>.
2058 (llrint): Define using libm_alias_double.
2059 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
2060 (lrint): Define using libm_alias_double.
2061 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
2062 <libm-alias-double.h>.
2063 (nextup): Define using libm_alias_double.
2064 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
2065 <libm-alias-double.h>.
2066 (roundeven): Define using libm_alias_double.
2067 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
2069 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
2070 <libm-alias-double.h>.
2071 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
2072 using libm_alias_double.
2073 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
2074 (cos): Define using libm_alias_double.
2076 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
2077 <libm-alias-double.h>.
2078 (sincos): Define using libm_alias_double.
2079 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
2080 (tanh): Define using libm_alias_double.
2081 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
2082 <libm-alias-double.h>.
2083 (totalorder): Define using libm_alias_double.
2084 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
2085 <libm-alias-double.h>.
2086 (totalordermag): Define using libm_alias_double.
2087 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
2089 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
2091 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
2092 <libm-alias-double.h>.
2093 (getpayload): Define using libm_alias_double.
2094 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
2095 <libm-alias-double.h>.
2096 (roundeven): Define using libm_alias_double.
2097 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
2098 <libm-alias-double.h>.
2099 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
2100 <libm-alias-double.h>.
2101 (totalorder): Define using libm_alias_double.
2102 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
2103 <libm-alias-double.h>.
2104 (totalordermag): Define using libm_alias_double.
2105 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
2106 libc compat symbol here.
2107 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
2108 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
2109 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
2110 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
2111 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
2112 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
2113 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
2114 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
2115 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
2116 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
2118 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2120 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
2121 _dl_relocate_static_pie instead of _dl_start to compute load
2122 address in static PIE. Return 0 if _DYNAMIC is undefined for
2125 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2127 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
2128 _DYNAMIC is undefined for static executable.
2130 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2132 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
2134 2017-09-29 Joseph Myers <joseph@codesourcery.com>
2136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2138 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
2140 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2141 (__ieee754_lgamma_r): Use fabs rather than __fabs.
2142 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
2143 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2144 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2145 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
2146 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
2147 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
2148 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
2149 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
2150 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
2151 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2152 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
2153 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
2154 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2155 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2156 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
2158 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
2160 * math/bits/cmathcalls.h (cimag): Remove inline.
2161 (creal): Remove inline.
2162 (conj): Remove inline.
2164 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2166 * math/Makefile (type-float-routines): Add e_powf_log2_data.
2167 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
2168 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
2169 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
2170 (issignalingf_inline): Likewise.
2171 (POWF_LOG2_TABLE_BITS): Likewise.
2172 (POWF_LOG2_POLY_ORDER): Likewise.
2173 (POWF_SCALE_BITS): Likewise.
2174 (POWF_SCALE): Likewise.
2175 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
2176 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
2177 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
2179 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2181 * math/Makefile (type-float-routines): Add e_log2f_data.
2182 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
2183 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
2184 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
2185 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
2186 * sysdeps/i386/fpu/e_log2f_data.c: New file.
2187 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
2188 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
2190 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2192 * math/Makefile (type-float-routines): Add e_logf_data.
2193 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
2194 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
2195 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
2196 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
2197 * sysdeps/i386/fpu/e_logf_data.c: New file.
2198 * sysdeps/ia64/fpu/e_logf_data.c: New file.
2199 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
2201 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
2203 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
2204 undefined _DYNAMIC in PIE libc.a.
2205 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
2208 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
2210 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
2211 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
2212 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
2213 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
2214 (__signbit): Remove.
2215 (__signbitl): Remove.
2216 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
2217 (__signbit): Remove.
2218 (__signbitl): Remove.
2219 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
2220 (__signbit): Remove.
2221 (__signbitl): Remove.
2222 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
2223 (__signbit): Remove.
2224 (__signbitl): Remove.
2225 * sysdeps/tile/bits/mathinline.h: Delete file.
2226 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
2227 (__signbit): Remove.
2228 (__signbitl): Remove.
2230 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
2232 * math/math.h: Improve handling of C99 isgreater macros.
2233 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
2234 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
2235 * sysdeps/powerpc/bits/mathinline.h: Likewise.
2236 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2237 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
2239 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
2241 * sysdeps/aarch64/libm-test-ulps: Update.
2243 2017-09-28 Joseph Myers <joseph@codesourcery.com>
2246 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2247 math_opt_barrier on argument when doing arithmetic on it.
2248 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2249 Likewise. Use math_force_eval not math_opt_barrier after
2251 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
2252 math_opt_barrier on argument when doing arithmetic on it.
2253 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2256 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
2258 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
2260 (__freeifaddrs): Likewise.
2262 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2264 * include/dirent.h (__dirfd): New declaration.
2265 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
2267 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
2268 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
2269 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
2270 * include/unistd.h (__revoke): New declaration.
2271 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
2273 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
2274 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
2276 * include/dirent.h (__seekdir): New declaration.
2277 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
2278 redefine as weak alias.
2279 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
2281 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
2282 and use libc_hidden_def on them.
2283 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
2285 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
2286 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
2287 instead of getifaddrs and freeifaddrs.
2289 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
2292 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
2293 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
2294 (__dso_handle): Remove declaration.
2295 * dlfcn/tstatexit.c (__dso_handle): Removed.
2296 (main): Don't check __dso_handle.
2297 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
2298 (main): Don't check __dso_handle.
2299 * include/dso_handle.h: New file.
2300 * malloc/mtrace.c: Include <dso_handle.h>.
2301 (mtrace): Pass __dso_handle directly.
2302 * nptl/pthread_atfork.c: Include <dso_handle.h>.
2303 (__dso_handle): Remove declaration.
2304 (__pthread_atfork): Pass __dso_handle directly.
2305 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
2306 (__dso_handle): Removed.
2307 * posix/wordexp-test.c: Include <dso_handle.h>.
2308 (__dso_handle): Remove declaration.
2309 (__app_register_atfork): Pass __dso_handle directly.
2310 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
2311 (__dso_handle): Remove declaration.
2312 (at_quick_exit): Pass __dso_handle directly.
2313 * stdlib/atexit.c: Include <dso_handle.h>.
2314 (__dso_handle): Remove declaration.
2315 (atexit): Pass __dso_handle directly.
2316 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
2317 (__dso_handle): Removed.
2319 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2321 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
2324 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
2326 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
2327 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
2328 values to correct default value for given type.
2330 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
2333 * elf/Makefile (tests): Add tst-debug1.
2334 ($(objpfx)tst-debug1): New.
2335 ($(objpfx)tst-debug1.out): Likewise.
2336 ($(objpfx)tst-debug1mod1.so): Likewise.
2337 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
2339 * elf/tst-debug1.c: New file.
2341 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2343 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
2344 Define using __ifunc.
2346 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2348 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
2351 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2354 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
2356 2017-09-26 Florian Weimer <fweimer@redhat.com>
2358 * resolv/Makefile (tests-internal): Fix typo in comment.
2360 2017-09-26 Florian Weimer <fweimer@redhat.com>
2362 * resolv/nss_dns/dns-host.c: Fix typo in comment.
2364 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2366 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
2367 Use an union instead of a max_align_t array for __space,
2368 so that __space is the same size on all platforms.
2369 * malloc/scratch_buffer_grow_preserve.c
2370 (__libc_scratch_buffer_grow_preserve): Likewise.
2373 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
2375 * posix/Makefile (routines): Add glob-lstat-compat and
2376 glob64-lstat-compat.
2377 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
2378 * posix/glob-lstat-compat.c: New file.
2379 * posix/glob64-lstat-compat.c: Likewise.
2380 * posix/tst-glob_lstat_compat.c: Likewise.
2381 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
2382 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
2383 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
2384 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
2386 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
2387 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
2388 * posix/glob.c (glob_lstat): New function.
2389 (glob): Rename to __glob and add versioned symbol to 2.27.
2390 (glob_in_dir): Use glob_lstat.
2391 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
2392 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2393 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
2395 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
2396 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
2397 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
2398 gl_lstat on glob call.
2399 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
2401 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2402 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2403 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2404 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2405 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2406 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2407 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2408 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2409 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2410 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2411 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2412 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2415 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2417 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2418 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2419 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2420 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2421 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2424 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2425 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2426 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2428 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
2430 * configure.ac (AS): Require binutils 2.25 or later.
2431 * configure: Regenerated.
2433 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
2436 * stdlib/test-atexit-race-common.c (do_test): Minimize required
2439 2017-09-25 DJ Delorie <dj@redhat.com>
2442 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
2445 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2447 * sysdeps/ieee754/dbl-64/sincos32.h
2448 [SINCCOS32_H]: Remove define.
2449 [SINCOS32_H]: Define.
2451 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2453 * math/Versions (expf): New libm symbol at GLIBC_2.27.
2455 * math/w_exp2f.c: New file.
2456 * math/w_expf.c: New file.
2457 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
2458 * math/w_expf_compat.c (__expf_compat): Likewise.
2459 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
2460 * sysdeps/ia64/fpu/e_expf.S: Likewise.
2461 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
2462 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2463 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2464 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2465 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2466 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2467 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2468 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2469 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2470 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2471 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2472 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2481 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2482 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2483 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2484 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2485 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2490 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2491 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2492 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2494 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2496 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
2497 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
2498 (roundtoint, converttoint): Likewise.
2499 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
2500 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
2501 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
2502 * sysdeps/ieee754/flt-32/math_config.h: New file.
2503 * sysdeps/ieee754/flt-32/math_errf.c: New file.
2504 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
2505 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
2506 * sysdeps/i386/fpu/math_errf.c: New file.
2507 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
2508 * sysdeps/ia64/fpu/math_errf.c: New file.
2509 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
2510 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
2512 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2514 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
2515 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
2516 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
2517 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
2518 to make sure that these symbols are defined.
2519 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
2521 (__need_NULL): Do not define.
2522 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
2524 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
2525 CMGROUP_MAX, cmsgcred): Do not define.
2526 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
2528 * bits/socket.h: Likewise.
2529 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
2530 __gettimeofday instead of gettimeofday.
2531 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
2532 instead of settimeofday.
2534 2017-09-22 Joseph Myers <joseph@codesourcery.com>
2536 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
2537 (asinhf): Define using libm_alias_float.
2538 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
2539 (atanf): Define using libm_alias_float.
2540 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
2541 (cbrtf): Define using libm_alias_float.
2542 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
2543 (ceilf): Define using libm_alias_float.
2544 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
2545 <libm-alias-float.h>.
2546 (copysignf): Define using libm_alias_float.
2547 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
2548 (cosf): Define using libm_alias_float.
2549 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
2550 (erff): Define using libm_alias_float.
2552 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
2553 (expm1f): Define using libm_alias_float.
2554 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
2555 (fabsf): Define using libm_alias_float.
2556 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
2557 (floorf): Define using libm_alias_float.
2558 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
2559 (frexpf): Define using libm_alias_float.
2560 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
2562 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
2563 <libm-alias-float.h>.
2564 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
2566 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
2567 <libm-alias-float.h>.
2568 (getpayloadf): Define using libm_alias_float.
2569 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
2570 <libm-alias-float.h>.
2571 (llrintf): Define using libm_alias_float.
2572 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
2573 <libm-alias-float.h>.
2574 (llroundf): Define using libm_alias_float.
2575 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
2576 (logbf): Define using libm_alias_float.
2577 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
2578 (lrintf): Define using libm_alias_float.
2579 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
2580 (lroundf): Define using libm_alias_float.
2581 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
2582 (modff): Define using libm_alias_float.
2583 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
2584 <libm-alias-float.h>.
2585 (nearbyintf): Define using libm_alias_float.
2586 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
2587 <libm-alias-float.h>.
2588 (nextafterf): Define using libm_alias_float.
2589 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
2590 <libm-alias-float.h>.
2591 (nextupf): Define using libm_alias_float.
2592 * sysdeps/ieee754/flt-32/s_remquof.c: Include
2593 <libm-alias-float.h>.
2594 (remquof): Define using libm_alias_float.
2595 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
2596 (rintf): Define using libm_alias_float.
2597 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
2598 <libm-alias-float.h>.
2599 (roundevenf): Define using libm_alias_float.
2600 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
2601 (roundf): Define using libm_alias_float.
2602 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
2603 using libm_alias_float.
2604 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
2605 <libm-alias-float.h>.
2606 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
2607 Define using libm_alias_float.
2608 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
2609 <libm-alias-float.h>.
2610 (sincosf): Define using libm_alias_float.
2611 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
2612 (sinf): Define using libm_alias_float.
2613 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
2614 (tanf): Define using libm_alias_float.
2615 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
2616 (tanhf): Define using libm_alias_float.
2617 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
2618 <libm-alias-float.h>.
2619 (totalorderf): Define using libm_alias_float.
2620 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
2621 <libm-alias-float.h>.
2622 (totalordermagf): Define using libm_alias_float.
2623 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
2624 (truncf): Define using libm_alias_float.
2625 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
2627 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
2630 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2633 math/math.h: Let fpclassify use the builtin in C++ mode, even
2634 when optimazing for size.
2636 2017-09-22 Joseph Myers <joseph@codesourcery.com>
2638 * csu/Makefile (generated): Do not add version-info.h.
2639 (before-compile): Likewise.
2640 (all-Banner-files): Remove variable.
2641 ($(objpfx)version-info.h): Remove rule.
2642 * csu/version.c (banner): Do not include "version-info.h".
2643 * libidn/Banner: Remove.
2644 * manual/contrib.texi (Simon Josefsson): New entry.
2646 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2648 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2649 Remove conditionals on LDBL_MANT_DIG.
2650 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
2651 (__ieee754_lgammal_r): Likewise.
2653 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2655 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
2657 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
2658 _Float128 and L(). Replace _Float128 with long double and L(x)
2659 with xL, throughout the file.
2660 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2661 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2662 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2663 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
2665 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2667 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
2668 sysdeps/ieee754/ldbl-128ibm.
2669 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
2670 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
2671 of including it. Keep _Float128 and L() intact. These will be
2672 reviewed by a separate patch.
2673 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2674 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2675 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2676 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
2678 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
2681 (__finitef128): Define to __redirect___finitef128.
2682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
2683 (__isinff128): Define to __redirect___isinff128.
2684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
2685 (__isnanf128): Define to __redirect___isnanf128.
2687 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2689 * sysdeps/powerpc/powerpc64le/Makefile
2690 (CFLAGS-tst-strtod-nan-locale.c): New variable.
2691 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
2693 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
2694 Carlos O'Donell <carlos@redhat.com>
2697 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
2698 * stdlib/test-dlclose-exit-race.c: New file.
2699 * stdlib/test-dlclose-exit-race-helper.c: New file.
2700 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
2702 2017-09-21 Joseph Myers <joseph@codesourcery.com>
2704 * crypt/Banner: Remove file.
2705 * nptl/Banner: Likewise.
2706 * resolv/Banner: Likewise.
2707 * soft-fp/Banner: Likewise.
2708 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
2709 ($(objpfx)version.d): Remove dependency on banner.h.
2710 ($(objpfx)version.os): Likewise.
2711 * nptl/version.c (banner): Do not include banner.h.
2712 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
2713 Jelinek and BIND code.
2715 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
2716 Carlos O'Donell <carlos@redhat.com>
2718 * support/xdlfcn.h: New file.
2719 * support/xdlfcn.c: New file.
2720 * support/Makefile (libsupport-routines): Add xdlfcn.
2721 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
2723 2017-09-20 Joseph Myers <joseph@codesourcery.com>
2726 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2727 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
2728 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
2729 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
2730 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
2731 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
2732 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
2733 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
2735 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
2736 Ricky Zhou <rickyz@google.com>
2737 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
2740 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
2742 (__new_exitfn): Fail registration when we finished at_exit processing.
2743 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
2744 * stdlib/on_exit.c (__on_exit): Likewise.
2745 * stdlib/exit.c (__exit_funcs_done): New variable.
2746 (__run_exit_handlers): Use __exit_funcs_lock.
2747 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
2749 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
2750 (test-cxa_atexit-race, test-on_exit-race): New tests.
2751 * stdlib/test-atexit-race-common.c: New file.
2752 * stdlib/test-atexit-race.c: New file.
2753 * stdlib/test-at_quick_exit-race.c: New file.
2754 * stdlib/test-cxa_atexit-race.c: New file.
2755 * stdlib/test-on_exit-race.c: New file.
2757 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
2759 * benchtests/Makefile: Add exp2f and log2f benchmarks.
2760 * benchtests/exp2f-inputs: Copy of expf-inputs.
2761 * benchtests/log2f-inputs: Copy of logf-inputs.
2763 2017-09-19 Joseph Myers <joseph@codesourcery.com>
2765 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
2766 Explicitly take address of first element of array arguments in
2767 call to INLINE_SYSCALL.
2769 2017-09-19 Andreas Schwab <schwab@suse.de>
2772 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
2774 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
2776 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
2777 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
2778 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2779 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
2780 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2781 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
2782 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2783 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
2784 * posix/Makefile (tests): Add tst-fexecve.
2785 * posix/tst-fexecve.c: New file.
2787 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
2789 * benchtests/Makefile: Add logf benchmark.
2790 * benchtests/logf-inputs: Add reduced trace from wrf_r.
2792 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
2794 * benchtests/Makefile: Add expf benchmark.
2795 * benchtests/expf-inputs: Add reduced trace from wrf_r.
2797 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
2799 * csu/Makefile: Add -funwind-tables to libc-start.c.
2800 * debug/Makefile: Add -funwind-tables to backtrace.c.
2801 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
2802 * sysdeps/arm/Makefile: Likewise.
2803 * sysdeps/i386/Makefile: Likewise.
2804 * sysdeps/m68k/Makefile: Likewise.
2805 * sysdeps/mips/Makefile: Likewise.
2806 * sysdeps/nios2/Makefile: Likewise.
2807 * sysdeps/sh/Makefile: Likewise.
2808 * sysdeps/sparc/Makefile: Likewise.
2810 2017-09-19 Joseph Myers <joseph@codesourcery.com>
2812 * benchtests/Makefile (bench-math): Add trunc and truncf.
2813 (CFLAGS-bench-trunc.c): New variable.
2814 (CFLAGS-bench-truncf.c): Likewise.
2815 * benchtests/trunc-inputs: New file.
2816 * benchtests/truncf-inputs: Likewise.
2818 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2820 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
2822 2017-09-18 Joseph Myers <joseph@codesourcery.com>
2824 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
2825 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
2827 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
2828 (exp10l): Define as weak alias.
2829 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
2830 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
2832 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
2833 (remainderl): Define as weak alias.
2835 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
2836 (fmal): Define using libm_alias_ldouble.
2837 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
2838 (acoshl): Define using libm_alias_ldouble.
2839 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
2840 (acosl): Define using libm_alias_ldouble.
2841 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
2842 (asinl): Define using libm_alias_ldouble.
2843 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
2844 (atan2l): Define using libm_alias_ldouble.
2845 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
2846 (atanhl): Define using libm_alias_ldouble.
2847 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
2848 (coshl): Define using libm_alias_ldouble.
2849 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
2850 (exp10l): Define using libm_alias_ldouble.
2851 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
2852 (exp2l): Define using libm_alias_ldouble.
2853 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
2854 (expl): Define using libm_alias_ldouble.
2855 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
2856 (fmodl): Define using libm_alias_ldouble.
2857 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
2858 (hypotl): Define using libm_alias_ldouble.
2859 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
2860 (j0l): Define using libm_alias_ldouble.
2862 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
2863 (j1l): Define using libm_alias_ldouble.
2865 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
2866 (jnl): Define using libm_alias_ldouble.
2868 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
2869 (log10l): Define using libm_alias_ldouble.
2870 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
2871 (log2l): Define using libm_alias_ldouble.
2872 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
2873 (logl): Define using libm_alias_ldouble.
2874 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
2875 (powl): Define using libm_alias_ldouble.
2876 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
2877 (remainderl): Define using libm_alias_ldouble.
2878 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
2879 (sinhl): Define using libm_alias_ldouble.
2880 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
2881 (sqrtl): Define using libm_alias_ldouble.
2882 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
2883 (tgammal): Define using libm_alias_ldouble.
2884 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
2885 (exp10l): Do not use long_double_symbol here.
2886 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
2887 [LIBM_SVID_COMPAT] (remainderl): Likewise.
2888 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
2889 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
2890 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
2891 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
2892 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
2893 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
2894 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
2895 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
2896 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
2897 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
2898 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
2899 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
2900 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
2901 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
2902 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
2903 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
2904 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
2905 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
2906 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
2907 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
2909 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
2911 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
2912 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
2914 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
2916 * io/read.c (read): Add libc_hidden_weak.
2917 * sysdeps/mach/hurd/read.c (read): Likewise.
2918 * io/write.c (write): Likewise.
2919 * sysdeps/mach/hurd/write.c (write): Likewise.
2920 * io/pread64.c (__pread64): Likewise.
2921 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
2922 * posix/pread64.c (__pread64): Add libc_hidden_def.
2924 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
2926 * benchtests/scripts/compare_strings.py: New option -g.
2927 (draw_graph): Print a message that a graph is being generated.
2928 (process_results): Generate graph only if -g is passed.
2929 (main): Process option -g.
2931 * benchtests/scripts/compare_strings.py (process_results):
2932 Better spacing for output.
2934 * benchtests/scripts/compare_strings.py: Use argparse.
2935 * benchtests/README: Document existence of compare_strings.py.
2937 2017-09-15 Joseph Myers <joseph@codesourcery.com>
2939 * math/s_fma.c: Include <libm-alias-double.h>.
2940 (fma): Define using libm_alias_double.
2941 * math/s_nextafter.c: Include <libm-alias-double.h>.
2942 (nextafter): Define using libm_alias_double.
2943 * math/w_acos_compat.c: Include <libm-alias-double.h>.
2944 (acos): Define using libm_alias_double.
2945 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
2946 (aocsh): Define using libm_alias_double.
2947 * math/w_asin_compat.c: Include <libm-alias-double.h>.
2948 (asin): Define using libm_alias_double.
2949 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
2950 (atan2): Define using libm_alias_double.
2951 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
2952 (atanh): Define using libm_alias_double.
2953 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
2954 (cosh): Define using libm_alias_double.
2955 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
2956 (exp10): Define using libm_alias_double.
2957 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
2958 (exp2): Define using libm_alias_double.
2959 * math/w_exp_compat.c: Include <libm-alias-double.h>.
2960 (exp): Define using libm_alias_double.
2961 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
2962 (fmod): Define using libm_alias_double.
2963 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
2964 (hypot): Define using libm_alias_double.
2965 * math/w_j0_compat.c: Include <libm-alias-double.h>.
2966 (j0): Define using libm_alias_double.
2968 * math/w_j1_compat.c: Include <libm-alias-double.h>.
2969 (j1): Define using libm_alias_double.
2971 * math/w_jn_compat.c: Include <libm-alias-double.h>.
2972 (jn): Define using libm_alias_double.
2974 * math/w_log10_compat.c: Include <libm-alias-double.h>.
2975 (log10): Define using libm_alias_double.
2976 * math/w_log2_compat.c: Include <libm-alias-double.h>.
2977 (log2): Define using libm_alias_double.
2978 * math/w_log_compat.c: Include <libm-alias-double.h>.
2979 (log): Define using libm_alias_double.
2980 * math/w_pow_compat.c: Include <libm-alias-double.h>.
2981 (pow): Define using libm_alias_double.
2982 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
2983 (remainder): Define using libm_alias_double.
2984 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
2985 (sinh): Define using libm_alias_double.
2986 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
2987 (sqrt): Define using libm_alias_double.
2988 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
2989 (tgamma): Define using libm_alias_double.
2990 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
2991 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
2992 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
2993 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
2994 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
2995 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
2996 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
2997 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
2998 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
2999 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
3000 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
3001 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
3002 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
3003 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
3004 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
3005 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
3006 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
3007 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
3008 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
3009 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
3010 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
3011 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
3012 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
3013 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
3014 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
3016 * math/e_acoshl.c: Remove.
3017 * math/e_acosl.c: Likewise.
3018 * math/e_asinl.c: Likewise.
3019 * math/e_atan2l.c: Likewise.
3020 * math/e_atanhl.c: Likewise.
3021 * math/e_coshl.c: Likewise.
3022 * math/e_expl.c: Likewise.
3023 * math/e_fmodl.c: Likewise.
3024 * math/e_gammal_r.c: Likewise.
3025 * math/e_hypotl.c: Likewise.
3026 * math/e_j0l.c: Likewise.
3027 * math/e_j1l.c: Likewise.
3028 * math/e_jnl.c: Likewise.
3029 * math/e_lgammal_r.c: Likewise.
3030 * math/e_log10l.c: Likewise.
3031 * math/e_log2l.c: Likewise.
3032 * math/e_logl.c: Likewise.
3033 * math/e_powl.c: Likewise.
3034 * math/e_rem_pio2l.c: Likewise.
3035 * math/e_sinhl.c: Likewise.
3036 * math/e_sqrtf128.c: Likewise.
3037 * math/e_sqrtl.c: Likewise.
3038 * math/k_cosl.c: Likewise.
3039 * math/k_sinl.c: Likewise.
3040 * math/k_tanl.c: Likewise.
3041 * math/s_asinhl.c: Likewise.
3042 * math/s_atanl.c: Likewise.
3043 * math/s_cbrtl.c: Likewise.
3044 * math/s_erfl.c: Likewise.
3045 * math/s_expm1l.c: Likewise.
3046 * math/s_log1pl.c: Likewise.
3047 * math/s_tanhl.c: Likewise.
3049 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3052 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
3053 [$(subdir) = math] (sysdep_calls): New variable. Has the
3054 previous contents of sysdep_routines, but re-sorted..
3055 [$(subdir) = math] (sysdep_routines): Re-use the contents from
3057 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
3058 defined in sysdep_calls and replace by the respective m_* names.
3059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
3060 (compat_symbol): Undefine to avoid duplicated compat symbols in
3063 2017-09-15 Joseph Myers <joseph@codesourcery.com>
3065 * math/s_fmaf.c: Include <libm-alias-float.h>.
3066 (fmaf): Define using libm_alias_float.
3067 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
3068 (acosf): Define using libm_alias_float.
3069 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
3070 (acoshf): Define using libm_alias_float.
3071 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
3072 (asinf): Define using libm_alias_float.
3073 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
3074 (atan2f): Define using libm_alias_float.
3075 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
3076 (atanhf): Define using libm_alias_float.
3077 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
3078 (coshf): Define using libm_alias_float.
3079 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
3080 (exp10f): Define using libm_alias_float.
3081 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
3082 (fmodf): Define using libm_alias_float.
3083 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
3084 (hypotf): Define using libm_alias_float.
3085 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
3086 (j0f): Define using libm_alias_float.
3088 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
3089 (j1f): Define using libm_alias_float.
3091 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
3092 (jnf): Define using libm_alias_float.
3094 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
3095 (log10f): Define using libm_alias_float.
3096 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
3097 (log2f): Define using libm_alias_float.
3098 * math/w_logf_compat.c: Include <libm-alias-float.h>.
3099 (logf): Define using libm_alias_float.
3100 * math/w_powf_compat.c: Include <libm-alias-float.h>.
3101 (powf): Define using libm_alias_float.
3102 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
3103 (remainderf): Define using libm_alias_float.
3104 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
3105 (sinhf): Define using libm_alias_float.
3106 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
3107 (sqrtf): Define using libm_alias_float.
3108 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
3109 (tgammaf): Define using libm_alias_float.
3111 2017-09-14 Joseph Myers <joseph@codesourcery.com>
3113 * include/math.h (roundeven): Change hidden_proto call to
3115 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
3117 [NO_LONG_DOUBLE] (__j0l): New strong alias.
3118 (y0): Rename to __y0 and define as weak alias.
3119 [NO_LONG_DOUBLE] (__y0l): New strong alias.
3120 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
3122 (y0f): Rename to __y0f and define as weak alias.
3123 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
3125 [NO_LONG_DOUBLE] (__j1l): New strong alias.
3126 (y1): Rename to __y1 and define as weak alias.
3127 [NO_LONG_DOUBLE] (__y1l): New strong alias.
3128 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
3130 (y1f): Rename to __y1f and define as weak alias.
3131 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
3133 [NO_LONG_DOUBLE] (__jnl): New strong alias.
3134 (yn): Rename to __yn and define as weak alias.
3135 [NO_LONG_DOUBLE] (__ynl): New strong alias.
3136 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
3138 (ynf): Rename to __ynf and define as weak alias.
3139 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
3140 (fromfp): Define as weak alias.
3141 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
3142 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
3143 (fromfpx): Define as weak alias.
3144 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
3145 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
3146 __getpayload and define as weak alias.
3147 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
3148 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
3149 __roundeven and define as weak alias.
3150 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
3151 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
3153 (setpayload): Define as weak alias.
3154 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
3155 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
3157 (setpayloadsig): Define as weak alias.
3158 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
3159 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
3160 __totalorder and define as weak alias.
3161 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
3162 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
3163 to __totalordermag and define as weak alias.
3164 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
3165 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
3166 (ufromfp): Define as weak alias.
3167 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
3168 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
3170 (ufromfpx): Define as weak alias.
3171 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
3172 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
3173 Rename to __getpayload and define as weak alias.
3174 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
3175 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
3176 Rename to __roundeven and define as weak alias.
3177 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
3178 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
3179 Rename to __totalorder and define as weak alias.
3180 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
3181 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
3182 (totalordermag): Rename to __totalordermag and define as weak
3184 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
3185 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
3187 (__roundevenl): Likewise.
3188 (__totalorderl): Likewise.
3189 (__totalordermagl): Likewise
3190 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
3192 (fromfpf128): Define as weak alias.
3193 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
3195 (fromfpxf128): Define as weak alias.
3196 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
3198 (setpayloadf128): Define as weak alias.
3199 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
3200 __setpayloadsigf128.
3201 (setpayloadsigf128): Define as weak alias.
3202 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
3204 (ufromfpf128): Define as weak alias.
3205 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
3207 (ufromfpxf128): Define as weak alias.
3208 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
3209 (fromfpf): Define as weak alias.
3210 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
3212 (fromfpxf): Define as weak alias.
3213 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
3214 __getpayloadf and define as weak alias.
3215 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
3216 __roundevenf and define as weak alias.
3217 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
3219 (setpayloadf): Define as weak alias.
3220 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
3222 (setpayloadsigf): Define as weak alias.
3223 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
3224 __totalorderf and define as weak alias.
3225 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
3226 Rename to __totalordermagf and define as weak alias.
3227 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
3229 (ufromfpf): Define as weak alias.
3230 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
3232 (ufromfpxf): Define as weak alias.
3233 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
3235 (fromfpl): Define as weak alias.
3236 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
3238 (fromfpxl): Define as weak alias.
3239 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
3240 to __getpayloadl and define as weak alias.
3241 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
3242 __roundevenl and define as weak alias.
3243 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
3245 (setpayloadl): Define as weak alias.
3246 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
3248 (setpayloadsigl): Define as weak alias.
3249 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
3250 to __totalorderl and define as weak alias.
3251 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
3252 Rename to __totalordermagl and define as weak alias.
3253 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
3255 (ufromfpl): Define as weak alias.
3256 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
3258 (ufromfpxl): Define as weak alias.
3259 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
3261 (fromfpl): Define as weak alias.
3262 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
3264 (fromfpxl): Define as weak alias.
3265 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
3266 Rename to __getpayloadl and define as weak alias.
3267 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
3268 to __roundevenl and define as weak alias. Call __roundeven
3269 instead of roundeven.
3270 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
3272 (setpayloadl): Define as weak alias.
3273 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
3275 (setpayloadsigl): Define as weak alias.
3276 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
3277 Rename to __totalorderl and define as weak alias.
3278 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
3279 Rename to __totalordermagl and define as weak alias.
3280 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
3282 (ufromfpl): Define as weak alias.
3283 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
3285 (ufromfpxl): Define as weak alias.
3286 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
3288 (fromfpl): Define as weak alias.
3289 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
3291 (fromfpxl): Define as weak alias.
3292 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
3293 __getpayloadl and define as weak alias.
3294 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
3295 __roundevenl and define as weak alias.
3296 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
3298 (setpayloadl): Define as weak alias.
3299 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
3301 (setpayloadsigl): Define as weak alias.
3302 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
3303 __totalorderl and define as weak alias.
3304 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
3305 Rename to __totalordermagl and define as weak alias.
3306 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
3308 (ufromfpl): Define as weak alias.
3309 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
3311 (ufromfpxl): Define as weak alias.
3313 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3315 * benchtests/bench-string.h (realloc_bufs): New function.
3316 (test_init): Call it.
3317 * benchtests/bench-memset-large.c (do_test): Likewise.
3318 * benchtests/bench-memset.c (do_test): Likewise.
3320 * benchtests/bench-memset-large.c: Print output in JSON
3322 * benchtests/bench-memset.c: Likewise.
3324 2017-09-14 Mike FABIAN <mfabian@redhat.com>
3327 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
3328 * iconvdata/Makefile: Add IBM858.
3329 * iconvdata/gconv-modules: Likewise.
3330 * iconvdata/tst-tables.sh: Likewise.
3331 * iconvdata/ibm858.c: New file.
3332 * localedata/charmaps/IBM858: Likewise.
3334 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
3337 * locales/niu_NZ (LC_TIME): copy "niu_NU".
3338 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
3340 2017-09-14 Mike FABIAN <mfabian@redhat.com>
3343 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
3344 and add tel_int_fmt.
3346 2017-09-14 Joseph Myers <joseph@codesourcery.com>
3348 * sysdeps/generic/libm-alias-float128.h: New file.
3349 * sysdeps/generic/math-type-macros-float128.h: Include
3350 <libm-alias-float128.h>.
3351 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
3353 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3355 * sysdeps/generic/libm-alias-ldouble.h: New file.
3356 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
3357 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
3358 * sysdeps/generic/math-type-macros-ldouble.h: Include
3359 <libm-alias-ldouble.h>.
3360 [!declare_mgen_alias] (declare_mgen_alias): Define to use
3363 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3365 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
3366 * math/w_exp_compat.c: ... here.
3367 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
3368 * math/w_expf_compat.c: ... here.
3369 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
3370 * math/w_expl_compat.c: ... here.
3371 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
3372 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
3373 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
3374 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
3376 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3378 * math/w_scalbln_template.c (strong_alias): Do not undefine and
3380 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
3382 (ldexpl): Only define as compat symbol for libc, not libm.
3383 (scalbnl): Define as compat symbol for libc here.
3384 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
3385 define for [IS_IN (libc)].
3386 (__ldexpl_2): Remove alias.
3387 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
3388 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
3389 name in long_double_symbol call.
3390 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
3391 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3392 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3393 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
3394 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
3396 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
3397 Define as compat symbol.
3399 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3401 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
3402 * sysdeps/unix/sysv/linux/alpha/Makefile
3403 [$(subdir) = csu] (sysdep_routines): Remove rule.
3405 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3407 * sysdeps/generic/libm-alias-double.h: New file.
3408 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
3409 * sysdeps/generic/math-type-macros-double.h: Include
3410 <libm-alias-double.h>.
3411 [declare_mgen_alias] (declare_mgen_alias): Define to use
3413 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
3414 (M_LIBM_NEED_COMPAT): Remove macro.
3415 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
3416 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
3417 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
3419 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3420 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3421 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3422 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3423 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3424 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3425 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3426 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3427 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3428 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3429 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3430 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3431 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3432 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3433 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3434 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3435 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3436 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3437 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3438 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3439 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3440 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3441 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3442 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3443 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3444 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3445 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3446 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
3447 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
3449 (declare_mgen_alias): New macro.
3450 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
3451 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
3452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
3453 (M_LIBM_NEED_COMPAT): Remove macro.
3454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
3455 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
3457 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
3458 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
3460 2017-09-12 Joseph Myers <joseph@codesourcery.com>
3462 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
3463 (declare_mgen_alias_2): Remove.
3464 * sysdeps/generic/math-type-macros-double.h
3465 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
3467 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
3469 (ldexp): Define with declare_mgen_alias.
3472 2017-09-12 Steve Ellcey <sellcey@cavium.com>
3474 * grp/initgroups.c: Include config.h.
3475 (DEFAULT_CONFIG): New macro.
3476 (internal_getgrouplist): Use DEFAULT_CONFIG.
3477 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3478 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
3479 (DEFAULT_DEFCONFIG): New macro.
3480 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
3481 * nss/grp-lookup.c: Include config.h
3482 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
3483 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
3484 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
3485 * manual/nss.texi: Update default values section.
3487 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
3490 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
3492 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
3493 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
3494 Handle MathVec_Prefer_No_AVX512.
3495 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
3496 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
3499 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
3501 * posix/sched_primax.c (__sched_get_priority_max): Add
3503 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
3504 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3505 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
3506 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
3507 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
3508 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
3509 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
3510 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
3513 2017-09-11 Joseph Myers <joseph@codesourcery.com>
3515 * sysdeps/generic/libm-alias-float.h: New file.
3516 * sysdeps/generic/math-type-macros-float.h: Include
3517 <libm-alias-float.h>.
3518 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
3520 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
3523 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
3524 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
3525 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
3526 (HWCAP_IMPORTANT): Likewise.
3527 (HWCAP_X86_64): New enum.
3528 (HWCAP_X86_AVX512_1): Updated.
3529 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
3530 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
3531 (modules-names): Add x86_64/tst-x86_64mod-1.
3532 (LDFLAGS-tst-x86_64mod-1.so): New.
3533 ($(objpfx)tst-x86_64-1): Likewise.
3534 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
3535 (tst-x86_64-1-clean): Likewise.
3536 * sysdeps/x86_64/tst-x86_64-1.c: New file.
3537 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
3539 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
3541 * po/sv.po: Update translations.
3542 * po/fr.po: Likewise.
3544 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3546 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
3548 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
3550 * elf/rtld-Rules: Fix $(error) use.
3552 2017-09-09 Mike FABIAN <mfabian@redhat.com>
3555 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
3556 * locale/iso-639.def: Change “Bengali” to “Bangla”.
3557 * localedata/locales/bn_BD: “Bengali” was still used in some
3558 comments. Change it to “Bangla”.
3560 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
3562 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
3564 2017-09-08 Steve Ellcey <sellcey@cavium.com>
3566 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
3567 thunderx2t99p1 to list of cpu names.
3568 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3569 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
3571 2017-09-08 Steve Ellcey <sellcey@cavium.com>
3573 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
3574 Use strcmp instead of tunable_is_name.
3576 2017-09-08 Joseph Myers <joseph@codesourcery.com>
3578 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3579 (F_GET_RW_HINT): New macro.
3580 [__USE_GNU] (F_SET_RW_HINT): Likewise.
3581 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
3582 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
3583 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
3584 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
3585 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
3586 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
3587 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
3588 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
3590 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3591 (F_ADD_SEALS): New macro.
3592 [__USE_GNU] (F_GET_SEALS): Likewise.
3593 [__USE_GNU] (F_SEAL_SEAL): Likewise.
3594 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
3595 [__USE_GNU] (F_SEAL_GROW): Likewise.
3596 [__USE_GNU] (F_SEAL_WRITE): Likewise.
3598 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3600 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
3601 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
3602 * posix/glob_internal.h (__glob_pattern_type):
3603 * posix/glob.c (glob):
3604 * posix/glob_pattern_p.c (__glob_pattern_p):
3607 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
3608 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3609 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
3610 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
3611 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
3612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
3613 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
3614 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
3615 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
3616 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3617 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
3618 * sysdeps/wordsize-64/glob.c: Likewise.
3619 * sysdeps/wordsize-64/glob64.c: Likewise.
3620 * sysdeps/wordsize-64/globfree.c: Likewise.
3621 * sysdeps/wordsize-64/globfree64.c: Likewise.
3622 * sysdeps/unix/sysv/linux/glob.c: New file.
3623 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
3624 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
3625 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
3626 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
3627 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
3628 adds !GLOB_NO_OLD_VERSION as an extra condition.
3629 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
3630 using relative path instead of absolute one.
3631 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
3632 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
3633 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3634 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
3635 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
3636 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
3639 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
3640 (glob): Use the same scratch buffer for both getlogin_r and
3641 getpwnam_r. Don’t require preallocation of the login name. This
3642 simplifies storage allocation, and corrects the handling of
3646 * posix/glob.c (glob): Port recent patches to platforms
3648 (glob): Fix longstanding misuse of errno after getpwnam_r, which
3649 returns an error number rather than setting errno.
3651 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
3652 instead of GCC extension.
3653 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
3654 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
3655 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
3659 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
3660 * posix/bug-glob1.c: Remove file.
3661 * posix/tst-glob_symlinks.c: New file.
3662 * posix/glob.c (__lstat64): New macro.
3663 (is_dir): New function.
3664 (glob, glob_in_dir): Match symlinks even if they are dangling.
3665 (link_stat, link_exists_p): Remove. All uses removed.
3669 * posix/glob.c (struct readdir_result): Remove skip_entry member.
3670 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
3674 * posix/Makefile (routines): Add globfree, globfree64, and
3676 * posix/flexmember.h: New file.
3677 * posix/glob_internal.h: Likewise.
3678 * posix/glob_pattern_p.c: Likewise.
3679 * posix/globfree.c: Likewise.
3680 * posix/globfree64.c: Likewise.
3681 * sysdeps/gnu/globfree64.c: Likewise.
3682 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
3683 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
3684 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
3685 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
3686 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
3687 * sysdeps/wordsize-64/globfree.c: Likewise.
3688 * sysdeps/wordsize-64/globfree64.c: Likewise.
3689 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
3690 [NDEBUG): Remove comments.
3691 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
3692 (dirent_type): New type. Use uint_fast8_t not
3693 uint8_t, as C99 does not require uint8_t.
3694 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
3695 (struct readdir_result): Use dirent_type. Do not define skip_entry
3696 unless it is needed; this saves a byte on platforms lacking d_ino.
3697 (readdir_result_type, readdir_result_skip_entry):
3698 New functions, replacing ...
3699 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
3700 these functions, which were removed. This makes the callers
3701 easier to read. All callers changed.
3702 (D_INO_TO_RESULT): Now empty if there is no d_ino.
3703 (size_add_wrapv, glob_use_alloca): New static functions.
3704 (glob, glob_in_dir): Check for size_t overflow in several places,
3705 and fix some size_t checks that were not quite right.
3706 Remove old code using SHELL since Bash no longer
3708 (glob, prefix_array): Separate MS code better.
3709 (glob_in_dir): Remove old Amiga and VMS code.
3710 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
3712 (glob_in_dir): Do not rely on undefined behavior in accessing
3713 struct members beyond their bounds. Use a flexible array member
3715 (link_stat): Rename from link_exists2_p and return -1/0 instead of
3716 0/1. Caller changed.
3717 (glob): Fix memory leaks.
3718 * posix/glob64 (globfree64): Move to separate file.
3719 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
3720 (globfree64): Remove hidden alias.
3721 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
3723 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
3725 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
3727 Move compat code to separate file.
3728 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
3731 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
3733 * resolv/tst-resolv-qtypes.c (domain): Changed to
3734 "const char domain[] =".
3736 2017-09-07 Joseph Myers <joseph@codesourcery.com>
3738 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3741 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
3742 (TCP_MD5SIG_EXT): Likewise.
3743 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
3744 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
3745 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
3747 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
3749 2017-09-07 Mike FABIAN <mfabian@redhat.com>
3751 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
3753 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
3756 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
3758 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3760 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
3761 before assuming that the file is empty. Avoid testing buffer content
3764 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3767 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
3769 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
3771 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
3773 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
3775 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
3777 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
3779 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
3782 2017-09-06 Florian Weimer <fweimer@redhat.com>
3784 * malloc/dynarray_emplace_enlarge.c
3785 (__libc_dynarray_emplace_enlarge): Add missing else.
3787 2017-09-06 Florian Weimer <fweimer@redhat.com>
3790 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
3791 case of failure to obtain the global conf object.
3793 2017-09-06 Florian Weimer <fweimer@redhat.com>
3796 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
3797 dynarray allocation failure.
3799 2017-09-06 Florian Weimer <fweimer@redhat.com>
3801 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
3802 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
3803 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
3805 (response): Call them. Add 'p', '6' flag processing.
3806 (test_reverse): New function.
3807 (test_get2_any): Call it.
3808 (test_no_inet6): Add 'p' test.
3809 (test_inet6): Likewise.
3811 2017-09-06 Florian Weimer <fweimer@redhat.com>
3813 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
3814 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
3816 (test_gai): Adjust query names. Add additional tests.
3817 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
3818 test_get2. Adjust query names. Add additional tests.
3819 (test_no_inet6): New function, extracted from threadfunc.
3820 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
3821 Add additional tests.
3823 2017-09-06 Mike FABIAN <mfabian@redhat.com>
3826 * localedata/unicode-gen/utf8_gen.py: Set the width for
3827 characters with Prepended_Concatenation_Mark property to 1
3828 * localedata/charmaps/UTF-8: Updated using the improved script.
3830 2017-09-06 Mike FABIAN <mfabian@redhat.com>
3833 * localedata/unicode-gen/utf8_gen.py: Improve the script to
3834 use the range notation for all ranges of neighbouring characters
3835 with the same width.
3837 2017-09-05 Joseph Myers <joseph@codesourcery.com>
3839 * sysdeps/generic/math-type-macros-double.h: Include
3840 <math-svid-compat.h>.
3841 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
3842 * sysdeps/generic/math-type-macros-float.h: Include
3843 <math-svid-compat.h>.
3844 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
3845 * sysdeps/generic/math-type-macros-ldouble.h: Include
3846 <math-svid-compat.h>.
3847 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
3848 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
3850 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
3851 * math/w_acosf_compat.c: Likewise.
3852 * math/w_acosh_compat.c: Likewise.
3853 * math/w_acoshf_compat.c: Likewise.
3854 * math/w_acoshl_compat.c: Likewise.
3855 * math/w_acosl_compat.c: Likewise.
3856 * math/w_asin_compat.c: Likewise.
3857 * math/w_asinf_compat.c: Likewise.
3858 * math/w_asinl_compat.c: Likewise.
3859 * math/w_atan2_compat.c: Likewise.
3860 * math/w_atan2f_compat.c: Likewise.
3861 * math/w_atan2l_compat.c: Likewise.
3862 * math/w_atanh_compat.c: Likewise.
3863 * math/w_atanhf_compat.c: Likewise.
3864 * math/w_atanhl_compat.c: Likewise.
3865 * math/w_cosh_compat.c: Likewise.
3866 * math/w_coshf_compat.c: Likewise.
3867 * math/w_coshl_compat.c: Likewise.
3868 * math/w_exp10_compat.c: Likewise.
3869 * math/w_exp10f_compat.c: Likewise.
3870 * math/w_exp10l_compat.c: Likewise.
3871 * math/w_exp2_compat.c: Likewise.
3872 * math/w_exp2f_compat.c: Likewise.
3873 * math/w_exp2l_compat.c: Likewise.
3874 * math/w_fmod_compat.c: Likewise.
3875 * math/w_fmodf_compat.c: Likewise.
3876 * math/w_fmodl_compat.c: Likewise.
3877 * math/w_hypot_compat.c: Likewise.
3878 * math/w_hypotf_compat.c: Likewise.
3879 * math/w_hypotl_compat.c: Likewise.
3880 * math/w_j0_compat.c: Likewise.
3881 * math/w_j0f_compat.c: Likewise.
3882 * math/w_j0l_compat.c: Likewise.
3883 * math/w_j1_compat.c: Likewise.
3884 * math/w_j1f_compat.c: Likewise.
3885 * math/w_j1l_compat.c: Likewise.
3886 * math/w_jn_compat.c: Likewise.
3887 * math/w_jnf_compat.c: Likewise.
3888 * math/w_jnl_compat.c: Likewise.
3889 * math/w_lgamma_r_compat.c: Likewise.
3890 * math/w_lgammaf_r_compat.c: Likewise.
3891 * math/w_lgammal_r_compat.c: Likewise.
3892 * math/w_log10_compat.c: Likewise.
3893 * math/w_log10f_compat.c: Likewise.
3894 * math/w_log10l_compat.c: Likewise.
3895 * math/w_log2_compat.c: Likewise.
3896 * math/w_log2f_compat.c: Likewise.
3897 * math/w_log2l_compat.c: Likewise.
3898 * math/w_log_compat.c: Likewise.
3899 * math/w_logf_compat.c: Likewise.
3900 * math/w_logl_compat.c: Likewise.
3901 * math/w_pow_compat.c: Likewise.
3902 * math/w_powf_compat.c: Likewise.
3903 * math/w_powl_compat.c: Likewise.
3904 * math/w_remainder_compat.c: Likewise.
3905 * math/w_remainderf_compat.c: Likewise.
3906 * math/w_remainderl_compat.c: Likewise.
3907 * math/w_sinh_compat.c: Likewise.
3908 * math/w_sinhf_compat.c: Likewise.
3909 * math/w_sinhl_compat.c: Likewise.
3910 * math/w_sqrt_compat.c: Likewise.
3911 * math/w_sqrtf_compat.c: Likewise.
3912 * math/w_sqrtl_compat.c: Likewise.
3913 * math/w_tgamma_compat.c: Likewise.
3914 * math/w_tgammaf_compat.c: Likewise.
3915 * math/w_tgammal_compat.c: Likewise.
3916 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
3918 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
3919 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
3921 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
3922 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
3924 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
3925 * sysdeps/i386/fpu/w_sqrt.c: New file.
3926 * sysdeps/ia64/fpu/w_acos.c: Likewise.
3927 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
3928 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
3929 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
3930 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
3931 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
3932 * sysdeps/ia64/fpu/w_asin.c: Likewise.
3933 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
3934 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
3935 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
3936 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
3937 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
3938 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
3939 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
3940 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
3941 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
3942 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
3943 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
3944 * sysdeps/ia64/fpu/w_exp.c: Likewise.
3945 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
3946 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
3947 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
3948 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
3949 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
3950 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
3951 * sysdeps/ia64/fpu/w_expf.c: Likewise.
3952 * sysdeps/ia64/fpu/w_expl.c: Likewise.
3953 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
3954 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
3955 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
3956 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
3957 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
3958 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
3959 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
3960 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
3961 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
3962 * sysdeps/ia64/fpu/w_log.c: Likewise.
3963 * sysdeps/ia64/fpu/w_log10.c: Likewise.
3964 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
3965 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
3966 * sysdeps/ia64/fpu/w_log2.c: Likewise.
3967 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
3968 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
3969 * sysdeps/ia64/fpu/w_logf.c: Likewise.
3970 * sysdeps/ia64/fpu/w_logl.c: Likewise.
3971 * sysdeps/ia64/fpu/w_pow.c: Likewise.
3972 * sysdeps/ia64/fpu/w_powf.c: Likewise.
3973 * sysdeps/ia64/fpu/w_powl.c: Likewise.
3974 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
3975 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
3976 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
3977 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
3978 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
3979 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
3980 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
3981 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
3982 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
3983 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
3984 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
3985 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
3986 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
3988 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
3989 * sysdeps/ieee754/k_standard.c: Likewise.
3990 * sysdeps/ieee754/k_standardf.c: Likewise.
3991 * sysdeps/ieee754/k_standardl.c: Likewise.
3992 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
3993 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
3994 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
3995 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
3996 long_double_symbol call on [LIBM_SVID_COMPAT].
3997 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
3998 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
3999 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
4000 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
4001 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
4002 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
4003 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
4004 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
4005 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
4006 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
4007 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
4008 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
4009 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
4010 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
4011 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
4012 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
4013 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
4014 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
4015 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
4016 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
4017 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
4018 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
4020 2017-09-05 Steve Ellcey <sellcey@cavium.com>
4022 * include/shlib-compat.h (TEST_COMPAT): New Macro.
4023 * malloc/tst-mallocstate.c: Convert from test-skeleton
4024 to test-driver. Ifdef code using TEST_COMPAT macro.
4025 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
4026 * math/test-matherr.c: Likewise.
4028 2017-09-05 Joseph Myers <joseph@codesourcery.com>
4031 * debug/pcprofiledump.c (main): Use byte-swapped mask when
4032 comparing word with byte-swapped constant.
4034 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
4037 * locale/iso-639.def: add Miskito.
4038 * localedata/SUPPORTED: Add miq_NI/UTF-8.
4039 * localedata/locales/miq_NI: New file.
4041 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
4044 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
4045 (__mkdir): Likewise.
4046 * io/chmod.c (__chmod): Add libc_hidden_def.
4047 * io/mkdir.c (__mkdir): Likewise.
4048 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
4049 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
4050 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
4051 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
4053 2017-09-04 Joseph Myers <joseph@codesourcery.com>
4055 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4059 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
4060 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
4062 2017-09-04 Florian Weimer <fweimer@redhat.com>
4064 * math/math.h: Issue warning if log is defined.
4066 2017-09-04 Joseph Myers <joseph@codesourcery.com>
4068 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4069 kernel version to 4.13.
4071 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4073 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
4074 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
4076 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
4077 just <bits/types.h>.
4078 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
4079 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
4080 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
4081 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
4082 * misc/preadv2.c: Include <errno.h>.
4083 * misc/preadv64v2.c: Include <errno.h>.
4084 * misc/pwritev2.c: Include <errno.h>.
4085 * misc/pwritev64v2.c: Include <errno.h>.
4086 * sysdeps/posix/preadv2.c: Include <errno.h>.
4087 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
4088 Fix <unistd.h> inclusion.
4089 * sysdeps/posix/pwritev2.c: Include <errno.h>.
4090 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
4091 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
4092 __strtoul_internal): New functions.
4093 * sysdeps/posix/pause.c: Include <sigsetops.h>.
4094 * sysdeps/posix/system.c: Include <sigsetops.h>.
4095 * sysdeps/mach/hurd/i386/Makefile
4096 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
4097 [$(subdir) = csu] (sysdep-only-routines): Likewise.
4098 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4099 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
4100 __feraiseexcept_renamed to feraiseexcept instead of
4102 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
4103 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
4104 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
4105 RWF_NOWAIT): Define to 0 if undefined already.
4106 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
4108 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
4109 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
4111 2017-09-01 Joseph Myers <joseph@codesourcery.com>
4113 * manual/math.texi (pow10): Do not document.
4116 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
4117 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
4118 * math/libm-test-exp10.inc (pow10_test): Remove.
4119 (do_test): Do not call pow10.
4120 * math/w_exp10_compat.c (pow10): Make into compat symbol.
4121 [NO_LONG_DOUBLE] (pow10l): Likewise.
4122 * math/w_exp10f_compat.c (pow10f): Likewise.
4123 * math/w_exp10l_compat.c (pow10l): Likewise.
4124 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
4125 (pow10): Make into compat symbol.
4126 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
4127 (pow10f): Make into compat symbol.
4128 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
4129 (pow10l): Make into compat symbol.
4130 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
4132 (CFLAGS-nldbl-pow10.c): Remove variable..
4133 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
4134 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
4135 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
4136 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
4137 Undefine and redefine.
4138 (pow10l): Make into compat symbol.
4139 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
4140 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4141 * sysdeps/arm/libm-test-ulps: Likewise.
4142 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
4143 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4144 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4145 * sysdeps/microblaze/libm-test-ulps: Likewise.
4146 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4147 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4148 * sysdeps/nios2/libm-test-ulps: Likewise.
4149 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4150 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4151 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4152 * sysdeps/sh/libm-test-ulps: Likewise.
4153 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4154 * sysdeps/tile/libm-test-ulps: Likewise.
4155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4157 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4159 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
4161 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4163 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
4164 "../ChangeLog.old/ChangeLog.8".
4165 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
4166 "../ChangeLog.old/ChangeLog.14".
4168 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4170 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
4173 2017-09-01 Joseph Myers <joseph@codesourcery.com>
4175 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
4177 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4179 * csu/version.c (banner): Remove "by Roland McGrath et al.".
4180 * nptl/Banner: Remove "by Ulrich Drepper et al.".
4182 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4184 * stdlib/tst-atexit-common.c (do_test): Test support for at least
4187 2017-09-01 Zack Weinberg <zackw@panix.com>
4189 * math/math.h (HUGE_VAL): Improve commentary.
4191 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4192 Andreas Schwab <schwab@suse.de>
4195 * include/stdio.h (__gen_tempfd): New function.
4196 * stdio-common/Makefile (routines): Add gentempfd.
4197 * stdio-common/gentempfd.c: New file.
4198 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
4199 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
4202 2017-09-01 Florian Weimer <fweimer@redhat.com>
4206 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
4207 result to determine success or failure, not the errno value.
4208 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
4209 (tst-nss-files-hosts-erange): Link with -ldl.
4210 * nss/tst-nss-files-hosts-erange.c: New file.
4211 * nss/tst-resolv-basic.c (response): Handle nodata.example.
4212 (do_test): Add NO_DATA tests.
4213 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
4216 2017-09-01 Florian Weimer <fweimer@redhat.com>
4219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
4220 coming from gethostbyname2_r.
4222 2017-09-01 Florian Weimer <fweimer@redhat.com>
4224 * support/namespace.h (struct support_chroot_configuration): Add
4226 (struct support_chroot): Add path_hosts, path_host_conf.
4227 * support/support_chroot.c (write_file): New function.
4228 (support_chroot_create): Call it to process /etc/resolv.conf,
4229 /etc/hosts, /etc/host.conf.
4230 (support_chroot_free): Update.
4232 2017-09-01 Florian Weimer <fweimer@redhat.com>
4234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
4235 status indicates it is set.
4237 2017-09-01 Florian Weimer <fweimer@redhat.com>
4239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
4240 function lookup failures more reliable.
4242 2017-09-01 Florian Weimer <fweimer@redhat.com>
4244 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
4245 (getcanonname): Likewise.
4246 (gaih_inet): Likewise.
4248 2017-09-01 Florian Weimer <fweimer@redhat.com>
4250 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
4251 (getcanonname): Likewise.
4252 (gaih_inet): Likewise.
4254 2017-08-31 Steve Ellcey <sellcey@cavium.com>
4255 Richard Henderson <rth@twiddle.net>
4257 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
4258 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
4259 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
4260 (IREG_SIZE, OREG_SIZE): New macros.
4261 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
4262 (IREG_SIZE, OREG_SIZE): New macros.
4263 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
4264 (IREG_SIZE): New macro.
4265 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
4266 (IREG_SIZE): New macro.
4267 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
4269 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
4270 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
4271 (__CONCATX): Handle exceptions correctly on large values that may
4273 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
4274 Initialize if not already set.
4275 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
4277 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4279 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
4280 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
4282 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
4284 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
4286 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
4288 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
4290 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
4292 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
4294 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
4295 (NO_CANCELLATION): Likewise.
4296 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
4298 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
4300 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
4302 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
4303 (NO_CANCELLATION): Likewise.
4304 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
4305 (NO_CANCELLATION): Likewise.
4306 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
4308 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
4310 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
4312 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
4314 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
4316 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
4317 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
4319 2017-08-31 Steve Ellcey <sellcey@cavium.com>
4321 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
4324 2017-08-31 Florian Weimer <fweimer@redhat.com>
4326 * include/libc-symbols.h (internal_function): Remove.
4328 2017-08-31 Florian Weimer <fweimer@redhat.com>
4330 * stdlib/fmtmsg.c (internal_addseverity): Remove
4333 2017-08-31 Florian Weimer <fweimer@redhat.com>
4335 * stdio-common/printf_fp.c (group_number): Remove
4337 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
4339 2017-08-31 Florian Weimer <fweimer@redhat.com>
4341 * posix/fnmatch.c (internal_function): Remove definition.
4342 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
4343 * posix/regcomp.c (peek_token, init_word_char)
4344 (duplicate_node_closure, fetch_token, peek_token)
4345 (peek_token_bracket, build_range_exp, build_collating_symbol):
4347 * posix/regex_internal.c (re_string_construct_common)
4348 (create_ci_newstate, create_cd_newstate, re_string_allocate)
4349 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
4350 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
4351 (re_string_translate_buffer, re_string_reconstruct)
4352 (re_string_peek_byte_case, re_string_fetch_byte_case)
4353 (re_string_destruct, re_string_context_at, re_node_set_alloc)
4354 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
4355 (re_node_set_add_intersect, re_node_set_init_union)
4356 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
4357 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
4358 (re_dfa_add_node, calc_state_hash, re_acquire_state)
4359 (re_acquire_state_context): Likewise.
4360 * posix/regex_internal.h (internal_function): Remove definition.
4361 (re_string_realloc_buffers, build_wcs_buffer)
4362 (build_wcs_upper_buffer, build_upper_buffer)
4363 (re_string_translate_buffer, re_string_context_at)
4364 (re_string_char_size_at, re_string_wchar_at)
4365 (re_string_elem_size_at): Likewise.
4366 * posix/regexec.c (match_ctx_init, match_ctx_clean)
4367 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
4368 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
4369 (re_search_internal, re_search_2_stub, re_search_stub)
4370 (re_copy_regs, prune_impossible_nodes, check_matching)
4371 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
4372 (free_fail_stack_return, sift_states_iter_mb)
4373 (sift_states_backward, build_sifted_states)
4374 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
4375 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
4376 (check_subexp_limits, sift_states_bkref, merge_state_array)
4377 (find_recover_state, transit_state, merge_state_with_log)
4378 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
4379 (transit_state_mb, transit_state_bkref, get_subexp)
4380 (get_subexp_sub, find_subexp_node, check_arrival)
4381 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
4382 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
4383 (check_node_accept_bytes, find_collation_sequence_value)
4384 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
4385 (acquire_init_state_context, check_halt_node_context)
4386 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
4387 (sub_epsilon_src_nodes): Likewise.
4388 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
4389 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
4390 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
4391 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
4392 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
4393 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
4394 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
4395 * sysdeps/posix/ttyname.c (getttyname): Likewise.
4396 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
4397 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
4399 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
4401 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
4402 (PWRITEV): Likewise.
4403 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
4404 (PWRITEV): Likewise.
4405 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
4406 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
4408 2017-08-31 Florian Weimer <fweimer@redhat.com>
4410 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
4411 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
4412 Remove internal_function.
4413 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
4414 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
4415 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
4416 (__deallocate_stack, __libc_pthread_init)
4417 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
4418 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
4419 (__libc_disable_asynccancel, __librt_disable_asynccancel):
4421 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
4422 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
4423 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
4425 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
4426 (__pthread_mutex_unlock_usercnt): Likewise.
4428 2017-08-31 Florian Weimer <fweimer@redhat.com>
4430 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
4431 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
4432 (fts_safe_changedir): Remove internal_function.
4433 * io/ftw.c (internal_function): Remove definition.
4434 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
4436 2017-08-31 Florian Weimer <fweimer@redhat.com>
4438 * inet/deadline.c (__deadline_current_time)
4439 (__deadline_from_timeval, __deadline_to_ms): Remove
4441 * inet/getnameinfo.c (nrl_domainname): Likewise.
4442 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
4443 * inet/inet6_option.c (add_pad): Likewise.
4444 * inet/net-internal.h (__deadline_current_time)
4445 (__deadline_from_timeval, __deadline_to_ms): Likewise.
4446 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
4447 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
4448 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
4450 2017-08-31 Joseph Myers <joseph@codesourcery.com>
4452 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
4453 include <bits/nan.h>.
4454 * math/Makefile (headers): Remove bits/nan.h.
4455 * bits/nan.h: Remove.
4456 * sysdeps/ieee754/bits/nan.h: Likewise.
4457 * sysdeps/mips/bits/nan.h: Likewise.
4459 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
4460 not include <bits/inf.h>.
4461 * math/Makefile (headers): Remove bits/inf.h.
4462 * bits/inf.h: Remove.
4463 * sysdeps/ieee754/bits/inf.h: Likewise.
4465 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
4466 bits/huge_vall.h or bits/huge_val_flt128.h.
4467 (HUGE_VAL): Define directly here.
4468 [__USE_ISOC99] (HUGE_VALF): Likewise.
4469 [__USE_ISOC99] (HUGE_VALL): Likewise.
4470 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4471 (HUGE_VAL_F128): Likewise.
4472 * math/Makefile (headers): Remove bits/huge_val.h,
4473 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
4474 * bits/huge_val.h: Remove.
4475 * bits/huge_val_flt128.h: Likewise.
4476 * bits/huge_valf.h: Likewise.
4477 * bits/huge_vall.h: Likewise.
4478 * sysdeps/ia64/bits/huge_vall.h: Likewise.
4479 * sysdeps/ieee754/bits/huge_val.h: Likewise.
4480 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
4481 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
4482 * sysdeps/sh/bits/huge_val.h: Likewise.
4483 * sysdeps/sparc/bits/huge_vall.h: Likewise.
4484 * sysdeps/x86/bits/huge_vall.h: Likewise.
4486 2017-08-31 Florian Weimer <fweimer@redhat.com>
4488 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
4490 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
4492 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
4493 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4494 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
4495 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
4496 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4497 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4498 * elf/dl-libc.c (dlerror_run): Likewise.
4499 * elf/dl-load.c (add_name_to_object, decompose_rpath)
4500 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
4501 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
4502 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
4504 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
4505 (_dl_higher_prime_number, _dl_strtoul): Likewise.
4506 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
4507 * elf/dl-profile.c (_dl_start_profile): Likewise.
4508 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
4509 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
4511 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
4512 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
4513 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
4514 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
4515 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
4516 (_dl_allocate_tls_storage): Likewise.
4517 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
4518 (_dl_check_all_versions): Likewise.
4519 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
4520 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
4521 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
4522 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
4523 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
4524 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
4525 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
4526 internal_function from __dl_start.
4527 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
4528 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
4529 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
4530 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
4531 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
4532 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
4533 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
4534 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
4535 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
4536 (_dl_next_ld_env_entry, _dl_important_hwcaps)
4537 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
4538 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
4539 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
4540 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
4541 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
4543 (struct rtld_global_ro): Remove internal_function from the
4544 _dl_lookup_symbol_x member.
4545 (_dl_symbol_value): Remove. No longer defined anywhere.
4546 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
4548 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
4549 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4550 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
4551 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
4552 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
4553 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
4554 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
4555 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
4556 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
4557 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
4558 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
4559 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4561 2017-08-31 Florian Weimer <fweimer@redhat.com>
4563 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
4564 Remove internal_function.
4565 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
4567 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
4570 2017-08-31 Florian Weimer <fweimer@redhat.com>
4572 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
4573 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
4574 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
4576 2017-08-31 Florian Weimer <fweimer@redhat.com>
4578 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
4579 (__gai_enqueue_request): Remove internal_function.
4580 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
4581 (__gai_remove_request, __gai_notify, __gai_notify_only)
4582 (__gai_sigqueue): Likewise.
4583 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
4584 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
4585 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
4586 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4589 2017-08-31 Florian Weimer <fweimer@redhat.com>
4591 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
4592 * include/dirent.h (__opendirat, __getdents, __getdents64)
4593 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
4594 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
4595 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
4596 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
4598 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
4600 2017-08-31 Florian Weimer <fweimer@redhat.com>
4602 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
4604 (GETCWD_RETURN_TYPE): Likewise.
4606 2017-08-31 Florian Weimer <fweimer@redhat.com>
4608 * include/time.h (__tz_compute, __strptime_internal): Remove
4610 * time/strptime_l.c (__strptime_internal): Likewise.
4611 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
4613 2017-08-31 Florian Weimer <fweimer@redhat.com>
4615 * iconv/gconv.c (__gconv): Remove internal_function.
4616 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
4617 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
4618 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
4619 (__gconv_release_cache): Likewise.
4620 * iconv/gconv_close.c (__gconv_close): Likewise.
4621 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
4622 (read_conf_file, __gconv_get_path): Likewise.
4623 * iconv/gconv_db.c (derivation_lookup, add_derivation)
4624 (__gconv_release_step, gen_steps, increment_counter)
4625 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
4626 (__gconv_close_transform, free_modules_db): Likewise.
4627 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
4629 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
4630 (__gconv_find_transform, __gconv_lookup_cache)
4631 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
4632 (__gconv_close_transform, __gconv_release_cache)
4633 (__gconv_loaded_object, __gconv_release_shlib)
4634 (__gconv_compare_alias): Likewise.
4635 * iconv/gconv_open.c (__gconv_open): Likewise.
4636 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
4637 * iconv/iconvconfig.c (add_module): Likewise.
4638 * intl/dcigettext.c (plural_lookup, guess_category_value)
4639 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
4640 * intl/eval-plural.h (plural_eval): Likewise.
4641 * intl/finddomain.c (_nl_find_domain): Likewise.
4642 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
4643 (_nl_load_domain, _nl_find_msg): Likewise.
4644 (internal_function): Remove definition.
4645 * intl/loadinfo.h (internal_function): Likewise.
4646 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
4648 * intl/localealias.c (internal_function): Remove definition.
4649 (read_alias_file): Remove internal_function.
4650 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
4651 * intl/plural-exp.h (internal_function): Remove definition.
4652 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
4654 * intl/plural.c: Regenerate.
4655 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
4656 * locale/coll-lookup.c (__collidx_table_lookup)
4657 (__collseq_table_lookup): Likewise.
4658 * locale/coll-lookup.h (__collidx_table_lookup)
4659 (__collseq_table_lookup): Likewise.
4660 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
4661 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4662 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
4663 (_nl_unload_locale): Likewise.
4664 * locale/localeinfo.h (struct __locale_data): Remove
4665 internal_function from cleanup member.
4666 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
4667 (_nl_remove_locale, _nl_load_locale_from_archive)
4668 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
4669 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
4670 (_nl_cleanup_time): Remove internal_function.
4671 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
4672 (_nl_parse_alt_digit): Likewise.
4673 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
4674 (_nl_select_era_entry): Likewise.
4675 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
4676 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
4677 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
4678 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
4679 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
4681 2017-08-31 Florian Weimer <fweimer@redhat.com>
4683 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
4684 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
4685 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
4686 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
4688 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
4689 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
4690 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
4691 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
4693 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
4695 2017-08-31 Florian Weimer <fweimer@redhat.com>
4697 * misc/getttyent.c (skip, value): Remove internal_function.
4698 * misc/syslog.c (openlog_internal): Likewise.
4699 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
4701 2017-08-31 Florian Weimer <fweimer@redhat.com>
4703 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
4704 (__nss_rewrite_field): Remove internal_function.
4705 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4706 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
4707 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4708 * nss/nsswitch.c (nss_parse_file, nss_getline)
4709 (nss_parse_service_list, nss_new_service): Likewise.
4710 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
4711 * nss/valid_field.c (__nss_valid_field): Likewise.
4712 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
4714 2017-08-31 Florian Weimer <fweimer@redhat.com>
4716 * malloc/arena.c (__malloc_fork_lock_parent)
4717 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
4718 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
4719 internal_function from defintions.
4720 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
4721 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
4722 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
4723 internal_function from declarations.
4724 * malloc/malloc.c (internal_function): Do not define.
4725 (mem2mem_check): Remove internal_function from declaration.
4726 (munmap_chunk, mremap_chunk): Remove internal_function.
4727 * malloc/mtrace.c (tr_where): Likewise.
4729 2017-08-31 Florian Weimer <fweimer@redhat.com>
4731 * include/rpc/pmap_clnt.h (__get_socket): Remove
4733 * sunrpc/auth_des.c (synchronize): Likewise.
4734 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
4735 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
4736 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
4737 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
4738 (key_call): Likewise.
4739 * sunrpc/pm_getport.c (__get_socket): Likewise.
4740 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
4741 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
4742 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
4743 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
4744 (invalidate): Likewise.
4745 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
4746 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
4747 (set_input_fragment, get_input_bytes): Likewise.
4749 2017-08-31 Florian Weimer <fweimer@redhat.com>
4751 * malloc/malloc.c (_int_free): Remove locked variable and related
4754 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
4757 * Makerules (build-module-helper-objlist): Filter out
4758 $(elf-objpfx)sofini.os.
4759 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
4762 2017-08-31 Florian Weimer <fweimer@redhat.com>
4764 * libio/fcloseall.c: Assume weak_alias is defined.
4765 * libio/feof.c: Likewise.
4766 * libio/fileno.c: Likewise.
4767 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
4768 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
4770 (_IO_file_open): Call __open directly.
4771 (_IO_new_file_sync): Assume ESPIPE is defined.
4772 (_IO_file_seekoff_maybe_mmap): Call __read directly.
4773 (_IO_new_file_write): Call __write directly.
4774 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
4775 * libio/ftello64.c (__ftello64): Assume EIO is defined.
4776 * libio/genops.c: Assume _LIBC is defined.
4777 (save_for_backup): Remove internal_function.
4778 * libio/getc.c: Assume weak_alias is defined.
4779 * libio/getwc.c: Likewise.
4780 * libio/iofclose.c: Assume _LIBC is defined.
4781 * libio/iofdopen.c: Likewise.
4782 (_IO_fcntl): Remove macro definition.
4783 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
4784 Call __fcntl directly.
4785 * libio/iofflush.c: Assume weak_alias is defined.
4786 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
4788 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
4789 * libio/iofgets.c: Likewise.
4790 * libio/iofopen.c: Assume _LIBC is defined.
4791 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
4792 * libio/iofputs.c: Assume weak_alias is defined.
4793 * libio/iofread.c: Likewise.
4794 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
4795 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
4796 * libio/ioftell.c: Assume weak_alias is defined.
4797 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
4798 * libio/iofwide.c: Assume _LIBC is defined.
4799 (_IO_fwide): Drop SHARED conditional because it is implied by
4801 * libio/iofwrite.c: Assume weak_alias is defined.
4802 * libio/iogetdelim.c: Likewise.
4803 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
4804 * libio/iogetwline.c (wmemcpy): Remove macro definition.
4805 (_IO_getwline): Call __wmemcpy directly.
4806 * libio/iopopen.c: Assume _LIBC is defined.
4807 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
4808 (_IO_close): Remove macro definitions.
4809 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
4811 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
4813 * libio/ioputs.c: Assume weak_alias is defined.
4814 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
4815 * libio/iosetbuffer.c: Assume weak_alias is defined.
4816 * libio/iosetvbuf.c: Likewise.
4817 * libio/ioungetc.c: Likewise.
4818 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
4819 libc_hidden_def, libc_hidden_weak, NULL are defined.
4820 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
4821 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
4823 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
4825 (_IO_old_file_init_internal): Drop SHARED conditional because it
4826 is implied by SHLIB_COMPAT.
4827 (_IO_old_file_fopen): Call __open directly.
4828 (_IO_old_file_sync): Assume ESPIPE is defined.
4829 (_IO_old_file_write): Call __write directly.
4830 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
4831 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
4832 Call __fcntl directly.
4833 * libio/oldiofgetpos.c: Assume weak_alias is defined.
4834 (_IO_old_fgetpos): Assume EIO is defined.
4835 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
4836 (_IO_old_fgetpos64): Assume EIO is defined.
4837 * libio/oldiofsetpos.c: Assume weak_alias is defined.
4838 (_IO_old_fsetpos): Assume EIO is defined.
4839 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
4840 (_IO_old_fsetpos64): Assume EIO is defined.
4841 * libio/oldiopopen.c: Assume _LIBC is defined.
4842 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
4843 (_IO_close): Remove macro definitions.
4844 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
4846 (_IO_old_proc_close): Call __close, __waitpid directly.
4847 * libio/put.c: Assume weak_alias is defined.
4848 * libio/stdfiles.c: Assume _LIBC is defined.
4849 * libio/stdio.c: Likewise.
4850 * libio/wfileops.c: Likewise.
4851 (_IO_wfile_sync): Assume ESPIPE is defined.
4852 * libio/wgenops.c: Assume _LIBC is defined.
4853 (save_for_wbackup): Remove internal_function.
4855 2017-08-31 Florian Weimer <fweimer@redhat.com>
4857 * malloc/malloc.c (top_check): Change return type to void. Remove
4859 * malloc/hooks.c (top_check): Likewise.
4860 (malloc_check, realloc_check, memalign_check): Adjust.
4862 2017-08-30 Joseph Myers <joseph@codesourcery.com>
4865 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
4866 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
4867 sigcontext and namespace requirements.
4868 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
4869 * sysdeps/m68k/sys/ucontext.h: Likewise.
4870 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
4871 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
4872 <bits/sigcontext.h>.
4873 (__ctx): Define earlier.
4874 (mcontext_t): Define structure contents rather than using struct
4876 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
4877 __glibc_reserved1 instead of __reserved.
4878 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
4879 <bits/sigcontext.h>.
4880 (__ctx): Define earlier.
4881 (mcontext_t): Define structure contents rather than using struct
4883 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
4884 mcontext_t instead of struct sigcontext.
4885 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
4886 <bits/sigcontext.h>.
4887 (__ctx): Define earlier.
4888 (mcontext_t): Define structure contents rather than using struct
4890 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
4891 <bits/sigcontext.h>.
4892 (__ctx): Define earlier.
4893 (mcontext_t): Define structure contents rather than using struct
4895 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
4896 mcontext_t instead of struct sigcontext.
4897 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
4898 mcontext_t instead of struct sigcontext.
4899 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4900 <bits/sigcontext.h>.
4902 (struct __ia64_fpreg_mcontext): New type.
4903 (mcontext_t): Define structure contents rather than using struct
4905 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
4906 (uc_sigmask): Define using __ctx.
4907 (uc_stack): Likewise.
4908 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
4909 <bits/sigcontext.h>.
4910 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
4911 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
4912 <bits/sigcontext.h>.
4913 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
4914 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
4915 <bits/sigcontext.h>.
4916 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
4917 <bits/sigcontext.h>.
4918 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
4919 <bits/sigcontext.h>.
4920 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
4921 <bits/sigcontext.h>.
4922 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
4923 <bits/sigcontext.h>.
4924 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
4925 <bits/sigcontext.h>.
4926 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
4927 <bits/sigcontext.h>.
4928 (__ctx): Define earlier.
4929 (mcontext_t): Define structure contents rather than using struct
4931 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
4932 <bits/sigcontext.h>. Include <bits/types.h>.
4933 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
4934 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
4935 (test-xfail-XPG42/ucontext.h/conform): Likewise.
4936 (test-xfail-UNIX98/signal.h/conform): Likewise.
4937 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4938 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4939 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4940 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4941 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4942 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4943 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4944 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4945 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4947 2017-08-30 Florian Weimer <fweimer@redhat.com>
4949 * malloc/dynarray_emplace_enlarge.c
4950 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
4951 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4952 * malloc/tst-dynarray.c (test_long_overflow): New function.
4955 2017-08-30 Florian Weimer <fweimer@redhat.com>
4957 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
4958 (set_arena_corrupt): Remove definitions.
4959 (mtrim): Do not check for corrupt arena.
4960 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
4963 2017-08-30 Florian Weimer <fweimer@redhat.com>
4966 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
4968 (ptmalloc_init): Do not set or use check_action.
4969 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
4970 call to malloc_printerr. Remove return statement.
4971 (free_check): Likewise. Remove arena unlock.
4972 (top_check): Update comment. Adjust call to malloc_printerr.
4973 Remove heap repair code.
4974 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
4975 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
4976 (sysmalloc): Adjust call to malloc_printerr.
4977 (munmap_chunk, __libc_realloc): Likewise. Remove return
4979 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
4980 Remove errout label and corresponding gotos.
4981 (_int_free): Likewise. Remove arena unlock.
4982 (do_set_mallopt_check): Do not set check_action.
4983 (malloc_printerr): Adjust parameter list. Do not mark arena as
4985 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
4987 * manual/probes.texi (Memory Allocation Probes): Remove
4988 memory_mallopt_check_action.
4990 2017-08-30 Steve Ellcey <sellcey@cavium.com>
4992 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
4993 Use pointer to uint64_t instead of long int for sp.
4995 2017-08-30 Florian Weimer <fweimer@redhat.com>
4998 * malloc/malloc.c (malloc_printerr): Always terminate the process,
4999 without printing a backtrace. Do not leak any information in the
5001 * manual/memory.texi (Heap Consistency Checking): Update.
5002 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
5004 2017-08-30 Florian Weimer <fweimer@redhat.com>
5006 Do not scale NPTL tests with available number of CPUs.
5007 * nptl/tst-cond16.c (count): Set to constant value of 8.
5008 * nptl/tst-cond18.c (count): Likewise.
5010 2017-08-29 Joseph Myers <joseph@codesourcery.com>
5013 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
5014 Define to take a second argument that is a macro that
5015 concatentates a suffix, not the suffix itself.
5016 (__CONCAT_d): New macro.
5017 (__CONCAT_f): Likewise.
5018 (__CONCAT_l): Likewise.
5020 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
5022 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
5025 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5026 Aurelien Jarno <aurelien@aurel32.net>
5027 Maciej W. Rozycki <macro@imgtec.com>
5030 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
5031 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
5032 `mips16-syscall6' and `mips16-syscall7'.
5033 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
5034 (CFLAGS-mips16-syscall7.c): Remove.
5035 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
5036 Remove `__mips16_syscall5', `__mips16_syscall6' and
5037 `__mips16_syscall7'.
5038 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
5039 (__mips16_syscall0): Rename `__mips16_syscall_return' to
5040 `__mips_syscall_return'.
5041 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
5042 (__mips16_syscall1): Likewise.
5043 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
5044 (__mips16_syscall2): Likewise.
5045 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
5046 (__mips16_syscall3): Likewise.
5047 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
5048 (__mips16_syscall4): Likewise.
5049 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
5051 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
5053 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
5055 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
5056 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
5057 `__mips16_syscall5'. Remove prototype.
5058 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
5059 `__mips16_syscall6'. Remove prototype.
5060 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
5061 `__mips16_syscall7'. Remove prototype.
5062 (__nomips16, __mips16_syscall_return): Move to...
5063 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
5064 (__nomips16, __mips_syscall_return): ... here.
5065 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
5066 `__mips16_syscall_return' to `__mips_syscall_return'.
5067 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
5068 `internal_syscall##nr'.
5069 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
5070 `internal_syscall##nr'.
5071 (FORCE_FRAME_POINTER): Remove.
5072 (__mips_syscall5): New prototype.
5073 (internal_syscall5): Rewrite to call `__mips_syscall5'.
5074 (__mips_syscall6): New prototype.
5075 (internal_syscall6): Rewrite to call `__mips_syscall6'.
5076 (__mips_syscall7): New prototype.
5077 (internal_syscall7): Rewrite to call `__mips_syscall7'.
5078 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
5079 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
5080 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
5081 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
5082 (sysdep_routines): Add libc-do-syscall.
5083 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
5084 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
5086 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5089 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
5090 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
5091 (advise_stack_range): New function.
5092 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
5093 stack non required to advise_stack_range at allocatestack.c
5095 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
5097 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
5099 2017-08-29 Florian Weimer <fweimer@redhat.com>
5102 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
5103 __end_fct. Mangle __end_fct after setting it to NULL.
5104 * iconv/Makefile (tests): Add tst-gconv-init-failure.
5105 (modules-names, modules-names-tests): Add
5106 tst-gconv-init-failure-mod.
5107 (gconv-modules): New target.
5108 (tst-gconv-init-failure-mod.so): Link against libsupport.
5109 (tst-gconv-init-failure): Depend on gconv-modules,
5110 tst-gconv-init-failure-mod.so.
5111 * iconv/tst-gconv-init-failure-mod.c: New file.
5112 * iconv/tst-gconv-init-failure.c: Likewise.
5113 * iconv/test-gconv-modules: Likewise.
5115 2017-08-29 Florian Weimer <fweimer@redhat.com>
5118 * iconv/gconv_db.c (free_derivation): Remove redundant
5120 (gen_steps): Unconditionally mangle __btowc_fct after
5122 (increment_counter): Likewise. Do not call init_fct for internal
5125 2017-08-29 Joseph Myers <joseph@codesourcery.com>
5128 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
5129 (_MSUF_): Remove macro.
5130 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
5132 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
5133 (__REDIRFROM_X): New macro.
5134 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
5136 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
5137 (__REDIRTO_X): Likewise.
5138 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
5140 (__MATH_REDIRCALL_2): Likewise.
5141 (__MATH_REDIRCALL_INTERNAL): Likewise.
5142 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
5143 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
5144 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
5145 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
5146 * math/test-finite-macros.c: New file.
5147 * math/Makefile (tests): Add test-finite-macros.
5148 (CFLAGS-test-finite-macros.c): New variable.
5150 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
5151 Jeff Law <law@redhat.com>
5154 Mangle NULL pointers in iconv/gconv.
5155 * iconv/gconv_cache.c (find_module): Demangle init_fct before
5156 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
5157 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
5158 is non-NULL before demangling the end_fct. Check for NULL
5159 end_fct after demangling.
5160 (__gconv_release_step): Demangle the end_fct before checking
5161 it for NULL. Remove assert on __shlibc_handle != NULL.
5162 (gen_steps): Don't check btowc_fct for NULL before mangling.
5163 Demangle init_fct before checking for NULL.
5164 (increment_counter): Likewise.
5165 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
5166 end_fct for NULL before mangling.
5167 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
5170 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
5173 * locale/iso-639.def: add Morisyen.
5175 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5178 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
5179 (iszero): New C++ implementation that does not use
5180 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
5181 signaling nans are enabled, since __builtin_types_compatible_p
5182 is a C-only feature.
5183 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
5184 defined, include ieee754_float128.h for access to the union and
5185 member ieee854_float128.ieee.
5186 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
5187 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
5188 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
5189 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
5190 options of test-math-zero on powerpc64le.
5192 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
5194 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
5195 Change double to float.
5197 2017-08-28 Joseph Myers <joseph@codesourcery.com>
5199 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
5201 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
5202 conditional code; define contents only for [LIBM_SVID_COMPAT].
5204 2017-08-28 Florian Weimer <fweimer@redhat.com>
5206 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
5207 (abi-lp64_be-options): Remove.
5208 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
5209 (abi-hard-options): Likewise.
5210 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
5211 (abi-o32_hard-options, abi-o32_soft_2008-options)
5212 (abi-o32_hard_2008-options, abi-n32_soft-options)
5213 (abi-n32_hard-options, abi-n32_soft_2008-options)
5214 (abi-n32_hard_2008-options, abi-n64_soft-options)
5215 (abi-n64_hard-options, abi-n64_soft_2008-options)
5216 (abi-n64_hard_2008-options): Likewise.
5217 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
5218 (abi-64-v1-options, abi-64-v2-options): Likewise.
5219 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
5220 (abi-64-options): Likewise.
5221 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
5222 (abi-64-options): Likewise.
5223 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
5224 (abi-64-options): Likewise.
5225 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
5226 (abi-64-options, abi-x32-options): Likewise.
5228 2017-08-28 Florian Weimer <fweimer@redhat.com>
5230 Store supported list of SYS_* system calls in the source tree.
5231 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5232 (bits/syscall.h): Generate from list file.
5233 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
5234 [$(subdir) = misc] (tests): Add tst-syscall-list.
5235 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
5236 [$(subdir) = misc] (tst-syscall-list-macros.list)
5237 [$(subdir) = misc] (tst-syscall-list-nr.list)
5238 (tst-syscall-list-sys.list): Helper targets for new
5239 tst-syscall-list test.
5240 [$(subdir) = misc] (tst-syscall-list.out): Run test script
5241 tst-syscall-list.sh.
5242 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
5243 target. Do not include bits/syscall.d.
5244 [$(subdir) = misc] (generated): Do not update.
5245 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
5246 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
5247 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
5248 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
5250 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5252 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
5253 (tst-cxa_atexit, tst-on_exit): Likewise.
5254 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
5255 tst-cxa_atexit, and tst-on_exit.
5256 * stdlib/tst-atexit-common.c: New file.
5257 * stdlib/tst-atexit.c: New file.
5258 * stdlib/tst-at_quick_exit.c: New file.
5259 * stdlib/tst-cxa_atexit.c: New file.
5260 * stdlib/tst-on_exit.c: New file.
5262 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5264 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
5265 * mach/stack_chk_fail_local.c: New file.
5266 * hurd/stack_chk_fail_local.c: New file.
5267 * mach/Machrules ($(interface-library)-routines): Add
5268 stack_chk_fail_local.
5269 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
5270 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
5271 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
5272 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
5273 * hurd/Makefile (CFLAGS-hurdstartup.o,
5274 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
5276 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
5278 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
5279 (index_cpu_*, index_arch_*): Removed.
5281 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5283 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
5284 Use uint64_t instead of unsigned long.
5286 2017-08-25 Joseph Myers <joseph@codesourcery.com>
5288 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
5289 [__HAVE_DISTINCT_FLOAT128].
5291 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
5292 of <bits/math-finite.h>.
5293 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
5294 inclusion of <bits/math-finite.h>.
5295 * math/bits/math-finite.h (__REDIRTO_X): Do not define
5296 conditionally on [__MATH_DECLARING_LDOUBLE && defined
5297 __NO_LONG_DOUBLE_MATH].
5298 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
5299 (__MATH_REDIRCALL_2): Likewise.
5300 (__MATH_REDIRCALL_INTERNAL): Likewise.
5301 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
5302 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
5303 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
5305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
5307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
5309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
5311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
5313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
5315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
5317 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5318 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5319 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5320 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
5322 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
5323 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
5324 w_sqrtf_compat-ppc32.
5326 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5328 * math/math.h [defined __cplusplus] (issignaling): In the long
5329 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
5330 is not defined. Call __issignaling, otherwise.
5332 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5334 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
5335 syscall definitions and replace __builtin_expect with __glibc_likely.
5336 * sysdeps/unix/syscall-template.S: Update comment about cancellable
5338 (SYSCALL_CANCELLABLE): Removedefinition
5339 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
5341 (PSEUDO_END): Likewise.
5342 [IS_IN (libpthread)] (CENABLE): Likewise.
5343 [IS_IN (libpthread)] (CDISABLE): Likewise.
5344 [IS_IN (libc)] (CENABLE): Likewise.
5345 [IS_IN (libc)] (CENABLE): Likewise.
5346 [IS_IN (librt)] (CDISABLE): Likewise.
5347 [IS_IN (librt)] (CDISABLE): Likewise.
5348 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5349 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
5351 (PSEUDO_END): Likewise.
5352 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
5353 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
5354 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
5355 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
5356 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
5357 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
5358 (CENABLE): Likewise.
5359 (CDISABLE): Likewise.
5360 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5361 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
5363 (PSEUDO_END): Likewise.
5364 [IS_IN (libpthread)] (CENABLE): Likewise.
5365 [IS_IN (libpthread)] (CDISABLE): Likewise.
5366 [IS_IN (libc)] (CENABLE): Likewise.
5367 [IS_IN (libc)] (CENABLE): Likewise.
5368 [IS_IN (librt)] (CDISABLE): Likewise.
5369 [IS_IN (librt)] (CDISABLE): Likewise.
5370 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5371 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
5373 (PSEUDO_END): Likewise.
5374 [IS_IN (libpthread)] (CENABLE): Likewise.
5375 [IS_IN (libpthread)] (CDISABLE): Likewise.
5376 [IS_IN (libc)] (CENABLE): Likewise.
5377 [IS_IN (libc)] (CENABLE): Likewise.
5378 [IS_IN (librt)] (CDISABLE): Likewise.
5379 [IS_IN (librt)] (CDISABLE): Likewise.
5380 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5381 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
5383 (PSEUDO_END): Likewise.
5384 [IS_IN (libpthread)] (CENABLE): Likewise.
5385 [IS_IN (libpthread)] (CDISABLE): Likewise.
5386 [IS_IN (libc)] (CENABLE): Likewise.
5387 [IS_IN (libc)] (CENABLE): Likewise.
5388 [IS_IN (librt)] (CDISABLE): Likewise.
5389 [IS_IN (librt)] (CDISABLE): Likewise.
5390 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5391 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
5393 (PSEUDO_END): Likewise.
5394 [IS_IN (libpthread)] (CENABLE): Likewise.
5395 [IS_IN (libpthread)] (CDISABLE): Likewise.
5396 [IS_IN (libc)] (CENABLE): Likewise.
5397 [IS_IN (libc)] (CENABLE): Likewise.
5398 [IS_IN (librt)] (CDISABLE): Likewise.
5399 [IS_IN (librt)] (CDISABLE): Likewise.
5400 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5401 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
5403 (PSEUDO_END): Likewise.
5404 [IS_IN (libpthread)] (CENABLE): Likewise.
5405 [IS_IN (libpthread)] (CDISABLE): Likewise.
5406 [IS_IN (libc)] (CENABLE): Likewise.
5407 [IS_IN (libc)] (CENABLE): Likewise.
5408 [IS_IN (librt)] (CDISABLE): Likewise.
5409 [IS_IN (librt)] (CDISABLE): Likewise.
5410 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5411 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
5413 (PSEUDO_END): Likewise.
5414 [IS_IN (libpthread)] (CENABLE): Likewise.
5415 [IS_IN (libpthread)] (CDISABLE): Likewise.
5416 [IS_IN (libc)] (CENABLE): Likewise.
5417 [IS_IN (libc)] (CENABLE): Likewise.
5418 [IS_IN (librt)] (CDISABLE): Likewise.
5419 [IS_IN (librt)] (CDISABLE): Likewise.
5420 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5421 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
5423 (PSEUDO_END): Likewise.
5424 [IS_IN (libpthread)] (CENABLE): Likewise.
5425 [IS_IN (libpthread)] (CDISABLE): Likewise.
5426 [IS_IN (libc)] (CENABLE): Likewise.
5427 [IS_IN (libc)] (CENABLE): Likewise.
5428 [IS_IN (librt)] (CDISABLE): Likewise.
5429 [IS_IN (librt)] (CDISABLE): Likewise.
5430 (SINGLE_THREAD_P): Likewise.
5431 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
5433 (PSEUDO_END): Likewise.
5434 [IS_IN (libpthread)] (CENABLE): Likewise.
5435 [IS_IN (libpthread)] (CDISABLE): Likewise.
5436 [IS_IN (libc)] (CENABLE): Likewise.
5437 [IS_IN (libc)] (CENABLE): Likewise.
5438 [IS_IN (librt)] (CDISABLE): Likewise.
5439 [IS_IN (librt)] (CDISABLE): Likewise.
5440 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5441 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
5443 (PSEUDO_END): Likewise.
5444 [IS_IN (libpthread)] (CENABLE): Likewise.
5445 [IS_IN (libpthread)] (CDISABLE): Likewise.
5446 [IS_IN (libc)] (CENABLE): Likewise.
5447 [IS_IN (libc)] (CENABLE): Likewise.
5448 [IS_IN (librt)] (CDISABLE): Likewise.
5449 [IS_IN (librt)] (CDISABLE): Likewise.
5450 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5451 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
5452 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5453 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
5454 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
5456 (PSEUDO_END): Likewise.
5457 [IS_IN (libpthread)] (CENABLE): Likewise.
5458 [IS_IN (libpthread)] (CDISABLE): Likewise.
5459 [IS_IN (libc)] (CENABLE): Likewise.
5460 [IS_IN (libc)] (CENABLE): Likewise.
5461 [IS_IN (librt)] (CDISABLE): Likewise.
5462 [IS_IN (librt)] (CDISABLE): Likewise.
5463 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5464 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
5466 (PSEUDO_END): Likewise.
5467 [IS_IN (libpthread)] (CENABLE): Likewise.
5468 [IS_IN (libpthread)] (CDISABLE): Likewise.
5469 [IS_IN (libc)] (CENABLE): Likewise.
5470 [IS_IN (libc)] (CENABLE): Likewise.
5471 [IS_IN (librt)] (CDISABLE): Likewise.
5472 [IS_IN (librt)] (CDISABLE): Likewise.
5473 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5474 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
5476 (PSEUDO_END): Likewise.
5477 [IS_IN (libpthread)] (CENABLE): Likewise.
5478 [IS_IN (libpthread)] (CDISABLE): Likewise.
5479 [IS_IN (libc)] (CENABLE): Likewise.
5480 [IS_IN (libc)] (CENABLE): Likewise.
5481 [IS_IN (librt)] (CDISABLE): Likewise.
5482 [IS_IN (librt)] (CDISABLE): Likewise.
5483 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5484 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
5485 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5486 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
5487 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
5489 (PSEUDO_END): Likewise.
5490 [IS_IN (libpthread)] (CENABLE): Likewise.
5491 [IS_IN (libpthread)] (CDISABLE): Likewise.
5492 [IS_IN (libc)] (CENABLE): Likewise.
5493 [IS_IN (libc)] (CENABLE): Likewise.
5494 [IS_IN (librt)] (CDISABLE): Likewise.
5495 [IS_IN (librt)] (CDISABLE): Likewise.
5496 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5497 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
5499 (PSEUDO_END): Likewise.
5500 [IS_IN (libpthread)] (CENABLE): Likewise.
5501 [IS_IN (libpthread)] (CDISABLE): Likewise.
5502 [IS_IN (libc)] (CENABLE): Likewise.
5503 [IS_IN (libc)] (CENABLE): Likewise.
5504 [IS_IN (librt)] (CDISABLE): Likewise.
5505 [IS_IN (librt)] (CDISABLE): Likewise.
5506 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5508 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
5510 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
5512 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
5514 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5516 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
5519 * string/stratcliff.c (do_test): Declare size, nchars, inner,
5520 middle and outer with size_t instead of int. Repleace %d and
5521 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
5522 "MAX (outer, nchars - 64)" to support unsigned outer and
5523 nchars. Also exit loop when outer == 0.
5525 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5527 * include/fcntl.h (__fcntl_nocancel): Remove definition.
5528 * include/signal.h (__sigsuspend_nocancel): Likewise.
5529 * include/time.h (__nanosleep_nocancel): Likewise.
5530 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
5531 * login/utmp_file.c: Include non cancellable syscall header.
5532 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
5535 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
5537 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
5538 .byte sequences with AVX512F instructions.
5539 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
5540 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
5541 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
5542 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
5544 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
5547 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
5548 Steve Ellcey <sellcey@cavium.com>
5550 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
5551 Use PTR_REG macro in cmp instruction.
5553 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5555 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
5556 Change the return type of the ifunc resolver to match the return
5557 type of the target function.
5559 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5561 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
5562 (preadv64): Likewise.
5563 (pwrite64(: Likewise.
5564 (pwritev64): Likewise.
5566 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5567 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
5568 (LOAD_ARGS_0): Likewise.
5569 (LOAD_ARGS_1): Likewise.
5570 (LOAD_ARGS_2): Likewise.
5571 (LOAD_ARGS_3): Likewise.
5572 (LOAD_ARGS_4): Likewise.
5573 (LOAD_ARGS_5): Likewise.
5574 (LOAD_ARGS_6): Likewise.
5575 (LOAD_REGS_0): Likewise.
5576 (LOAD_REGS_1): Likewise.
5577 (LOAD_REGS_2): Likewise.
5578 (LOAD_REGS_3): Likewise.
5579 (LOAD_REGS_4): Likewise.
5580 (LOAD_REGS_5): Likewise.
5581 (LOAD_REGS_6): Likewise.
5582 (ASM_ARGS_0): Likewise.
5583 (ASM_ARGS_1): Likewise.
5584 (ASM_ARGS_2): Likewise.
5585 (ASM_ARGS_3): Likewise.
5586 (ASM_ARGS_4): Likewise.
5587 (ASM_ARGS_5): Likewise.
5588 (ASM_ARGS_6): Likewise.
5589 (LOAD_ARGS_TYPES_1): Likewise.
5590 (LOAD_ARGS_TYPES_2): Likewise.
5591 (LOAD_ARGS_TYPES_3): Likewise.
5592 (LOAD_ARGS_TYPES_4): Likewise.
5593 (LOAD_ARGS_TYPES_5): Likewise.
5594 (LOAD_ARGS_TYPES_6): Likewise.
5595 (LOAD_REGS_TYPES_1): Likewise.
5596 (LOAD_REGS_TYPES_2): Likewise.
5597 (LOAD_REGS_TYPES_3): Likewise.
5598 (LOAD_REGS_TYPES_4): Likewise.
5599 (LOAD_REGS_TYPES_5): Likewise.
5600 (LOAD_REGS_TYPES_6): Likewise.
5601 (TYPEFY): New define.
5603 (internal_syscall0): Likewise.
5604 (internal_syscall1): Likewise.
5605 (internal_syscall2): Likewise.
5606 (internal_syscall3): Likewise.
5607 (internal_syscall4): Likewise.
5608 (internal_syscall5): Likewise.
5609 (internal_syscall6): Likewise.
5610 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
5611 (INTERNAL_SYSCALL_NCS): Remove define.
5612 (internal_syscall1): Add define.
5614 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5616 * math/w_remainder_compat.c: Remove duplicate inclusion of
5618 * math/w_remainderf_compat.c: Likewise.
5619 * math/w_remainderl_compat.c: Likewise.
5621 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5625 2017-08-22 Joseph Myers <joseph@codesourcery.com>
5628 * math/tgmath.h (__floating_type): Simplify definitions.
5629 (__real_integer_type): New macro.
5630 (__complex_integer_type): Likewise.
5631 (__expr_is_real): Likewise.
5632 (__tgmath_real_type_sub): Update comment to describe handling of
5634 (__tgmath_complex_type_sub): New macro.
5635 (__tgmath_complex_type): Likewise.
5636 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5637 (__TGMATH_CF128): Use __expr_is_real.
5638 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
5640 (__TGMATH_BINARY_REAL_IMAG): Likewise.
5641 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
5642 * math/gen-tgmath-tests.py (Type.create_type): Create complex
5645 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5647 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
5649 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
5651 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
5654 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
5655 nanosleep_not_cancel with __nanosleep_nocancel.
5656 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
5657 (__nanosleep_nocancel): New macro.
5658 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
5660 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
5662 (__nanosleep_nocancel): New prototype.
5664 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
5665 pause_not_cancel with __pause_nocancel.
5666 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
5667 (__pause_nocancel): New macro.
5668 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
5670 (__pause_nocancel): New prototype.
5671 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
5673 2017-08-22 Martin Sebor <msebor@redhat.com>
5675 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
5676 to return a pointer to the same type as the target function.
5678 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
5682 * include/printf.h (__printf_fphex): Add attribute_hidden.
5683 (__guess_grouping): New prototype.
5684 * stdio-common/printf_fp.c (__guess_grouping): Removed.
5685 * stdio-common/reg-printf.c (__register_printf_specifier): Add
5686 libc_hidden_proto and libc_hidden_def.
5687 * stdlib/strfmon_l.c (__guess_grouping): Removed.
5688 (__vstrfmon_l): Remove the third argument passed to
5691 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5693 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
5694 definition for issignaling that does not rely on __MATH_TG,
5695 since __MATH_TG uses __builtin_types_compatible_p, which is only
5696 available in C mode.
5697 (CFLAGS-test-math-issignaling.cc): New variable.
5698 * math/Makefile [CXX] (tests): Add test-math-issignaling.
5699 * math/test-math-issignaling.cc: New test for C++ implementation
5700 of type-generic issignaling.
5701 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
5702 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
5703 options of test-math-issignaling on powerpc64le.
5705 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
5707 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
5709 (hidden_proto): Likewise.
5710 (hidden_tls_proto): Likewise.
5711 (__hidden_proto): Likewise.
5713 2017-08-22 Florian Weimer <fweimer@redhat.com>
5715 math: Statically link tests of internal functionality.
5716 * math/Makefile (tests): Remove atest-exp, atest-sincos,
5718 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
5719 (gmp-objs): Remove assignment.
5720 (atest-exp, atest-sincos, atest-exp2): Remove targets.
5722 2017-08-22 Joseph Myers <joseph@codesourcery.com>
5725 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
5727 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
5729 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
5732 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
5733 variable definitions above inclusion of ../Rules.
5735 2017-08-21 Joseph Myers <joseph@codesourcery.com>
5737 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
5738 case calling __builtin_unreachable.
5740 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5742 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
5744 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
5745 (__waitpid_nocancel): New macro.
5746 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
5748 (__waitpid_nocancel): Replace macro with a function.
5749 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
5752 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
5754 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
5755 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
5757 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
5758 __writev_nocancel_nostatus.
5759 (write_call_graph): Likewise.
5760 (write_bb_counts): Likewise.
5761 * resolv/herror.c (herror): Likewise.
5762 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
5764 (__writev_nocancel_nostatus): New macro.
5765 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
5767 (__writev_nocancel_nostatus): New function.
5769 2017-08-21 Joseph Myers <joseph@codesourcery.com>
5772 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5774 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
5776 (hidden_proto): Likewise.
5777 (hidden_tls_proto): Likewise.
5778 (__hidden_proto): Likewise.
5781 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
5782 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
5783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
5785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
5787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
5789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
5791 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
5792 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
5793 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
5794 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
5795 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5796 GLIBC_2.0 sqrtl symbol.
5798 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
5799 [__USE_MISC] (_LIB_VERSION): Likewise.
5800 [__USE_MISC] (struct exception): Likewise.
5801 [__USE_MISC] (matherr): Likewise.
5802 [__USE_MISC] (DOMAIN): Likewise.
5803 [__USE_MISC] (SING): Likewise.
5804 [__USE_MISC] (OVERFLOW): Likewise.
5805 [__USE_MISC] (UNDERFLOW): Likewise.
5806 [__USE_MISC] (TLOSS): Likewise.
5807 [__USE_MISC] (PLOSS): Likewise.
5808 [__USE_MISC] (HUGE): Likewise.
5809 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
5810 * math/math-svid-compat.h: New file.
5811 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
5813 * include/math.h [!_ISOMAC] (__matherr): Remove.
5814 * manual/arith.texi (FP Exceptions): Do not document matherr.
5815 * math/Makefile (tests): Change test-matherr to test-matherr-3.
5816 (tests-internal): New variable.
5817 (install-lib): Do not add libieee.a.
5818 (non-lib.a): Likewise.
5819 (extra-objs): Do not add libieee.a and ieee-math.o.
5820 (CPPFLAGS-s_lib_version.c): Remove variable.
5821 ($(objpfx)libieee.a): Remove rule.
5822 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
5823 * math/ieee-math.c: Remove.
5824 * math/libm-test-support.c (matherr): Remove.
5825 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
5826 and license notices. Include <math-svid-compat.h> and
5828 (matherr): Undefine as macro. Use compat_symbol_reference.
5829 (_LIB_VERSION): Likewise.
5830 * math/test-matherr-2.c: New file.
5831 * math/test-matherr-3.c: Likewise.
5832 * sysdeps/generic/math_private.h (__kernel_standard): Remove
5834 (__kernel_standard_f): Likewise.
5835 (__kernel_standard_l): Likewise.
5836 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
5837 <math_private.h>. Include <math-svid-compat.h>.
5838 (_LIB_VERSION): Undefine as macro.
5839 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
5840 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
5841 [LIBM_SVID_COMPAT], use compat_symbol.
5842 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
5843 <math_private.h>. Include <math-svid-compat.h>.
5844 (matherr): Undefine as macro.
5845 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
5847 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
5848 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
5849 compat_symbol_reference.
5850 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
5851 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
5852 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
5853 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
5854 (MATHERR_D): Remove declaration.
5855 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
5856 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
5857 [LIBM_BUILD] (pmatherrf): Likewise.
5858 [LIBM_BUILD] (pmatherr): Likewise.
5859 [LIBM_BUILD] (pmatherrl): Likewise.
5862 (OVERFLOW): Likewise.
5863 (UNDERFLOW): Likewise.
5866 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
5867 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
5869 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
5870 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
5872 * math/lgamma-compat.h: Include <math-svid-compat.h>.
5873 * math/w_acos_compat.c: Likewise.
5874 * math/w_acosf_compat.c: Likewise.
5875 * math/w_acosh_compat.c: Likewise.
5876 * math/w_acoshf_compat.c: Likewise.
5877 * math/w_acoshl_compat.c: Likewise.
5878 * math/w_acosl_compat.c: Likewise.
5879 * math/w_asin_compat.c: Likewise.
5880 * math/w_asinf_compat.c: Likewise.
5881 * math/w_asinl_compat.c: Likewise.
5882 * math/w_atan2_compat.c: Likewise.
5883 * math/w_atan2f_compat.c: Likewise.
5884 * math/w_atan2l_compat.c: Likewise.
5885 * math/w_atanh_compat.c: Likewise.
5886 * math/w_atanhf_compat.c: Likewise.
5887 * math/w_atanhl_compat.c: Likewise.
5888 * math/w_cosh_compat.c: Likewise.
5889 * math/w_coshf_compat.c: Likewise.
5890 * math/w_coshl_compat.c: Likewise.
5891 * math/w_exp10_compat.c: Likewise.
5892 * math/w_exp10f_compat.c: Likewise.
5893 * math/w_exp10l_compat.c: Likewise.
5894 * math/w_exp2_compat.c: Likewise.
5895 * math/w_exp2f_compat.c: Likewise.
5896 * math/w_exp2l_compat.c: Likewise.
5897 * math/w_fmod_compat.c: Likewise.
5898 * math/w_fmodf_compat.c: Likewise.
5899 * math/w_fmodl_compat.c: Likewise.
5900 * math/w_hypot_compat.c: Likewise.
5901 * math/w_hypotf_compat.c: Likewise.
5902 * math/w_hypotl_compat.c: Likewise.
5903 * math/w_j0_compat.c: Likewise.
5904 * math/w_j0f_compat.c: Likewise.
5905 * math/w_j0l_compat.c: Likewise.
5906 * math/w_j1_compat.c: Likewise.
5907 * math/w_j1f_compat.c: Likewise.
5908 * math/w_j1l_compat.c: Likewise.
5909 * math/w_jn_compat.c: Likewise.
5910 * math/w_jnf_compat.c: Likewise.
5911 * math/w_jnl_compat.c: Likewise.
5912 * math/w_lgamma_main.c: Likewise.
5913 * math/w_lgamma_r_compat.c: Likewise.
5914 * math/w_lgammaf_main.c: Likewise.
5915 * math/w_lgammaf_r_compat.c: Likewise.
5916 * math/w_lgammal_main.c: Likewise.
5917 * math/w_lgammal_r_compat.c: Likewise.
5918 * math/w_log10_compat.c: Likewise.
5919 * math/w_log10f_compat.c: Likewise.
5920 * math/w_log10l_compat.c: Likewise.
5921 * math/w_log2_compat.c: Likewise.
5922 * math/w_log2f_compat.c: Likewise.
5923 * math/w_log2l_compat.c: Likewise.
5924 * math/w_log_compat.c: Likewise.
5925 * math/w_logf_compat.c: Likewise.
5926 * math/w_logl_compat.c: Likewise.
5927 * math/w_pow_compat.c: Likewise.
5928 * math/w_powf_compat.c: Likewise.
5929 * math/w_powl_compat.c: Likewise.
5930 * math/w_remainder_compat.c: Likewise.
5931 * math/w_remainderf_compat.c: Likewise.
5932 * math/w_remainderl_compat.c: Likewise.
5933 * math/w_scalb_compat.c: Likewise.
5934 * math/w_scalbf_compat.c: Likewise.
5935 * math/w_scalbl_compat.c: Likewise.
5936 * math/w_sinh_compat.c: Likewise.
5937 * math/w_sinhf_compat.c: Likewise.
5938 * math/w_sinhl_compat.c: Likewise.
5939 * math/w_sqrt_compat.c: Likewise.
5940 * math/w_sqrtf_compat.c: Likewise.
5941 * math/w_sqrtl_compat.c: Likewise.
5942 * math/w_tgamma_compat.c: Likewise.
5943 * math/w_tgammaf_compat.c: Likewise.
5944 * math/w_tgammal_compat.c: Likewise.
5945 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
5946 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
5947 * sysdeps/ieee754/k_standard.c: Likewise.
5948 * sysdeps/ieee754/k_standardf.c: Likewise.
5949 * sysdeps/ieee754/k_standardl.c: Likewise.
5950 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
5951 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
5952 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
5953 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5954 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5955 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5956 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5957 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
5958 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
5959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
5961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
5963 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
5964 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
5965 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
5966 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
5968 2017-08-21 Florian Weimer <fweimer@redhat.com>
5971 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
5972 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
5973 Move before inclusion of ../Rules.
5975 2017-08-21 Florian Weimer <fweimer@redhat.com>
5978 * assert/assert.h (assert): Use static_cast (bool) for C++.
5979 Use the ternary operator in the warning branch for GNU C.
5980 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
5981 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
5982 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
5983 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
5984 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
5986 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5989 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5990 (__syscall_clock_gettime): Add attribute_hidden.
5991 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
5992 (__start_context): Likewise.
5994 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5996 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
5998 (hidden_proto): Likewise.
5999 (hidden_tls_proto): Likewise.
6000 (__hidden_proto): Likewise.
6002 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6004 * include/libc-symbols.h (attribute_hidden): Enable hidden
6005 visibility in libc.a compiled with PIE.
6007 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6010 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
6011 Add attribute_hidden.
6013 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6016 * Makerules (all-nonlib): Add $(others-extras).
6017 * catgets/Makefile (others-extras): New.
6018 * elf/Makefile (others-extras): Likewise.
6019 * nss/Makefile (others-extras): Likewise.
6021 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6024 * csu/libc-start.c (__libc_multiple_libcs): Removed.
6025 * elf/dl-open.c: Include <libc-internal.h>.
6026 (__libc_multiple_libcs): Removed.
6027 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
6029 * include/libc-internal.h (__libc_multiple_libcs): New.
6030 * misc/sbrk.c: Include <libc-internal.h>.
6031 (__libc_multiple_libcs): Removed.
6033 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6036 * grp/initgroups.c (__nss_group_database): Removed.
6037 (__nss_initgroups_database): Likewise.
6038 * nscd/gai.c (__nss_hosts_database): Likewise.
6039 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
6040 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
6041 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
6042 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
6043 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
6044 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
6046 * nss/nsswitch.c (__nss_database_custom): Define only if
6047 USE_NSCD is defined.
6048 (__nss_configure_lookup): Use __nss_database_custom only if
6049 USE_NSCD is defined.
6050 * nss/nsswitch.h (__nss_database_custom): Declare only if
6051 USE_NSCD is defined. Add attribute_hidden.
6052 (__nss_setent): Add attribute_hidden.
6053 (__nss_endent): Likewise.
6054 (__nss_getent_r): Likewise.
6055 (__nss_getent): Likewise.
6056 (DEFINE_DATABASE): Declare __nss_##arg##_database.
6058 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6061 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
6062 libc_hidden_proto and libc_hidden_def.
6064 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6067 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
6068 Add libc_hidden_proto.
6069 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
6070 Add libc_hidden_def.
6072 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6075 * gmon/Makefile (routines): Remove bb_init_func and
6077 (elide-routines.os): Removed.
6078 * gmon/bb_exit_func.c: Likewise.
6079 * gmon/bb_init_func.c: Likewise.
6080 * include/sys/gmon.h (__bb): Likewise.
6081 (__bb_init_func): Likewise.
6082 (__bb_exit_func): Likewise.
6083 * sysdeps/alpha/bb_init_func.S: Likewise.
6085 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6087 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
6088 * include/setjmp.h (____longjmp_chk): Here. Add
6091 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
6094 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
6096 (__strspn_sse2): Likewise.
6098 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6100 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
6101 (close_not_cancel_no_status): Likewise.
6102 (__close_nocancel): New macro.
6103 (__close_nocancel_nostatus): Likewise.
6104 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
6106 (close_not_cancel): Likewise.
6107 (close_not_cancel_no_status): Likewise.
6108 (__close_nocancel): New prototype.
6109 (__close_nocancel_nostatus): New function.
6110 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
6111 * catgets/open_catalog.c (__open_catalog): Replace
6112 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
6113 * gmon/gmon.c (write_gmon): Likewise.
6114 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6115 * intl/loadmsgcat.c (close): Likewise.
6116 * io/ftw.c (open_dir_stream): Likewise.
6117 (ftw_startup): Likewise.
6118 * libio/fileops.c (_IO_file_open): Likewise.
6119 (_IO_file_close_mmap): Likewise.
6120 (_IO_file_close): Likewise.
6121 * libio/iopopen.c (_IO_dup2): Likewise.
6122 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6123 * locale/loadlocale.c (_nl_load_locale): Likewise.
6124 * login/utmp_file.c (pututline_file): Likewise.
6125 (endutent_file): Likewise.
6126 * misc/daemon.c (daemon): Likewise.
6127 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6128 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6129 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
6130 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6131 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6132 * nscd/nscd_helper.c (open_socket): Likewise.
6133 (__nscd_open_socket): Likewise.
6134 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6135 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
6136 (__nscd_innetgr): Likewise.
6137 * nss/nss_db/db-open.c (internal_setent): Likewise.
6138 * resolv/res-close.c (__res_iclose): Likewise.
6139 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
6140 * sysdeps/posix/closedir.c (__closedir): Likewise.
6141 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
6142 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6143 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
6144 (opendir_tail): Likewise.
6145 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6146 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
6147 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6148 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6149 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6150 (gethostid): Likewise.
6151 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6152 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6154 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6155 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
6156 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6157 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6159 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
6160 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
6161 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6163 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
6164 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6166 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6168 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6169 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6170 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6173 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
6174 (openat_not_cancel_3): Likewise.
6175 (openat64_not_cancel_3): Likewise).
6176 (openat_not_cancel_3): Likewise).
6177 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
6179 (openat_not_cancel_3): Likewise.
6180 (openat64_not_cancel): Likewise.
6181 (openat64_not_cancel_3): Likewise.
6182 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
6183 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
6184 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
6185 __open{64}_nocancel.
6186 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
6187 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6188 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6190 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6193 * include/argz.h (__argz_create_sep): New function prototype.
6194 (__argz_append): Likewise.
6195 (__argz_add): Likewise.
6196 (__argz_add_sep): Likewise.
6197 (__argz_delete): Likewise.
6198 (__argz_insert): Likewise.
6199 (__argz_replace): Likewise.
6200 * string/argz.h (__argz_create_sep): Removed.
6201 (__argz_append): Likewise.
6202 (__argz_add): Likewise.
6203 (__argz_add_sep): Likewise.
6204 (__argz_delete): Likewise.
6205 (__argz_insert): Likewise.
6206 (__argz_replace): Likewise.
6208 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6210 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
6211 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
6212 (GNU_PROPERTY_STACK_SIZE): Likewie.
6213 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
6214 (GNU_PROPERTY_LOPROC): Likewise.
6215 (GNU_PROPERTY_HIPROC): Likewise.
6216 (GNU_PROPERTY_LOUSER): Likewise.
6217 (GNU_PROPERTY_HIUSER): Likewise.
6218 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
6219 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
6220 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
6221 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
6222 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
6223 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
6224 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
6225 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
6226 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
6227 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
6228 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
6229 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
6230 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
6231 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
6232 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
6233 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
6234 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
6235 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
6236 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
6237 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
6238 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
6239 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
6240 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
6242 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6244 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
6247 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6250 * math/math.h (isinf): Check if in C or C++ mode before using
6251 __builtin_types_compatible_p, since this is a C mode feature.
6253 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6255 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
6256 (__write_nocancel): New macro.
6257 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
6258 Rewrite as a function prototype.
6259 (write_not_cancel): Remove macro.
6260 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
6261 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
6262 (write_gmon): Likewise.
6263 * libio/fileops.c (_IO_new_file_write): Likewise.
6264 * login/utmp_file.c (pututline_file): Likewise.
6265 (updwtmp_file): Likewise.
6266 * stdio-common/psiginfo.c (psiginfo): Likewise.
6267 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6268 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6269 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6271 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6274 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
6275 (__read_nocancel): New macro.
6276 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6278 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
6280 (__read_nocancel): New prototype.
6281 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
6282 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
6283 with __read_nocancel.
6284 * intl/loadmsgcat.c (read): Likewise.
6285 * libio/fileops.c (_IO_file_read): Likewise.
6286 * locale/loadlocale.c (_nl_load_locale): Likewise.
6287 * login/utmp_file.c (getutent_r_file): Likewise.
6288 (internal_getut_r): Likewise.
6289 (getutline_r_file): Likewise.
6290 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
6291 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6292 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6293 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6295 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
6296 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6297 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6299 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6301 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6303 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6305 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6307 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6310 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
6311 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
6314 2017-08-17 DJ Delorie <dj@redhat.com>
6316 * bug17079.c: Update to new test harness.
6317 * test-digits-dots.c: Likewise.
6318 * test-netdb.c: Likewise.
6319 * tst-field.c: Likewise.
6320 * tst-nss-getpwent.c: Likewise.
6321 * tst-nss-static.c: Likewise.
6322 * tst-nss-test1.c: Likewise.
6323 * tst-nss-test2.c: Likewise.
6324 * tst-nss-test3.c: Likewise.
6325 * tst-nss-test4.c: Likewise.
6326 * tst-nss-test5.c: Likewise.
6328 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6330 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
6331 (open_not_cancel_2): Likewise.
6332 (open_nocancel): New macro.
6333 (open64_nocancel): Likewise.
6334 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
6335 (open_not_cancel_2): Likewise.
6336 (__open_nocancel): New prototype.
6337 (__open64_nocancel): Likewise.
6338 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6340 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
6341 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
6342 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
6343 with __open_nocancel.
6344 * csu/check_fds.c (check_one_fd): Likewise.
6345 * gmon/gmon.c (write_gmon): Likewise.
6346 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
6347 * intl/loadmsgcat.c (open): Likewise.
6348 * libio/fileops.c (_IO_file_open): Likewise.
6349 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6350 * locale/loadlocale.c (_nl_load_locale): Likewise.
6351 * login/utmp_file.c (setutent_file): Likewise.
6352 * misc/daemon.c (daemon): Likewise.
6353 * nss/nss_db/db-open.c (internal_setent): Likewise.
6354 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
6355 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
6356 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
6357 (__opendir): Likewise.
6358 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6359 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
6360 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6361 (gethostid): Likewise.
6362 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6363 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6365 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6366 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
6367 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6368 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6370 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6372 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6374 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6376 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6378 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6380 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6381 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6383 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
6385 * benchtests/bench-skeleton.c (main): Add support for
6386 latency benchmarking.
6387 * benchtests/scripts/bench.py: Add support for latency benchmarking.
6389 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
6391 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
6394 2017-08-17 Florian Weimer <fweimer@redhat.com>
6396 * include/sys/socket.h (__opensock): Remove internal_function.
6397 * socket/opensock.c (__opensock): Likewise.
6398 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
6400 2017-08-16 Joseph Myers <joseph@codesourcery.com>
6403 * signal/bits/types/__sigval_t.h: New file.
6404 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
6405 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
6406 and define sigval_t using __sigval_t.
6407 * include/bits/types/__sigval_t.h: New file.
6408 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
6409 instead of <bits/types/__sigval_t.h>.
6410 (struct sigevent): Use __sigval_t instead of sigval_t.
6411 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
6412 instead of <bits/types/__sigval_t.h>.
6413 (siginfo_t): Use __sigval_t instead of sigval_t.
6414 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
6415 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
6416 (struct sigevent): Use __sigval_t instead of sigval_t.
6417 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
6418 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
6419 (siginfo_t): Use __sigval_t instead of sigval_t.
6420 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
6422 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
6424 * NEWS: Remove "[Add new features here]" for 2.27.
6426 2017-08-16 Joseph Myers <joseph@codesourcery.com>
6428 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
6431 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
6433 * NEWS: Mention x86-64 FMA optimization.
6435 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
6438 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6440 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
6441 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
6442 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
6444 2017-08-16 Andreas Schwab <schwab@suse.de>
6448 * elf/ldd.bash.in: Never run file directly.
6450 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
6453 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
6454 (L(SP_INF_0)): Likewise.
6456 2017-08-15 Florian Weimer <fweimer@redhat.com>
6458 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
6461 2017-08-15 Florian Weimer <fweimer@redhat.com>
6463 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
6464 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
6465 BROKEN_THREAD_SIGNALS code.
6466 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
6467 request_list): Remove caller_pid member used for
6468 BROKEN_THREAD_SIGNALS.
6469 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
6470 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
6471 Remove BROKEN_THREAD_SIGNALS support.
6472 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
6473 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
6475 2017-08-15 Florian Weimer <fweimer@redhat.com>
6477 * gmon/Makefile (tests): Add tst-gmon.
6478 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
6480 (tests-special): Add tst-gmon-prof.out.
6481 (tst-gmon.out): Depend on clean-tst-gmon-data.
6482 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
6483 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
6484 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
6486 * aclocal.m4 (GPROF): Set and substitute.
6487 * config.amke.in (GPROF): Set.
6488 * configure: Regenerate.
6490 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
6492 * elf/elf.h A (NT_PPC_TAR): New macro.
6493 (NT_PPC_PPR): Likewise.
6494 (NT_PPC_DSCR): Likewise.
6495 (NT_PPC_EBB): Likewise.
6496 (NT_PPC_PMU): Likewise.
6497 (NT_PPC_TM_CGPR): Likewise.
6498 (NT_PPC_TM_CFPR): Likewise.
6499 (NT_PPC_TM_CVMX): Likewise.
6500 (NT_PPC_TM_CVSX): Likewise.
6501 (NT_PPC_TM_SPR): Likewise.
6502 (NT_PPC_TM_CTAR): Likewise.
6503 (NT_PPC_TM_CPPR): Likewise.
6504 (NT_PPC_TM_CDSCR): Likewise.
6506 2017-08-15 Florian Weimer <fweimer@redhat.com>
6508 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
6509 regparm (2) instead of internal_function.
6510 (_MCOUNT_DECL): Adjust.
6512 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
6514 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
6515 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
6517 2017-08-14 Joseph Myers <joseph@codesourcery.com>
6519 * conform/data/sys/wait.h-data (si_value): Do not expect for
6522 2017-08-14 Florian Weimer <fweimer@redhat.com>
6525 NSS: Create stubs for accidentally exported lookup functions.
6526 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
6528 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
6529 (ether_hostton): Call __nss_ethers_lookup2 instead.
6530 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
6531 (ether_ntohost): Call __nss_ethers_lookup2 instead.
6532 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
6533 (setup): Call __nss_netgroup_lookup2 instead.
6534 * nss/Makefile (routines): Add compat-lookup.
6535 * nss/Versions (GLIBC_2.27): Add symbol version.
6536 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
6537 (DB_COMPAT_FCT): Remove.
6538 * nss/compat-lookup.c: New file.
6539 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
6541 * nss/service-lookup.c (NO_COMPAT): Remove definition.
6542 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
6543 (netname2user): Call __nss_publickey_lookup2 instead.
6544 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
6545 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
6548 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6549 Sergei Trofimovich <slyfox@inbox.ru>
6552 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
6553 Rename to MMAP2_PAGE_UNIT.
6554 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
6555 __OFF_T_MATCHES_OFF64_T is not defined.
6556 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
6558 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
6559 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
6561 2017-08-14 Florian Weimer <fweimer@redhat.com>
6563 i386: Do not set internal_function.
6564 * config.h.in (USE_REGPARMS, internal_function): Remove.
6565 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
6566 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
6568 2017-08-14 Florian Weimer <fweimer@redhat.com>
6570 * elf/dl-init.c (_dl_init): Remove internal_function.
6571 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
6572 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
6574 2017-08-14 Florian Weimer <fweimer@redhat.com>
6576 * elf/rtld.c (_dl_start): Remove internal_function.
6577 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
6580 2017-08-14 Florian Weimer <fweimer@redhat.com>
6582 * elf/dl-fini.c (_dl_fini): Remove internal_function
6583 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
6585 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
6587 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
6588 (bit_cpu_SHSTK): Likewise.
6589 (index_cpu_IBT): Likewise.
6590 (index_cpu_SHSTK): Likewise.
6591 (reg_IBT): Likewise.
6592 (reg_SHSTK): Likewise.
6593 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
6594 Handle index_cpu_IBT and index_cpu_SHSTK.
6596 2017-08-14 Mike FABIAN <mfabian@redhat.com>
6599 * po/fr.po: Fix spelling mistake.
6601 2017-08-13 Florian Weimer <fweimer@redhat.com>
6603 * elf/dl-addr.c (_dl_addr): Remove internal_function.
6604 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
6605 (_dl_catch_error, _dl_receive_error): Likewise.
6606 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
6607 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
6608 (_dl_deallocate_tls): Likewise.
6609 * include/dlfcn.h (_dl_addr): Likewise.
6610 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
6611 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
6612 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
6615 2017-08-13 Florian Weimer <fweimer@redhat.com>
6617 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
6618 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
6620 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
6622 2017-08-13 Florian Weimer <fweimer@redhat.com>
6624 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
6626 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
6627 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
6628 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
6629 internal_function from _dl_make_stack_executable_hook member.
6630 (_dl_make_stack_executable): Remove internal_function.
6631 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
6633 * sysdeps/unix/sysv/linux/dl-execstack.c
6634 (_dl_make_stack_executable): Likewise.
6636 2017-08-13 Florian Weimer <fweimer@redhat.com>
6638 * sysdeps/unix/sysv/linux/netlinkaccess.h
6639 (__netlink_assert_response): Remove internal_function.
6640 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6641 (__netlink_assert_response): Likewise.
6643 2017-08-13 Florian Weimer <fweimer@redhat.com>
6645 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
6647 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
6649 2017-08-13 Florian Weimer <fweimer@redhat.com>
6651 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
6653 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
6654 * inet/netgroup.h (__internal_setnetgrent)
6655 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
6656 * inet/getnetgrent_r.c (__internal_setnetgrent)
6657 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
6658 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
6659 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
6660 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
6661 * nss/nsswitch.h (db_lookup_function): Likewise.
6663 2017-08-13 Florian Weimer <fweimer@redhat.com>
6665 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
6666 Remove internal_function.
6667 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
6668 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
6669 message argument on the stack.
6670 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
6673 2017-08-12 Mike FABIAN <mfabian@redhat.com>
6675 Adapt test case data to the changes in the thousands
6679 * localedata/tst-langinfo.sh: Adapt test case data.
6680 * stdlib/tst-strfmon_l.c: Likewise.
6681 * stdlib/tst-strtod4.c: Likewise.
6682 * stdlib/tst-strtod5i.c: Likewise.
6684 2017-08-11 Florian Weimer <fweimer@redhat.com>
6687 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
6688 Suppress pedantic warning resulting from statement expression.
6689 (__ASSERT_FUNCTION): Add missing __extension__.
6691 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
6693 * benchtests/bench-memmove-large.c: Print output in JSON
6695 * benchtests/bench-memmove.c: Likewise.
6697 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
6698 * benchtests/bench-memchr.c (do_one_test): Likewise.
6699 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
6700 * benchtests/bench-memcpy.c (do_one_test): Likewise.
6701 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
6702 * benchtests/bench-memmove.c (do_one_test): Likewise.
6703 * benchtests/bench-memset-large.c (do_one_test): Likewise.
6704 * benchtests/bench-memset.c (do_one_test): Likewise.
6705 * benchtests/bench-string.h (test_init): Remove memsets.
6707 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
6710 (Computing the Width of an Integer Data Type): Rename section to
6711 "Width of an Integer Type". Remove inaccurate statement regarding
6712 lack of C language facilities for determining width of integer
6713 types, and reorder content to improve flow and context of
6716 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
6718 * lang.texi (va_copy): Change standard from ISO to C99.
6719 (__va_copy): Add standard and header annotation.
6720 Update description for clarity of origins and current use.
6722 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6725 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
6726 xssqrtqp requires operands to be in Vector Registers
6727 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
6728 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
6729 (__ieee754_sqrtf128): Likewise.
6731 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6733 * sysdeps/aarch64/memcmp.S (memcmp):
6734 Rewrite of optimized memcmp.
6736 2017-08-10 Florian Weimer <fweimer@redhat.com>
6738 Introduce ld.so exceptions.
6739 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
6740 (_dl_exception_create, _dl_exception_create_format)
6741 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
6742 (_dl_catch_exception): Declare.
6743 (_dl_catch_error): Update comment.
6744 * elf/dl-error-skeleton.c (struct catch): Replace objname,
6745 errstring, malloced members with exception member.
6746 (_dl_out_of_memory): Remove.
6747 (fatal_error): New function, extracted from _dl_signal_error.
6748 (_dl_signal_exception, _dl_signal_cexception): New functions.
6749 (_dl_signal_error): Call _dl_exception_create to allocate an
6751 (_dl_catch_exception): New function, based on _dl_catch_error.
6752 (_dl_catch_error): Implement using _dl_catch_exception.
6753 * elf/dl-exception.c: New file.
6754 * elf/Makefile (dl-routines): Add dl-exception.
6755 (elide-routines.os): Likewise.
6756 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
6757 _dl_exception_create_format, _dl_exception_free.
6758 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
6759 _dl_signal_exception.
6760 * elf/dl-lookup.c (make_string): Remove.
6761 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
6762 _dl_signal_cexception, _dl_exception_free.
6763 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
6764 _dl_signal_exception.
6765 * elf/dl-sym.c (do_sym): Likewise.
6766 * elf/dl-version.c (make_string): Remove.
6767 (match_symbol): Use _dl_exception_create_format,
6768 _dl_signal_cexception, _dl_exception_free.
6769 (_dl_check_map_versions): Likewise.
6770 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
6771 _dl_catch_exception.
6772 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6773 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6774 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6775 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6776 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6777 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6778 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6779 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
6781 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6788 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6789 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6790 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
6792 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
6794 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6796 2017-08-10 Florian Weimer <fweimer@redhat.com>
6798 * inet/net-internal.h (__inet6_scopeid_pton): Remove
6799 attribute_hidden, internal_function.
6800 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
6803 2017-08-10 Florian Weimer <fweimer@redhat.com>
6805 * malloc/malloc.c (get_max_fast): Reimplement as an inline
6806 function which calls __builtin_unreachable.
6808 2017-08-10 Mike FABIAN <mfabian@redhat.com>
6810 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
6811 Indian monetary formatting
6812 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
6815 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
6817 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
6818 Fix typo in comment.
6821 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
6822 PTRACE_SEIZE_DEVEL): Remove.
6823 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
6824 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6825 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6826 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6827 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6829 2017-08-09 Joseph Myers <joseph@codesourcery.com>
6831 * posix/bits/types.h (__qaddr_t): Remove.
6834 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
6835 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6837 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
6838 (ucontext_t): Use __ctx with uc_flags.
6839 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
6841 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6843 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
6844 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6846 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
6847 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6849 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
6851 (ucontext_t): Use __ctx with uc_flags.
6852 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
6853 (ucontext_t): Use __ctx with uc_flags.
6854 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
6855 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
6856 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
6857 (ucontext_t): Use __ctx with uc_flags.
6858 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
6859 undefine further down.
6860 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6862 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
6863 undefine further down.
6864 (ucontext_t): Use __ctx with uc_flags.
6865 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
6866 undefine further down.
6867 (ucontext_t): Use __ctx with uc_flags.
6868 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
6869 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
6870 Rename uc_pad to __glibc_reserved1.
6871 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
6872 undefine further down.
6873 (ucontext_t): Use __ctx with uc_flags.
6874 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
6876 (ucontext_t): Use __ctx with uc_flags.
6877 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
6878 __ctx with uc_flags.
6879 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
6880 (ucontext_t): Use __ctx with uc_flags.
6881 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
6882 __ctx with uc_flags.
6884 2017-08-09 Florian Weimer <fweimer@redhat.com>
6887 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
6888 before early return.
6890 2017-08-09 Andreas Schwab <schwab@suse.de>
6893 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
6897 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
6898 tst-compat-forwarder.
6899 (modules-names): Add tst-compat-forwarder-mod.
6900 ($(objpfx)tst-compat-forwarder): Depend on
6901 $(objpfx)tst-compat-forwarder-mod.so.
6902 * nptl/tst-compat-forwarder.c: New file.
6903 * nptl/tst-compat-forwarder-mod.c: New file.
6905 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
6907 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
6910 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
6911 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
6913 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
6915 (__libc_ifunc_impl_list): Add __memcpy_falkor.
6916 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
6917 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
6918 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6920 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
6923 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6926 * manual/setjmp.texi (getcontex): Document uc_stack value
6927 compatibility differences.
6929 2017-08-08 Joseph Myers <joseph@codesourcery.com>
6931 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
6932 (old_malloc_hook): Likewise.
6933 (old_memalign_hook): Likewise.
6934 (old_realloc_hook): Likewise.
6935 (struct hdr): Likewise.
6937 (freehook): Likewise.
6938 (mallochook): Likewise.
6939 (memalignhook): Likewise.
6940 (reallochook): Likewise.
6942 * malloc/mtrace.c (mallwatch): Likewise.
6943 (tr_old_free_hook): Likewise.
6944 (tr_old_malloc_hook): Likewise.
6945 (tr_old_realloc_hook): Likewise.
6946 (tr_old_memalign_hook): Likewise.
6947 (tr_where): Likewise.
6948 (lock_and_info): Likewise.
6949 (tr_freehook): Likewise.
6950 (tr_mallochook): Likewise.
6951 (tr_reallochook): Likewise.
6952 (tr_memalignhook): Likewise.
6953 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
6954 * misc/mmap.c (__mmap): Likewise.
6955 * misc/mmap64.c (__mmap64): Likewise.
6956 * misc/mprotect.c (__mprotect): Likewise.
6957 * misc/msync.c (msync): Likewise.
6958 * misc/munmap.c (__munmap): Likewise.
6959 * posix/posix_madvise.c (posix_madvise): Likewise.
6960 * socket/send.c (__send): Likewise.
6961 * socket/sendto.c (__sendto): Likewise.
6962 * socket/setsockopt.c (__setsockopt): Likewise.
6963 * string/memcmp.c (__ptr_t): Remove macro.
6964 (MEMCMP): Use void * instead of ptr_t.
6965 * string/memrchr.c (__ptr_t): Remove macro.
6966 (__memrchr): Use void * instead of ptr_t.
6967 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
6968 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6969 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
6970 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
6971 * sysdeps/mach/msync.c (msync): Likewise.
6972 * sysdeps/mach/munmap.c (__munmap): Likewise.
6973 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
6975 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6976 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
6977 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
6978 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
6979 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
6980 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6981 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
6982 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
6984 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6985 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
6986 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
6987 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
6988 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
6989 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
6990 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
6991 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
6992 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
6994 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
6995 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
6996 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
6997 (MEMCMP): Use void * instead of ptr_t.
6998 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
6999 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
7001 2017-08-08 Florian Weimer <fweimer@redhat.com>
7003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
7006 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
7009 * csu/libc-tls.c: Include <startup.h> first.
7010 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
7011 * elf/dl-tunables.c: Include <startup.h> first.
7012 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
7013 * sysdeps/generic/startup.h: New file.
7014 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
7015 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
7016 (I386_USE_SYSENTER): New. Defined to 0.
7018 2017-08-08 Andreas Schwab <schwab@suse.de>
7021 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
7022 * nptl/pt-system.c (system): Likewise.
7024 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7027 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
7029 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
7030 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
7031 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
7032 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
7033 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7034 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7035 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7037 2017-08-07 Joseph Myers <joseph@codesourcery.com>
7040 * bits/sigaction.h (struct sigaction): Define sa_handler and
7041 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
7042 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7043 [__USE_XOPEN_EXTENDED].
7044 (SA_RESTART): Likewise.
7045 (SA_NODEFER): Likewise.
7046 (SA_RESETHAND): Likewise.
7047 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
7048 (struct sigaction): Define sa_handler and sa_sigaction using union
7049 also for [__USE_XOPEN_EXTENDED].
7050 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7051 [__USE_XOPEN_EXTENDED].
7052 (SA_RESTART): Likewise.
7053 (SA_NODEFER): Likewise.
7054 (SA_RESETHAND): Likewise.
7055 * sysdeps/unix/sysv/linux/bits/sigaction.h
7056 (struct sigaction): Define sa_handler and sa_sigaction using union
7057 also for [__USE_XOPEN_EXTENDED].
7058 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7059 [__USE_XOPEN_EXTENDED].
7060 (SA_RESTART): Likewise.
7061 (SA_NODEFER): Likewise.
7062 (SA_RESETHAND): Likewise.
7063 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
7064 (struct sigaction): Define sa_handler and sa_sigaction using union
7065 also for [__USE_XOPEN_EXTENDED].
7066 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7067 [__USE_XOPEN_EXTENDED].
7068 (SA_RESTART): Likewise.
7069 (SA_NODEFER): Likewise.
7070 (SA_RESETHAND): Likewise.
7071 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
7072 (struct sigaction): Define sa_handler and sa_sigaction using union
7073 also for [__USE_XOPEN_EXTENDED].
7074 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7075 [__USE_XOPEN_EXTENDED].
7076 (SA_RESTART): Likewise.
7077 (SA_NODEFER): Likewise.
7078 (SA_RESETHAND): Likewise.
7079 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7080 (struct sigaction): Define sa_handler and sa_sigaction using union
7081 also for [__USE_XOPEN_EXTENDED].
7082 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7083 [__USE_XOPEN_EXTENDED].
7084 (SA_RESTART): Likewise.
7085 (SA_NODEFER): Likewise.
7086 (SA_RESETHAND): Likewise.
7087 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7088 (struct sigaction): Define sa_handler and sa_sigaction using union
7089 also for [__USE_XOPEN_EXTENDED].
7090 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7091 [__USE_XOPEN_EXTENDED].
7092 (SA_RESTART): Likewise.
7093 (SA_NODEFER): Likewise.
7094 (SA_RESETHAND): Likewise.
7095 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7096 (struct sigaction): Define sa_handler and sa_sigaction using union
7097 also for [__USE_XOPEN_EXTENDED].
7098 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7099 [__USE_XOPEN_EXTENDED].
7100 (SA_RESTART): Likewise.
7101 (SA_NODEFER): Likewise. Define directly rather than as alias.
7102 (SA_RESETHAND): Likewise.
7103 (SA_INTERRUPT): Define only for [__USE_MISC].
7104 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
7105 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
7107 (SA_STACK): Define only for [__USE_MISC].
7108 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
7109 (struct sigaction): Define sa_handler and sa_sigaction using union
7110 also for [__USE_XOPEN_EXTENDED].
7111 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7112 [__USE_XOPEN_EXTENDED].
7113 (SA_RESTART): Likewise.
7114 (SA_NODEFER): Likewise.
7115 (SA_RESETHAND): Likewise.
7116 (SA_NOPTRACE): Define only for [__USE_MISC].
7118 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
7119 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
7120 (struct catalog_info): Likewise.
7121 * inet/htontest.c (lo): Likewise.
7123 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7124 * inet/inet_net.c (inet_network): Likewise.
7125 * inet/inet_netof.c (inet_netof): Likewise.
7126 * inet/rcmd.c (__ivaliduser): Likewise.
7127 (iruserok): Likewise.
7128 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
7129 * locale/programs/locale-spec.c (locale_special): Likewise.
7130 * nis/nis_findserv.c (struct findserv_req): Likewise.
7131 (__nis_findfastest_with_timeout): Likewise.
7132 * nss/test-netdb.c (test_network): Likewise.
7133 * resolv/inet_neta.c (inet_neta): Likewise.
7134 * resolv/ns_date.c (ns_datetosecs): Likewise.
7135 (SECS_PER_DAY): Likewise.
7136 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
7138 * resolv/res_comp.c (__putlong): Likewise.
7139 (__putshort): Likewise.
7140 (_getlong): Likewise.
7141 (_getshort): Likewise.
7142 * resolv/res_debug.c (p_time): Likewise.
7143 (precsize_ntoa): Likewise.
7144 (precsize_aton): Likewise.
7145 (latlon2ul): Likewise.
7146 (loc_aton): Likewise.
7147 (loc_ntoa): Likewise.
7148 * resolv/res_hconf.c (struct netaddr): Likewise.
7149 (_res_hconf_reorder_addrs): Likewise.
7150 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7151 (clnttcp_control): Likewise.
7152 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7153 (clntudp_control): Likewise.
7154 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
7155 (clntunix_control): Likewise.
7156 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7157 * sunrpc/rpc/auth.h (union des_block): Likewise.
7158 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
7159 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
7160 (xdrrec_create): Likewise.
7161 (xdrrec_endofrecord): Likewise.
7162 (flush_out): Likewise.
7163 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
7164 (xdrstdio_putlong): Likewise.
7165 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
7168 * misc/sys/cdefs.h (__long_double_t): Remove.
7169 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
7170 instead of __long_double_t,
7171 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
7173 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7175 * benchtests/scripts/compare_strings.py: Avoid display error when
7176 running on a text terminal.
7178 * benchtests/scripts/compare_strings.py (main): Add an
7179 optional -base option.
7180 (process_results): New argument base_func.
7182 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
7184 * benchtests/bench-memcpy-large.c (test_name): Likewise.
7185 * benchtests/bench-memcpy-random.c (test_name): Likewise.
7187 2017-08-07 Andreas Schwab <schwab@suse.de>
7189 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
7190 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7191 * intl/Makefile ($(objpfx)tst-gettext.out)
7192 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
7193 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
7194 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7195 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7196 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
7197 * posix/Makefile ($(objpfx)globtest.out)
7198 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
7199 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
7200 ($(objpfx)tst-printf.out): Likewise.
7201 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
7202 ($(objpfx)tst-setcontext3.out): Likewise.
7204 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
7206 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7207 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
7208 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
7209 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
7210 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
7212 (CFLAGS-doasin-fma.c): New.
7213 (CFLAGS-dosincos-fma.c): Likewise.
7214 (CFLAGS-e_asin-fma.c): Likewise.
7215 (CFLAGS-e_atan2-fma.c): Likewise.
7216 (CFLAGS-e_exp-fma.c): Likewise.
7217 (CFLAGS-e_log-fma.c): Likewise.
7218 (CFLAGS-e_pow-fma.c): Likewise.
7219 (CFLAGS-halfulp-fma.c): Likewise.
7220 (CFLAGS-mpa-fma.c): Likewise.
7221 (CFLAGS-mpatan-fma.c): Likewise.
7222 (CFLAGS-mpatan2-fma.c): Likewise.
7223 (CFLAGS-mpexp-fma.c): Likewise.
7224 (CFLAGS-mplog-fma.c): Likewise.
7225 (CFLAGS-mpsqrt-fma.c): Likewise.
7226 (CFLAGS-mptan-fma.c): Likewise.
7227 (CFLAGS-s_atan-fma.c): Likewise.
7228 (CFLAGS-sincos32-fma.c): Likewise.
7229 (CFLAGS-slowexp-fma.c): Likewise.
7230 (CFLAGS-slowpow-fma.c): Likewise.
7231 (CFLAGS-s_sin-fma.c): Likewise.
7232 (CFLAGS-s_tan-fma.c): Likewise.
7233 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
7234 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
7235 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
7236 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
7237 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
7238 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
7239 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
7240 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
7241 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
7242 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
7243 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
7244 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
7245 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
7246 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
7247 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
7248 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
7249 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
7250 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
7251 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
7252 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
7253 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
7254 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
7255 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
7256 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
7257 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7258 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7259 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7260 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
7261 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7262 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7263 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7265 2017-08-04 Joseph Myers <joseph@codesourcery.com>
7267 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
7268 (min_of_type_f): New macro.
7269 (min_of_type_): Likewise.
7270 (min_of_type_l): Likewise.
7271 (min_of_type_f128): Likewise.
7272 (min_of_type): Define using __MATH_TG and taking an expression
7274 (math_check_force_underflow): Pass expression instead of type to
7276 (math_check_force_underflow_nonneg): Likewise.
7278 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7280 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
7281 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
7282 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
7284 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7286 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7287 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
7288 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
7289 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
7290 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
7291 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
7292 memcpy_chk-nonshared, mempcpy_chk-nonshared,
7293 memmove_chk-nonshared and memset_chk-nonshared
7294 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
7295 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
7296 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
7297 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
7298 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
7299 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
7300 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
7301 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
7302 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
7303 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
7304 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
7305 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
7306 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
7307 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
7308 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
7309 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
7310 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
7311 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
7312 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
7313 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
7314 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
7315 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
7316 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
7317 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
7318 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
7319 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
7320 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
7321 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
7322 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
7323 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
7324 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
7325 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
7326 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
7327 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
7328 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
7329 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
7330 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
7331 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
7332 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
7333 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
7334 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
7335 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
7336 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
7337 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
7338 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
7339 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
7340 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
7341 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
7342 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
7343 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
7344 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
7345 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
7346 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
7347 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
7348 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
7349 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
7350 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
7351 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
7352 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
7353 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
7354 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
7355 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
7356 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
7357 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
7358 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
7359 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
7360 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
7361 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
7362 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
7363 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
7364 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
7365 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7366 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7367 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7368 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7369 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7370 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7371 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7372 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7373 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7374 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7375 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7376 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7377 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7378 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7379 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7380 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7381 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7382 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7383 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7384 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7385 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7386 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7387 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7388 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7389 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7390 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7391 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7392 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7393 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7394 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7395 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7396 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7397 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7398 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7399 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7400 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7401 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7403 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7405 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
7406 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
7407 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
7408 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
7409 svml_d_log2_core-sse2, svml_d_log4_core-sse,
7410 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
7411 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
7412 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
7413 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
7414 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
7415 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
7416 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
7417 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
7418 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
7419 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
7420 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
7421 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
7422 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
7423 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
7424 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
7425 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
7426 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
7427 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
7428 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
7429 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
7430 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
7431 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
7432 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
7433 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
7434 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
7435 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
7436 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
7437 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
7438 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
7439 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
7440 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
7441 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
7442 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
7443 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
7444 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
7445 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
7446 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
7447 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
7448 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
7449 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
7450 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
7451 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
7452 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
7453 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
7454 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
7455 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
7456 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
7457 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
7458 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
7459 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
7460 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
7461 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
7462 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
7463 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
7465 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
7466 Don't include <sysdep.h> nor <init-arch.h>.
7467 (_ZGVbN2v_cos): Removed.
7468 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
7470 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
7471 Don't include <sysdep.h> nor <init-arch.h>.
7472 (_ZGVdN4v_cos): Removed.
7473 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
7475 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
7476 Don't include <sysdep.h> nor <init-arch.h>.
7477 (_ZGVeN8v_cos): Removed.
7478 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
7480 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
7481 Don't include <sysdep.h> nor <init-arch.h>.
7482 (_ZGVbN2v_exp): Removed.
7483 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
7485 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
7486 Don't include <sysdep.h> nor <init-arch.h>.
7487 (_ZGVdN4v_exp): Removed.
7488 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
7490 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
7491 Don't include <sysdep.h> nor <init-arch.h>.
7492 (_ZGVeN8v_exp): Removed.
7493 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
7495 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
7496 Don't include <sysdep.h> nor <init-arch.h>.
7497 (_ZGVbN2v_log): Removed.
7498 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
7500 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
7501 Don't include <sysdep.h> nor <init-arch.h>.
7502 (_ZGVdN4v_log): Removed.
7503 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
7505 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
7506 Don't include <sysdep.h> nor <init-arch.h>.
7507 (_ZGVeN8v_log): Removed.
7508 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
7510 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
7511 Don't include <sysdep.h> nor <init-arch.h>.
7512 (_ZGVbN2vv_pow): Removed.
7513 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
7515 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
7516 Don't include <sysdep.h> nor <init-arch.h>.
7517 (_ZGVdN4vv_pow): Removed.
7518 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
7520 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
7521 Don't include <sysdep.h> nor <init-arch.h>.
7522 (_ZGVeN8vv_pow): Removed.
7523 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
7525 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
7526 Don't include <sysdep.h> nor <init-arch.h>.
7527 (_ZGVbN2v_sin): Removed.
7528 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
7530 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
7531 Don't include <sysdep.h> nor <init-arch.h>.
7532 (_ZGVbN4v_sin): Removed.
7533 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
7535 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
7536 Don't include <sysdep.h> nor <init-arch.h>.
7537 (_ZGVbN8v_sin): Removed.
7538 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
7540 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
7541 Don't include <sysdep.h> nor <init-arch.h>.
7542 (_ZGVbN2vvv_sincos): Removed.
7543 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
7545 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
7546 Don't include <sysdep.h> nor <init-arch.h>.
7547 (_ZGVdN4vvv_sincos): Removed.
7548 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
7550 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
7551 Don't include <sysdep.h> nor <init-arch.h>.
7552 (_ZGVeN8vvv_sincos): Removed.
7553 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
7555 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
7556 Don't include <sysdep.h> nor <init-arch.h>.
7557 (_ZGVeN16v_cosf): Removed.
7558 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
7560 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
7561 Don't include <sysdep.h> nor <init-arch.h>.
7562 (_ZGVbN4v_cosf): Removed.
7563 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
7565 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
7566 Don't include <sysdep.h> nor <init-arch.h>.
7567 (_ZGVdN8v_cosf): Removed.
7568 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
7570 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
7571 Don't include <sysdep.h> nor <init-arch.h>.
7572 (_ZGVeN16v_expf): Removed.
7573 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
7575 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
7576 Don't include <sysdep.h> nor <init-arch.h>.
7577 (_ZGVbN4v_expf): Removed.
7578 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
7580 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
7581 Don't include <sysdep.h> nor <init-arch.h>.
7582 (_ZGVdN8v_expf): Removed.
7583 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
7585 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
7586 Don't include <sysdep.h> nor <init-arch.h>.
7587 (_ZGVeN16v_logf): Removed.
7588 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
7590 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
7591 Don't include <sysdep.h> nor <init-arch.h>.
7592 (_ZGVbN4v_logf): Removed.
7593 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
7595 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
7596 Don't include <sysdep.h> nor <init-arch.h>.
7597 (_ZGVdN8v_logf): Removed.
7598 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
7600 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
7601 Don't include <sysdep.h> nor <init-arch.h>.
7602 (_ZGVeN16vv_powf): Removed.
7603 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
7605 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
7606 Don't include <sysdep.h> nor <init-arch.h>.
7607 (_ZGVbN4vv_powf): Removed.
7608 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
7610 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
7611 Don't include <sysdep.h> nor <init-arch.h>.
7612 (_ZGVdN8vv_powf): Removed.
7613 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
7615 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
7616 Don't include <sysdep.h> nor <init-arch.h>.
7617 (_ZGVeN16vvv_sincosf): Removed.
7618 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
7620 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
7621 Don't include <sysdep.h> nor <init-arch.h>.
7622 (_ZGVbN4vvv_sincosf): Removed.
7623 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
7625 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
7626 Don't include <sysdep.h> nor <init-arch.h>.
7627 (_ZGVdN8vvv_sincosf): Removed.
7628 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
7630 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
7631 Don't include <sysdep.h> nor <init-arch.h>.
7632 (_ZGVeN16v_sinf): Removed.
7633 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
7635 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
7636 Don't include <sysdep.h> nor <init-arch.h>.
7637 (_ZGVbN4v_sinf): Removed.
7638 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
7640 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
7641 Don't include <sysdep.h> nor <init-arch.h>.
7642 (_ZGVdN8v_sinf): Removed.
7644 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7646 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7647 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
7648 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
7649 s_rint-sse4_1 and s_rintf-sse4_1.
7650 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
7651 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7652 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7653 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7654 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7655 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
7656 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
7657 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7658 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7659 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
7660 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
7661 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7663 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
7664 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
7665 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7667 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
7668 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
7669 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7671 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
7672 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
7673 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7674 (__floorf): Removed.
7675 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
7676 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
7677 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7678 (__nearbyint): Removed.
7679 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
7680 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
7681 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7682 (__nearbyintf): Removed.
7683 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
7684 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
7685 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7687 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
7688 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
7689 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7692 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7694 * sysdeps/i386/start.S (_start): Check Check PIC instead of
7695 SHARED. Avoid dynamic relocation against main in static PIE.
7697 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7700 * elf/Makefile (CFLAGS-tst-prelink.c): New.
7701 (LDFLAGS-tst-prelink): Likewise.
7703 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7705 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
7706 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
7707 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
7708 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
7709 (INTERNAL_SYSCALL_NCS): Likewise.
7710 (LOADARGS_1): Likewise.
7711 (LOADARGS_5): Likewise.
7712 (RESTOREARGS_1): Likewise.
7713 (RESTOREARGS_5): Likewise.
7715 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7717 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
7718 (MEMPCPY_SYMBOL): Likewise.
7719 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7720 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
7721 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
7723 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7724 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7726 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
7727 (__hidden_ver1): Don't use in libc.a.
7728 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
7729 (__mempcpy): Don't create a weak alias in libc.a.
7730 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
7732 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
7733 (__hidden_ver1): Don't use in libc.a.
7735 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7737 * config.make.in (have-insert): New.
7738 * configure.ac (libc_cv_insert): New. Set to yes if linker
7739 supports INSERT in linker script.
7740 (AC_SUBST(libc_cv_insert): New.
7741 * configure: Regenerated.
7742 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
7743 if $(have-insert) == yes.
7745 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7747 * elf/Makefile (tests): Add vismain only if
7748 $(have-protected-data) == yes.
7749 (tests-pie): Likewise.
7751 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7754 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7755 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
7757 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7760 * sysdeps/i386/i586/memset.S
7761 (__memset_zero_constant_len_parameter): Removed.
7762 * sysdeps/i386/i686/memset.S
7763 (__memset_zero_constant_len_parameter): Likewise.
7764 * sysdeps/i386/i686/multiarch/memset_chk.S
7765 (__memset_zero_constant_len_parameter): Likewise.
7766 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
7769 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
7771 * stdlib/getentropy.c (getentropy): Change return type to int.
7773 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
7775 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
7777 2017-08-03 Joseph Myers <joseph@codesourcery.com>
7779 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
7781 * math/s_nexttowardf.c (__nexttowardf): Likewise.
7782 * sysdeps/generic/math_private.h (ieee_double_shape_type):
7784 (ieee_float_shape_type): Likewise.
7785 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
7786 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
7787 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7788 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7789 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7790 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
7791 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
7792 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7793 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7795 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7796 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7797 (__ieee754_yn): Likewise.
7798 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7799 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7800 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
7802 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7803 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
7804 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
7805 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
7807 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
7808 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
7809 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
7810 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
7811 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
7812 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
7814 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
7815 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
7816 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
7817 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
7818 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7819 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
7820 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
7821 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
7822 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
7823 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
7824 (__issignaling): Likewise.
7825 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
7826 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
7827 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7829 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7830 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
7831 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
7832 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
7834 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
7836 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
7837 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
7838 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
7839 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
7840 (__erfcf): Likewise.
7841 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
7842 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
7843 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
7844 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
7846 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
7847 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
7849 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
7850 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
7851 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
7852 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
7853 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
7854 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7855 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
7856 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
7858 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
7860 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
7862 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
7863 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7865 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7867 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7868 (__ieee754_ynl): Likewise.
7869 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7870 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
7872 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
7874 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
7875 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
7876 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7878 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
7879 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
7880 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
7881 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
7882 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
7883 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
7884 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
7885 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
7887 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
7888 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
7889 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
7891 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
7892 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
7893 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
7894 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
7895 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
7896 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7898 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7900 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7902 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7904 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
7905 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7906 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7907 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
7908 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
7909 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
7910 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
7912 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7914 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7915 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7917 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7918 (__ieee754_remainderl): Likewise.
7919 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7920 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7921 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
7922 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
7924 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
7925 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7927 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7928 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
7929 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
7930 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
7931 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7932 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7934 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7935 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
7936 (__ieee754_y0l): Likewise.
7939 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7940 (__ieee754_y1l): Likewise.
7943 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7944 (__ieee754_ynl): Likewise.
7945 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7946 (__ieee754_lgammal_r): Likewise.
7947 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
7949 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
7950 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
7951 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
7952 (__erfcl): Likewise.
7953 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
7954 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
7956 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
7957 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
7958 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
7959 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
7960 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
7961 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7962 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7964 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
7965 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7966 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
7967 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
7968 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7970 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
7971 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
7973 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
7974 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
7975 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
7976 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7977 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
7979 2017-08-03 Florian Weimer <fweimer@redhat.com>
7982 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
7983 on memory allocation failure.
7985 2017-08-03 Alan Modra <amodra@gmail.com>
7987 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
7988 tst-tlsopt-powerpc.c with function name change and no test harness.
7989 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
7990 Call tls_get_addr_opt_test.
7991 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
7992 (modules-names): Add mod-tlsopt-powerpc.
7993 (mod-tlsopt-powerpc.so-no-z-defs): Define.
7994 (tst-tlsopt-powerpc): Depend on .so.
7995 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
7996 define. Expand use in TLS_GD and TLS_LD.
7998 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8000 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
8002 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8004 2017-08-02 Joseph Myers <joseph@codesourcery.com>
8007 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
8008 comparing size with that of double.
8009 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
8010 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
8011 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
8012 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
8013 (__TGMATH_BINARY_REAL_IMAG): Likewise.
8014 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
8015 unsigned __int128 types.
8017 2017-08-02 Steve Ellcey <sellcey@cavium.com>
8019 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
8020 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
8021 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
8022 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
8023 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
8025 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8027 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
8029 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8031 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
8033 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8034 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8035 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8036 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8037 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8038 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8039 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8041 2017-08-02 Joseph Myers <joseph@codesourcery.com>
8044 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
8045 bit-field expressions passed to sizeof or typeof.
8046 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8047 (__TGMATH_F128): Likewise.
8048 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8049 (__TGMATH_CF128): Likewise.
8050 (__TGMATH_UNARY_REAL_ONLY): Likewise.
8051 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
8052 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
8053 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
8054 (__TGMATH_BINARY_REAL_ONLY): Likewise.
8055 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
8056 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
8057 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
8058 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
8059 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
8060 (__TGMATH_UNARY_REAL_IMAG): Likewise.
8061 (__TGMATH_UNARY_IMAG): Likewise.
8062 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
8063 (__TGMATH_BINARY_REAL_IMAG): Likewise.
8064 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
8066 (define_vars_for_type): Handle bit_field type specially.
8067 (Tests.__init__): Declare structure with bit-field element.
8069 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8072 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
8073 (MEMCPY_CHK): Define only if SHARED is defined.
8074 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
8076 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
8079 See ChangeLog.18 for earlier changes.