1 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
3 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
5 2017-10-20 Mike FABIAN <mfabian@redhat.com>
8 * localedata/SUPPORTED: Add shn_MM/UTF-8.
9 * localedata/locales/shn_MM: New file.
11 2017-10-20 Florian Weimer <fweimer@redhat.com>
14 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
15 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
16 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
17 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
18 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
19 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
21 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
23 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25 2017-10-19 Joseph Myers <joseph@codesourcery.com>
27 * sysdeps/mips/ieee754/bits/floatn.h: New file.
30 * sysdeps/mips/bits/long-double.h: Move to ....
31 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
33 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
35 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
37 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
38 H.J. Lu <hongjiu.lu@intel.com>
41 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
42 GLRO(dl_platform) to NULL.
43 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
44 (modules-names): Add tst-platformmod-1 and
45 x86_64/tst-platformmod-2.
46 (CFLAGS-tst-platform-1.c): New.
47 (CFLAGS-tst-platformmod-1.c): Likewise.
48 (CFLAGS-tst-platformmod-2.c): Likewise.
49 (LDFLAGS-tst-platformmod-2.so): Likewise.
50 ($(objpfx)tst-platform-1): Likewise.
51 ($(objpfx)tst-platform-1.out): Likewise.
52 (tst-platform-1-ENV): Likewise.
53 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
54 * sysdeps/x86_64/tst-platform-1.c: New file.
55 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
56 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
58 2017-10-19 Mike FABIAN <mfabian@redhat.com>
61 * locale/iso-639.def: Add Karbi.
62 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
63 * localedata/locales/mjw_IN: New file.
65 2017-10-18 Joseph Myers <joseph@codesourcery.com>
67 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
68 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
69 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
70 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
71 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
72 (libm_alias_ldouble_other_r): Also create _Float128 alias.
73 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
75 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
76 (libm_alias_ldouble_other_r): Also create _Float128 alias.
77 * manual/math.texi (Mathematics): Document additional architecture
78 support for _Float128.
79 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
80 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
81 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
82 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
83 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
84 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
85 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
86 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
87 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
88 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
89 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
90 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
91 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
92 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
93 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
95 2017-10-18 Renlin Li <renlin.li@arm.com>
97 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
98 _DYNAMIC symbol to calculate load address.
100 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
102 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
103 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
105 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
106 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
108 2017-10-18 Mike FABIAN <mfabian@redhat.com>
111 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
112 and improve readability by using more ASCII.
113 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
114 and improve readability by using more ASCII.
116 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
118 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
119 not all targets support atomics on bool.
121 2017-10-17 Joseph Myers <joseph@codesourcery.com>
123 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
124 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
126 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
127 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
128 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
129 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
130 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
131 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
133 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
135 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
138 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
141 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
142 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
143 (do_check_remalloced_chunk): Fix build bug.
144 (do_check_malloc_state): Add assert that checks arena->top.
145 (malloc_consolidate): Remove initialization.
146 (int_mallinfo): Remove call to malloc_consolidate.
147 (__libc_mallopt): Clarify why malloc_consolidate is needed.
149 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
151 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
152 (have_fastchunks): Remove.
153 (clear_fastchunks): Remove.
154 (set_fastchunks): Remove.
155 (malloc_state): Add have_fastchunks.
156 (malloc_init_state): Use have_fastchunks.
157 (do_check_malloc_state): Remove incorrect invariant checks.
158 (_int_malloc): Use have_fastchunks.
159 (_int_free): Likewise.
160 (malloc_consolidate): Likewise.
162 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
164 * malloc/malloc.c (tcache_put): Inline.
165 (tcache_get): Inline.
167 2017-10-17 Jordi Mallach <jordi@gnu.org>
169 Aurelien Jarno <aurelien@aurel32.net>
171 * localedata/locales/ca_ES@valencia: New file.
172 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
174 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
177 * math/math.h: Let signbit use the builtin in C++ mode with gcc
180 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
182 * scripts/build-many-glibcs.py (Context.add_all_configs):
183 Add arm-linux-gnueabihf multiarch extra_glibcs.
185 * sysdeps/generic/ifunc-init.h: New file.
186 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
188 2017-10-17 Mike FABIAN <mfabian@redhat.com>
191 * localedata/locales/el_GR: Set n_cs_precedes to 0.
192 * localedata/locales/el_CY: copy "el_GR" because it is identical.
193 * stdlib/tst-strfmon_l.c: adapt test case.
195 2017-10-16 Joseph Myers <joseph@codesourcery.com>
197 * sysdeps/generic/float128-abi.h: New file.
198 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
199 non-__prefixed symbols to ....
200 * math/Versions: ... here. Include <float128-abi.h>.
201 * stdlib/Versions ... and here. Include <float128-abi.h>
203 2017-10-16 Florian Weimer <fweimer@redhat.com>
205 * version.h (VERSION): Switch to ".9000" as the development
208 2017-10-16 Florian Weimer <fweimer@redhat.com>
211 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
212 compat_symbol_reference to access non-default version.
214 2017-10-16 Florian Weimer <fweimer@redhat.com>
216 * malloc/Makefile (others-extras): Set to mcheck-init.o.
218 2017-10-16 Carlos O'Donell <carlos@redhat.com>
220 * include/shlib-compat.h (compat_symbol_reference): Update
223 2017-10-16 Joseph Myers <joseph@codesourcery.com>
225 * math/Makefile (test-types): Add
226 $(type-float128-$(float128-alias-fcts)).
227 * math/test-float128.h (TYPE_STR): Define conditional on
228 [FLT128_MANT_DIG == LDBL_MANT_DIG].
230 (ULP_I_IDX): Likewise.
232 * stdlib/strtold.c: Include <bits/floatn.h>
233 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
234 and later undefine as macro. Define as weak alias if
236 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
237 and later undefine as macro. Define as weak alias if
239 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
240 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
241 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
242 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
243 Define and later undefine as macro. Define as weak alias if
245 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
247 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
248 Define and later undefine as macro. Define as weak alias if
250 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
251 Define and later undefine as macro. Define as weak alias if
254 2017-10-15 Carlos O'Donell <carlos@redhat.com>
256 * localedata/collate-test.c (allocate_arrays): Don't use \n in
257 record_verbose messages.
259 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
262 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
263 to silence -O3 -Wall warning with GCC 7.
265 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
267 * Makeconfig (+link-static-before-libc): Use the first of
268 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
269 * gmon/Makefile (tests): Add tst-gmon-static.
270 (tests-static): Likewise.
271 (CFLAGS-tst-gmon-static.c): New.
272 (CRT-tst-gmon-static): Likewise.
273 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
274 (tst-gmon-static-ENV): Likewise.
275 (tests-special): Likewise.
276 ($(objpfx)tst-gmon-static.out): Likewise.
277 (clean-tst-gmon-static-data): Likewise.
278 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
279 * gmon/tst-gmon-static-gprof.sh: New file.
280 * gmon/tst-gmon-static.c: Likewise.
282 2017-10-13 Carlos O'Donell <carlos@redhat.com>
285 * locale/programs/linereader.c (get_string): Don't warn on
286 non-symbolic character.
288 2017-10-13 Carlos O'Donell <carlos@redhat.com>
291 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
294 2017-10-13 Carlos O'Donell <carlos@redhat.com>
297 * locale/programs/record-status.h: New file
298 * locale/programs/locale.c: Add comment.
299 * locale/programs/charmap-dir.c: Don't include error.h.
300 (charmap_opendir): Use record_error.
301 * locale/programs/charmap.c: Don't include error.h.
302 (charmap_read): Use record_error, and record_warning.
303 (parse_charmap): Likewise.
304 * locale/programs/ld-address.c: Don't include error.h.
305 (address_finish): Use record_error, and record_warning.
306 * locale/programs/ld-collate.c: Don't include error.h.
307 (collate_finish): Use record_error, and record_error_at_line.
308 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
309 (ctype_class_new): Likewise.
310 (ctype_map_new): Likewise.
311 (set_one_default): Likewise.
312 (set_class_defaults): Likewise.
313 (translit_flatten): Likewise.
314 (allocate_arrays): Use record_error, and record_verbose.
315 * locale/programs/ld-identification.c: Don't include error.h.
316 (indentation_finish): Use record_error and record_warning.
317 * locale/programs/ld-measurement.c: Don't include error.h.
318 (measurement_finish): Use record_error.
319 * locale/programs/ld-messages.c
320 (message_finish): Likewise.
321 * locale/programs/ld-monetary.c
322 (monetary_finish): Likewise.
323 * locale/programs/ld-name.c (name_finish): Use record_error
325 * locale/programs/ld-numeric.c
326 (numeric_finish): Use record_error.
327 * locale/programs/ld-paper.c: Don't include error.h.
328 (paper_finish): Use record_error.
329 * locale/programs/ld-telephone.c: Don't include error.h.
330 (telephone_finish): Use record_error.
331 * locale/programs/ld-time.c (time_finish): Likewise.
332 * locale/programs/linereader.h (lr_error): Make inline func.
333 * locale/programs/localedef.c: Define recorded_warning_count,
334 and recorded_error_count.
335 (main): Use record_error. Use recorded_error_count and
336 recorded_warning_count to issue correct error returns.
337 (add_to_readlist): Use record_error.
338 (find_locale): Likewise.
339 (load_locale): Likewise.
340 * locale/programs/localedef.h: Remove be_quiet
342 * locale/programs/locarchive.c (compare_from_file): Use
344 * locale/programs/locfile.c (write_locale_data): Use
346 * locale/programs/repertoire.c: Dont include error.h.
347 (repertoire_complain): Use record_error.
348 * localedata/tst-fmon.sh: Expect failures from localedef.
349 * localedata/tst-locale.sh: Likewise.
350 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
352 2017-10-12 Carlos O'Donell <carlos@redhat.com>
354 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
358 (i18n_ctype): ...this.
359 (i18n-report): Rename to...
360 (i18n_ctype-report): ...this.
361 * localedata/locales/i18n_ctype: Regenerate.
362 * localedata/locales/i18n: copy i18n_ctype.
364 2017-10-13 Joseph Myers <joseph@codesourcery.com>
366 * stdlib/strfroml.c: Include <bits/floatn.h>.
367 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
368 Define before include of <stdlib.h> and undefine afterwards, then
369 define as weak alias.
371 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
372 Undefine and restore default definition. Use
373 libm_alias_ldouble_other.
375 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
378 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
381 2017-10-13 James Clarke <jrtc27@jrtc27.com>
383 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
384 Assign sym_map to be map for local symbols, as TLS relocations
385 use sym_map to determine whether the symbol is defined and to
386 extract the TLS information.
387 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
388 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
390 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
393 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
394 (math_force_eval): Add powerpc version.
397 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
400 * stdio-common/tst-printf.sh: Likewise.
401 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
402 ifdef clause in order to set the carry bit right. Replace r0 by
403 0 without changing the behavior.
405 2017-10-13 Joseph Myers <joseph@codesourcery.com>
407 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
408 <libm-alias-ldouble.h>.
409 (fabsl): Define using libm_alias_ldouble.
410 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
411 <libm-alias-ldouble.h>.
412 (fabsl): Define using libm_alias_ldouble.
414 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
415 Remove conditional code.
417 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
418 Rename to __clog10_internal_l.
419 (__clog10_internal_l): Define aliases using
420 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
423 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
425 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
426 * benchtests/sincosf-inputs: New file.
427 * benchtests/cosf-inputs: New file.
428 * benchtests/sinf-inputs: New file.
430 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
432 * posix/tst-spawn.c (do_test): Wait for both children.
434 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
437 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
438 tests-pie): Add tst-gmon-pie.
439 (CFLAGS-tst-gmon-pie.c): New.
440 (CRT-tst-gmon-pie): Likewise.
441 (tst-gmon-pie-ENV): Likewise.
442 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
443 ($(objpfx)tst-gmon-pie.out): Likewise.
444 (clean-tst-gmon-pie-data): Likewise.
445 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
446 * gmon/gmon.c [PIC]: Include <link.h>.
447 [PIC] (callback): New function.
448 (write_hist): Add an argument for load address. Subtract load
450 (write_call_graph): Likewise.
451 (write_gmon): Call __dl_iterate_phdr to get load address, pass
452 it to write_hist and write_call_graph.
453 * gmon/tst-gmon-pie.c: New file.
455 2017-10-11 Joseph Myers <joseph@codesourcery.com>
457 * math/Makefile (test-types-basic): New variable.
458 (test-types): Likewise.
459 (libm-test-support): Use $(test-types) instead of $(types).
460 (libm-tests-base-normal): Likewise.
461 (libm-tests-base-finite): Likewise.
462 (libm-tests-base-inline): Likewise.
463 (generated): Likewise.
464 ($(objpfx)libm-test-support-$(t).c): Likewise.
465 (libm-tests-for-type iterator): Likewise.
466 (libm-test-support iterator): Likewise.
467 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
468 (ulp_idx): Use ULP_IDX.
469 * math/test-ldouble.h: Include <float.h>.
470 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
471 (ULP_IDX): New macro.
472 (ULP_I_IDX): Likewise.
473 * math/test-double.h (ULP_IDX): Likewise.
474 (ULP_I_IDX): Likewise.
475 * math/test-float.h (ULP_IDX): Likewise.
476 (ULP_I_IDX): Likewise.
477 * math/test-float128.h (ULP_IDX): Likewise.
478 (ULP_I_IDX): Likewise.
480 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
482 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
483 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
484 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
485 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
486 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
487 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
488 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
489 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
490 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
491 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
492 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
493 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
494 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
495 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
496 (SINGLE_THREAD_BY_GLOBAL): Define.
497 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
499 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
501 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
503 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
505 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
506 (SINGLE_THREAD_BY_GLOBAL): Likewise.
507 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
510 2017-10-11 Andreas Schwab <schwab@suse.de>
512 * nis/Makefile (aux): Remove.
513 * nscd/Makefile (aux): Add nscd_hash.
514 (nscd-modules): Likewise.
515 ($(objpfx)nscd): Don't depend on libnsl.
516 * nscd/nscd_hash.c: New file.
517 * nscd/nscd_hash.h: Likewise.
518 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
519 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
520 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
521 instead of <nis/rpcsvc/nis.h>.
522 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
524 2017-10-11 Florian Weimer <fweimer@redhat.com>
527 Avoid large NSS buffers with many addresses, aliases.
528 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
529 using dynarrays and struct alloc_buffer.
530 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
531 (tst-nss-files-hosts-multi): Link with -ldl.
532 * nss/tst-nss-files-hosts-multi.c: New file.
534 2017-10-11 Florian Weimer <fweimer@redhat.com>
537 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
538 scratch_buffer. Eliminate gotos.
540 2017-10-11 Joseph Myers <joseph@codesourcery.com>
542 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
543 libm_alias_ldouble_other.
544 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
545 undefine and redefine.
546 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
547 (exp10l): Do not define here.
548 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
549 (weak_alias): Undefine and redefine.
550 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
551 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
552 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
553 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
555 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
556 [!__fma] (fma): Define using libm_alias_double.
557 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
558 [!__fmaf] (fmaf): Define using libm_alias_float.
559 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
560 (fmal): Define using libm_alias_ldouble.
562 2017-10-10 Joseph Myers <joseph@codesourcery.com>
564 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
566 (libm_alias_double_other): Likewise.
567 (libm_alias_double_r): Use libm_alias_double_other_r.
568 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
570 (libm_alias_float_other): Likewise.
571 (libm_alias_float_r): Use libm_alias_float_other_r.
572 * sysdeps/generic/libm-alias-float128.h
573 (libm_alias_float128_other_r): New macro.
574 (libm_alias_float128_other): Likewise.
575 (libm_alias_float128_r): Use libm_alias_float128_other_r.
576 * sysdeps/generic/libm-alias-ldouble.h
577 (libm_alias_ldouble_other_r): New macro.
578 (libm_alias_ldouble_other): Likewise.
579 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
580 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
581 (libm_alias_double_other_r): New macro.
582 (libm_alias_double_other): Likewise.
583 (libm_alias_double_r): Use libm_alias_double_other_r.
584 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
585 (libm_alias_ldouble_other_r): New macro.
586 (libm_alias_ldouble_other): Likewise.
587 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
588 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
589 [!USE_AS_COMPAT]: Use libm_alias_double_other.
590 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
591 [!USE_AS_COMPAT]: Use libm_alias_float_other.
592 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
593 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
594 * math/w_exp2f.c: Use libm_alias_float_other.
595 * math/w_expf.c: Likewise.
596 * math/w_log2f.c: Likewise.
597 * math/w_logf.c: Likewise.
598 * math/w_powf.c: Likewise.
599 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
600 [!__exp2f]: Use libm_alias_float_other.
601 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
602 [!__expf]: Use libm_alias_float_other.
603 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
604 [!__log2f]: Use libm_alias_float_other.
605 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
606 [!__logf]: Use libm_alias_float_other.
607 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
608 [!__powf]: Use libm_alias_float_other.
610 2017-10-10 Florian Weimer <fweimer@redhat.com>
612 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
614 (_nss_files_gethostbyname3_r): Call it.
616 2017-10-09 Joseph Myers <joseph@codesourcery.com>
618 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
619 error. Remove default definition of declare_mgen_alias.
620 [!declare_mgen_alias_r]: Likewise.
621 * sysdeps/generic/math-type-macros-double.h
622 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
623 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
624 (declare_mgen_alias_r): Likewise.
625 * sysdeps/generic/math-type-macros-float128.h
626 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
627 * sysdeps/generic/math-type-macros-ldouble.h
628 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
629 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
631 (declare_mgen_alias_r_s): Likewise.
632 (declare_mgen_alias_r): Likewise.
633 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
634 (lgamma_r): Define using libm_alias_double_r.
635 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
636 (lgammaf_r): Define using libm_alias_float_r.
637 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
638 (lgammal_r): Define using libm_alias_ldouble_r.
639 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
640 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
642 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
644 * lib/glob.c (__glob_pattern_type): Remove now-spurious
647 2017-10-09 Joseph Myers <joseph@codesourcery.com>
649 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
651 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
654 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
655 [__cplusplus >= 201103] (__USE_ISOC99): Define.
656 * math/Makefile (test-math-cxx11): New test.
657 * math/test-math-cxx11.cc: New file.
659 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
661 * login/openpty.c (openpty): Close slave pty file descriptor on error.
663 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
664 call to allocate the slave pty file descriptor.
666 2017-10-06 Joseph Myers <joseph@codesourcery.com>
668 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
669 [!__fma] (fma): Define using libm_alias_double.
670 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
671 [!__fma] (fma): Define using libm_alias_double.
673 * sysdeps/ieee754/float128/float128_private.h: Include
674 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
675 (libm_alias_ldouble_r): Undefine and redefine.
676 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
677 <libm-alias-ldouble.h>.
678 (asinhl): Define using libm_alias_ldouble.
679 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
680 <libm-alias-ldouble.h>.
681 (atanl): Define using libm_alias_ldouble.
682 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
683 <libm-alias-ldouble.h>.
684 (cbrtl): Define using libm_alias_ldouble.
685 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
686 <libm-alias-ldouble.h>.
687 (ceill): Define using libm_alias_ldouble.
688 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
689 <libm-alias-ldouble.h>.
690 (copysignl): Define using libm_alias_ldouble.
691 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
692 <libm-alias-ldouble.h>.
693 (cosl): Define using libm_alias_ldouble.
694 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
695 <libm-alias-ldouble.h>.
696 (erfl): Define using libm_alias_ldouble.
698 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
699 <libm-alias-ldouble.h>.
700 (expm1l): Define using libm_alias_ldouble.
701 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
702 <libm-alias-ldouble.h>.
703 (fabsl): Define using libm_alias_ldouble.
704 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
705 <libm-alias-ldouble.h>.
706 (floorl): Define using libm_alias_ldouble.
707 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
708 <libm-alias-ldouble.h>.
709 (fmal): Define using libm_alias_ldouble.
710 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
711 <libm-alias-ldouble.h>.
712 (frexpl): Define using libm_alias_ldouble.
713 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
715 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
716 <libm-alias-ldouble.h>.
717 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
719 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
720 <libm-alias-ldouble.h>.
721 (getpayloadl): Define using libm_alias_ldouble.
722 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
723 <libm-alias-ldouble.h>.
724 (llrintl): Define using libm_alias_ldouble.
725 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
726 <libm-alias-ldouble.h>.
727 (llroundl): Define using libm_alias_ldouble.
728 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
729 <libm-alias-ldouble.h>.
730 (logbl): Define using libm_alias_ldouble.
731 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
732 <libm-alias-ldouble.h>.
733 (lrintl): Define using libm_alias_ldouble.
734 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
735 <libm-alias-ldouble.h>.
736 (lroundl): Define using libm_alias_ldouble.
737 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
738 <libm-alias-ldouble.h>.
739 (modfl): Define using libm_alias_ldouble.
740 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
741 <libm-alias-ldouble.h>.
742 (nearbyintl): Define using libm_alias_ldouble.
743 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
744 <libm-alias-ldouble.h>.
745 (nextafterl): Define using libm_alias_ldouble.
746 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
747 <libm-alias-ldouble.h>.
748 (nextupl): Define using libm_alias_ldouble.
749 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
750 <libm-alias-ldouble.h>.
751 (remquol): Define using libm_alias_ldouble.
752 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
753 <libm-alias-ldouble.h>.
754 (rintl): Define using libm_alias_ldouble.
755 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
756 <libm-alias-ldouble.h>.
757 (roundevenl): Define using libm_alias_ldouble.
758 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
759 <libm-alias-ldouble.h>.
760 (roundl): Define using libm_alias_ldouble.
761 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
762 using libm_alias_ldouble.
763 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
764 <libm-alias-ldouble.h>.
765 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
766 Define using libm_alias_ldouble.
767 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
768 <libm-alias-ldouble.h>.
769 (sincosl): Define using libm_alias_ldouble.
770 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
771 <libm-alias-ldouble.h>.
772 (sinl): Define using libm_alias_ldouble.
773 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
774 <libm-alias-ldouble.h>.
775 (tanhl): Define using libm_alias_ldouble.
776 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
777 <libm-alias-ldouble.h>.
778 (tanl): Define using libm_alias_ldouble.
779 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
780 <libm-alias-ldouble.h>.
781 (totalorderl): Define using libm_alias_ldouble.
782 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
783 <libm-alias-ldouble.h>.
784 (totalordermagl): Define using libm_alias_ldouble.
785 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
786 <libm-alias-ldouble.h>.
787 (truncl): Define using libm_alias_ldouble.
788 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
790 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
792 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
793 <libm-alias-ldouble.h>.
794 (weak_alias): Do not undefine and redefine.
795 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
796 (copysignl): Define with long_double_symbol only if [IS_IN
798 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
799 <libm-alias-ldouble.h>.
800 (weak_alias): Do not undefine and redefine.
801 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
802 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
803 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
804 <libm-alias-ldouble.h>.
805 (weak_alias): Do not undefine and redefine.
806 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
807 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
808 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
809 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
810 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
811 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
812 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
813 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
814 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
815 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
816 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
817 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
818 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
819 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
820 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
821 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
822 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
823 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
824 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
825 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
826 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
827 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
828 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
829 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
830 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
831 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
833 2017-10-06 Carlos O'Donell <carlos@redhat.com>
836 * malloc/malloc.c (tcache_shutting_down): Use bool type.
837 (tcache_thread_freeres): Set tcache_shutting_down before
839 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
840 * malloc/tst-malloc-tcache-leak.c: New file.
842 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
844 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
845 back to powerpc32 file.
846 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
847 (memrchr): Add __memrchr_power8 to ifunc list.
848 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
849 extra bytes for unaligned inputs.
851 2017-10-06 Joseph Myers <joseph@codesourcery.com>
853 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
854 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
855 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
856 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
857 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
859 2017-10-05 Joseph Myers <joseph@codesourcery.com>
861 * sysdeps/arm/libm-test-ulps: Update.
863 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
864 <libm-alias-ldouble.h>.
865 (asinhl): Define using libm_alias_ldouble.
866 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
867 <libm-alias-ldouble.h>.
868 (cbrtl): Define using libm_alias_ldouble.
869 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
870 <libm-alias-ldouble.h>.
871 (copysignl): Define using libm_alias_ldouble.
872 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
873 <libm-alias-ldouble.h>.
874 (cosl): Define using libm_alias_ldouble.
875 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
876 <libm-alias-ldouble.h>.
877 (erfl): Define using libm_alias_ldouble.
879 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
880 <libm-alias-ldouble.h>.
881 (fmal): Define using libm_alias_ldouble.
882 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
883 <libm-alias-ldouble.h>.
884 (frexpl): Define using libm_alias_ldouble.
885 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
887 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
888 <libm-alias-ldouble.h>.
889 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
891 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
892 <libm-alias-ldouble.h>.
893 (getpayloadl): Define using libm_alias_ldouble.
894 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
895 <libm-alias-ldouble.h>.
896 (llrintl): Define using libm_alias_ldouble.
897 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
898 <libm-alias-ldouble.h>.
899 (llroundl): Define using libm_alias_ldouble.
900 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
901 <libm-alias-ldouble.h>.
902 (lrintl): Define using libm_alias_ldouble.
903 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
904 <libm-alias-ldouble.h>.
905 (lroundl): Define using libm_alias_ldouble.
906 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
907 <libm-alias-ldouble.h>.
908 (modfl): Define using libm_alias_ldouble.
909 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
910 <libm-alias-ldouble.h>.
911 (nextupl): Define using libm_alias_ldouble.
912 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
913 <libm-alias-ldouble.h>.
914 (remquol): Define using libm_alias_ldouble.
915 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
916 <libm-alias-ldouble.h>.
917 (roundevenl): Define using libm_alias_ldouble.
918 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
919 <libm-alias-ldouble.h>.
920 (roundl): Define using libm_alias_ldouble.
921 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
922 using libm_alias_ldouble.
923 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
924 <libm-alias-ldouble.h>.
925 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
926 <libm-alias-ldouble.h>.
927 (setpayloadsigl): Define using libm_alias_ldouble.
928 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
929 <libm-alias-ldouble.h>.
930 (sincosl): Define using libm_alias_ldouble.
931 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
932 <libm-alias-ldouble.h>.
933 (sinl): Define using libm_alias_ldouble.
934 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
935 <libm-alias-ldouble.h>.
936 (tanhl): Define using libm_alias_ldouble.
937 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
938 <libm-alias-ldouble.h>.
939 (tanl): Define using libm_alias_ldouble.
940 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
941 <libm-alias-ldouble.h>.
942 (totalorderl): Define using libm_alias_ldouble.
943 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
944 <libm-alias-ldouble.h>.
945 (totalordermagl): Define using libm_alias_ldouble.
946 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
948 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
951 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
953 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
955 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
956 (__libc_ifunc_impl_list): Likewise.
957 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
958 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
960 * benchtests/bench-memmove-walk.c: New file.
961 * benchtests/Makefile (string-benchset): Add it.
963 * benchtests/bench-memset-walk.c: New file.
964 * benchtests/Makefile (string-benchset): Add it.
966 * benchtests/bench-memcpy-walk.c: New file.
967 * benchtests/Makefile (string-benchset): Add it.
969 2017-10-05 Florian Weimer <fweimer@redhat.com>
971 nscd: Eliminate compilation time dependency in the build output.
972 * nscd/nscd_stat.c (STATDATA_VERSION)
973 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
974 (STATDATA_VERSION_FULL): New macro definitions.
975 (compilation): Remove.
976 (struct statdata): Adjust version member.
977 (send_stats): Set version from STATDATA_VERSION_FULL.
978 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
980 2017-10-05 Joseph Myers <joseph@codesourcery.com>
982 * configure.ac (--enable-add-ons): Remove option.
983 (machine): Do not mention add-ons in comment.
984 (LIBC_PRECONFIGURE): Likewise.
985 (add_ons): Remove variable and sanity checks and logic to locate
987 (add_ons_automatic): Remove variable.
988 (configured_add_ons): Likewise.
989 (add_ons_sfx): Likewise.
990 (add_ons_pfx): Likewise.
991 (add_on_subdirs): Likewise.
992 (sysnames_add_ons): Likewise. Remove loop over add-ons and
993 consideration of add-ons in Implies handling.
994 (sysdeps_add_ons): Likewise.
995 * configure: Regenerated.
996 * libidn/configure.ac: Remove.
997 * libidn/configure: Likewise.
998 * sysdeps/unix/inet/configure.ac: New file.
999 * sysdeps/unix/inet/configure: New generated file.
1000 * sysdeps/unix/inet/Subdirs: Add libidn.
1001 * Makeconfig (sysdeps-srcdirs): Remove variable.
1002 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
1003 ($(common-objpfx)config.status): Do not depend on add-on files.
1004 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
1006 (all-subdirs): Do not include $(add-on-subdirs).
1007 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
1008 * config.make.in (add-ons): Remove variable.
1009 (add-on-subdirs): Likewise.
1010 (sysdeps-add-ons): Likewise.
1011 * manual/Makefile (add-chapters): Remove.
1012 ($(objpfx)texis): Do not depend on $(add-chapters).
1013 (nonexamples): Do not handle $(add-chapters).
1014 (examples): Do not handle $(add-ons).
1015 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
1017 * manual/install.texi (Installation): Do not mention add-ons.
1018 (--enable-add-ons): Do not document configure option.
1019 * INSTALL: Regenerated.
1020 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
1021 * manual/maint.texi (Hierarchy Conventions): Do not mention
1023 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
1025 * scripts/gen-sorted.awk: Do not handle Subdirs files from
1027 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
1028 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
1030 2017-10-05 Andreas Schwab <schwab@suse.de>
1033 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
1034 (_IO_flush_all_lockp): Always lock list_all_lock.
1035 (_IO_flush_all_linebuffered): Likewise.
1036 (_IO_unbuffer_all): Likewise.
1038 2017-10-05 Florian Weimer <fweimer@redhat.com>
1041 Do not flush stdio streams on abort.
1042 * stdlib/abort.c (fflush): Remove macro definition.
1043 (abort): Remove stages related to stdio flushing.
1045 2017-10-05 Florian Weimer <fweimer@redhat.com>
1047 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
1049 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
1051 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1053 2017-10-05 Florian Weimer <fweimer@redhat.com>
1055 * support/support_format_hostent.c (support_format_hostent): Add
1056 more error information for NETDB_INTERNAL.
1058 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1060 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
1061 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
1062 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
1063 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
1064 AC_DEFINE if multi-arch is enabled.
1065 * sysdeps/i386/configure: Regenerated.
1067 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1069 * Makeconfig (+link-static-before-libc): Use
1070 $(DEFAULT-LDFLAGS-$(@F)).
1071 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
1072 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
1073 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
1075 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1077 * elf/Makefile (tests): Add tst-main1.
1078 (modules-names): Add tst-main1mod.
1079 ($(objpfx)tst-main1): New.
1080 (CRT-tst-main1): Likewise.
1081 (LDFLAGS-tst-main1): Likewise.
1082 (LDLIBS-tst-main1): Likewise.
1083 (tst-main1mod.so-no-z-defs): Likewise.
1084 * elf/tst-main1.c: New file.
1085 * elf/tst-main1mod.c: Likewise.
1087 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1089 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
1091 2017-10-04 Joseph Myers <joseph@codesourcery.com>
1093 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
1094 (fma): Define using libm_alias_double.
1095 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
1096 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
1098 (fmal): Do not define as compat symbol here.
1099 * sysdeps/alpha/fpu/s_fma.c: New file.
1101 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1103 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
1105 2017-10-04 Joseph Myers <joseph@codesourcery.com>
1108 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
1110 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
1112 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
1113 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
1114 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
1115 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
1116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1117 Include <math_ldbl_opt.h>
1118 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
1120 (compat_symbol): Undefine and redefine.
1121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
1123 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
1124 (compat_symbol): Undefine and redefine.
1125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
1126 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
1127 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
1129 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
1130 GLIBC_2.0 copysignl symbol.
1131 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
1132 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
1134 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
1136 2017-10-04 Florian Weimer <fweimer@redhat.com>
1138 * scripts/check-local-headers.sh: Ignore nspr4 header file
1139 directory in addition to nspr.
1141 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
1144 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
1145 * configure: Regenerate.
1146 * crypt/Makefile (nss-cpp-flags): New variable.
1147 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
1148 (CPPFLAGS-md5-crypt.c): Use it.
1149 * scripts/check-local-headers.sh: Ignore nspr header file
1152 2017-10-04 Andreas Schwab <schwab@suse.de>
1154 * nis/Makefile (services): Remove compat.
1155 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
1156 ($(objpfx)libnss_compat.so): Remove rule.
1157 * nis/Versions (libnss_compat): Remove.
1158 * nss/Makefile (services): Add compat.
1159 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
1160 * nss/Versions (libnss_compat): Define.
1161 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
1162 Don't include <rpc/types.h>. Replace bool_t by bool.
1163 * nss/nss_compat/compat-initgroups.c: Likewise.
1164 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
1165 instead of <rpcsrv/ypclnt.h>.
1166 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
1167 yp_get_default_domain.
1168 * nss/nss_compat/compat-pwd.c: Likewise.
1169 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
1170 yp_get_default_domain.
1171 * nss/nss_compat/nisdomain.c: New file.
1172 * nss/nss_compat/nisdomain.h: Likewise.
1174 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1177 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
1178 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1180 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1183 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
1184 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
1186 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1188 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
1189 "movl main@GOTOFF(%ebx), %eax".
1191 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1193 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
1194 allow undefined _DYNAMIC in PIE libc.a.
1195 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
1198 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1200 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
1203 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1205 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
1208 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1210 * math/test-math-iscanonical.cc (error): Replace bool with int.
1212 2017-10-03 Joseph Myers <joseph@codesourcery.com>
1214 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
1215 (modf): Define using libm_alias_double, only if [!__modf].
1216 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
1217 <libm-alias-double.h>.
1218 (modf): Define using libm_alias_double, only if [!__modf].
1219 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
1221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
1222 (weak_alias): Do not undefine and redefine.
1223 (strong_alias): Likewise.
1224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
1225 (weak_alias): Likewise.
1226 (strong_alias): Likewise.
1228 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
1229 (logb): Define using libm_alias_double, only if [!__logb].
1230 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
1231 <libm-alias-double.h>.
1232 (logb): Define using libm_alias_double, only if [!__logb].
1233 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
1234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
1235 (weak_alias): Do not undefine and redefine.
1236 (strong_alias): Likewise.
1237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
1238 (weak_alias): Likewise.
1239 (strong_alias): Likewise.
1241 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1243 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
1244 Check SHARED instead PIC.
1246 2017-10-03 Joseph Myers <joseph@codesourcery.com>
1248 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
1249 [!__fmaf] (fmaf): Define using libm_alias_float.
1251 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
1252 (frexp): Define using libm_alias_double.
1253 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
1254 <libm-alias-double.h>.
1255 (frexp): Define using libm_alias_double.
1256 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
1259 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1262 * math/math.h: Trivial fix for unbalanced parentheses in comment.
1263 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
1264 (CFLAGS-test-math-iscanonical.cc): New variable.
1265 * math/test-math-iscanonical.cc: New file.
1266 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
1267 Provide a C++ implementation based on function overloading,
1268 rather than using __MATH_TG, which uses C-only builtins.
1269 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
1271 * sysdeps/powerpc/powerpc64le/Makefile
1272 (CFLAGS-test-math-iscanonical.cc): New variable.
1274 2017-10-03 Joseph Myers <joseph@codesourcery.com>
1276 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
1277 (ceil): Define using libm_alias_double.
1278 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
1279 (floor): Define using libm_alias_double.
1280 * sysdeps/ieee754/dbl-64/s_llround.c: Include
1281 <libm-alias-double.h>.
1282 (llround): Define using libm_alias_double.
1283 * sysdeps/ieee754/dbl-64/s_lround.c: Include
1284 <libm-alias-double.h>.
1285 (lround): Define using libm_alias_double.
1286 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
1287 <libm-alias-double.h>.
1288 (nearbyint): Define using libm_alias_double.
1289 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
1290 <libm-alias-double.h>.
1291 (remquo): Define using libm_alias_double.
1292 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
1293 (rint): Define using libm_alias_double.
1294 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
1295 (round): Define using libm_alias_double.
1296 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
1297 (trunc): Define using libm_alias_double.
1298 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
1299 <libm-alias-double.h>.
1300 (ceil): Define using libm_alias_double.
1301 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
1302 <libm-alias-double.h>.
1303 (floor): Define using libm_alias_double.
1304 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
1305 <libm-alias-double.h>.
1306 (llround): Define using libm_alias_double.
1307 [_LP64] (lround): Likewise.
1308 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
1309 <libm-alias-double.h>.
1310 [!_LP64] (lround): Define using libm_alias_double.
1311 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
1312 <libm-alias-double.h>.
1313 (nearbyint): Define using libm_alias_double.
1314 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
1315 <libm-alias-double.h>.
1316 (remquo): Define using libm_alias_double.
1317 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
1318 <libm-alias-double.h>.
1319 (rint): Define using libm_alias_double.
1320 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
1321 <libm-alias-double.h>.
1322 (round): Define using libm_alias_double.
1323 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
1324 <libm-alias-double.h>.
1325 (trunc): Define using libm_alias_double.
1326 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
1327 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
1328 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
1329 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
1330 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
1331 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
1332 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
1333 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
1334 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
1336 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1338 * math/w_remainder.c: New file.
1339 * math/w_remainderf.c: New file.
1340 * math/w_remainderl.c: New file.
1342 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1344 * elf/rtld.c (BOOTSTRAP_MAP): New.
1345 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
1346 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1348 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1350 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1353 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1355 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
1356 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
1357 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
1358 rtld_hidden_data_ver): Define to empty.
1359 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
1360 __assert_perror_fail): Likewise.
1361 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1362 (__rewinddir): Likewise.
1363 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1364 (__profile_frequency): Likewise.
1365 * include/setjmp.h (__sigsetjmp): Likewise.
1366 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
1367 __libc_sigaction): Likewise.
1368 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
1369 not set hidden attribute.
1370 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
1371 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
1372 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
1373 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
1374 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
1375 __fxstatat64): Likewise.
1376 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1377 (__uname): Likewise.
1378 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1379 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
1380 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
1381 (NO_RTLD_HIDDEN): Set.
1382 * sysdeps/mach/hurd/configure: Refresh.
1383 * config.h.in: Refresh.
1385 2017-10-02 Joseph Myers <joseph@codesourcery.com>
1387 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
1388 (atan): Define using libm_alias_double.
1389 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
1390 (tan): Define using libm_alias_double.
1391 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
1392 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
1394 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
1395 define as weak alias of __atan. Do not define any aliases if
1397 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
1398 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
1399 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
1400 as weak alias of __tan. Do not define any aliases if [__tan].
1401 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
1402 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
1403 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
1405 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
1406 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
1407 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
1408 and define as weak alias of __atan.
1409 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
1411 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
1412 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
1413 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
1414 define as weak alias of __tan.
1416 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1418 * math/w_lgamma.c: New file.
1419 * math/w_lgammaf.c: New file.
1420 * math/w_lgammal.c: New file.
1422 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1424 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
1425 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
1426 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
1427 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
1428 * sysdeps/ieee754/flt-32/w_logf.c: New file.
1429 * sysdeps/ieee754/flt-32/w_powf.c: New file.
1430 * sysdeps/i386/fpu/w_log2f.c: New file.
1431 * sysdeps/i386/fpu/w_logf.c: New file.
1432 * sysdeps/i386/fpu/w_powf.c: New file.
1433 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
1434 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
1435 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
1437 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1438 H.J. Lu <hongjiu.lu@intel.com>
1440 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
1441 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
1442 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
1443 * sysdeps/ieee754/flt-32/w_expf.c: New file.
1444 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
1446 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
1447 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
1448 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
1449 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
1450 * sysdeps/i386/fpu/w_exp2f.c: New file.
1451 * sysdeps/i386/fpu/w_expf.c: New file.
1452 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
1453 * sysdeps/x86_64/fpu/w_expf.c: New file.
1455 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1457 * math/Versions (logf): New libm symbol at GLIBC_2.27.
1460 * math/w_log2f.c: New file.
1461 * math/w_logf.c: New file.
1462 * math/w_powf.c: New file.
1463 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
1464 * math/w_logf_compat.c (__logf_compat): Likewise.
1465 * math/w_powf_compat.c (__powf_compat): Likewise.
1466 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
1467 * sysdeps/ia64/fpu/e_logf.S: Likewise.
1468 * sysdeps/ia64/fpu/e_powf.S: Likewise.
1469 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1470 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1471 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1472 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1473 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1474 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1475 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1476 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1477 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1478 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1479 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1480 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1489 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1490 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1491 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1492 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1493 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1498 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1499 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1500 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1502 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1504 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1505 (sysdep_routines): Add memrchr_power8.
1506 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1507 (memrchr): Add __memrchr_power8 to list of memrchr functions.
1508 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
1510 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
1511 (memrchr): Add __memrchr_power8 to ifunc list.
1512 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
1514 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1517 * sysdeps/unix/sysv/linux/posix_fadvise64.c
1518 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
1520 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1521 (__posix_fallocate64_l64): Likewise.
1523 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1526 * sysdeps/unix/sysv/linux/sched_setaffinity.c
1527 (__sched_setaffinity_new): Add libc_hidden_proto and
1530 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1533 * include/glob.h (__glob64): Add libc_hidden_proto.
1534 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
1537 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1540 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
1543 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1546 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
1548 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1551 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
1554 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1557 * csu/version.c (__libc_print_version): Add attribute_hidden.
1559 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1562 * include/libc-internal.h (__init_misc): Add attribute_hidden.
1564 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1567 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
1569 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1572 * nscd/nscd_helper.c (__nis_hash): New prototype.
1574 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1577 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
1578 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
1580 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1581 * termios/tcgetattr.c (__tcgetattr): Likewise.
1583 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1586 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
1587 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
1588 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
1589 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
1590 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
1592 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1595 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
1597 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1600 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
1601 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
1603 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1606 * intl/hash-string.h (__hash_string): Add attribute_hidden.
1608 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1611 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
1612 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
1614 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1617 * include/ifreq.h: New file.
1618 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
1619 (__ifreq): Likewise.
1620 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
1621 (__ifreq): Likewise.
1623 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1626 * include/idna.h: New file.
1627 * inet/getnameinfo.c: Include <idna.h> instead of
1629 (__idna_to_unicode_lzlz): Removed.
1630 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
1632 (__idna_to_ascii_lz): Removed.
1633 (__idna_to_unicode_lzlz): Likewise.
1635 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1638 * include/plural-exp.h: New file.
1639 * intl/plural-exp.c: Include <plural-exp.h> instead of
1642 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1645 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
1646 "getsourcefilter.h".
1647 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
1648 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
1649 "getsourcefilter.h".
1650 (__get_sol): Removed.
1652 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1655 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
1657 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
1659 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1662 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
1665 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1668 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
1670 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1673 * include/search.h (__tdestroy): Add libc_hidden_proto.
1674 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
1676 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1679 * include/assert.h (__assert_fail_base): Add attribute_hidden.
1681 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1684 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
1687 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1690 * include/signal.h (__kill): Add libc_hidden_proto.
1691 (__sigblock): Likewise.
1692 (__sigprocmask): Likewise.
1693 (__sigaltstack): Likewise.
1694 * signal/kill.c (__kill): Add libc_hidden_def.
1695 * signal/sigblock.c (__sigblock): Likewise.
1696 * signal/sigprocmask.c (__sigprocmask): Likewise.
1697 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1698 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1699 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
1700 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
1701 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
1703 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
1705 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
1706 (__sigprocmask): Likewise.
1707 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
1709 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
1710 (__sigprocmask): Likewise.
1711 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
1714 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1717 * include/string.h (__strsep): Add libc_hidden_proto.
1718 * string/strsep.c (__strsep): Add libc_hidden_def.
1720 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1723 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
1725 (__spawni): Likewise.
1727 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1730 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
1731 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
1734 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1737 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
1739 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1742 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
1743 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
1744 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1745 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
1746 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
1748 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1749 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
1751 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1754 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
1755 (__dcigettext): Likewise.
1757 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1760 * include/sys/sysinfo.h (__get_nprocs_conf): Add
1762 (__get_nprocs): Likewise.
1763 (__get_phys_pages): Likewise.
1764 (__get_avphys_pages): Likewise.
1765 (__get_child_max): Add attribute_hidden.
1766 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
1767 (__get_nprocs): Likewise.
1768 (__get_phys_pages): Likewise.
1769 (__get_avphys_pages): Likewise.
1770 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
1772 (__get_nprocs): Likewise.
1773 (__get_phys_pages): Likewise.
1774 (__get_avphys_pages): Likewise.
1775 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
1777 (__get_nprocs_conf): Likewise.
1778 (__get_phys_pages): Likewise.
1779 (__get_avphys_pages): Likewise.
1781 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1784 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
1786 (__netlink_close): Likewise.
1787 (__netlink_free_handle): Likewise.
1788 (__netlink_request): Likewise.
1790 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1793 * include/rpc/rpc.h (__rpc_thread_variables): Add
1795 (__rpc_thread_svc_cleanup): Likewise.
1796 (__rpc_thread_clnt_cleanup): Likewise.
1797 (__rpc_thread_key_cleanup): Likewise.
1799 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1802 * include/sys/uio.h (__readv): Add libc_hidden_proto.
1803 (__writev): Likewise.
1804 * misc/readv.c (__readv): Add libc_hidden_def.
1805 * misc/writev.c (__writev): Likewise.
1806 * sysdeps/posix/readv.c (__readv): Likewise.
1807 * sysdeps/posix/writev.c (__writev): Likewise.
1808 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
1809 (__readv): Likewise.
1810 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
1811 (__writev): Likewise.
1813 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1816 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
1817 (__regcomp): Add libc_hidden_proto.
1818 (__regexec): Likewise.
1819 (__regfree): Likewise.
1820 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
1821 (__regfree): Likewise.
1822 * posix/regexec.c (__regexec): Likewise.
1824 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1827 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
1828 (__getutent): Likewise.
1829 (__getutid): Likewise.
1830 (__getutline): Likewise.
1831 (__pututline): Likewise.
1832 (__getutent_r): Likewise.
1833 (__getutid_r): Likewise.
1834 (__getutline_r): Likewise.
1835 (__utmpname): Add attribute_hidden.
1836 (__setutent): Likewise.
1837 (__endutent): Likewise.
1838 * login/getutent.c (__getutent): Add libc_hidden_def.
1839 * login/getutent_r.c (__getutent_r): Likewise.
1840 (__pututline): Likewise.
1841 * login/getutid.c (__getutid): Likewise.
1842 * login/getutid_r.c (__getutid_r): Likewise.
1843 * login/getutline.c (__getutline): Likewise.
1844 * login/getutline_r.c (__getutline_r): Likewise.
1845 * login/updwtmp.c (__updwtmp): Likewise.
1847 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1850 * include/dirent.h (__opendir): Always add attribute_hidden.
1851 (__fdopendir): Likewise.
1852 (__closedir): Likewise.
1853 (__readdir): Likewise.
1854 (__readdir64): Add libc_hidden_proto.
1855 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
1856 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
1857 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
1858 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
1861 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1864 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
1865 * include/netdb.h (__gethostbyaddr_r): Likewise.
1866 (__gethostbyname_r): Likewise.
1867 (__gethostbyname2_r): Likewise.
1868 (__getnetbyaddr_r): Likewise.
1869 (__getnetbyname_r): Likewise.
1870 (__getservbyname_r): Likewise.
1871 (__getservbyport_r): Likewise.
1872 (__getprotobyname_r): Likewise.
1873 (__getprotobynumber_r): Likewise.
1874 (__getnetgrent_r): Likewise.
1875 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
1876 (__getrpcbynumber_r): Likewise.
1877 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
1879 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1882 * include/stdio.h (__fcloseall): Add attribute_hidden.
1883 (__getline): Likewise.
1884 (__path_search): Likewise.
1885 (__gen_tempname): Likewise.
1886 (__libc_message): Likewise.
1887 (__flockfile): Likewise.
1888 (__funlockfile): Likewise.
1889 (__fxprintf): Likewise.
1890 (__fxprintf_nocancel): Likewise.
1892 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1895 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
1896 (__sgetsgent_r): Likewise.
1898 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1901 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
1902 (__statfs64): Likewise.
1903 (__fstatfs64): Likewise.
1904 * include/sys/statvfs.h (__statvfs64): Likewise.
1905 (__fstatvfs64): Likewise.
1906 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
1907 (__statfs_filesize_max): Likewise.
1908 (__statfs_symlinks): Likewise.
1909 (__statfs_chown_restricted): Likewise.
1911 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1914 * include/time.h (__tzstring): Add attribute_hidden.
1915 (__tzfile_read): Likewise.
1916 (__tzfile_compute): Likewise.
1917 (__tzfile_default): Likewise.
1918 (__tzset_parse_tz): Likewise.
1919 (__offtime): Likewise.
1920 (__asctime_r): Likewise.
1921 (__tzset): Likewise.
1922 (__tz_convert): Likewise.
1923 (__getdate_r): Likewise.
1924 (__getclktck): Likewise.
1926 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1929 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
1930 (__nscd_unmap): Likewise.
1931 (__nscd_cache_search): Likewise.
1932 (__nscd_get_nl_timestamp): Likewise.
1933 (__nscd_getpwnam_r): Likewise.
1934 (__nscd_getpwuid_r): Likewise.
1935 (__nscd_getgrnam_r): Likewise.
1936 (__nscd_getgrgid_r): Likewise.
1937 (__nscd_gethostbyname_r): Likewise.
1938 (__nscd_gethostbyname2_r): Likewise.
1939 (__nscd_gethostbyaddr_r): Likewise.
1940 (__nscd_getai): Likewise.
1941 (__nscd_getgrouplist): Likewise.
1942 (__nscd_getservbyname_r): Likewise.
1943 (__nscd_getservbyport_r): Likewise.
1944 (__nscd_innetgr): Likewise.
1945 (__nscd_setnetgrent): Likewise.
1947 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1950 * include/gmp.h: Declare internal functions only if _ISOMAC is
1952 (__mpn_extract_double): Add attribute_hidden.
1953 (__mpn_extract_long_double): Likewise.
1954 (__mpn_extract_float128): Likewise.
1955 (__mpn_construct_float): Likewise.
1956 (__mpn_construct_double): Likewise.
1957 (__mpn_construct_long_double): Likewise.
1958 (__mpn_construct_float128): Likewise.
1959 (mpn_add_1): Likewise.
1960 (mpn_addmul_1): Likewise.
1961 (mpn_add_n): Likewise.
1962 (mpn_cmp): Likewise.
1963 (mpn_divrem): Likewise.
1964 (mpn_lshift): Likewise.
1965 (mpn_mul): Likewise.
1966 (mpn_mul_1): Likewise.
1967 (mpn_rshift): Likewise.
1968 (mpn_sub_1): Likewise.
1969 (mpn_submul_1): Likewise.
1970 (mpn_sub_n): Likewise.
1972 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1975 * include/wchar.h (__wcsnlen): Add attribute_hidden.
1976 (__wcscat): Likewise.
1977 (__btowc): Likewise.
1978 (__wcrtomb): Likewise.
1979 (__mbsrtowcs): Likewise.
1980 (__wcsrtombs): Likewise.
1981 (__mbsnrtowcs): Likewise.
1982 (__wcsnrtombs): Likewise.
1983 (__wcsncpy): Likewise.
1984 (__wcpncpy): Likewise.
1985 (__wmemcpy): Likewise.
1986 (__wmempcpy): Likewise.
1987 (__wmemmove): Likewise.
1988 (__wcschrnul): Likewise.
1989 (__vfwscanf): Likewise.
1990 (__vswprintf): Likewise.
1991 (__fwprintf): Likewise.
1992 (__vfwprintf): Likewise.
1994 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1997 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
1998 (__getgrgid_r): Likewise.
1999 (__getgrnam_r): Likewise.
2000 * include/pwd.h (__getpwuid_r): Likewise.
2001 (__getpwnam_r): Likewise.
2002 (__fgetpwent_r): Likewise.
2003 * include/shadow.h (__getspnam_r): Likewise.
2004 (__sgetspent_r): Likewise.
2005 (__fgetspent_r): Likewise.
2007 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2010 * include/unistd.h (__access): Add attribute_hidden.
2011 (__lseek64): Likewise.
2012 (__libc_pread64): Likewise.
2013 (__pipe2): Likewise.
2014 (__sleep): Likewise.
2015 (__chdir): Likewise.
2016 (__fchdir): Likewise.
2017 (__getcwd): Likewise.
2018 (__rmdir): Likewise.
2019 (__execvpe): Likewise.
2020 (__execve): Likewise.
2021 (__setsid): Likewise.
2022 (__getuid): Likewise.
2023 (__geteuid): Likewise.
2024 (__getgid): Likewise.
2025 (__getegid): Likewise.
2026 (__getgroups): Likewise.
2027 (__group_member): Likewise.
2028 (__ttyname_r): Likewise.
2029 (__isatty): Likewise.
2030 (__readlink): Likewise.
2031 (__unlink): Likewise.
2032 (__gethostname): Likewise.
2033 (__profil): Likewise.
2034 (__getdtablesize): Likewise.
2036 (__ftruncate): Likewise.
2037 (__ftruncate64): Likewise.
2039 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2042 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
2043 * argp/argp-fs-xinl.c: Likewise.
2044 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
2045 * argp/argp-parse.c: Include <argp.h>.
2046 * argp/argp-xinl.c: Likewise.
2047 * include/argp-fmtstream.h: New file.
2048 * include/argp.h (__argp_error): Add attribute_hidden.
2049 (__argp_failure): Likewise.
2050 (__argp_input): Likewise.
2051 (__argp_state_help): Likewise.
2053 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2056 * include/wchar.h (____wcstof_l_internal): New prototype.
2057 (____wcstod_l_internal): Likewise.
2058 (____wcstold_l_internal): Likewise.
2059 (____wcstol_l_internal): Likewise.
2060 (____wcstoul_l_internal): Likewise.
2061 (____wcstoll_l_internal): Likewise.
2062 (____wcstoull_l_internal): Likewise.
2063 (____wcstof128_l_internal): Likewise.
2064 * sysdeps/ieee754/float128/wcstof128.c
2065 (____wcstof128_l_internal): Removed.
2066 * sysdeps/ieee754/float128/wcstof128_l.c
2067 (____wcstof128_l_internal): Likewise.
2068 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
2069 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
2070 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
2071 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
2072 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
2073 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
2074 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
2075 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
2076 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
2077 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
2079 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2082 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
2083 instead of <sys/statvfs.h>.
2084 (__internal_statvfs): Removed.
2085 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
2086 instead of <sys/statvfs.h>.
2087 (__internal_statvfs64): Removed.
2088 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
2089 "internal_statvfs.h" instead of <sys/statvfs.h>.
2090 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
2091 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
2092 instead of <sys/statvfs.h>.
2093 (__internal_statvfs): Removed.
2094 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
2095 instead of <sys/statvfs.h>.
2096 (__internal_statvfs64): Removed.
2098 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2101 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
2102 (__gconv_close): Likewise.
2103 (__gconv): Likewise.
2104 (__gconv_find_transform): Likewise.
2105 (__gconv_lookup_cache): Likewise.
2106 (__gconv_compare_alias_cache): Likewise.
2107 (__gconv_load_cache): Likewise.
2108 (__gconv_get_path): Likewise.
2109 (__gconv_close_transform): Likewise.
2110 (__gconv_release_cache): Likewise.
2111 (__gconv_find_shlib): Likewise.
2112 (__gconv_release_shlib): Likewise.
2113 (__gconv_get_builtin_trans): Likewise.
2114 (__gconv_compare_alias): Likewise.
2115 * include/dlfcn.h (_dlerror_run): Likewise.
2116 * include/stdio.h (__fortify_fail_abort): Likewise.
2117 * include/time.h (__tz_compute): Likewise.
2118 (__strptime_internal): Likewise.
2119 * intl/gettextP.h (_nl_find_domain): Likewise.
2120 (_nl_load_domain): Likewise.
2121 (_nl_find_msg): Likewise.
2122 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
2123 (EXTRACT_PLURAL_EXPRESSION): Likewise.
2124 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
2125 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
2126 (__gai_find_request): Likewise.
2127 (__gai_remove_request): Likewise.
2128 (__gai_notify): Likewise.
2129 (__gai_notify_only): Likewise.
2130 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
2131 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
2132 (_dl_non_dynamic_init): Likewise.
2133 (_dl_aux_init): Likewise.
2134 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
2135 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
2137 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
2138 (__wcsmbs_clone_conv): Likewise.
2139 (__wcsmbs_named_conv): Likewise.
2141 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2144 * include/stdlib.h (__random): Add attribute_hidden.
2145 (__random_r): Likewise.
2146 (__srandom_r): Likewise.
2147 (__initstate_r): Likewise.
2148 (__setstate_r): Likewise.
2149 (__erand48_r): Likewise.
2150 (__nrand48_r): Likewise.
2151 (__jrand48_r): Likewise.
2152 (__srand48_r): Likewise.
2153 (__seed48_r): Likewise.
2154 (__lcong48_r): Likewise.
2155 (__drand48_iterate): Likewise.
2156 (__setenv): Likewise.
2157 (__unsetenv): Likewise.
2158 (__clearenv): Likewise.
2159 (__ptsname_r): Likewise.
2160 (__posix_openpt): Likewise.
2161 (__add_to_environ): Likewise.
2162 (__realpath): Add libc_hidden_proto.
2163 (__ecvt_r): Likewise.
2164 (__fcvt_r): Likewise.
2165 (__qecvt_r): Likewise.
2166 (__qfcvt_r): Likewise.
2167 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
2168 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
2170 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2173 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
2174 * include/time.h (__mktime_internal): Likewise.
2175 * libio/iolibio.h (__fopen_internal): Likewise.
2177 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
2179 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
2181 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
2182 Correct offset used to restore PIC register.
2184 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
2187 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
2188 code to load address of __getcontext_ret when generating PIC code.
2190 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
2192 * elf/Makefile (tests-static-internal): Add
2193 tst-tls1-static-non-pie.
2194 (LDFLAGS-tst-tls1-static-non-pie): New.
2195 * elf/tst-tls1-static-non-pie.c: New file.
2197 2017-09-29 Joseph Myers <joseph@codesourcery.com>
2199 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
2200 (asinh): Define using libm_alias_double.
2201 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
2202 (cbrt): Define using libm_alias_double.
2203 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
2204 <libm-alias-double.h>.
2205 (copysign): Define using libm_alias_double.
2206 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
2207 (erf): Define using libm_alias_double.
2209 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
2210 (expm1): Define using libm_alias_double.
2211 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
2212 (fabs): Define using libm_alias_double.
2213 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
2215 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
2216 <libm-alias-double.h>.
2217 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
2219 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
2220 <libm-alias-double.h>.
2221 (getpayload): Define using libm_alias_double.
2222 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
2223 <libm-alias-double.h>.
2224 (llrint): Define using libm_alias_double.
2225 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
2226 (lrint): Define using libm_alias_double.
2227 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
2228 <libm-alias-double.h>.
2229 (nextup): Define using libm_alias_double.
2230 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
2231 <libm-alias-double.h>.
2232 (roundeven): Define using libm_alias_double.
2233 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
2235 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
2236 <libm-alias-double.h>.
2237 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
2238 using libm_alias_double.
2239 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
2240 (cos): Define using libm_alias_double.
2242 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
2243 <libm-alias-double.h>.
2244 (sincos): Define using libm_alias_double.
2245 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
2246 (tanh): Define using libm_alias_double.
2247 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
2248 <libm-alias-double.h>.
2249 (totalorder): Define using libm_alias_double.
2250 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
2251 <libm-alias-double.h>.
2252 (totalordermag): Define using libm_alias_double.
2253 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
2255 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
2257 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
2258 <libm-alias-double.h>.
2259 (getpayload): Define using libm_alias_double.
2260 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
2261 <libm-alias-double.h>.
2262 (roundeven): Define using libm_alias_double.
2263 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
2264 <libm-alias-double.h>.
2265 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
2266 <libm-alias-double.h>.
2267 (totalorder): Define using libm_alias_double.
2268 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
2269 <libm-alias-double.h>.
2270 (totalordermag): Define using libm_alias_double.
2271 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
2272 libc compat symbol here.
2273 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
2274 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
2275 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
2276 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
2277 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
2278 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
2279 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
2280 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
2281 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
2282 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
2284 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2286 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
2287 _dl_relocate_static_pie instead of _dl_start to compute load
2288 address in static PIE. Return 0 if _DYNAMIC is undefined for
2291 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2293 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
2294 _DYNAMIC is undefined for static executable.
2296 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2298 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
2300 2017-09-29 Joseph Myers <joseph@codesourcery.com>
2302 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2304 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
2306 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2307 (__ieee754_lgamma_r): Use fabs rather than __fabs.
2308 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
2309 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2310 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2311 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
2312 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
2313 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
2314 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
2315 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
2316 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
2317 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2318 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
2319 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
2320 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2321 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2322 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
2324 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
2326 * math/bits/cmathcalls.h (cimag): Remove inline.
2327 (creal): Remove inline.
2328 (conj): Remove inline.
2330 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2332 * math/Makefile (type-float-routines): Add e_powf_log2_data.
2333 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
2334 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
2335 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
2336 (issignalingf_inline): Likewise.
2337 (POWF_LOG2_TABLE_BITS): Likewise.
2338 (POWF_LOG2_POLY_ORDER): Likewise.
2339 (POWF_SCALE_BITS): Likewise.
2340 (POWF_SCALE): Likewise.
2341 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
2342 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
2343 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
2345 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2347 * math/Makefile (type-float-routines): Add e_log2f_data.
2348 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
2349 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
2350 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
2351 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
2352 * sysdeps/i386/fpu/e_log2f_data.c: New file.
2353 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
2354 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
2356 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2358 * math/Makefile (type-float-routines): Add e_logf_data.
2359 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
2360 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
2361 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
2362 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
2363 * sysdeps/i386/fpu/e_logf_data.c: New file.
2364 * sysdeps/ia64/fpu/e_logf_data.c: New file.
2365 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
2367 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
2369 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
2370 undefined _DYNAMIC in PIE libc.a.
2371 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
2374 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
2376 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
2377 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
2378 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
2379 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
2380 (__signbit): Remove.
2381 (__signbitl): Remove.
2382 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
2383 (__signbit): Remove.
2384 (__signbitl): Remove.
2385 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
2386 (__signbit): Remove.
2387 (__signbitl): Remove.
2388 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
2389 (__signbit): Remove.
2390 (__signbitl): Remove.
2391 * sysdeps/tile/bits/mathinline.h: Delete file.
2392 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
2393 (__signbit): Remove.
2394 (__signbitl): Remove.
2396 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
2398 * math/math.h: Improve handling of C99 isgreater macros.
2399 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
2400 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
2401 * sysdeps/powerpc/bits/mathinline.h: Likewise.
2402 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2403 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
2405 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
2407 * sysdeps/aarch64/libm-test-ulps: Update.
2409 2017-09-28 Joseph Myers <joseph@codesourcery.com>
2412 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2413 math_opt_barrier on argument when doing arithmetic on it.
2414 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2415 Likewise. Use math_force_eval not math_opt_barrier after
2417 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
2418 math_opt_barrier on argument when doing arithmetic on it.
2419 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2422 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
2424 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
2426 (__freeifaddrs): Likewise.
2428 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2430 * include/dirent.h (__dirfd): New declaration.
2431 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
2433 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
2434 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
2435 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
2436 * include/unistd.h (__revoke): New declaration.
2437 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
2439 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
2440 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
2442 * include/dirent.h (__seekdir): New declaration.
2443 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
2444 redefine as weak alias.
2445 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
2447 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
2448 and use libc_hidden_def on them.
2449 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
2451 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
2452 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
2453 instead of getifaddrs and freeifaddrs.
2455 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
2458 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
2459 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
2460 (__dso_handle): Remove declaration.
2461 * dlfcn/tstatexit.c (__dso_handle): Removed.
2462 (main): Don't check __dso_handle.
2463 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
2464 (main): Don't check __dso_handle.
2465 * include/dso_handle.h: New file.
2466 * malloc/mtrace.c: Include <dso_handle.h>.
2467 (mtrace): Pass __dso_handle directly.
2468 * nptl/pthread_atfork.c: Include <dso_handle.h>.
2469 (__dso_handle): Remove declaration.
2470 (__pthread_atfork): Pass __dso_handle directly.
2471 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
2472 (__dso_handle): Removed.
2473 * posix/wordexp-test.c: Include <dso_handle.h>.
2474 (__dso_handle): Remove declaration.
2475 (__app_register_atfork): Pass __dso_handle directly.
2476 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
2477 (__dso_handle): Remove declaration.
2478 (at_quick_exit): Pass __dso_handle directly.
2479 * stdlib/atexit.c: Include <dso_handle.h>.
2480 (__dso_handle): Remove declaration.
2481 (atexit): Pass __dso_handle directly.
2482 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
2483 (__dso_handle): Removed.
2485 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2487 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
2490 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
2492 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
2493 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
2494 values to correct default value for given type.
2496 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
2499 * elf/Makefile (tests): Add tst-debug1.
2500 ($(objpfx)tst-debug1): New.
2501 ($(objpfx)tst-debug1.out): Likewise.
2502 ($(objpfx)tst-debug1mod1.so): Likewise.
2503 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
2505 * elf/tst-debug1.c: New file.
2507 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2509 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
2510 Define using __ifunc.
2512 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2514 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
2517 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2520 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
2522 2017-09-26 Florian Weimer <fweimer@redhat.com>
2524 * resolv/Makefile (tests-internal): Fix typo in comment.
2526 2017-09-26 Florian Weimer <fweimer@redhat.com>
2528 * resolv/nss_dns/dns-host.c: Fix typo in comment.
2530 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2532 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
2533 Use an union instead of a max_align_t array for __space,
2534 so that __space is the same size on all platforms.
2535 * malloc/scratch_buffer_grow_preserve.c
2536 (__libc_scratch_buffer_grow_preserve): Likewise.
2539 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
2541 * posix/Makefile (routines): Add glob-lstat-compat and
2542 glob64-lstat-compat.
2543 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
2544 * posix/glob-lstat-compat.c: New file.
2545 * posix/glob64-lstat-compat.c: Likewise.
2546 * posix/tst-glob_lstat_compat.c: Likewise.
2547 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
2548 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
2549 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
2550 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
2552 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
2553 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
2554 * posix/glob.c (glob_lstat): New function.
2555 (glob): Rename to __glob and add versioned symbol to 2.27.
2556 (glob_in_dir): Use glob_lstat.
2557 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
2558 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2559 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
2561 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
2562 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
2563 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
2564 gl_lstat on glob call.
2565 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
2567 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2568 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2569 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2570 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2571 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2572 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2573 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2574 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2575 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2576 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2577 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2578 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2581 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2583 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2584 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2585 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2586 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2587 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2590 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2591 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2592 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2594 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
2596 * configure.ac (AS): Require binutils 2.25 or later.
2597 * configure: Regenerated.
2599 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
2602 * stdlib/test-atexit-race-common.c (do_test): Minimize required
2605 2017-09-25 DJ Delorie <dj@redhat.com>
2608 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
2611 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2613 * sysdeps/ieee754/dbl-64/sincos32.h
2614 [SINCCOS32_H]: Remove define.
2615 [SINCOS32_H]: Define.
2617 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2619 * math/Versions (expf): New libm symbol at GLIBC_2.27.
2621 * math/w_exp2f.c: New file.
2622 * math/w_expf.c: New file.
2623 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
2624 * math/w_expf_compat.c (__expf_compat): Likewise.
2625 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
2626 * sysdeps/ia64/fpu/e_expf.S: Likewise.
2627 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
2628 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2629 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2630 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2631 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2632 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2633 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2634 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2635 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2636 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2637 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2638 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2647 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2648 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2649 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2650 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2651 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2656 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2657 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2658 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2660 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2662 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
2663 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
2664 (roundtoint, converttoint): Likewise.
2665 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
2666 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
2667 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
2668 * sysdeps/ieee754/flt-32/math_config.h: New file.
2669 * sysdeps/ieee754/flt-32/math_errf.c: New file.
2670 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
2671 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
2672 * sysdeps/i386/fpu/math_errf.c: New file.
2673 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
2674 * sysdeps/ia64/fpu/math_errf.c: New file.
2675 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
2676 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
2678 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2680 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
2681 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
2682 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
2683 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
2684 to make sure that these symbols are defined.
2685 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
2687 (__need_NULL): Do not define.
2688 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
2690 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
2691 CMGROUP_MAX, cmsgcred): Do not define.
2692 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
2694 * bits/socket.h: Likewise.
2695 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
2696 __gettimeofday instead of gettimeofday.
2697 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
2698 instead of settimeofday.
2700 2017-09-22 Joseph Myers <joseph@codesourcery.com>
2702 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
2703 (asinhf): Define using libm_alias_float.
2704 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
2705 (atanf): Define using libm_alias_float.
2706 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
2707 (cbrtf): Define using libm_alias_float.
2708 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
2709 (ceilf): Define using libm_alias_float.
2710 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
2711 <libm-alias-float.h>.
2712 (copysignf): Define using libm_alias_float.
2713 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
2714 (cosf): Define using libm_alias_float.
2715 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
2716 (erff): Define using libm_alias_float.
2718 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
2719 (expm1f): Define using libm_alias_float.
2720 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
2721 (fabsf): Define using libm_alias_float.
2722 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
2723 (floorf): Define using libm_alias_float.
2724 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
2725 (frexpf): Define using libm_alias_float.
2726 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
2728 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
2729 <libm-alias-float.h>.
2730 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
2732 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
2733 <libm-alias-float.h>.
2734 (getpayloadf): Define using libm_alias_float.
2735 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
2736 <libm-alias-float.h>.
2737 (llrintf): Define using libm_alias_float.
2738 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
2739 <libm-alias-float.h>.
2740 (llroundf): Define using libm_alias_float.
2741 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
2742 (logbf): Define using libm_alias_float.
2743 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
2744 (lrintf): Define using libm_alias_float.
2745 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
2746 (lroundf): Define using libm_alias_float.
2747 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
2748 (modff): Define using libm_alias_float.
2749 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
2750 <libm-alias-float.h>.
2751 (nearbyintf): Define using libm_alias_float.
2752 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
2753 <libm-alias-float.h>.
2754 (nextafterf): Define using libm_alias_float.
2755 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
2756 <libm-alias-float.h>.
2757 (nextupf): Define using libm_alias_float.
2758 * sysdeps/ieee754/flt-32/s_remquof.c: Include
2759 <libm-alias-float.h>.
2760 (remquof): Define using libm_alias_float.
2761 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
2762 (rintf): Define using libm_alias_float.
2763 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
2764 <libm-alias-float.h>.
2765 (roundevenf): Define using libm_alias_float.
2766 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
2767 (roundf): Define using libm_alias_float.
2768 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
2769 using libm_alias_float.
2770 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
2771 <libm-alias-float.h>.
2772 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
2773 Define using libm_alias_float.
2774 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
2775 <libm-alias-float.h>.
2776 (sincosf): Define using libm_alias_float.
2777 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
2778 (sinf): Define using libm_alias_float.
2779 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
2780 (tanf): Define using libm_alias_float.
2781 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
2782 (tanhf): Define using libm_alias_float.
2783 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
2784 <libm-alias-float.h>.
2785 (totalorderf): Define using libm_alias_float.
2786 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
2787 <libm-alias-float.h>.
2788 (totalordermagf): Define using libm_alias_float.
2789 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
2790 (truncf): Define using libm_alias_float.
2791 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
2793 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
2796 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2799 math/math.h: Let fpclassify use the builtin in C++ mode, even
2800 when optimazing for size.
2802 2017-09-22 Joseph Myers <joseph@codesourcery.com>
2804 * csu/Makefile (generated): Do not add version-info.h.
2805 (before-compile): Likewise.
2806 (all-Banner-files): Remove variable.
2807 ($(objpfx)version-info.h): Remove rule.
2808 * csu/version.c (banner): Do not include "version-info.h".
2809 * libidn/Banner: Remove.
2810 * manual/contrib.texi (Simon Josefsson): New entry.
2812 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2814 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2815 Remove conditionals on LDBL_MANT_DIG.
2816 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
2817 (__ieee754_lgammal_r): Likewise.
2819 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2821 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
2823 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
2824 _Float128 and L(). Replace _Float128 with long double and L(x)
2825 with xL, throughout the file.
2826 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2827 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2828 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2829 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
2831 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2833 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
2834 sysdeps/ieee754/ldbl-128ibm.
2835 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
2836 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
2837 of including it. Keep _Float128 and L() intact. These will be
2838 reviewed by a separate patch.
2839 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2840 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2841 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2842 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
2844 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
2847 (__finitef128): Define to __redirect___finitef128.
2848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
2849 (__isinff128): Define to __redirect___isinff128.
2850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
2851 (__isnanf128): Define to __redirect___isnanf128.
2853 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2855 * sysdeps/powerpc/powerpc64le/Makefile
2856 (CFLAGS-tst-strtod-nan-locale.c): New variable.
2857 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
2859 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
2860 Carlos O'Donell <carlos@redhat.com>
2863 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
2864 * stdlib/test-dlclose-exit-race.c: New file.
2865 * stdlib/test-dlclose-exit-race-helper.c: New file.
2866 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
2868 2017-09-21 Joseph Myers <joseph@codesourcery.com>
2870 * crypt/Banner: Remove file.
2871 * nptl/Banner: Likewise.
2872 * resolv/Banner: Likewise.
2873 * soft-fp/Banner: Likewise.
2874 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
2875 ($(objpfx)version.d): Remove dependency on banner.h.
2876 ($(objpfx)version.os): Likewise.
2877 * nptl/version.c (banner): Do not include banner.h.
2878 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
2879 Jelinek and BIND code.
2881 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
2882 Carlos O'Donell <carlos@redhat.com>
2884 * support/xdlfcn.h: New file.
2885 * support/xdlfcn.c: New file.
2886 * support/Makefile (libsupport-routines): Add xdlfcn.
2887 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
2889 2017-09-20 Joseph Myers <joseph@codesourcery.com>
2892 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2893 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
2894 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
2895 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
2896 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
2897 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
2898 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
2899 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
2901 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
2902 Ricky Zhou <rickyz@google.com>
2903 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
2906 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
2908 (__new_exitfn): Fail registration when we finished at_exit processing.
2909 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
2910 * stdlib/on_exit.c (__on_exit): Likewise.
2911 * stdlib/exit.c (__exit_funcs_done): New variable.
2912 (__run_exit_handlers): Use __exit_funcs_lock.
2913 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
2915 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
2916 (test-cxa_atexit-race, test-on_exit-race): New tests.
2917 * stdlib/test-atexit-race-common.c: New file.
2918 * stdlib/test-atexit-race.c: New file.
2919 * stdlib/test-at_quick_exit-race.c: New file.
2920 * stdlib/test-cxa_atexit-race.c: New file.
2921 * stdlib/test-on_exit-race.c: New file.
2923 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
2925 * benchtests/Makefile: Add exp2f and log2f benchmarks.
2926 * benchtests/exp2f-inputs: Copy of expf-inputs.
2927 * benchtests/log2f-inputs: Copy of logf-inputs.
2929 2017-09-19 Joseph Myers <joseph@codesourcery.com>
2931 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
2932 Explicitly take address of first element of array arguments in
2933 call to INLINE_SYSCALL.
2935 2017-09-19 Andreas Schwab <schwab@suse.de>
2938 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
2940 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
2942 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
2943 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
2944 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2945 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
2946 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2947 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
2948 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2949 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
2950 * posix/Makefile (tests): Add tst-fexecve.
2951 * posix/tst-fexecve.c: New file.
2953 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
2955 * benchtests/Makefile: Add logf benchmark.
2956 * benchtests/logf-inputs: Add reduced trace from wrf_r.
2958 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
2960 * benchtests/Makefile: Add expf benchmark.
2961 * benchtests/expf-inputs: Add reduced trace from wrf_r.
2963 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
2965 * csu/Makefile: Add -funwind-tables to libc-start.c.
2966 * debug/Makefile: Add -funwind-tables to backtrace.c.
2967 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
2968 * sysdeps/arm/Makefile: Likewise.
2969 * sysdeps/i386/Makefile: Likewise.
2970 * sysdeps/m68k/Makefile: Likewise.
2971 * sysdeps/mips/Makefile: Likewise.
2972 * sysdeps/nios2/Makefile: Likewise.
2973 * sysdeps/sh/Makefile: Likewise.
2974 * sysdeps/sparc/Makefile: Likewise.
2976 2017-09-19 Joseph Myers <joseph@codesourcery.com>
2978 * benchtests/Makefile (bench-math): Add trunc and truncf.
2979 (CFLAGS-bench-trunc.c): New variable.
2980 (CFLAGS-bench-truncf.c): Likewise.
2981 * benchtests/trunc-inputs: New file.
2982 * benchtests/truncf-inputs: Likewise.
2984 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2986 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
2988 2017-09-18 Joseph Myers <joseph@codesourcery.com>
2990 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
2991 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
2993 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
2994 (exp10l): Define as weak alias.
2995 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
2996 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
2998 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
2999 (remainderl): Define as weak alias.
3001 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
3002 (fmal): Define using libm_alias_ldouble.
3003 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
3004 (acoshl): Define using libm_alias_ldouble.
3005 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
3006 (acosl): Define using libm_alias_ldouble.
3007 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
3008 (asinl): Define using libm_alias_ldouble.
3009 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
3010 (atan2l): Define using libm_alias_ldouble.
3011 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
3012 (atanhl): Define using libm_alias_ldouble.
3013 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
3014 (coshl): Define using libm_alias_ldouble.
3015 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
3016 (exp10l): Define using libm_alias_ldouble.
3017 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
3018 (exp2l): Define using libm_alias_ldouble.
3019 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
3020 (expl): Define using libm_alias_ldouble.
3021 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
3022 (fmodl): Define using libm_alias_ldouble.
3023 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
3024 (hypotl): Define using libm_alias_ldouble.
3025 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
3026 (j0l): Define using libm_alias_ldouble.
3028 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
3029 (j1l): Define using libm_alias_ldouble.
3031 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
3032 (jnl): Define using libm_alias_ldouble.
3034 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
3035 (log10l): Define using libm_alias_ldouble.
3036 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
3037 (log2l): Define using libm_alias_ldouble.
3038 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
3039 (logl): Define using libm_alias_ldouble.
3040 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
3041 (powl): Define using libm_alias_ldouble.
3042 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
3043 (remainderl): Define using libm_alias_ldouble.
3044 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
3045 (sinhl): Define using libm_alias_ldouble.
3046 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
3047 (sqrtl): Define using libm_alias_ldouble.
3048 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
3049 (tgammal): Define using libm_alias_ldouble.
3050 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
3051 (exp10l): Do not use long_double_symbol here.
3052 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
3053 [LIBM_SVID_COMPAT] (remainderl): Likewise.
3054 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
3055 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
3056 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
3057 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
3058 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
3059 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
3060 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
3061 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
3062 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
3063 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
3064 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
3065 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
3066 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
3067 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
3068 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
3069 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
3070 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
3071 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
3072 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
3073 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
3075 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
3077 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
3078 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
3080 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
3082 * io/read.c (read): Add libc_hidden_weak.
3083 * sysdeps/mach/hurd/read.c (read): Likewise.
3084 * io/write.c (write): Likewise.
3085 * sysdeps/mach/hurd/write.c (write): Likewise.
3086 * io/pread64.c (__pread64): Likewise.
3087 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
3088 * posix/pread64.c (__pread64): Add libc_hidden_def.
3090 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3092 * benchtests/scripts/compare_strings.py: New option -g.
3093 (draw_graph): Print a message that a graph is being generated.
3094 (process_results): Generate graph only if -g is passed.
3095 (main): Process option -g.
3097 * benchtests/scripts/compare_strings.py (process_results):
3098 Better spacing for output.
3100 * benchtests/scripts/compare_strings.py: Use argparse.
3101 * benchtests/README: Document existence of compare_strings.py.
3103 2017-09-15 Joseph Myers <joseph@codesourcery.com>
3105 * math/s_fma.c: Include <libm-alias-double.h>.
3106 (fma): Define using libm_alias_double.
3107 * math/s_nextafter.c: Include <libm-alias-double.h>.
3108 (nextafter): Define using libm_alias_double.
3109 * math/w_acos_compat.c: Include <libm-alias-double.h>.
3110 (acos): Define using libm_alias_double.
3111 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
3112 (aocsh): Define using libm_alias_double.
3113 * math/w_asin_compat.c: Include <libm-alias-double.h>.
3114 (asin): Define using libm_alias_double.
3115 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
3116 (atan2): Define using libm_alias_double.
3117 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
3118 (atanh): Define using libm_alias_double.
3119 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
3120 (cosh): Define using libm_alias_double.
3121 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
3122 (exp10): Define using libm_alias_double.
3123 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
3124 (exp2): Define using libm_alias_double.
3125 * math/w_exp_compat.c: Include <libm-alias-double.h>.
3126 (exp): Define using libm_alias_double.
3127 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
3128 (fmod): Define using libm_alias_double.
3129 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
3130 (hypot): Define using libm_alias_double.
3131 * math/w_j0_compat.c: Include <libm-alias-double.h>.
3132 (j0): Define using libm_alias_double.
3134 * math/w_j1_compat.c: Include <libm-alias-double.h>.
3135 (j1): Define using libm_alias_double.
3137 * math/w_jn_compat.c: Include <libm-alias-double.h>.
3138 (jn): Define using libm_alias_double.
3140 * math/w_log10_compat.c: Include <libm-alias-double.h>.
3141 (log10): Define using libm_alias_double.
3142 * math/w_log2_compat.c: Include <libm-alias-double.h>.
3143 (log2): Define using libm_alias_double.
3144 * math/w_log_compat.c: Include <libm-alias-double.h>.
3145 (log): Define using libm_alias_double.
3146 * math/w_pow_compat.c: Include <libm-alias-double.h>.
3147 (pow): Define using libm_alias_double.
3148 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
3149 (remainder): Define using libm_alias_double.
3150 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
3151 (sinh): Define using libm_alias_double.
3152 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
3153 (sqrt): Define using libm_alias_double.
3154 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
3155 (tgamma): Define using libm_alias_double.
3156 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
3157 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
3158 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
3159 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
3160 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
3161 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
3162 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
3163 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
3164 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
3165 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
3166 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
3167 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
3168 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
3169 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
3170 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
3171 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
3172 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
3173 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
3174 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
3175 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
3176 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
3177 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
3178 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
3179 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
3180 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
3182 * math/e_acoshl.c: Remove.
3183 * math/e_acosl.c: Likewise.
3184 * math/e_asinl.c: Likewise.
3185 * math/e_atan2l.c: Likewise.
3186 * math/e_atanhl.c: Likewise.
3187 * math/e_coshl.c: Likewise.
3188 * math/e_expl.c: Likewise.
3189 * math/e_fmodl.c: Likewise.
3190 * math/e_gammal_r.c: Likewise.
3191 * math/e_hypotl.c: Likewise.
3192 * math/e_j0l.c: Likewise.
3193 * math/e_j1l.c: Likewise.
3194 * math/e_jnl.c: Likewise.
3195 * math/e_lgammal_r.c: Likewise.
3196 * math/e_log10l.c: Likewise.
3197 * math/e_log2l.c: Likewise.
3198 * math/e_logl.c: Likewise.
3199 * math/e_powl.c: Likewise.
3200 * math/e_rem_pio2l.c: Likewise.
3201 * math/e_sinhl.c: Likewise.
3202 * math/e_sqrtf128.c: Likewise.
3203 * math/e_sqrtl.c: Likewise.
3204 * math/k_cosl.c: Likewise.
3205 * math/k_sinl.c: Likewise.
3206 * math/k_tanl.c: Likewise.
3207 * math/s_asinhl.c: Likewise.
3208 * math/s_atanl.c: Likewise.
3209 * math/s_cbrtl.c: Likewise.
3210 * math/s_erfl.c: Likewise.
3211 * math/s_expm1l.c: Likewise.
3212 * math/s_log1pl.c: Likewise.
3213 * math/s_tanhl.c: Likewise.
3215 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3218 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
3219 [$(subdir) = math] (sysdep_calls): New variable. Has the
3220 previous contents of sysdep_routines, but re-sorted..
3221 [$(subdir) = math] (sysdep_routines): Re-use the contents from
3223 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
3224 defined in sysdep_calls and replace by the respective m_* names.
3225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
3226 (compat_symbol): Undefine to avoid duplicated compat symbols in
3229 2017-09-15 Joseph Myers <joseph@codesourcery.com>
3231 * math/s_fmaf.c: Include <libm-alias-float.h>.
3232 (fmaf): Define using libm_alias_float.
3233 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
3234 (acosf): Define using libm_alias_float.
3235 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
3236 (acoshf): Define using libm_alias_float.
3237 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
3238 (asinf): Define using libm_alias_float.
3239 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
3240 (atan2f): Define using libm_alias_float.
3241 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
3242 (atanhf): Define using libm_alias_float.
3243 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
3244 (coshf): Define using libm_alias_float.
3245 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
3246 (exp10f): Define using libm_alias_float.
3247 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
3248 (fmodf): Define using libm_alias_float.
3249 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
3250 (hypotf): Define using libm_alias_float.
3251 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
3252 (j0f): Define using libm_alias_float.
3254 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
3255 (j1f): Define using libm_alias_float.
3257 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
3258 (jnf): Define using libm_alias_float.
3260 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
3261 (log10f): Define using libm_alias_float.
3262 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
3263 (log2f): Define using libm_alias_float.
3264 * math/w_logf_compat.c: Include <libm-alias-float.h>.
3265 (logf): Define using libm_alias_float.
3266 * math/w_powf_compat.c: Include <libm-alias-float.h>.
3267 (powf): Define using libm_alias_float.
3268 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
3269 (remainderf): Define using libm_alias_float.
3270 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
3271 (sinhf): Define using libm_alias_float.
3272 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
3273 (sqrtf): Define using libm_alias_float.
3274 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
3275 (tgammaf): Define using libm_alias_float.
3277 2017-09-14 Joseph Myers <joseph@codesourcery.com>
3279 * include/math.h (roundeven): Change hidden_proto call to
3281 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
3283 [NO_LONG_DOUBLE] (__j0l): New strong alias.
3284 (y0): Rename to __y0 and define as weak alias.
3285 [NO_LONG_DOUBLE] (__y0l): New strong alias.
3286 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
3288 (y0f): Rename to __y0f and define as weak alias.
3289 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
3291 [NO_LONG_DOUBLE] (__j1l): New strong alias.
3292 (y1): Rename to __y1 and define as weak alias.
3293 [NO_LONG_DOUBLE] (__y1l): New strong alias.
3294 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
3296 (y1f): Rename to __y1f and define as weak alias.
3297 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
3299 [NO_LONG_DOUBLE] (__jnl): New strong alias.
3300 (yn): Rename to __yn and define as weak alias.
3301 [NO_LONG_DOUBLE] (__ynl): New strong alias.
3302 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
3304 (ynf): Rename to __ynf and define as weak alias.
3305 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
3306 (fromfp): Define as weak alias.
3307 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
3308 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
3309 (fromfpx): Define as weak alias.
3310 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
3311 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
3312 __getpayload and define as weak alias.
3313 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
3314 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
3315 __roundeven and define as weak alias.
3316 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
3317 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
3319 (setpayload): Define as weak alias.
3320 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
3321 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
3323 (setpayloadsig): Define as weak alias.
3324 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
3325 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
3326 __totalorder and define as weak alias.
3327 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
3328 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
3329 to __totalordermag and define as weak alias.
3330 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
3331 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
3332 (ufromfp): Define as weak alias.
3333 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
3334 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
3336 (ufromfpx): Define as weak alias.
3337 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
3338 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
3339 Rename to __getpayload and define as weak alias.
3340 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
3341 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
3342 Rename to __roundeven and define as weak alias.
3343 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
3344 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
3345 Rename to __totalorder and define as weak alias.
3346 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
3347 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
3348 (totalordermag): Rename to __totalordermag and define as weak
3350 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
3351 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
3353 (__roundevenl): Likewise.
3354 (__totalorderl): Likewise.
3355 (__totalordermagl): Likewise
3356 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
3358 (fromfpf128): Define as weak alias.
3359 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
3361 (fromfpxf128): Define as weak alias.
3362 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
3364 (setpayloadf128): Define as weak alias.
3365 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
3366 __setpayloadsigf128.
3367 (setpayloadsigf128): Define as weak alias.
3368 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
3370 (ufromfpf128): Define as weak alias.
3371 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
3373 (ufromfpxf128): Define as weak alias.
3374 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
3375 (fromfpf): Define as weak alias.
3376 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
3378 (fromfpxf): Define as weak alias.
3379 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
3380 __getpayloadf and define as weak alias.
3381 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
3382 __roundevenf and define as weak alias.
3383 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
3385 (setpayloadf): Define as weak alias.
3386 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
3388 (setpayloadsigf): Define as weak alias.
3389 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
3390 __totalorderf and define as weak alias.
3391 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
3392 Rename to __totalordermagf and define as weak alias.
3393 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
3395 (ufromfpf): Define as weak alias.
3396 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
3398 (ufromfpxf): Define as weak alias.
3399 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
3401 (fromfpl): Define as weak alias.
3402 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
3404 (fromfpxl): Define as weak alias.
3405 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
3406 to __getpayloadl and define as weak alias.
3407 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
3408 __roundevenl and define as weak alias.
3409 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
3411 (setpayloadl): Define as weak alias.
3412 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
3414 (setpayloadsigl): Define as weak alias.
3415 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
3416 to __totalorderl and define as weak alias.
3417 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
3418 Rename to __totalordermagl and define as weak alias.
3419 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
3421 (ufromfpl): Define as weak alias.
3422 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
3424 (ufromfpxl): Define as weak alias.
3425 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
3427 (fromfpl): Define as weak alias.
3428 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
3430 (fromfpxl): Define as weak alias.
3431 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
3432 Rename to __getpayloadl and define as weak alias.
3433 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
3434 to __roundevenl and define as weak alias. Call __roundeven
3435 instead of roundeven.
3436 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
3438 (setpayloadl): Define as weak alias.
3439 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
3441 (setpayloadsigl): Define as weak alias.
3442 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
3443 Rename to __totalorderl and define as weak alias.
3444 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
3445 Rename to __totalordermagl and define as weak alias.
3446 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
3448 (ufromfpl): Define as weak alias.
3449 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
3451 (ufromfpxl): Define as weak alias.
3452 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
3454 (fromfpl): Define as weak alias.
3455 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
3457 (fromfpxl): Define as weak alias.
3458 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
3459 __getpayloadl and define as weak alias.
3460 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
3461 __roundevenl and define as weak alias.
3462 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
3464 (setpayloadl): Define as weak alias.
3465 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
3467 (setpayloadsigl): Define as weak alias.
3468 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
3469 __totalorderl and define as weak alias.
3470 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
3471 Rename to __totalordermagl and define as weak alias.
3472 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
3474 (ufromfpl): Define as weak alias.
3475 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
3477 (ufromfpxl): Define as weak alias.
3479 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3481 * benchtests/bench-string.h (realloc_bufs): New function.
3482 (test_init): Call it.
3483 * benchtests/bench-memset-large.c (do_test): Likewise.
3484 * benchtests/bench-memset.c (do_test): Likewise.
3486 * benchtests/bench-memset-large.c: Print output in JSON
3488 * benchtests/bench-memset.c: Likewise.
3490 2017-09-14 Mike FABIAN <mfabian@redhat.com>
3493 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
3494 * iconvdata/Makefile: Add IBM858.
3495 * iconvdata/gconv-modules: Likewise.
3496 * iconvdata/tst-tables.sh: Likewise.
3497 * iconvdata/ibm858.c: New file.
3498 * localedata/charmaps/IBM858: Likewise.
3500 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
3503 * locales/niu_NZ (LC_TIME): copy "niu_NU".
3504 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
3506 2017-09-14 Mike FABIAN <mfabian@redhat.com>
3509 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
3510 and add tel_int_fmt.
3512 2017-09-14 Joseph Myers <joseph@codesourcery.com>
3514 * sysdeps/generic/libm-alias-float128.h: New file.
3515 * sysdeps/generic/math-type-macros-float128.h: Include
3516 <libm-alias-float128.h>.
3517 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
3519 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3521 * sysdeps/generic/libm-alias-ldouble.h: New file.
3522 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
3523 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
3524 * sysdeps/generic/math-type-macros-ldouble.h: Include
3525 <libm-alias-ldouble.h>.
3526 [!declare_mgen_alias] (declare_mgen_alias): Define to use
3529 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3531 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
3532 * math/w_exp_compat.c: ... here.
3533 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
3534 * math/w_expf_compat.c: ... here.
3535 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
3536 * math/w_expl_compat.c: ... here.
3537 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
3538 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
3539 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
3540 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
3542 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3544 * math/w_scalbln_template.c (strong_alias): Do not undefine and
3546 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
3548 (ldexpl): Only define as compat symbol for libc, not libm.
3549 (scalbnl): Define as compat symbol for libc here.
3550 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
3551 define for [IS_IN (libc)].
3552 (__ldexpl_2): Remove alias.
3553 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
3554 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
3555 name in long_double_symbol call.
3556 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
3557 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3558 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3559 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
3560 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
3562 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
3563 Define as compat symbol.
3565 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3567 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
3568 * sysdeps/unix/sysv/linux/alpha/Makefile
3569 [$(subdir) = csu] (sysdep_routines): Remove rule.
3571 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3573 * sysdeps/generic/libm-alias-double.h: New file.
3574 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
3575 * sysdeps/generic/math-type-macros-double.h: Include
3576 <libm-alias-double.h>.
3577 [declare_mgen_alias] (declare_mgen_alias): Define to use
3579 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
3580 (M_LIBM_NEED_COMPAT): Remove macro.
3581 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
3582 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
3583 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
3585 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3586 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3587 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3588 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3589 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3590 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3591 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3592 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3593 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3594 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3595 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3596 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3597 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3598 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3599 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3600 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3601 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3602 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3603 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3604 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3605 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3606 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3607 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3608 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3609 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3610 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3611 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3612 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
3613 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
3615 (declare_mgen_alias): New macro.
3616 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
3617 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
3618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
3619 (M_LIBM_NEED_COMPAT): Remove macro.
3620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
3621 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
3623 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
3624 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
3626 2017-09-12 Joseph Myers <joseph@codesourcery.com>
3628 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
3629 (declare_mgen_alias_2): Remove.
3630 * sysdeps/generic/math-type-macros-double.h
3631 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
3633 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
3635 (ldexp): Define with declare_mgen_alias.
3638 2017-09-12 Steve Ellcey <sellcey@cavium.com>
3640 * grp/initgroups.c: Include config.h.
3641 (DEFAULT_CONFIG): New macro.
3642 (internal_getgrouplist): Use DEFAULT_CONFIG.
3643 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3644 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
3645 (DEFAULT_DEFCONFIG): New macro.
3646 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
3647 * nss/grp-lookup.c: Include config.h
3648 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
3649 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
3650 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
3651 * manual/nss.texi: Update default values section.
3653 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
3656 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
3658 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
3659 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
3660 Handle MathVec_Prefer_No_AVX512.
3661 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
3662 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
3665 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
3667 * posix/sched_primax.c (__sched_get_priority_max): Add
3669 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
3670 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3671 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
3672 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
3673 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
3674 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
3675 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
3676 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
3679 2017-09-11 Joseph Myers <joseph@codesourcery.com>
3681 * sysdeps/generic/libm-alias-float.h: New file.
3682 * sysdeps/generic/math-type-macros-float.h: Include
3683 <libm-alias-float.h>.
3684 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
3686 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
3689 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
3690 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
3691 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
3692 (HWCAP_IMPORTANT): Likewise.
3693 (HWCAP_X86_64): New enum.
3694 (HWCAP_X86_AVX512_1): Updated.
3695 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
3696 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
3697 (modules-names): Add x86_64/tst-x86_64mod-1.
3698 (LDFLAGS-tst-x86_64mod-1.so): New.
3699 ($(objpfx)tst-x86_64-1): Likewise.
3700 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
3701 (tst-x86_64-1-clean): Likewise.
3702 * sysdeps/x86_64/tst-x86_64-1.c: New file.
3703 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
3705 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
3707 * po/sv.po: Update translations.
3708 * po/fr.po: Likewise.
3710 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3712 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
3714 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
3716 * elf/rtld-Rules: Fix $(error) use.
3718 2017-09-09 Mike FABIAN <mfabian@redhat.com>
3721 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
3722 * locale/iso-639.def: Change “Bengali” to “Bangla”.
3723 * localedata/locales/bn_BD: “Bengali” was still used in some
3724 comments. Change it to “Bangla”.
3726 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
3728 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
3730 2017-09-08 Steve Ellcey <sellcey@cavium.com>
3732 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
3733 thunderx2t99p1 to list of cpu names.
3734 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3735 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
3737 2017-09-08 Steve Ellcey <sellcey@cavium.com>
3739 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
3740 Use strcmp instead of tunable_is_name.
3742 2017-09-08 Joseph Myers <joseph@codesourcery.com>
3744 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3745 (F_GET_RW_HINT): New macro.
3746 [__USE_GNU] (F_SET_RW_HINT): Likewise.
3747 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
3748 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
3749 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
3750 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
3751 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
3752 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
3753 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
3754 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
3756 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3757 (F_ADD_SEALS): New macro.
3758 [__USE_GNU] (F_GET_SEALS): Likewise.
3759 [__USE_GNU] (F_SEAL_SEAL): Likewise.
3760 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
3761 [__USE_GNU] (F_SEAL_GROW): Likewise.
3762 [__USE_GNU] (F_SEAL_WRITE): Likewise.
3764 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3766 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
3767 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
3768 * posix/glob_internal.h (__glob_pattern_type):
3769 * posix/glob.c (glob):
3770 * posix/glob_pattern_p.c (__glob_pattern_p):
3773 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
3774 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3775 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
3776 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
3777 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
3778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
3779 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
3780 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
3781 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
3782 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3783 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
3784 * sysdeps/wordsize-64/glob.c: Likewise.
3785 * sysdeps/wordsize-64/glob64.c: Likewise.
3786 * sysdeps/wordsize-64/globfree.c: Likewise.
3787 * sysdeps/wordsize-64/globfree64.c: Likewise.
3788 * sysdeps/unix/sysv/linux/glob.c: New file.
3789 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
3790 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
3791 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
3792 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
3793 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
3794 adds !GLOB_NO_OLD_VERSION as an extra condition.
3795 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
3796 using relative path instead of absolute one.
3797 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
3798 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
3799 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3800 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
3801 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
3802 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
3805 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
3806 (glob): Use the same scratch buffer for both getlogin_r and
3807 getpwnam_r. Don’t require preallocation of the login name. This
3808 simplifies storage allocation, and corrects the handling of
3812 * posix/glob.c (glob): Port recent patches to platforms
3814 (glob): Fix longstanding misuse of errno after getpwnam_r, which
3815 returns an error number rather than setting errno.
3817 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
3818 instead of GCC extension.
3819 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
3820 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
3821 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
3825 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
3826 * posix/bug-glob1.c: Remove file.
3827 * posix/tst-glob_symlinks.c: New file.
3828 * posix/glob.c (__lstat64): New macro.
3829 (is_dir): New function.
3830 (glob, glob_in_dir): Match symlinks even if they are dangling.
3831 (link_stat, link_exists_p): Remove. All uses removed.
3835 * posix/glob.c (struct readdir_result): Remove skip_entry member.
3836 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
3840 * posix/Makefile (routines): Add globfree, globfree64, and
3842 * posix/flexmember.h: New file.
3843 * posix/glob_internal.h: Likewise.
3844 * posix/glob_pattern_p.c: Likewise.
3845 * posix/globfree.c: Likewise.
3846 * posix/globfree64.c: Likewise.
3847 * sysdeps/gnu/globfree64.c: Likewise.
3848 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
3849 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
3850 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
3851 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
3852 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
3853 * sysdeps/wordsize-64/globfree.c: Likewise.
3854 * sysdeps/wordsize-64/globfree64.c: Likewise.
3855 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
3856 [NDEBUG): Remove comments.
3857 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
3858 (dirent_type): New type. Use uint_fast8_t not
3859 uint8_t, as C99 does not require uint8_t.
3860 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
3861 (struct readdir_result): Use dirent_type. Do not define skip_entry
3862 unless it is needed; this saves a byte on platforms lacking d_ino.
3863 (readdir_result_type, readdir_result_skip_entry):
3864 New functions, replacing ...
3865 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
3866 these functions, which were removed. This makes the callers
3867 easier to read. All callers changed.
3868 (D_INO_TO_RESULT): Now empty if there is no d_ino.
3869 (size_add_wrapv, glob_use_alloca): New static functions.
3870 (glob, glob_in_dir): Check for size_t overflow in several places,
3871 and fix some size_t checks that were not quite right.
3872 Remove old code using SHELL since Bash no longer
3874 (glob, prefix_array): Separate MS code better.
3875 (glob_in_dir): Remove old Amiga and VMS code.
3876 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
3878 (glob_in_dir): Do not rely on undefined behavior in accessing
3879 struct members beyond their bounds. Use a flexible array member
3881 (link_stat): Rename from link_exists2_p and return -1/0 instead of
3882 0/1. Caller changed.
3883 (glob): Fix memory leaks.
3884 * posix/glob64 (globfree64): Move to separate file.
3885 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
3886 (globfree64): Remove hidden alias.
3887 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
3889 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
3891 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
3893 Move compat code to separate file.
3894 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
3897 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
3899 * resolv/tst-resolv-qtypes.c (domain): Changed to
3900 "const char domain[] =".
3902 2017-09-07 Joseph Myers <joseph@codesourcery.com>
3904 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3907 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
3908 (TCP_MD5SIG_EXT): Likewise.
3909 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
3910 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
3911 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
3913 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
3915 2017-09-07 Mike FABIAN <mfabian@redhat.com>
3917 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
3919 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
3922 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
3924 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3926 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
3927 before assuming that the file is empty. Avoid testing buffer content
3930 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3933 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
3935 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
3937 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
3939 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
3941 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
3943 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
3945 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
3948 2017-09-06 Florian Weimer <fweimer@redhat.com>
3950 * malloc/dynarray_emplace_enlarge.c
3951 (__libc_dynarray_emplace_enlarge): Add missing else.
3953 2017-09-06 Florian Weimer <fweimer@redhat.com>
3956 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
3957 case of failure to obtain the global conf object.
3959 2017-09-06 Florian Weimer <fweimer@redhat.com>
3962 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
3963 dynarray allocation failure.
3965 2017-09-06 Florian Weimer <fweimer@redhat.com>
3967 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
3968 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
3969 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
3971 (response): Call them. Add 'p', '6' flag processing.
3972 (test_reverse): New function.
3973 (test_get2_any): Call it.
3974 (test_no_inet6): Add 'p' test.
3975 (test_inet6): Likewise.
3977 2017-09-06 Florian Weimer <fweimer@redhat.com>
3979 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
3980 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
3982 (test_gai): Adjust query names. Add additional tests.
3983 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
3984 test_get2. Adjust query names. Add additional tests.
3985 (test_no_inet6): New function, extracted from threadfunc.
3986 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
3987 Add additional tests.
3989 2017-09-06 Mike FABIAN <mfabian@redhat.com>
3992 * localedata/unicode-gen/utf8_gen.py: Set the width for
3993 characters with Prepended_Concatenation_Mark property to 1
3994 * localedata/charmaps/UTF-8: Updated using the improved script.
3996 2017-09-06 Mike FABIAN <mfabian@redhat.com>
3999 * localedata/unicode-gen/utf8_gen.py: Improve the script to
4000 use the range notation for all ranges of neighbouring characters
4001 with the same width.
4003 2017-09-05 Joseph Myers <joseph@codesourcery.com>
4005 * sysdeps/generic/math-type-macros-double.h: Include
4006 <math-svid-compat.h>.
4007 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
4008 * sysdeps/generic/math-type-macros-float.h: Include
4009 <math-svid-compat.h>.
4010 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
4011 * sysdeps/generic/math-type-macros-ldouble.h: Include
4012 <math-svid-compat.h>.
4013 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
4014 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
4016 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
4017 * math/w_acosf_compat.c: Likewise.
4018 * math/w_acosh_compat.c: Likewise.
4019 * math/w_acoshf_compat.c: Likewise.
4020 * math/w_acoshl_compat.c: Likewise.
4021 * math/w_acosl_compat.c: Likewise.
4022 * math/w_asin_compat.c: Likewise.
4023 * math/w_asinf_compat.c: Likewise.
4024 * math/w_asinl_compat.c: Likewise.
4025 * math/w_atan2_compat.c: Likewise.
4026 * math/w_atan2f_compat.c: Likewise.
4027 * math/w_atan2l_compat.c: Likewise.
4028 * math/w_atanh_compat.c: Likewise.
4029 * math/w_atanhf_compat.c: Likewise.
4030 * math/w_atanhl_compat.c: Likewise.
4031 * math/w_cosh_compat.c: Likewise.
4032 * math/w_coshf_compat.c: Likewise.
4033 * math/w_coshl_compat.c: Likewise.
4034 * math/w_exp10_compat.c: Likewise.
4035 * math/w_exp10f_compat.c: Likewise.
4036 * math/w_exp10l_compat.c: Likewise.
4037 * math/w_exp2_compat.c: Likewise.
4038 * math/w_exp2f_compat.c: Likewise.
4039 * math/w_exp2l_compat.c: Likewise.
4040 * math/w_fmod_compat.c: Likewise.
4041 * math/w_fmodf_compat.c: Likewise.
4042 * math/w_fmodl_compat.c: Likewise.
4043 * math/w_hypot_compat.c: Likewise.
4044 * math/w_hypotf_compat.c: Likewise.
4045 * math/w_hypotl_compat.c: Likewise.
4046 * math/w_j0_compat.c: Likewise.
4047 * math/w_j0f_compat.c: Likewise.
4048 * math/w_j0l_compat.c: Likewise.
4049 * math/w_j1_compat.c: Likewise.
4050 * math/w_j1f_compat.c: Likewise.
4051 * math/w_j1l_compat.c: Likewise.
4052 * math/w_jn_compat.c: Likewise.
4053 * math/w_jnf_compat.c: Likewise.
4054 * math/w_jnl_compat.c: Likewise.
4055 * math/w_lgamma_r_compat.c: Likewise.
4056 * math/w_lgammaf_r_compat.c: Likewise.
4057 * math/w_lgammal_r_compat.c: Likewise.
4058 * math/w_log10_compat.c: Likewise.
4059 * math/w_log10f_compat.c: Likewise.
4060 * math/w_log10l_compat.c: Likewise.
4061 * math/w_log2_compat.c: Likewise.
4062 * math/w_log2f_compat.c: Likewise.
4063 * math/w_log2l_compat.c: Likewise.
4064 * math/w_log_compat.c: Likewise.
4065 * math/w_logf_compat.c: Likewise.
4066 * math/w_logl_compat.c: Likewise.
4067 * math/w_pow_compat.c: Likewise.
4068 * math/w_powf_compat.c: Likewise.
4069 * math/w_powl_compat.c: Likewise.
4070 * math/w_remainder_compat.c: Likewise.
4071 * math/w_remainderf_compat.c: Likewise.
4072 * math/w_remainderl_compat.c: Likewise.
4073 * math/w_sinh_compat.c: Likewise.
4074 * math/w_sinhf_compat.c: Likewise.
4075 * math/w_sinhl_compat.c: Likewise.
4076 * math/w_sqrt_compat.c: Likewise.
4077 * math/w_sqrtf_compat.c: Likewise.
4078 * math/w_sqrtl_compat.c: Likewise.
4079 * math/w_tgamma_compat.c: Likewise.
4080 * math/w_tgammaf_compat.c: Likewise.
4081 * math/w_tgammal_compat.c: Likewise.
4082 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
4084 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
4085 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
4087 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
4088 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
4090 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
4091 * sysdeps/i386/fpu/w_sqrt.c: New file.
4092 * sysdeps/ia64/fpu/w_acos.c: Likewise.
4093 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
4094 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
4095 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
4096 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
4097 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
4098 * sysdeps/ia64/fpu/w_asin.c: Likewise.
4099 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
4100 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
4101 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
4102 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
4103 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
4104 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
4105 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
4106 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
4107 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
4108 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
4109 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
4110 * sysdeps/ia64/fpu/w_exp.c: Likewise.
4111 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
4112 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
4113 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
4114 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
4115 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
4116 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
4117 * sysdeps/ia64/fpu/w_expf.c: Likewise.
4118 * sysdeps/ia64/fpu/w_expl.c: Likewise.
4119 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
4120 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
4121 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
4122 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
4123 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
4124 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
4125 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
4126 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
4127 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
4128 * sysdeps/ia64/fpu/w_log.c: Likewise.
4129 * sysdeps/ia64/fpu/w_log10.c: Likewise.
4130 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
4131 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
4132 * sysdeps/ia64/fpu/w_log2.c: Likewise.
4133 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
4134 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
4135 * sysdeps/ia64/fpu/w_logf.c: Likewise.
4136 * sysdeps/ia64/fpu/w_logl.c: Likewise.
4137 * sysdeps/ia64/fpu/w_pow.c: Likewise.
4138 * sysdeps/ia64/fpu/w_powf.c: Likewise.
4139 * sysdeps/ia64/fpu/w_powl.c: Likewise.
4140 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
4141 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
4142 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
4143 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
4144 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
4145 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
4146 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
4147 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
4148 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
4149 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
4150 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
4151 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
4152 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
4154 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
4155 * sysdeps/ieee754/k_standard.c: Likewise.
4156 * sysdeps/ieee754/k_standardf.c: Likewise.
4157 * sysdeps/ieee754/k_standardl.c: Likewise.
4158 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
4159 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
4160 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
4161 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
4162 long_double_symbol call on [LIBM_SVID_COMPAT].
4163 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
4164 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
4165 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
4166 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
4167 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
4168 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
4169 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
4170 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
4171 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
4172 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
4173 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
4174 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
4175 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
4176 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
4177 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
4178 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
4179 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
4180 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
4181 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
4182 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
4183 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
4184 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
4186 2017-09-05 Steve Ellcey <sellcey@cavium.com>
4188 * include/shlib-compat.h (TEST_COMPAT): New Macro.
4189 * malloc/tst-mallocstate.c: Convert from test-skeleton
4190 to test-driver. Ifdef code using TEST_COMPAT macro.
4191 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
4192 * math/test-matherr.c: Likewise.
4194 2017-09-05 Joseph Myers <joseph@codesourcery.com>
4197 * debug/pcprofiledump.c (main): Use byte-swapped mask when
4198 comparing word with byte-swapped constant.
4200 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
4203 * locale/iso-639.def: add Miskito.
4204 * localedata/SUPPORTED: Add miq_NI/UTF-8.
4205 * localedata/locales/miq_NI: New file.
4207 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
4210 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
4211 (__mkdir): Likewise.
4212 * io/chmod.c (__chmod): Add libc_hidden_def.
4213 * io/mkdir.c (__mkdir): Likewise.
4214 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
4215 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
4216 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
4217 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
4219 2017-09-04 Joseph Myers <joseph@codesourcery.com>
4221 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4225 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
4226 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
4228 2017-09-04 Florian Weimer <fweimer@redhat.com>
4230 * math/math.h: Issue warning if log is defined.
4232 2017-09-04 Joseph Myers <joseph@codesourcery.com>
4234 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4235 kernel version to 4.13.
4237 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4239 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
4240 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
4242 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
4243 just <bits/types.h>.
4244 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
4245 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
4246 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
4247 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
4248 * misc/preadv2.c: Include <errno.h>.
4249 * misc/preadv64v2.c: Include <errno.h>.
4250 * misc/pwritev2.c: Include <errno.h>.
4251 * misc/pwritev64v2.c: Include <errno.h>.
4252 * sysdeps/posix/preadv2.c: Include <errno.h>.
4253 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
4254 Fix <unistd.h> inclusion.
4255 * sysdeps/posix/pwritev2.c: Include <errno.h>.
4256 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
4257 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
4258 __strtoul_internal): New functions.
4259 * sysdeps/posix/pause.c: Include <sigsetops.h>.
4260 * sysdeps/posix/system.c: Include <sigsetops.h>.
4261 * sysdeps/mach/hurd/i386/Makefile
4262 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
4263 [$(subdir) = csu] (sysdep-only-routines): Likewise.
4264 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4265 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
4266 __feraiseexcept_renamed to feraiseexcept instead of
4268 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
4269 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
4270 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
4271 RWF_NOWAIT): Define to 0 if undefined already.
4272 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
4274 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
4275 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
4277 2017-09-01 Joseph Myers <joseph@codesourcery.com>
4279 * manual/math.texi (pow10): Do not document.
4282 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
4283 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
4284 * math/libm-test-exp10.inc (pow10_test): Remove.
4285 (do_test): Do not call pow10.
4286 * math/w_exp10_compat.c (pow10): Make into compat symbol.
4287 [NO_LONG_DOUBLE] (pow10l): Likewise.
4288 * math/w_exp10f_compat.c (pow10f): Likewise.
4289 * math/w_exp10l_compat.c (pow10l): Likewise.
4290 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
4291 (pow10): Make into compat symbol.
4292 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
4293 (pow10f): Make into compat symbol.
4294 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
4295 (pow10l): Make into compat symbol.
4296 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
4298 (CFLAGS-nldbl-pow10.c): Remove variable..
4299 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
4300 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
4301 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
4302 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
4303 Undefine and redefine.
4304 (pow10l): Make into compat symbol.
4305 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
4306 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4307 * sysdeps/arm/libm-test-ulps: Likewise.
4308 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
4309 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4310 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4311 * sysdeps/microblaze/libm-test-ulps: Likewise.
4312 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4313 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4314 * sysdeps/nios2/libm-test-ulps: Likewise.
4315 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4316 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4317 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4318 * sysdeps/sh/libm-test-ulps: Likewise.
4319 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4320 * sysdeps/tile/libm-test-ulps: Likewise.
4321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4323 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4325 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
4327 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4329 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
4330 "../ChangeLog.old/ChangeLog.8".
4331 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
4332 "../ChangeLog.old/ChangeLog.14".
4334 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4336 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
4339 2017-09-01 Joseph Myers <joseph@codesourcery.com>
4341 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
4343 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4345 * csu/version.c (banner): Remove "by Roland McGrath et al.".
4346 * nptl/Banner: Remove "by Ulrich Drepper et al.".
4348 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4350 * stdlib/tst-atexit-common.c (do_test): Test support for at least
4353 2017-09-01 Zack Weinberg <zackw@panix.com>
4355 * math/math.h (HUGE_VAL): Improve commentary.
4357 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4358 Andreas Schwab <schwab@suse.de>
4361 * include/stdio.h (__gen_tempfd): New function.
4362 * stdio-common/Makefile (routines): Add gentempfd.
4363 * stdio-common/gentempfd.c: New file.
4364 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
4365 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
4368 2017-09-01 Florian Weimer <fweimer@redhat.com>
4372 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
4373 result to determine success or failure, not the errno value.
4374 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
4375 (tst-nss-files-hosts-erange): Link with -ldl.
4376 * nss/tst-nss-files-hosts-erange.c: New file.
4377 * nss/tst-resolv-basic.c (response): Handle nodata.example.
4378 (do_test): Add NO_DATA tests.
4379 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
4382 2017-09-01 Florian Weimer <fweimer@redhat.com>
4385 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
4386 coming from gethostbyname2_r.
4388 2017-09-01 Florian Weimer <fweimer@redhat.com>
4390 * support/namespace.h (struct support_chroot_configuration): Add
4392 (struct support_chroot): Add path_hosts, path_host_conf.
4393 * support/support_chroot.c (write_file): New function.
4394 (support_chroot_create): Call it to process /etc/resolv.conf,
4395 /etc/hosts, /etc/host.conf.
4396 (support_chroot_free): Update.
4398 2017-09-01 Florian Weimer <fweimer@redhat.com>
4400 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
4401 status indicates it is set.
4403 2017-09-01 Florian Weimer <fweimer@redhat.com>
4405 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
4406 function lookup failures more reliable.
4408 2017-09-01 Florian Weimer <fweimer@redhat.com>
4410 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
4411 (getcanonname): Likewise.
4412 (gaih_inet): Likewise.
4414 2017-09-01 Florian Weimer <fweimer@redhat.com>
4416 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
4417 (getcanonname): Likewise.
4418 (gaih_inet): Likewise.
4420 2017-08-31 Steve Ellcey <sellcey@cavium.com>
4421 Richard Henderson <rth@twiddle.net>
4423 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
4424 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
4425 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
4426 (IREG_SIZE, OREG_SIZE): New macros.
4427 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
4428 (IREG_SIZE, OREG_SIZE): New macros.
4429 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
4430 (IREG_SIZE): New macro.
4431 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
4432 (IREG_SIZE): New macro.
4433 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
4435 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
4436 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
4437 (__CONCATX): Handle exceptions correctly on large values that may
4439 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
4440 Initialize if not already set.
4441 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
4443 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4445 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
4446 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
4448 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
4450 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
4452 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
4454 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
4456 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
4458 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
4460 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
4461 (NO_CANCELLATION): Likewise.
4462 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
4464 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
4466 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
4468 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
4469 (NO_CANCELLATION): Likewise.
4470 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
4471 (NO_CANCELLATION): Likewise.
4472 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
4474 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
4476 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
4478 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
4480 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
4482 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
4483 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
4485 2017-08-31 Steve Ellcey <sellcey@cavium.com>
4487 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
4490 2017-08-31 Florian Weimer <fweimer@redhat.com>
4492 * include/libc-symbols.h (internal_function): Remove.
4494 2017-08-31 Florian Weimer <fweimer@redhat.com>
4496 * stdlib/fmtmsg.c (internal_addseverity): Remove
4499 2017-08-31 Florian Weimer <fweimer@redhat.com>
4501 * stdio-common/printf_fp.c (group_number): Remove
4503 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
4505 2017-08-31 Florian Weimer <fweimer@redhat.com>
4507 * posix/fnmatch.c (internal_function): Remove definition.
4508 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
4509 * posix/regcomp.c (peek_token, init_word_char)
4510 (duplicate_node_closure, fetch_token, peek_token)
4511 (peek_token_bracket, build_range_exp, build_collating_symbol):
4513 * posix/regex_internal.c (re_string_construct_common)
4514 (create_ci_newstate, create_cd_newstate, re_string_allocate)
4515 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
4516 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
4517 (re_string_translate_buffer, re_string_reconstruct)
4518 (re_string_peek_byte_case, re_string_fetch_byte_case)
4519 (re_string_destruct, re_string_context_at, re_node_set_alloc)
4520 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
4521 (re_node_set_add_intersect, re_node_set_init_union)
4522 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
4523 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
4524 (re_dfa_add_node, calc_state_hash, re_acquire_state)
4525 (re_acquire_state_context): Likewise.
4526 * posix/regex_internal.h (internal_function): Remove definition.
4527 (re_string_realloc_buffers, build_wcs_buffer)
4528 (build_wcs_upper_buffer, build_upper_buffer)
4529 (re_string_translate_buffer, re_string_context_at)
4530 (re_string_char_size_at, re_string_wchar_at)
4531 (re_string_elem_size_at): Likewise.
4532 * posix/regexec.c (match_ctx_init, match_ctx_clean)
4533 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
4534 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
4535 (re_search_internal, re_search_2_stub, re_search_stub)
4536 (re_copy_regs, prune_impossible_nodes, check_matching)
4537 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
4538 (free_fail_stack_return, sift_states_iter_mb)
4539 (sift_states_backward, build_sifted_states)
4540 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
4541 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
4542 (check_subexp_limits, sift_states_bkref, merge_state_array)
4543 (find_recover_state, transit_state, merge_state_with_log)
4544 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
4545 (transit_state_mb, transit_state_bkref, get_subexp)
4546 (get_subexp_sub, find_subexp_node, check_arrival)
4547 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
4548 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
4549 (check_node_accept_bytes, find_collation_sequence_value)
4550 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
4551 (acquire_init_state_context, check_halt_node_context)
4552 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
4553 (sub_epsilon_src_nodes): Likewise.
4554 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
4555 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
4556 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
4557 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
4558 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
4559 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
4560 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
4561 * sysdeps/posix/ttyname.c (getttyname): Likewise.
4562 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
4563 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
4565 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
4567 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
4568 (PWRITEV): Likewise.
4569 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
4570 (PWRITEV): Likewise.
4571 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
4572 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
4574 2017-08-31 Florian Weimer <fweimer@redhat.com>
4576 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
4577 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
4578 Remove internal_function.
4579 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
4580 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
4581 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
4582 (__deallocate_stack, __libc_pthread_init)
4583 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
4584 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
4585 (__libc_disable_asynccancel, __librt_disable_asynccancel):
4587 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
4588 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
4589 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
4591 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
4592 (__pthread_mutex_unlock_usercnt): Likewise.
4594 2017-08-31 Florian Weimer <fweimer@redhat.com>
4596 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
4597 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
4598 (fts_safe_changedir): Remove internal_function.
4599 * io/ftw.c (internal_function): Remove definition.
4600 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
4602 2017-08-31 Florian Weimer <fweimer@redhat.com>
4604 * inet/deadline.c (__deadline_current_time)
4605 (__deadline_from_timeval, __deadline_to_ms): Remove
4607 * inet/getnameinfo.c (nrl_domainname): Likewise.
4608 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
4609 * inet/inet6_option.c (add_pad): Likewise.
4610 * inet/net-internal.h (__deadline_current_time)
4611 (__deadline_from_timeval, __deadline_to_ms): Likewise.
4612 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
4613 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
4614 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
4616 2017-08-31 Joseph Myers <joseph@codesourcery.com>
4618 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
4619 include <bits/nan.h>.
4620 * math/Makefile (headers): Remove bits/nan.h.
4621 * bits/nan.h: Remove.
4622 * sysdeps/ieee754/bits/nan.h: Likewise.
4623 * sysdeps/mips/bits/nan.h: Likewise.
4625 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
4626 not include <bits/inf.h>.
4627 * math/Makefile (headers): Remove bits/inf.h.
4628 * bits/inf.h: Remove.
4629 * sysdeps/ieee754/bits/inf.h: Likewise.
4631 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
4632 bits/huge_vall.h or bits/huge_val_flt128.h.
4633 (HUGE_VAL): Define directly here.
4634 [__USE_ISOC99] (HUGE_VALF): Likewise.
4635 [__USE_ISOC99] (HUGE_VALL): Likewise.
4636 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4637 (HUGE_VAL_F128): Likewise.
4638 * math/Makefile (headers): Remove bits/huge_val.h,
4639 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
4640 * bits/huge_val.h: Remove.
4641 * bits/huge_val_flt128.h: Likewise.
4642 * bits/huge_valf.h: Likewise.
4643 * bits/huge_vall.h: Likewise.
4644 * sysdeps/ia64/bits/huge_vall.h: Likewise.
4645 * sysdeps/ieee754/bits/huge_val.h: Likewise.
4646 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
4647 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
4648 * sysdeps/sh/bits/huge_val.h: Likewise.
4649 * sysdeps/sparc/bits/huge_vall.h: Likewise.
4650 * sysdeps/x86/bits/huge_vall.h: Likewise.
4652 2017-08-31 Florian Weimer <fweimer@redhat.com>
4654 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
4656 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
4658 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
4659 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4660 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
4661 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
4662 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4663 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4664 * elf/dl-libc.c (dlerror_run): Likewise.
4665 * elf/dl-load.c (add_name_to_object, decompose_rpath)
4666 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
4667 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
4668 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
4670 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
4671 (_dl_higher_prime_number, _dl_strtoul): Likewise.
4672 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
4673 * elf/dl-profile.c (_dl_start_profile): Likewise.
4674 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
4675 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
4677 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
4678 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
4679 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
4680 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
4681 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
4682 (_dl_allocate_tls_storage): Likewise.
4683 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
4684 (_dl_check_all_versions): Likewise.
4685 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
4686 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
4687 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
4688 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
4689 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
4690 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
4691 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
4692 internal_function from __dl_start.
4693 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
4694 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
4695 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
4696 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
4697 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
4698 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
4699 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
4700 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
4701 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
4702 (_dl_next_ld_env_entry, _dl_important_hwcaps)
4703 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
4704 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
4705 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
4706 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
4707 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
4709 (struct rtld_global_ro): Remove internal_function from the
4710 _dl_lookup_symbol_x member.
4711 (_dl_symbol_value): Remove. No longer defined anywhere.
4712 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
4714 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
4715 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4716 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
4717 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
4718 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
4719 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
4720 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
4721 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
4722 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
4723 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
4724 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
4725 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4727 2017-08-31 Florian Weimer <fweimer@redhat.com>
4729 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
4730 Remove internal_function.
4731 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
4733 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
4736 2017-08-31 Florian Weimer <fweimer@redhat.com>
4738 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
4739 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
4740 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
4742 2017-08-31 Florian Weimer <fweimer@redhat.com>
4744 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
4745 (__gai_enqueue_request): Remove internal_function.
4746 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
4747 (__gai_remove_request, __gai_notify, __gai_notify_only)
4748 (__gai_sigqueue): Likewise.
4749 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
4750 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
4751 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
4752 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4755 2017-08-31 Florian Weimer <fweimer@redhat.com>
4757 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
4758 * include/dirent.h (__opendirat, __getdents, __getdents64)
4759 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
4760 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
4761 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
4762 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
4764 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
4766 2017-08-31 Florian Weimer <fweimer@redhat.com>
4768 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
4770 (GETCWD_RETURN_TYPE): Likewise.
4772 2017-08-31 Florian Weimer <fweimer@redhat.com>
4774 * include/time.h (__tz_compute, __strptime_internal): Remove
4776 * time/strptime_l.c (__strptime_internal): Likewise.
4777 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
4779 2017-08-31 Florian Weimer <fweimer@redhat.com>
4781 * iconv/gconv.c (__gconv): Remove internal_function.
4782 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
4783 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
4784 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
4785 (__gconv_release_cache): Likewise.
4786 * iconv/gconv_close.c (__gconv_close): Likewise.
4787 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
4788 (read_conf_file, __gconv_get_path): Likewise.
4789 * iconv/gconv_db.c (derivation_lookup, add_derivation)
4790 (__gconv_release_step, gen_steps, increment_counter)
4791 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
4792 (__gconv_close_transform, free_modules_db): Likewise.
4793 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
4795 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
4796 (__gconv_find_transform, __gconv_lookup_cache)
4797 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
4798 (__gconv_close_transform, __gconv_release_cache)
4799 (__gconv_loaded_object, __gconv_release_shlib)
4800 (__gconv_compare_alias): Likewise.
4801 * iconv/gconv_open.c (__gconv_open): Likewise.
4802 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
4803 * iconv/iconvconfig.c (add_module): Likewise.
4804 * intl/dcigettext.c (plural_lookup, guess_category_value)
4805 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
4806 * intl/eval-plural.h (plural_eval): Likewise.
4807 * intl/finddomain.c (_nl_find_domain): Likewise.
4808 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
4809 (_nl_load_domain, _nl_find_msg): Likewise.
4810 (internal_function): Remove definition.
4811 * intl/loadinfo.h (internal_function): Likewise.
4812 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
4814 * intl/localealias.c (internal_function): Remove definition.
4815 (read_alias_file): Remove internal_function.
4816 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
4817 * intl/plural-exp.h (internal_function): Remove definition.
4818 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
4820 * intl/plural.c: Regenerate.
4821 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
4822 * locale/coll-lookup.c (__collidx_table_lookup)
4823 (__collseq_table_lookup): Likewise.
4824 * locale/coll-lookup.h (__collidx_table_lookup)
4825 (__collseq_table_lookup): Likewise.
4826 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
4827 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4828 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
4829 (_nl_unload_locale): Likewise.
4830 * locale/localeinfo.h (struct __locale_data): Remove
4831 internal_function from cleanup member.
4832 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
4833 (_nl_remove_locale, _nl_load_locale_from_archive)
4834 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
4835 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
4836 (_nl_cleanup_time): Remove internal_function.
4837 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
4838 (_nl_parse_alt_digit): Likewise.
4839 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
4840 (_nl_select_era_entry): Likewise.
4841 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
4842 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
4843 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
4844 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
4845 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
4847 2017-08-31 Florian Weimer <fweimer@redhat.com>
4849 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
4850 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
4851 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
4852 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
4854 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
4855 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
4856 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
4857 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
4859 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
4861 2017-08-31 Florian Weimer <fweimer@redhat.com>
4863 * misc/getttyent.c (skip, value): Remove internal_function.
4864 * misc/syslog.c (openlog_internal): Likewise.
4865 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
4867 2017-08-31 Florian Weimer <fweimer@redhat.com>
4869 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
4870 (__nss_rewrite_field): Remove internal_function.
4871 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4872 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
4873 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4874 * nss/nsswitch.c (nss_parse_file, nss_getline)
4875 (nss_parse_service_list, nss_new_service): Likewise.
4876 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
4877 * nss/valid_field.c (__nss_valid_field): Likewise.
4878 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
4880 2017-08-31 Florian Weimer <fweimer@redhat.com>
4882 * malloc/arena.c (__malloc_fork_lock_parent)
4883 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
4884 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
4885 internal_function from defintions.
4886 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
4887 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
4888 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
4889 internal_function from declarations.
4890 * malloc/malloc.c (internal_function): Do not define.
4891 (mem2mem_check): Remove internal_function from declaration.
4892 (munmap_chunk, mremap_chunk): Remove internal_function.
4893 * malloc/mtrace.c (tr_where): Likewise.
4895 2017-08-31 Florian Weimer <fweimer@redhat.com>
4897 * include/rpc/pmap_clnt.h (__get_socket): Remove
4899 * sunrpc/auth_des.c (synchronize): Likewise.
4900 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
4901 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
4902 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
4903 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
4904 (key_call): Likewise.
4905 * sunrpc/pm_getport.c (__get_socket): Likewise.
4906 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
4907 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
4908 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
4909 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
4910 (invalidate): Likewise.
4911 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
4912 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
4913 (set_input_fragment, get_input_bytes): Likewise.
4915 2017-08-31 Florian Weimer <fweimer@redhat.com>
4917 * malloc/malloc.c (_int_free): Remove locked variable and related
4920 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
4923 * Makerules (build-module-helper-objlist): Filter out
4924 $(elf-objpfx)sofini.os.
4925 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
4928 2017-08-31 Florian Weimer <fweimer@redhat.com>
4930 * libio/fcloseall.c: Assume weak_alias is defined.
4931 * libio/feof.c: Likewise.
4932 * libio/fileno.c: Likewise.
4933 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
4934 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
4936 (_IO_file_open): Call __open directly.
4937 (_IO_new_file_sync): Assume ESPIPE is defined.
4938 (_IO_file_seekoff_maybe_mmap): Call __read directly.
4939 (_IO_new_file_write): Call __write directly.
4940 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
4941 * libio/ftello64.c (__ftello64): Assume EIO is defined.
4942 * libio/genops.c: Assume _LIBC is defined.
4943 (save_for_backup): Remove internal_function.
4944 * libio/getc.c: Assume weak_alias is defined.
4945 * libio/getwc.c: Likewise.
4946 * libio/iofclose.c: Assume _LIBC is defined.
4947 * libio/iofdopen.c: Likewise.
4948 (_IO_fcntl): Remove macro definition.
4949 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
4950 Call __fcntl directly.
4951 * libio/iofflush.c: Assume weak_alias is defined.
4952 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
4954 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
4955 * libio/iofgets.c: Likewise.
4956 * libio/iofopen.c: Assume _LIBC is defined.
4957 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
4958 * libio/iofputs.c: Assume weak_alias is defined.
4959 * libio/iofread.c: Likewise.
4960 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
4961 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
4962 * libio/ioftell.c: Assume weak_alias is defined.
4963 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
4964 * libio/iofwide.c: Assume _LIBC is defined.
4965 (_IO_fwide): Drop SHARED conditional because it is implied by
4967 * libio/iofwrite.c: Assume weak_alias is defined.
4968 * libio/iogetdelim.c: Likewise.
4969 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
4970 * libio/iogetwline.c (wmemcpy): Remove macro definition.
4971 (_IO_getwline): Call __wmemcpy directly.
4972 * libio/iopopen.c: Assume _LIBC is defined.
4973 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
4974 (_IO_close): Remove macro definitions.
4975 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
4977 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
4979 * libio/ioputs.c: Assume weak_alias is defined.
4980 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
4981 * libio/iosetbuffer.c: Assume weak_alias is defined.
4982 * libio/iosetvbuf.c: Likewise.
4983 * libio/ioungetc.c: Likewise.
4984 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
4985 libc_hidden_def, libc_hidden_weak, NULL are defined.
4986 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
4987 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
4989 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
4991 (_IO_old_file_init_internal): Drop SHARED conditional because it
4992 is implied by SHLIB_COMPAT.
4993 (_IO_old_file_fopen): Call __open directly.
4994 (_IO_old_file_sync): Assume ESPIPE is defined.
4995 (_IO_old_file_write): Call __write directly.
4996 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
4997 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
4998 Call __fcntl directly.
4999 * libio/oldiofgetpos.c: Assume weak_alias is defined.
5000 (_IO_old_fgetpos): Assume EIO is defined.
5001 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
5002 (_IO_old_fgetpos64): Assume EIO is defined.
5003 * libio/oldiofsetpos.c: Assume weak_alias is defined.
5004 (_IO_old_fsetpos): Assume EIO is defined.
5005 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
5006 (_IO_old_fsetpos64): Assume EIO is defined.
5007 * libio/oldiopopen.c: Assume _LIBC is defined.
5008 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
5009 (_IO_close): Remove macro definitions.
5010 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
5012 (_IO_old_proc_close): Call __close, __waitpid directly.
5013 * libio/put.c: Assume weak_alias is defined.
5014 * libio/stdfiles.c: Assume _LIBC is defined.
5015 * libio/stdio.c: Likewise.
5016 * libio/wfileops.c: Likewise.
5017 (_IO_wfile_sync): Assume ESPIPE is defined.
5018 * libio/wgenops.c: Assume _LIBC is defined.
5019 (save_for_wbackup): Remove internal_function.
5021 2017-08-31 Florian Weimer <fweimer@redhat.com>
5023 * malloc/malloc.c (top_check): Change return type to void. Remove
5025 * malloc/hooks.c (top_check): Likewise.
5026 (malloc_check, realloc_check, memalign_check): Adjust.
5028 2017-08-30 Joseph Myers <joseph@codesourcery.com>
5031 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
5032 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
5033 sigcontext and namespace requirements.
5034 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
5035 * sysdeps/m68k/sys/ucontext.h: Likewise.
5036 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
5037 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
5038 <bits/sigcontext.h>.
5039 (__ctx): Define earlier.
5040 (mcontext_t): Define structure contents rather than using struct
5042 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
5043 __glibc_reserved1 instead of __reserved.
5044 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
5045 <bits/sigcontext.h>.
5046 (__ctx): Define earlier.
5047 (mcontext_t): Define structure contents rather than using struct
5049 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
5050 mcontext_t instead of struct sigcontext.
5051 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
5052 <bits/sigcontext.h>.
5053 (__ctx): Define earlier.
5054 (mcontext_t): Define structure contents rather than using struct
5056 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
5057 <bits/sigcontext.h>.
5058 (__ctx): Define earlier.
5059 (mcontext_t): Define structure contents rather than using struct
5061 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
5062 mcontext_t instead of struct sigcontext.
5063 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
5064 mcontext_t instead of struct sigcontext.
5065 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
5066 <bits/sigcontext.h>.
5068 (struct __ia64_fpreg_mcontext): New type.
5069 (mcontext_t): Define structure contents rather than using struct
5071 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
5072 (uc_sigmask): Define using __ctx.
5073 (uc_stack): Likewise.
5074 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
5075 <bits/sigcontext.h>.
5076 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5077 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
5078 <bits/sigcontext.h>.
5079 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
5080 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
5081 <bits/sigcontext.h>.
5082 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
5083 <bits/sigcontext.h>.
5084 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
5085 <bits/sigcontext.h>.
5086 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
5087 <bits/sigcontext.h>.
5088 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
5089 <bits/sigcontext.h>.
5090 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
5091 <bits/sigcontext.h>.
5092 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
5093 <bits/sigcontext.h>.
5094 (__ctx): Define earlier.
5095 (mcontext_t): Define structure contents rather than using struct
5097 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
5098 <bits/sigcontext.h>. Include <bits/types.h>.
5099 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
5100 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
5101 (test-xfail-XPG42/ucontext.h/conform): Likewise.
5102 (test-xfail-UNIX98/signal.h/conform): Likewise.
5103 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5104 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5105 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5106 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5107 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5108 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5109 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5110 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5111 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5113 2017-08-30 Florian Weimer <fweimer@redhat.com>
5115 * malloc/dynarray_emplace_enlarge.c
5116 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
5117 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
5118 * malloc/tst-dynarray.c (test_long_overflow): New function.
5121 2017-08-30 Florian Weimer <fweimer@redhat.com>
5123 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
5124 (set_arena_corrupt): Remove definitions.
5125 (mtrim): Do not check for corrupt arena.
5126 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
5129 2017-08-30 Florian Weimer <fweimer@redhat.com>
5132 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
5134 (ptmalloc_init): Do not set or use check_action.
5135 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
5136 call to malloc_printerr. Remove return statement.
5137 (free_check): Likewise. Remove arena unlock.
5138 (top_check): Update comment. Adjust call to malloc_printerr.
5139 Remove heap repair code.
5140 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
5141 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
5142 (sysmalloc): Adjust call to malloc_printerr.
5143 (munmap_chunk, __libc_realloc): Likewise. Remove return
5145 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
5146 Remove errout label and corresponding gotos.
5147 (_int_free): Likewise. Remove arena unlock.
5148 (do_set_mallopt_check): Do not set check_action.
5149 (malloc_printerr): Adjust parameter list. Do not mark arena as
5151 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
5153 * manual/probes.texi (Memory Allocation Probes): Remove
5154 memory_mallopt_check_action.
5156 2017-08-30 Steve Ellcey <sellcey@cavium.com>
5158 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
5159 Use pointer to uint64_t instead of long int for sp.
5161 2017-08-30 Florian Weimer <fweimer@redhat.com>
5164 * malloc/malloc.c (malloc_printerr): Always terminate the process,
5165 without printing a backtrace. Do not leak any information in the
5167 * manual/memory.texi (Heap Consistency Checking): Update.
5168 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
5170 2017-08-30 Florian Weimer <fweimer@redhat.com>
5172 Do not scale NPTL tests with available number of CPUs.
5173 * nptl/tst-cond16.c (count): Set to constant value of 8.
5174 * nptl/tst-cond18.c (count): Likewise.
5176 2017-08-29 Joseph Myers <joseph@codesourcery.com>
5179 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
5180 Define to take a second argument that is a macro that
5181 concatentates a suffix, not the suffix itself.
5182 (__CONCAT_d): New macro.
5183 (__CONCAT_f): Likewise.
5184 (__CONCAT_l): Likewise.
5186 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
5188 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
5191 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5192 Aurelien Jarno <aurelien@aurel32.net>
5193 Maciej W. Rozycki <macro@imgtec.com>
5196 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
5197 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
5198 `mips16-syscall6' and `mips16-syscall7'.
5199 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
5200 (CFLAGS-mips16-syscall7.c): Remove.
5201 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
5202 Remove `__mips16_syscall5', `__mips16_syscall6' and
5203 `__mips16_syscall7'.
5204 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
5205 (__mips16_syscall0): Rename `__mips16_syscall_return' to
5206 `__mips_syscall_return'.
5207 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
5208 (__mips16_syscall1): Likewise.
5209 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
5210 (__mips16_syscall2): Likewise.
5211 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
5212 (__mips16_syscall3): Likewise.
5213 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
5214 (__mips16_syscall4): Likewise.
5215 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
5217 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
5219 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
5221 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
5222 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
5223 `__mips16_syscall5'. Remove prototype.
5224 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
5225 `__mips16_syscall6'. Remove prototype.
5226 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
5227 `__mips16_syscall7'. Remove prototype.
5228 (__nomips16, __mips16_syscall_return): Move to...
5229 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
5230 (__nomips16, __mips_syscall_return): ... here.
5231 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
5232 `__mips16_syscall_return' to `__mips_syscall_return'.
5233 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
5234 `internal_syscall##nr'.
5235 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
5236 `internal_syscall##nr'.
5237 (FORCE_FRAME_POINTER): Remove.
5238 (__mips_syscall5): New prototype.
5239 (internal_syscall5): Rewrite to call `__mips_syscall5'.
5240 (__mips_syscall6): New prototype.
5241 (internal_syscall6): Rewrite to call `__mips_syscall6'.
5242 (__mips_syscall7): New prototype.
5243 (internal_syscall7): Rewrite to call `__mips_syscall7'.
5244 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
5245 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
5246 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
5247 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
5248 (sysdep_routines): Add libc-do-syscall.
5249 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
5250 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
5252 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5255 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
5256 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
5257 (advise_stack_range): New function.
5258 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
5259 stack non required to advise_stack_range at allocatestack.c
5261 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
5263 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
5265 2017-08-29 Florian Weimer <fweimer@redhat.com>
5268 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
5269 __end_fct. Mangle __end_fct after setting it to NULL.
5270 * iconv/Makefile (tests): Add tst-gconv-init-failure.
5271 (modules-names, modules-names-tests): Add
5272 tst-gconv-init-failure-mod.
5273 (gconv-modules): New target.
5274 (tst-gconv-init-failure-mod.so): Link against libsupport.
5275 (tst-gconv-init-failure): Depend on gconv-modules,
5276 tst-gconv-init-failure-mod.so.
5277 * iconv/tst-gconv-init-failure-mod.c: New file.
5278 * iconv/tst-gconv-init-failure.c: Likewise.
5279 * iconv/test-gconv-modules: Likewise.
5281 2017-08-29 Florian Weimer <fweimer@redhat.com>
5284 * iconv/gconv_db.c (free_derivation): Remove redundant
5286 (gen_steps): Unconditionally mangle __btowc_fct after
5288 (increment_counter): Likewise. Do not call init_fct for internal
5291 2017-08-29 Joseph Myers <joseph@codesourcery.com>
5294 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
5295 (_MSUF_): Remove macro.
5296 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
5298 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
5299 (__REDIRFROM_X): New macro.
5300 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
5302 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
5303 (__REDIRTO_X): Likewise.
5304 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
5306 (__MATH_REDIRCALL_2): Likewise.
5307 (__MATH_REDIRCALL_INTERNAL): Likewise.
5308 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
5309 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
5310 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
5311 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
5312 * math/test-finite-macros.c: New file.
5313 * math/Makefile (tests): Add test-finite-macros.
5314 (CFLAGS-test-finite-macros.c): New variable.
5316 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
5317 Jeff Law <law@redhat.com>
5320 Mangle NULL pointers in iconv/gconv.
5321 * iconv/gconv_cache.c (find_module): Demangle init_fct before
5322 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
5323 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
5324 is non-NULL before demangling the end_fct. Check for NULL
5325 end_fct after demangling.
5326 (__gconv_release_step): Demangle the end_fct before checking
5327 it for NULL. Remove assert on __shlibc_handle != NULL.
5328 (gen_steps): Don't check btowc_fct for NULL before mangling.
5329 Demangle init_fct before checking for NULL.
5330 (increment_counter): Likewise.
5331 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
5332 end_fct for NULL before mangling.
5333 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
5336 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
5339 * locale/iso-639.def: add Morisyen.
5341 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5344 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
5345 (iszero): New C++ implementation that does not use
5346 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
5347 signaling nans are enabled, since __builtin_types_compatible_p
5348 is a C-only feature.
5349 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
5350 defined, include ieee754_float128.h for access to the union and
5351 member ieee854_float128.ieee.
5352 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
5353 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
5354 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
5355 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
5356 options of test-math-zero on powerpc64le.
5358 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
5360 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
5361 Change double to float.
5363 2017-08-28 Joseph Myers <joseph@codesourcery.com>
5365 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
5367 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
5368 conditional code; define contents only for [LIBM_SVID_COMPAT].
5370 2017-08-28 Florian Weimer <fweimer@redhat.com>
5372 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
5373 (abi-lp64_be-options): Remove.
5374 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
5375 (abi-hard-options): Likewise.
5376 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
5377 (abi-o32_hard-options, abi-o32_soft_2008-options)
5378 (abi-o32_hard_2008-options, abi-n32_soft-options)
5379 (abi-n32_hard-options, abi-n32_soft_2008-options)
5380 (abi-n32_hard_2008-options, abi-n64_soft-options)
5381 (abi-n64_hard-options, abi-n64_soft_2008-options)
5382 (abi-n64_hard_2008-options): Likewise.
5383 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
5384 (abi-64-v1-options, abi-64-v2-options): Likewise.
5385 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
5386 (abi-64-options): Likewise.
5387 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
5388 (abi-64-options): Likewise.
5389 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
5390 (abi-64-options): Likewise.
5391 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
5392 (abi-64-options, abi-x32-options): Likewise.
5394 2017-08-28 Florian Weimer <fweimer@redhat.com>
5396 Store supported list of SYS_* system calls in the source tree.
5397 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5398 (bits/syscall.h): Generate from list file.
5399 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
5400 [$(subdir) = misc] (tests): Add tst-syscall-list.
5401 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
5402 [$(subdir) = misc] (tst-syscall-list-macros.list)
5403 [$(subdir) = misc] (tst-syscall-list-nr.list)
5404 (tst-syscall-list-sys.list): Helper targets for new
5405 tst-syscall-list test.
5406 [$(subdir) = misc] (tst-syscall-list.out): Run test script
5407 tst-syscall-list.sh.
5408 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
5409 target. Do not include bits/syscall.d.
5410 [$(subdir) = misc] (generated): Do not update.
5411 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
5412 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
5413 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
5414 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
5416 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5418 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
5419 (tst-cxa_atexit, tst-on_exit): Likewise.
5420 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
5421 tst-cxa_atexit, and tst-on_exit.
5422 * stdlib/tst-atexit-common.c: New file.
5423 * stdlib/tst-atexit.c: New file.
5424 * stdlib/tst-at_quick_exit.c: New file.
5425 * stdlib/tst-cxa_atexit.c: New file.
5426 * stdlib/tst-on_exit.c: New file.
5428 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5430 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
5431 * mach/stack_chk_fail_local.c: New file.
5432 * hurd/stack_chk_fail_local.c: New file.
5433 * mach/Machrules ($(interface-library)-routines): Add
5434 stack_chk_fail_local.
5435 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
5436 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
5437 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
5438 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
5439 * hurd/Makefile (CFLAGS-hurdstartup.o,
5440 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
5442 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
5444 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
5445 (index_cpu_*, index_arch_*): Removed.
5447 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5449 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
5450 Use uint64_t instead of unsigned long.
5452 2017-08-25 Joseph Myers <joseph@codesourcery.com>
5454 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
5455 [__HAVE_DISTINCT_FLOAT128].
5457 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
5458 of <bits/math-finite.h>.
5459 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
5460 inclusion of <bits/math-finite.h>.
5461 * math/bits/math-finite.h (__REDIRTO_X): Do not define
5462 conditionally on [__MATH_DECLARING_LDOUBLE && defined
5463 __NO_LONG_DOUBLE_MATH].
5464 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
5465 (__MATH_REDIRCALL_2): Likewise.
5466 (__MATH_REDIRCALL_INTERNAL): Likewise.
5467 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
5468 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
5469 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
5471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
5473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
5475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
5477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
5479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
5481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
5483 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5484 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5485 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5486 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
5488 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
5489 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
5490 w_sqrtf_compat-ppc32.
5492 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5494 * math/math.h [defined __cplusplus] (issignaling): In the long
5495 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
5496 is not defined. Call __issignaling, otherwise.
5498 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5500 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
5501 syscall definitions and replace __builtin_expect with __glibc_likely.
5502 * sysdeps/unix/syscall-template.S: Update comment about cancellable
5504 (SYSCALL_CANCELLABLE): Removedefinition
5505 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
5507 (PSEUDO_END): Likewise.
5508 [IS_IN (libpthread)] (CENABLE): Likewise.
5509 [IS_IN (libpthread)] (CDISABLE): Likewise.
5510 [IS_IN (libc)] (CENABLE): Likewise.
5511 [IS_IN (libc)] (CENABLE): Likewise.
5512 [IS_IN (librt)] (CDISABLE): Likewise.
5513 [IS_IN (librt)] (CDISABLE): Likewise.
5514 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5515 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
5517 (PSEUDO_END): Likewise.
5518 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
5519 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
5520 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
5521 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
5522 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
5523 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
5524 (CENABLE): Likewise.
5525 (CDISABLE): Likewise.
5526 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5527 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
5529 (PSEUDO_END): Likewise.
5530 [IS_IN (libpthread)] (CENABLE): Likewise.
5531 [IS_IN (libpthread)] (CDISABLE): Likewise.
5532 [IS_IN (libc)] (CENABLE): Likewise.
5533 [IS_IN (libc)] (CENABLE): Likewise.
5534 [IS_IN (librt)] (CDISABLE): Likewise.
5535 [IS_IN (librt)] (CDISABLE): Likewise.
5536 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5537 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
5539 (PSEUDO_END): Likewise.
5540 [IS_IN (libpthread)] (CENABLE): Likewise.
5541 [IS_IN (libpthread)] (CDISABLE): Likewise.
5542 [IS_IN (libc)] (CENABLE): Likewise.
5543 [IS_IN (libc)] (CENABLE): Likewise.
5544 [IS_IN (librt)] (CDISABLE): Likewise.
5545 [IS_IN (librt)] (CDISABLE): Likewise.
5546 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5547 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
5549 (PSEUDO_END): Likewise.
5550 [IS_IN (libpthread)] (CENABLE): Likewise.
5551 [IS_IN (libpthread)] (CDISABLE): Likewise.
5552 [IS_IN (libc)] (CENABLE): Likewise.
5553 [IS_IN (libc)] (CENABLE): Likewise.
5554 [IS_IN (librt)] (CDISABLE): Likewise.
5555 [IS_IN (librt)] (CDISABLE): Likewise.
5556 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5557 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
5559 (PSEUDO_END): Likewise.
5560 [IS_IN (libpthread)] (CENABLE): Likewise.
5561 [IS_IN (libpthread)] (CDISABLE): Likewise.
5562 [IS_IN (libc)] (CENABLE): Likewise.
5563 [IS_IN (libc)] (CENABLE): Likewise.
5564 [IS_IN (librt)] (CDISABLE): Likewise.
5565 [IS_IN (librt)] (CDISABLE): Likewise.
5566 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5567 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
5569 (PSEUDO_END): Likewise.
5570 [IS_IN (libpthread)] (CENABLE): Likewise.
5571 [IS_IN (libpthread)] (CDISABLE): Likewise.
5572 [IS_IN (libc)] (CENABLE): Likewise.
5573 [IS_IN (libc)] (CENABLE): Likewise.
5574 [IS_IN (librt)] (CDISABLE): Likewise.
5575 [IS_IN (librt)] (CDISABLE): Likewise.
5576 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5577 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
5579 (PSEUDO_END): Likewise.
5580 [IS_IN (libpthread)] (CENABLE): Likewise.
5581 [IS_IN (libpthread)] (CDISABLE): Likewise.
5582 [IS_IN (libc)] (CENABLE): Likewise.
5583 [IS_IN (libc)] (CENABLE): Likewise.
5584 [IS_IN (librt)] (CDISABLE): Likewise.
5585 [IS_IN (librt)] (CDISABLE): Likewise.
5586 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5587 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
5589 (PSEUDO_END): Likewise.
5590 [IS_IN (libpthread)] (CENABLE): Likewise.
5591 [IS_IN (libpthread)] (CDISABLE): Likewise.
5592 [IS_IN (libc)] (CENABLE): Likewise.
5593 [IS_IN (libc)] (CENABLE): Likewise.
5594 [IS_IN (librt)] (CDISABLE): Likewise.
5595 [IS_IN (librt)] (CDISABLE): Likewise.
5596 (SINGLE_THREAD_P): Likewise.
5597 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
5599 (PSEUDO_END): Likewise.
5600 [IS_IN (libpthread)] (CENABLE): Likewise.
5601 [IS_IN (libpthread)] (CDISABLE): Likewise.
5602 [IS_IN (libc)] (CENABLE): Likewise.
5603 [IS_IN (libc)] (CENABLE): Likewise.
5604 [IS_IN (librt)] (CDISABLE): Likewise.
5605 [IS_IN (librt)] (CDISABLE): Likewise.
5606 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5607 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
5609 (PSEUDO_END): Likewise.
5610 [IS_IN (libpthread)] (CENABLE): Likewise.
5611 [IS_IN (libpthread)] (CDISABLE): Likewise.
5612 [IS_IN (libc)] (CENABLE): Likewise.
5613 [IS_IN (libc)] (CENABLE): Likewise.
5614 [IS_IN (librt)] (CDISABLE): Likewise.
5615 [IS_IN (librt)] (CDISABLE): Likewise.
5616 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5617 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
5618 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5619 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
5620 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
5622 (PSEUDO_END): Likewise.
5623 [IS_IN (libpthread)] (CENABLE): Likewise.
5624 [IS_IN (libpthread)] (CDISABLE): Likewise.
5625 [IS_IN (libc)] (CENABLE): Likewise.
5626 [IS_IN (libc)] (CENABLE): Likewise.
5627 [IS_IN (librt)] (CDISABLE): Likewise.
5628 [IS_IN (librt)] (CDISABLE): Likewise.
5629 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5630 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
5632 (PSEUDO_END): Likewise.
5633 [IS_IN (libpthread)] (CENABLE): Likewise.
5634 [IS_IN (libpthread)] (CDISABLE): Likewise.
5635 [IS_IN (libc)] (CENABLE): Likewise.
5636 [IS_IN (libc)] (CENABLE): Likewise.
5637 [IS_IN (librt)] (CDISABLE): Likewise.
5638 [IS_IN (librt)] (CDISABLE): Likewise.
5639 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5640 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
5642 (PSEUDO_END): Likewise.
5643 [IS_IN (libpthread)] (CENABLE): Likewise.
5644 [IS_IN (libpthread)] (CDISABLE): Likewise.
5645 [IS_IN (libc)] (CENABLE): Likewise.
5646 [IS_IN (libc)] (CENABLE): Likewise.
5647 [IS_IN (librt)] (CDISABLE): Likewise.
5648 [IS_IN (librt)] (CDISABLE): Likewise.
5649 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5650 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
5651 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5652 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
5653 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
5655 (PSEUDO_END): Likewise.
5656 [IS_IN (libpthread)] (CENABLE): Likewise.
5657 [IS_IN (libpthread)] (CDISABLE): Likewise.
5658 [IS_IN (libc)] (CENABLE): Likewise.
5659 [IS_IN (libc)] (CENABLE): Likewise.
5660 [IS_IN (librt)] (CDISABLE): Likewise.
5661 [IS_IN (librt)] (CDISABLE): Likewise.
5662 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5663 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
5665 (PSEUDO_END): Likewise.
5666 [IS_IN (libpthread)] (CENABLE): Likewise.
5667 [IS_IN (libpthread)] (CDISABLE): Likewise.
5668 [IS_IN (libc)] (CENABLE): Likewise.
5669 [IS_IN (libc)] (CENABLE): Likewise.
5670 [IS_IN (librt)] (CDISABLE): Likewise.
5671 [IS_IN (librt)] (CDISABLE): Likewise.
5672 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5674 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
5676 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
5678 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
5680 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5682 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
5685 * string/stratcliff.c (do_test): Declare size, nchars, inner,
5686 middle and outer with size_t instead of int. Repleace %d and
5687 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
5688 "MAX (outer, nchars - 64)" to support unsigned outer and
5689 nchars. Also exit loop when outer == 0.
5691 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5693 * include/fcntl.h (__fcntl_nocancel): Remove definition.
5694 * include/signal.h (__sigsuspend_nocancel): Likewise.
5695 * include/time.h (__nanosleep_nocancel): Likewise.
5696 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
5697 * login/utmp_file.c: Include non cancellable syscall header.
5698 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
5701 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
5703 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
5704 .byte sequences with AVX512F instructions.
5705 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
5706 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
5707 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
5708 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
5710 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
5713 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
5714 Steve Ellcey <sellcey@cavium.com>
5716 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
5717 Use PTR_REG macro in cmp instruction.
5719 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5721 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
5722 Change the return type of the ifunc resolver to match the return
5723 type of the target function.
5725 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5727 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
5728 (preadv64): Likewise.
5729 (pwrite64(: Likewise.
5730 (pwritev64): Likewise.
5732 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5733 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
5734 (LOAD_ARGS_0): Likewise.
5735 (LOAD_ARGS_1): Likewise.
5736 (LOAD_ARGS_2): Likewise.
5737 (LOAD_ARGS_3): Likewise.
5738 (LOAD_ARGS_4): Likewise.
5739 (LOAD_ARGS_5): Likewise.
5740 (LOAD_ARGS_6): Likewise.
5741 (LOAD_REGS_0): Likewise.
5742 (LOAD_REGS_1): Likewise.
5743 (LOAD_REGS_2): Likewise.
5744 (LOAD_REGS_3): Likewise.
5745 (LOAD_REGS_4): Likewise.
5746 (LOAD_REGS_5): Likewise.
5747 (LOAD_REGS_6): Likewise.
5748 (ASM_ARGS_0): Likewise.
5749 (ASM_ARGS_1): Likewise.
5750 (ASM_ARGS_2): Likewise.
5751 (ASM_ARGS_3): Likewise.
5752 (ASM_ARGS_4): Likewise.
5753 (ASM_ARGS_5): Likewise.
5754 (ASM_ARGS_6): Likewise.
5755 (LOAD_ARGS_TYPES_1): Likewise.
5756 (LOAD_ARGS_TYPES_2): Likewise.
5757 (LOAD_ARGS_TYPES_3): Likewise.
5758 (LOAD_ARGS_TYPES_4): Likewise.
5759 (LOAD_ARGS_TYPES_5): Likewise.
5760 (LOAD_ARGS_TYPES_6): Likewise.
5761 (LOAD_REGS_TYPES_1): Likewise.
5762 (LOAD_REGS_TYPES_2): Likewise.
5763 (LOAD_REGS_TYPES_3): Likewise.
5764 (LOAD_REGS_TYPES_4): Likewise.
5765 (LOAD_REGS_TYPES_5): Likewise.
5766 (LOAD_REGS_TYPES_6): Likewise.
5767 (TYPEFY): New define.
5769 (internal_syscall0): Likewise.
5770 (internal_syscall1): Likewise.
5771 (internal_syscall2): Likewise.
5772 (internal_syscall3): Likewise.
5773 (internal_syscall4): Likewise.
5774 (internal_syscall5): Likewise.
5775 (internal_syscall6): Likewise.
5776 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
5777 (INTERNAL_SYSCALL_NCS): Remove define.
5778 (internal_syscall1): Add define.
5780 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5782 * math/w_remainder_compat.c: Remove duplicate inclusion of
5784 * math/w_remainderf_compat.c: Likewise.
5785 * math/w_remainderl_compat.c: Likewise.
5787 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5791 2017-08-22 Joseph Myers <joseph@codesourcery.com>
5794 * math/tgmath.h (__floating_type): Simplify definitions.
5795 (__real_integer_type): New macro.
5796 (__complex_integer_type): Likewise.
5797 (__expr_is_real): Likewise.
5798 (__tgmath_real_type_sub): Update comment to describe handling of
5800 (__tgmath_complex_type_sub): New macro.
5801 (__tgmath_complex_type): Likewise.
5802 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5803 (__TGMATH_CF128): Use __expr_is_real.
5804 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
5806 (__TGMATH_BINARY_REAL_IMAG): Likewise.
5807 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
5808 * math/gen-tgmath-tests.py (Type.create_type): Create complex
5811 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5813 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
5815 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
5817 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
5820 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
5821 nanosleep_not_cancel with __nanosleep_nocancel.
5822 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
5823 (__nanosleep_nocancel): New macro.
5824 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
5826 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
5828 (__nanosleep_nocancel): New prototype.
5830 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
5831 pause_not_cancel with __pause_nocancel.
5832 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
5833 (__pause_nocancel): New macro.
5834 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
5836 (__pause_nocancel): New prototype.
5837 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
5839 2017-08-22 Martin Sebor <msebor@redhat.com>
5841 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
5842 to return a pointer to the same type as the target function.
5844 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
5848 * include/printf.h (__printf_fphex): Add attribute_hidden.
5849 (__guess_grouping): New prototype.
5850 * stdio-common/printf_fp.c (__guess_grouping): Removed.
5851 * stdio-common/reg-printf.c (__register_printf_specifier): Add
5852 libc_hidden_proto and libc_hidden_def.
5853 * stdlib/strfmon_l.c (__guess_grouping): Removed.
5854 (__vstrfmon_l): Remove the third argument passed to
5857 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5859 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
5860 definition for issignaling that does not rely on __MATH_TG,
5861 since __MATH_TG uses __builtin_types_compatible_p, which is only
5862 available in C mode.
5863 (CFLAGS-test-math-issignaling.cc): New variable.
5864 * math/Makefile [CXX] (tests): Add test-math-issignaling.
5865 * math/test-math-issignaling.cc: New test for C++ implementation
5866 of type-generic issignaling.
5867 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
5868 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
5869 options of test-math-issignaling on powerpc64le.
5871 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
5873 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
5875 (hidden_proto): Likewise.
5876 (hidden_tls_proto): Likewise.
5877 (__hidden_proto): Likewise.
5879 2017-08-22 Florian Weimer <fweimer@redhat.com>
5881 math: Statically link tests of internal functionality.
5882 * math/Makefile (tests): Remove atest-exp, atest-sincos,
5884 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
5885 (gmp-objs): Remove assignment.
5886 (atest-exp, atest-sincos, atest-exp2): Remove targets.
5888 2017-08-22 Joseph Myers <joseph@codesourcery.com>
5891 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
5893 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
5895 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
5898 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
5899 variable definitions above inclusion of ../Rules.
5901 2017-08-21 Joseph Myers <joseph@codesourcery.com>
5903 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
5904 case calling __builtin_unreachable.
5906 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5908 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
5910 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
5911 (__waitpid_nocancel): New macro.
5912 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
5914 (__waitpid_nocancel): Replace macro with a function.
5915 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
5918 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
5920 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
5921 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
5923 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
5924 __writev_nocancel_nostatus.
5925 (write_call_graph): Likewise.
5926 (write_bb_counts): Likewise.
5927 * resolv/herror.c (herror): Likewise.
5928 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
5930 (__writev_nocancel_nostatus): New macro.
5931 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
5933 (__writev_nocancel_nostatus): New function.
5935 2017-08-21 Joseph Myers <joseph@codesourcery.com>
5938 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5940 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
5942 (hidden_proto): Likewise.
5943 (hidden_tls_proto): Likewise.
5944 (__hidden_proto): Likewise.
5947 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
5948 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
5949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
5951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
5953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
5955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
5957 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
5958 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
5959 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
5960 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
5961 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5962 GLIBC_2.0 sqrtl symbol.
5964 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
5965 [__USE_MISC] (_LIB_VERSION): Likewise.
5966 [__USE_MISC] (struct exception): Likewise.
5967 [__USE_MISC] (matherr): Likewise.
5968 [__USE_MISC] (DOMAIN): Likewise.
5969 [__USE_MISC] (SING): Likewise.
5970 [__USE_MISC] (OVERFLOW): Likewise.
5971 [__USE_MISC] (UNDERFLOW): Likewise.
5972 [__USE_MISC] (TLOSS): Likewise.
5973 [__USE_MISC] (PLOSS): Likewise.
5974 [__USE_MISC] (HUGE): Likewise.
5975 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
5976 * math/math-svid-compat.h: New file.
5977 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
5979 * include/math.h [!_ISOMAC] (__matherr): Remove.
5980 * manual/arith.texi (FP Exceptions): Do not document matherr.
5981 * math/Makefile (tests): Change test-matherr to test-matherr-3.
5982 (tests-internal): New variable.
5983 (install-lib): Do not add libieee.a.
5984 (non-lib.a): Likewise.
5985 (extra-objs): Do not add libieee.a and ieee-math.o.
5986 (CPPFLAGS-s_lib_version.c): Remove variable.
5987 ($(objpfx)libieee.a): Remove rule.
5988 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
5989 * math/ieee-math.c: Remove.
5990 * math/libm-test-support.c (matherr): Remove.
5991 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
5992 and license notices. Include <math-svid-compat.h> and
5994 (matherr): Undefine as macro. Use compat_symbol_reference.
5995 (_LIB_VERSION): Likewise.
5996 * math/test-matherr-2.c: New file.
5997 * math/test-matherr-3.c: Likewise.
5998 * sysdeps/generic/math_private.h (__kernel_standard): Remove
6000 (__kernel_standard_f): Likewise.
6001 (__kernel_standard_l): Likewise.
6002 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
6003 <math_private.h>. Include <math-svid-compat.h>.
6004 (_LIB_VERSION): Undefine as macro.
6005 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
6006 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
6007 [LIBM_SVID_COMPAT], use compat_symbol.
6008 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
6009 <math_private.h>. Include <math-svid-compat.h>.
6010 (matherr): Undefine as macro.
6011 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
6013 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
6014 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
6015 compat_symbol_reference.
6016 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
6017 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
6018 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
6019 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
6020 (MATHERR_D): Remove declaration.
6021 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
6022 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
6023 [LIBM_BUILD] (pmatherrf): Likewise.
6024 [LIBM_BUILD] (pmatherr): Likewise.
6025 [LIBM_BUILD] (pmatherrl): Likewise.
6028 (OVERFLOW): Likewise.
6029 (UNDERFLOW): Likewise.
6032 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
6033 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
6035 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
6036 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
6038 * math/lgamma-compat.h: Include <math-svid-compat.h>.
6039 * math/w_acos_compat.c: Likewise.
6040 * math/w_acosf_compat.c: Likewise.
6041 * math/w_acosh_compat.c: Likewise.
6042 * math/w_acoshf_compat.c: Likewise.
6043 * math/w_acoshl_compat.c: Likewise.
6044 * math/w_acosl_compat.c: Likewise.
6045 * math/w_asin_compat.c: Likewise.
6046 * math/w_asinf_compat.c: Likewise.
6047 * math/w_asinl_compat.c: Likewise.
6048 * math/w_atan2_compat.c: Likewise.
6049 * math/w_atan2f_compat.c: Likewise.
6050 * math/w_atan2l_compat.c: Likewise.
6051 * math/w_atanh_compat.c: Likewise.
6052 * math/w_atanhf_compat.c: Likewise.
6053 * math/w_atanhl_compat.c: Likewise.
6054 * math/w_cosh_compat.c: Likewise.
6055 * math/w_coshf_compat.c: Likewise.
6056 * math/w_coshl_compat.c: Likewise.
6057 * math/w_exp10_compat.c: Likewise.
6058 * math/w_exp10f_compat.c: Likewise.
6059 * math/w_exp10l_compat.c: Likewise.
6060 * math/w_exp2_compat.c: Likewise.
6061 * math/w_exp2f_compat.c: Likewise.
6062 * math/w_exp2l_compat.c: Likewise.
6063 * math/w_fmod_compat.c: Likewise.
6064 * math/w_fmodf_compat.c: Likewise.
6065 * math/w_fmodl_compat.c: Likewise.
6066 * math/w_hypot_compat.c: Likewise.
6067 * math/w_hypotf_compat.c: Likewise.
6068 * math/w_hypotl_compat.c: Likewise.
6069 * math/w_j0_compat.c: Likewise.
6070 * math/w_j0f_compat.c: Likewise.
6071 * math/w_j0l_compat.c: Likewise.
6072 * math/w_j1_compat.c: Likewise.
6073 * math/w_j1f_compat.c: Likewise.
6074 * math/w_j1l_compat.c: Likewise.
6075 * math/w_jn_compat.c: Likewise.
6076 * math/w_jnf_compat.c: Likewise.
6077 * math/w_jnl_compat.c: Likewise.
6078 * math/w_lgamma_main.c: Likewise.
6079 * math/w_lgamma_r_compat.c: Likewise.
6080 * math/w_lgammaf_main.c: Likewise.
6081 * math/w_lgammaf_r_compat.c: Likewise.
6082 * math/w_lgammal_main.c: Likewise.
6083 * math/w_lgammal_r_compat.c: Likewise.
6084 * math/w_log10_compat.c: Likewise.
6085 * math/w_log10f_compat.c: Likewise.
6086 * math/w_log10l_compat.c: Likewise.
6087 * math/w_log2_compat.c: Likewise.
6088 * math/w_log2f_compat.c: Likewise.
6089 * math/w_log2l_compat.c: Likewise.
6090 * math/w_log_compat.c: Likewise.
6091 * math/w_logf_compat.c: Likewise.
6092 * math/w_logl_compat.c: Likewise.
6093 * math/w_pow_compat.c: Likewise.
6094 * math/w_powf_compat.c: Likewise.
6095 * math/w_powl_compat.c: Likewise.
6096 * math/w_remainder_compat.c: Likewise.
6097 * math/w_remainderf_compat.c: Likewise.
6098 * math/w_remainderl_compat.c: Likewise.
6099 * math/w_scalb_compat.c: Likewise.
6100 * math/w_scalbf_compat.c: Likewise.
6101 * math/w_scalbl_compat.c: Likewise.
6102 * math/w_sinh_compat.c: Likewise.
6103 * math/w_sinhf_compat.c: Likewise.
6104 * math/w_sinhl_compat.c: Likewise.
6105 * math/w_sqrt_compat.c: Likewise.
6106 * math/w_sqrtf_compat.c: Likewise.
6107 * math/w_sqrtl_compat.c: Likewise.
6108 * math/w_tgamma_compat.c: Likewise.
6109 * math/w_tgammaf_compat.c: Likewise.
6110 * math/w_tgammal_compat.c: Likewise.
6111 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
6112 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
6113 * sysdeps/ieee754/k_standard.c: Likewise.
6114 * sysdeps/ieee754/k_standardf.c: Likewise.
6115 * sysdeps/ieee754/k_standardl.c: Likewise.
6116 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
6117 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
6118 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
6119 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
6120 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
6121 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
6122 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
6123 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
6124 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
6125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
6127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
6129 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
6130 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
6131 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
6132 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
6134 2017-08-21 Florian Weimer <fweimer@redhat.com>
6137 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
6138 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
6139 Move before inclusion of ../Rules.
6141 2017-08-21 Florian Weimer <fweimer@redhat.com>
6144 * assert/assert.h (assert): Use static_cast (bool) for C++.
6145 Use the ternary operator in the warning branch for GNU C.
6146 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
6147 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
6148 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
6149 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
6150 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
6152 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6155 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6156 (__syscall_clock_gettime): Add attribute_hidden.
6157 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
6158 (__start_context): Likewise.
6160 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6162 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
6164 (hidden_proto): Likewise.
6165 (hidden_tls_proto): Likewise.
6166 (__hidden_proto): Likewise.
6168 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6170 * include/libc-symbols.h (attribute_hidden): Enable hidden
6171 visibility in libc.a compiled with PIE.
6173 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6176 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
6177 Add attribute_hidden.
6179 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6182 * Makerules (all-nonlib): Add $(others-extras).
6183 * catgets/Makefile (others-extras): New.
6184 * elf/Makefile (others-extras): Likewise.
6185 * nss/Makefile (others-extras): Likewise.
6187 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6190 * csu/libc-start.c (__libc_multiple_libcs): Removed.
6191 * elf/dl-open.c: Include <libc-internal.h>.
6192 (__libc_multiple_libcs): Removed.
6193 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
6195 * include/libc-internal.h (__libc_multiple_libcs): New.
6196 * misc/sbrk.c: Include <libc-internal.h>.
6197 (__libc_multiple_libcs): Removed.
6199 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6202 * grp/initgroups.c (__nss_group_database): Removed.
6203 (__nss_initgroups_database): Likewise.
6204 * nscd/gai.c (__nss_hosts_database): Likewise.
6205 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
6206 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
6207 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
6208 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
6209 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
6210 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
6212 * nss/nsswitch.c (__nss_database_custom): Define only if
6213 USE_NSCD is defined.
6214 (__nss_configure_lookup): Use __nss_database_custom only if
6215 USE_NSCD is defined.
6216 * nss/nsswitch.h (__nss_database_custom): Declare only if
6217 USE_NSCD is defined. Add attribute_hidden.
6218 (__nss_setent): Add attribute_hidden.
6219 (__nss_endent): Likewise.
6220 (__nss_getent_r): Likewise.
6221 (__nss_getent): Likewise.
6222 (DEFINE_DATABASE): Declare __nss_##arg##_database.
6224 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6227 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
6228 libc_hidden_proto and libc_hidden_def.
6230 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6233 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
6234 Add libc_hidden_proto.
6235 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
6236 Add libc_hidden_def.
6238 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6241 * gmon/Makefile (routines): Remove bb_init_func and
6243 (elide-routines.os): Removed.
6244 * gmon/bb_exit_func.c: Likewise.
6245 * gmon/bb_init_func.c: Likewise.
6246 * include/sys/gmon.h (__bb): Likewise.
6247 (__bb_init_func): Likewise.
6248 (__bb_exit_func): Likewise.
6249 * sysdeps/alpha/bb_init_func.S: Likewise.
6251 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6253 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
6254 * include/setjmp.h (____longjmp_chk): Here. Add
6257 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
6260 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
6262 (__strspn_sse2): Likewise.
6264 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6266 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
6267 (close_not_cancel_no_status): Likewise.
6268 (__close_nocancel): New macro.
6269 (__close_nocancel_nostatus): Likewise.
6270 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
6272 (close_not_cancel): Likewise.
6273 (close_not_cancel_no_status): Likewise.
6274 (__close_nocancel): New prototype.
6275 (__close_nocancel_nostatus): New function.
6276 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
6277 * catgets/open_catalog.c (__open_catalog): Replace
6278 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
6279 * gmon/gmon.c (write_gmon): Likewise.
6280 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6281 * intl/loadmsgcat.c (close): Likewise.
6282 * io/ftw.c (open_dir_stream): Likewise.
6283 (ftw_startup): Likewise.
6284 * libio/fileops.c (_IO_file_open): Likewise.
6285 (_IO_file_close_mmap): Likewise.
6286 (_IO_file_close): Likewise.
6287 * libio/iopopen.c (_IO_dup2): Likewise.
6288 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6289 * locale/loadlocale.c (_nl_load_locale): Likewise.
6290 * login/utmp_file.c (pututline_file): Likewise.
6291 (endutent_file): Likewise.
6292 * misc/daemon.c (daemon): Likewise.
6293 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6294 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6295 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
6296 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6297 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6298 * nscd/nscd_helper.c (open_socket): Likewise.
6299 (__nscd_open_socket): Likewise.
6300 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6301 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
6302 (__nscd_innetgr): Likewise.
6303 * nss/nss_db/db-open.c (internal_setent): Likewise.
6304 * resolv/res-close.c (__res_iclose): Likewise.
6305 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
6306 * sysdeps/posix/closedir.c (__closedir): Likewise.
6307 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
6308 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6309 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
6310 (opendir_tail): Likewise.
6311 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6312 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
6313 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6314 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6315 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6316 (gethostid): Likewise.
6317 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6318 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6320 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6321 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
6322 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6323 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6325 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
6326 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
6327 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6329 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
6330 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6332 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6334 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6335 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6336 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6339 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
6340 (openat_not_cancel_3): Likewise.
6341 (openat64_not_cancel_3): Likewise).
6342 (openat_not_cancel_3): Likewise).
6343 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
6345 (openat_not_cancel_3): Likewise.
6346 (openat64_not_cancel): Likewise.
6347 (openat64_not_cancel_3): Likewise.
6348 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
6349 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
6350 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
6351 __open{64}_nocancel.
6352 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
6353 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6354 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6356 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6359 * include/argz.h (__argz_create_sep): New function prototype.
6360 (__argz_append): Likewise.
6361 (__argz_add): Likewise.
6362 (__argz_add_sep): Likewise.
6363 (__argz_delete): Likewise.
6364 (__argz_insert): Likewise.
6365 (__argz_replace): Likewise.
6366 * string/argz.h (__argz_create_sep): Removed.
6367 (__argz_append): Likewise.
6368 (__argz_add): Likewise.
6369 (__argz_add_sep): Likewise.
6370 (__argz_delete): Likewise.
6371 (__argz_insert): Likewise.
6372 (__argz_replace): Likewise.
6374 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6376 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
6377 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
6378 (GNU_PROPERTY_STACK_SIZE): Likewie.
6379 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
6380 (GNU_PROPERTY_LOPROC): Likewise.
6381 (GNU_PROPERTY_HIPROC): Likewise.
6382 (GNU_PROPERTY_LOUSER): Likewise.
6383 (GNU_PROPERTY_HIUSER): Likewise.
6384 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
6385 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
6386 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
6387 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
6388 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
6389 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
6390 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
6391 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
6392 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
6393 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
6394 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
6395 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
6396 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
6397 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
6398 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
6399 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
6400 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
6401 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
6402 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
6403 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
6404 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
6405 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
6406 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
6408 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6410 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
6413 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6416 * math/math.h (isinf): Check if in C or C++ mode before using
6417 __builtin_types_compatible_p, since this is a C mode feature.
6419 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6421 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
6422 (__write_nocancel): New macro.
6423 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
6424 Rewrite as a function prototype.
6425 (write_not_cancel): Remove macro.
6426 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
6427 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
6428 (write_gmon): Likewise.
6429 * libio/fileops.c (_IO_new_file_write): Likewise.
6430 * login/utmp_file.c (pututline_file): Likewise.
6431 (updwtmp_file): Likewise.
6432 * stdio-common/psiginfo.c (psiginfo): Likewise.
6433 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6434 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6435 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6437 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6440 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
6441 (__read_nocancel): New macro.
6442 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6444 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
6446 (__read_nocancel): New prototype.
6447 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
6448 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
6449 with __read_nocancel.
6450 * intl/loadmsgcat.c (read): Likewise.
6451 * libio/fileops.c (_IO_file_read): Likewise.
6452 * locale/loadlocale.c (_nl_load_locale): Likewise.
6453 * login/utmp_file.c (getutent_r_file): Likewise.
6454 (internal_getut_r): Likewise.
6455 (getutline_r_file): Likewise.
6456 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
6457 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6458 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6459 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6461 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
6462 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6463 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6465 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6467 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6469 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6471 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6473 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6476 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
6477 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
6480 2017-08-17 DJ Delorie <dj@redhat.com>
6482 * bug17079.c: Update to new test harness.
6483 * test-digits-dots.c: Likewise.
6484 * test-netdb.c: Likewise.
6485 * tst-field.c: Likewise.
6486 * tst-nss-getpwent.c: Likewise.
6487 * tst-nss-static.c: Likewise.
6488 * tst-nss-test1.c: Likewise.
6489 * tst-nss-test2.c: Likewise.
6490 * tst-nss-test3.c: Likewise.
6491 * tst-nss-test4.c: Likewise.
6492 * tst-nss-test5.c: Likewise.
6494 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6496 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
6497 (open_not_cancel_2): Likewise.
6498 (open_nocancel): New macro.
6499 (open64_nocancel): Likewise.
6500 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
6501 (open_not_cancel_2): Likewise.
6502 (__open_nocancel): New prototype.
6503 (__open64_nocancel): Likewise.
6504 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6506 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
6507 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
6508 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
6509 with __open_nocancel.
6510 * csu/check_fds.c (check_one_fd): Likewise.
6511 * gmon/gmon.c (write_gmon): Likewise.
6512 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
6513 * intl/loadmsgcat.c (open): Likewise.
6514 * libio/fileops.c (_IO_file_open): Likewise.
6515 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6516 * locale/loadlocale.c (_nl_load_locale): Likewise.
6517 * login/utmp_file.c (setutent_file): Likewise.
6518 * misc/daemon.c (daemon): Likewise.
6519 * nss/nss_db/db-open.c (internal_setent): Likewise.
6520 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
6521 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
6522 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
6523 (__opendir): Likewise.
6524 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6525 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
6526 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6527 (gethostid): Likewise.
6528 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6529 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6531 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6532 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
6533 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6534 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6536 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6538 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6540 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6542 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6544 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6546 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6547 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6549 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
6551 * benchtests/bench-skeleton.c (main): Add support for
6552 latency benchmarking.
6553 * benchtests/scripts/bench.py: Add support for latency benchmarking.
6555 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
6557 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
6560 2017-08-17 Florian Weimer <fweimer@redhat.com>
6562 * include/sys/socket.h (__opensock): Remove internal_function.
6563 * socket/opensock.c (__opensock): Likewise.
6564 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
6566 2017-08-16 Joseph Myers <joseph@codesourcery.com>
6569 * signal/bits/types/__sigval_t.h: New file.
6570 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
6571 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
6572 and define sigval_t using __sigval_t.
6573 * include/bits/types/__sigval_t.h: New file.
6574 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
6575 instead of <bits/types/__sigval_t.h>.
6576 (struct sigevent): Use __sigval_t instead of sigval_t.
6577 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
6578 instead of <bits/types/__sigval_t.h>.
6579 (siginfo_t): Use __sigval_t instead of sigval_t.
6580 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
6581 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
6582 (struct sigevent): Use __sigval_t instead of sigval_t.
6583 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
6584 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
6585 (siginfo_t): Use __sigval_t instead of sigval_t.
6586 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
6588 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
6590 * NEWS: Remove "[Add new features here]" for 2.27.
6592 2017-08-16 Joseph Myers <joseph@codesourcery.com>
6594 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
6597 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
6599 * NEWS: Mention x86-64 FMA optimization.
6601 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
6604 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6606 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
6607 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
6608 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
6610 2017-08-16 Andreas Schwab <schwab@suse.de>
6614 * elf/ldd.bash.in: Never run file directly.
6616 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
6619 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
6620 (L(SP_INF_0)): Likewise.
6622 2017-08-15 Florian Weimer <fweimer@redhat.com>
6624 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
6627 2017-08-15 Florian Weimer <fweimer@redhat.com>
6629 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
6630 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
6631 BROKEN_THREAD_SIGNALS code.
6632 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
6633 request_list): Remove caller_pid member used for
6634 BROKEN_THREAD_SIGNALS.
6635 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
6636 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
6637 Remove BROKEN_THREAD_SIGNALS support.
6638 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
6639 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
6641 2017-08-15 Florian Weimer <fweimer@redhat.com>
6643 * gmon/Makefile (tests): Add tst-gmon.
6644 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
6646 (tests-special): Add tst-gmon-prof.out.
6647 (tst-gmon.out): Depend on clean-tst-gmon-data.
6648 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
6649 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
6650 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
6652 * aclocal.m4 (GPROF): Set and substitute.
6653 * config.amke.in (GPROF): Set.
6654 * configure: Regenerate.
6656 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
6658 * elf/elf.h A (NT_PPC_TAR): New macro.
6659 (NT_PPC_PPR): Likewise.
6660 (NT_PPC_DSCR): Likewise.
6661 (NT_PPC_EBB): Likewise.
6662 (NT_PPC_PMU): Likewise.
6663 (NT_PPC_TM_CGPR): Likewise.
6664 (NT_PPC_TM_CFPR): Likewise.
6665 (NT_PPC_TM_CVMX): Likewise.
6666 (NT_PPC_TM_CVSX): Likewise.
6667 (NT_PPC_TM_SPR): Likewise.
6668 (NT_PPC_TM_CTAR): Likewise.
6669 (NT_PPC_TM_CPPR): Likewise.
6670 (NT_PPC_TM_CDSCR): Likewise.
6672 2017-08-15 Florian Weimer <fweimer@redhat.com>
6674 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
6675 regparm (2) instead of internal_function.
6676 (_MCOUNT_DECL): Adjust.
6678 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
6680 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
6681 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
6683 2017-08-14 Joseph Myers <joseph@codesourcery.com>
6685 * conform/data/sys/wait.h-data (si_value): Do not expect for
6688 2017-08-14 Florian Weimer <fweimer@redhat.com>
6691 NSS: Create stubs for accidentally exported lookup functions.
6692 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
6694 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
6695 (ether_hostton): Call __nss_ethers_lookup2 instead.
6696 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
6697 (ether_ntohost): Call __nss_ethers_lookup2 instead.
6698 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
6699 (setup): Call __nss_netgroup_lookup2 instead.
6700 * nss/Makefile (routines): Add compat-lookup.
6701 * nss/Versions (GLIBC_2.27): Add symbol version.
6702 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
6703 (DB_COMPAT_FCT): Remove.
6704 * nss/compat-lookup.c: New file.
6705 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
6707 * nss/service-lookup.c (NO_COMPAT): Remove definition.
6708 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
6709 (netname2user): Call __nss_publickey_lookup2 instead.
6710 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
6711 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
6714 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6715 Sergei Trofimovich <slyfox@inbox.ru>
6718 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
6719 Rename to MMAP2_PAGE_UNIT.
6720 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
6721 __OFF_T_MATCHES_OFF64_T is not defined.
6722 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
6724 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
6725 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
6727 2017-08-14 Florian Weimer <fweimer@redhat.com>
6729 i386: Do not set internal_function.
6730 * config.h.in (USE_REGPARMS, internal_function): Remove.
6731 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
6732 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
6734 2017-08-14 Florian Weimer <fweimer@redhat.com>
6736 * elf/dl-init.c (_dl_init): Remove internal_function.
6737 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
6738 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
6740 2017-08-14 Florian Weimer <fweimer@redhat.com>
6742 * elf/rtld.c (_dl_start): Remove internal_function.
6743 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
6746 2017-08-14 Florian Weimer <fweimer@redhat.com>
6748 * elf/dl-fini.c (_dl_fini): Remove internal_function
6749 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
6751 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
6753 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
6754 (bit_cpu_SHSTK): Likewise.
6755 (index_cpu_IBT): Likewise.
6756 (index_cpu_SHSTK): Likewise.
6757 (reg_IBT): Likewise.
6758 (reg_SHSTK): Likewise.
6759 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
6760 Handle index_cpu_IBT and index_cpu_SHSTK.
6762 2017-08-14 Mike FABIAN <mfabian@redhat.com>
6765 * po/fr.po: Fix spelling mistake.
6767 2017-08-13 Florian Weimer <fweimer@redhat.com>
6769 * elf/dl-addr.c (_dl_addr): Remove internal_function.
6770 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
6771 (_dl_catch_error, _dl_receive_error): Likewise.
6772 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
6773 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
6774 (_dl_deallocate_tls): Likewise.
6775 * include/dlfcn.h (_dl_addr): Likewise.
6776 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
6777 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
6778 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
6781 2017-08-13 Florian Weimer <fweimer@redhat.com>
6783 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
6784 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
6786 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
6788 2017-08-13 Florian Weimer <fweimer@redhat.com>
6790 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
6792 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
6793 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
6794 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
6795 internal_function from _dl_make_stack_executable_hook member.
6796 (_dl_make_stack_executable): Remove internal_function.
6797 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
6799 * sysdeps/unix/sysv/linux/dl-execstack.c
6800 (_dl_make_stack_executable): Likewise.
6802 2017-08-13 Florian Weimer <fweimer@redhat.com>
6804 * sysdeps/unix/sysv/linux/netlinkaccess.h
6805 (__netlink_assert_response): Remove internal_function.
6806 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6807 (__netlink_assert_response): Likewise.
6809 2017-08-13 Florian Weimer <fweimer@redhat.com>
6811 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
6813 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
6815 2017-08-13 Florian Weimer <fweimer@redhat.com>
6817 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
6819 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
6820 * inet/netgroup.h (__internal_setnetgrent)
6821 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
6822 * inet/getnetgrent_r.c (__internal_setnetgrent)
6823 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
6824 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
6825 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
6826 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
6827 * nss/nsswitch.h (db_lookup_function): Likewise.
6829 2017-08-13 Florian Weimer <fweimer@redhat.com>
6831 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
6832 Remove internal_function.
6833 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
6834 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
6835 message argument on the stack.
6836 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
6839 2017-08-12 Mike FABIAN <mfabian@redhat.com>
6841 Adapt test case data to the changes in the thousands
6845 * localedata/tst-langinfo.sh: Adapt test case data.
6846 * stdlib/tst-strfmon_l.c: Likewise.
6847 * stdlib/tst-strtod4.c: Likewise.
6848 * stdlib/tst-strtod5i.c: Likewise.
6850 2017-08-11 Florian Weimer <fweimer@redhat.com>
6853 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
6854 Suppress pedantic warning resulting from statement expression.
6855 (__ASSERT_FUNCTION): Add missing __extension__.
6857 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
6859 * benchtests/bench-memmove-large.c: Print output in JSON
6861 * benchtests/bench-memmove.c: Likewise.
6863 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
6864 * benchtests/bench-memchr.c (do_one_test): Likewise.
6865 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
6866 * benchtests/bench-memcpy.c (do_one_test): Likewise.
6867 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
6868 * benchtests/bench-memmove.c (do_one_test): Likewise.
6869 * benchtests/bench-memset-large.c (do_one_test): Likewise.
6870 * benchtests/bench-memset.c (do_one_test): Likewise.
6871 * benchtests/bench-string.h (test_init): Remove memsets.
6873 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
6876 (Computing the Width of an Integer Data Type): Rename section to
6877 "Width of an Integer Type". Remove inaccurate statement regarding
6878 lack of C language facilities for determining width of integer
6879 types, and reorder content to improve flow and context of
6882 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
6884 * lang.texi (va_copy): Change standard from ISO to C99.
6885 (__va_copy): Add standard and header annotation.
6886 Update description for clarity of origins and current use.
6888 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6891 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
6892 xssqrtqp requires operands to be in Vector Registers
6893 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
6894 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
6895 (__ieee754_sqrtf128): Likewise.
6897 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6899 * sysdeps/aarch64/memcmp.S (memcmp):
6900 Rewrite of optimized memcmp.
6902 2017-08-10 Florian Weimer <fweimer@redhat.com>
6904 Introduce ld.so exceptions.
6905 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
6906 (_dl_exception_create, _dl_exception_create_format)
6907 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
6908 (_dl_catch_exception): Declare.
6909 (_dl_catch_error): Update comment.
6910 * elf/dl-error-skeleton.c (struct catch): Replace objname,
6911 errstring, malloced members with exception member.
6912 (_dl_out_of_memory): Remove.
6913 (fatal_error): New function, extracted from _dl_signal_error.
6914 (_dl_signal_exception, _dl_signal_cexception): New functions.
6915 (_dl_signal_error): Call _dl_exception_create to allocate an
6917 (_dl_catch_exception): New function, based on _dl_catch_error.
6918 (_dl_catch_error): Implement using _dl_catch_exception.
6919 * elf/dl-exception.c: New file.
6920 * elf/Makefile (dl-routines): Add dl-exception.
6921 (elide-routines.os): Likewise.
6922 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
6923 _dl_exception_create_format, _dl_exception_free.
6924 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
6925 _dl_signal_exception.
6926 * elf/dl-lookup.c (make_string): Remove.
6927 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
6928 _dl_signal_cexception, _dl_exception_free.
6929 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
6930 _dl_signal_exception.
6931 * elf/dl-sym.c (do_sym): Likewise.
6932 * elf/dl-version.c (make_string): Remove.
6933 (match_symbol): Use _dl_exception_create_format,
6934 _dl_signal_cexception, _dl_exception_free.
6935 (_dl_check_map_versions): Likewise.
6936 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
6937 _dl_catch_exception.
6938 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6939 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6940 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6941 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6942 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6943 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6944 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6945 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
6947 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6954 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6955 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6956 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
6958 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
6960 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6962 2017-08-10 Florian Weimer <fweimer@redhat.com>
6964 * inet/net-internal.h (__inet6_scopeid_pton): Remove
6965 attribute_hidden, internal_function.
6966 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
6969 2017-08-10 Florian Weimer <fweimer@redhat.com>
6971 * malloc/malloc.c (get_max_fast): Reimplement as an inline
6972 function which calls __builtin_unreachable.
6974 2017-08-10 Mike FABIAN <mfabian@redhat.com>
6976 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
6977 Indian monetary formatting
6978 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
6981 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
6983 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
6984 Fix typo in comment.
6987 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
6988 PTRACE_SEIZE_DEVEL): Remove.
6989 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
6990 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6991 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6992 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6993 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6995 2017-08-09 Joseph Myers <joseph@codesourcery.com>
6997 * posix/bits/types.h (__qaddr_t): Remove.
7000 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
7001 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7003 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
7004 (ucontext_t): Use __ctx with uc_flags.
7005 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
7007 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7009 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
7010 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7012 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
7013 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7015 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
7017 (ucontext_t): Use __ctx with uc_flags.
7018 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
7019 (ucontext_t): Use __ctx with uc_flags.
7020 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
7021 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
7022 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
7023 (ucontext_t): Use __ctx with uc_flags.
7024 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
7025 undefine further down.
7026 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7028 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
7029 undefine further down.
7030 (ucontext_t): Use __ctx with uc_flags.
7031 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
7032 undefine further down.
7033 (ucontext_t): Use __ctx with uc_flags.
7034 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
7035 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
7036 Rename uc_pad to __glibc_reserved1.
7037 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
7038 undefine further down.
7039 (ucontext_t): Use __ctx with uc_flags.
7040 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
7042 (ucontext_t): Use __ctx with uc_flags.
7043 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
7044 __ctx with uc_flags.
7045 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
7046 (ucontext_t): Use __ctx with uc_flags.
7047 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
7048 __ctx with uc_flags.
7050 2017-08-09 Florian Weimer <fweimer@redhat.com>
7053 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
7054 before early return.
7056 2017-08-09 Andreas Schwab <schwab@suse.de>
7059 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
7063 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
7064 tst-compat-forwarder.
7065 (modules-names): Add tst-compat-forwarder-mod.
7066 ($(objpfx)tst-compat-forwarder): Depend on
7067 $(objpfx)tst-compat-forwarder-mod.so.
7068 * nptl/tst-compat-forwarder.c: New file.
7069 * nptl/tst-compat-forwarder-mod.c: New file.
7071 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
7073 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
7076 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
7077 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7079 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
7081 (__libc_ifunc_impl_list): Add __memcpy_falkor.
7082 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
7083 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
7084 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7086 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
7089 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7092 * manual/setjmp.texi (getcontex): Document uc_stack value
7093 compatibility differences.
7095 2017-08-08 Joseph Myers <joseph@codesourcery.com>
7097 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
7098 (old_malloc_hook): Likewise.
7099 (old_memalign_hook): Likewise.
7100 (old_realloc_hook): Likewise.
7101 (struct hdr): Likewise.
7103 (freehook): Likewise.
7104 (mallochook): Likewise.
7105 (memalignhook): Likewise.
7106 (reallochook): Likewise.
7108 * malloc/mtrace.c (mallwatch): Likewise.
7109 (tr_old_free_hook): Likewise.
7110 (tr_old_malloc_hook): Likewise.
7111 (tr_old_realloc_hook): Likewise.
7112 (tr_old_memalign_hook): Likewise.
7113 (tr_where): Likewise.
7114 (lock_and_info): Likewise.
7115 (tr_freehook): Likewise.
7116 (tr_mallochook): Likewise.
7117 (tr_reallochook): Likewise.
7118 (tr_memalignhook): Likewise.
7119 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
7120 * misc/mmap.c (__mmap): Likewise.
7121 * misc/mmap64.c (__mmap64): Likewise.
7122 * misc/mprotect.c (__mprotect): Likewise.
7123 * misc/msync.c (msync): Likewise.
7124 * misc/munmap.c (__munmap): Likewise.
7125 * posix/posix_madvise.c (posix_madvise): Likewise.
7126 * socket/send.c (__send): Likewise.
7127 * socket/sendto.c (__sendto): Likewise.
7128 * socket/setsockopt.c (__setsockopt): Likewise.
7129 * string/memcmp.c (__ptr_t): Remove macro.
7130 (MEMCMP): Use void * instead of ptr_t.
7131 * string/memrchr.c (__ptr_t): Remove macro.
7132 (__memrchr): Use void * instead of ptr_t.
7133 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
7134 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
7135 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
7136 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
7137 * sysdeps/mach/msync.c (msync): Likewise.
7138 * sysdeps/mach/munmap.c (__munmap): Likewise.
7139 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
7141 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
7142 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
7143 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
7144 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
7145 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
7146 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7147 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
7148 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
7150 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7151 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
7152 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
7153 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
7154 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
7155 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
7156 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
7157 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
7158 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
7160 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
7161 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
7162 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
7163 (MEMCMP): Use void * instead of ptr_t.
7164 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
7165 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
7167 2017-08-08 Florian Weimer <fweimer@redhat.com>
7169 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
7172 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
7175 * csu/libc-tls.c: Include <startup.h> first.
7176 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
7177 * elf/dl-tunables.c: Include <startup.h> first.
7178 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
7179 * sysdeps/generic/startup.h: New file.
7180 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
7181 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
7182 (I386_USE_SYSENTER): New. Defined to 0.
7184 2017-08-08 Andreas Schwab <schwab@suse.de>
7187 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
7188 * nptl/pt-system.c (system): Likewise.
7190 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7193 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
7195 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
7196 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
7197 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
7198 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
7199 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7200 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7201 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7203 2017-08-07 Joseph Myers <joseph@codesourcery.com>
7206 * bits/sigaction.h (struct sigaction): Define sa_handler and
7207 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
7208 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7209 [__USE_XOPEN_EXTENDED].
7210 (SA_RESTART): Likewise.
7211 (SA_NODEFER): Likewise.
7212 (SA_RESETHAND): Likewise.
7213 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
7214 (struct sigaction): Define sa_handler and sa_sigaction using union
7215 also for [__USE_XOPEN_EXTENDED].
7216 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7217 [__USE_XOPEN_EXTENDED].
7218 (SA_RESTART): Likewise.
7219 (SA_NODEFER): Likewise.
7220 (SA_RESETHAND): Likewise.
7221 * sysdeps/unix/sysv/linux/bits/sigaction.h
7222 (struct sigaction): Define sa_handler and sa_sigaction using union
7223 also for [__USE_XOPEN_EXTENDED].
7224 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7225 [__USE_XOPEN_EXTENDED].
7226 (SA_RESTART): Likewise.
7227 (SA_NODEFER): Likewise.
7228 (SA_RESETHAND): Likewise.
7229 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
7230 (struct sigaction): Define sa_handler and sa_sigaction using union
7231 also for [__USE_XOPEN_EXTENDED].
7232 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7233 [__USE_XOPEN_EXTENDED].
7234 (SA_RESTART): Likewise.
7235 (SA_NODEFER): Likewise.
7236 (SA_RESETHAND): Likewise.
7237 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
7238 (struct sigaction): Define sa_handler and sa_sigaction using union
7239 also for [__USE_XOPEN_EXTENDED].
7240 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7241 [__USE_XOPEN_EXTENDED].
7242 (SA_RESTART): Likewise.
7243 (SA_NODEFER): Likewise.
7244 (SA_RESETHAND): Likewise.
7245 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7246 (struct sigaction): Define sa_handler and sa_sigaction using union
7247 also for [__USE_XOPEN_EXTENDED].
7248 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7249 [__USE_XOPEN_EXTENDED].
7250 (SA_RESTART): Likewise.
7251 (SA_NODEFER): Likewise.
7252 (SA_RESETHAND): Likewise.
7253 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7254 (struct sigaction): Define sa_handler and sa_sigaction using union
7255 also for [__USE_XOPEN_EXTENDED].
7256 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7257 [__USE_XOPEN_EXTENDED].
7258 (SA_RESTART): Likewise.
7259 (SA_NODEFER): Likewise.
7260 (SA_RESETHAND): Likewise.
7261 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7262 (struct sigaction): Define sa_handler and sa_sigaction using union
7263 also for [__USE_XOPEN_EXTENDED].
7264 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7265 [__USE_XOPEN_EXTENDED].
7266 (SA_RESTART): Likewise.
7267 (SA_NODEFER): Likewise. Define directly rather than as alias.
7268 (SA_RESETHAND): Likewise.
7269 (SA_INTERRUPT): Define only for [__USE_MISC].
7270 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
7271 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
7273 (SA_STACK): Define only for [__USE_MISC].
7274 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
7275 (struct sigaction): Define sa_handler and sa_sigaction using union
7276 also for [__USE_XOPEN_EXTENDED].
7277 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7278 [__USE_XOPEN_EXTENDED].
7279 (SA_RESTART): Likewise.
7280 (SA_NODEFER): Likewise.
7281 (SA_RESETHAND): Likewise.
7282 (SA_NOPTRACE): Define only for [__USE_MISC].
7284 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
7285 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
7286 (struct catalog_info): Likewise.
7287 * inet/htontest.c (lo): Likewise.
7289 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7290 * inet/inet_net.c (inet_network): Likewise.
7291 * inet/inet_netof.c (inet_netof): Likewise.
7292 * inet/rcmd.c (__ivaliduser): Likewise.
7293 (iruserok): Likewise.
7294 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
7295 * locale/programs/locale-spec.c (locale_special): Likewise.
7296 * nis/nis_findserv.c (struct findserv_req): Likewise.
7297 (__nis_findfastest_with_timeout): Likewise.
7298 * nss/test-netdb.c (test_network): Likewise.
7299 * resolv/inet_neta.c (inet_neta): Likewise.
7300 * resolv/ns_date.c (ns_datetosecs): Likewise.
7301 (SECS_PER_DAY): Likewise.
7302 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
7304 * resolv/res_comp.c (__putlong): Likewise.
7305 (__putshort): Likewise.
7306 (_getlong): Likewise.
7307 (_getshort): Likewise.
7308 * resolv/res_debug.c (p_time): Likewise.
7309 (precsize_ntoa): Likewise.
7310 (precsize_aton): Likewise.
7311 (latlon2ul): Likewise.
7312 (loc_aton): Likewise.
7313 (loc_ntoa): Likewise.
7314 * resolv/res_hconf.c (struct netaddr): Likewise.
7315 (_res_hconf_reorder_addrs): Likewise.
7316 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7317 (clnttcp_control): Likewise.
7318 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7319 (clntudp_control): Likewise.
7320 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
7321 (clntunix_control): Likewise.
7322 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7323 * sunrpc/rpc/auth.h (union des_block): Likewise.
7324 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
7325 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
7326 (xdrrec_create): Likewise.
7327 (xdrrec_endofrecord): Likewise.
7328 (flush_out): Likewise.
7329 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
7330 (xdrstdio_putlong): Likewise.
7331 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
7334 * misc/sys/cdefs.h (__long_double_t): Remove.
7335 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
7336 instead of __long_double_t,
7337 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
7339 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7341 * benchtests/scripts/compare_strings.py: Avoid display error when
7342 running on a text terminal.
7344 * benchtests/scripts/compare_strings.py (main): Add an
7345 optional -base option.
7346 (process_results): New argument base_func.
7348 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
7350 * benchtests/bench-memcpy-large.c (test_name): Likewise.
7351 * benchtests/bench-memcpy-random.c (test_name): Likewise.
7353 2017-08-07 Andreas Schwab <schwab@suse.de>
7355 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
7356 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7357 * intl/Makefile ($(objpfx)tst-gettext.out)
7358 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
7359 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
7360 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7361 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7362 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
7363 * posix/Makefile ($(objpfx)globtest.out)
7364 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
7365 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
7366 ($(objpfx)tst-printf.out): Likewise.
7367 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
7368 ($(objpfx)tst-setcontext3.out): Likewise.
7370 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
7372 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7373 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
7374 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
7375 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
7376 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
7378 (CFLAGS-doasin-fma.c): New.
7379 (CFLAGS-dosincos-fma.c): Likewise.
7380 (CFLAGS-e_asin-fma.c): Likewise.
7381 (CFLAGS-e_atan2-fma.c): Likewise.
7382 (CFLAGS-e_exp-fma.c): Likewise.
7383 (CFLAGS-e_log-fma.c): Likewise.
7384 (CFLAGS-e_pow-fma.c): Likewise.
7385 (CFLAGS-halfulp-fma.c): Likewise.
7386 (CFLAGS-mpa-fma.c): Likewise.
7387 (CFLAGS-mpatan-fma.c): Likewise.
7388 (CFLAGS-mpatan2-fma.c): Likewise.
7389 (CFLAGS-mpexp-fma.c): Likewise.
7390 (CFLAGS-mplog-fma.c): Likewise.
7391 (CFLAGS-mpsqrt-fma.c): Likewise.
7392 (CFLAGS-mptan-fma.c): Likewise.
7393 (CFLAGS-s_atan-fma.c): Likewise.
7394 (CFLAGS-sincos32-fma.c): Likewise.
7395 (CFLAGS-slowexp-fma.c): Likewise.
7396 (CFLAGS-slowpow-fma.c): Likewise.
7397 (CFLAGS-s_sin-fma.c): Likewise.
7398 (CFLAGS-s_tan-fma.c): Likewise.
7399 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
7400 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
7401 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
7402 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
7403 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
7404 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
7405 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
7406 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
7407 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
7408 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
7409 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
7410 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
7411 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
7412 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
7413 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
7414 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
7415 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
7416 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
7417 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
7418 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
7419 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
7420 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
7421 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
7422 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
7423 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7424 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7425 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7426 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
7427 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7428 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7429 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7431 2017-08-04 Joseph Myers <joseph@codesourcery.com>
7433 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
7434 (min_of_type_f): New macro.
7435 (min_of_type_): Likewise.
7436 (min_of_type_l): Likewise.
7437 (min_of_type_f128): Likewise.
7438 (min_of_type): Define using __MATH_TG and taking an expression
7440 (math_check_force_underflow): Pass expression instead of type to
7442 (math_check_force_underflow_nonneg): Likewise.
7444 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7446 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
7447 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
7448 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
7450 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7452 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7453 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
7454 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
7455 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
7456 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
7457 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
7458 memcpy_chk-nonshared, mempcpy_chk-nonshared,
7459 memmove_chk-nonshared and memset_chk-nonshared
7460 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
7461 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
7462 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
7463 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
7464 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
7465 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
7466 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
7467 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
7468 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
7469 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
7470 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
7471 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
7472 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
7473 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
7474 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
7475 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
7476 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
7477 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
7478 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
7479 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
7480 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
7481 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
7482 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
7483 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
7484 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
7485 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
7486 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
7487 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
7488 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
7489 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
7490 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
7491 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
7492 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
7493 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
7494 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
7495 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
7496 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
7497 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
7498 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
7499 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
7500 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
7501 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
7502 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
7503 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
7504 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
7505 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
7506 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
7507 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
7508 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
7509 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
7510 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
7511 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
7512 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
7513 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
7514 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
7515 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
7516 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
7517 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
7518 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
7519 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
7520 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
7521 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
7522 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
7523 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
7524 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
7525 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
7526 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
7527 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
7528 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
7529 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
7530 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
7531 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7532 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7533 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7534 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7535 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7536 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7537 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7538 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7539 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7540 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7541 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7542 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7543 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7544 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7545 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7546 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7547 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7548 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7549 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7550 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7551 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7552 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7553 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7554 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7555 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7556 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7557 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7558 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7559 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7560 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7561 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7562 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7563 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7564 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7565 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7566 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7567 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7569 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7571 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
7572 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
7573 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
7574 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
7575 svml_d_log2_core-sse2, svml_d_log4_core-sse,
7576 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
7577 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
7578 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
7579 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
7580 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
7581 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
7582 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
7583 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
7584 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
7585 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
7586 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
7587 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
7588 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
7589 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
7590 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
7591 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
7592 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
7593 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
7594 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
7595 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
7596 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
7597 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
7598 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
7599 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
7600 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
7601 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
7602 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
7603 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
7604 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
7605 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
7606 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
7607 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
7608 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
7609 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
7610 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
7611 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
7612 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
7613 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
7614 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
7615 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
7616 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
7617 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
7618 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
7619 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
7620 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
7621 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
7622 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
7623 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
7624 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
7625 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
7626 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
7627 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
7628 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
7629 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
7631 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
7632 Don't include <sysdep.h> nor <init-arch.h>.
7633 (_ZGVbN2v_cos): Removed.
7634 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
7636 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
7637 Don't include <sysdep.h> nor <init-arch.h>.
7638 (_ZGVdN4v_cos): Removed.
7639 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
7641 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
7642 Don't include <sysdep.h> nor <init-arch.h>.
7643 (_ZGVeN8v_cos): Removed.
7644 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
7646 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
7647 Don't include <sysdep.h> nor <init-arch.h>.
7648 (_ZGVbN2v_exp): Removed.
7649 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
7651 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
7652 Don't include <sysdep.h> nor <init-arch.h>.
7653 (_ZGVdN4v_exp): Removed.
7654 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
7656 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
7657 Don't include <sysdep.h> nor <init-arch.h>.
7658 (_ZGVeN8v_exp): Removed.
7659 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
7661 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
7662 Don't include <sysdep.h> nor <init-arch.h>.
7663 (_ZGVbN2v_log): Removed.
7664 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
7666 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
7667 Don't include <sysdep.h> nor <init-arch.h>.
7668 (_ZGVdN4v_log): Removed.
7669 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
7671 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
7672 Don't include <sysdep.h> nor <init-arch.h>.
7673 (_ZGVeN8v_log): Removed.
7674 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
7676 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
7677 Don't include <sysdep.h> nor <init-arch.h>.
7678 (_ZGVbN2vv_pow): Removed.
7679 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
7681 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
7682 Don't include <sysdep.h> nor <init-arch.h>.
7683 (_ZGVdN4vv_pow): Removed.
7684 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
7686 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
7687 Don't include <sysdep.h> nor <init-arch.h>.
7688 (_ZGVeN8vv_pow): Removed.
7689 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
7691 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
7692 Don't include <sysdep.h> nor <init-arch.h>.
7693 (_ZGVbN2v_sin): Removed.
7694 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
7696 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
7697 Don't include <sysdep.h> nor <init-arch.h>.
7698 (_ZGVbN4v_sin): Removed.
7699 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
7701 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
7702 Don't include <sysdep.h> nor <init-arch.h>.
7703 (_ZGVbN8v_sin): Removed.
7704 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
7706 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
7707 Don't include <sysdep.h> nor <init-arch.h>.
7708 (_ZGVbN2vvv_sincos): Removed.
7709 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
7711 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
7712 Don't include <sysdep.h> nor <init-arch.h>.
7713 (_ZGVdN4vvv_sincos): Removed.
7714 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
7716 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
7717 Don't include <sysdep.h> nor <init-arch.h>.
7718 (_ZGVeN8vvv_sincos): Removed.
7719 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
7721 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
7722 Don't include <sysdep.h> nor <init-arch.h>.
7723 (_ZGVeN16v_cosf): Removed.
7724 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
7726 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
7727 Don't include <sysdep.h> nor <init-arch.h>.
7728 (_ZGVbN4v_cosf): Removed.
7729 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
7731 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
7732 Don't include <sysdep.h> nor <init-arch.h>.
7733 (_ZGVdN8v_cosf): Removed.
7734 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
7736 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
7737 Don't include <sysdep.h> nor <init-arch.h>.
7738 (_ZGVeN16v_expf): Removed.
7739 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
7741 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
7742 Don't include <sysdep.h> nor <init-arch.h>.
7743 (_ZGVbN4v_expf): Removed.
7744 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
7746 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
7747 Don't include <sysdep.h> nor <init-arch.h>.
7748 (_ZGVdN8v_expf): Removed.
7749 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
7751 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
7752 Don't include <sysdep.h> nor <init-arch.h>.
7753 (_ZGVeN16v_logf): Removed.
7754 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
7756 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
7757 Don't include <sysdep.h> nor <init-arch.h>.
7758 (_ZGVbN4v_logf): Removed.
7759 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
7761 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
7762 Don't include <sysdep.h> nor <init-arch.h>.
7763 (_ZGVdN8v_logf): Removed.
7764 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
7766 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
7767 Don't include <sysdep.h> nor <init-arch.h>.
7768 (_ZGVeN16vv_powf): Removed.
7769 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
7771 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
7772 Don't include <sysdep.h> nor <init-arch.h>.
7773 (_ZGVbN4vv_powf): Removed.
7774 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
7776 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
7777 Don't include <sysdep.h> nor <init-arch.h>.
7778 (_ZGVdN8vv_powf): Removed.
7779 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
7781 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
7782 Don't include <sysdep.h> nor <init-arch.h>.
7783 (_ZGVeN16vvv_sincosf): Removed.
7784 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
7786 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
7787 Don't include <sysdep.h> nor <init-arch.h>.
7788 (_ZGVbN4vvv_sincosf): Removed.
7789 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
7791 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
7792 Don't include <sysdep.h> nor <init-arch.h>.
7793 (_ZGVdN8vvv_sincosf): Removed.
7794 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
7796 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
7797 Don't include <sysdep.h> nor <init-arch.h>.
7798 (_ZGVeN16v_sinf): Removed.
7799 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
7801 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
7802 Don't include <sysdep.h> nor <init-arch.h>.
7803 (_ZGVbN4v_sinf): Removed.
7804 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
7806 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
7807 Don't include <sysdep.h> nor <init-arch.h>.
7808 (_ZGVdN8v_sinf): Removed.
7810 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7812 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7813 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
7814 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
7815 s_rint-sse4_1 and s_rintf-sse4_1.
7816 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
7817 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7818 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7819 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7820 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7821 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
7822 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
7823 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7824 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7825 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
7826 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
7827 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7829 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
7830 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
7831 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7833 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
7834 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
7835 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7837 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
7838 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
7839 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7840 (__floorf): Removed.
7841 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
7842 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
7843 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7844 (__nearbyint): Removed.
7845 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
7846 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
7847 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7848 (__nearbyintf): Removed.
7849 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
7850 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
7851 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7853 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
7854 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
7855 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7858 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7860 * sysdeps/i386/start.S (_start): Check Check PIC instead of
7861 SHARED. Avoid dynamic relocation against main in static PIE.
7863 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7866 * elf/Makefile (CFLAGS-tst-prelink.c): New.
7867 (LDFLAGS-tst-prelink): Likewise.
7869 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7871 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
7872 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
7873 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
7874 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
7875 (INTERNAL_SYSCALL_NCS): Likewise.
7876 (LOADARGS_1): Likewise.
7877 (LOADARGS_5): Likewise.
7878 (RESTOREARGS_1): Likewise.
7879 (RESTOREARGS_5): Likewise.
7881 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7883 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
7884 (MEMPCPY_SYMBOL): Likewise.
7885 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7886 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
7887 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
7889 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7890 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7892 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
7893 (__hidden_ver1): Don't use in libc.a.
7894 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
7895 (__mempcpy): Don't create a weak alias in libc.a.
7896 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
7898 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
7899 (__hidden_ver1): Don't use in libc.a.
7901 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7903 * config.make.in (have-insert): New.
7904 * configure.ac (libc_cv_insert): New. Set to yes if linker
7905 supports INSERT in linker script.
7906 (AC_SUBST(libc_cv_insert): New.
7907 * configure: Regenerated.
7908 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
7909 if $(have-insert) == yes.
7911 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7913 * elf/Makefile (tests): Add vismain only if
7914 $(have-protected-data) == yes.
7915 (tests-pie): Likewise.
7917 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7920 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7921 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
7923 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7926 * sysdeps/i386/i586/memset.S
7927 (__memset_zero_constant_len_parameter): Removed.
7928 * sysdeps/i386/i686/memset.S
7929 (__memset_zero_constant_len_parameter): Likewise.
7930 * sysdeps/i386/i686/multiarch/memset_chk.S
7931 (__memset_zero_constant_len_parameter): Likewise.
7932 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
7935 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
7937 * stdlib/getentropy.c (getentropy): Change return type to int.
7939 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
7941 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
7943 2017-08-03 Joseph Myers <joseph@codesourcery.com>
7945 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
7947 * math/s_nexttowardf.c (__nexttowardf): Likewise.
7948 * sysdeps/generic/math_private.h (ieee_double_shape_type):
7950 (ieee_float_shape_type): Likewise.
7951 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
7952 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
7953 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7954 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7955 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7956 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
7957 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
7958 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7959 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7961 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7962 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7963 (__ieee754_yn): Likewise.
7964 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7965 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7966 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
7968 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7969 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
7970 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
7971 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
7973 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
7974 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
7975 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
7976 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
7977 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
7978 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
7980 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
7981 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
7982 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
7983 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
7984 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7985 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
7986 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
7987 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
7988 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
7989 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
7990 (__issignaling): Likewise.
7991 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
7992 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
7993 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7995 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7996 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
7997 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
7998 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
8000 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
8002 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
8003 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
8004 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
8005 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
8006 (__erfcf): Likewise.
8007 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
8008 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
8009 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
8010 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
8012 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
8013 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
8015 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
8016 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
8017 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
8018 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
8019 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
8020 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8021 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
8022 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
8024 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
8026 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
8028 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
8029 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8031 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8033 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8034 (__ieee754_ynl): Likewise.
8035 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8036 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
8038 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
8040 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
8041 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
8042 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8044 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
8045 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
8046 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
8047 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
8048 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
8049 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
8050 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
8051 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
8053 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
8054 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
8055 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
8057 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
8058 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
8059 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
8060 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
8061 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
8062 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8064 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8066 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8068 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8070 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
8071 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8072 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8073 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
8074 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
8075 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
8076 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
8078 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8080 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8081 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8083 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8084 (__ieee754_remainderl): Likewise.
8085 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8086 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8087 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
8088 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
8090 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
8091 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8093 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8094 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
8095 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
8096 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
8097 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8098 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8100 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
8101 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
8102 (__ieee754_y0l): Likewise.
8105 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8106 (__ieee754_y1l): Likewise.
8109 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8110 (__ieee754_ynl): Likewise.
8111 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8112 (__ieee754_lgammal_r): Likewise.
8113 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
8115 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
8116 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
8117 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
8118 (__erfcl): Likewise.
8119 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
8120 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
8122 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
8123 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
8124 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
8125 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
8126 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
8127 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8128 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8130 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
8131 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8132 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
8133 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
8134 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8136 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
8137 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
8139 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
8140 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
8141 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
8142 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8143 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8145 2017-08-03 Florian Weimer <fweimer@redhat.com>
8148 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
8149 on memory allocation failure.
8151 2017-08-03 Alan Modra <amodra@gmail.com>
8153 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
8154 tst-tlsopt-powerpc.c with function name change and no test harness.
8155 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
8156 Call tls_get_addr_opt_test.
8157 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
8158 (modules-names): Add mod-tlsopt-powerpc.
8159 (mod-tlsopt-powerpc.so-no-z-defs): Define.
8160 (tst-tlsopt-powerpc): Depend on .so.
8161 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
8162 define. Expand use in TLS_GD and TLS_LD.
8164 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8166 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
8168 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8170 2017-08-02 Joseph Myers <joseph@codesourcery.com>
8173 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
8174 comparing size with that of double.
8175 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
8176 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
8177 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
8178 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
8179 (__TGMATH_BINARY_REAL_IMAG): Likewise.
8180 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
8181 unsigned __int128 types.
8183 2017-08-02 Steve Ellcey <sellcey@cavium.com>
8185 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
8186 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
8187 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
8188 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
8189 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
8191 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8193 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
8195 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8197 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
8199 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8200 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8201 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8202 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8203 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8204 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8205 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8207 2017-08-02 Joseph Myers <joseph@codesourcery.com>
8210 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
8211 bit-field expressions passed to sizeof or typeof.
8212 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8213 (__TGMATH_F128): Likewise.
8214 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8215 (__TGMATH_CF128): Likewise.
8216 (__TGMATH_UNARY_REAL_ONLY): Likewise.
8217 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
8218 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
8219 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
8220 (__TGMATH_BINARY_REAL_ONLY): Likewise.
8221 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
8222 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
8223 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
8224 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
8225 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
8226 (__TGMATH_UNARY_REAL_IMAG): Likewise.
8227 (__TGMATH_UNARY_IMAG): Likewise.
8228 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
8229 (__TGMATH_BINARY_REAL_IMAG): Likewise.
8230 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
8232 (define_vars_for_type): Handle bit_field type specially.
8233 (Tests.__init__): Declare structure with bit-field element.
8235 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8238 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
8239 (MEMCPY_CHK): Define only if SHARED is defined.
8240 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
8242 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
8245 See ChangeLog.18 for earlier changes.