1 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
3 * malloc/malloc.c (sysdep-cancel.h): Add include.
5 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
7 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
9 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
11 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
12 (tests): Remove $(objpfx)ga_test depdendency.
13 * resolv/ga_test.c: Remove file.
15 2017-10-20 Mike FABIAN <mfabian@redhat.com>
18 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
19 * localedata/locales/kab_DZ: New file.
21 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
24 _dl_relocate_static_pie instead of _dl_start to compute load
25 address in static PIE.
27 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
31 2017-10-20 Mike FABIAN <mfabian@redhat.com>
34 * localedata/SUPPORTED: Add shn_MM/UTF-8.
35 * localedata/locales/shn_MM: New file.
37 2017-10-20 Florian Weimer <fweimer@redhat.com>
40 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
41 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
42 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
43 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
44 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
45 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
47 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
49 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51 2017-10-19 Joseph Myers <joseph@codesourcery.com>
53 * sysdeps/mips/ieee754/bits/floatn.h: New file.
56 * sysdeps/mips/bits/long-double.h: Move to ....
57 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
59 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
61 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
63 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
64 H.J. Lu <hongjiu.lu@intel.com>
67 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
68 GLRO(dl_platform) to NULL.
69 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
70 (modules-names): Add tst-platformmod-1 and
71 x86_64/tst-platformmod-2.
72 (CFLAGS-tst-platform-1.c): New.
73 (CFLAGS-tst-platformmod-1.c): Likewise.
74 (CFLAGS-tst-platformmod-2.c): Likewise.
75 (LDFLAGS-tst-platformmod-2.so): Likewise.
76 ($(objpfx)tst-platform-1): Likewise.
77 ($(objpfx)tst-platform-1.out): Likewise.
78 (tst-platform-1-ENV): Likewise.
79 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
80 * sysdeps/x86_64/tst-platform-1.c: New file.
81 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
82 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
84 2017-10-19 Mike FABIAN <mfabian@redhat.com>
87 * locale/iso-639.def: Add Karbi.
88 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
89 * localedata/locales/mjw_IN: New file.
91 2017-10-18 Joseph Myers <joseph@codesourcery.com>
93 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
94 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
95 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
96 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
97 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
98 (libm_alias_ldouble_other_r): Also create _Float128 alias.
99 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
101 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
102 (libm_alias_ldouble_other_r): Also create _Float128 alias.
103 * manual/math.texi (Mathematics): Document additional architecture
104 support for _Float128.
105 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
106 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
107 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
108 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
109 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
110 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
111 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
112 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
113 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
114 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
115 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
116 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
117 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
118 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
119 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
121 2017-10-18 Renlin Li <renlin.li@arm.com>
123 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
124 _DYNAMIC symbol to calculate load address.
126 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
128 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
129 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
131 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
132 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
134 2017-10-18 Mike FABIAN <mfabian@redhat.com>
137 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
138 and improve readability by using more ASCII.
139 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
140 and improve readability by using more ASCII.
142 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
144 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
145 not all targets support atomics on bool.
147 2017-10-17 Joseph Myers <joseph@codesourcery.com>
149 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
150 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
152 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
153 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
154 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
155 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
156 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
157 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
159 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
161 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
164 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
167 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
168 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
169 (do_check_remalloced_chunk): Fix build bug.
170 (do_check_malloc_state): Add assert that checks arena->top.
171 (malloc_consolidate): Remove initialization.
172 (int_mallinfo): Remove call to malloc_consolidate.
173 (__libc_mallopt): Clarify why malloc_consolidate is needed.
175 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
177 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
178 (have_fastchunks): Remove.
179 (clear_fastchunks): Remove.
180 (set_fastchunks): Remove.
181 (malloc_state): Add have_fastchunks.
182 (malloc_init_state): Use have_fastchunks.
183 (do_check_malloc_state): Remove incorrect invariant checks.
184 (_int_malloc): Use have_fastchunks.
185 (_int_free): Likewise.
186 (malloc_consolidate): Likewise.
188 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
190 * malloc/malloc.c (tcache_put): Inline.
191 (tcache_get): Inline.
193 2017-10-17 Jordi Mallach <jordi@gnu.org>
195 Aurelien Jarno <aurelien@aurel32.net>
197 * localedata/locales/ca_ES@valencia: New file.
198 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
200 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
203 * math/math.h: Let signbit use the builtin in C++ mode with gcc
206 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
208 * scripts/build-many-glibcs.py (Context.add_all_configs):
209 Add arm-linux-gnueabihf multiarch extra_glibcs.
211 * sysdeps/generic/ifunc-init.h: New file.
212 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
214 2017-10-17 Mike FABIAN <mfabian@redhat.com>
217 * localedata/locales/el_GR: Set n_cs_precedes to 0.
218 * localedata/locales/el_CY: copy "el_GR" because it is identical.
219 * stdlib/tst-strfmon_l.c: adapt test case.
221 2017-10-16 Joseph Myers <joseph@codesourcery.com>
223 * sysdeps/generic/float128-abi.h: New file.
224 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
225 non-__prefixed symbols to ....
226 * math/Versions: ... here. Include <float128-abi.h>.
227 * stdlib/Versions ... and here. Include <float128-abi.h>
229 2017-10-16 Florian Weimer <fweimer@redhat.com>
231 * version.h (VERSION): Switch to ".9000" as the development
234 2017-10-16 Florian Weimer <fweimer@redhat.com>
237 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
238 compat_symbol_reference to access non-default version.
240 2017-10-16 Florian Weimer <fweimer@redhat.com>
242 * malloc/Makefile (others-extras): Set to mcheck-init.o.
244 2017-10-16 Carlos O'Donell <carlos@redhat.com>
246 * include/shlib-compat.h (compat_symbol_reference): Update
249 2017-10-16 Joseph Myers <joseph@codesourcery.com>
251 * math/Makefile (test-types): Add
252 $(type-float128-$(float128-alias-fcts)).
253 * math/test-float128.h (TYPE_STR): Define conditional on
254 [FLT128_MANT_DIG == LDBL_MANT_DIG].
256 (ULP_I_IDX): Likewise.
258 * stdlib/strtold.c: Include <bits/floatn.h>
259 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
260 and later undefine as macro. Define as weak alias if
262 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
263 and later undefine as macro. Define as weak alias if
265 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
266 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
267 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
268 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
269 Define and later undefine as macro. Define as weak alias if
271 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
273 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
274 Define and later undefine as macro. Define as weak alias if
276 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
277 Define and later undefine as macro. Define as weak alias if
280 2017-10-15 Carlos O'Donell <carlos@redhat.com>
282 * localedata/collate-test.c (allocate_arrays): Don't use \n in
283 record_verbose messages.
285 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
288 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
289 to silence -O3 -Wall warning with GCC 7.
291 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
293 * Makeconfig (+link-static-before-libc): Use the first of
294 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
295 * gmon/Makefile (tests): Add tst-gmon-static.
296 (tests-static): Likewise.
297 (CFLAGS-tst-gmon-static.c): New.
298 (CRT-tst-gmon-static): Likewise.
299 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
300 (tst-gmon-static-ENV): Likewise.
301 (tests-special): Likewise.
302 ($(objpfx)tst-gmon-static.out): Likewise.
303 (clean-tst-gmon-static-data): Likewise.
304 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
305 * gmon/tst-gmon-static-gprof.sh: New file.
306 * gmon/tst-gmon-static.c: Likewise.
308 2017-10-13 Carlos O'Donell <carlos@redhat.com>
311 * locale/programs/linereader.c (get_string): Don't warn on
312 non-symbolic character.
314 2017-10-13 Carlos O'Donell <carlos@redhat.com>
317 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
320 2017-10-13 Carlos O'Donell <carlos@redhat.com>
323 * locale/programs/record-status.h: New file
324 * locale/programs/locale.c: Add comment.
325 * locale/programs/charmap-dir.c: Don't include error.h.
326 (charmap_opendir): Use record_error.
327 * locale/programs/charmap.c: Don't include error.h.
328 (charmap_read): Use record_error, and record_warning.
329 (parse_charmap): Likewise.
330 * locale/programs/ld-address.c: Don't include error.h.
331 (address_finish): Use record_error, and record_warning.
332 * locale/programs/ld-collate.c: Don't include error.h.
333 (collate_finish): Use record_error, and record_error_at_line.
334 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
335 (ctype_class_new): Likewise.
336 (ctype_map_new): Likewise.
337 (set_one_default): Likewise.
338 (set_class_defaults): Likewise.
339 (translit_flatten): Likewise.
340 (allocate_arrays): Use record_error, and record_verbose.
341 * locale/programs/ld-identification.c: Don't include error.h.
342 (indentation_finish): Use record_error and record_warning.
343 * locale/programs/ld-measurement.c: Don't include error.h.
344 (measurement_finish): Use record_error.
345 * locale/programs/ld-messages.c
346 (message_finish): Likewise.
347 * locale/programs/ld-monetary.c
348 (monetary_finish): Likewise.
349 * locale/programs/ld-name.c (name_finish): Use record_error
351 * locale/programs/ld-numeric.c
352 (numeric_finish): Use record_error.
353 * locale/programs/ld-paper.c: Don't include error.h.
354 (paper_finish): Use record_error.
355 * locale/programs/ld-telephone.c: Don't include error.h.
356 (telephone_finish): Use record_error.
357 * locale/programs/ld-time.c (time_finish): Likewise.
358 * locale/programs/linereader.h (lr_error): Make inline func.
359 * locale/programs/localedef.c: Define recorded_warning_count,
360 and recorded_error_count.
361 (main): Use record_error. Use recorded_error_count and
362 recorded_warning_count to issue correct error returns.
363 (add_to_readlist): Use record_error.
364 (find_locale): Likewise.
365 (load_locale): Likewise.
366 * locale/programs/localedef.h: Remove be_quiet
368 * locale/programs/locarchive.c (compare_from_file): Use
370 * locale/programs/locfile.c (write_locale_data): Use
372 * locale/programs/repertoire.c: Dont include error.h.
373 (repertoire_complain): Use record_error.
374 * localedata/tst-fmon.sh: Expect failures from localedef.
375 * localedata/tst-locale.sh: Likewise.
376 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
378 2017-10-12 Carlos O'Donell <carlos@redhat.com>
380 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
384 (i18n_ctype): ...this.
385 (i18n-report): Rename to...
386 (i18n_ctype-report): ...this.
387 * localedata/locales/i18n_ctype: Regenerate.
388 * localedata/locales/i18n: copy i18n_ctype.
390 2017-10-13 Joseph Myers <joseph@codesourcery.com>
392 * stdlib/strfroml.c: Include <bits/floatn.h>.
393 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
394 Define before include of <stdlib.h> and undefine afterwards, then
395 define as weak alias.
397 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
398 Undefine and restore default definition. Use
399 libm_alias_ldouble_other.
401 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
404 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
407 2017-10-13 James Clarke <jrtc27@jrtc27.com>
409 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
410 Assign sym_map to be map for local symbols, as TLS relocations
411 use sym_map to determine whether the symbol is defined and to
412 extract the TLS information.
413 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
414 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
416 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
419 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
420 (math_force_eval): Add powerpc version.
423 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
426 * stdio-common/tst-printf.sh: Likewise.
427 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
428 ifdef clause in order to set the carry bit right. Replace r0 by
429 0 without changing the behavior.
431 2017-10-13 Joseph Myers <joseph@codesourcery.com>
433 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
434 <libm-alias-ldouble.h>.
435 (fabsl): Define using libm_alias_ldouble.
436 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
437 <libm-alias-ldouble.h>.
438 (fabsl): Define using libm_alias_ldouble.
440 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
441 Remove conditional code.
443 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
444 Rename to __clog10_internal_l.
445 (__clog10_internal_l): Define aliases using
446 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
449 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
451 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
452 * benchtests/sincosf-inputs: New file.
453 * benchtests/cosf-inputs: New file.
454 * benchtests/sinf-inputs: New file.
456 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
458 * posix/tst-spawn.c (do_test): Wait for both children.
460 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
463 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
464 tests-pie): Add tst-gmon-pie.
465 (CFLAGS-tst-gmon-pie.c): New.
466 (CRT-tst-gmon-pie): Likewise.
467 (tst-gmon-pie-ENV): Likewise.
468 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
469 ($(objpfx)tst-gmon-pie.out): Likewise.
470 (clean-tst-gmon-pie-data): Likewise.
471 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
472 * gmon/gmon.c [PIC]: Include <link.h>.
473 [PIC] (callback): New function.
474 (write_hist): Add an argument for load address. Subtract load
476 (write_call_graph): Likewise.
477 (write_gmon): Call __dl_iterate_phdr to get load address, pass
478 it to write_hist and write_call_graph.
479 * gmon/tst-gmon-pie.c: New file.
481 2017-10-11 Joseph Myers <joseph@codesourcery.com>
483 * math/Makefile (test-types-basic): New variable.
484 (test-types): Likewise.
485 (libm-test-support): Use $(test-types) instead of $(types).
486 (libm-tests-base-normal): Likewise.
487 (libm-tests-base-finite): Likewise.
488 (libm-tests-base-inline): Likewise.
489 (generated): Likewise.
490 ($(objpfx)libm-test-support-$(t).c): Likewise.
491 (libm-tests-for-type iterator): Likewise.
492 (libm-test-support iterator): Likewise.
493 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
494 (ulp_idx): Use ULP_IDX.
495 * math/test-ldouble.h: Include <float.h>.
496 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
497 (ULP_IDX): New macro.
498 (ULP_I_IDX): Likewise.
499 * math/test-double.h (ULP_IDX): Likewise.
500 (ULP_I_IDX): Likewise.
501 * math/test-float.h (ULP_IDX): Likewise.
502 (ULP_I_IDX): Likewise.
503 * math/test-float128.h (ULP_IDX): Likewise.
504 (ULP_I_IDX): Likewise.
506 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
508 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
509 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
510 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
511 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
512 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
513 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
514 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
515 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
516 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
517 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
518 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
519 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
520 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
521 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
522 (SINGLE_THREAD_BY_GLOBAL): Define.
523 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
525 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
527 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
529 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
531 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
532 (SINGLE_THREAD_BY_GLOBAL): Likewise.
533 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
536 2017-10-11 Andreas Schwab <schwab@suse.de>
538 * nis/Makefile (aux): Remove.
539 * nscd/Makefile (aux): Add nscd_hash.
540 (nscd-modules): Likewise.
541 ($(objpfx)nscd): Don't depend on libnsl.
542 * nscd/nscd_hash.c: New file.
543 * nscd/nscd_hash.h: Likewise.
544 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
545 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
546 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
547 instead of <nis/rpcsvc/nis.h>.
548 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
550 2017-10-11 Florian Weimer <fweimer@redhat.com>
553 Avoid large NSS buffers with many addresses, aliases.
554 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
555 using dynarrays and struct alloc_buffer.
556 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
557 (tst-nss-files-hosts-multi): Link with -ldl.
558 * nss/tst-nss-files-hosts-multi.c: New file.
560 2017-10-11 Florian Weimer <fweimer@redhat.com>
563 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
564 scratch_buffer. Eliminate gotos.
566 2017-10-11 Joseph Myers <joseph@codesourcery.com>
568 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
569 libm_alias_ldouble_other.
570 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
571 undefine and redefine.
572 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
573 (exp10l): Do not define here.
574 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
575 (weak_alias): Undefine and redefine.
576 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
577 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
578 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
579 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
581 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
582 [!__fma] (fma): Define using libm_alias_double.
583 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
584 [!__fmaf] (fmaf): Define using libm_alias_float.
585 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
586 (fmal): Define using libm_alias_ldouble.
588 2017-10-10 Joseph Myers <joseph@codesourcery.com>
590 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
592 (libm_alias_double_other): Likewise.
593 (libm_alias_double_r): Use libm_alias_double_other_r.
594 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
596 (libm_alias_float_other): Likewise.
597 (libm_alias_float_r): Use libm_alias_float_other_r.
598 * sysdeps/generic/libm-alias-float128.h
599 (libm_alias_float128_other_r): New macro.
600 (libm_alias_float128_other): Likewise.
601 (libm_alias_float128_r): Use libm_alias_float128_other_r.
602 * sysdeps/generic/libm-alias-ldouble.h
603 (libm_alias_ldouble_other_r): New macro.
604 (libm_alias_ldouble_other): Likewise.
605 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
606 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
607 (libm_alias_double_other_r): New macro.
608 (libm_alias_double_other): Likewise.
609 (libm_alias_double_r): Use libm_alias_double_other_r.
610 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
611 (libm_alias_ldouble_other_r): New macro.
612 (libm_alias_ldouble_other): Likewise.
613 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
614 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
615 [!USE_AS_COMPAT]: Use libm_alias_double_other.
616 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
617 [!USE_AS_COMPAT]: Use libm_alias_float_other.
618 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
619 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
620 * math/w_exp2f.c: Use libm_alias_float_other.
621 * math/w_expf.c: Likewise.
622 * math/w_log2f.c: Likewise.
623 * math/w_logf.c: Likewise.
624 * math/w_powf.c: Likewise.
625 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
626 [!__exp2f]: Use libm_alias_float_other.
627 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
628 [!__expf]: Use libm_alias_float_other.
629 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
630 [!__log2f]: Use libm_alias_float_other.
631 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
632 [!__logf]: Use libm_alias_float_other.
633 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
634 [!__powf]: Use libm_alias_float_other.
636 2017-10-10 Florian Weimer <fweimer@redhat.com>
638 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
640 (_nss_files_gethostbyname3_r): Call it.
642 2017-10-09 Joseph Myers <joseph@codesourcery.com>
644 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
645 error. Remove default definition of declare_mgen_alias.
646 [!declare_mgen_alias_r]: Likewise.
647 * sysdeps/generic/math-type-macros-double.h
648 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
649 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
650 (declare_mgen_alias_r): Likewise.
651 * sysdeps/generic/math-type-macros-float128.h
652 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
653 * sysdeps/generic/math-type-macros-ldouble.h
654 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
655 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
657 (declare_mgen_alias_r_s): Likewise.
658 (declare_mgen_alias_r): Likewise.
659 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
660 (lgamma_r): Define using libm_alias_double_r.
661 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
662 (lgammaf_r): Define using libm_alias_float_r.
663 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
664 (lgammal_r): Define using libm_alias_ldouble_r.
665 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
666 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
668 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
670 * lib/glob.c (__glob_pattern_type): Remove now-spurious
673 2017-10-09 Joseph Myers <joseph@codesourcery.com>
675 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
677 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
680 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
681 [__cplusplus >= 201103] (__USE_ISOC99): Define.
682 * math/Makefile (test-math-cxx11): New test.
683 * math/test-math-cxx11.cc: New file.
685 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
687 * login/openpty.c (openpty): Close slave pty file descriptor on error.
689 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
690 call to allocate the slave pty file descriptor.
692 2017-10-06 Joseph Myers <joseph@codesourcery.com>
694 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
695 [!__fma] (fma): Define using libm_alias_double.
696 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
697 [!__fma] (fma): Define using libm_alias_double.
699 * sysdeps/ieee754/float128/float128_private.h: Include
700 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
701 (libm_alias_ldouble_r): Undefine and redefine.
702 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
703 <libm-alias-ldouble.h>.
704 (asinhl): Define using libm_alias_ldouble.
705 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
706 <libm-alias-ldouble.h>.
707 (atanl): Define using libm_alias_ldouble.
708 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
709 <libm-alias-ldouble.h>.
710 (cbrtl): Define using libm_alias_ldouble.
711 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
712 <libm-alias-ldouble.h>.
713 (ceill): Define using libm_alias_ldouble.
714 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
715 <libm-alias-ldouble.h>.
716 (copysignl): Define using libm_alias_ldouble.
717 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
718 <libm-alias-ldouble.h>.
719 (cosl): Define using libm_alias_ldouble.
720 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
721 <libm-alias-ldouble.h>.
722 (erfl): Define using libm_alias_ldouble.
724 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
725 <libm-alias-ldouble.h>.
726 (expm1l): Define using libm_alias_ldouble.
727 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
728 <libm-alias-ldouble.h>.
729 (fabsl): Define using libm_alias_ldouble.
730 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
731 <libm-alias-ldouble.h>.
732 (floorl): Define using libm_alias_ldouble.
733 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
734 <libm-alias-ldouble.h>.
735 (fmal): Define using libm_alias_ldouble.
736 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
737 <libm-alias-ldouble.h>.
738 (frexpl): Define using libm_alias_ldouble.
739 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
741 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
742 <libm-alias-ldouble.h>.
743 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
745 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
746 <libm-alias-ldouble.h>.
747 (getpayloadl): Define using libm_alias_ldouble.
748 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
749 <libm-alias-ldouble.h>.
750 (llrintl): Define using libm_alias_ldouble.
751 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
752 <libm-alias-ldouble.h>.
753 (llroundl): Define using libm_alias_ldouble.
754 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
755 <libm-alias-ldouble.h>.
756 (logbl): Define using libm_alias_ldouble.
757 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
758 <libm-alias-ldouble.h>.
759 (lrintl): Define using libm_alias_ldouble.
760 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
761 <libm-alias-ldouble.h>.
762 (lroundl): Define using libm_alias_ldouble.
763 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
764 <libm-alias-ldouble.h>.
765 (modfl): Define using libm_alias_ldouble.
766 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
767 <libm-alias-ldouble.h>.
768 (nearbyintl): Define using libm_alias_ldouble.
769 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
770 <libm-alias-ldouble.h>.
771 (nextafterl): Define using libm_alias_ldouble.
772 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
773 <libm-alias-ldouble.h>.
774 (nextupl): Define using libm_alias_ldouble.
775 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
776 <libm-alias-ldouble.h>.
777 (remquol): Define using libm_alias_ldouble.
778 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
779 <libm-alias-ldouble.h>.
780 (rintl): Define using libm_alias_ldouble.
781 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
782 <libm-alias-ldouble.h>.
783 (roundevenl): Define using libm_alias_ldouble.
784 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
785 <libm-alias-ldouble.h>.
786 (roundl): Define using libm_alias_ldouble.
787 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
788 using libm_alias_ldouble.
789 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
790 <libm-alias-ldouble.h>.
791 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
792 Define using libm_alias_ldouble.
793 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
794 <libm-alias-ldouble.h>.
795 (sincosl): Define using libm_alias_ldouble.
796 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
797 <libm-alias-ldouble.h>.
798 (sinl): Define using libm_alias_ldouble.
799 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
800 <libm-alias-ldouble.h>.
801 (tanhl): Define using libm_alias_ldouble.
802 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
803 <libm-alias-ldouble.h>.
804 (tanl): Define using libm_alias_ldouble.
805 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
806 <libm-alias-ldouble.h>.
807 (totalorderl): Define using libm_alias_ldouble.
808 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
809 <libm-alias-ldouble.h>.
810 (totalordermagl): Define using libm_alias_ldouble.
811 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
812 <libm-alias-ldouble.h>.
813 (truncl): Define using libm_alias_ldouble.
814 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
816 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
818 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
819 <libm-alias-ldouble.h>.
820 (weak_alias): Do not undefine and redefine.
821 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
822 (copysignl): Define with long_double_symbol only if [IS_IN
824 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
825 <libm-alias-ldouble.h>.
826 (weak_alias): Do not undefine and redefine.
827 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
828 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
829 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
830 <libm-alias-ldouble.h>.
831 (weak_alias): Do not undefine and redefine.
832 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
833 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
834 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
835 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
836 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
837 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
838 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
839 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
840 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
841 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
842 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
843 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
844 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
845 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
846 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
847 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
848 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
849 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
850 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
851 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
852 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
853 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
854 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
855 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
856 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
857 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
859 2017-10-06 Carlos O'Donell <carlos@redhat.com>
862 * malloc/malloc.c (tcache_shutting_down): Use bool type.
863 (tcache_thread_freeres): Set tcache_shutting_down before
865 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
866 * malloc/tst-malloc-tcache-leak.c: New file.
868 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
870 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
871 back to powerpc32 file.
872 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
873 (memrchr): Add __memrchr_power8 to ifunc list.
874 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
875 extra bytes for unaligned inputs.
877 2017-10-06 Joseph Myers <joseph@codesourcery.com>
879 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
880 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
881 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
882 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
883 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
885 2017-10-05 Joseph Myers <joseph@codesourcery.com>
887 * sysdeps/arm/libm-test-ulps: Update.
889 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
890 <libm-alias-ldouble.h>.
891 (asinhl): Define using libm_alias_ldouble.
892 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
893 <libm-alias-ldouble.h>.
894 (cbrtl): Define using libm_alias_ldouble.
895 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
896 <libm-alias-ldouble.h>.
897 (copysignl): Define using libm_alias_ldouble.
898 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
899 <libm-alias-ldouble.h>.
900 (cosl): Define using libm_alias_ldouble.
901 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
902 <libm-alias-ldouble.h>.
903 (erfl): Define using libm_alias_ldouble.
905 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
906 <libm-alias-ldouble.h>.
907 (fmal): Define using libm_alias_ldouble.
908 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
909 <libm-alias-ldouble.h>.
910 (frexpl): Define using libm_alias_ldouble.
911 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
913 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
914 <libm-alias-ldouble.h>.
915 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
917 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
918 <libm-alias-ldouble.h>.
919 (getpayloadl): Define using libm_alias_ldouble.
920 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
921 <libm-alias-ldouble.h>.
922 (llrintl): Define using libm_alias_ldouble.
923 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
924 <libm-alias-ldouble.h>.
925 (llroundl): Define using libm_alias_ldouble.
926 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
927 <libm-alias-ldouble.h>.
928 (lrintl): Define using libm_alias_ldouble.
929 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
930 <libm-alias-ldouble.h>.
931 (lroundl): Define using libm_alias_ldouble.
932 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
933 <libm-alias-ldouble.h>.
934 (modfl): Define using libm_alias_ldouble.
935 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
936 <libm-alias-ldouble.h>.
937 (nextupl): Define using libm_alias_ldouble.
938 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
939 <libm-alias-ldouble.h>.
940 (remquol): Define using libm_alias_ldouble.
941 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
942 <libm-alias-ldouble.h>.
943 (roundevenl): Define using libm_alias_ldouble.
944 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
945 <libm-alias-ldouble.h>.
946 (roundl): Define using libm_alias_ldouble.
947 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
948 using libm_alias_ldouble.
949 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
950 <libm-alias-ldouble.h>.
951 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
952 <libm-alias-ldouble.h>.
953 (setpayloadsigl): Define using libm_alias_ldouble.
954 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
955 <libm-alias-ldouble.h>.
956 (sincosl): Define using libm_alias_ldouble.
957 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
958 <libm-alias-ldouble.h>.
959 (sinl): Define using libm_alias_ldouble.
960 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
961 <libm-alias-ldouble.h>.
962 (tanhl): Define using libm_alias_ldouble.
963 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
964 <libm-alias-ldouble.h>.
965 (tanl): Define using libm_alias_ldouble.
966 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
967 <libm-alias-ldouble.h>.
968 (totalorderl): Define using libm_alias_ldouble.
969 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
970 <libm-alias-ldouble.h>.
971 (totalordermagl): Define using libm_alias_ldouble.
972 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
974 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
977 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
979 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
981 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
982 (__libc_ifunc_impl_list): Likewise.
983 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
984 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
986 * benchtests/bench-memmove-walk.c: New file.
987 * benchtests/Makefile (string-benchset): Add it.
989 * benchtests/bench-memset-walk.c: New file.
990 * benchtests/Makefile (string-benchset): Add it.
992 * benchtests/bench-memcpy-walk.c: New file.
993 * benchtests/Makefile (string-benchset): Add it.
995 2017-10-05 Florian Weimer <fweimer@redhat.com>
997 nscd: Eliminate compilation time dependency in the build output.
998 * nscd/nscd_stat.c (STATDATA_VERSION)
999 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
1000 (STATDATA_VERSION_FULL): New macro definitions.
1001 (compilation): Remove.
1002 (struct statdata): Adjust version member.
1003 (send_stats): Set version from STATDATA_VERSION_FULL.
1004 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
1006 2017-10-05 Joseph Myers <joseph@codesourcery.com>
1008 * configure.ac (--enable-add-ons): Remove option.
1009 (machine): Do not mention add-ons in comment.
1010 (LIBC_PRECONFIGURE): Likewise.
1011 (add_ons): Remove variable and sanity checks and logic to locate
1013 (add_ons_automatic): Remove variable.
1014 (configured_add_ons): Likewise.
1015 (add_ons_sfx): Likewise.
1016 (add_ons_pfx): Likewise.
1017 (add_on_subdirs): Likewise.
1018 (sysnames_add_ons): Likewise. Remove loop over add-ons and
1019 consideration of add-ons in Implies handling.
1020 (sysdeps_add_ons): Likewise.
1021 * configure: Regenerated.
1022 * libidn/configure.ac: Remove.
1023 * libidn/configure: Likewise.
1024 * sysdeps/unix/inet/configure.ac: New file.
1025 * sysdeps/unix/inet/configure: New generated file.
1026 * sysdeps/unix/inet/Subdirs: Add libidn.
1027 * Makeconfig (sysdeps-srcdirs): Remove variable.
1028 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
1029 ($(common-objpfx)config.status): Do not depend on add-on files.
1030 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
1032 (all-subdirs): Do not include $(add-on-subdirs).
1033 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
1034 * config.make.in (add-ons): Remove variable.
1035 (add-on-subdirs): Likewise.
1036 (sysdeps-add-ons): Likewise.
1037 * manual/Makefile (add-chapters): Remove.
1038 ($(objpfx)texis): Do not depend on $(add-chapters).
1039 (nonexamples): Do not handle $(add-chapters).
1040 (examples): Do not handle $(add-ons).
1041 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
1043 * manual/install.texi (Installation): Do not mention add-ons.
1044 (--enable-add-ons): Do not document configure option.
1045 * INSTALL: Regenerated.
1046 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
1047 * manual/maint.texi (Hierarchy Conventions): Do not mention
1049 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
1051 * scripts/gen-sorted.awk: Do not handle Subdirs files from
1053 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
1054 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
1056 2017-10-05 Andreas Schwab <schwab@suse.de>
1059 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
1060 (_IO_flush_all_lockp): Always lock list_all_lock.
1061 (_IO_flush_all_linebuffered): Likewise.
1062 (_IO_unbuffer_all): Likewise.
1064 2017-10-05 Florian Weimer <fweimer@redhat.com>
1067 Do not flush stdio streams on abort.
1068 * stdlib/abort.c (fflush): Remove macro definition.
1069 (abort): Remove stages related to stdio flushing.
1071 2017-10-05 Florian Weimer <fweimer@redhat.com>
1073 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
1075 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
1077 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1079 2017-10-05 Florian Weimer <fweimer@redhat.com>
1081 * support/support_format_hostent.c (support_format_hostent): Add
1082 more error information for NETDB_INTERNAL.
1084 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1086 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
1087 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
1088 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
1089 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
1090 AC_DEFINE if multi-arch is enabled.
1091 * sysdeps/i386/configure: Regenerated.
1093 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1095 * Makeconfig (+link-static-before-libc): Use
1096 $(DEFAULT-LDFLAGS-$(@F)).
1097 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
1098 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
1099 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
1101 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1103 * elf/Makefile (tests): Add tst-main1.
1104 (modules-names): Add tst-main1mod.
1105 ($(objpfx)tst-main1): New.
1106 (CRT-tst-main1): Likewise.
1107 (LDFLAGS-tst-main1): Likewise.
1108 (LDLIBS-tst-main1): Likewise.
1109 (tst-main1mod.so-no-z-defs): Likewise.
1110 * elf/tst-main1.c: New file.
1111 * elf/tst-main1mod.c: Likewise.
1113 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1115 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
1117 2017-10-04 Joseph Myers <joseph@codesourcery.com>
1119 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
1120 (fma): Define using libm_alias_double.
1121 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
1122 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
1124 (fmal): Do not define as compat symbol here.
1125 * sysdeps/alpha/fpu/s_fma.c: New file.
1127 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1129 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
1131 2017-10-04 Joseph Myers <joseph@codesourcery.com>
1134 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
1136 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
1138 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
1139 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
1140 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
1141 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
1142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1143 Include <math_ldbl_opt.h>
1144 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
1146 (compat_symbol): Undefine and redefine.
1147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
1149 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
1150 (compat_symbol): Undefine and redefine.
1151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
1152 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
1153 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
1155 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
1156 GLIBC_2.0 copysignl symbol.
1157 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
1158 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
1160 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
1162 2017-10-04 Florian Weimer <fweimer@redhat.com>
1164 * scripts/check-local-headers.sh: Ignore nspr4 header file
1165 directory in addition to nspr.
1167 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
1170 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
1171 * configure: Regenerate.
1172 * crypt/Makefile (nss-cpp-flags): New variable.
1173 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
1174 (CPPFLAGS-md5-crypt.c): Use it.
1175 * scripts/check-local-headers.sh: Ignore nspr header file
1178 2017-10-04 Andreas Schwab <schwab@suse.de>
1180 * nis/Makefile (services): Remove compat.
1181 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
1182 ($(objpfx)libnss_compat.so): Remove rule.
1183 * nis/Versions (libnss_compat): Remove.
1184 * nss/Makefile (services): Add compat.
1185 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
1186 * nss/Versions (libnss_compat): Define.
1187 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
1188 Don't include <rpc/types.h>. Replace bool_t by bool.
1189 * nss/nss_compat/compat-initgroups.c: Likewise.
1190 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
1191 instead of <rpcsrv/ypclnt.h>.
1192 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
1193 yp_get_default_domain.
1194 * nss/nss_compat/compat-pwd.c: Likewise.
1195 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
1196 yp_get_default_domain.
1197 * nss/nss_compat/nisdomain.c: New file.
1198 * nss/nss_compat/nisdomain.h: Likewise.
1200 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1203 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
1204 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1206 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1209 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
1210 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
1212 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1214 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
1215 "movl main@GOTOFF(%ebx), %eax".
1217 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1219 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
1220 allow undefined _DYNAMIC in PIE libc.a.
1221 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
1224 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1226 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
1229 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1231 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
1234 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1236 * math/test-math-iscanonical.cc (error): Replace bool with int.
1238 2017-10-03 Joseph Myers <joseph@codesourcery.com>
1240 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
1241 (modf): Define using libm_alias_double, only if [!__modf].
1242 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
1243 <libm-alias-double.h>.
1244 (modf): Define using libm_alias_double, only if [!__modf].
1245 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
1247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
1248 (weak_alias): Do not undefine and redefine.
1249 (strong_alias): Likewise.
1250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
1251 (weak_alias): Likewise.
1252 (strong_alias): Likewise.
1254 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
1255 (logb): Define using libm_alias_double, only if [!__logb].
1256 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
1257 <libm-alias-double.h>.
1258 (logb): Define using libm_alias_double, only if [!__logb].
1259 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
1260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
1261 (weak_alias): Do not undefine and redefine.
1262 (strong_alias): Likewise.
1263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
1264 (weak_alias): Likewise.
1265 (strong_alias): Likewise.
1267 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1269 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
1270 Check SHARED instead PIC.
1272 2017-10-03 Joseph Myers <joseph@codesourcery.com>
1274 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
1275 [!__fmaf] (fmaf): Define using libm_alias_float.
1277 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
1278 (frexp): Define using libm_alias_double.
1279 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
1280 <libm-alias-double.h>.
1281 (frexp): Define using libm_alias_double.
1282 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
1285 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1288 * math/math.h: Trivial fix for unbalanced parentheses in comment.
1289 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
1290 (CFLAGS-test-math-iscanonical.cc): New variable.
1291 * math/test-math-iscanonical.cc: New file.
1292 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
1293 Provide a C++ implementation based on function overloading,
1294 rather than using __MATH_TG, which uses C-only builtins.
1295 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
1297 * sysdeps/powerpc/powerpc64le/Makefile
1298 (CFLAGS-test-math-iscanonical.cc): New variable.
1300 2017-10-03 Joseph Myers <joseph@codesourcery.com>
1302 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
1303 (ceil): Define using libm_alias_double.
1304 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
1305 (floor): Define using libm_alias_double.
1306 * sysdeps/ieee754/dbl-64/s_llround.c: Include
1307 <libm-alias-double.h>.
1308 (llround): Define using libm_alias_double.
1309 * sysdeps/ieee754/dbl-64/s_lround.c: Include
1310 <libm-alias-double.h>.
1311 (lround): Define using libm_alias_double.
1312 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
1313 <libm-alias-double.h>.
1314 (nearbyint): Define using libm_alias_double.
1315 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
1316 <libm-alias-double.h>.
1317 (remquo): Define using libm_alias_double.
1318 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
1319 (rint): Define using libm_alias_double.
1320 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
1321 (round): Define using libm_alias_double.
1322 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
1323 (trunc): Define using libm_alias_double.
1324 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
1325 <libm-alias-double.h>.
1326 (ceil): Define using libm_alias_double.
1327 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
1328 <libm-alias-double.h>.
1329 (floor): Define using libm_alias_double.
1330 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
1331 <libm-alias-double.h>.
1332 (llround): Define using libm_alias_double.
1333 [_LP64] (lround): Likewise.
1334 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
1335 <libm-alias-double.h>.
1336 [!_LP64] (lround): Define using libm_alias_double.
1337 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
1338 <libm-alias-double.h>.
1339 (nearbyint): Define using libm_alias_double.
1340 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
1341 <libm-alias-double.h>.
1342 (remquo): Define using libm_alias_double.
1343 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
1344 <libm-alias-double.h>.
1345 (rint): Define using libm_alias_double.
1346 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
1347 <libm-alias-double.h>.
1348 (round): Define using libm_alias_double.
1349 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
1350 <libm-alias-double.h>.
1351 (trunc): Define using libm_alias_double.
1352 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
1353 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
1354 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
1355 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
1356 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
1357 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
1358 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
1359 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
1360 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
1362 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1364 * math/w_remainder.c: New file.
1365 * math/w_remainderf.c: New file.
1366 * math/w_remainderl.c: New file.
1368 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1370 * elf/rtld.c (BOOTSTRAP_MAP): New.
1371 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
1372 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1374 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1376 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1379 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1381 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
1382 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
1383 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
1384 rtld_hidden_data_ver): Define to empty.
1385 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
1386 __assert_perror_fail): Likewise.
1387 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1388 (__rewinddir): Likewise.
1389 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1390 (__profile_frequency): Likewise.
1391 * include/setjmp.h (__sigsetjmp): Likewise.
1392 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
1393 __libc_sigaction): Likewise.
1394 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
1395 not set hidden attribute.
1396 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
1397 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
1398 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
1399 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
1400 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
1401 __fxstatat64): Likewise.
1402 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1403 (__uname): Likewise.
1404 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1405 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
1406 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
1407 (NO_RTLD_HIDDEN): Set.
1408 * sysdeps/mach/hurd/configure: Refresh.
1409 * config.h.in: Refresh.
1411 2017-10-02 Joseph Myers <joseph@codesourcery.com>
1413 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
1414 (atan): Define using libm_alias_double.
1415 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
1416 (tan): Define using libm_alias_double.
1417 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
1418 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
1420 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
1421 define as weak alias of __atan. Do not define any aliases if
1423 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
1424 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
1425 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
1426 as weak alias of __tan. Do not define any aliases if [__tan].
1427 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
1428 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
1429 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
1431 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
1432 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
1433 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
1434 and define as weak alias of __atan.
1435 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
1437 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
1438 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
1439 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
1440 define as weak alias of __tan.
1442 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1444 * math/w_lgamma.c: New file.
1445 * math/w_lgammaf.c: New file.
1446 * math/w_lgammal.c: New file.
1448 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1450 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
1451 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
1452 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
1453 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
1454 * sysdeps/ieee754/flt-32/w_logf.c: New file.
1455 * sysdeps/ieee754/flt-32/w_powf.c: New file.
1456 * sysdeps/i386/fpu/w_log2f.c: New file.
1457 * sysdeps/i386/fpu/w_logf.c: New file.
1458 * sysdeps/i386/fpu/w_powf.c: New file.
1459 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
1460 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
1461 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
1463 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1464 H.J. Lu <hongjiu.lu@intel.com>
1466 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
1467 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
1468 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
1469 * sysdeps/ieee754/flt-32/w_expf.c: New file.
1470 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
1472 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
1473 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
1474 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
1475 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
1476 * sysdeps/i386/fpu/w_exp2f.c: New file.
1477 * sysdeps/i386/fpu/w_expf.c: New file.
1478 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
1479 * sysdeps/x86_64/fpu/w_expf.c: New file.
1481 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1483 * math/Versions (logf): New libm symbol at GLIBC_2.27.
1486 * math/w_log2f.c: New file.
1487 * math/w_logf.c: New file.
1488 * math/w_powf.c: New file.
1489 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
1490 * math/w_logf_compat.c (__logf_compat): Likewise.
1491 * math/w_powf_compat.c (__powf_compat): Likewise.
1492 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
1493 * sysdeps/ia64/fpu/e_logf.S: Likewise.
1494 * sysdeps/ia64/fpu/e_powf.S: Likewise.
1495 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1496 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1497 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1498 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1499 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1500 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1501 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1502 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1503 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1504 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1505 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1506 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1515 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1516 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1517 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1518 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1519 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1524 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1525 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1526 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1528 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1530 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1531 (sysdep_routines): Add memrchr_power8.
1532 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1533 (memrchr): Add __memrchr_power8 to list of memrchr functions.
1534 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
1536 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
1537 (memrchr): Add __memrchr_power8 to ifunc list.
1538 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
1540 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1543 * sysdeps/unix/sysv/linux/posix_fadvise64.c
1544 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
1546 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1547 (__posix_fallocate64_l64): Likewise.
1549 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1552 * sysdeps/unix/sysv/linux/sched_setaffinity.c
1553 (__sched_setaffinity_new): Add libc_hidden_proto and
1556 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1559 * include/glob.h (__glob64): Add libc_hidden_proto.
1560 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
1563 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1566 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
1569 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1572 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
1574 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1577 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
1580 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1583 * csu/version.c (__libc_print_version): Add attribute_hidden.
1585 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1588 * include/libc-internal.h (__init_misc): Add attribute_hidden.
1590 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1593 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
1595 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1598 * nscd/nscd_helper.c (__nis_hash): New prototype.
1600 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1603 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
1604 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
1606 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1607 * termios/tcgetattr.c (__tcgetattr): Likewise.
1609 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1612 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
1613 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
1614 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
1615 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
1616 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
1618 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1621 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
1623 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1626 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
1627 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
1629 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1632 * intl/hash-string.h (__hash_string): Add attribute_hidden.
1634 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1637 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
1638 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
1640 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1643 * include/ifreq.h: New file.
1644 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
1645 (__ifreq): Likewise.
1646 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
1647 (__ifreq): Likewise.
1649 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1652 * include/idna.h: New file.
1653 * inet/getnameinfo.c: Include <idna.h> instead of
1655 (__idna_to_unicode_lzlz): Removed.
1656 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
1658 (__idna_to_ascii_lz): Removed.
1659 (__idna_to_unicode_lzlz): Likewise.
1661 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1664 * include/plural-exp.h: New file.
1665 * intl/plural-exp.c: Include <plural-exp.h> instead of
1668 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1671 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
1672 "getsourcefilter.h".
1673 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
1674 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
1675 "getsourcefilter.h".
1676 (__get_sol): Removed.
1678 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1681 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
1683 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
1685 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1688 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
1691 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1694 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
1696 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1699 * include/search.h (__tdestroy): Add libc_hidden_proto.
1700 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
1702 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1705 * include/assert.h (__assert_fail_base): Add attribute_hidden.
1707 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1710 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
1713 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1716 * include/signal.h (__kill): Add libc_hidden_proto.
1717 (__sigblock): Likewise.
1718 (__sigprocmask): Likewise.
1719 (__sigaltstack): Likewise.
1720 * signal/kill.c (__kill): Add libc_hidden_def.
1721 * signal/sigblock.c (__sigblock): Likewise.
1722 * signal/sigprocmask.c (__sigprocmask): Likewise.
1723 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1724 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1725 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
1726 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
1727 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
1729 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
1731 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
1732 (__sigprocmask): Likewise.
1733 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
1735 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
1736 (__sigprocmask): Likewise.
1737 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
1740 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1743 * include/string.h (__strsep): Add libc_hidden_proto.
1744 * string/strsep.c (__strsep): Add libc_hidden_def.
1746 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1749 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
1751 (__spawni): Likewise.
1753 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1756 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
1757 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
1760 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1763 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
1765 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1768 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
1769 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
1770 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1771 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
1772 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
1774 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1775 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
1777 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1780 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
1781 (__dcigettext): Likewise.
1783 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1786 * include/sys/sysinfo.h (__get_nprocs_conf): Add
1788 (__get_nprocs): Likewise.
1789 (__get_phys_pages): Likewise.
1790 (__get_avphys_pages): Likewise.
1791 (__get_child_max): Add attribute_hidden.
1792 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
1793 (__get_nprocs): Likewise.
1794 (__get_phys_pages): Likewise.
1795 (__get_avphys_pages): Likewise.
1796 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
1798 (__get_nprocs): Likewise.
1799 (__get_phys_pages): Likewise.
1800 (__get_avphys_pages): Likewise.
1801 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
1803 (__get_nprocs_conf): Likewise.
1804 (__get_phys_pages): Likewise.
1805 (__get_avphys_pages): Likewise.
1807 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1810 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
1812 (__netlink_close): Likewise.
1813 (__netlink_free_handle): Likewise.
1814 (__netlink_request): Likewise.
1816 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1819 * include/rpc/rpc.h (__rpc_thread_variables): Add
1821 (__rpc_thread_svc_cleanup): Likewise.
1822 (__rpc_thread_clnt_cleanup): Likewise.
1823 (__rpc_thread_key_cleanup): Likewise.
1825 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1828 * include/sys/uio.h (__readv): Add libc_hidden_proto.
1829 (__writev): Likewise.
1830 * misc/readv.c (__readv): Add libc_hidden_def.
1831 * misc/writev.c (__writev): Likewise.
1832 * sysdeps/posix/readv.c (__readv): Likewise.
1833 * sysdeps/posix/writev.c (__writev): Likewise.
1834 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
1835 (__readv): Likewise.
1836 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
1837 (__writev): Likewise.
1839 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1842 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
1843 (__regcomp): Add libc_hidden_proto.
1844 (__regexec): Likewise.
1845 (__regfree): Likewise.
1846 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
1847 (__regfree): Likewise.
1848 * posix/regexec.c (__regexec): Likewise.
1850 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1853 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
1854 (__getutent): Likewise.
1855 (__getutid): Likewise.
1856 (__getutline): Likewise.
1857 (__pututline): Likewise.
1858 (__getutent_r): Likewise.
1859 (__getutid_r): Likewise.
1860 (__getutline_r): Likewise.
1861 (__utmpname): Add attribute_hidden.
1862 (__setutent): Likewise.
1863 (__endutent): Likewise.
1864 * login/getutent.c (__getutent): Add libc_hidden_def.
1865 * login/getutent_r.c (__getutent_r): Likewise.
1866 (__pututline): Likewise.
1867 * login/getutid.c (__getutid): Likewise.
1868 * login/getutid_r.c (__getutid_r): Likewise.
1869 * login/getutline.c (__getutline): Likewise.
1870 * login/getutline_r.c (__getutline_r): Likewise.
1871 * login/updwtmp.c (__updwtmp): Likewise.
1873 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1876 * include/dirent.h (__opendir): Always add attribute_hidden.
1877 (__fdopendir): Likewise.
1878 (__closedir): Likewise.
1879 (__readdir): Likewise.
1880 (__readdir64): Add libc_hidden_proto.
1881 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
1882 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
1883 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
1884 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
1887 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1890 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
1891 * include/netdb.h (__gethostbyaddr_r): Likewise.
1892 (__gethostbyname_r): Likewise.
1893 (__gethostbyname2_r): Likewise.
1894 (__getnetbyaddr_r): Likewise.
1895 (__getnetbyname_r): Likewise.
1896 (__getservbyname_r): Likewise.
1897 (__getservbyport_r): Likewise.
1898 (__getprotobyname_r): Likewise.
1899 (__getprotobynumber_r): Likewise.
1900 (__getnetgrent_r): Likewise.
1901 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
1902 (__getrpcbynumber_r): Likewise.
1903 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
1905 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1908 * include/stdio.h (__fcloseall): Add attribute_hidden.
1909 (__getline): Likewise.
1910 (__path_search): Likewise.
1911 (__gen_tempname): Likewise.
1912 (__libc_message): Likewise.
1913 (__flockfile): Likewise.
1914 (__funlockfile): Likewise.
1915 (__fxprintf): Likewise.
1916 (__fxprintf_nocancel): Likewise.
1918 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1921 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
1922 (__sgetsgent_r): Likewise.
1924 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1927 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
1928 (__statfs64): Likewise.
1929 (__fstatfs64): Likewise.
1930 * include/sys/statvfs.h (__statvfs64): Likewise.
1931 (__fstatvfs64): Likewise.
1932 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
1933 (__statfs_filesize_max): Likewise.
1934 (__statfs_symlinks): Likewise.
1935 (__statfs_chown_restricted): Likewise.
1937 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1940 * include/time.h (__tzstring): Add attribute_hidden.
1941 (__tzfile_read): Likewise.
1942 (__tzfile_compute): Likewise.
1943 (__tzfile_default): Likewise.
1944 (__tzset_parse_tz): Likewise.
1945 (__offtime): Likewise.
1946 (__asctime_r): Likewise.
1947 (__tzset): Likewise.
1948 (__tz_convert): Likewise.
1949 (__getdate_r): Likewise.
1950 (__getclktck): Likewise.
1952 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1955 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
1956 (__nscd_unmap): Likewise.
1957 (__nscd_cache_search): Likewise.
1958 (__nscd_get_nl_timestamp): Likewise.
1959 (__nscd_getpwnam_r): Likewise.
1960 (__nscd_getpwuid_r): Likewise.
1961 (__nscd_getgrnam_r): Likewise.
1962 (__nscd_getgrgid_r): Likewise.
1963 (__nscd_gethostbyname_r): Likewise.
1964 (__nscd_gethostbyname2_r): Likewise.
1965 (__nscd_gethostbyaddr_r): Likewise.
1966 (__nscd_getai): Likewise.
1967 (__nscd_getgrouplist): Likewise.
1968 (__nscd_getservbyname_r): Likewise.
1969 (__nscd_getservbyport_r): Likewise.
1970 (__nscd_innetgr): Likewise.
1971 (__nscd_setnetgrent): Likewise.
1973 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1976 * include/gmp.h: Declare internal functions only if _ISOMAC is
1978 (__mpn_extract_double): Add attribute_hidden.
1979 (__mpn_extract_long_double): Likewise.
1980 (__mpn_extract_float128): Likewise.
1981 (__mpn_construct_float): Likewise.
1982 (__mpn_construct_double): Likewise.
1983 (__mpn_construct_long_double): Likewise.
1984 (__mpn_construct_float128): Likewise.
1985 (mpn_add_1): Likewise.
1986 (mpn_addmul_1): Likewise.
1987 (mpn_add_n): Likewise.
1988 (mpn_cmp): Likewise.
1989 (mpn_divrem): Likewise.
1990 (mpn_lshift): Likewise.
1991 (mpn_mul): Likewise.
1992 (mpn_mul_1): Likewise.
1993 (mpn_rshift): Likewise.
1994 (mpn_sub_1): Likewise.
1995 (mpn_submul_1): Likewise.
1996 (mpn_sub_n): Likewise.
1998 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2001 * include/wchar.h (__wcsnlen): Add attribute_hidden.
2002 (__wcscat): Likewise.
2003 (__btowc): Likewise.
2004 (__wcrtomb): Likewise.
2005 (__mbsrtowcs): Likewise.
2006 (__wcsrtombs): Likewise.
2007 (__mbsnrtowcs): Likewise.
2008 (__wcsnrtombs): Likewise.
2009 (__wcsncpy): Likewise.
2010 (__wcpncpy): Likewise.
2011 (__wmemcpy): Likewise.
2012 (__wmempcpy): Likewise.
2013 (__wmemmove): Likewise.
2014 (__wcschrnul): Likewise.
2015 (__vfwscanf): Likewise.
2016 (__vswprintf): Likewise.
2017 (__fwprintf): Likewise.
2018 (__vfwprintf): Likewise.
2020 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2023 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
2024 (__getgrgid_r): Likewise.
2025 (__getgrnam_r): Likewise.
2026 * include/pwd.h (__getpwuid_r): Likewise.
2027 (__getpwnam_r): Likewise.
2028 (__fgetpwent_r): Likewise.
2029 * include/shadow.h (__getspnam_r): Likewise.
2030 (__sgetspent_r): Likewise.
2031 (__fgetspent_r): Likewise.
2033 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2036 * include/unistd.h (__access): Add attribute_hidden.
2037 (__lseek64): Likewise.
2038 (__libc_pread64): Likewise.
2039 (__pipe2): Likewise.
2040 (__sleep): Likewise.
2041 (__chdir): Likewise.
2042 (__fchdir): Likewise.
2043 (__getcwd): Likewise.
2044 (__rmdir): Likewise.
2045 (__execvpe): Likewise.
2046 (__execve): Likewise.
2047 (__setsid): Likewise.
2048 (__getuid): Likewise.
2049 (__geteuid): Likewise.
2050 (__getgid): Likewise.
2051 (__getegid): Likewise.
2052 (__getgroups): Likewise.
2053 (__group_member): Likewise.
2054 (__ttyname_r): Likewise.
2055 (__isatty): Likewise.
2056 (__readlink): Likewise.
2057 (__unlink): Likewise.
2058 (__gethostname): Likewise.
2059 (__profil): Likewise.
2060 (__getdtablesize): Likewise.
2062 (__ftruncate): Likewise.
2063 (__ftruncate64): Likewise.
2065 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2068 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
2069 * argp/argp-fs-xinl.c: Likewise.
2070 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
2071 * argp/argp-parse.c: Include <argp.h>.
2072 * argp/argp-xinl.c: Likewise.
2073 * include/argp-fmtstream.h: New file.
2074 * include/argp.h (__argp_error): Add attribute_hidden.
2075 (__argp_failure): Likewise.
2076 (__argp_input): Likewise.
2077 (__argp_state_help): Likewise.
2079 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2082 * include/wchar.h (____wcstof_l_internal): New prototype.
2083 (____wcstod_l_internal): Likewise.
2084 (____wcstold_l_internal): Likewise.
2085 (____wcstol_l_internal): Likewise.
2086 (____wcstoul_l_internal): Likewise.
2087 (____wcstoll_l_internal): Likewise.
2088 (____wcstoull_l_internal): Likewise.
2089 (____wcstof128_l_internal): Likewise.
2090 * sysdeps/ieee754/float128/wcstof128.c
2091 (____wcstof128_l_internal): Removed.
2092 * sysdeps/ieee754/float128/wcstof128_l.c
2093 (____wcstof128_l_internal): Likewise.
2094 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
2095 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
2096 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
2097 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
2098 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
2099 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
2100 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
2101 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
2102 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
2103 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
2105 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2108 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
2109 instead of <sys/statvfs.h>.
2110 (__internal_statvfs): Removed.
2111 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
2112 instead of <sys/statvfs.h>.
2113 (__internal_statvfs64): Removed.
2114 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
2115 "internal_statvfs.h" instead of <sys/statvfs.h>.
2116 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
2117 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
2118 instead of <sys/statvfs.h>.
2119 (__internal_statvfs): Removed.
2120 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
2121 instead of <sys/statvfs.h>.
2122 (__internal_statvfs64): Removed.
2124 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2127 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
2128 (__gconv_close): Likewise.
2129 (__gconv): Likewise.
2130 (__gconv_find_transform): Likewise.
2131 (__gconv_lookup_cache): Likewise.
2132 (__gconv_compare_alias_cache): Likewise.
2133 (__gconv_load_cache): Likewise.
2134 (__gconv_get_path): Likewise.
2135 (__gconv_close_transform): Likewise.
2136 (__gconv_release_cache): Likewise.
2137 (__gconv_find_shlib): Likewise.
2138 (__gconv_release_shlib): Likewise.
2139 (__gconv_get_builtin_trans): Likewise.
2140 (__gconv_compare_alias): Likewise.
2141 * include/dlfcn.h (_dlerror_run): Likewise.
2142 * include/stdio.h (__fortify_fail_abort): Likewise.
2143 * include/time.h (__tz_compute): Likewise.
2144 (__strptime_internal): Likewise.
2145 * intl/gettextP.h (_nl_find_domain): Likewise.
2146 (_nl_load_domain): Likewise.
2147 (_nl_find_msg): Likewise.
2148 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
2149 (EXTRACT_PLURAL_EXPRESSION): Likewise.
2150 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
2151 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
2152 (__gai_find_request): Likewise.
2153 (__gai_remove_request): Likewise.
2154 (__gai_notify): Likewise.
2155 (__gai_notify_only): Likewise.
2156 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
2157 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
2158 (_dl_non_dynamic_init): Likewise.
2159 (_dl_aux_init): Likewise.
2160 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
2161 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
2163 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
2164 (__wcsmbs_clone_conv): Likewise.
2165 (__wcsmbs_named_conv): Likewise.
2167 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2170 * include/stdlib.h (__random): Add attribute_hidden.
2171 (__random_r): Likewise.
2172 (__srandom_r): Likewise.
2173 (__initstate_r): Likewise.
2174 (__setstate_r): Likewise.
2175 (__erand48_r): Likewise.
2176 (__nrand48_r): Likewise.
2177 (__jrand48_r): Likewise.
2178 (__srand48_r): Likewise.
2179 (__seed48_r): Likewise.
2180 (__lcong48_r): Likewise.
2181 (__drand48_iterate): Likewise.
2182 (__setenv): Likewise.
2183 (__unsetenv): Likewise.
2184 (__clearenv): Likewise.
2185 (__ptsname_r): Likewise.
2186 (__posix_openpt): Likewise.
2187 (__add_to_environ): Likewise.
2188 (__realpath): Add libc_hidden_proto.
2189 (__ecvt_r): Likewise.
2190 (__fcvt_r): Likewise.
2191 (__qecvt_r): Likewise.
2192 (__qfcvt_r): Likewise.
2193 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
2194 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
2196 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2199 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
2200 * include/time.h (__mktime_internal): Likewise.
2201 * libio/iolibio.h (__fopen_internal): Likewise.
2203 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
2205 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
2207 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
2208 Correct offset used to restore PIC register.
2210 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
2213 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
2214 code to load address of __getcontext_ret when generating PIC code.
2216 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
2218 * elf/Makefile (tests-static-internal): Add
2219 tst-tls1-static-non-pie.
2220 (LDFLAGS-tst-tls1-static-non-pie): New.
2221 * elf/tst-tls1-static-non-pie.c: New file.
2223 2017-09-29 Joseph Myers <joseph@codesourcery.com>
2225 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
2226 (asinh): Define using libm_alias_double.
2227 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
2228 (cbrt): Define using libm_alias_double.
2229 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
2230 <libm-alias-double.h>.
2231 (copysign): Define using libm_alias_double.
2232 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
2233 (erf): Define using libm_alias_double.
2235 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
2236 (expm1): Define using libm_alias_double.
2237 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
2238 (fabs): Define using libm_alias_double.
2239 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
2241 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
2242 <libm-alias-double.h>.
2243 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
2245 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
2246 <libm-alias-double.h>.
2247 (getpayload): Define using libm_alias_double.
2248 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
2249 <libm-alias-double.h>.
2250 (llrint): Define using libm_alias_double.
2251 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
2252 (lrint): Define using libm_alias_double.
2253 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
2254 <libm-alias-double.h>.
2255 (nextup): Define using libm_alias_double.
2256 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
2257 <libm-alias-double.h>.
2258 (roundeven): Define using libm_alias_double.
2259 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
2261 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
2262 <libm-alias-double.h>.
2263 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
2264 using libm_alias_double.
2265 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
2266 (cos): Define using libm_alias_double.
2268 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
2269 <libm-alias-double.h>.
2270 (sincos): Define using libm_alias_double.
2271 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
2272 (tanh): Define using libm_alias_double.
2273 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
2274 <libm-alias-double.h>.
2275 (totalorder): Define using libm_alias_double.
2276 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
2277 <libm-alias-double.h>.
2278 (totalordermag): Define using libm_alias_double.
2279 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
2281 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
2283 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
2284 <libm-alias-double.h>.
2285 (getpayload): Define using libm_alias_double.
2286 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
2287 <libm-alias-double.h>.
2288 (roundeven): Define using libm_alias_double.
2289 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
2290 <libm-alias-double.h>.
2291 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
2292 <libm-alias-double.h>.
2293 (totalorder): Define using libm_alias_double.
2294 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
2295 <libm-alias-double.h>.
2296 (totalordermag): Define using libm_alias_double.
2297 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
2298 libc compat symbol here.
2299 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
2300 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
2301 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
2302 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
2303 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
2304 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
2305 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
2306 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
2307 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
2308 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
2310 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2312 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
2313 _dl_relocate_static_pie instead of _dl_start to compute load
2314 address in static PIE. Return 0 if _DYNAMIC is undefined for
2317 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2319 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
2320 _DYNAMIC is undefined for static executable.
2322 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2324 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
2326 2017-09-29 Joseph Myers <joseph@codesourcery.com>
2328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2330 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
2332 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2333 (__ieee754_lgamma_r): Use fabs rather than __fabs.
2334 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
2335 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2336 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2337 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
2338 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
2339 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
2340 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
2341 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
2342 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
2343 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2344 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
2345 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
2346 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2347 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2348 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
2350 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
2352 * math/bits/cmathcalls.h (cimag): Remove inline.
2353 (creal): Remove inline.
2354 (conj): Remove inline.
2356 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2358 * math/Makefile (type-float-routines): Add e_powf_log2_data.
2359 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
2360 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
2361 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
2362 (issignalingf_inline): Likewise.
2363 (POWF_LOG2_TABLE_BITS): Likewise.
2364 (POWF_LOG2_POLY_ORDER): Likewise.
2365 (POWF_SCALE_BITS): Likewise.
2366 (POWF_SCALE): Likewise.
2367 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
2368 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
2369 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
2371 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2373 * math/Makefile (type-float-routines): Add e_log2f_data.
2374 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
2375 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
2376 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
2377 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
2378 * sysdeps/i386/fpu/e_log2f_data.c: New file.
2379 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
2380 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
2382 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2384 * math/Makefile (type-float-routines): Add e_logf_data.
2385 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
2386 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
2387 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
2388 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
2389 * sysdeps/i386/fpu/e_logf_data.c: New file.
2390 * sysdeps/ia64/fpu/e_logf_data.c: New file.
2391 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
2393 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
2395 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
2396 undefined _DYNAMIC in PIE libc.a.
2397 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
2400 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
2402 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
2403 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
2404 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
2405 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
2406 (__signbit): Remove.
2407 (__signbitl): Remove.
2408 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
2409 (__signbit): Remove.
2410 (__signbitl): Remove.
2411 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
2412 (__signbit): Remove.
2413 (__signbitl): Remove.
2414 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
2415 (__signbit): Remove.
2416 (__signbitl): Remove.
2417 * sysdeps/tile/bits/mathinline.h: Delete file.
2418 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
2419 (__signbit): Remove.
2420 (__signbitl): Remove.
2422 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
2424 * math/math.h: Improve handling of C99 isgreater macros.
2425 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
2426 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
2427 * sysdeps/powerpc/bits/mathinline.h: Likewise.
2428 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2429 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
2431 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
2433 * sysdeps/aarch64/libm-test-ulps: Update.
2435 2017-09-28 Joseph Myers <joseph@codesourcery.com>
2438 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2439 math_opt_barrier on argument when doing arithmetic on it.
2440 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2441 Likewise. Use math_force_eval not math_opt_barrier after
2443 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
2444 math_opt_barrier on argument when doing arithmetic on it.
2445 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2448 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
2450 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
2452 (__freeifaddrs): Likewise.
2454 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2456 * include/dirent.h (__dirfd): New declaration.
2457 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
2459 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
2460 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
2461 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
2462 * include/unistd.h (__revoke): New declaration.
2463 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
2465 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
2466 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
2468 * include/dirent.h (__seekdir): New declaration.
2469 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
2470 redefine as weak alias.
2471 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
2473 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
2474 and use libc_hidden_def on them.
2475 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
2477 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
2478 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
2479 instead of getifaddrs and freeifaddrs.
2481 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
2484 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
2485 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
2486 (__dso_handle): Remove declaration.
2487 * dlfcn/tstatexit.c (__dso_handle): Removed.
2488 (main): Don't check __dso_handle.
2489 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
2490 (main): Don't check __dso_handle.
2491 * include/dso_handle.h: New file.
2492 * malloc/mtrace.c: Include <dso_handle.h>.
2493 (mtrace): Pass __dso_handle directly.
2494 * nptl/pthread_atfork.c: Include <dso_handle.h>.
2495 (__dso_handle): Remove declaration.
2496 (__pthread_atfork): Pass __dso_handle directly.
2497 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
2498 (__dso_handle): Removed.
2499 * posix/wordexp-test.c: Include <dso_handle.h>.
2500 (__dso_handle): Remove declaration.
2501 (__app_register_atfork): Pass __dso_handle directly.
2502 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
2503 (__dso_handle): Remove declaration.
2504 (at_quick_exit): Pass __dso_handle directly.
2505 * stdlib/atexit.c: Include <dso_handle.h>.
2506 (__dso_handle): Remove declaration.
2507 (atexit): Pass __dso_handle directly.
2508 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
2509 (__dso_handle): Removed.
2511 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2513 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
2516 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
2518 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
2519 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
2520 values to correct default value for given type.
2522 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
2525 * elf/Makefile (tests): Add tst-debug1.
2526 ($(objpfx)tst-debug1): New.
2527 ($(objpfx)tst-debug1.out): Likewise.
2528 ($(objpfx)tst-debug1mod1.so): Likewise.
2529 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
2531 * elf/tst-debug1.c: New file.
2533 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2535 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
2536 Define using __ifunc.
2538 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2540 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
2543 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2546 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
2548 2017-09-26 Florian Weimer <fweimer@redhat.com>
2550 * resolv/Makefile (tests-internal): Fix typo in comment.
2552 2017-09-26 Florian Weimer <fweimer@redhat.com>
2554 * resolv/nss_dns/dns-host.c: Fix typo in comment.
2556 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2558 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
2559 Use an union instead of a max_align_t array for __space,
2560 so that __space is the same size on all platforms.
2561 * malloc/scratch_buffer_grow_preserve.c
2562 (__libc_scratch_buffer_grow_preserve): Likewise.
2565 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
2567 * posix/Makefile (routines): Add glob-lstat-compat and
2568 glob64-lstat-compat.
2569 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
2570 * posix/glob-lstat-compat.c: New file.
2571 * posix/glob64-lstat-compat.c: Likewise.
2572 * posix/tst-glob_lstat_compat.c: Likewise.
2573 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
2574 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
2575 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
2576 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
2578 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
2579 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
2580 * posix/glob.c (glob_lstat): New function.
2581 (glob): Rename to __glob and add versioned symbol to 2.27.
2582 (glob_in_dir): Use glob_lstat.
2583 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
2584 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2585 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
2587 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
2588 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
2589 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
2590 gl_lstat on glob call.
2591 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
2593 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2594 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2595 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2596 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2597 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2598 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2599 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2600 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2601 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2602 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2603 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2604 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2607 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2609 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2610 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2611 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2612 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2613 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2616 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2617 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2618 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2620 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
2622 * configure.ac (AS): Require binutils 2.25 or later.
2623 * configure: Regenerated.
2625 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
2628 * stdlib/test-atexit-race-common.c (do_test): Minimize required
2631 2017-09-25 DJ Delorie <dj@redhat.com>
2634 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
2637 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2639 * sysdeps/ieee754/dbl-64/sincos32.h
2640 [SINCCOS32_H]: Remove define.
2641 [SINCOS32_H]: Define.
2643 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2645 * math/Versions (expf): New libm symbol at GLIBC_2.27.
2647 * math/w_exp2f.c: New file.
2648 * math/w_expf.c: New file.
2649 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
2650 * math/w_expf_compat.c (__expf_compat): Likewise.
2651 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
2652 * sysdeps/ia64/fpu/e_expf.S: Likewise.
2653 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
2654 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2655 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2656 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2657 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2658 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2659 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2660 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2661 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2662 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2663 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2664 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2673 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2674 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2675 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2676 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2677 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2682 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2683 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2684 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2686 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2688 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
2689 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
2690 (roundtoint, converttoint): Likewise.
2691 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
2692 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
2693 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
2694 * sysdeps/ieee754/flt-32/math_config.h: New file.
2695 * sysdeps/ieee754/flt-32/math_errf.c: New file.
2696 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
2697 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
2698 * sysdeps/i386/fpu/math_errf.c: New file.
2699 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
2700 * sysdeps/ia64/fpu/math_errf.c: New file.
2701 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
2702 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
2704 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2706 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
2707 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
2708 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
2709 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
2710 to make sure that these symbols are defined.
2711 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
2713 (__need_NULL): Do not define.
2714 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
2716 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
2717 CMGROUP_MAX, cmsgcred): Do not define.
2718 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
2720 * bits/socket.h: Likewise.
2721 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
2722 __gettimeofday instead of gettimeofday.
2723 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
2724 instead of settimeofday.
2726 2017-09-22 Joseph Myers <joseph@codesourcery.com>
2728 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
2729 (asinhf): Define using libm_alias_float.
2730 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
2731 (atanf): Define using libm_alias_float.
2732 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
2733 (cbrtf): Define using libm_alias_float.
2734 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
2735 (ceilf): Define using libm_alias_float.
2736 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
2737 <libm-alias-float.h>.
2738 (copysignf): Define using libm_alias_float.
2739 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
2740 (cosf): Define using libm_alias_float.
2741 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
2742 (erff): Define using libm_alias_float.
2744 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
2745 (expm1f): Define using libm_alias_float.
2746 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
2747 (fabsf): Define using libm_alias_float.
2748 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
2749 (floorf): Define using libm_alias_float.
2750 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
2751 (frexpf): Define using libm_alias_float.
2752 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
2754 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
2755 <libm-alias-float.h>.
2756 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
2758 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
2759 <libm-alias-float.h>.
2760 (getpayloadf): Define using libm_alias_float.
2761 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
2762 <libm-alias-float.h>.
2763 (llrintf): Define using libm_alias_float.
2764 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
2765 <libm-alias-float.h>.
2766 (llroundf): Define using libm_alias_float.
2767 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
2768 (logbf): Define using libm_alias_float.
2769 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
2770 (lrintf): Define using libm_alias_float.
2771 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
2772 (lroundf): Define using libm_alias_float.
2773 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
2774 (modff): Define using libm_alias_float.
2775 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
2776 <libm-alias-float.h>.
2777 (nearbyintf): Define using libm_alias_float.
2778 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
2779 <libm-alias-float.h>.
2780 (nextafterf): Define using libm_alias_float.
2781 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
2782 <libm-alias-float.h>.
2783 (nextupf): Define using libm_alias_float.
2784 * sysdeps/ieee754/flt-32/s_remquof.c: Include
2785 <libm-alias-float.h>.
2786 (remquof): Define using libm_alias_float.
2787 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
2788 (rintf): Define using libm_alias_float.
2789 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
2790 <libm-alias-float.h>.
2791 (roundevenf): Define using libm_alias_float.
2792 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
2793 (roundf): Define using libm_alias_float.
2794 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
2795 using libm_alias_float.
2796 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
2797 <libm-alias-float.h>.
2798 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
2799 Define using libm_alias_float.
2800 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
2801 <libm-alias-float.h>.
2802 (sincosf): Define using libm_alias_float.
2803 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
2804 (sinf): Define using libm_alias_float.
2805 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
2806 (tanf): Define using libm_alias_float.
2807 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
2808 (tanhf): Define using libm_alias_float.
2809 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
2810 <libm-alias-float.h>.
2811 (totalorderf): Define using libm_alias_float.
2812 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
2813 <libm-alias-float.h>.
2814 (totalordermagf): Define using libm_alias_float.
2815 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
2816 (truncf): Define using libm_alias_float.
2817 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
2819 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
2822 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2825 math/math.h: Let fpclassify use the builtin in C++ mode, even
2826 when optimazing for size.
2828 2017-09-22 Joseph Myers <joseph@codesourcery.com>
2830 * csu/Makefile (generated): Do not add version-info.h.
2831 (before-compile): Likewise.
2832 (all-Banner-files): Remove variable.
2833 ($(objpfx)version-info.h): Remove rule.
2834 * csu/version.c (banner): Do not include "version-info.h".
2835 * libidn/Banner: Remove.
2836 * manual/contrib.texi (Simon Josefsson): New entry.
2838 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2840 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2841 Remove conditionals on LDBL_MANT_DIG.
2842 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
2843 (__ieee754_lgammal_r): Likewise.
2845 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2847 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
2849 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
2850 _Float128 and L(). Replace _Float128 with long double and L(x)
2851 with xL, throughout the file.
2852 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2853 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2854 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2855 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
2857 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2859 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
2860 sysdeps/ieee754/ldbl-128ibm.
2861 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
2862 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
2863 of including it. Keep _Float128 and L() intact. These will be
2864 reviewed by a separate patch.
2865 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2866 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2867 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2868 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
2870 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
2873 (__finitef128): Define to __redirect___finitef128.
2874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
2875 (__isinff128): Define to __redirect___isinff128.
2876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
2877 (__isnanf128): Define to __redirect___isnanf128.
2879 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2881 * sysdeps/powerpc/powerpc64le/Makefile
2882 (CFLAGS-tst-strtod-nan-locale.c): New variable.
2883 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
2885 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
2886 Carlos O'Donell <carlos@redhat.com>
2889 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
2890 * stdlib/test-dlclose-exit-race.c: New file.
2891 * stdlib/test-dlclose-exit-race-helper.c: New file.
2892 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
2894 2017-09-21 Joseph Myers <joseph@codesourcery.com>
2896 * crypt/Banner: Remove file.
2897 * nptl/Banner: Likewise.
2898 * resolv/Banner: Likewise.
2899 * soft-fp/Banner: Likewise.
2900 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
2901 ($(objpfx)version.d): Remove dependency on banner.h.
2902 ($(objpfx)version.os): Likewise.
2903 * nptl/version.c (banner): Do not include banner.h.
2904 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
2905 Jelinek and BIND code.
2907 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
2908 Carlos O'Donell <carlos@redhat.com>
2910 * support/xdlfcn.h: New file.
2911 * support/xdlfcn.c: New file.
2912 * support/Makefile (libsupport-routines): Add xdlfcn.
2913 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
2915 2017-09-20 Joseph Myers <joseph@codesourcery.com>
2918 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2919 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
2920 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
2921 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
2922 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
2923 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
2924 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
2925 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
2927 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
2928 Ricky Zhou <rickyz@google.com>
2929 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
2932 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
2934 (__new_exitfn): Fail registration when we finished at_exit processing.
2935 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
2936 * stdlib/on_exit.c (__on_exit): Likewise.
2937 * stdlib/exit.c (__exit_funcs_done): New variable.
2938 (__run_exit_handlers): Use __exit_funcs_lock.
2939 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
2941 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
2942 (test-cxa_atexit-race, test-on_exit-race): New tests.
2943 * stdlib/test-atexit-race-common.c: New file.
2944 * stdlib/test-atexit-race.c: New file.
2945 * stdlib/test-at_quick_exit-race.c: New file.
2946 * stdlib/test-cxa_atexit-race.c: New file.
2947 * stdlib/test-on_exit-race.c: New file.
2949 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
2951 * benchtests/Makefile: Add exp2f and log2f benchmarks.
2952 * benchtests/exp2f-inputs: Copy of expf-inputs.
2953 * benchtests/log2f-inputs: Copy of logf-inputs.
2955 2017-09-19 Joseph Myers <joseph@codesourcery.com>
2957 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
2958 Explicitly take address of first element of array arguments in
2959 call to INLINE_SYSCALL.
2961 2017-09-19 Andreas Schwab <schwab@suse.de>
2964 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
2966 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
2968 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
2969 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
2970 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2971 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
2972 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2973 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
2974 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2975 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
2976 * posix/Makefile (tests): Add tst-fexecve.
2977 * posix/tst-fexecve.c: New file.
2979 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
2981 * benchtests/Makefile: Add logf benchmark.
2982 * benchtests/logf-inputs: Add reduced trace from wrf_r.
2984 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
2986 * benchtests/Makefile: Add expf benchmark.
2987 * benchtests/expf-inputs: Add reduced trace from wrf_r.
2989 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
2991 * csu/Makefile: Add -funwind-tables to libc-start.c.
2992 * debug/Makefile: Add -funwind-tables to backtrace.c.
2993 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
2994 * sysdeps/arm/Makefile: Likewise.
2995 * sysdeps/i386/Makefile: Likewise.
2996 * sysdeps/m68k/Makefile: Likewise.
2997 * sysdeps/mips/Makefile: Likewise.
2998 * sysdeps/nios2/Makefile: Likewise.
2999 * sysdeps/sh/Makefile: Likewise.
3000 * sysdeps/sparc/Makefile: Likewise.
3002 2017-09-19 Joseph Myers <joseph@codesourcery.com>
3004 * benchtests/Makefile (bench-math): Add trunc and truncf.
3005 (CFLAGS-bench-trunc.c): New variable.
3006 (CFLAGS-bench-truncf.c): Likewise.
3007 * benchtests/trunc-inputs: New file.
3008 * benchtests/truncf-inputs: Likewise.
3010 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3012 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
3014 2017-09-18 Joseph Myers <joseph@codesourcery.com>
3016 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
3017 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
3019 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
3020 (exp10l): Define as weak alias.
3021 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
3022 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
3024 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
3025 (remainderl): Define as weak alias.
3027 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
3028 (fmal): Define using libm_alias_ldouble.
3029 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
3030 (acoshl): Define using libm_alias_ldouble.
3031 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
3032 (acosl): Define using libm_alias_ldouble.
3033 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
3034 (asinl): Define using libm_alias_ldouble.
3035 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
3036 (atan2l): Define using libm_alias_ldouble.
3037 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
3038 (atanhl): Define using libm_alias_ldouble.
3039 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
3040 (coshl): Define using libm_alias_ldouble.
3041 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
3042 (exp10l): Define using libm_alias_ldouble.
3043 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
3044 (exp2l): Define using libm_alias_ldouble.
3045 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
3046 (expl): Define using libm_alias_ldouble.
3047 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
3048 (fmodl): Define using libm_alias_ldouble.
3049 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
3050 (hypotl): Define using libm_alias_ldouble.
3051 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
3052 (j0l): Define using libm_alias_ldouble.
3054 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
3055 (j1l): Define using libm_alias_ldouble.
3057 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
3058 (jnl): Define using libm_alias_ldouble.
3060 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
3061 (log10l): Define using libm_alias_ldouble.
3062 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
3063 (log2l): Define using libm_alias_ldouble.
3064 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
3065 (logl): Define using libm_alias_ldouble.
3066 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
3067 (powl): Define using libm_alias_ldouble.
3068 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
3069 (remainderl): Define using libm_alias_ldouble.
3070 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
3071 (sinhl): Define using libm_alias_ldouble.
3072 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
3073 (sqrtl): Define using libm_alias_ldouble.
3074 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
3075 (tgammal): Define using libm_alias_ldouble.
3076 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
3077 (exp10l): Do not use long_double_symbol here.
3078 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
3079 [LIBM_SVID_COMPAT] (remainderl): Likewise.
3080 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
3081 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
3082 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
3083 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
3084 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
3085 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
3086 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
3087 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
3088 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
3089 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
3090 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
3091 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
3092 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
3093 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
3094 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
3095 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
3096 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
3097 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
3098 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
3099 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
3101 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
3103 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
3104 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
3106 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
3108 * io/read.c (read): Add libc_hidden_weak.
3109 * sysdeps/mach/hurd/read.c (read): Likewise.
3110 * io/write.c (write): Likewise.
3111 * sysdeps/mach/hurd/write.c (write): Likewise.
3112 * io/pread64.c (__pread64): Likewise.
3113 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
3114 * posix/pread64.c (__pread64): Add libc_hidden_def.
3116 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3118 * benchtests/scripts/compare_strings.py: New option -g.
3119 (draw_graph): Print a message that a graph is being generated.
3120 (process_results): Generate graph only if -g is passed.
3121 (main): Process option -g.
3123 * benchtests/scripts/compare_strings.py (process_results):
3124 Better spacing for output.
3126 * benchtests/scripts/compare_strings.py: Use argparse.
3127 * benchtests/README: Document existence of compare_strings.py.
3129 2017-09-15 Joseph Myers <joseph@codesourcery.com>
3131 * math/s_fma.c: Include <libm-alias-double.h>.
3132 (fma): Define using libm_alias_double.
3133 * math/s_nextafter.c: Include <libm-alias-double.h>.
3134 (nextafter): Define using libm_alias_double.
3135 * math/w_acos_compat.c: Include <libm-alias-double.h>.
3136 (acos): Define using libm_alias_double.
3137 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
3138 (aocsh): Define using libm_alias_double.
3139 * math/w_asin_compat.c: Include <libm-alias-double.h>.
3140 (asin): Define using libm_alias_double.
3141 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
3142 (atan2): Define using libm_alias_double.
3143 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
3144 (atanh): Define using libm_alias_double.
3145 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
3146 (cosh): Define using libm_alias_double.
3147 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
3148 (exp10): Define using libm_alias_double.
3149 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
3150 (exp2): Define using libm_alias_double.
3151 * math/w_exp_compat.c: Include <libm-alias-double.h>.
3152 (exp): Define using libm_alias_double.
3153 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
3154 (fmod): Define using libm_alias_double.
3155 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
3156 (hypot): Define using libm_alias_double.
3157 * math/w_j0_compat.c: Include <libm-alias-double.h>.
3158 (j0): Define using libm_alias_double.
3160 * math/w_j1_compat.c: Include <libm-alias-double.h>.
3161 (j1): Define using libm_alias_double.
3163 * math/w_jn_compat.c: Include <libm-alias-double.h>.
3164 (jn): Define using libm_alias_double.
3166 * math/w_log10_compat.c: Include <libm-alias-double.h>.
3167 (log10): Define using libm_alias_double.
3168 * math/w_log2_compat.c: Include <libm-alias-double.h>.
3169 (log2): Define using libm_alias_double.
3170 * math/w_log_compat.c: Include <libm-alias-double.h>.
3171 (log): Define using libm_alias_double.
3172 * math/w_pow_compat.c: Include <libm-alias-double.h>.
3173 (pow): Define using libm_alias_double.
3174 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
3175 (remainder): Define using libm_alias_double.
3176 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
3177 (sinh): Define using libm_alias_double.
3178 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
3179 (sqrt): Define using libm_alias_double.
3180 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
3181 (tgamma): Define using libm_alias_double.
3182 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
3183 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
3184 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
3185 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
3186 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
3187 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
3188 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
3189 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
3190 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
3191 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
3192 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
3193 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
3194 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
3195 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
3196 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
3197 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
3198 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
3199 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
3200 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
3201 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
3202 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
3203 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
3204 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
3205 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
3206 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
3208 * math/e_acoshl.c: Remove.
3209 * math/e_acosl.c: Likewise.
3210 * math/e_asinl.c: Likewise.
3211 * math/e_atan2l.c: Likewise.
3212 * math/e_atanhl.c: Likewise.
3213 * math/e_coshl.c: Likewise.
3214 * math/e_expl.c: Likewise.
3215 * math/e_fmodl.c: Likewise.
3216 * math/e_gammal_r.c: Likewise.
3217 * math/e_hypotl.c: Likewise.
3218 * math/e_j0l.c: Likewise.
3219 * math/e_j1l.c: Likewise.
3220 * math/e_jnl.c: Likewise.
3221 * math/e_lgammal_r.c: Likewise.
3222 * math/e_log10l.c: Likewise.
3223 * math/e_log2l.c: Likewise.
3224 * math/e_logl.c: Likewise.
3225 * math/e_powl.c: Likewise.
3226 * math/e_rem_pio2l.c: Likewise.
3227 * math/e_sinhl.c: Likewise.
3228 * math/e_sqrtf128.c: Likewise.
3229 * math/e_sqrtl.c: Likewise.
3230 * math/k_cosl.c: Likewise.
3231 * math/k_sinl.c: Likewise.
3232 * math/k_tanl.c: Likewise.
3233 * math/s_asinhl.c: Likewise.
3234 * math/s_atanl.c: Likewise.
3235 * math/s_cbrtl.c: Likewise.
3236 * math/s_erfl.c: Likewise.
3237 * math/s_expm1l.c: Likewise.
3238 * math/s_log1pl.c: Likewise.
3239 * math/s_tanhl.c: Likewise.
3241 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3244 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
3245 [$(subdir) = math] (sysdep_calls): New variable. Has the
3246 previous contents of sysdep_routines, but re-sorted..
3247 [$(subdir) = math] (sysdep_routines): Re-use the contents from
3249 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
3250 defined in sysdep_calls and replace by the respective m_* names.
3251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
3252 (compat_symbol): Undefine to avoid duplicated compat symbols in
3255 2017-09-15 Joseph Myers <joseph@codesourcery.com>
3257 * math/s_fmaf.c: Include <libm-alias-float.h>.
3258 (fmaf): Define using libm_alias_float.
3259 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
3260 (acosf): Define using libm_alias_float.
3261 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
3262 (acoshf): Define using libm_alias_float.
3263 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
3264 (asinf): Define using libm_alias_float.
3265 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
3266 (atan2f): Define using libm_alias_float.
3267 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
3268 (atanhf): Define using libm_alias_float.
3269 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
3270 (coshf): Define using libm_alias_float.
3271 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
3272 (exp10f): Define using libm_alias_float.
3273 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
3274 (fmodf): Define using libm_alias_float.
3275 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
3276 (hypotf): Define using libm_alias_float.
3277 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
3278 (j0f): Define using libm_alias_float.
3280 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
3281 (j1f): Define using libm_alias_float.
3283 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
3284 (jnf): Define using libm_alias_float.
3286 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
3287 (log10f): Define using libm_alias_float.
3288 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
3289 (log2f): Define using libm_alias_float.
3290 * math/w_logf_compat.c: Include <libm-alias-float.h>.
3291 (logf): Define using libm_alias_float.
3292 * math/w_powf_compat.c: Include <libm-alias-float.h>.
3293 (powf): Define using libm_alias_float.
3294 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
3295 (remainderf): Define using libm_alias_float.
3296 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
3297 (sinhf): Define using libm_alias_float.
3298 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
3299 (sqrtf): Define using libm_alias_float.
3300 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
3301 (tgammaf): Define using libm_alias_float.
3303 2017-09-14 Joseph Myers <joseph@codesourcery.com>
3305 * include/math.h (roundeven): Change hidden_proto call to
3307 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
3309 [NO_LONG_DOUBLE] (__j0l): New strong alias.
3310 (y0): Rename to __y0 and define as weak alias.
3311 [NO_LONG_DOUBLE] (__y0l): New strong alias.
3312 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
3314 (y0f): Rename to __y0f and define as weak alias.
3315 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
3317 [NO_LONG_DOUBLE] (__j1l): New strong alias.
3318 (y1): Rename to __y1 and define as weak alias.
3319 [NO_LONG_DOUBLE] (__y1l): New strong alias.
3320 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
3322 (y1f): Rename to __y1f and define as weak alias.
3323 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
3325 [NO_LONG_DOUBLE] (__jnl): New strong alias.
3326 (yn): Rename to __yn and define as weak alias.
3327 [NO_LONG_DOUBLE] (__ynl): New strong alias.
3328 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
3330 (ynf): Rename to __ynf and define as weak alias.
3331 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
3332 (fromfp): Define as weak alias.
3333 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
3334 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
3335 (fromfpx): Define as weak alias.
3336 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
3337 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
3338 __getpayload and define as weak alias.
3339 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
3340 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
3341 __roundeven and define as weak alias.
3342 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
3343 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
3345 (setpayload): Define as weak alias.
3346 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
3347 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
3349 (setpayloadsig): Define as weak alias.
3350 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
3351 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
3352 __totalorder and define as weak alias.
3353 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
3354 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
3355 to __totalordermag and define as weak alias.
3356 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
3357 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
3358 (ufromfp): Define as weak alias.
3359 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
3360 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
3362 (ufromfpx): Define as weak alias.
3363 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
3364 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
3365 Rename to __getpayload and define as weak alias.
3366 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
3367 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
3368 Rename to __roundeven and define as weak alias.
3369 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
3370 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
3371 Rename to __totalorder and define as weak alias.
3372 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
3373 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
3374 (totalordermag): Rename to __totalordermag and define as weak
3376 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
3377 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
3379 (__roundevenl): Likewise.
3380 (__totalorderl): Likewise.
3381 (__totalordermagl): Likewise
3382 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
3384 (fromfpf128): Define as weak alias.
3385 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
3387 (fromfpxf128): Define as weak alias.
3388 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
3390 (setpayloadf128): Define as weak alias.
3391 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
3392 __setpayloadsigf128.
3393 (setpayloadsigf128): Define as weak alias.
3394 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
3396 (ufromfpf128): Define as weak alias.
3397 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
3399 (ufromfpxf128): Define as weak alias.
3400 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
3401 (fromfpf): Define as weak alias.
3402 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
3404 (fromfpxf): Define as weak alias.
3405 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
3406 __getpayloadf and define as weak alias.
3407 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
3408 __roundevenf and define as weak alias.
3409 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
3411 (setpayloadf): Define as weak alias.
3412 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
3414 (setpayloadsigf): Define as weak alias.
3415 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
3416 __totalorderf and define as weak alias.
3417 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
3418 Rename to __totalordermagf and define as weak alias.
3419 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
3421 (ufromfpf): Define as weak alias.
3422 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
3424 (ufromfpxf): Define as weak alias.
3425 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
3427 (fromfpl): Define as weak alias.
3428 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
3430 (fromfpxl): Define as weak alias.
3431 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
3432 to __getpayloadl and define as weak alias.
3433 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
3434 __roundevenl and define as weak alias.
3435 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
3437 (setpayloadl): Define as weak alias.
3438 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
3440 (setpayloadsigl): Define as weak alias.
3441 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
3442 to __totalorderl and define as weak alias.
3443 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
3444 Rename to __totalordermagl and define as weak alias.
3445 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
3447 (ufromfpl): Define as weak alias.
3448 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
3450 (ufromfpxl): Define as weak alias.
3451 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
3453 (fromfpl): Define as weak alias.
3454 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
3456 (fromfpxl): Define as weak alias.
3457 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
3458 Rename to __getpayloadl and define as weak alias.
3459 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
3460 to __roundevenl and define as weak alias. Call __roundeven
3461 instead of roundeven.
3462 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
3464 (setpayloadl): Define as weak alias.
3465 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
3467 (setpayloadsigl): Define as weak alias.
3468 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
3469 Rename to __totalorderl and define as weak alias.
3470 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
3471 Rename to __totalordermagl and define as weak alias.
3472 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
3474 (ufromfpl): Define as weak alias.
3475 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
3477 (ufromfpxl): Define as weak alias.
3478 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
3480 (fromfpl): Define as weak alias.
3481 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
3483 (fromfpxl): Define as weak alias.
3484 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
3485 __getpayloadl and define as weak alias.
3486 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
3487 __roundevenl and define as weak alias.
3488 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
3490 (setpayloadl): Define as weak alias.
3491 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
3493 (setpayloadsigl): Define as weak alias.
3494 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
3495 __totalorderl and define as weak alias.
3496 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
3497 Rename to __totalordermagl and define as weak alias.
3498 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
3500 (ufromfpl): Define as weak alias.
3501 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
3503 (ufromfpxl): Define as weak alias.
3505 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3507 * benchtests/bench-string.h (realloc_bufs): New function.
3508 (test_init): Call it.
3509 * benchtests/bench-memset-large.c (do_test): Likewise.
3510 * benchtests/bench-memset.c (do_test): Likewise.
3512 * benchtests/bench-memset-large.c: Print output in JSON
3514 * benchtests/bench-memset.c: Likewise.
3516 2017-09-14 Mike FABIAN <mfabian@redhat.com>
3519 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
3520 * iconvdata/Makefile: Add IBM858.
3521 * iconvdata/gconv-modules: Likewise.
3522 * iconvdata/tst-tables.sh: Likewise.
3523 * iconvdata/ibm858.c: New file.
3524 * localedata/charmaps/IBM858: Likewise.
3526 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
3529 * locales/niu_NZ (LC_TIME): copy "niu_NU".
3530 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
3532 2017-09-14 Mike FABIAN <mfabian@redhat.com>
3535 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
3536 and add tel_int_fmt.
3538 2017-09-14 Joseph Myers <joseph@codesourcery.com>
3540 * sysdeps/generic/libm-alias-float128.h: New file.
3541 * sysdeps/generic/math-type-macros-float128.h: Include
3542 <libm-alias-float128.h>.
3543 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
3545 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3547 * sysdeps/generic/libm-alias-ldouble.h: New file.
3548 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
3549 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
3550 * sysdeps/generic/math-type-macros-ldouble.h: Include
3551 <libm-alias-ldouble.h>.
3552 [!declare_mgen_alias] (declare_mgen_alias): Define to use
3555 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3557 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
3558 * math/w_exp_compat.c: ... here.
3559 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
3560 * math/w_expf_compat.c: ... here.
3561 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
3562 * math/w_expl_compat.c: ... here.
3563 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
3564 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
3565 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
3566 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
3568 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3570 * math/w_scalbln_template.c (strong_alias): Do not undefine and
3572 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
3574 (ldexpl): Only define as compat symbol for libc, not libm.
3575 (scalbnl): Define as compat symbol for libc here.
3576 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
3577 define for [IS_IN (libc)].
3578 (__ldexpl_2): Remove alias.
3579 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
3580 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
3581 name in long_double_symbol call.
3582 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
3583 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3584 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3585 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
3586 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
3588 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
3589 Define as compat symbol.
3591 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3593 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
3594 * sysdeps/unix/sysv/linux/alpha/Makefile
3595 [$(subdir) = csu] (sysdep_routines): Remove rule.
3597 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3599 * sysdeps/generic/libm-alias-double.h: New file.
3600 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
3601 * sysdeps/generic/math-type-macros-double.h: Include
3602 <libm-alias-double.h>.
3603 [declare_mgen_alias] (declare_mgen_alias): Define to use
3605 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
3606 (M_LIBM_NEED_COMPAT): Remove macro.
3607 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
3608 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
3609 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
3611 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3612 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3613 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3614 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3615 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3616 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3617 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3618 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3619 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3620 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3621 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3622 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3623 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3624 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3625 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3626 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3627 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3628 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3629 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3630 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3631 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3632 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3633 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3634 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3635 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3636 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3637 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3638 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
3639 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
3641 (declare_mgen_alias): New macro.
3642 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
3643 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
3644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
3645 (M_LIBM_NEED_COMPAT): Remove macro.
3646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
3647 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
3649 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
3650 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
3652 2017-09-12 Joseph Myers <joseph@codesourcery.com>
3654 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
3655 (declare_mgen_alias_2): Remove.
3656 * sysdeps/generic/math-type-macros-double.h
3657 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
3659 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
3661 (ldexp): Define with declare_mgen_alias.
3664 2017-09-12 Steve Ellcey <sellcey@cavium.com>
3666 * grp/initgroups.c: Include config.h.
3667 (DEFAULT_CONFIG): New macro.
3668 (internal_getgrouplist): Use DEFAULT_CONFIG.
3669 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3670 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
3671 (DEFAULT_DEFCONFIG): New macro.
3672 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
3673 * nss/grp-lookup.c: Include config.h
3674 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
3675 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
3676 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
3677 * manual/nss.texi: Update default values section.
3679 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
3682 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
3684 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
3685 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
3686 Handle MathVec_Prefer_No_AVX512.
3687 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
3688 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
3691 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
3693 * posix/sched_primax.c (__sched_get_priority_max): Add
3695 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
3696 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3697 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
3698 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
3699 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
3700 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
3701 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
3702 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
3705 2017-09-11 Joseph Myers <joseph@codesourcery.com>
3707 * sysdeps/generic/libm-alias-float.h: New file.
3708 * sysdeps/generic/math-type-macros-float.h: Include
3709 <libm-alias-float.h>.
3710 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
3712 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
3715 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
3716 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
3717 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
3718 (HWCAP_IMPORTANT): Likewise.
3719 (HWCAP_X86_64): New enum.
3720 (HWCAP_X86_AVX512_1): Updated.
3721 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
3722 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
3723 (modules-names): Add x86_64/tst-x86_64mod-1.
3724 (LDFLAGS-tst-x86_64mod-1.so): New.
3725 ($(objpfx)tst-x86_64-1): Likewise.
3726 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
3727 (tst-x86_64-1-clean): Likewise.
3728 * sysdeps/x86_64/tst-x86_64-1.c: New file.
3729 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
3731 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
3733 * po/sv.po: Update translations.
3734 * po/fr.po: Likewise.
3736 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3738 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
3740 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
3742 * elf/rtld-Rules: Fix $(error) use.
3744 2017-09-09 Mike FABIAN <mfabian@redhat.com>
3747 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
3748 * locale/iso-639.def: Change “Bengali” to “Bangla”.
3749 * localedata/locales/bn_BD: “Bengali” was still used in some
3750 comments. Change it to “Bangla”.
3752 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
3754 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
3756 2017-09-08 Steve Ellcey <sellcey@cavium.com>
3758 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
3759 thunderx2t99p1 to list of cpu names.
3760 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3761 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
3763 2017-09-08 Steve Ellcey <sellcey@cavium.com>
3765 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
3766 Use strcmp instead of tunable_is_name.
3768 2017-09-08 Joseph Myers <joseph@codesourcery.com>
3770 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3771 (F_GET_RW_HINT): New macro.
3772 [__USE_GNU] (F_SET_RW_HINT): Likewise.
3773 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
3774 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
3775 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
3776 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
3777 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
3778 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
3779 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
3780 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
3782 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3783 (F_ADD_SEALS): New macro.
3784 [__USE_GNU] (F_GET_SEALS): Likewise.
3785 [__USE_GNU] (F_SEAL_SEAL): Likewise.
3786 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
3787 [__USE_GNU] (F_SEAL_GROW): Likewise.
3788 [__USE_GNU] (F_SEAL_WRITE): Likewise.
3790 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3792 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
3793 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
3794 * posix/glob_internal.h (__glob_pattern_type):
3795 * posix/glob.c (glob):
3796 * posix/glob_pattern_p.c (__glob_pattern_p):
3799 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
3800 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3801 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
3802 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
3803 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
3804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
3805 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
3806 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
3807 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
3808 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3809 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
3810 * sysdeps/wordsize-64/glob.c: Likewise.
3811 * sysdeps/wordsize-64/glob64.c: Likewise.
3812 * sysdeps/wordsize-64/globfree.c: Likewise.
3813 * sysdeps/wordsize-64/globfree64.c: Likewise.
3814 * sysdeps/unix/sysv/linux/glob.c: New file.
3815 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
3816 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
3817 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
3818 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
3819 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
3820 adds !GLOB_NO_OLD_VERSION as an extra condition.
3821 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
3822 using relative path instead of absolute one.
3823 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
3824 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
3825 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3826 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
3827 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
3828 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
3831 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
3832 (glob): Use the same scratch buffer for both getlogin_r and
3833 getpwnam_r. Don’t require preallocation of the login name. This
3834 simplifies storage allocation, and corrects the handling of
3838 * posix/glob.c (glob): Port recent patches to platforms
3840 (glob): Fix longstanding misuse of errno after getpwnam_r, which
3841 returns an error number rather than setting errno.
3843 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
3844 instead of GCC extension.
3845 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
3846 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
3847 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
3851 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
3852 * posix/bug-glob1.c: Remove file.
3853 * posix/tst-glob_symlinks.c: New file.
3854 * posix/glob.c (__lstat64): New macro.
3855 (is_dir): New function.
3856 (glob, glob_in_dir): Match symlinks even if they are dangling.
3857 (link_stat, link_exists_p): Remove. All uses removed.
3861 * posix/glob.c (struct readdir_result): Remove skip_entry member.
3862 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
3866 * posix/Makefile (routines): Add globfree, globfree64, and
3868 * posix/flexmember.h: New file.
3869 * posix/glob_internal.h: Likewise.
3870 * posix/glob_pattern_p.c: Likewise.
3871 * posix/globfree.c: Likewise.
3872 * posix/globfree64.c: Likewise.
3873 * sysdeps/gnu/globfree64.c: Likewise.
3874 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
3875 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
3876 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
3877 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
3878 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
3879 * sysdeps/wordsize-64/globfree.c: Likewise.
3880 * sysdeps/wordsize-64/globfree64.c: Likewise.
3881 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
3882 [NDEBUG): Remove comments.
3883 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
3884 (dirent_type): New type. Use uint_fast8_t not
3885 uint8_t, as C99 does not require uint8_t.
3886 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
3887 (struct readdir_result): Use dirent_type. Do not define skip_entry
3888 unless it is needed; this saves a byte on platforms lacking d_ino.
3889 (readdir_result_type, readdir_result_skip_entry):
3890 New functions, replacing ...
3891 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
3892 these functions, which were removed. This makes the callers
3893 easier to read. All callers changed.
3894 (D_INO_TO_RESULT): Now empty if there is no d_ino.
3895 (size_add_wrapv, glob_use_alloca): New static functions.
3896 (glob, glob_in_dir): Check for size_t overflow in several places,
3897 and fix some size_t checks that were not quite right.
3898 Remove old code using SHELL since Bash no longer
3900 (glob, prefix_array): Separate MS code better.
3901 (glob_in_dir): Remove old Amiga and VMS code.
3902 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
3904 (glob_in_dir): Do not rely on undefined behavior in accessing
3905 struct members beyond their bounds. Use a flexible array member
3907 (link_stat): Rename from link_exists2_p and return -1/0 instead of
3908 0/1. Caller changed.
3909 (glob): Fix memory leaks.
3910 * posix/glob64 (globfree64): Move to separate file.
3911 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
3912 (globfree64): Remove hidden alias.
3913 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
3915 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
3917 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
3919 Move compat code to separate file.
3920 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
3923 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
3925 * resolv/tst-resolv-qtypes.c (domain): Changed to
3926 "const char domain[] =".
3928 2017-09-07 Joseph Myers <joseph@codesourcery.com>
3930 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3933 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
3934 (TCP_MD5SIG_EXT): Likewise.
3935 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
3936 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
3937 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
3939 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
3941 2017-09-07 Mike FABIAN <mfabian@redhat.com>
3943 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
3945 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
3948 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
3950 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3952 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
3953 before assuming that the file is empty. Avoid testing buffer content
3956 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3959 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
3961 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
3963 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
3965 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
3967 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
3969 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
3971 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
3974 2017-09-06 Florian Weimer <fweimer@redhat.com>
3976 * malloc/dynarray_emplace_enlarge.c
3977 (__libc_dynarray_emplace_enlarge): Add missing else.
3979 2017-09-06 Florian Weimer <fweimer@redhat.com>
3982 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
3983 case of failure to obtain the global conf object.
3985 2017-09-06 Florian Weimer <fweimer@redhat.com>
3988 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
3989 dynarray allocation failure.
3991 2017-09-06 Florian Weimer <fweimer@redhat.com>
3993 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
3994 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
3995 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
3997 (response): Call them. Add 'p', '6' flag processing.
3998 (test_reverse): New function.
3999 (test_get2_any): Call it.
4000 (test_no_inet6): Add 'p' test.
4001 (test_inet6): Likewise.
4003 2017-09-06 Florian Weimer <fweimer@redhat.com>
4005 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
4006 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
4008 (test_gai): Adjust query names. Add additional tests.
4009 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
4010 test_get2. Adjust query names. Add additional tests.
4011 (test_no_inet6): New function, extracted from threadfunc.
4012 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
4013 Add additional tests.
4015 2017-09-06 Mike FABIAN <mfabian@redhat.com>
4018 * localedata/unicode-gen/utf8_gen.py: Set the width for
4019 characters with Prepended_Concatenation_Mark property to 1
4020 * localedata/charmaps/UTF-8: Updated using the improved script.
4022 2017-09-06 Mike FABIAN <mfabian@redhat.com>
4025 * localedata/unicode-gen/utf8_gen.py: Improve the script to
4026 use the range notation for all ranges of neighbouring characters
4027 with the same width.
4029 2017-09-05 Joseph Myers <joseph@codesourcery.com>
4031 * sysdeps/generic/math-type-macros-double.h: Include
4032 <math-svid-compat.h>.
4033 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
4034 * sysdeps/generic/math-type-macros-float.h: Include
4035 <math-svid-compat.h>.
4036 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
4037 * sysdeps/generic/math-type-macros-ldouble.h: Include
4038 <math-svid-compat.h>.
4039 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
4040 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
4042 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
4043 * math/w_acosf_compat.c: Likewise.
4044 * math/w_acosh_compat.c: Likewise.
4045 * math/w_acoshf_compat.c: Likewise.
4046 * math/w_acoshl_compat.c: Likewise.
4047 * math/w_acosl_compat.c: Likewise.
4048 * math/w_asin_compat.c: Likewise.
4049 * math/w_asinf_compat.c: Likewise.
4050 * math/w_asinl_compat.c: Likewise.
4051 * math/w_atan2_compat.c: Likewise.
4052 * math/w_atan2f_compat.c: Likewise.
4053 * math/w_atan2l_compat.c: Likewise.
4054 * math/w_atanh_compat.c: Likewise.
4055 * math/w_atanhf_compat.c: Likewise.
4056 * math/w_atanhl_compat.c: Likewise.
4057 * math/w_cosh_compat.c: Likewise.
4058 * math/w_coshf_compat.c: Likewise.
4059 * math/w_coshl_compat.c: Likewise.
4060 * math/w_exp10_compat.c: Likewise.
4061 * math/w_exp10f_compat.c: Likewise.
4062 * math/w_exp10l_compat.c: Likewise.
4063 * math/w_exp2_compat.c: Likewise.
4064 * math/w_exp2f_compat.c: Likewise.
4065 * math/w_exp2l_compat.c: Likewise.
4066 * math/w_fmod_compat.c: Likewise.
4067 * math/w_fmodf_compat.c: Likewise.
4068 * math/w_fmodl_compat.c: Likewise.
4069 * math/w_hypot_compat.c: Likewise.
4070 * math/w_hypotf_compat.c: Likewise.
4071 * math/w_hypotl_compat.c: Likewise.
4072 * math/w_j0_compat.c: Likewise.
4073 * math/w_j0f_compat.c: Likewise.
4074 * math/w_j0l_compat.c: Likewise.
4075 * math/w_j1_compat.c: Likewise.
4076 * math/w_j1f_compat.c: Likewise.
4077 * math/w_j1l_compat.c: Likewise.
4078 * math/w_jn_compat.c: Likewise.
4079 * math/w_jnf_compat.c: Likewise.
4080 * math/w_jnl_compat.c: Likewise.
4081 * math/w_lgamma_r_compat.c: Likewise.
4082 * math/w_lgammaf_r_compat.c: Likewise.
4083 * math/w_lgammal_r_compat.c: Likewise.
4084 * math/w_log10_compat.c: Likewise.
4085 * math/w_log10f_compat.c: Likewise.
4086 * math/w_log10l_compat.c: Likewise.
4087 * math/w_log2_compat.c: Likewise.
4088 * math/w_log2f_compat.c: Likewise.
4089 * math/w_log2l_compat.c: Likewise.
4090 * math/w_log_compat.c: Likewise.
4091 * math/w_logf_compat.c: Likewise.
4092 * math/w_logl_compat.c: Likewise.
4093 * math/w_pow_compat.c: Likewise.
4094 * math/w_powf_compat.c: Likewise.
4095 * math/w_powl_compat.c: Likewise.
4096 * math/w_remainder_compat.c: Likewise.
4097 * math/w_remainderf_compat.c: Likewise.
4098 * math/w_remainderl_compat.c: Likewise.
4099 * math/w_sinh_compat.c: Likewise.
4100 * math/w_sinhf_compat.c: Likewise.
4101 * math/w_sinhl_compat.c: Likewise.
4102 * math/w_sqrt_compat.c: Likewise.
4103 * math/w_sqrtf_compat.c: Likewise.
4104 * math/w_sqrtl_compat.c: Likewise.
4105 * math/w_tgamma_compat.c: Likewise.
4106 * math/w_tgammaf_compat.c: Likewise.
4107 * math/w_tgammal_compat.c: Likewise.
4108 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
4110 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
4111 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
4113 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
4114 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
4116 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
4117 * sysdeps/i386/fpu/w_sqrt.c: New file.
4118 * sysdeps/ia64/fpu/w_acos.c: Likewise.
4119 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
4120 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
4121 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
4122 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
4123 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
4124 * sysdeps/ia64/fpu/w_asin.c: Likewise.
4125 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
4126 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
4127 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
4128 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
4129 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
4130 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
4131 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
4132 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
4133 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
4134 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
4135 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
4136 * sysdeps/ia64/fpu/w_exp.c: Likewise.
4137 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
4138 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
4139 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
4140 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
4141 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
4142 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
4143 * sysdeps/ia64/fpu/w_expf.c: Likewise.
4144 * sysdeps/ia64/fpu/w_expl.c: Likewise.
4145 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
4146 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
4147 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
4148 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
4149 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
4150 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
4151 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
4152 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
4153 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
4154 * sysdeps/ia64/fpu/w_log.c: Likewise.
4155 * sysdeps/ia64/fpu/w_log10.c: Likewise.
4156 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
4157 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
4158 * sysdeps/ia64/fpu/w_log2.c: Likewise.
4159 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
4160 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
4161 * sysdeps/ia64/fpu/w_logf.c: Likewise.
4162 * sysdeps/ia64/fpu/w_logl.c: Likewise.
4163 * sysdeps/ia64/fpu/w_pow.c: Likewise.
4164 * sysdeps/ia64/fpu/w_powf.c: Likewise.
4165 * sysdeps/ia64/fpu/w_powl.c: Likewise.
4166 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
4167 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
4168 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
4169 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
4170 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
4171 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
4172 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
4173 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
4174 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
4175 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
4176 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
4177 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
4178 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
4180 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
4181 * sysdeps/ieee754/k_standard.c: Likewise.
4182 * sysdeps/ieee754/k_standardf.c: Likewise.
4183 * sysdeps/ieee754/k_standardl.c: Likewise.
4184 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
4185 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
4186 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
4187 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
4188 long_double_symbol call on [LIBM_SVID_COMPAT].
4189 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
4190 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
4191 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
4192 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
4193 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
4194 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
4195 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
4196 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
4197 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
4198 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
4199 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
4200 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
4201 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
4202 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
4203 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
4204 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
4205 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
4206 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
4207 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
4208 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
4209 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
4210 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
4212 2017-09-05 Steve Ellcey <sellcey@cavium.com>
4214 * include/shlib-compat.h (TEST_COMPAT): New Macro.
4215 * malloc/tst-mallocstate.c: Convert from test-skeleton
4216 to test-driver. Ifdef code using TEST_COMPAT macro.
4217 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
4218 * math/test-matherr.c: Likewise.
4220 2017-09-05 Joseph Myers <joseph@codesourcery.com>
4223 * debug/pcprofiledump.c (main): Use byte-swapped mask when
4224 comparing word with byte-swapped constant.
4226 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
4229 * locale/iso-639.def: add Miskito.
4230 * localedata/SUPPORTED: Add miq_NI/UTF-8.
4231 * localedata/locales/miq_NI: New file.
4233 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
4236 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
4237 (__mkdir): Likewise.
4238 * io/chmod.c (__chmod): Add libc_hidden_def.
4239 * io/mkdir.c (__mkdir): Likewise.
4240 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
4241 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
4242 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
4243 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
4245 2017-09-04 Joseph Myers <joseph@codesourcery.com>
4247 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4251 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
4252 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
4254 2017-09-04 Florian Weimer <fweimer@redhat.com>
4256 * math/math.h: Issue warning if log is defined.
4258 2017-09-04 Joseph Myers <joseph@codesourcery.com>
4260 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4261 kernel version to 4.13.
4263 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4265 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
4266 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
4268 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
4269 just <bits/types.h>.
4270 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
4271 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
4272 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
4273 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
4274 * misc/preadv2.c: Include <errno.h>.
4275 * misc/preadv64v2.c: Include <errno.h>.
4276 * misc/pwritev2.c: Include <errno.h>.
4277 * misc/pwritev64v2.c: Include <errno.h>.
4278 * sysdeps/posix/preadv2.c: Include <errno.h>.
4279 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
4280 Fix <unistd.h> inclusion.
4281 * sysdeps/posix/pwritev2.c: Include <errno.h>.
4282 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
4283 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
4284 __strtoul_internal): New functions.
4285 * sysdeps/posix/pause.c: Include <sigsetops.h>.
4286 * sysdeps/posix/system.c: Include <sigsetops.h>.
4287 * sysdeps/mach/hurd/i386/Makefile
4288 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
4289 [$(subdir) = csu] (sysdep-only-routines): Likewise.
4290 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4291 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
4292 __feraiseexcept_renamed to feraiseexcept instead of
4294 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
4295 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
4296 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
4297 RWF_NOWAIT): Define to 0 if undefined already.
4298 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
4300 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
4301 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
4303 2017-09-01 Joseph Myers <joseph@codesourcery.com>
4305 * manual/math.texi (pow10): Do not document.
4308 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
4309 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
4310 * math/libm-test-exp10.inc (pow10_test): Remove.
4311 (do_test): Do not call pow10.
4312 * math/w_exp10_compat.c (pow10): Make into compat symbol.
4313 [NO_LONG_DOUBLE] (pow10l): Likewise.
4314 * math/w_exp10f_compat.c (pow10f): Likewise.
4315 * math/w_exp10l_compat.c (pow10l): Likewise.
4316 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
4317 (pow10): Make into compat symbol.
4318 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
4319 (pow10f): Make into compat symbol.
4320 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
4321 (pow10l): Make into compat symbol.
4322 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
4324 (CFLAGS-nldbl-pow10.c): Remove variable..
4325 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
4326 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
4327 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
4328 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
4329 Undefine and redefine.
4330 (pow10l): Make into compat symbol.
4331 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
4332 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4333 * sysdeps/arm/libm-test-ulps: Likewise.
4334 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
4335 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4336 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4337 * sysdeps/microblaze/libm-test-ulps: Likewise.
4338 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4339 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4340 * sysdeps/nios2/libm-test-ulps: Likewise.
4341 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4342 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4343 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4344 * sysdeps/sh/libm-test-ulps: Likewise.
4345 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4346 * sysdeps/tile/libm-test-ulps: Likewise.
4347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4349 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4351 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
4353 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4355 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
4356 "../ChangeLog.old/ChangeLog.8".
4357 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
4358 "../ChangeLog.old/ChangeLog.14".
4360 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4362 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
4365 2017-09-01 Joseph Myers <joseph@codesourcery.com>
4367 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
4369 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4371 * csu/version.c (banner): Remove "by Roland McGrath et al.".
4372 * nptl/Banner: Remove "by Ulrich Drepper et al.".
4374 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4376 * stdlib/tst-atexit-common.c (do_test): Test support for at least
4379 2017-09-01 Zack Weinberg <zackw@panix.com>
4381 * math/math.h (HUGE_VAL): Improve commentary.
4383 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4384 Andreas Schwab <schwab@suse.de>
4387 * include/stdio.h (__gen_tempfd): New function.
4388 * stdio-common/Makefile (routines): Add gentempfd.
4389 * stdio-common/gentempfd.c: New file.
4390 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
4391 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
4394 2017-09-01 Florian Weimer <fweimer@redhat.com>
4398 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
4399 result to determine success or failure, not the errno value.
4400 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
4401 (tst-nss-files-hosts-erange): Link with -ldl.
4402 * nss/tst-nss-files-hosts-erange.c: New file.
4403 * nss/tst-resolv-basic.c (response): Handle nodata.example.
4404 (do_test): Add NO_DATA tests.
4405 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
4408 2017-09-01 Florian Weimer <fweimer@redhat.com>
4411 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
4412 coming from gethostbyname2_r.
4414 2017-09-01 Florian Weimer <fweimer@redhat.com>
4416 * support/namespace.h (struct support_chroot_configuration): Add
4418 (struct support_chroot): Add path_hosts, path_host_conf.
4419 * support/support_chroot.c (write_file): New function.
4420 (support_chroot_create): Call it to process /etc/resolv.conf,
4421 /etc/hosts, /etc/host.conf.
4422 (support_chroot_free): Update.
4424 2017-09-01 Florian Weimer <fweimer@redhat.com>
4426 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
4427 status indicates it is set.
4429 2017-09-01 Florian Weimer <fweimer@redhat.com>
4431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
4432 function lookup failures more reliable.
4434 2017-09-01 Florian Weimer <fweimer@redhat.com>
4436 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
4437 (getcanonname): Likewise.
4438 (gaih_inet): Likewise.
4440 2017-09-01 Florian Weimer <fweimer@redhat.com>
4442 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
4443 (getcanonname): Likewise.
4444 (gaih_inet): Likewise.
4446 2017-08-31 Steve Ellcey <sellcey@cavium.com>
4447 Richard Henderson <rth@twiddle.net>
4449 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
4450 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
4451 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
4452 (IREG_SIZE, OREG_SIZE): New macros.
4453 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
4454 (IREG_SIZE, OREG_SIZE): New macros.
4455 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
4456 (IREG_SIZE): New macro.
4457 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
4458 (IREG_SIZE): New macro.
4459 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
4461 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
4462 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
4463 (__CONCATX): Handle exceptions correctly on large values that may
4465 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
4466 Initialize if not already set.
4467 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
4469 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4471 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
4472 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
4474 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
4476 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
4478 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
4480 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
4482 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
4484 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
4486 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
4487 (NO_CANCELLATION): Likewise.
4488 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
4490 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
4492 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
4494 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
4495 (NO_CANCELLATION): Likewise.
4496 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
4497 (NO_CANCELLATION): Likewise.
4498 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
4500 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
4502 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
4504 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
4506 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
4508 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
4509 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
4511 2017-08-31 Steve Ellcey <sellcey@cavium.com>
4513 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
4516 2017-08-31 Florian Weimer <fweimer@redhat.com>
4518 * include/libc-symbols.h (internal_function): Remove.
4520 2017-08-31 Florian Weimer <fweimer@redhat.com>
4522 * stdlib/fmtmsg.c (internal_addseverity): Remove
4525 2017-08-31 Florian Weimer <fweimer@redhat.com>
4527 * stdio-common/printf_fp.c (group_number): Remove
4529 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
4531 2017-08-31 Florian Weimer <fweimer@redhat.com>
4533 * posix/fnmatch.c (internal_function): Remove definition.
4534 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
4535 * posix/regcomp.c (peek_token, init_word_char)
4536 (duplicate_node_closure, fetch_token, peek_token)
4537 (peek_token_bracket, build_range_exp, build_collating_symbol):
4539 * posix/regex_internal.c (re_string_construct_common)
4540 (create_ci_newstate, create_cd_newstate, re_string_allocate)
4541 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
4542 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
4543 (re_string_translate_buffer, re_string_reconstruct)
4544 (re_string_peek_byte_case, re_string_fetch_byte_case)
4545 (re_string_destruct, re_string_context_at, re_node_set_alloc)
4546 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
4547 (re_node_set_add_intersect, re_node_set_init_union)
4548 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
4549 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
4550 (re_dfa_add_node, calc_state_hash, re_acquire_state)
4551 (re_acquire_state_context): Likewise.
4552 * posix/regex_internal.h (internal_function): Remove definition.
4553 (re_string_realloc_buffers, build_wcs_buffer)
4554 (build_wcs_upper_buffer, build_upper_buffer)
4555 (re_string_translate_buffer, re_string_context_at)
4556 (re_string_char_size_at, re_string_wchar_at)
4557 (re_string_elem_size_at): Likewise.
4558 * posix/regexec.c (match_ctx_init, match_ctx_clean)
4559 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
4560 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
4561 (re_search_internal, re_search_2_stub, re_search_stub)
4562 (re_copy_regs, prune_impossible_nodes, check_matching)
4563 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
4564 (free_fail_stack_return, sift_states_iter_mb)
4565 (sift_states_backward, build_sifted_states)
4566 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
4567 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
4568 (check_subexp_limits, sift_states_bkref, merge_state_array)
4569 (find_recover_state, transit_state, merge_state_with_log)
4570 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
4571 (transit_state_mb, transit_state_bkref, get_subexp)
4572 (get_subexp_sub, find_subexp_node, check_arrival)
4573 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
4574 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
4575 (check_node_accept_bytes, find_collation_sequence_value)
4576 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
4577 (acquire_init_state_context, check_halt_node_context)
4578 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
4579 (sub_epsilon_src_nodes): Likewise.
4580 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
4581 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
4582 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
4583 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
4584 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
4585 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
4586 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
4587 * sysdeps/posix/ttyname.c (getttyname): Likewise.
4588 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
4589 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
4591 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
4593 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
4594 (PWRITEV): Likewise.
4595 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
4596 (PWRITEV): Likewise.
4597 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
4598 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
4600 2017-08-31 Florian Weimer <fweimer@redhat.com>
4602 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
4603 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
4604 Remove internal_function.
4605 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
4606 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
4607 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
4608 (__deallocate_stack, __libc_pthread_init)
4609 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
4610 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
4611 (__libc_disable_asynccancel, __librt_disable_asynccancel):
4613 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
4614 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
4615 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
4617 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
4618 (__pthread_mutex_unlock_usercnt): Likewise.
4620 2017-08-31 Florian Weimer <fweimer@redhat.com>
4622 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
4623 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
4624 (fts_safe_changedir): Remove internal_function.
4625 * io/ftw.c (internal_function): Remove definition.
4626 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
4628 2017-08-31 Florian Weimer <fweimer@redhat.com>
4630 * inet/deadline.c (__deadline_current_time)
4631 (__deadline_from_timeval, __deadline_to_ms): Remove
4633 * inet/getnameinfo.c (nrl_domainname): Likewise.
4634 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
4635 * inet/inet6_option.c (add_pad): Likewise.
4636 * inet/net-internal.h (__deadline_current_time)
4637 (__deadline_from_timeval, __deadline_to_ms): Likewise.
4638 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
4639 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
4640 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
4642 2017-08-31 Joseph Myers <joseph@codesourcery.com>
4644 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
4645 include <bits/nan.h>.
4646 * math/Makefile (headers): Remove bits/nan.h.
4647 * bits/nan.h: Remove.
4648 * sysdeps/ieee754/bits/nan.h: Likewise.
4649 * sysdeps/mips/bits/nan.h: Likewise.
4651 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
4652 not include <bits/inf.h>.
4653 * math/Makefile (headers): Remove bits/inf.h.
4654 * bits/inf.h: Remove.
4655 * sysdeps/ieee754/bits/inf.h: Likewise.
4657 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
4658 bits/huge_vall.h or bits/huge_val_flt128.h.
4659 (HUGE_VAL): Define directly here.
4660 [__USE_ISOC99] (HUGE_VALF): Likewise.
4661 [__USE_ISOC99] (HUGE_VALL): Likewise.
4662 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4663 (HUGE_VAL_F128): Likewise.
4664 * math/Makefile (headers): Remove bits/huge_val.h,
4665 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
4666 * bits/huge_val.h: Remove.
4667 * bits/huge_val_flt128.h: Likewise.
4668 * bits/huge_valf.h: Likewise.
4669 * bits/huge_vall.h: Likewise.
4670 * sysdeps/ia64/bits/huge_vall.h: Likewise.
4671 * sysdeps/ieee754/bits/huge_val.h: Likewise.
4672 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
4673 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
4674 * sysdeps/sh/bits/huge_val.h: Likewise.
4675 * sysdeps/sparc/bits/huge_vall.h: Likewise.
4676 * sysdeps/x86/bits/huge_vall.h: Likewise.
4678 2017-08-31 Florian Weimer <fweimer@redhat.com>
4680 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
4682 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
4684 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
4685 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4686 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
4687 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
4688 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4689 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4690 * elf/dl-libc.c (dlerror_run): Likewise.
4691 * elf/dl-load.c (add_name_to_object, decompose_rpath)
4692 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
4693 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
4694 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
4696 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
4697 (_dl_higher_prime_number, _dl_strtoul): Likewise.
4698 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
4699 * elf/dl-profile.c (_dl_start_profile): Likewise.
4700 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
4701 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
4703 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
4704 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
4705 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
4706 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
4707 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
4708 (_dl_allocate_tls_storage): Likewise.
4709 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
4710 (_dl_check_all_versions): Likewise.
4711 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
4712 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
4713 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
4714 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
4715 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
4716 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
4717 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
4718 internal_function from __dl_start.
4719 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
4720 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
4721 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
4722 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
4723 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
4724 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
4725 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
4726 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
4727 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
4728 (_dl_next_ld_env_entry, _dl_important_hwcaps)
4729 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
4730 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
4731 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
4732 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
4733 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
4735 (struct rtld_global_ro): Remove internal_function from the
4736 _dl_lookup_symbol_x member.
4737 (_dl_symbol_value): Remove. No longer defined anywhere.
4738 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
4740 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
4741 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4742 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
4743 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
4744 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
4745 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
4746 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
4747 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
4748 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
4749 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
4750 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
4751 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4753 2017-08-31 Florian Weimer <fweimer@redhat.com>
4755 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
4756 Remove internal_function.
4757 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
4759 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
4762 2017-08-31 Florian Weimer <fweimer@redhat.com>
4764 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
4765 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
4766 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
4768 2017-08-31 Florian Weimer <fweimer@redhat.com>
4770 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
4771 (__gai_enqueue_request): Remove internal_function.
4772 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
4773 (__gai_remove_request, __gai_notify, __gai_notify_only)
4774 (__gai_sigqueue): Likewise.
4775 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
4776 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
4777 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
4778 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4781 2017-08-31 Florian Weimer <fweimer@redhat.com>
4783 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
4784 * include/dirent.h (__opendirat, __getdents, __getdents64)
4785 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
4786 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
4787 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
4788 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
4790 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
4792 2017-08-31 Florian Weimer <fweimer@redhat.com>
4794 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
4796 (GETCWD_RETURN_TYPE): Likewise.
4798 2017-08-31 Florian Weimer <fweimer@redhat.com>
4800 * include/time.h (__tz_compute, __strptime_internal): Remove
4802 * time/strptime_l.c (__strptime_internal): Likewise.
4803 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
4805 2017-08-31 Florian Weimer <fweimer@redhat.com>
4807 * iconv/gconv.c (__gconv): Remove internal_function.
4808 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
4809 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
4810 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
4811 (__gconv_release_cache): Likewise.
4812 * iconv/gconv_close.c (__gconv_close): Likewise.
4813 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
4814 (read_conf_file, __gconv_get_path): Likewise.
4815 * iconv/gconv_db.c (derivation_lookup, add_derivation)
4816 (__gconv_release_step, gen_steps, increment_counter)
4817 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
4818 (__gconv_close_transform, free_modules_db): Likewise.
4819 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
4821 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
4822 (__gconv_find_transform, __gconv_lookup_cache)
4823 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
4824 (__gconv_close_transform, __gconv_release_cache)
4825 (__gconv_loaded_object, __gconv_release_shlib)
4826 (__gconv_compare_alias): Likewise.
4827 * iconv/gconv_open.c (__gconv_open): Likewise.
4828 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
4829 * iconv/iconvconfig.c (add_module): Likewise.
4830 * intl/dcigettext.c (plural_lookup, guess_category_value)
4831 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
4832 * intl/eval-plural.h (plural_eval): Likewise.
4833 * intl/finddomain.c (_nl_find_domain): Likewise.
4834 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
4835 (_nl_load_domain, _nl_find_msg): Likewise.
4836 (internal_function): Remove definition.
4837 * intl/loadinfo.h (internal_function): Likewise.
4838 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
4840 * intl/localealias.c (internal_function): Remove definition.
4841 (read_alias_file): Remove internal_function.
4842 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
4843 * intl/plural-exp.h (internal_function): Remove definition.
4844 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
4846 * intl/plural.c: Regenerate.
4847 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
4848 * locale/coll-lookup.c (__collidx_table_lookup)
4849 (__collseq_table_lookup): Likewise.
4850 * locale/coll-lookup.h (__collidx_table_lookup)
4851 (__collseq_table_lookup): Likewise.
4852 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
4853 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4854 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
4855 (_nl_unload_locale): Likewise.
4856 * locale/localeinfo.h (struct __locale_data): Remove
4857 internal_function from cleanup member.
4858 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
4859 (_nl_remove_locale, _nl_load_locale_from_archive)
4860 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
4861 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
4862 (_nl_cleanup_time): Remove internal_function.
4863 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
4864 (_nl_parse_alt_digit): Likewise.
4865 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
4866 (_nl_select_era_entry): Likewise.
4867 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
4868 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
4869 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
4870 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
4871 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
4873 2017-08-31 Florian Weimer <fweimer@redhat.com>
4875 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
4876 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
4877 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
4878 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
4880 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
4881 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
4882 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
4883 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
4885 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
4887 2017-08-31 Florian Weimer <fweimer@redhat.com>
4889 * misc/getttyent.c (skip, value): Remove internal_function.
4890 * misc/syslog.c (openlog_internal): Likewise.
4891 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
4893 2017-08-31 Florian Weimer <fweimer@redhat.com>
4895 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
4896 (__nss_rewrite_field): Remove internal_function.
4897 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4898 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
4899 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4900 * nss/nsswitch.c (nss_parse_file, nss_getline)
4901 (nss_parse_service_list, nss_new_service): Likewise.
4902 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
4903 * nss/valid_field.c (__nss_valid_field): Likewise.
4904 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
4906 2017-08-31 Florian Weimer <fweimer@redhat.com>
4908 * malloc/arena.c (__malloc_fork_lock_parent)
4909 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
4910 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
4911 internal_function from defintions.
4912 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
4913 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
4914 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
4915 internal_function from declarations.
4916 * malloc/malloc.c (internal_function): Do not define.
4917 (mem2mem_check): Remove internal_function from declaration.
4918 (munmap_chunk, mremap_chunk): Remove internal_function.
4919 * malloc/mtrace.c (tr_where): Likewise.
4921 2017-08-31 Florian Weimer <fweimer@redhat.com>
4923 * include/rpc/pmap_clnt.h (__get_socket): Remove
4925 * sunrpc/auth_des.c (synchronize): Likewise.
4926 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
4927 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
4928 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
4929 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
4930 (key_call): Likewise.
4931 * sunrpc/pm_getport.c (__get_socket): Likewise.
4932 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
4933 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
4934 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
4935 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
4936 (invalidate): Likewise.
4937 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
4938 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
4939 (set_input_fragment, get_input_bytes): Likewise.
4941 2017-08-31 Florian Weimer <fweimer@redhat.com>
4943 * malloc/malloc.c (_int_free): Remove locked variable and related
4946 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
4949 * Makerules (build-module-helper-objlist): Filter out
4950 $(elf-objpfx)sofini.os.
4951 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
4954 2017-08-31 Florian Weimer <fweimer@redhat.com>
4956 * libio/fcloseall.c: Assume weak_alias is defined.
4957 * libio/feof.c: Likewise.
4958 * libio/fileno.c: Likewise.
4959 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
4960 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
4962 (_IO_file_open): Call __open directly.
4963 (_IO_new_file_sync): Assume ESPIPE is defined.
4964 (_IO_file_seekoff_maybe_mmap): Call __read directly.
4965 (_IO_new_file_write): Call __write directly.
4966 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
4967 * libio/ftello64.c (__ftello64): Assume EIO is defined.
4968 * libio/genops.c: Assume _LIBC is defined.
4969 (save_for_backup): Remove internal_function.
4970 * libio/getc.c: Assume weak_alias is defined.
4971 * libio/getwc.c: Likewise.
4972 * libio/iofclose.c: Assume _LIBC is defined.
4973 * libio/iofdopen.c: Likewise.
4974 (_IO_fcntl): Remove macro definition.
4975 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
4976 Call __fcntl directly.
4977 * libio/iofflush.c: Assume weak_alias is defined.
4978 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
4980 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
4981 * libio/iofgets.c: Likewise.
4982 * libio/iofopen.c: Assume _LIBC is defined.
4983 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
4984 * libio/iofputs.c: Assume weak_alias is defined.
4985 * libio/iofread.c: Likewise.
4986 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
4987 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
4988 * libio/ioftell.c: Assume weak_alias is defined.
4989 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
4990 * libio/iofwide.c: Assume _LIBC is defined.
4991 (_IO_fwide): Drop SHARED conditional because it is implied by
4993 * libio/iofwrite.c: Assume weak_alias is defined.
4994 * libio/iogetdelim.c: Likewise.
4995 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
4996 * libio/iogetwline.c (wmemcpy): Remove macro definition.
4997 (_IO_getwline): Call __wmemcpy directly.
4998 * libio/iopopen.c: Assume _LIBC is defined.
4999 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
5000 (_IO_close): Remove macro definitions.
5001 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
5003 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
5005 * libio/ioputs.c: Assume weak_alias is defined.
5006 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
5007 * libio/iosetbuffer.c: Assume weak_alias is defined.
5008 * libio/iosetvbuf.c: Likewise.
5009 * libio/ioungetc.c: Likewise.
5010 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
5011 libc_hidden_def, libc_hidden_weak, NULL are defined.
5012 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
5013 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
5015 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
5017 (_IO_old_file_init_internal): Drop SHARED conditional because it
5018 is implied by SHLIB_COMPAT.
5019 (_IO_old_file_fopen): Call __open directly.
5020 (_IO_old_file_sync): Assume ESPIPE is defined.
5021 (_IO_old_file_write): Call __write directly.
5022 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
5023 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
5024 Call __fcntl directly.
5025 * libio/oldiofgetpos.c: Assume weak_alias is defined.
5026 (_IO_old_fgetpos): Assume EIO is defined.
5027 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
5028 (_IO_old_fgetpos64): Assume EIO is defined.
5029 * libio/oldiofsetpos.c: Assume weak_alias is defined.
5030 (_IO_old_fsetpos): Assume EIO is defined.
5031 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
5032 (_IO_old_fsetpos64): Assume EIO is defined.
5033 * libio/oldiopopen.c: Assume _LIBC is defined.
5034 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
5035 (_IO_close): Remove macro definitions.
5036 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
5038 (_IO_old_proc_close): Call __close, __waitpid directly.
5039 * libio/put.c: Assume weak_alias is defined.
5040 * libio/stdfiles.c: Assume _LIBC is defined.
5041 * libio/stdio.c: Likewise.
5042 * libio/wfileops.c: Likewise.
5043 (_IO_wfile_sync): Assume ESPIPE is defined.
5044 * libio/wgenops.c: Assume _LIBC is defined.
5045 (save_for_wbackup): Remove internal_function.
5047 2017-08-31 Florian Weimer <fweimer@redhat.com>
5049 * malloc/malloc.c (top_check): Change return type to void. Remove
5051 * malloc/hooks.c (top_check): Likewise.
5052 (malloc_check, realloc_check, memalign_check): Adjust.
5054 2017-08-30 Joseph Myers <joseph@codesourcery.com>
5057 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
5058 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
5059 sigcontext and namespace requirements.
5060 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
5061 * sysdeps/m68k/sys/ucontext.h: Likewise.
5062 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
5063 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
5064 <bits/sigcontext.h>.
5065 (__ctx): Define earlier.
5066 (mcontext_t): Define structure contents rather than using struct
5068 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
5069 __glibc_reserved1 instead of __reserved.
5070 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
5071 <bits/sigcontext.h>.
5072 (__ctx): Define earlier.
5073 (mcontext_t): Define structure contents rather than using struct
5075 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
5076 mcontext_t instead of struct sigcontext.
5077 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
5078 <bits/sigcontext.h>.
5079 (__ctx): Define earlier.
5080 (mcontext_t): Define structure contents rather than using struct
5082 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
5083 <bits/sigcontext.h>.
5084 (__ctx): Define earlier.
5085 (mcontext_t): Define structure contents rather than using struct
5087 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
5088 mcontext_t instead of struct sigcontext.
5089 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
5090 mcontext_t instead of struct sigcontext.
5091 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
5092 <bits/sigcontext.h>.
5094 (struct __ia64_fpreg_mcontext): New type.
5095 (mcontext_t): Define structure contents rather than using struct
5097 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
5098 (uc_sigmask): Define using __ctx.
5099 (uc_stack): Likewise.
5100 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
5101 <bits/sigcontext.h>.
5102 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5103 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
5104 <bits/sigcontext.h>.
5105 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
5106 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
5107 <bits/sigcontext.h>.
5108 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
5109 <bits/sigcontext.h>.
5110 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
5111 <bits/sigcontext.h>.
5112 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
5113 <bits/sigcontext.h>.
5114 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
5115 <bits/sigcontext.h>.
5116 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
5117 <bits/sigcontext.h>.
5118 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
5119 <bits/sigcontext.h>.
5120 (__ctx): Define earlier.
5121 (mcontext_t): Define structure contents rather than using struct
5123 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
5124 <bits/sigcontext.h>. Include <bits/types.h>.
5125 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
5126 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
5127 (test-xfail-XPG42/ucontext.h/conform): Likewise.
5128 (test-xfail-UNIX98/signal.h/conform): Likewise.
5129 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5130 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5131 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5132 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5133 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5134 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5135 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5136 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5137 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5139 2017-08-30 Florian Weimer <fweimer@redhat.com>
5141 * malloc/dynarray_emplace_enlarge.c
5142 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
5143 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
5144 * malloc/tst-dynarray.c (test_long_overflow): New function.
5147 2017-08-30 Florian Weimer <fweimer@redhat.com>
5149 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
5150 (set_arena_corrupt): Remove definitions.
5151 (mtrim): Do not check for corrupt arena.
5152 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
5155 2017-08-30 Florian Weimer <fweimer@redhat.com>
5158 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
5160 (ptmalloc_init): Do not set or use check_action.
5161 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
5162 call to malloc_printerr. Remove return statement.
5163 (free_check): Likewise. Remove arena unlock.
5164 (top_check): Update comment. Adjust call to malloc_printerr.
5165 Remove heap repair code.
5166 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
5167 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
5168 (sysmalloc): Adjust call to malloc_printerr.
5169 (munmap_chunk, __libc_realloc): Likewise. Remove return
5171 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
5172 Remove errout label and corresponding gotos.
5173 (_int_free): Likewise. Remove arena unlock.
5174 (do_set_mallopt_check): Do not set check_action.
5175 (malloc_printerr): Adjust parameter list. Do not mark arena as
5177 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
5179 * manual/probes.texi (Memory Allocation Probes): Remove
5180 memory_mallopt_check_action.
5182 2017-08-30 Steve Ellcey <sellcey@cavium.com>
5184 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
5185 Use pointer to uint64_t instead of long int for sp.
5187 2017-08-30 Florian Weimer <fweimer@redhat.com>
5190 * malloc/malloc.c (malloc_printerr): Always terminate the process,
5191 without printing a backtrace. Do not leak any information in the
5193 * manual/memory.texi (Heap Consistency Checking): Update.
5194 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
5196 2017-08-30 Florian Weimer <fweimer@redhat.com>
5198 Do not scale NPTL tests with available number of CPUs.
5199 * nptl/tst-cond16.c (count): Set to constant value of 8.
5200 * nptl/tst-cond18.c (count): Likewise.
5202 2017-08-29 Joseph Myers <joseph@codesourcery.com>
5205 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
5206 Define to take a second argument that is a macro that
5207 concatentates a suffix, not the suffix itself.
5208 (__CONCAT_d): New macro.
5209 (__CONCAT_f): Likewise.
5210 (__CONCAT_l): Likewise.
5212 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
5214 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
5217 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5218 Aurelien Jarno <aurelien@aurel32.net>
5219 Maciej W. Rozycki <macro@imgtec.com>
5222 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
5223 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
5224 `mips16-syscall6' and `mips16-syscall7'.
5225 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
5226 (CFLAGS-mips16-syscall7.c): Remove.
5227 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
5228 Remove `__mips16_syscall5', `__mips16_syscall6' and
5229 `__mips16_syscall7'.
5230 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
5231 (__mips16_syscall0): Rename `__mips16_syscall_return' to
5232 `__mips_syscall_return'.
5233 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
5234 (__mips16_syscall1): Likewise.
5235 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
5236 (__mips16_syscall2): Likewise.
5237 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
5238 (__mips16_syscall3): Likewise.
5239 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
5240 (__mips16_syscall4): Likewise.
5241 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
5243 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
5245 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
5247 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
5248 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
5249 `__mips16_syscall5'. Remove prototype.
5250 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
5251 `__mips16_syscall6'. Remove prototype.
5252 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
5253 `__mips16_syscall7'. Remove prototype.
5254 (__nomips16, __mips16_syscall_return): Move to...
5255 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
5256 (__nomips16, __mips_syscall_return): ... here.
5257 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
5258 `__mips16_syscall_return' to `__mips_syscall_return'.
5259 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
5260 `internal_syscall##nr'.
5261 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
5262 `internal_syscall##nr'.
5263 (FORCE_FRAME_POINTER): Remove.
5264 (__mips_syscall5): New prototype.
5265 (internal_syscall5): Rewrite to call `__mips_syscall5'.
5266 (__mips_syscall6): New prototype.
5267 (internal_syscall6): Rewrite to call `__mips_syscall6'.
5268 (__mips_syscall7): New prototype.
5269 (internal_syscall7): Rewrite to call `__mips_syscall7'.
5270 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
5271 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
5272 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
5273 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
5274 (sysdep_routines): Add libc-do-syscall.
5275 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
5276 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
5278 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5281 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
5282 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
5283 (advise_stack_range): New function.
5284 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
5285 stack non required to advise_stack_range at allocatestack.c
5287 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
5289 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
5291 2017-08-29 Florian Weimer <fweimer@redhat.com>
5294 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
5295 __end_fct. Mangle __end_fct after setting it to NULL.
5296 * iconv/Makefile (tests): Add tst-gconv-init-failure.
5297 (modules-names, modules-names-tests): Add
5298 tst-gconv-init-failure-mod.
5299 (gconv-modules): New target.
5300 (tst-gconv-init-failure-mod.so): Link against libsupport.
5301 (tst-gconv-init-failure): Depend on gconv-modules,
5302 tst-gconv-init-failure-mod.so.
5303 * iconv/tst-gconv-init-failure-mod.c: New file.
5304 * iconv/tst-gconv-init-failure.c: Likewise.
5305 * iconv/test-gconv-modules: Likewise.
5307 2017-08-29 Florian Weimer <fweimer@redhat.com>
5310 * iconv/gconv_db.c (free_derivation): Remove redundant
5312 (gen_steps): Unconditionally mangle __btowc_fct after
5314 (increment_counter): Likewise. Do not call init_fct for internal
5317 2017-08-29 Joseph Myers <joseph@codesourcery.com>
5320 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
5321 (_MSUF_): Remove macro.
5322 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
5324 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
5325 (__REDIRFROM_X): New macro.
5326 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
5328 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
5329 (__REDIRTO_X): Likewise.
5330 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
5332 (__MATH_REDIRCALL_2): Likewise.
5333 (__MATH_REDIRCALL_INTERNAL): Likewise.
5334 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
5335 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
5336 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
5337 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
5338 * math/test-finite-macros.c: New file.
5339 * math/Makefile (tests): Add test-finite-macros.
5340 (CFLAGS-test-finite-macros.c): New variable.
5342 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
5343 Jeff Law <law@redhat.com>
5346 Mangle NULL pointers in iconv/gconv.
5347 * iconv/gconv_cache.c (find_module): Demangle init_fct before
5348 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
5349 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
5350 is non-NULL before demangling the end_fct. Check for NULL
5351 end_fct after demangling.
5352 (__gconv_release_step): Demangle the end_fct before checking
5353 it for NULL. Remove assert on __shlibc_handle != NULL.
5354 (gen_steps): Don't check btowc_fct for NULL before mangling.
5355 Demangle init_fct before checking for NULL.
5356 (increment_counter): Likewise.
5357 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
5358 end_fct for NULL before mangling.
5359 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
5362 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
5365 * locale/iso-639.def: add Morisyen.
5367 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5370 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
5371 (iszero): New C++ implementation that does not use
5372 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
5373 signaling nans are enabled, since __builtin_types_compatible_p
5374 is a C-only feature.
5375 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
5376 defined, include ieee754_float128.h for access to the union and
5377 member ieee854_float128.ieee.
5378 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
5379 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
5380 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
5381 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
5382 options of test-math-zero on powerpc64le.
5384 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
5386 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
5387 Change double to float.
5389 2017-08-28 Joseph Myers <joseph@codesourcery.com>
5391 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
5393 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
5394 conditional code; define contents only for [LIBM_SVID_COMPAT].
5396 2017-08-28 Florian Weimer <fweimer@redhat.com>
5398 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
5399 (abi-lp64_be-options): Remove.
5400 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
5401 (abi-hard-options): Likewise.
5402 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
5403 (abi-o32_hard-options, abi-o32_soft_2008-options)
5404 (abi-o32_hard_2008-options, abi-n32_soft-options)
5405 (abi-n32_hard-options, abi-n32_soft_2008-options)
5406 (abi-n32_hard_2008-options, abi-n64_soft-options)
5407 (abi-n64_hard-options, abi-n64_soft_2008-options)
5408 (abi-n64_hard_2008-options): Likewise.
5409 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
5410 (abi-64-v1-options, abi-64-v2-options): Likewise.
5411 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
5412 (abi-64-options): Likewise.
5413 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
5414 (abi-64-options): Likewise.
5415 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
5416 (abi-64-options): Likewise.
5417 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
5418 (abi-64-options, abi-x32-options): Likewise.
5420 2017-08-28 Florian Weimer <fweimer@redhat.com>
5422 Store supported list of SYS_* system calls in the source tree.
5423 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5424 (bits/syscall.h): Generate from list file.
5425 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
5426 [$(subdir) = misc] (tests): Add tst-syscall-list.
5427 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
5428 [$(subdir) = misc] (tst-syscall-list-macros.list)
5429 [$(subdir) = misc] (tst-syscall-list-nr.list)
5430 (tst-syscall-list-sys.list): Helper targets for new
5431 tst-syscall-list test.
5432 [$(subdir) = misc] (tst-syscall-list.out): Run test script
5433 tst-syscall-list.sh.
5434 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
5435 target. Do not include bits/syscall.d.
5436 [$(subdir) = misc] (generated): Do not update.
5437 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
5438 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
5439 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
5440 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
5442 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5444 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
5445 (tst-cxa_atexit, tst-on_exit): Likewise.
5446 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
5447 tst-cxa_atexit, and tst-on_exit.
5448 * stdlib/tst-atexit-common.c: New file.
5449 * stdlib/tst-atexit.c: New file.
5450 * stdlib/tst-at_quick_exit.c: New file.
5451 * stdlib/tst-cxa_atexit.c: New file.
5452 * stdlib/tst-on_exit.c: New file.
5454 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5456 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
5457 * mach/stack_chk_fail_local.c: New file.
5458 * hurd/stack_chk_fail_local.c: New file.
5459 * mach/Machrules ($(interface-library)-routines): Add
5460 stack_chk_fail_local.
5461 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
5462 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
5463 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
5464 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
5465 * hurd/Makefile (CFLAGS-hurdstartup.o,
5466 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
5468 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
5470 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
5471 (index_cpu_*, index_arch_*): Removed.
5473 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5475 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
5476 Use uint64_t instead of unsigned long.
5478 2017-08-25 Joseph Myers <joseph@codesourcery.com>
5480 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
5481 [__HAVE_DISTINCT_FLOAT128].
5483 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
5484 of <bits/math-finite.h>.
5485 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
5486 inclusion of <bits/math-finite.h>.
5487 * math/bits/math-finite.h (__REDIRTO_X): Do not define
5488 conditionally on [__MATH_DECLARING_LDOUBLE && defined
5489 __NO_LONG_DOUBLE_MATH].
5490 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
5491 (__MATH_REDIRCALL_2): Likewise.
5492 (__MATH_REDIRCALL_INTERNAL): Likewise.
5493 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
5494 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
5495 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
5497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
5499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
5501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
5503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
5505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
5507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
5509 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5510 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5511 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5512 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
5514 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
5515 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
5516 w_sqrtf_compat-ppc32.
5518 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5520 * math/math.h [defined __cplusplus] (issignaling): In the long
5521 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
5522 is not defined. Call __issignaling, otherwise.
5524 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5526 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
5527 syscall definitions and replace __builtin_expect with __glibc_likely.
5528 * sysdeps/unix/syscall-template.S: Update comment about cancellable
5530 (SYSCALL_CANCELLABLE): Removedefinition
5531 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
5533 (PSEUDO_END): Likewise.
5534 [IS_IN (libpthread)] (CENABLE): Likewise.
5535 [IS_IN (libpthread)] (CDISABLE): Likewise.
5536 [IS_IN (libc)] (CENABLE): Likewise.
5537 [IS_IN (libc)] (CENABLE): Likewise.
5538 [IS_IN (librt)] (CDISABLE): Likewise.
5539 [IS_IN (librt)] (CDISABLE): Likewise.
5540 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5541 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
5543 (PSEUDO_END): Likewise.
5544 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
5545 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
5546 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
5547 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
5548 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
5549 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
5550 (CENABLE): Likewise.
5551 (CDISABLE): Likewise.
5552 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5553 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
5555 (PSEUDO_END): Likewise.
5556 [IS_IN (libpthread)] (CENABLE): Likewise.
5557 [IS_IN (libpthread)] (CDISABLE): Likewise.
5558 [IS_IN (libc)] (CENABLE): Likewise.
5559 [IS_IN (libc)] (CENABLE): Likewise.
5560 [IS_IN (librt)] (CDISABLE): Likewise.
5561 [IS_IN (librt)] (CDISABLE): Likewise.
5562 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5563 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
5565 (PSEUDO_END): Likewise.
5566 [IS_IN (libpthread)] (CENABLE): Likewise.
5567 [IS_IN (libpthread)] (CDISABLE): Likewise.
5568 [IS_IN (libc)] (CENABLE): Likewise.
5569 [IS_IN (libc)] (CENABLE): Likewise.
5570 [IS_IN (librt)] (CDISABLE): Likewise.
5571 [IS_IN (librt)] (CDISABLE): Likewise.
5572 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5573 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
5575 (PSEUDO_END): Likewise.
5576 [IS_IN (libpthread)] (CENABLE): Likewise.
5577 [IS_IN (libpthread)] (CDISABLE): Likewise.
5578 [IS_IN (libc)] (CENABLE): Likewise.
5579 [IS_IN (libc)] (CENABLE): Likewise.
5580 [IS_IN (librt)] (CDISABLE): Likewise.
5581 [IS_IN (librt)] (CDISABLE): Likewise.
5582 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5583 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
5585 (PSEUDO_END): Likewise.
5586 [IS_IN (libpthread)] (CENABLE): Likewise.
5587 [IS_IN (libpthread)] (CDISABLE): Likewise.
5588 [IS_IN (libc)] (CENABLE): Likewise.
5589 [IS_IN (libc)] (CENABLE): Likewise.
5590 [IS_IN (librt)] (CDISABLE): Likewise.
5591 [IS_IN (librt)] (CDISABLE): Likewise.
5592 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5593 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
5595 (PSEUDO_END): Likewise.
5596 [IS_IN (libpthread)] (CENABLE): Likewise.
5597 [IS_IN (libpthread)] (CDISABLE): Likewise.
5598 [IS_IN (libc)] (CENABLE): Likewise.
5599 [IS_IN (libc)] (CENABLE): Likewise.
5600 [IS_IN (librt)] (CDISABLE): Likewise.
5601 [IS_IN (librt)] (CDISABLE): Likewise.
5602 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5603 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
5605 (PSEUDO_END): Likewise.
5606 [IS_IN (libpthread)] (CENABLE): Likewise.
5607 [IS_IN (libpthread)] (CDISABLE): Likewise.
5608 [IS_IN (libc)] (CENABLE): Likewise.
5609 [IS_IN (libc)] (CENABLE): Likewise.
5610 [IS_IN (librt)] (CDISABLE): Likewise.
5611 [IS_IN (librt)] (CDISABLE): Likewise.
5612 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5613 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
5615 (PSEUDO_END): Likewise.
5616 [IS_IN (libpthread)] (CENABLE): Likewise.
5617 [IS_IN (libpthread)] (CDISABLE): Likewise.
5618 [IS_IN (libc)] (CENABLE): Likewise.
5619 [IS_IN (libc)] (CENABLE): Likewise.
5620 [IS_IN (librt)] (CDISABLE): Likewise.
5621 [IS_IN (librt)] (CDISABLE): Likewise.
5622 (SINGLE_THREAD_P): Likewise.
5623 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
5625 (PSEUDO_END): Likewise.
5626 [IS_IN (libpthread)] (CENABLE): Likewise.
5627 [IS_IN (libpthread)] (CDISABLE): Likewise.
5628 [IS_IN (libc)] (CENABLE): Likewise.
5629 [IS_IN (libc)] (CENABLE): Likewise.
5630 [IS_IN (librt)] (CDISABLE): Likewise.
5631 [IS_IN (librt)] (CDISABLE): Likewise.
5632 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5633 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
5635 (PSEUDO_END): Likewise.
5636 [IS_IN (libpthread)] (CENABLE): Likewise.
5637 [IS_IN (libpthread)] (CDISABLE): Likewise.
5638 [IS_IN (libc)] (CENABLE): Likewise.
5639 [IS_IN (libc)] (CENABLE): Likewise.
5640 [IS_IN (librt)] (CDISABLE): Likewise.
5641 [IS_IN (librt)] (CDISABLE): Likewise.
5642 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5643 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
5644 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5645 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
5646 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
5648 (PSEUDO_END): Likewise.
5649 [IS_IN (libpthread)] (CENABLE): Likewise.
5650 [IS_IN (libpthread)] (CDISABLE): Likewise.
5651 [IS_IN (libc)] (CENABLE): Likewise.
5652 [IS_IN (libc)] (CENABLE): Likewise.
5653 [IS_IN (librt)] (CDISABLE): Likewise.
5654 [IS_IN (librt)] (CDISABLE): Likewise.
5655 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5656 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
5658 (PSEUDO_END): Likewise.
5659 [IS_IN (libpthread)] (CENABLE): Likewise.
5660 [IS_IN (libpthread)] (CDISABLE): Likewise.
5661 [IS_IN (libc)] (CENABLE): Likewise.
5662 [IS_IN (libc)] (CENABLE): Likewise.
5663 [IS_IN (librt)] (CDISABLE): Likewise.
5664 [IS_IN (librt)] (CDISABLE): Likewise.
5665 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5666 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
5668 (PSEUDO_END): Likewise.
5669 [IS_IN (libpthread)] (CENABLE): Likewise.
5670 [IS_IN (libpthread)] (CDISABLE): Likewise.
5671 [IS_IN (libc)] (CENABLE): Likewise.
5672 [IS_IN (libc)] (CENABLE): Likewise.
5673 [IS_IN (librt)] (CDISABLE): Likewise.
5674 [IS_IN (librt)] (CDISABLE): Likewise.
5675 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5676 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
5677 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5678 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
5679 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
5681 (PSEUDO_END): Likewise.
5682 [IS_IN (libpthread)] (CENABLE): Likewise.
5683 [IS_IN (libpthread)] (CDISABLE): Likewise.
5684 [IS_IN (libc)] (CENABLE): Likewise.
5685 [IS_IN (libc)] (CENABLE): Likewise.
5686 [IS_IN (librt)] (CDISABLE): Likewise.
5687 [IS_IN (librt)] (CDISABLE): Likewise.
5688 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5689 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
5691 (PSEUDO_END): Likewise.
5692 [IS_IN (libpthread)] (CENABLE): Likewise.
5693 [IS_IN (libpthread)] (CDISABLE): Likewise.
5694 [IS_IN (libc)] (CENABLE): Likewise.
5695 [IS_IN (libc)] (CENABLE): Likewise.
5696 [IS_IN (librt)] (CDISABLE): Likewise.
5697 [IS_IN (librt)] (CDISABLE): Likewise.
5698 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5700 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
5702 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
5704 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
5706 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5708 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
5711 * string/stratcliff.c (do_test): Declare size, nchars, inner,
5712 middle and outer with size_t instead of int. Repleace %d and
5713 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
5714 "MAX (outer, nchars - 64)" to support unsigned outer and
5715 nchars. Also exit loop when outer == 0.
5717 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5719 * include/fcntl.h (__fcntl_nocancel): Remove definition.
5720 * include/signal.h (__sigsuspend_nocancel): Likewise.
5721 * include/time.h (__nanosleep_nocancel): Likewise.
5722 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
5723 * login/utmp_file.c: Include non cancellable syscall header.
5724 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
5727 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
5729 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
5730 .byte sequences with AVX512F instructions.
5731 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
5732 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
5733 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
5734 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
5736 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
5739 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
5740 Steve Ellcey <sellcey@cavium.com>
5742 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
5743 Use PTR_REG macro in cmp instruction.
5745 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5747 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
5748 Change the return type of the ifunc resolver to match the return
5749 type of the target function.
5751 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5753 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
5754 (preadv64): Likewise.
5755 (pwrite64(: Likewise.
5756 (pwritev64): Likewise.
5758 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5759 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
5760 (LOAD_ARGS_0): Likewise.
5761 (LOAD_ARGS_1): Likewise.
5762 (LOAD_ARGS_2): Likewise.
5763 (LOAD_ARGS_3): Likewise.
5764 (LOAD_ARGS_4): Likewise.
5765 (LOAD_ARGS_5): Likewise.
5766 (LOAD_ARGS_6): Likewise.
5767 (LOAD_REGS_0): Likewise.
5768 (LOAD_REGS_1): Likewise.
5769 (LOAD_REGS_2): Likewise.
5770 (LOAD_REGS_3): Likewise.
5771 (LOAD_REGS_4): Likewise.
5772 (LOAD_REGS_5): Likewise.
5773 (LOAD_REGS_6): Likewise.
5774 (ASM_ARGS_0): Likewise.
5775 (ASM_ARGS_1): Likewise.
5776 (ASM_ARGS_2): Likewise.
5777 (ASM_ARGS_3): Likewise.
5778 (ASM_ARGS_4): Likewise.
5779 (ASM_ARGS_5): Likewise.
5780 (ASM_ARGS_6): Likewise.
5781 (LOAD_ARGS_TYPES_1): Likewise.
5782 (LOAD_ARGS_TYPES_2): Likewise.
5783 (LOAD_ARGS_TYPES_3): Likewise.
5784 (LOAD_ARGS_TYPES_4): Likewise.
5785 (LOAD_ARGS_TYPES_5): Likewise.
5786 (LOAD_ARGS_TYPES_6): Likewise.
5787 (LOAD_REGS_TYPES_1): Likewise.
5788 (LOAD_REGS_TYPES_2): Likewise.
5789 (LOAD_REGS_TYPES_3): Likewise.
5790 (LOAD_REGS_TYPES_4): Likewise.
5791 (LOAD_REGS_TYPES_5): Likewise.
5792 (LOAD_REGS_TYPES_6): Likewise.
5793 (TYPEFY): New define.
5795 (internal_syscall0): Likewise.
5796 (internal_syscall1): Likewise.
5797 (internal_syscall2): Likewise.
5798 (internal_syscall3): Likewise.
5799 (internal_syscall4): Likewise.
5800 (internal_syscall5): Likewise.
5801 (internal_syscall6): Likewise.
5802 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
5803 (INTERNAL_SYSCALL_NCS): Remove define.
5804 (internal_syscall1): Add define.
5806 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5808 * math/w_remainder_compat.c: Remove duplicate inclusion of
5810 * math/w_remainderf_compat.c: Likewise.
5811 * math/w_remainderl_compat.c: Likewise.
5813 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5817 2017-08-22 Joseph Myers <joseph@codesourcery.com>
5820 * math/tgmath.h (__floating_type): Simplify definitions.
5821 (__real_integer_type): New macro.
5822 (__complex_integer_type): Likewise.
5823 (__expr_is_real): Likewise.
5824 (__tgmath_real_type_sub): Update comment to describe handling of
5826 (__tgmath_complex_type_sub): New macro.
5827 (__tgmath_complex_type): Likewise.
5828 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5829 (__TGMATH_CF128): Use __expr_is_real.
5830 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
5832 (__TGMATH_BINARY_REAL_IMAG): Likewise.
5833 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
5834 * math/gen-tgmath-tests.py (Type.create_type): Create complex
5837 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5839 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
5841 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
5843 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
5846 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
5847 nanosleep_not_cancel with __nanosleep_nocancel.
5848 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
5849 (__nanosleep_nocancel): New macro.
5850 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
5852 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
5854 (__nanosleep_nocancel): New prototype.
5856 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
5857 pause_not_cancel with __pause_nocancel.
5858 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
5859 (__pause_nocancel): New macro.
5860 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
5862 (__pause_nocancel): New prototype.
5863 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
5865 2017-08-22 Martin Sebor <msebor@redhat.com>
5867 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
5868 to return a pointer to the same type as the target function.
5870 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
5874 * include/printf.h (__printf_fphex): Add attribute_hidden.
5875 (__guess_grouping): New prototype.
5876 * stdio-common/printf_fp.c (__guess_grouping): Removed.
5877 * stdio-common/reg-printf.c (__register_printf_specifier): Add
5878 libc_hidden_proto and libc_hidden_def.
5879 * stdlib/strfmon_l.c (__guess_grouping): Removed.
5880 (__vstrfmon_l): Remove the third argument passed to
5883 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5885 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
5886 definition for issignaling that does not rely on __MATH_TG,
5887 since __MATH_TG uses __builtin_types_compatible_p, which is only
5888 available in C mode.
5889 (CFLAGS-test-math-issignaling.cc): New variable.
5890 * math/Makefile [CXX] (tests): Add test-math-issignaling.
5891 * math/test-math-issignaling.cc: New test for C++ implementation
5892 of type-generic issignaling.
5893 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
5894 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
5895 options of test-math-issignaling on powerpc64le.
5897 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
5899 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
5901 (hidden_proto): Likewise.
5902 (hidden_tls_proto): Likewise.
5903 (__hidden_proto): Likewise.
5905 2017-08-22 Florian Weimer <fweimer@redhat.com>
5907 math: Statically link tests of internal functionality.
5908 * math/Makefile (tests): Remove atest-exp, atest-sincos,
5910 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
5911 (gmp-objs): Remove assignment.
5912 (atest-exp, atest-sincos, atest-exp2): Remove targets.
5914 2017-08-22 Joseph Myers <joseph@codesourcery.com>
5917 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
5919 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
5921 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
5924 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
5925 variable definitions above inclusion of ../Rules.
5927 2017-08-21 Joseph Myers <joseph@codesourcery.com>
5929 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
5930 case calling __builtin_unreachable.
5932 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5934 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
5936 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
5937 (__waitpid_nocancel): New macro.
5938 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
5940 (__waitpid_nocancel): Replace macro with a function.
5941 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
5944 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
5946 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
5947 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
5949 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
5950 __writev_nocancel_nostatus.
5951 (write_call_graph): Likewise.
5952 (write_bb_counts): Likewise.
5953 * resolv/herror.c (herror): Likewise.
5954 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
5956 (__writev_nocancel_nostatus): New macro.
5957 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
5959 (__writev_nocancel_nostatus): New function.
5961 2017-08-21 Joseph Myers <joseph@codesourcery.com>
5964 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5966 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
5968 (hidden_proto): Likewise.
5969 (hidden_tls_proto): Likewise.
5970 (__hidden_proto): Likewise.
5973 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
5974 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
5975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
5977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
5979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
5981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
5983 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
5984 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
5985 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
5986 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
5987 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5988 GLIBC_2.0 sqrtl symbol.
5990 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
5991 [__USE_MISC] (_LIB_VERSION): Likewise.
5992 [__USE_MISC] (struct exception): Likewise.
5993 [__USE_MISC] (matherr): Likewise.
5994 [__USE_MISC] (DOMAIN): Likewise.
5995 [__USE_MISC] (SING): Likewise.
5996 [__USE_MISC] (OVERFLOW): Likewise.
5997 [__USE_MISC] (UNDERFLOW): Likewise.
5998 [__USE_MISC] (TLOSS): Likewise.
5999 [__USE_MISC] (PLOSS): Likewise.
6000 [__USE_MISC] (HUGE): Likewise.
6001 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
6002 * math/math-svid-compat.h: New file.
6003 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
6005 * include/math.h [!_ISOMAC] (__matherr): Remove.
6006 * manual/arith.texi (FP Exceptions): Do not document matherr.
6007 * math/Makefile (tests): Change test-matherr to test-matherr-3.
6008 (tests-internal): New variable.
6009 (install-lib): Do not add libieee.a.
6010 (non-lib.a): Likewise.
6011 (extra-objs): Do not add libieee.a and ieee-math.o.
6012 (CPPFLAGS-s_lib_version.c): Remove variable.
6013 ($(objpfx)libieee.a): Remove rule.
6014 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
6015 * math/ieee-math.c: Remove.
6016 * math/libm-test-support.c (matherr): Remove.
6017 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
6018 and license notices. Include <math-svid-compat.h> and
6020 (matherr): Undefine as macro. Use compat_symbol_reference.
6021 (_LIB_VERSION): Likewise.
6022 * math/test-matherr-2.c: New file.
6023 * math/test-matherr-3.c: Likewise.
6024 * sysdeps/generic/math_private.h (__kernel_standard): Remove
6026 (__kernel_standard_f): Likewise.
6027 (__kernel_standard_l): Likewise.
6028 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
6029 <math_private.h>. Include <math-svid-compat.h>.
6030 (_LIB_VERSION): Undefine as macro.
6031 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
6032 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
6033 [LIBM_SVID_COMPAT], use compat_symbol.
6034 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
6035 <math_private.h>. Include <math-svid-compat.h>.
6036 (matherr): Undefine as macro.
6037 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
6039 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
6040 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
6041 compat_symbol_reference.
6042 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
6043 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
6044 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
6045 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
6046 (MATHERR_D): Remove declaration.
6047 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
6048 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
6049 [LIBM_BUILD] (pmatherrf): Likewise.
6050 [LIBM_BUILD] (pmatherr): Likewise.
6051 [LIBM_BUILD] (pmatherrl): Likewise.
6054 (OVERFLOW): Likewise.
6055 (UNDERFLOW): Likewise.
6058 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
6059 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
6061 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
6062 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
6064 * math/lgamma-compat.h: Include <math-svid-compat.h>.
6065 * math/w_acos_compat.c: Likewise.
6066 * math/w_acosf_compat.c: Likewise.
6067 * math/w_acosh_compat.c: Likewise.
6068 * math/w_acoshf_compat.c: Likewise.
6069 * math/w_acoshl_compat.c: Likewise.
6070 * math/w_acosl_compat.c: Likewise.
6071 * math/w_asin_compat.c: Likewise.
6072 * math/w_asinf_compat.c: Likewise.
6073 * math/w_asinl_compat.c: Likewise.
6074 * math/w_atan2_compat.c: Likewise.
6075 * math/w_atan2f_compat.c: Likewise.
6076 * math/w_atan2l_compat.c: Likewise.
6077 * math/w_atanh_compat.c: Likewise.
6078 * math/w_atanhf_compat.c: Likewise.
6079 * math/w_atanhl_compat.c: Likewise.
6080 * math/w_cosh_compat.c: Likewise.
6081 * math/w_coshf_compat.c: Likewise.
6082 * math/w_coshl_compat.c: Likewise.
6083 * math/w_exp10_compat.c: Likewise.
6084 * math/w_exp10f_compat.c: Likewise.
6085 * math/w_exp10l_compat.c: Likewise.
6086 * math/w_exp2_compat.c: Likewise.
6087 * math/w_exp2f_compat.c: Likewise.
6088 * math/w_exp2l_compat.c: Likewise.
6089 * math/w_fmod_compat.c: Likewise.
6090 * math/w_fmodf_compat.c: Likewise.
6091 * math/w_fmodl_compat.c: Likewise.
6092 * math/w_hypot_compat.c: Likewise.
6093 * math/w_hypotf_compat.c: Likewise.
6094 * math/w_hypotl_compat.c: Likewise.
6095 * math/w_j0_compat.c: Likewise.
6096 * math/w_j0f_compat.c: Likewise.
6097 * math/w_j0l_compat.c: Likewise.
6098 * math/w_j1_compat.c: Likewise.
6099 * math/w_j1f_compat.c: Likewise.
6100 * math/w_j1l_compat.c: Likewise.
6101 * math/w_jn_compat.c: Likewise.
6102 * math/w_jnf_compat.c: Likewise.
6103 * math/w_jnl_compat.c: Likewise.
6104 * math/w_lgamma_main.c: Likewise.
6105 * math/w_lgamma_r_compat.c: Likewise.
6106 * math/w_lgammaf_main.c: Likewise.
6107 * math/w_lgammaf_r_compat.c: Likewise.
6108 * math/w_lgammal_main.c: Likewise.
6109 * math/w_lgammal_r_compat.c: Likewise.
6110 * math/w_log10_compat.c: Likewise.
6111 * math/w_log10f_compat.c: Likewise.
6112 * math/w_log10l_compat.c: Likewise.
6113 * math/w_log2_compat.c: Likewise.
6114 * math/w_log2f_compat.c: Likewise.
6115 * math/w_log2l_compat.c: Likewise.
6116 * math/w_log_compat.c: Likewise.
6117 * math/w_logf_compat.c: Likewise.
6118 * math/w_logl_compat.c: Likewise.
6119 * math/w_pow_compat.c: Likewise.
6120 * math/w_powf_compat.c: Likewise.
6121 * math/w_powl_compat.c: Likewise.
6122 * math/w_remainder_compat.c: Likewise.
6123 * math/w_remainderf_compat.c: Likewise.
6124 * math/w_remainderl_compat.c: Likewise.
6125 * math/w_scalb_compat.c: Likewise.
6126 * math/w_scalbf_compat.c: Likewise.
6127 * math/w_scalbl_compat.c: Likewise.
6128 * math/w_sinh_compat.c: Likewise.
6129 * math/w_sinhf_compat.c: Likewise.
6130 * math/w_sinhl_compat.c: Likewise.
6131 * math/w_sqrt_compat.c: Likewise.
6132 * math/w_sqrtf_compat.c: Likewise.
6133 * math/w_sqrtl_compat.c: Likewise.
6134 * math/w_tgamma_compat.c: Likewise.
6135 * math/w_tgammaf_compat.c: Likewise.
6136 * math/w_tgammal_compat.c: Likewise.
6137 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
6138 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
6139 * sysdeps/ieee754/k_standard.c: Likewise.
6140 * sysdeps/ieee754/k_standardf.c: Likewise.
6141 * sysdeps/ieee754/k_standardl.c: Likewise.
6142 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
6143 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
6144 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
6145 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
6146 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
6147 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
6148 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
6149 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
6150 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
6151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
6153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
6155 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
6156 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
6157 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
6158 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
6160 2017-08-21 Florian Weimer <fweimer@redhat.com>
6163 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
6164 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
6165 Move before inclusion of ../Rules.
6167 2017-08-21 Florian Weimer <fweimer@redhat.com>
6170 * assert/assert.h (assert): Use static_cast (bool) for C++.
6171 Use the ternary operator in the warning branch for GNU C.
6172 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
6173 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
6174 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
6175 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
6176 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
6178 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6181 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6182 (__syscall_clock_gettime): Add attribute_hidden.
6183 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
6184 (__start_context): Likewise.
6186 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6188 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
6190 (hidden_proto): Likewise.
6191 (hidden_tls_proto): Likewise.
6192 (__hidden_proto): Likewise.
6194 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6196 * include/libc-symbols.h (attribute_hidden): Enable hidden
6197 visibility in libc.a compiled with PIE.
6199 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6202 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
6203 Add attribute_hidden.
6205 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6208 * Makerules (all-nonlib): Add $(others-extras).
6209 * catgets/Makefile (others-extras): New.
6210 * elf/Makefile (others-extras): Likewise.
6211 * nss/Makefile (others-extras): Likewise.
6213 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6216 * csu/libc-start.c (__libc_multiple_libcs): Removed.
6217 * elf/dl-open.c: Include <libc-internal.h>.
6218 (__libc_multiple_libcs): Removed.
6219 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
6221 * include/libc-internal.h (__libc_multiple_libcs): New.
6222 * misc/sbrk.c: Include <libc-internal.h>.
6223 (__libc_multiple_libcs): Removed.
6225 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6228 * grp/initgroups.c (__nss_group_database): Removed.
6229 (__nss_initgroups_database): Likewise.
6230 * nscd/gai.c (__nss_hosts_database): Likewise.
6231 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
6232 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
6233 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
6234 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
6235 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
6236 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
6238 * nss/nsswitch.c (__nss_database_custom): Define only if
6239 USE_NSCD is defined.
6240 (__nss_configure_lookup): Use __nss_database_custom only if
6241 USE_NSCD is defined.
6242 * nss/nsswitch.h (__nss_database_custom): Declare only if
6243 USE_NSCD is defined. Add attribute_hidden.
6244 (__nss_setent): Add attribute_hidden.
6245 (__nss_endent): Likewise.
6246 (__nss_getent_r): Likewise.
6247 (__nss_getent): Likewise.
6248 (DEFINE_DATABASE): Declare __nss_##arg##_database.
6250 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6253 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
6254 libc_hidden_proto and libc_hidden_def.
6256 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6259 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
6260 Add libc_hidden_proto.
6261 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
6262 Add libc_hidden_def.
6264 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6267 * gmon/Makefile (routines): Remove bb_init_func and
6269 (elide-routines.os): Removed.
6270 * gmon/bb_exit_func.c: Likewise.
6271 * gmon/bb_init_func.c: Likewise.
6272 * include/sys/gmon.h (__bb): Likewise.
6273 (__bb_init_func): Likewise.
6274 (__bb_exit_func): Likewise.
6275 * sysdeps/alpha/bb_init_func.S: Likewise.
6277 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6279 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
6280 * include/setjmp.h (____longjmp_chk): Here. Add
6283 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
6286 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
6288 (__strspn_sse2): Likewise.
6290 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6292 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
6293 (close_not_cancel_no_status): Likewise.
6294 (__close_nocancel): New macro.
6295 (__close_nocancel_nostatus): Likewise.
6296 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
6298 (close_not_cancel): Likewise.
6299 (close_not_cancel_no_status): Likewise.
6300 (__close_nocancel): New prototype.
6301 (__close_nocancel_nostatus): New function.
6302 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
6303 * catgets/open_catalog.c (__open_catalog): Replace
6304 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
6305 * gmon/gmon.c (write_gmon): Likewise.
6306 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6307 * intl/loadmsgcat.c (close): Likewise.
6308 * io/ftw.c (open_dir_stream): Likewise.
6309 (ftw_startup): Likewise.
6310 * libio/fileops.c (_IO_file_open): Likewise.
6311 (_IO_file_close_mmap): Likewise.
6312 (_IO_file_close): Likewise.
6313 * libio/iopopen.c (_IO_dup2): Likewise.
6314 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6315 * locale/loadlocale.c (_nl_load_locale): Likewise.
6316 * login/utmp_file.c (pututline_file): Likewise.
6317 (endutent_file): Likewise.
6318 * misc/daemon.c (daemon): Likewise.
6319 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6320 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6321 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
6322 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6323 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6324 * nscd/nscd_helper.c (open_socket): Likewise.
6325 (__nscd_open_socket): Likewise.
6326 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6327 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
6328 (__nscd_innetgr): Likewise.
6329 * nss/nss_db/db-open.c (internal_setent): Likewise.
6330 * resolv/res-close.c (__res_iclose): Likewise.
6331 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
6332 * sysdeps/posix/closedir.c (__closedir): Likewise.
6333 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
6334 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6335 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
6336 (opendir_tail): Likewise.
6337 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6338 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
6339 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6340 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6341 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6342 (gethostid): Likewise.
6343 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6344 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6346 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6347 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
6348 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6349 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6351 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
6352 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
6353 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6355 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
6356 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6358 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6360 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6361 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6362 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6365 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
6366 (openat_not_cancel_3): Likewise.
6367 (openat64_not_cancel_3): Likewise).
6368 (openat_not_cancel_3): Likewise).
6369 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
6371 (openat_not_cancel_3): Likewise.
6372 (openat64_not_cancel): Likewise.
6373 (openat64_not_cancel_3): Likewise.
6374 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
6375 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
6376 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
6377 __open{64}_nocancel.
6378 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
6379 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6380 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6382 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6385 * include/argz.h (__argz_create_sep): New function prototype.
6386 (__argz_append): Likewise.
6387 (__argz_add): Likewise.
6388 (__argz_add_sep): Likewise.
6389 (__argz_delete): Likewise.
6390 (__argz_insert): Likewise.
6391 (__argz_replace): Likewise.
6392 * string/argz.h (__argz_create_sep): Removed.
6393 (__argz_append): Likewise.
6394 (__argz_add): Likewise.
6395 (__argz_add_sep): Likewise.
6396 (__argz_delete): Likewise.
6397 (__argz_insert): Likewise.
6398 (__argz_replace): Likewise.
6400 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6402 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
6403 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
6404 (GNU_PROPERTY_STACK_SIZE): Likewie.
6405 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
6406 (GNU_PROPERTY_LOPROC): Likewise.
6407 (GNU_PROPERTY_HIPROC): Likewise.
6408 (GNU_PROPERTY_LOUSER): Likewise.
6409 (GNU_PROPERTY_HIUSER): Likewise.
6410 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
6411 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
6412 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
6413 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
6414 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
6415 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
6416 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
6417 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
6418 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
6419 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
6420 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
6421 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
6422 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
6423 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
6424 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
6425 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
6426 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
6427 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
6428 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
6429 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
6430 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
6431 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
6432 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
6434 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6436 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
6439 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6442 * math/math.h (isinf): Check if in C or C++ mode before using
6443 __builtin_types_compatible_p, since this is a C mode feature.
6445 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6447 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
6448 (__write_nocancel): New macro.
6449 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
6450 Rewrite as a function prototype.
6451 (write_not_cancel): Remove macro.
6452 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
6453 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
6454 (write_gmon): Likewise.
6455 * libio/fileops.c (_IO_new_file_write): Likewise.
6456 * login/utmp_file.c (pututline_file): Likewise.
6457 (updwtmp_file): Likewise.
6458 * stdio-common/psiginfo.c (psiginfo): Likewise.
6459 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6460 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6461 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6463 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6466 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
6467 (__read_nocancel): New macro.
6468 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6470 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
6472 (__read_nocancel): New prototype.
6473 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
6474 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
6475 with __read_nocancel.
6476 * intl/loadmsgcat.c (read): Likewise.
6477 * libio/fileops.c (_IO_file_read): Likewise.
6478 * locale/loadlocale.c (_nl_load_locale): Likewise.
6479 * login/utmp_file.c (getutent_r_file): Likewise.
6480 (internal_getut_r): Likewise.
6481 (getutline_r_file): Likewise.
6482 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
6483 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6484 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6485 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6487 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
6488 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6489 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6491 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6493 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6495 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6497 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6499 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6502 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
6503 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
6506 2017-08-17 DJ Delorie <dj@redhat.com>
6508 * bug17079.c: Update to new test harness.
6509 * test-digits-dots.c: Likewise.
6510 * test-netdb.c: Likewise.
6511 * tst-field.c: Likewise.
6512 * tst-nss-getpwent.c: Likewise.
6513 * tst-nss-static.c: Likewise.
6514 * tst-nss-test1.c: Likewise.
6515 * tst-nss-test2.c: Likewise.
6516 * tst-nss-test3.c: Likewise.
6517 * tst-nss-test4.c: Likewise.
6518 * tst-nss-test5.c: Likewise.
6520 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6522 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
6523 (open_not_cancel_2): Likewise.
6524 (open_nocancel): New macro.
6525 (open64_nocancel): Likewise.
6526 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
6527 (open_not_cancel_2): Likewise.
6528 (__open_nocancel): New prototype.
6529 (__open64_nocancel): Likewise.
6530 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6532 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
6533 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
6534 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
6535 with __open_nocancel.
6536 * csu/check_fds.c (check_one_fd): Likewise.
6537 * gmon/gmon.c (write_gmon): Likewise.
6538 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
6539 * intl/loadmsgcat.c (open): Likewise.
6540 * libio/fileops.c (_IO_file_open): Likewise.
6541 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6542 * locale/loadlocale.c (_nl_load_locale): Likewise.
6543 * login/utmp_file.c (setutent_file): Likewise.
6544 * misc/daemon.c (daemon): Likewise.
6545 * nss/nss_db/db-open.c (internal_setent): Likewise.
6546 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
6547 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
6548 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
6549 (__opendir): Likewise.
6550 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6551 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
6552 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6553 (gethostid): Likewise.
6554 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6555 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6557 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6558 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
6559 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6560 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6562 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6564 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6566 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6568 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6570 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6572 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6573 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6575 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
6577 * benchtests/bench-skeleton.c (main): Add support for
6578 latency benchmarking.
6579 * benchtests/scripts/bench.py: Add support for latency benchmarking.
6581 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
6583 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
6586 2017-08-17 Florian Weimer <fweimer@redhat.com>
6588 * include/sys/socket.h (__opensock): Remove internal_function.
6589 * socket/opensock.c (__opensock): Likewise.
6590 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
6592 2017-08-16 Joseph Myers <joseph@codesourcery.com>
6595 * signal/bits/types/__sigval_t.h: New file.
6596 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
6597 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
6598 and define sigval_t using __sigval_t.
6599 * include/bits/types/__sigval_t.h: New file.
6600 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
6601 instead of <bits/types/__sigval_t.h>.
6602 (struct sigevent): Use __sigval_t instead of sigval_t.
6603 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
6604 instead of <bits/types/__sigval_t.h>.
6605 (siginfo_t): Use __sigval_t instead of sigval_t.
6606 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
6607 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
6608 (struct sigevent): Use __sigval_t instead of sigval_t.
6609 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
6610 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
6611 (siginfo_t): Use __sigval_t instead of sigval_t.
6612 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
6614 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
6616 * NEWS: Remove "[Add new features here]" for 2.27.
6618 2017-08-16 Joseph Myers <joseph@codesourcery.com>
6620 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
6623 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
6625 * NEWS: Mention x86-64 FMA optimization.
6627 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
6630 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6632 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
6633 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
6634 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
6636 2017-08-16 Andreas Schwab <schwab@suse.de>
6640 * elf/ldd.bash.in: Never run file directly.
6642 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
6645 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
6646 (L(SP_INF_0)): Likewise.
6648 2017-08-15 Florian Weimer <fweimer@redhat.com>
6650 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
6653 2017-08-15 Florian Weimer <fweimer@redhat.com>
6655 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
6656 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
6657 BROKEN_THREAD_SIGNALS code.
6658 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
6659 request_list): Remove caller_pid member used for
6660 BROKEN_THREAD_SIGNALS.
6661 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
6662 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
6663 Remove BROKEN_THREAD_SIGNALS support.
6664 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
6665 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
6667 2017-08-15 Florian Weimer <fweimer@redhat.com>
6669 * gmon/Makefile (tests): Add tst-gmon.
6670 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
6672 (tests-special): Add tst-gmon-prof.out.
6673 (tst-gmon.out): Depend on clean-tst-gmon-data.
6674 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
6675 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
6676 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
6678 * aclocal.m4 (GPROF): Set and substitute.
6679 * config.amke.in (GPROF): Set.
6680 * configure: Regenerate.
6682 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
6684 * elf/elf.h A (NT_PPC_TAR): New macro.
6685 (NT_PPC_PPR): Likewise.
6686 (NT_PPC_DSCR): Likewise.
6687 (NT_PPC_EBB): Likewise.
6688 (NT_PPC_PMU): Likewise.
6689 (NT_PPC_TM_CGPR): Likewise.
6690 (NT_PPC_TM_CFPR): Likewise.
6691 (NT_PPC_TM_CVMX): Likewise.
6692 (NT_PPC_TM_CVSX): Likewise.
6693 (NT_PPC_TM_SPR): Likewise.
6694 (NT_PPC_TM_CTAR): Likewise.
6695 (NT_PPC_TM_CPPR): Likewise.
6696 (NT_PPC_TM_CDSCR): Likewise.
6698 2017-08-15 Florian Weimer <fweimer@redhat.com>
6700 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
6701 regparm (2) instead of internal_function.
6702 (_MCOUNT_DECL): Adjust.
6704 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
6706 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
6707 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
6709 2017-08-14 Joseph Myers <joseph@codesourcery.com>
6711 * conform/data/sys/wait.h-data (si_value): Do not expect for
6714 2017-08-14 Florian Weimer <fweimer@redhat.com>
6717 NSS: Create stubs for accidentally exported lookup functions.
6718 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
6720 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
6721 (ether_hostton): Call __nss_ethers_lookup2 instead.
6722 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
6723 (ether_ntohost): Call __nss_ethers_lookup2 instead.
6724 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
6725 (setup): Call __nss_netgroup_lookup2 instead.
6726 * nss/Makefile (routines): Add compat-lookup.
6727 * nss/Versions (GLIBC_2.27): Add symbol version.
6728 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
6729 (DB_COMPAT_FCT): Remove.
6730 * nss/compat-lookup.c: New file.
6731 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
6733 * nss/service-lookup.c (NO_COMPAT): Remove definition.
6734 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
6735 (netname2user): Call __nss_publickey_lookup2 instead.
6736 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
6737 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
6740 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6741 Sergei Trofimovich <slyfox@inbox.ru>
6744 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
6745 Rename to MMAP2_PAGE_UNIT.
6746 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
6747 __OFF_T_MATCHES_OFF64_T is not defined.
6748 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
6750 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
6751 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
6753 2017-08-14 Florian Weimer <fweimer@redhat.com>
6755 i386: Do not set internal_function.
6756 * config.h.in (USE_REGPARMS, internal_function): Remove.
6757 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
6758 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
6760 2017-08-14 Florian Weimer <fweimer@redhat.com>
6762 * elf/dl-init.c (_dl_init): Remove internal_function.
6763 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
6764 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
6766 2017-08-14 Florian Weimer <fweimer@redhat.com>
6768 * elf/rtld.c (_dl_start): Remove internal_function.
6769 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
6772 2017-08-14 Florian Weimer <fweimer@redhat.com>
6774 * elf/dl-fini.c (_dl_fini): Remove internal_function
6775 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
6777 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
6779 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
6780 (bit_cpu_SHSTK): Likewise.
6781 (index_cpu_IBT): Likewise.
6782 (index_cpu_SHSTK): Likewise.
6783 (reg_IBT): Likewise.
6784 (reg_SHSTK): Likewise.
6785 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
6786 Handle index_cpu_IBT and index_cpu_SHSTK.
6788 2017-08-14 Mike FABIAN <mfabian@redhat.com>
6791 * po/fr.po: Fix spelling mistake.
6793 2017-08-13 Florian Weimer <fweimer@redhat.com>
6795 * elf/dl-addr.c (_dl_addr): Remove internal_function.
6796 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
6797 (_dl_catch_error, _dl_receive_error): Likewise.
6798 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
6799 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
6800 (_dl_deallocate_tls): Likewise.
6801 * include/dlfcn.h (_dl_addr): Likewise.
6802 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
6803 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
6804 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
6807 2017-08-13 Florian Weimer <fweimer@redhat.com>
6809 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
6810 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
6812 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
6814 2017-08-13 Florian Weimer <fweimer@redhat.com>
6816 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
6818 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
6819 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
6820 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
6821 internal_function from _dl_make_stack_executable_hook member.
6822 (_dl_make_stack_executable): Remove internal_function.
6823 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
6825 * sysdeps/unix/sysv/linux/dl-execstack.c
6826 (_dl_make_stack_executable): Likewise.
6828 2017-08-13 Florian Weimer <fweimer@redhat.com>
6830 * sysdeps/unix/sysv/linux/netlinkaccess.h
6831 (__netlink_assert_response): Remove internal_function.
6832 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6833 (__netlink_assert_response): Likewise.
6835 2017-08-13 Florian Weimer <fweimer@redhat.com>
6837 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
6839 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
6841 2017-08-13 Florian Weimer <fweimer@redhat.com>
6843 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
6845 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
6846 * inet/netgroup.h (__internal_setnetgrent)
6847 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
6848 * inet/getnetgrent_r.c (__internal_setnetgrent)
6849 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
6850 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
6851 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
6852 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
6853 * nss/nsswitch.h (db_lookup_function): Likewise.
6855 2017-08-13 Florian Weimer <fweimer@redhat.com>
6857 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
6858 Remove internal_function.
6859 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
6860 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
6861 message argument on the stack.
6862 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
6865 2017-08-12 Mike FABIAN <mfabian@redhat.com>
6867 Adapt test case data to the changes in the thousands
6871 * localedata/tst-langinfo.sh: Adapt test case data.
6872 * stdlib/tst-strfmon_l.c: Likewise.
6873 * stdlib/tst-strtod4.c: Likewise.
6874 * stdlib/tst-strtod5i.c: Likewise.
6876 2017-08-11 Florian Weimer <fweimer@redhat.com>
6879 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
6880 Suppress pedantic warning resulting from statement expression.
6881 (__ASSERT_FUNCTION): Add missing __extension__.
6883 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
6885 * benchtests/bench-memmove-large.c: Print output in JSON
6887 * benchtests/bench-memmove.c: Likewise.
6889 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
6890 * benchtests/bench-memchr.c (do_one_test): Likewise.
6891 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
6892 * benchtests/bench-memcpy.c (do_one_test): Likewise.
6893 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
6894 * benchtests/bench-memmove.c (do_one_test): Likewise.
6895 * benchtests/bench-memset-large.c (do_one_test): Likewise.
6896 * benchtests/bench-memset.c (do_one_test): Likewise.
6897 * benchtests/bench-string.h (test_init): Remove memsets.
6899 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
6902 (Computing the Width of an Integer Data Type): Rename section to
6903 "Width of an Integer Type". Remove inaccurate statement regarding
6904 lack of C language facilities for determining width of integer
6905 types, and reorder content to improve flow and context of
6908 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
6910 * lang.texi (va_copy): Change standard from ISO to C99.
6911 (__va_copy): Add standard and header annotation.
6912 Update description for clarity of origins and current use.
6914 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6917 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
6918 xssqrtqp requires operands to be in Vector Registers
6919 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
6920 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
6921 (__ieee754_sqrtf128): Likewise.
6923 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6925 * sysdeps/aarch64/memcmp.S (memcmp):
6926 Rewrite of optimized memcmp.
6928 2017-08-10 Florian Weimer <fweimer@redhat.com>
6930 Introduce ld.so exceptions.
6931 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
6932 (_dl_exception_create, _dl_exception_create_format)
6933 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
6934 (_dl_catch_exception): Declare.
6935 (_dl_catch_error): Update comment.
6936 * elf/dl-error-skeleton.c (struct catch): Replace objname,
6937 errstring, malloced members with exception member.
6938 (_dl_out_of_memory): Remove.
6939 (fatal_error): New function, extracted from _dl_signal_error.
6940 (_dl_signal_exception, _dl_signal_cexception): New functions.
6941 (_dl_signal_error): Call _dl_exception_create to allocate an
6943 (_dl_catch_exception): New function, based on _dl_catch_error.
6944 (_dl_catch_error): Implement using _dl_catch_exception.
6945 * elf/dl-exception.c: New file.
6946 * elf/Makefile (dl-routines): Add dl-exception.
6947 (elide-routines.os): Likewise.
6948 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
6949 _dl_exception_create_format, _dl_exception_free.
6950 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
6951 _dl_signal_exception.
6952 * elf/dl-lookup.c (make_string): Remove.
6953 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
6954 _dl_signal_cexception, _dl_exception_free.
6955 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
6956 _dl_signal_exception.
6957 * elf/dl-sym.c (do_sym): Likewise.
6958 * elf/dl-version.c (make_string): Remove.
6959 (match_symbol): Use _dl_exception_create_format,
6960 _dl_signal_cexception, _dl_exception_free.
6961 (_dl_check_map_versions): Likewise.
6962 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
6963 _dl_catch_exception.
6964 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6965 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6966 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6967 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6968 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6969 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6970 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6971 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
6973 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6980 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6981 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6982 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
6984 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
6986 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6988 2017-08-10 Florian Weimer <fweimer@redhat.com>
6990 * inet/net-internal.h (__inet6_scopeid_pton): Remove
6991 attribute_hidden, internal_function.
6992 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
6995 2017-08-10 Florian Weimer <fweimer@redhat.com>
6997 * malloc/malloc.c (get_max_fast): Reimplement as an inline
6998 function which calls __builtin_unreachable.
7000 2017-08-10 Mike FABIAN <mfabian@redhat.com>
7002 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
7003 Indian monetary formatting
7004 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
7007 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
7009 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
7010 Fix typo in comment.
7013 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
7014 PTRACE_SEIZE_DEVEL): Remove.
7015 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
7016 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7017 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7018 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7019 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7021 2017-08-09 Joseph Myers <joseph@codesourcery.com>
7023 * posix/bits/types.h (__qaddr_t): Remove.
7026 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
7027 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7029 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
7030 (ucontext_t): Use __ctx with uc_flags.
7031 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
7033 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7035 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
7036 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7038 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
7039 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7041 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
7043 (ucontext_t): Use __ctx with uc_flags.
7044 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
7045 (ucontext_t): Use __ctx with uc_flags.
7046 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
7047 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
7048 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
7049 (ucontext_t): Use __ctx with uc_flags.
7050 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
7051 undefine further down.
7052 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7054 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
7055 undefine further down.
7056 (ucontext_t): Use __ctx with uc_flags.
7057 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
7058 undefine further down.
7059 (ucontext_t): Use __ctx with uc_flags.
7060 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
7061 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
7062 Rename uc_pad to __glibc_reserved1.
7063 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
7064 undefine further down.
7065 (ucontext_t): Use __ctx with uc_flags.
7066 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
7068 (ucontext_t): Use __ctx with uc_flags.
7069 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
7070 __ctx with uc_flags.
7071 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
7072 (ucontext_t): Use __ctx with uc_flags.
7073 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
7074 __ctx with uc_flags.
7076 2017-08-09 Florian Weimer <fweimer@redhat.com>
7079 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
7080 before early return.
7082 2017-08-09 Andreas Schwab <schwab@suse.de>
7085 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
7089 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
7090 tst-compat-forwarder.
7091 (modules-names): Add tst-compat-forwarder-mod.
7092 ($(objpfx)tst-compat-forwarder): Depend on
7093 $(objpfx)tst-compat-forwarder-mod.so.
7094 * nptl/tst-compat-forwarder.c: New file.
7095 * nptl/tst-compat-forwarder-mod.c: New file.
7097 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
7099 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
7102 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
7103 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7105 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
7107 (__libc_ifunc_impl_list): Add __memcpy_falkor.
7108 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
7109 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
7110 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7112 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
7115 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7118 * manual/setjmp.texi (getcontex): Document uc_stack value
7119 compatibility differences.
7121 2017-08-08 Joseph Myers <joseph@codesourcery.com>
7123 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
7124 (old_malloc_hook): Likewise.
7125 (old_memalign_hook): Likewise.
7126 (old_realloc_hook): Likewise.
7127 (struct hdr): Likewise.
7129 (freehook): Likewise.
7130 (mallochook): Likewise.
7131 (memalignhook): Likewise.
7132 (reallochook): Likewise.
7134 * malloc/mtrace.c (mallwatch): Likewise.
7135 (tr_old_free_hook): Likewise.
7136 (tr_old_malloc_hook): Likewise.
7137 (tr_old_realloc_hook): Likewise.
7138 (tr_old_memalign_hook): Likewise.
7139 (tr_where): Likewise.
7140 (lock_and_info): Likewise.
7141 (tr_freehook): Likewise.
7142 (tr_mallochook): Likewise.
7143 (tr_reallochook): Likewise.
7144 (tr_memalignhook): Likewise.
7145 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
7146 * misc/mmap.c (__mmap): Likewise.
7147 * misc/mmap64.c (__mmap64): Likewise.
7148 * misc/mprotect.c (__mprotect): Likewise.
7149 * misc/msync.c (msync): Likewise.
7150 * misc/munmap.c (__munmap): Likewise.
7151 * posix/posix_madvise.c (posix_madvise): Likewise.
7152 * socket/send.c (__send): Likewise.
7153 * socket/sendto.c (__sendto): Likewise.
7154 * socket/setsockopt.c (__setsockopt): Likewise.
7155 * string/memcmp.c (__ptr_t): Remove macro.
7156 (MEMCMP): Use void * instead of ptr_t.
7157 * string/memrchr.c (__ptr_t): Remove macro.
7158 (__memrchr): Use void * instead of ptr_t.
7159 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
7160 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
7161 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
7162 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
7163 * sysdeps/mach/msync.c (msync): Likewise.
7164 * sysdeps/mach/munmap.c (__munmap): Likewise.
7165 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
7167 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
7168 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
7169 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
7170 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
7171 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
7172 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7173 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
7174 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
7176 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7177 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
7178 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
7179 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
7180 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
7181 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
7182 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
7183 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
7184 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
7186 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
7187 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
7188 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
7189 (MEMCMP): Use void * instead of ptr_t.
7190 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
7191 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
7193 2017-08-08 Florian Weimer <fweimer@redhat.com>
7195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
7198 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
7201 * csu/libc-tls.c: Include <startup.h> first.
7202 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
7203 * elf/dl-tunables.c: Include <startup.h> first.
7204 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
7205 * sysdeps/generic/startup.h: New file.
7206 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
7207 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
7208 (I386_USE_SYSENTER): New. Defined to 0.
7210 2017-08-08 Andreas Schwab <schwab@suse.de>
7213 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
7214 * nptl/pt-system.c (system): Likewise.
7216 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7219 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
7221 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
7222 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
7223 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
7224 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
7225 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7226 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7227 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7229 2017-08-07 Joseph Myers <joseph@codesourcery.com>
7232 * bits/sigaction.h (struct sigaction): Define sa_handler and
7233 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
7234 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7235 [__USE_XOPEN_EXTENDED].
7236 (SA_RESTART): Likewise.
7237 (SA_NODEFER): Likewise.
7238 (SA_RESETHAND): Likewise.
7239 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
7240 (struct sigaction): Define sa_handler and sa_sigaction using union
7241 also for [__USE_XOPEN_EXTENDED].
7242 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7243 [__USE_XOPEN_EXTENDED].
7244 (SA_RESTART): Likewise.
7245 (SA_NODEFER): Likewise.
7246 (SA_RESETHAND): Likewise.
7247 * sysdeps/unix/sysv/linux/bits/sigaction.h
7248 (struct sigaction): Define sa_handler and sa_sigaction using union
7249 also for [__USE_XOPEN_EXTENDED].
7250 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7251 [__USE_XOPEN_EXTENDED].
7252 (SA_RESTART): Likewise.
7253 (SA_NODEFER): Likewise.
7254 (SA_RESETHAND): Likewise.
7255 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
7256 (struct sigaction): Define sa_handler and sa_sigaction using union
7257 also for [__USE_XOPEN_EXTENDED].
7258 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7259 [__USE_XOPEN_EXTENDED].
7260 (SA_RESTART): Likewise.
7261 (SA_NODEFER): Likewise.
7262 (SA_RESETHAND): Likewise.
7263 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
7264 (struct sigaction): Define sa_handler and sa_sigaction using union
7265 also for [__USE_XOPEN_EXTENDED].
7266 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7267 [__USE_XOPEN_EXTENDED].
7268 (SA_RESTART): Likewise.
7269 (SA_NODEFER): Likewise.
7270 (SA_RESETHAND): Likewise.
7271 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7272 (struct sigaction): Define sa_handler and sa_sigaction using union
7273 also for [__USE_XOPEN_EXTENDED].
7274 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7275 [__USE_XOPEN_EXTENDED].
7276 (SA_RESTART): Likewise.
7277 (SA_NODEFER): Likewise.
7278 (SA_RESETHAND): Likewise.
7279 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7280 (struct sigaction): Define sa_handler and sa_sigaction using union
7281 also for [__USE_XOPEN_EXTENDED].
7282 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7283 [__USE_XOPEN_EXTENDED].
7284 (SA_RESTART): Likewise.
7285 (SA_NODEFER): Likewise.
7286 (SA_RESETHAND): Likewise.
7287 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7288 (struct sigaction): Define sa_handler and sa_sigaction using union
7289 also for [__USE_XOPEN_EXTENDED].
7290 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7291 [__USE_XOPEN_EXTENDED].
7292 (SA_RESTART): Likewise.
7293 (SA_NODEFER): Likewise. Define directly rather than as alias.
7294 (SA_RESETHAND): Likewise.
7295 (SA_INTERRUPT): Define only for [__USE_MISC].
7296 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
7297 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
7299 (SA_STACK): Define only for [__USE_MISC].
7300 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
7301 (struct sigaction): Define sa_handler and sa_sigaction using union
7302 also for [__USE_XOPEN_EXTENDED].
7303 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7304 [__USE_XOPEN_EXTENDED].
7305 (SA_RESTART): Likewise.
7306 (SA_NODEFER): Likewise.
7307 (SA_RESETHAND): Likewise.
7308 (SA_NOPTRACE): Define only for [__USE_MISC].
7310 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
7311 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
7312 (struct catalog_info): Likewise.
7313 * inet/htontest.c (lo): Likewise.
7315 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7316 * inet/inet_net.c (inet_network): Likewise.
7317 * inet/inet_netof.c (inet_netof): Likewise.
7318 * inet/rcmd.c (__ivaliduser): Likewise.
7319 (iruserok): Likewise.
7320 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
7321 * locale/programs/locale-spec.c (locale_special): Likewise.
7322 * nis/nis_findserv.c (struct findserv_req): Likewise.
7323 (__nis_findfastest_with_timeout): Likewise.
7324 * nss/test-netdb.c (test_network): Likewise.
7325 * resolv/inet_neta.c (inet_neta): Likewise.
7326 * resolv/ns_date.c (ns_datetosecs): Likewise.
7327 (SECS_PER_DAY): Likewise.
7328 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
7330 * resolv/res_comp.c (__putlong): Likewise.
7331 (__putshort): Likewise.
7332 (_getlong): Likewise.
7333 (_getshort): Likewise.
7334 * resolv/res_debug.c (p_time): Likewise.
7335 (precsize_ntoa): Likewise.
7336 (precsize_aton): Likewise.
7337 (latlon2ul): Likewise.
7338 (loc_aton): Likewise.
7339 (loc_ntoa): Likewise.
7340 * resolv/res_hconf.c (struct netaddr): Likewise.
7341 (_res_hconf_reorder_addrs): Likewise.
7342 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7343 (clnttcp_control): Likewise.
7344 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7345 (clntudp_control): Likewise.
7346 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
7347 (clntunix_control): Likewise.
7348 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7349 * sunrpc/rpc/auth.h (union des_block): Likewise.
7350 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
7351 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
7352 (xdrrec_create): Likewise.
7353 (xdrrec_endofrecord): Likewise.
7354 (flush_out): Likewise.
7355 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
7356 (xdrstdio_putlong): Likewise.
7357 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
7360 * misc/sys/cdefs.h (__long_double_t): Remove.
7361 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
7362 instead of __long_double_t,
7363 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
7365 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7367 * benchtests/scripts/compare_strings.py: Avoid display error when
7368 running on a text terminal.
7370 * benchtests/scripts/compare_strings.py (main): Add an
7371 optional -base option.
7372 (process_results): New argument base_func.
7374 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
7376 * benchtests/bench-memcpy-large.c (test_name): Likewise.
7377 * benchtests/bench-memcpy-random.c (test_name): Likewise.
7379 2017-08-07 Andreas Schwab <schwab@suse.de>
7381 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
7382 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7383 * intl/Makefile ($(objpfx)tst-gettext.out)
7384 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
7385 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
7386 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7387 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7388 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
7389 * posix/Makefile ($(objpfx)globtest.out)
7390 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
7391 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
7392 ($(objpfx)tst-printf.out): Likewise.
7393 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
7394 ($(objpfx)tst-setcontext3.out): Likewise.
7396 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
7398 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7399 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
7400 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
7401 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
7402 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
7404 (CFLAGS-doasin-fma.c): New.
7405 (CFLAGS-dosincos-fma.c): Likewise.
7406 (CFLAGS-e_asin-fma.c): Likewise.
7407 (CFLAGS-e_atan2-fma.c): Likewise.
7408 (CFLAGS-e_exp-fma.c): Likewise.
7409 (CFLAGS-e_log-fma.c): Likewise.
7410 (CFLAGS-e_pow-fma.c): Likewise.
7411 (CFLAGS-halfulp-fma.c): Likewise.
7412 (CFLAGS-mpa-fma.c): Likewise.
7413 (CFLAGS-mpatan-fma.c): Likewise.
7414 (CFLAGS-mpatan2-fma.c): Likewise.
7415 (CFLAGS-mpexp-fma.c): Likewise.
7416 (CFLAGS-mplog-fma.c): Likewise.
7417 (CFLAGS-mpsqrt-fma.c): Likewise.
7418 (CFLAGS-mptan-fma.c): Likewise.
7419 (CFLAGS-s_atan-fma.c): Likewise.
7420 (CFLAGS-sincos32-fma.c): Likewise.
7421 (CFLAGS-slowexp-fma.c): Likewise.
7422 (CFLAGS-slowpow-fma.c): Likewise.
7423 (CFLAGS-s_sin-fma.c): Likewise.
7424 (CFLAGS-s_tan-fma.c): Likewise.
7425 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
7426 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
7427 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
7428 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
7429 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
7430 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
7431 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
7432 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
7433 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
7434 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
7435 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
7436 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
7437 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
7438 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
7439 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
7440 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
7441 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
7442 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
7443 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
7444 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
7445 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
7446 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
7447 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
7448 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
7449 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7450 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7451 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7452 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
7453 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7454 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7455 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7457 2017-08-04 Joseph Myers <joseph@codesourcery.com>
7459 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
7460 (min_of_type_f): New macro.
7461 (min_of_type_): Likewise.
7462 (min_of_type_l): Likewise.
7463 (min_of_type_f128): Likewise.
7464 (min_of_type): Define using __MATH_TG and taking an expression
7466 (math_check_force_underflow): Pass expression instead of type to
7468 (math_check_force_underflow_nonneg): Likewise.
7470 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7472 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
7473 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
7474 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
7476 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7478 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7479 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
7480 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
7481 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
7482 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
7483 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
7484 memcpy_chk-nonshared, mempcpy_chk-nonshared,
7485 memmove_chk-nonshared and memset_chk-nonshared
7486 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
7487 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
7488 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
7489 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
7490 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
7491 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
7492 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
7493 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
7494 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
7495 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
7496 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
7497 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
7498 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
7499 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
7500 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
7501 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
7502 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
7503 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
7504 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
7505 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
7506 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
7507 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
7508 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
7509 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
7510 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
7511 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
7512 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
7513 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
7514 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
7515 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
7516 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
7517 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
7518 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
7519 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
7520 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
7521 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
7522 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
7523 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
7524 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
7525 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
7526 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
7527 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
7528 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
7529 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
7530 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
7531 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
7532 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
7533 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
7534 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
7535 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
7536 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
7537 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
7538 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
7539 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
7540 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
7541 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
7542 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
7543 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
7544 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
7545 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
7546 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
7547 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
7548 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
7549 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
7550 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
7551 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
7552 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
7553 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
7554 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
7555 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
7556 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
7557 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7558 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7559 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7560 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7561 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7562 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7563 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7564 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7565 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7566 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7567 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7568 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7569 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7570 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7571 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7572 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7573 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7574 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7575 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7576 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7577 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7578 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7579 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7580 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7581 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7582 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7583 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7584 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7585 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7586 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7587 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7588 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7589 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7590 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7591 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7592 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7593 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7595 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7597 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
7598 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
7599 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
7600 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
7601 svml_d_log2_core-sse2, svml_d_log4_core-sse,
7602 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
7603 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
7604 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
7605 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
7606 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
7607 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
7608 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
7609 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
7610 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
7611 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
7612 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
7613 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
7614 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
7615 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
7616 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
7617 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
7618 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
7619 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
7620 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
7621 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
7622 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
7623 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
7624 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
7625 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
7626 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
7627 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
7628 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
7629 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
7630 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
7631 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
7632 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
7633 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
7634 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
7635 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
7636 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
7637 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
7638 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
7639 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
7640 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
7641 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
7642 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
7643 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
7644 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
7645 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
7646 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
7647 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
7648 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
7649 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
7650 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
7651 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
7652 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
7653 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
7654 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
7655 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
7657 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
7658 Don't include <sysdep.h> nor <init-arch.h>.
7659 (_ZGVbN2v_cos): Removed.
7660 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
7662 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
7663 Don't include <sysdep.h> nor <init-arch.h>.
7664 (_ZGVdN4v_cos): Removed.
7665 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
7667 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
7668 Don't include <sysdep.h> nor <init-arch.h>.
7669 (_ZGVeN8v_cos): Removed.
7670 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
7672 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
7673 Don't include <sysdep.h> nor <init-arch.h>.
7674 (_ZGVbN2v_exp): Removed.
7675 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
7677 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
7678 Don't include <sysdep.h> nor <init-arch.h>.
7679 (_ZGVdN4v_exp): Removed.
7680 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
7682 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
7683 Don't include <sysdep.h> nor <init-arch.h>.
7684 (_ZGVeN8v_exp): Removed.
7685 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
7687 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
7688 Don't include <sysdep.h> nor <init-arch.h>.
7689 (_ZGVbN2v_log): Removed.
7690 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
7692 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
7693 Don't include <sysdep.h> nor <init-arch.h>.
7694 (_ZGVdN4v_log): Removed.
7695 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
7697 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
7698 Don't include <sysdep.h> nor <init-arch.h>.
7699 (_ZGVeN8v_log): Removed.
7700 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
7702 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
7703 Don't include <sysdep.h> nor <init-arch.h>.
7704 (_ZGVbN2vv_pow): Removed.
7705 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
7707 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
7708 Don't include <sysdep.h> nor <init-arch.h>.
7709 (_ZGVdN4vv_pow): Removed.
7710 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
7712 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
7713 Don't include <sysdep.h> nor <init-arch.h>.
7714 (_ZGVeN8vv_pow): Removed.
7715 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
7717 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
7718 Don't include <sysdep.h> nor <init-arch.h>.
7719 (_ZGVbN2v_sin): Removed.
7720 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
7722 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
7723 Don't include <sysdep.h> nor <init-arch.h>.
7724 (_ZGVbN4v_sin): Removed.
7725 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
7727 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
7728 Don't include <sysdep.h> nor <init-arch.h>.
7729 (_ZGVbN8v_sin): Removed.
7730 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
7732 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
7733 Don't include <sysdep.h> nor <init-arch.h>.
7734 (_ZGVbN2vvv_sincos): Removed.
7735 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
7737 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
7738 Don't include <sysdep.h> nor <init-arch.h>.
7739 (_ZGVdN4vvv_sincos): Removed.
7740 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
7742 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
7743 Don't include <sysdep.h> nor <init-arch.h>.
7744 (_ZGVeN8vvv_sincos): Removed.
7745 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
7747 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
7748 Don't include <sysdep.h> nor <init-arch.h>.
7749 (_ZGVeN16v_cosf): Removed.
7750 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
7752 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
7753 Don't include <sysdep.h> nor <init-arch.h>.
7754 (_ZGVbN4v_cosf): Removed.
7755 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
7757 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
7758 Don't include <sysdep.h> nor <init-arch.h>.
7759 (_ZGVdN8v_cosf): Removed.
7760 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
7762 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
7763 Don't include <sysdep.h> nor <init-arch.h>.
7764 (_ZGVeN16v_expf): Removed.
7765 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
7767 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
7768 Don't include <sysdep.h> nor <init-arch.h>.
7769 (_ZGVbN4v_expf): Removed.
7770 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
7772 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
7773 Don't include <sysdep.h> nor <init-arch.h>.
7774 (_ZGVdN8v_expf): Removed.
7775 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
7777 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
7778 Don't include <sysdep.h> nor <init-arch.h>.
7779 (_ZGVeN16v_logf): Removed.
7780 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
7782 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
7783 Don't include <sysdep.h> nor <init-arch.h>.
7784 (_ZGVbN4v_logf): Removed.
7785 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
7787 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
7788 Don't include <sysdep.h> nor <init-arch.h>.
7789 (_ZGVdN8v_logf): Removed.
7790 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
7792 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
7793 Don't include <sysdep.h> nor <init-arch.h>.
7794 (_ZGVeN16vv_powf): Removed.
7795 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
7797 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
7798 Don't include <sysdep.h> nor <init-arch.h>.
7799 (_ZGVbN4vv_powf): Removed.
7800 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
7802 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
7803 Don't include <sysdep.h> nor <init-arch.h>.
7804 (_ZGVdN8vv_powf): Removed.
7805 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
7807 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
7808 Don't include <sysdep.h> nor <init-arch.h>.
7809 (_ZGVeN16vvv_sincosf): Removed.
7810 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
7812 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
7813 Don't include <sysdep.h> nor <init-arch.h>.
7814 (_ZGVbN4vvv_sincosf): Removed.
7815 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
7817 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
7818 Don't include <sysdep.h> nor <init-arch.h>.
7819 (_ZGVdN8vvv_sincosf): Removed.
7820 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
7822 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
7823 Don't include <sysdep.h> nor <init-arch.h>.
7824 (_ZGVeN16v_sinf): Removed.
7825 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
7827 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
7828 Don't include <sysdep.h> nor <init-arch.h>.
7829 (_ZGVbN4v_sinf): Removed.
7830 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
7832 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
7833 Don't include <sysdep.h> nor <init-arch.h>.
7834 (_ZGVdN8v_sinf): Removed.
7836 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7838 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7839 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
7840 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
7841 s_rint-sse4_1 and s_rintf-sse4_1.
7842 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
7843 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7844 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7845 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7846 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7847 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
7848 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
7849 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7850 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7851 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
7852 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
7853 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7855 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
7856 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
7857 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7859 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
7860 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
7861 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7863 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
7864 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
7865 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7866 (__floorf): Removed.
7867 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
7868 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
7869 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7870 (__nearbyint): Removed.
7871 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
7872 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
7873 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7874 (__nearbyintf): Removed.
7875 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
7876 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
7877 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7879 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
7880 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
7881 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7884 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7886 * sysdeps/i386/start.S (_start): Check Check PIC instead of
7887 SHARED. Avoid dynamic relocation against main in static PIE.
7889 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7892 * elf/Makefile (CFLAGS-tst-prelink.c): New.
7893 (LDFLAGS-tst-prelink): Likewise.
7895 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7897 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
7898 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
7899 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
7900 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
7901 (INTERNAL_SYSCALL_NCS): Likewise.
7902 (LOADARGS_1): Likewise.
7903 (LOADARGS_5): Likewise.
7904 (RESTOREARGS_1): Likewise.
7905 (RESTOREARGS_5): Likewise.
7907 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7909 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
7910 (MEMPCPY_SYMBOL): Likewise.
7911 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7912 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
7913 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
7915 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7916 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7918 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
7919 (__hidden_ver1): Don't use in libc.a.
7920 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
7921 (__mempcpy): Don't create a weak alias in libc.a.
7922 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
7924 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
7925 (__hidden_ver1): Don't use in libc.a.
7927 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7929 * config.make.in (have-insert): New.
7930 * configure.ac (libc_cv_insert): New. Set to yes if linker
7931 supports INSERT in linker script.
7932 (AC_SUBST(libc_cv_insert): New.
7933 * configure: Regenerated.
7934 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
7935 if $(have-insert) == yes.
7937 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7939 * elf/Makefile (tests): Add vismain only if
7940 $(have-protected-data) == yes.
7941 (tests-pie): Likewise.
7943 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7946 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7947 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
7949 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7952 * sysdeps/i386/i586/memset.S
7953 (__memset_zero_constant_len_parameter): Removed.
7954 * sysdeps/i386/i686/memset.S
7955 (__memset_zero_constant_len_parameter): Likewise.
7956 * sysdeps/i386/i686/multiarch/memset_chk.S
7957 (__memset_zero_constant_len_parameter): Likewise.
7958 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
7961 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
7963 * stdlib/getentropy.c (getentropy): Change return type to int.
7965 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
7967 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
7969 2017-08-03 Joseph Myers <joseph@codesourcery.com>
7971 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
7973 * math/s_nexttowardf.c (__nexttowardf): Likewise.
7974 * sysdeps/generic/math_private.h (ieee_double_shape_type):
7976 (ieee_float_shape_type): Likewise.
7977 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
7978 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
7979 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7980 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7981 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7982 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
7983 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
7984 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7985 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7987 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7988 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7989 (__ieee754_yn): Likewise.
7990 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7991 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7992 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
7994 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7995 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
7996 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
7997 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
7999 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
8000 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
8001 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
8002 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
8003 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
8004 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
8006 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
8007 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
8008 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
8009 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
8010 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8011 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
8012 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
8013 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
8014 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
8015 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
8016 (__issignaling): Likewise.
8017 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
8018 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
8019 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8021 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8022 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8023 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
8024 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
8026 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
8028 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
8029 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
8030 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
8031 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
8032 (__erfcf): Likewise.
8033 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
8034 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
8035 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
8036 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
8038 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
8039 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
8041 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
8042 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
8043 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
8044 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
8045 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
8046 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8047 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
8048 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
8050 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
8052 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
8054 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
8055 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8057 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8059 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8060 (__ieee754_ynl): Likewise.
8061 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8062 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
8064 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
8066 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
8067 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
8068 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8070 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
8071 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
8072 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
8073 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
8074 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
8075 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
8076 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
8077 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
8079 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
8080 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
8081 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
8083 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
8084 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
8085 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
8086 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
8087 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
8088 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8090 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8092 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8094 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8096 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
8097 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8098 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8099 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
8100 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
8101 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
8102 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
8104 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8106 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8107 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8109 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8110 (__ieee754_remainderl): Likewise.
8111 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8112 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8113 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
8114 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
8116 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
8117 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8119 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8120 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
8121 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
8122 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
8123 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8124 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8126 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
8127 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
8128 (__ieee754_y0l): Likewise.
8131 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8132 (__ieee754_y1l): Likewise.
8135 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8136 (__ieee754_ynl): Likewise.
8137 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8138 (__ieee754_lgammal_r): Likewise.
8139 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
8141 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
8142 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
8143 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
8144 (__erfcl): Likewise.
8145 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
8146 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
8148 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
8149 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
8150 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
8151 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
8152 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
8153 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8154 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8156 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
8157 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8158 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
8159 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
8160 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8162 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
8163 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
8165 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
8166 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
8167 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
8168 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8169 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8171 2017-08-03 Florian Weimer <fweimer@redhat.com>
8174 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
8175 on memory allocation failure.
8177 2017-08-03 Alan Modra <amodra@gmail.com>
8179 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
8180 tst-tlsopt-powerpc.c with function name change and no test harness.
8181 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
8182 Call tls_get_addr_opt_test.
8183 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
8184 (modules-names): Add mod-tlsopt-powerpc.
8185 (mod-tlsopt-powerpc.so-no-z-defs): Define.
8186 (tst-tlsopt-powerpc): Depend on .so.
8187 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
8188 define. Expand use in TLS_GD and TLS_LD.
8190 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8192 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
8194 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8196 2017-08-02 Joseph Myers <joseph@codesourcery.com>
8199 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
8200 comparing size with that of double.
8201 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
8202 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
8203 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
8204 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
8205 (__TGMATH_BINARY_REAL_IMAG): Likewise.
8206 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
8207 unsigned __int128 types.
8209 2017-08-02 Steve Ellcey <sellcey@cavium.com>
8211 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
8212 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
8213 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
8214 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
8215 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
8217 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8219 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
8221 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8223 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
8225 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8226 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8227 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8228 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8229 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8230 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8231 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8233 2017-08-02 Joseph Myers <joseph@codesourcery.com>
8236 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
8237 bit-field expressions passed to sizeof or typeof.
8238 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8239 (__TGMATH_F128): Likewise.
8240 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8241 (__TGMATH_CF128): Likewise.
8242 (__TGMATH_UNARY_REAL_ONLY): Likewise.
8243 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
8244 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
8245 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
8246 (__TGMATH_BINARY_REAL_ONLY): Likewise.
8247 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
8248 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
8249 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
8250 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
8251 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
8252 (__TGMATH_UNARY_REAL_IMAG): Likewise.
8253 (__TGMATH_UNARY_IMAG): Likewise.
8254 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
8255 (__TGMATH_BINARY_REAL_IMAG): Likewise.
8256 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
8258 (define_vars_for_type): Handle bit_field type specially.
8259 (Tests.__init__): Declare structure with bit-field element.
8261 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8264 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
8265 (MEMCPY_CHK): Define only if SHARED is defined.
8266 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
8268 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
8271 See ChangeLog.18 for earlier changes.