1 2017-10-19 Joseph Myers <joseph@codesourcery.com>
4 * sysdeps/mips/bits/long-double.h: Move to ....
5 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
7 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
9 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
11 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
12 H.J. Lu <hongjiu.lu@intel.com>
15 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
16 GLRO(dl_platform) to NULL.
17 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
18 (modules-names): Add tst-platformmod-1 and
19 x86_64/tst-platformmod-2.
20 (CFLAGS-tst-platform-1.c): New.
21 (CFLAGS-tst-platformmod-1.c): Likewise.
22 (CFLAGS-tst-platformmod-2.c): Likewise.
23 (LDFLAGS-tst-platformmod-2.so): Likewise.
24 ($(objpfx)tst-platform-1): Likewise.
25 ($(objpfx)tst-platform-1.out): Likewise.
26 (tst-platform-1-ENV): Likewise.
27 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
28 * sysdeps/x86_64/tst-platform-1.c: New file.
29 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
30 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
32 2017-10-19 Mike FABIAN <mfabian@redhat.com>
35 * locale/iso-639.def: Add Karbi.
36 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
37 * localedata/locales/mjw_IN: New file.
39 2017-10-18 Joseph Myers <joseph@codesourcery.com>
41 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
42 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
43 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
44 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
45 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
46 (libm_alias_ldouble_other_r): Also create _Float128 alias.
47 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
49 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
50 (libm_alias_ldouble_other_r): Also create _Float128 alias.
51 * manual/math.texi (Mathematics): Document additional architecture
52 support for _Float128.
53 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
54 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
55 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
56 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
57 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
58 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
59 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
60 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
61 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
62 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
63 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
64 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
65 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
66 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
67 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
69 2017-10-18 Renlin Li <renlin.li@arm.com>
71 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
72 _DYNAMIC symbol to calculate load address.
74 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
76 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
77 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
79 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
80 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
82 2017-10-18 Mike FABIAN <mfabian@redhat.com>
85 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
86 and improve readability by using more ASCII.
87 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
88 and improve readability by using more ASCII.
90 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
92 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
93 not all targets support atomics on bool.
95 2017-10-17 Joseph Myers <joseph@codesourcery.com>
97 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
98 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
100 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
101 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
102 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
103 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
104 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
105 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
107 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
109 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
112 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
115 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
116 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
117 (do_check_remalloced_chunk): Fix build bug.
118 (do_check_malloc_state): Add assert that checks arena->top.
119 (malloc_consolidate): Remove initialization.
120 (int_mallinfo): Remove call to malloc_consolidate.
121 (__libc_mallopt): Clarify why malloc_consolidate is needed.
123 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
125 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
126 (have_fastchunks): Remove.
127 (clear_fastchunks): Remove.
128 (set_fastchunks): Remove.
129 (malloc_state): Add have_fastchunks.
130 (malloc_init_state): Use have_fastchunks.
131 (do_check_malloc_state): Remove incorrect invariant checks.
132 (_int_malloc): Use have_fastchunks.
133 (_int_free): Likewise.
134 (malloc_consolidate): Likewise.
136 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
138 * malloc/malloc.c (tcache_put): Inline.
139 (tcache_get): Inline.
141 2017-10-17 Jordi Mallach <jordi@gnu.org>
143 Aurelien Jarno <aurelien@aurel32.net>
145 * localedata/locales/ca_ES@valencia: New file.
146 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
148 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
151 * math/math.h: Let signbit use the builtin in C++ mode with gcc
154 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
156 * scripts/build-many-glibcs.py (Context.add_all_configs):
157 Add arm-linux-gnueabihf multiarch extra_glibcs.
159 * sysdeps/generic/ifunc-init.h: New file.
160 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
162 2017-10-17 Mike FABIAN <mfabian@redhat.com>
165 * localedata/locales/el_GR: Set n_cs_precedes to 0.
166 * localedata/locales/el_CY: copy "el_GR" because it is identical.
167 * stdlib/tst-strfmon_l.c: adapt test case.
169 2017-10-16 Joseph Myers <joseph@codesourcery.com>
171 * sysdeps/generic/float128-abi.h: New file.
172 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
173 non-__prefixed symbols to ....
174 * math/Versions: ... here. Include <float128-abi.h>.
175 * stdlib/Versions ... and here. Include <float128-abi.h>
177 2017-10-16 Florian Weimer <fweimer@redhat.com>
179 * version.h (VERSION): Switch to ".9000" as the development
182 2017-10-16 Florian Weimer <fweimer@redhat.com>
185 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
186 compat_symbol_reference to access non-default version.
188 2017-10-16 Florian Weimer <fweimer@redhat.com>
190 * malloc/Makefile (others-extras): Set to mcheck-init.o.
192 2017-10-16 Carlos O'Donell <carlos@redhat.com>
194 * include/shlib-compat.h (compat_symbol_reference): Update
197 2017-10-16 Joseph Myers <joseph@codesourcery.com>
199 * math/Makefile (test-types): Add
200 $(type-float128-$(float128-alias-fcts)).
201 * math/test-float128.h (TYPE_STR): Define conditional on
202 [FLT128_MANT_DIG == LDBL_MANT_DIG].
204 (ULP_I_IDX): Likewise.
206 * stdlib/strtold.c: Include <bits/floatn.h>
207 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
208 and later undefine as macro. Define as weak alias if
210 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
211 and later undefine as macro. Define as weak alias if
213 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
214 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
215 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
216 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
217 Define and later undefine as macro. Define as weak alias if
219 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
221 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
222 Define and later undefine as macro. Define as weak alias if
224 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
225 Define and later undefine as macro. Define as weak alias if
228 2017-10-15 Carlos O'Donell <carlos@redhat.com>
230 * localedata/collate-test.c (allocate_arrays): Don't use \n in
231 record_verbose messages.
233 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
236 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
237 to silence -O3 -Wall warning with GCC 7.
239 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
241 * Makeconfig (+link-static-before-libc): Use the first of
242 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
243 * gmon/Makefile (tests): Add tst-gmon-static.
244 (tests-static): Likewise.
245 (CFLAGS-tst-gmon-static.c): New.
246 (CRT-tst-gmon-static): Likewise.
247 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
248 (tst-gmon-static-ENV): Likewise.
249 (tests-special): Likewise.
250 ($(objpfx)tst-gmon-static.out): Likewise.
251 (clean-tst-gmon-static-data): Likewise.
252 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
253 * gmon/tst-gmon-static-gprof.sh: New file.
254 * gmon/tst-gmon-static.c: Likewise.
256 2017-10-13 Carlos O'Donell <carlos@redhat.com>
259 * locale/programs/linereader.c (get_string): Don't warn on
260 non-symbolic character.
262 2017-10-13 Carlos O'Donell <carlos@redhat.com>
265 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
268 2017-10-13 Carlos O'Donell <carlos@redhat.com>
271 * locale/programs/record-status.h: New file
272 * locale/programs/locale.c: Add comment.
273 * locale/programs/charmap-dir.c: Don't include error.h.
274 (charmap_opendir): Use record_error.
275 * locale/programs/charmap.c: Don't include error.h.
276 (charmap_read): Use record_error, and record_warning.
277 (parse_charmap): Likewise.
278 * locale/programs/ld-address.c: Don't include error.h.
279 (address_finish): Use record_error, and record_warning.
280 * locale/programs/ld-collate.c: Don't include error.h.
281 (collate_finish): Use record_error, and record_error_at_line.
282 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
283 (ctype_class_new): Likewise.
284 (ctype_map_new): Likewise.
285 (set_one_default): Likewise.
286 (set_class_defaults): Likewise.
287 (translit_flatten): Likewise.
288 (allocate_arrays): Use record_error, and record_verbose.
289 * locale/programs/ld-identification.c: Don't include error.h.
290 (indentation_finish): Use record_error and record_warning.
291 * locale/programs/ld-measurement.c: Don't include error.h.
292 (measurement_finish): Use record_error.
293 * locale/programs/ld-messages.c
294 (message_finish): Likewise.
295 * locale/programs/ld-monetary.c
296 (monetary_finish): Likewise.
297 * locale/programs/ld-name.c (name_finish): Use record_error
299 * locale/programs/ld-numeric.c
300 (numeric_finish): Use record_error.
301 * locale/programs/ld-paper.c: Don't include error.h.
302 (paper_finish): Use record_error.
303 * locale/programs/ld-telephone.c: Don't include error.h.
304 (telephone_finish): Use record_error.
305 * locale/programs/ld-time.c (time_finish): Likewise.
306 * locale/programs/linereader.h (lr_error): Make inline func.
307 * locale/programs/localedef.c: Define recorded_warning_count,
308 and recorded_error_count.
309 (main): Use record_error. Use recorded_error_count and
310 recorded_warning_count to issue correct error returns.
311 (add_to_readlist): Use record_error.
312 (find_locale): Likewise.
313 (load_locale): Likewise.
314 * locale/programs/localedef.h: Remove be_quiet
316 * locale/programs/locarchive.c (compare_from_file): Use
318 * locale/programs/locfile.c (write_locale_data): Use
320 * locale/programs/repertoire.c: Dont include error.h.
321 (repertoire_complain): Use record_error.
322 * localedata/tst-fmon.sh: Expect failures from localedef.
323 * localedata/tst-locale.sh: Likewise.
324 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
326 2017-10-12 Carlos O'Donell <carlos@redhat.com>
328 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
332 (i18n_ctype): ...this.
333 (i18n-report): Rename to...
334 (i18n_ctype-report): ...this.
335 * localedata/locales/i18n_ctype: Regenerate.
336 * localedata/locales/i18n: copy i18n_ctype.
338 2017-10-13 Joseph Myers <joseph@codesourcery.com>
340 * stdlib/strfroml.c: Include <bits/floatn.h>.
341 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
342 Define before include of <stdlib.h> and undefine afterwards, then
343 define as weak alias.
345 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
346 Undefine and restore default definition. Use
347 libm_alias_ldouble_other.
349 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
352 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
355 2017-10-13 James Clarke <jrtc27@jrtc27.com>
357 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
358 Assign sym_map to be map for local symbols, as TLS relocations
359 use sym_map to determine whether the symbol is defined and to
360 extract the TLS information.
361 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
362 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
364 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
367 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
368 (math_force_eval): Add powerpc version.
371 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
374 * stdio-common/tst-printf.sh: Likewise.
375 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
376 ifdef clause in order to set the carry bit right. Replace r0 by
377 0 without changing the behavior.
379 2017-10-13 Joseph Myers <joseph@codesourcery.com>
381 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
382 <libm-alias-ldouble.h>.
383 (fabsl): Define using libm_alias_ldouble.
384 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
385 <libm-alias-ldouble.h>.
386 (fabsl): Define using libm_alias_ldouble.
388 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
389 Remove conditional code.
391 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
392 Rename to __clog10_internal_l.
393 (__clog10_internal_l): Define aliases using
394 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
397 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
399 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
400 * benchtests/sincosf-inputs: New file.
401 * benchtests/cosf-inputs: New file.
402 * benchtests/sinf-inputs: New file.
404 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
406 * posix/tst-spawn.c (do_test): Wait for both children.
408 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
411 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
412 tests-pie): Add tst-gmon-pie.
413 (CFLAGS-tst-gmon-pie.c): New.
414 (CRT-tst-gmon-pie): Likewise.
415 (tst-gmon-pie-ENV): Likewise.
416 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
417 ($(objpfx)tst-gmon-pie.out): Likewise.
418 (clean-tst-gmon-pie-data): Likewise.
419 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
420 * gmon/gmon.c [PIC]: Include <link.h>.
421 [PIC] (callback): New function.
422 (write_hist): Add an argument for load address. Subtract load
424 (write_call_graph): Likewise.
425 (write_gmon): Call __dl_iterate_phdr to get load address, pass
426 it to write_hist and write_call_graph.
427 * gmon/tst-gmon-pie.c: New file.
429 2017-10-11 Joseph Myers <joseph@codesourcery.com>
431 * math/Makefile (test-types-basic): New variable.
432 (test-types): Likewise.
433 (libm-test-support): Use $(test-types) instead of $(types).
434 (libm-tests-base-normal): Likewise.
435 (libm-tests-base-finite): Likewise.
436 (libm-tests-base-inline): Likewise.
437 (generated): Likewise.
438 ($(objpfx)libm-test-support-$(t).c): Likewise.
439 (libm-tests-for-type iterator): Likewise.
440 (libm-test-support iterator): Likewise.
441 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
442 (ulp_idx): Use ULP_IDX.
443 * math/test-ldouble.h: Include <float.h>.
444 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
445 (ULP_IDX): New macro.
446 (ULP_I_IDX): Likewise.
447 * math/test-double.h (ULP_IDX): Likewise.
448 (ULP_I_IDX): Likewise.
449 * math/test-float.h (ULP_IDX): Likewise.
450 (ULP_I_IDX): Likewise.
451 * math/test-float128.h (ULP_IDX): Likewise.
452 (ULP_I_IDX): Likewise.
454 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
456 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
457 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
458 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
459 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
460 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
461 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
462 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
463 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
464 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
465 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
466 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
467 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
468 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
469 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
470 (SINGLE_THREAD_BY_GLOBAL): Define.
471 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
473 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
475 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
477 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
479 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
480 (SINGLE_THREAD_BY_GLOBAL): Likewise.
481 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
484 2017-10-11 Andreas Schwab <schwab@suse.de>
486 * nis/Makefile (aux): Remove.
487 * nscd/Makefile (aux): Add nscd_hash.
488 (nscd-modules): Likewise.
489 ($(objpfx)nscd): Don't depend on libnsl.
490 * nscd/nscd_hash.c: New file.
491 * nscd/nscd_hash.h: Likewise.
492 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
493 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
494 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
495 instead of <nis/rpcsvc/nis.h>.
496 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
498 2017-10-11 Florian Weimer <fweimer@redhat.com>
501 Avoid large NSS buffers with many addresses, aliases.
502 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
503 using dynarrays and struct alloc_buffer.
504 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
505 (tst-nss-files-hosts-multi): Link with -ldl.
506 * nss/tst-nss-files-hosts-multi.c: New file.
508 2017-10-11 Florian Weimer <fweimer@redhat.com>
511 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
512 scratch_buffer. Eliminate gotos.
514 2017-10-11 Joseph Myers <joseph@codesourcery.com>
516 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
517 libm_alias_ldouble_other.
518 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
519 undefine and redefine.
520 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
521 (exp10l): Do not define here.
522 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
523 (weak_alias): Undefine and redefine.
524 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
525 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
526 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
527 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
529 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
530 [!__fma] (fma): Define using libm_alias_double.
531 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
532 [!__fmaf] (fmaf): Define using libm_alias_float.
533 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
534 (fmal): Define using libm_alias_ldouble.
536 2017-10-10 Joseph Myers <joseph@codesourcery.com>
538 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
540 (libm_alias_double_other): Likewise.
541 (libm_alias_double_r): Use libm_alias_double_other_r.
542 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
544 (libm_alias_float_other): Likewise.
545 (libm_alias_float_r): Use libm_alias_float_other_r.
546 * sysdeps/generic/libm-alias-float128.h
547 (libm_alias_float128_other_r): New macro.
548 (libm_alias_float128_other): Likewise.
549 (libm_alias_float128_r): Use libm_alias_float128_other_r.
550 * sysdeps/generic/libm-alias-ldouble.h
551 (libm_alias_ldouble_other_r): New macro.
552 (libm_alias_ldouble_other): Likewise.
553 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
554 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
555 (libm_alias_double_other_r): New macro.
556 (libm_alias_double_other): Likewise.
557 (libm_alias_double_r): Use libm_alias_double_other_r.
558 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
559 (libm_alias_ldouble_other_r): New macro.
560 (libm_alias_ldouble_other): Likewise.
561 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
562 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
563 [!USE_AS_COMPAT]: Use libm_alias_double_other.
564 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
565 [!USE_AS_COMPAT]: Use libm_alias_float_other.
566 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
567 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
568 * math/w_exp2f.c: Use libm_alias_float_other.
569 * math/w_expf.c: Likewise.
570 * math/w_log2f.c: Likewise.
571 * math/w_logf.c: Likewise.
572 * math/w_powf.c: Likewise.
573 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
574 [!__exp2f]: Use libm_alias_float_other.
575 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
576 [!__expf]: Use libm_alias_float_other.
577 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
578 [!__log2f]: Use libm_alias_float_other.
579 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
580 [!__logf]: Use libm_alias_float_other.
581 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
582 [!__powf]: Use libm_alias_float_other.
584 2017-10-10 Florian Weimer <fweimer@redhat.com>
586 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
588 (_nss_files_gethostbyname3_r): Call it.
590 2017-10-09 Joseph Myers <joseph@codesourcery.com>
592 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
593 error. Remove default definition of declare_mgen_alias.
594 [!declare_mgen_alias_r]: Likewise.
595 * sysdeps/generic/math-type-macros-double.h
596 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
597 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
598 (declare_mgen_alias_r): Likewise.
599 * sysdeps/generic/math-type-macros-float128.h
600 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
601 * sysdeps/generic/math-type-macros-ldouble.h
602 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
603 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
605 (declare_mgen_alias_r_s): Likewise.
606 (declare_mgen_alias_r): Likewise.
607 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
608 (lgamma_r): Define using libm_alias_double_r.
609 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
610 (lgammaf_r): Define using libm_alias_float_r.
611 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
612 (lgammal_r): Define using libm_alias_ldouble_r.
613 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
614 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
616 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
618 * lib/glob.c (__glob_pattern_type): Remove now-spurious
621 2017-10-09 Joseph Myers <joseph@codesourcery.com>
623 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
625 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
628 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
629 [__cplusplus >= 201103] (__USE_ISOC99): Define.
630 * math/Makefile (test-math-cxx11): New test.
631 * math/test-math-cxx11.cc: New file.
633 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
635 * login/openpty.c (openpty): Close slave pty file descriptor on error.
637 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
638 call to allocate the slave pty file descriptor.
640 2017-10-06 Joseph Myers <joseph@codesourcery.com>
642 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
643 [!__fma] (fma): Define using libm_alias_double.
644 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
645 [!__fma] (fma): Define using libm_alias_double.
647 * sysdeps/ieee754/float128/float128_private.h: Include
648 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
649 (libm_alias_ldouble_r): Undefine and redefine.
650 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
651 <libm-alias-ldouble.h>.
652 (asinhl): Define using libm_alias_ldouble.
653 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
654 <libm-alias-ldouble.h>.
655 (atanl): Define using libm_alias_ldouble.
656 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
657 <libm-alias-ldouble.h>.
658 (cbrtl): Define using libm_alias_ldouble.
659 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
660 <libm-alias-ldouble.h>.
661 (ceill): Define using libm_alias_ldouble.
662 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
663 <libm-alias-ldouble.h>.
664 (copysignl): Define using libm_alias_ldouble.
665 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
666 <libm-alias-ldouble.h>.
667 (cosl): Define using libm_alias_ldouble.
668 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
669 <libm-alias-ldouble.h>.
670 (erfl): Define using libm_alias_ldouble.
672 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
673 <libm-alias-ldouble.h>.
674 (expm1l): Define using libm_alias_ldouble.
675 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
676 <libm-alias-ldouble.h>.
677 (fabsl): Define using libm_alias_ldouble.
678 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
679 <libm-alias-ldouble.h>.
680 (floorl): Define using libm_alias_ldouble.
681 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
682 <libm-alias-ldouble.h>.
683 (fmal): Define using libm_alias_ldouble.
684 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
685 <libm-alias-ldouble.h>.
686 (frexpl): Define using libm_alias_ldouble.
687 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
689 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
690 <libm-alias-ldouble.h>.
691 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
693 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
694 <libm-alias-ldouble.h>.
695 (getpayloadl): Define using libm_alias_ldouble.
696 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
697 <libm-alias-ldouble.h>.
698 (llrintl): Define using libm_alias_ldouble.
699 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
700 <libm-alias-ldouble.h>.
701 (llroundl): Define using libm_alias_ldouble.
702 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
703 <libm-alias-ldouble.h>.
704 (logbl): Define using libm_alias_ldouble.
705 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
706 <libm-alias-ldouble.h>.
707 (lrintl): Define using libm_alias_ldouble.
708 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
709 <libm-alias-ldouble.h>.
710 (lroundl): Define using libm_alias_ldouble.
711 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
712 <libm-alias-ldouble.h>.
713 (modfl): Define using libm_alias_ldouble.
714 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
715 <libm-alias-ldouble.h>.
716 (nearbyintl): Define using libm_alias_ldouble.
717 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
718 <libm-alias-ldouble.h>.
719 (nextafterl): Define using libm_alias_ldouble.
720 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
721 <libm-alias-ldouble.h>.
722 (nextupl): Define using libm_alias_ldouble.
723 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
724 <libm-alias-ldouble.h>.
725 (remquol): Define using libm_alias_ldouble.
726 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
727 <libm-alias-ldouble.h>.
728 (rintl): Define using libm_alias_ldouble.
729 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
730 <libm-alias-ldouble.h>.
731 (roundevenl): Define using libm_alias_ldouble.
732 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
733 <libm-alias-ldouble.h>.
734 (roundl): Define using libm_alias_ldouble.
735 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
736 using libm_alias_ldouble.
737 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
738 <libm-alias-ldouble.h>.
739 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
740 Define using libm_alias_ldouble.
741 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
742 <libm-alias-ldouble.h>.
743 (sincosl): Define using libm_alias_ldouble.
744 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
745 <libm-alias-ldouble.h>.
746 (sinl): Define using libm_alias_ldouble.
747 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
748 <libm-alias-ldouble.h>.
749 (tanhl): Define using libm_alias_ldouble.
750 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
751 <libm-alias-ldouble.h>.
752 (tanl): Define using libm_alias_ldouble.
753 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
754 <libm-alias-ldouble.h>.
755 (totalorderl): Define using libm_alias_ldouble.
756 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
757 <libm-alias-ldouble.h>.
758 (totalordermagl): Define using libm_alias_ldouble.
759 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
760 <libm-alias-ldouble.h>.
761 (truncl): Define using libm_alias_ldouble.
762 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
764 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
766 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
767 <libm-alias-ldouble.h>.
768 (weak_alias): Do not undefine and redefine.
769 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
770 (copysignl): Define with long_double_symbol only if [IS_IN
772 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
773 <libm-alias-ldouble.h>.
774 (weak_alias): Do not undefine and redefine.
775 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
776 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
777 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
778 <libm-alias-ldouble.h>.
779 (weak_alias): Do not undefine and redefine.
780 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
781 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
782 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
783 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
784 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
785 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
786 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
787 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
788 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
789 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
790 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
791 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
792 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
793 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
794 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
795 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
796 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
797 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
798 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
799 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
800 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
801 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
802 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
803 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
804 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
805 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
807 2017-10-06 Carlos O'Donell <carlos@redhat.com>
810 * malloc/malloc.c (tcache_shutting_down): Use bool type.
811 (tcache_thread_freeres): Set tcache_shutting_down before
813 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
814 * malloc/tst-malloc-tcache-leak.c: New file.
816 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
818 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
819 back to powerpc32 file.
820 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
821 (memrchr): Add __memrchr_power8 to ifunc list.
822 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
823 extra bytes for unaligned inputs.
825 2017-10-06 Joseph Myers <joseph@codesourcery.com>
827 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
828 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
829 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
830 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
831 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
833 2017-10-05 Joseph Myers <joseph@codesourcery.com>
835 * sysdeps/arm/libm-test-ulps: Update.
837 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
838 <libm-alias-ldouble.h>.
839 (asinhl): Define using libm_alias_ldouble.
840 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
841 <libm-alias-ldouble.h>.
842 (cbrtl): Define using libm_alias_ldouble.
843 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
844 <libm-alias-ldouble.h>.
845 (copysignl): Define using libm_alias_ldouble.
846 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
847 <libm-alias-ldouble.h>.
848 (cosl): Define using libm_alias_ldouble.
849 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
850 <libm-alias-ldouble.h>.
851 (erfl): Define using libm_alias_ldouble.
853 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
854 <libm-alias-ldouble.h>.
855 (fmal): Define using libm_alias_ldouble.
856 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
857 <libm-alias-ldouble.h>.
858 (frexpl): Define using libm_alias_ldouble.
859 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
861 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
862 <libm-alias-ldouble.h>.
863 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
865 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
866 <libm-alias-ldouble.h>.
867 (getpayloadl): Define using libm_alias_ldouble.
868 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
869 <libm-alias-ldouble.h>.
870 (llrintl): Define using libm_alias_ldouble.
871 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
872 <libm-alias-ldouble.h>.
873 (llroundl): Define using libm_alias_ldouble.
874 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
875 <libm-alias-ldouble.h>.
876 (lrintl): Define using libm_alias_ldouble.
877 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
878 <libm-alias-ldouble.h>.
879 (lroundl): Define using libm_alias_ldouble.
880 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
881 <libm-alias-ldouble.h>.
882 (modfl): Define using libm_alias_ldouble.
883 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
884 <libm-alias-ldouble.h>.
885 (nextupl): Define using libm_alias_ldouble.
886 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
887 <libm-alias-ldouble.h>.
888 (remquol): Define using libm_alias_ldouble.
889 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
890 <libm-alias-ldouble.h>.
891 (roundevenl): Define using libm_alias_ldouble.
892 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
893 <libm-alias-ldouble.h>.
894 (roundl): Define using libm_alias_ldouble.
895 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
896 using libm_alias_ldouble.
897 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
898 <libm-alias-ldouble.h>.
899 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
900 <libm-alias-ldouble.h>.
901 (setpayloadsigl): Define using libm_alias_ldouble.
902 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
903 <libm-alias-ldouble.h>.
904 (sincosl): Define using libm_alias_ldouble.
905 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
906 <libm-alias-ldouble.h>.
907 (sinl): Define using libm_alias_ldouble.
908 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
909 <libm-alias-ldouble.h>.
910 (tanhl): Define using libm_alias_ldouble.
911 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
912 <libm-alias-ldouble.h>.
913 (tanl): Define using libm_alias_ldouble.
914 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
915 <libm-alias-ldouble.h>.
916 (totalorderl): Define using libm_alias_ldouble.
917 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
918 <libm-alias-ldouble.h>.
919 (totalordermagl): Define using libm_alias_ldouble.
920 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
922 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
925 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
927 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
929 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
930 (__libc_ifunc_impl_list): Likewise.
931 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
932 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
934 * benchtests/bench-memmove-walk.c: New file.
935 * benchtests/Makefile (string-benchset): Add it.
937 * benchtests/bench-memset-walk.c: New file.
938 * benchtests/Makefile (string-benchset): Add it.
940 * benchtests/bench-memcpy-walk.c: New file.
941 * benchtests/Makefile (string-benchset): Add it.
943 2017-10-05 Florian Weimer <fweimer@redhat.com>
945 nscd: Eliminate compilation time dependency in the build output.
946 * nscd/nscd_stat.c (STATDATA_VERSION)
947 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
948 (STATDATA_VERSION_FULL): New macro definitions.
949 (compilation): Remove.
950 (struct statdata): Adjust version member.
951 (send_stats): Set version from STATDATA_VERSION_FULL.
952 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
954 2017-10-05 Joseph Myers <joseph@codesourcery.com>
956 * configure.ac (--enable-add-ons): Remove option.
957 (machine): Do not mention add-ons in comment.
958 (LIBC_PRECONFIGURE): Likewise.
959 (add_ons): Remove variable and sanity checks and logic to locate
961 (add_ons_automatic): Remove variable.
962 (configured_add_ons): Likewise.
963 (add_ons_sfx): Likewise.
964 (add_ons_pfx): Likewise.
965 (add_on_subdirs): Likewise.
966 (sysnames_add_ons): Likewise. Remove loop over add-ons and
967 consideration of add-ons in Implies handling.
968 (sysdeps_add_ons): Likewise.
969 * configure: Regenerated.
970 * libidn/configure.ac: Remove.
971 * libidn/configure: Likewise.
972 * sysdeps/unix/inet/configure.ac: New file.
973 * sysdeps/unix/inet/configure: New generated file.
974 * sysdeps/unix/inet/Subdirs: Add libidn.
975 * Makeconfig (sysdeps-srcdirs): Remove variable.
976 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
977 ($(common-objpfx)config.status): Do not depend on add-on files.
978 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
980 (all-subdirs): Do not include $(add-on-subdirs).
981 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
982 * config.make.in (add-ons): Remove variable.
983 (add-on-subdirs): Likewise.
984 (sysdeps-add-ons): Likewise.
985 * manual/Makefile (add-chapters): Remove.
986 ($(objpfx)texis): Do not depend on $(add-chapters).
987 (nonexamples): Do not handle $(add-chapters).
988 (examples): Do not handle $(add-ons).
989 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
991 * manual/install.texi (Installation): Do not mention add-ons.
992 (--enable-add-ons): Do not document configure option.
993 * INSTALL: Regenerated.
994 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
995 * manual/maint.texi (Hierarchy Conventions): Do not mention
997 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
999 * scripts/gen-sorted.awk: Do not handle Subdirs files from
1001 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
1002 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
1004 2017-10-05 Andreas Schwab <schwab@suse.de>
1007 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
1008 (_IO_flush_all_lockp): Always lock list_all_lock.
1009 (_IO_flush_all_linebuffered): Likewise.
1010 (_IO_unbuffer_all): Likewise.
1012 2017-10-05 Florian Weimer <fweimer@redhat.com>
1015 Do not flush stdio streams on abort.
1016 * stdlib/abort.c (fflush): Remove macro definition.
1017 (abort): Remove stages related to stdio flushing.
1019 2017-10-05 Florian Weimer <fweimer@redhat.com>
1021 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
1023 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
1025 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1027 2017-10-05 Florian Weimer <fweimer@redhat.com>
1029 * support/support_format_hostent.c (support_format_hostent): Add
1030 more error information for NETDB_INTERNAL.
1032 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1034 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
1035 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
1036 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
1037 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
1038 AC_DEFINE if multi-arch is enabled.
1039 * sysdeps/i386/configure: Regenerated.
1041 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1043 * Makeconfig (+link-static-before-libc): Use
1044 $(DEFAULT-LDFLAGS-$(@F)).
1045 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
1046 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
1047 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
1049 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1051 * elf/Makefile (tests): Add tst-main1.
1052 (modules-names): Add tst-main1mod.
1053 ($(objpfx)tst-main1): New.
1054 (CRT-tst-main1): Likewise.
1055 (LDFLAGS-tst-main1): Likewise.
1056 (LDLIBS-tst-main1): Likewise.
1057 (tst-main1mod.so-no-z-defs): Likewise.
1058 * elf/tst-main1.c: New file.
1059 * elf/tst-main1mod.c: Likewise.
1061 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1063 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
1065 2017-10-04 Joseph Myers <joseph@codesourcery.com>
1067 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
1068 (fma): Define using libm_alias_double.
1069 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
1070 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
1072 (fmal): Do not define as compat symbol here.
1073 * sysdeps/alpha/fpu/s_fma.c: New file.
1075 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1077 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
1079 2017-10-04 Joseph Myers <joseph@codesourcery.com>
1082 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
1084 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
1086 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
1087 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
1088 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
1089 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
1090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1091 Include <math_ldbl_opt.h>
1092 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
1094 (compat_symbol): Undefine and redefine.
1095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
1097 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
1098 (compat_symbol): Undefine and redefine.
1099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
1100 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
1101 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
1103 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
1104 GLIBC_2.0 copysignl symbol.
1105 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
1106 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
1108 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
1110 2017-10-04 Florian Weimer <fweimer@redhat.com>
1112 * scripts/check-local-headers.sh: Ignore nspr4 header file
1113 directory in addition to nspr.
1115 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
1118 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
1119 * configure: Regenerate.
1120 * crypt/Makefile (nss-cpp-flags): New variable.
1121 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
1122 (CPPFLAGS-md5-crypt.c): Use it.
1123 * scripts/check-local-headers.sh: Ignore nspr header file
1126 2017-10-04 Andreas Schwab <schwab@suse.de>
1128 * nis/Makefile (services): Remove compat.
1129 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
1130 ($(objpfx)libnss_compat.so): Remove rule.
1131 * nis/Versions (libnss_compat): Remove.
1132 * nss/Makefile (services): Add compat.
1133 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
1134 * nss/Versions (libnss_compat): Define.
1135 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
1136 Don't include <rpc/types.h>. Replace bool_t by bool.
1137 * nss/nss_compat/compat-initgroups.c: Likewise.
1138 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
1139 instead of <rpcsrv/ypclnt.h>.
1140 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
1141 yp_get_default_domain.
1142 * nss/nss_compat/compat-pwd.c: Likewise.
1143 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
1144 yp_get_default_domain.
1145 * nss/nss_compat/nisdomain.c: New file.
1146 * nss/nss_compat/nisdomain.h: Likewise.
1148 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1151 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
1152 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1154 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1157 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
1158 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
1160 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1162 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
1163 "movl main@GOTOFF(%ebx), %eax".
1165 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1167 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
1168 allow undefined _DYNAMIC in PIE libc.a.
1169 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
1172 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1174 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
1177 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1179 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
1182 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1184 * math/test-math-iscanonical.cc (error): Replace bool with int.
1186 2017-10-03 Joseph Myers <joseph@codesourcery.com>
1188 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
1189 (modf): Define using libm_alias_double, only if [!__modf].
1190 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
1191 <libm-alias-double.h>.
1192 (modf): Define using libm_alias_double, only if [!__modf].
1193 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
1195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
1196 (weak_alias): Do not undefine and redefine.
1197 (strong_alias): Likewise.
1198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
1199 (weak_alias): Likewise.
1200 (strong_alias): Likewise.
1202 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
1203 (logb): Define using libm_alias_double, only if [!__logb].
1204 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
1205 <libm-alias-double.h>.
1206 (logb): Define using libm_alias_double, only if [!__logb].
1207 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
1208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
1209 (weak_alias): Do not undefine and redefine.
1210 (strong_alias): Likewise.
1211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
1212 (weak_alias): Likewise.
1213 (strong_alias): Likewise.
1215 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1217 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
1218 Check SHARED instead PIC.
1220 2017-10-03 Joseph Myers <joseph@codesourcery.com>
1222 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
1223 [!__fmaf] (fmaf): Define using libm_alias_float.
1225 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
1226 (frexp): Define using libm_alias_double.
1227 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
1228 <libm-alias-double.h>.
1229 (frexp): Define using libm_alias_double.
1230 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
1233 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1236 * math/math.h: Trivial fix for unbalanced parentheses in comment.
1237 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
1238 (CFLAGS-test-math-iscanonical.cc): New variable.
1239 * math/test-math-iscanonical.cc: New file.
1240 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
1241 Provide a C++ implementation based on function overloading,
1242 rather than using __MATH_TG, which uses C-only builtins.
1243 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
1245 * sysdeps/powerpc/powerpc64le/Makefile
1246 (CFLAGS-test-math-iscanonical.cc): New variable.
1248 2017-10-03 Joseph Myers <joseph@codesourcery.com>
1250 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
1251 (ceil): Define using libm_alias_double.
1252 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
1253 (floor): Define using libm_alias_double.
1254 * sysdeps/ieee754/dbl-64/s_llround.c: Include
1255 <libm-alias-double.h>.
1256 (llround): Define using libm_alias_double.
1257 * sysdeps/ieee754/dbl-64/s_lround.c: Include
1258 <libm-alias-double.h>.
1259 (lround): Define using libm_alias_double.
1260 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
1261 <libm-alias-double.h>.
1262 (nearbyint): Define using libm_alias_double.
1263 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
1264 <libm-alias-double.h>.
1265 (remquo): Define using libm_alias_double.
1266 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
1267 (rint): Define using libm_alias_double.
1268 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
1269 (round): Define using libm_alias_double.
1270 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
1271 (trunc): Define using libm_alias_double.
1272 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
1273 <libm-alias-double.h>.
1274 (ceil): Define using libm_alias_double.
1275 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
1276 <libm-alias-double.h>.
1277 (floor): Define using libm_alias_double.
1278 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
1279 <libm-alias-double.h>.
1280 (llround): Define using libm_alias_double.
1281 [_LP64] (lround): Likewise.
1282 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
1283 <libm-alias-double.h>.
1284 [!_LP64] (lround): Define using libm_alias_double.
1285 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
1286 <libm-alias-double.h>.
1287 (nearbyint): Define using libm_alias_double.
1288 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
1289 <libm-alias-double.h>.
1290 (remquo): Define using libm_alias_double.
1291 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
1292 <libm-alias-double.h>.
1293 (rint): Define using libm_alias_double.
1294 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
1295 <libm-alias-double.h>.
1296 (round): Define using libm_alias_double.
1297 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
1298 <libm-alias-double.h>.
1299 (trunc): Define using libm_alias_double.
1300 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
1301 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
1302 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
1303 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
1304 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
1305 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
1306 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
1307 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
1308 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
1310 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1312 * math/w_remainder.c: New file.
1313 * math/w_remainderf.c: New file.
1314 * math/w_remainderl.c: New file.
1316 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1318 * elf/rtld.c (BOOTSTRAP_MAP): New.
1319 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
1320 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1322 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1324 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1327 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1329 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
1330 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
1331 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
1332 rtld_hidden_data_ver): Define to empty.
1333 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
1334 __assert_perror_fail): Likewise.
1335 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1336 (__rewinddir): Likewise.
1337 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1338 (__profile_frequency): Likewise.
1339 * include/setjmp.h (__sigsetjmp): Likewise.
1340 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
1341 __libc_sigaction): Likewise.
1342 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
1343 not set hidden attribute.
1344 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
1345 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
1346 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
1347 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
1348 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
1349 __fxstatat64): Likewise.
1350 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1351 (__uname): Likewise.
1352 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1353 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
1354 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
1355 (NO_RTLD_HIDDEN): Set.
1356 * sysdeps/mach/hurd/configure: Refresh.
1357 * config.h.in: Refresh.
1359 2017-10-02 Joseph Myers <joseph@codesourcery.com>
1361 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
1362 (atan): Define using libm_alias_double.
1363 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
1364 (tan): Define using libm_alias_double.
1365 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
1366 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
1368 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
1369 define as weak alias of __atan. Do not define any aliases if
1371 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
1372 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
1373 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
1374 as weak alias of __tan. Do not define any aliases if [__tan].
1375 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
1376 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
1377 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
1379 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
1380 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
1381 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
1382 and define as weak alias of __atan.
1383 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
1385 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
1386 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
1387 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
1388 define as weak alias of __tan.
1390 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1392 * math/w_lgamma.c: New file.
1393 * math/w_lgammaf.c: New file.
1394 * math/w_lgammal.c: New file.
1396 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1398 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
1399 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
1400 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
1401 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
1402 * sysdeps/ieee754/flt-32/w_logf.c: New file.
1403 * sysdeps/ieee754/flt-32/w_powf.c: New file.
1404 * sysdeps/i386/fpu/w_log2f.c: New file.
1405 * sysdeps/i386/fpu/w_logf.c: New file.
1406 * sysdeps/i386/fpu/w_powf.c: New file.
1407 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
1408 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
1409 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
1411 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1412 H.J. Lu <hongjiu.lu@intel.com>
1414 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
1415 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
1416 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
1417 * sysdeps/ieee754/flt-32/w_expf.c: New file.
1418 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
1420 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
1421 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
1422 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
1423 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
1424 * sysdeps/i386/fpu/w_exp2f.c: New file.
1425 * sysdeps/i386/fpu/w_expf.c: New file.
1426 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
1427 * sysdeps/x86_64/fpu/w_expf.c: New file.
1429 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1431 * math/Versions (logf): New libm symbol at GLIBC_2.27.
1434 * math/w_log2f.c: New file.
1435 * math/w_logf.c: New file.
1436 * math/w_powf.c: New file.
1437 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
1438 * math/w_logf_compat.c (__logf_compat): Likewise.
1439 * math/w_powf_compat.c (__powf_compat): Likewise.
1440 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
1441 * sysdeps/ia64/fpu/e_logf.S: Likewise.
1442 * sysdeps/ia64/fpu/e_powf.S: Likewise.
1443 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1444 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1445 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1446 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1447 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1448 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1449 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1450 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1451 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1452 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1453 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1454 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1463 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1464 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1465 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1466 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1467 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1472 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1473 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1474 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1476 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1478 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1479 (sysdep_routines): Add memrchr_power8.
1480 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1481 (memrchr): Add __memrchr_power8 to list of memrchr functions.
1482 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
1484 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
1485 (memrchr): Add __memrchr_power8 to ifunc list.
1486 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
1488 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1491 * sysdeps/unix/sysv/linux/posix_fadvise64.c
1492 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
1494 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1495 (__posix_fallocate64_l64): Likewise.
1497 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1500 * sysdeps/unix/sysv/linux/sched_setaffinity.c
1501 (__sched_setaffinity_new): Add libc_hidden_proto and
1504 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1507 * include/glob.h (__glob64): Add libc_hidden_proto.
1508 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
1511 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1514 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
1517 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1520 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
1522 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1525 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
1528 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1531 * csu/version.c (__libc_print_version): Add attribute_hidden.
1533 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1536 * include/libc-internal.h (__init_misc): Add attribute_hidden.
1538 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1541 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
1543 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1546 * nscd/nscd_helper.c (__nis_hash): New prototype.
1548 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1551 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
1552 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
1554 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1555 * termios/tcgetattr.c (__tcgetattr): Likewise.
1557 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1560 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
1561 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
1562 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
1563 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
1564 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
1566 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1569 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
1571 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1574 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
1575 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
1577 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1580 * intl/hash-string.h (__hash_string): Add attribute_hidden.
1582 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1585 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
1586 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
1588 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1591 * include/ifreq.h: New file.
1592 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
1593 (__ifreq): Likewise.
1594 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
1595 (__ifreq): Likewise.
1597 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1600 * include/idna.h: New file.
1601 * inet/getnameinfo.c: Include <idna.h> instead of
1603 (__idna_to_unicode_lzlz): Removed.
1604 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
1606 (__idna_to_ascii_lz): Removed.
1607 (__idna_to_unicode_lzlz): Likewise.
1609 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1612 * include/plural-exp.h: New file.
1613 * intl/plural-exp.c: Include <plural-exp.h> instead of
1616 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1619 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
1620 "getsourcefilter.h".
1621 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
1622 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
1623 "getsourcefilter.h".
1624 (__get_sol): Removed.
1626 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1629 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
1631 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
1633 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1636 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
1639 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1642 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
1644 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1647 * include/search.h (__tdestroy): Add libc_hidden_proto.
1648 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
1650 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1653 * include/assert.h (__assert_fail_base): Add attribute_hidden.
1655 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1658 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
1661 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1664 * include/signal.h (__kill): Add libc_hidden_proto.
1665 (__sigblock): Likewise.
1666 (__sigprocmask): Likewise.
1667 (__sigaltstack): Likewise.
1668 * signal/kill.c (__kill): Add libc_hidden_def.
1669 * signal/sigblock.c (__sigblock): Likewise.
1670 * signal/sigprocmask.c (__sigprocmask): Likewise.
1671 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1672 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1673 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
1674 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
1675 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
1677 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
1679 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
1680 (__sigprocmask): Likewise.
1681 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
1683 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
1684 (__sigprocmask): Likewise.
1685 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
1688 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1691 * include/string.h (__strsep): Add libc_hidden_proto.
1692 * string/strsep.c (__strsep): Add libc_hidden_def.
1694 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1697 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
1699 (__spawni): Likewise.
1701 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1704 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
1705 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
1708 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1711 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
1713 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1716 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
1717 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
1718 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1719 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
1720 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
1722 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1723 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
1725 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1728 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
1729 (__dcigettext): Likewise.
1731 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1734 * include/sys/sysinfo.h (__get_nprocs_conf): Add
1736 (__get_nprocs): Likewise.
1737 (__get_phys_pages): Likewise.
1738 (__get_avphys_pages): Likewise.
1739 (__get_child_max): Add attribute_hidden.
1740 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
1741 (__get_nprocs): Likewise.
1742 (__get_phys_pages): Likewise.
1743 (__get_avphys_pages): Likewise.
1744 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
1746 (__get_nprocs): Likewise.
1747 (__get_phys_pages): Likewise.
1748 (__get_avphys_pages): Likewise.
1749 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
1751 (__get_nprocs_conf): Likewise.
1752 (__get_phys_pages): Likewise.
1753 (__get_avphys_pages): Likewise.
1755 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1758 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
1760 (__netlink_close): Likewise.
1761 (__netlink_free_handle): Likewise.
1762 (__netlink_request): Likewise.
1764 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1767 * include/rpc/rpc.h (__rpc_thread_variables): Add
1769 (__rpc_thread_svc_cleanup): Likewise.
1770 (__rpc_thread_clnt_cleanup): Likewise.
1771 (__rpc_thread_key_cleanup): Likewise.
1773 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1776 * include/sys/uio.h (__readv): Add libc_hidden_proto.
1777 (__writev): Likewise.
1778 * misc/readv.c (__readv): Add libc_hidden_def.
1779 * misc/writev.c (__writev): Likewise.
1780 * sysdeps/posix/readv.c (__readv): Likewise.
1781 * sysdeps/posix/writev.c (__writev): Likewise.
1782 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
1783 (__readv): Likewise.
1784 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
1785 (__writev): Likewise.
1787 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1790 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
1791 (__regcomp): Add libc_hidden_proto.
1792 (__regexec): Likewise.
1793 (__regfree): Likewise.
1794 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
1795 (__regfree): Likewise.
1796 * posix/regexec.c (__regexec): Likewise.
1798 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1801 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
1802 (__getutent): Likewise.
1803 (__getutid): Likewise.
1804 (__getutline): Likewise.
1805 (__pututline): Likewise.
1806 (__getutent_r): Likewise.
1807 (__getutid_r): Likewise.
1808 (__getutline_r): Likewise.
1809 (__utmpname): Add attribute_hidden.
1810 (__setutent): Likewise.
1811 (__endutent): Likewise.
1812 * login/getutent.c (__getutent): Add libc_hidden_def.
1813 * login/getutent_r.c (__getutent_r): Likewise.
1814 (__pututline): Likewise.
1815 * login/getutid.c (__getutid): Likewise.
1816 * login/getutid_r.c (__getutid_r): Likewise.
1817 * login/getutline.c (__getutline): Likewise.
1818 * login/getutline_r.c (__getutline_r): Likewise.
1819 * login/updwtmp.c (__updwtmp): Likewise.
1821 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1824 * include/dirent.h (__opendir): Always add attribute_hidden.
1825 (__fdopendir): Likewise.
1826 (__closedir): Likewise.
1827 (__readdir): Likewise.
1828 (__readdir64): Add libc_hidden_proto.
1829 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
1830 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
1831 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
1832 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
1835 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1838 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
1839 * include/netdb.h (__gethostbyaddr_r): Likewise.
1840 (__gethostbyname_r): Likewise.
1841 (__gethostbyname2_r): Likewise.
1842 (__getnetbyaddr_r): Likewise.
1843 (__getnetbyname_r): Likewise.
1844 (__getservbyname_r): Likewise.
1845 (__getservbyport_r): Likewise.
1846 (__getprotobyname_r): Likewise.
1847 (__getprotobynumber_r): Likewise.
1848 (__getnetgrent_r): Likewise.
1849 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
1850 (__getrpcbynumber_r): Likewise.
1851 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
1853 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1856 * include/stdio.h (__fcloseall): Add attribute_hidden.
1857 (__getline): Likewise.
1858 (__path_search): Likewise.
1859 (__gen_tempname): Likewise.
1860 (__libc_message): Likewise.
1861 (__flockfile): Likewise.
1862 (__funlockfile): Likewise.
1863 (__fxprintf): Likewise.
1864 (__fxprintf_nocancel): Likewise.
1866 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1869 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
1870 (__sgetsgent_r): Likewise.
1872 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1875 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
1876 (__statfs64): Likewise.
1877 (__fstatfs64): Likewise.
1878 * include/sys/statvfs.h (__statvfs64): Likewise.
1879 (__fstatvfs64): Likewise.
1880 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
1881 (__statfs_filesize_max): Likewise.
1882 (__statfs_symlinks): Likewise.
1883 (__statfs_chown_restricted): Likewise.
1885 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1888 * include/time.h (__tzstring): Add attribute_hidden.
1889 (__tzfile_read): Likewise.
1890 (__tzfile_compute): Likewise.
1891 (__tzfile_default): Likewise.
1892 (__tzset_parse_tz): Likewise.
1893 (__offtime): Likewise.
1894 (__asctime_r): Likewise.
1895 (__tzset): Likewise.
1896 (__tz_convert): Likewise.
1897 (__getdate_r): Likewise.
1898 (__getclktck): Likewise.
1900 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1903 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
1904 (__nscd_unmap): Likewise.
1905 (__nscd_cache_search): Likewise.
1906 (__nscd_get_nl_timestamp): Likewise.
1907 (__nscd_getpwnam_r): Likewise.
1908 (__nscd_getpwuid_r): Likewise.
1909 (__nscd_getgrnam_r): Likewise.
1910 (__nscd_getgrgid_r): Likewise.
1911 (__nscd_gethostbyname_r): Likewise.
1912 (__nscd_gethostbyname2_r): Likewise.
1913 (__nscd_gethostbyaddr_r): Likewise.
1914 (__nscd_getai): Likewise.
1915 (__nscd_getgrouplist): Likewise.
1916 (__nscd_getservbyname_r): Likewise.
1917 (__nscd_getservbyport_r): Likewise.
1918 (__nscd_innetgr): Likewise.
1919 (__nscd_setnetgrent): Likewise.
1921 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1924 * include/gmp.h: Declare internal functions only if _ISOMAC is
1926 (__mpn_extract_double): Add attribute_hidden.
1927 (__mpn_extract_long_double): Likewise.
1928 (__mpn_extract_float128): Likewise.
1929 (__mpn_construct_float): Likewise.
1930 (__mpn_construct_double): Likewise.
1931 (__mpn_construct_long_double): Likewise.
1932 (__mpn_construct_float128): Likewise.
1933 (mpn_add_1): Likewise.
1934 (mpn_addmul_1): Likewise.
1935 (mpn_add_n): Likewise.
1936 (mpn_cmp): Likewise.
1937 (mpn_divrem): Likewise.
1938 (mpn_lshift): Likewise.
1939 (mpn_mul): Likewise.
1940 (mpn_mul_1): Likewise.
1941 (mpn_rshift): Likewise.
1942 (mpn_sub_1): Likewise.
1943 (mpn_submul_1): Likewise.
1944 (mpn_sub_n): Likewise.
1946 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1949 * include/wchar.h (__wcsnlen): Add attribute_hidden.
1950 (__wcscat): Likewise.
1951 (__btowc): Likewise.
1952 (__wcrtomb): Likewise.
1953 (__mbsrtowcs): Likewise.
1954 (__wcsrtombs): Likewise.
1955 (__mbsnrtowcs): Likewise.
1956 (__wcsnrtombs): Likewise.
1957 (__wcsncpy): Likewise.
1958 (__wcpncpy): Likewise.
1959 (__wmemcpy): Likewise.
1960 (__wmempcpy): Likewise.
1961 (__wmemmove): Likewise.
1962 (__wcschrnul): Likewise.
1963 (__vfwscanf): Likewise.
1964 (__vswprintf): Likewise.
1965 (__fwprintf): Likewise.
1966 (__vfwprintf): Likewise.
1968 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1971 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
1972 (__getgrgid_r): Likewise.
1973 (__getgrnam_r): Likewise.
1974 * include/pwd.h (__getpwuid_r): Likewise.
1975 (__getpwnam_r): Likewise.
1976 (__fgetpwent_r): Likewise.
1977 * include/shadow.h (__getspnam_r): Likewise.
1978 (__sgetspent_r): Likewise.
1979 (__fgetspent_r): Likewise.
1981 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1984 * include/unistd.h (__access): Add attribute_hidden.
1985 (__lseek64): Likewise.
1986 (__libc_pread64): Likewise.
1987 (__pipe2): Likewise.
1988 (__sleep): Likewise.
1989 (__chdir): Likewise.
1990 (__fchdir): Likewise.
1991 (__getcwd): Likewise.
1992 (__rmdir): Likewise.
1993 (__execvpe): Likewise.
1994 (__execve): Likewise.
1995 (__setsid): Likewise.
1996 (__getuid): Likewise.
1997 (__geteuid): Likewise.
1998 (__getgid): Likewise.
1999 (__getegid): Likewise.
2000 (__getgroups): Likewise.
2001 (__group_member): Likewise.
2002 (__ttyname_r): Likewise.
2003 (__isatty): Likewise.
2004 (__readlink): Likewise.
2005 (__unlink): Likewise.
2006 (__gethostname): Likewise.
2007 (__profil): Likewise.
2008 (__getdtablesize): Likewise.
2010 (__ftruncate): Likewise.
2011 (__ftruncate64): Likewise.
2013 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2016 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
2017 * argp/argp-fs-xinl.c: Likewise.
2018 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
2019 * argp/argp-parse.c: Include <argp.h>.
2020 * argp/argp-xinl.c: Likewise.
2021 * include/argp-fmtstream.h: New file.
2022 * include/argp.h (__argp_error): Add attribute_hidden.
2023 (__argp_failure): Likewise.
2024 (__argp_input): Likewise.
2025 (__argp_state_help): Likewise.
2027 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2030 * include/wchar.h (____wcstof_l_internal): New prototype.
2031 (____wcstod_l_internal): Likewise.
2032 (____wcstold_l_internal): Likewise.
2033 (____wcstol_l_internal): Likewise.
2034 (____wcstoul_l_internal): Likewise.
2035 (____wcstoll_l_internal): Likewise.
2036 (____wcstoull_l_internal): Likewise.
2037 (____wcstof128_l_internal): Likewise.
2038 * sysdeps/ieee754/float128/wcstof128.c
2039 (____wcstof128_l_internal): Removed.
2040 * sysdeps/ieee754/float128/wcstof128_l.c
2041 (____wcstof128_l_internal): Likewise.
2042 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
2043 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
2044 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
2045 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
2046 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
2047 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
2048 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
2049 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
2050 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
2051 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
2053 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2056 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
2057 instead of <sys/statvfs.h>.
2058 (__internal_statvfs): Removed.
2059 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
2060 instead of <sys/statvfs.h>.
2061 (__internal_statvfs64): Removed.
2062 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
2063 "internal_statvfs.h" instead of <sys/statvfs.h>.
2064 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
2065 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
2066 instead of <sys/statvfs.h>.
2067 (__internal_statvfs): Removed.
2068 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
2069 instead of <sys/statvfs.h>.
2070 (__internal_statvfs64): Removed.
2072 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2075 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
2076 (__gconv_close): Likewise.
2077 (__gconv): Likewise.
2078 (__gconv_find_transform): Likewise.
2079 (__gconv_lookup_cache): Likewise.
2080 (__gconv_compare_alias_cache): Likewise.
2081 (__gconv_load_cache): Likewise.
2082 (__gconv_get_path): Likewise.
2083 (__gconv_close_transform): Likewise.
2084 (__gconv_release_cache): Likewise.
2085 (__gconv_find_shlib): Likewise.
2086 (__gconv_release_shlib): Likewise.
2087 (__gconv_get_builtin_trans): Likewise.
2088 (__gconv_compare_alias): Likewise.
2089 * include/dlfcn.h (_dlerror_run): Likewise.
2090 * include/stdio.h (__fortify_fail_abort): Likewise.
2091 * include/time.h (__tz_compute): Likewise.
2092 (__strptime_internal): Likewise.
2093 * intl/gettextP.h (_nl_find_domain): Likewise.
2094 (_nl_load_domain): Likewise.
2095 (_nl_find_msg): Likewise.
2096 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
2097 (EXTRACT_PLURAL_EXPRESSION): Likewise.
2098 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
2099 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
2100 (__gai_find_request): Likewise.
2101 (__gai_remove_request): Likewise.
2102 (__gai_notify): Likewise.
2103 (__gai_notify_only): Likewise.
2104 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
2105 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
2106 (_dl_non_dynamic_init): Likewise.
2107 (_dl_aux_init): Likewise.
2108 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
2109 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
2111 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
2112 (__wcsmbs_clone_conv): Likewise.
2113 (__wcsmbs_named_conv): Likewise.
2115 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2118 * include/stdlib.h (__random): Add attribute_hidden.
2119 (__random_r): Likewise.
2120 (__srandom_r): Likewise.
2121 (__initstate_r): Likewise.
2122 (__setstate_r): Likewise.
2123 (__erand48_r): Likewise.
2124 (__nrand48_r): Likewise.
2125 (__jrand48_r): Likewise.
2126 (__srand48_r): Likewise.
2127 (__seed48_r): Likewise.
2128 (__lcong48_r): Likewise.
2129 (__drand48_iterate): Likewise.
2130 (__setenv): Likewise.
2131 (__unsetenv): Likewise.
2132 (__clearenv): Likewise.
2133 (__ptsname_r): Likewise.
2134 (__posix_openpt): Likewise.
2135 (__add_to_environ): Likewise.
2136 (__realpath): Add libc_hidden_proto.
2137 (__ecvt_r): Likewise.
2138 (__fcvt_r): Likewise.
2139 (__qecvt_r): Likewise.
2140 (__qfcvt_r): Likewise.
2141 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
2142 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
2144 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2147 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
2148 * include/time.h (__mktime_internal): Likewise.
2149 * libio/iolibio.h (__fopen_internal): Likewise.
2151 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
2153 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
2155 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
2156 Correct offset used to restore PIC register.
2158 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
2161 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
2162 code to load address of __getcontext_ret when generating PIC code.
2164 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
2166 * elf/Makefile (tests-static-internal): Add
2167 tst-tls1-static-non-pie.
2168 (LDFLAGS-tst-tls1-static-non-pie): New.
2169 * elf/tst-tls1-static-non-pie.c: New file.
2171 2017-09-29 Joseph Myers <joseph@codesourcery.com>
2173 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
2174 (asinh): Define using libm_alias_double.
2175 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
2176 (cbrt): Define using libm_alias_double.
2177 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
2178 <libm-alias-double.h>.
2179 (copysign): Define using libm_alias_double.
2180 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
2181 (erf): Define using libm_alias_double.
2183 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
2184 (expm1): Define using libm_alias_double.
2185 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
2186 (fabs): Define using libm_alias_double.
2187 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
2189 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
2190 <libm-alias-double.h>.
2191 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
2193 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
2194 <libm-alias-double.h>.
2195 (getpayload): Define using libm_alias_double.
2196 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
2197 <libm-alias-double.h>.
2198 (llrint): Define using libm_alias_double.
2199 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
2200 (lrint): Define using libm_alias_double.
2201 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
2202 <libm-alias-double.h>.
2203 (nextup): Define using libm_alias_double.
2204 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
2205 <libm-alias-double.h>.
2206 (roundeven): Define using libm_alias_double.
2207 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
2209 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
2210 <libm-alias-double.h>.
2211 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
2212 using libm_alias_double.
2213 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
2214 (cos): Define using libm_alias_double.
2216 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
2217 <libm-alias-double.h>.
2218 (sincos): Define using libm_alias_double.
2219 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
2220 (tanh): Define using libm_alias_double.
2221 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
2222 <libm-alias-double.h>.
2223 (totalorder): Define using libm_alias_double.
2224 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
2225 <libm-alias-double.h>.
2226 (totalordermag): Define using libm_alias_double.
2227 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
2229 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
2231 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
2232 <libm-alias-double.h>.
2233 (getpayload): Define using libm_alias_double.
2234 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
2235 <libm-alias-double.h>.
2236 (roundeven): Define using libm_alias_double.
2237 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
2238 <libm-alias-double.h>.
2239 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
2240 <libm-alias-double.h>.
2241 (totalorder): Define using libm_alias_double.
2242 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
2243 <libm-alias-double.h>.
2244 (totalordermag): Define using libm_alias_double.
2245 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
2246 libc compat symbol here.
2247 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
2248 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
2249 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
2250 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
2251 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
2252 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
2253 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
2254 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
2255 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
2256 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
2258 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2260 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
2261 _dl_relocate_static_pie instead of _dl_start to compute load
2262 address in static PIE. Return 0 if _DYNAMIC is undefined for
2265 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2267 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
2268 _DYNAMIC is undefined for static executable.
2270 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2272 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
2274 2017-09-29 Joseph Myers <joseph@codesourcery.com>
2276 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2278 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
2280 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2281 (__ieee754_lgamma_r): Use fabs rather than __fabs.
2282 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
2283 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2284 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2285 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
2286 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
2287 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
2288 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
2289 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
2290 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
2291 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2292 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
2293 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
2294 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2295 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2296 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
2298 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
2300 * math/bits/cmathcalls.h (cimag): Remove inline.
2301 (creal): Remove inline.
2302 (conj): Remove inline.
2304 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2306 * math/Makefile (type-float-routines): Add e_powf_log2_data.
2307 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
2308 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
2309 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
2310 (issignalingf_inline): Likewise.
2311 (POWF_LOG2_TABLE_BITS): Likewise.
2312 (POWF_LOG2_POLY_ORDER): Likewise.
2313 (POWF_SCALE_BITS): Likewise.
2314 (POWF_SCALE): Likewise.
2315 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
2316 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
2317 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
2319 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2321 * math/Makefile (type-float-routines): Add e_log2f_data.
2322 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
2323 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
2324 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
2325 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
2326 * sysdeps/i386/fpu/e_log2f_data.c: New file.
2327 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
2328 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
2330 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2332 * math/Makefile (type-float-routines): Add e_logf_data.
2333 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
2334 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
2335 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
2336 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
2337 * sysdeps/i386/fpu/e_logf_data.c: New file.
2338 * sysdeps/ia64/fpu/e_logf_data.c: New file.
2339 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
2341 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
2343 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
2344 undefined _DYNAMIC in PIE libc.a.
2345 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
2348 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
2350 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
2351 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
2352 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
2353 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
2354 (__signbit): Remove.
2355 (__signbitl): Remove.
2356 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
2357 (__signbit): Remove.
2358 (__signbitl): Remove.
2359 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
2360 (__signbit): Remove.
2361 (__signbitl): Remove.
2362 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
2363 (__signbit): Remove.
2364 (__signbitl): Remove.
2365 * sysdeps/tile/bits/mathinline.h: Delete file.
2366 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
2367 (__signbit): Remove.
2368 (__signbitl): Remove.
2370 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
2372 * math/math.h: Improve handling of C99 isgreater macros.
2373 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
2374 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
2375 * sysdeps/powerpc/bits/mathinline.h: Likewise.
2376 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2377 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
2379 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
2381 * sysdeps/aarch64/libm-test-ulps: Update.
2383 2017-09-28 Joseph Myers <joseph@codesourcery.com>
2386 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2387 math_opt_barrier on argument when doing arithmetic on it.
2388 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2389 Likewise. Use math_force_eval not math_opt_barrier after
2391 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
2392 math_opt_barrier on argument when doing arithmetic on it.
2393 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2396 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
2398 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
2400 (__freeifaddrs): Likewise.
2402 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2404 * include/dirent.h (__dirfd): New declaration.
2405 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
2407 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
2408 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
2409 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
2410 * include/unistd.h (__revoke): New declaration.
2411 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
2413 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
2414 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
2416 * include/dirent.h (__seekdir): New declaration.
2417 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
2418 redefine as weak alias.
2419 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
2421 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
2422 and use libc_hidden_def on them.
2423 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
2425 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
2426 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
2427 instead of getifaddrs and freeifaddrs.
2429 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
2432 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
2433 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
2434 (__dso_handle): Remove declaration.
2435 * dlfcn/tstatexit.c (__dso_handle): Removed.
2436 (main): Don't check __dso_handle.
2437 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
2438 (main): Don't check __dso_handle.
2439 * include/dso_handle.h: New file.
2440 * malloc/mtrace.c: Include <dso_handle.h>.
2441 (mtrace): Pass __dso_handle directly.
2442 * nptl/pthread_atfork.c: Include <dso_handle.h>.
2443 (__dso_handle): Remove declaration.
2444 (__pthread_atfork): Pass __dso_handle directly.
2445 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
2446 (__dso_handle): Removed.
2447 * posix/wordexp-test.c: Include <dso_handle.h>.
2448 (__dso_handle): Remove declaration.
2449 (__app_register_atfork): Pass __dso_handle directly.
2450 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
2451 (__dso_handle): Remove declaration.
2452 (at_quick_exit): Pass __dso_handle directly.
2453 * stdlib/atexit.c: Include <dso_handle.h>.
2454 (__dso_handle): Remove declaration.
2455 (atexit): Pass __dso_handle directly.
2456 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
2457 (__dso_handle): Removed.
2459 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2461 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
2464 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
2466 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
2467 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
2468 values to correct default value for given type.
2470 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
2473 * elf/Makefile (tests): Add tst-debug1.
2474 ($(objpfx)tst-debug1): New.
2475 ($(objpfx)tst-debug1.out): Likewise.
2476 ($(objpfx)tst-debug1mod1.so): Likewise.
2477 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
2479 * elf/tst-debug1.c: New file.
2481 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2483 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
2484 Define using __ifunc.
2486 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2488 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
2491 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2494 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
2496 2017-09-26 Florian Weimer <fweimer@redhat.com>
2498 * resolv/Makefile (tests-internal): Fix typo in comment.
2500 2017-09-26 Florian Weimer <fweimer@redhat.com>
2502 * resolv/nss_dns/dns-host.c: Fix typo in comment.
2504 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2506 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
2507 Use an union instead of a max_align_t array for __space,
2508 so that __space is the same size on all platforms.
2509 * malloc/scratch_buffer_grow_preserve.c
2510 (__libc_scratch_buffer_grow_preserve): Likewise.
2513 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
2515 * posix/Makefile (routines): Add glob-lstat-compat and
2516 glob64-lstat-compat.
2517 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
2518 * posix/glob-lstat-compat.c: New file.
2519 * posix/glob64-lstat-compat.c: Likewise.
2520 * posix/tst-glob_lstat_compat.c: Likewise.
2521 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
2522 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
2523 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
2524 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
2526 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
2527 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
2528 * posix/glob.c (glob_lstat): New function.
2529 (glob): Rename to __glob and add versioned symbol to 2.27.
2530 (glob_in_dir): Use glob_lstat.
2531 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
2532 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2533 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
2535 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
2536 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
2537 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
2538 gl_lstat on glob call.
2539 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
2541 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2542 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2543 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2544 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2545 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2546 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2547 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2548 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2549 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2550 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2551 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2552 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2555 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2557 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2558 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2559 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2560 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2561 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2564 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2565 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2566 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2568 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
2570 * configure.ac (AS): Require binutils 2.25 or later.
2571 * configure: Regenerated.
2573 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
2576 * stdlib/test-atexit-race-common.c (do_test): Minimize required
2579 2017-09-25 DJ Delorie <dj@redhat.com>
2582 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
2585 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2587 * sysdeps/ieee754/dbl-64/sincos32.h
2588 [SINCCOS32_H]: Remove define.
2589 [SINCOS32_H]: Define.
2591 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2593 * math/Versions (expf): New libm symbol at GLIBC_2.27.
2595 * math/w_exp2f.c: New file.
2596 * math/w_expf.c: New file.
2597 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
2598 * math/w_expf_compat.c (__expf_compat): Likewise.
2599 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
2600 * sysdeps/ia64/fpu/e_expf.S: Likewise.
2601 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
2602 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2603 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2604 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2605 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2606 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2607 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2608 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2609 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2610 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2611 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2612 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2621 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2622 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2623 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2624 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2625 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2630 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2631 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2632 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2634 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2636 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
2637 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
2638 (roundtoint, converttoint): Likewise.
2639 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
2640 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
2641 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
2642 * sysdeps/ieee754/flt-32/math_config.h: New file.
2643 * sysdeps/ieee754/flt-32/math_errf.c: New file.
2644 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
2645 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
2646 * sysdeps/i386/fpu/math_errf.c: New file.
2647 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
2648 * sysdeps/ia64/fpu/math_errf.c: New file.
2649 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
2650 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
2652 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2654 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
2655 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
2656 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
2657 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
2658 to make sure that these symbols are defined.
2659 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
2661 (__need_NULL): Do not define.
2662 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
2664 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
2665 CMGROUP_MAX, cmsgcred): Do not define.
2666 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
2668 * bits/socket.h: Likewise.
2669 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
2670 __gettimeofday instead of gettimeofday.
2671 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
2672 instead of settimeofday.
2674 2017-09-22 Joseph Myers <joseph@codesourcery.com>
2676 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
2677 (asinhf): Define using libm_alias_float.
2678 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
2679 (atanf): Define using libm_alias_float.
2680 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
2681 (cbrtf): Define using libm_alias_float.
2682 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
2683 (ceilf): Define using libm_alias_float.
2684 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
2685 <libm-alias-float.h>.
2686 (copysignf): Define using libm_alias_float.
2687 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
2688 (cosf): Define using libm_alias_float.
2689 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
2690 (erff): Define using libm_alias_float.
2692 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
2693 (expm1f): Define using libm_alias_float.
2694 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
2695 (fabsf): Define using libm_alias_float.
2696 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
2697 (floorf): Define using libm_alias_float.
2698 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
2699 (frexpf): Define using libm_alias_float.
2700 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
2702 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
2703 <libm-alias-float.h>.
2704 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
2706 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
2707 <libm-alias-float.h>.
2708 (getpayloadf): Define using libm_alias_float.
2709 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
2710 <libm-alias-float.h>.
2711 (llrintf): Define using libm_alias_float.
2712 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
2713 <libm-alias-float.h>.
2714 (llroundf): Define using libm_alias_float.
2715 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
2716 (logbf): Define using libm_alias_float.
2717 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
2718 (lrintf): Define using libm_alias_float.
2719 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
2720 (lroundf): Define using libm_alias_float.
2721 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
2722 (modff): Define using libm_alias_float.
2723 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
2724 <libm-alias-float.h>.
2725 (nearbyintf): Define using libm_alias_float.
2726 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
2727 <libm-alias-float.h>.
2728 (nextafterf): Define using libm_alias_float.
2729 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
2730 <libm-alias-float.h>.
2731 (nextupf): Define using libm_alias_float.
2732 * sysdeps/ieee754/flt-32/s_remquof.c: Include
2733 <libm-alias-float.h>.
2734 (remquof): Define using libm_alias_float.
2735 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
2736 (rintf): Define using libm_alias_float.
2737 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
2738 <libm-alias-float.h>.
2739 (roundevenf): Define using libm_alias_float.
2740 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
2741 (roundf): Define using libm_alias_float.
2742 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
2743 using libm_alias_float.
2744 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
2745 <libm-alias-float.h>.
2746 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
2747 Define using libm_alias_float.
2748 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
2749 <libm-alias-float.h>.
2750 (sincosf): Define using libm_alias_float.
2751 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
2752 (sinf): Define using libm_alias_float.
2753 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
2754 (tanf): Define using libm_alias_float.
2755 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
2756 (tanhf): Define using libm_alias_float.
2757 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
2758 <libm-alias-float.h>.
2759 (totalorderf): Define using libm_alias_float.
2760 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
2761 <libm-alias-float.h>.
2762 (totalordermagf): Define using libm_alias_float.
2763 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
2764 (truncf): Define using libm_alias_float.
2765 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
2767 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
2770 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2773 math/math.h: Let fpclassify use the builtin in C++ mode, even
2774 when optimazing for size.
2776 2017-09-22 Joseph Myers <joseph@codesourcery.com>
2778 * csu/Makefile (generated): Do not add version-info.h.
2779 (before-compile): Likewise.
2780 (all-Banner-files): Remove variable.
2781 ($(objpfx)version-info.h): Remove rule.
2782 * csu/version.c (banner): Do not include "version-info.h".
2783 * libidn/Banner: Remove.
2784 * manual/contrib.texi (Simon Josefsson): New entry.
2786 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2788 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2789 Remove conditionals on LDBL_MANT_DIG.
2790 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
2791 (__ieee754_lgammal_r): Likewise.
2793 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2795 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
2797 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
2798 _Float128 and L(). Replace _Float128 with long double and L(x)
2799 with xL, throughout the file.
2800 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2801 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2802 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2803 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
2805 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2807 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
2808 sysdeps/ieee754/ldbl-128ibm.
2809 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
2810 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
2811 of including it. Keep _Float128 and L() intact. These will be
2812 reviewed by a separate patch.
2813 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2814 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2815 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2816 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
2818 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
2821 (__finitef128): Define to __redirect___finitef128.
2822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
2823 (__isinff128): Define to __redirect___isinff128.
2824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
2825 (__isnanf128): Define to __redirect___isnanf128.
2827 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2829 * sysdeps/powerpc/powerpc64le/Makefile
2830 (CFLAGS-tst-strtod-nan-locale.c): New variable.
2831 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
2833 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
2834 Carlos O'Donell <carlos@redhat.com>
2837 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
2838 * stdlib/test-dlclose-exit-race.c: New file.
2839 * stdlib/test-dlclose-exit-race-helper.c: New file.
2840 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
2842 2017-09-21 Joseph Myers <joseph@codesourcery.com>
2844 * crypt/Banner: Remove file.
2845 * nptl/Banner: Likewise.
2846 * resolv/Banner: Likewise.
2847 * soft-fp/Banner: Likewise.
2848 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
2849 ($(objpfx)version.d): Remove dependency on banner.h.
2850 ($(objpfx)version.os): Likewise.
2851 * nptl/version.c (banner): Do not include banner.h.
2852 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
2853 Jelinek and BIND code.
2855 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
2856 Carlos O'Donell <carlos@redhat.com>
2858 * support/xdlfcn.h: New file.
2859 * support/xdlfcn.c: New file.
2860 * support/Makefile (libsupport-routines): Add xdlfcn.
2861 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
2863 2017-09-20 Joseph Myers <joseph@codesourcery.com>
2866 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2867 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
2868 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
2869 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
2870 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
2871 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
2872 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
2873 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
2875 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
2876 Ricky Zhou <rickyz@google.com>
2877 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
2880 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
2882 (__new_exitfn): Fail registration when we finished at_exit processing.
2883 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
2884 * stdlib/on_exit.c (__on_exit): Likewise.
2885 * stdlib/exit.c (__exit_funcs_done): New variable.
2886 (__run_exit_handlers): Use __exit_funcs_lock.
2887 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
2889 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
2890 (test-cxa_atexit-race, test-on_exit-race): New tests.
2891 * stdlib/test-atexit-race-common.c: New file.
2892 * stdlib/test-atexit-race.c: New file.
2893 * stdlib/test-at_quick_exit-race.c: New file.
2894 * stdlib/test-cxa_atexit-race.c: New file.
2895 * stdlib/test-on_exit-race.c: New file.
2897 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
2899 * benchtests/Makefile: Add exp2f and log2f benchmarks.
2900 * benchtests/exp2f-inputs: Copy of expf-inputs.
2901 * benchtests/log2f-inputs: Copy of logf-inputs.
2903 2017-09-19 Joseph Myers <joseph@codesourcery.com>
2905 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
2906 Explicitly take address of first element of array arguments in
2907 call to INLINE_SYSCALL.
2909 2017-09-19 Andreas Schwab <schwab@suse.de>
2912 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
2914 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
2916 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
2917 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
2918 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2919 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
2920 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2921 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
2922 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2923 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
2924 * posix/Makefile (tests): Add tst-fexecve.
2925 * posix/tst-fexecve.c: New file.
2927 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
2929 * benchtests/Makefile: Add logf benchmark.
2930 * benchtests/logf-inputs: Add reduced trace from wrf_r.
2932 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
2934 * benchtests/Makefile: Add expf benchmark.
2935 * benchtests/expf-inputs: Add reduced trace from wrf_r.
2937 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
2939 * csu/Makefile: Add -funwind-tables to libc-start.c.
2940 * debug/Makefile: Add -funwind-tables to backtrace.c.
2941 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
2942 * sysdeps/arm/Makefile: Likewise.
2943 * sysdeps/i386/Makefile: Likewise.
2944 * sysdeps/m68k/Makefile: Likewise.
2945 * sysdeps/mips/Makefile: Likewise.
2946 * sysdeps/nios2/Makefile: Likewise.
2947 * sysdeps/sh/Makefile: Likewise.
2948 * sysdeps/sparc/Makefile: Likewise.
2950 2017-09-19 Joseph Myers <joseph@codesourcery.com>
2952 * benchtests/Makefile (bench-math): Add trunc and truncf.
2953 (CFLAGS-bench-trunc.c): New variable.
2954 (CFLAGS-bench-truncf.c): Likewise.
2955 * benchtests/trunc-inputs: New file.
2956 * benchtests/truncf-inputs: Likewise.
2958 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2960 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
2962 2017-09-18 Joseph Myers <joseph@codesourcery.com>
2964 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
2965 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
2967 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
2968 (exp10l): Define as weak alias.
2969 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
2970 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
2972 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
2973 (remainderl): Define as weak alias.
2975 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
2976 (fmal): Define using libm_alias_ldouble.
2977 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
2978 (acoshl): Define using libm_alias_ldouble.
2979 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
2980 (acosl): Define using libm_alias_ldouble.
2981 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
2982 (asinl): Define using libm_alias_ldouble.
2983 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
2984 (atan2l): Define using libm_alias_ldouble.
2985 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
2986 (atanhl): Define using libm_alias_ldouble.
2987 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
2988 (coshl): Define using libm_alias_ldouble.
2989 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
2990 (exp10l): Define using libm_alias_ldouble.
2991 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
2992 (exp2l): Define using libm_alias_ldouble.
2993 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
2994 (expl): Define using libm_alias_ldouble.
2995 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
2996 (fmodl): Define using libm_alias_ldouble.
2997 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
2998 (hypotl): Define using libm_alias_ldouble.
2999 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
3000 (j0l): Define using libm_alias_ldouble.
3002 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
3003 (j1l): Define using libm_alias_ldouble.
3005 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
3006 (jnl): Define using libm_alias_ldouble.
3008 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
3009 (log10l): Define using libm_alias_ldouble.
3010 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
3011 (log2l): Define using libm_alias_ldouble.
3012 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
3013 (logl): Define using libm_alias_ldouble.
3014 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
3015 (powl): Define using libm_alias_ldouble.
3016 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
3017 (remainderl): Define using libm_alias_ldouble.
3018 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
3019 (sinhl): Define using libm_alias_ldouble.
3020 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
3021 (sqrtl): Define using libm_alias_ldouble.
3022 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
3023 (tgammal): Define using libm_alias_ldouble.
3024 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
3025 (exp10l): Do not use long_double_symbol here.
3026 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
3027 [LIBM_SVID_COMPAT] (remainderl): Likewise.
3028 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
3029 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
3030 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
3031 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
3032 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
3033 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
3034 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
3035 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
3036 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
3037 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
3038 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
3039 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
3040 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
3041 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
3042 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
3043 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
3044 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
3045 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
3046 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
3047 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
3049 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
3051 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
3052 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
3054 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
3056 * io/read.c (read): Add libc_hidden_weak.
3057 * sysdeps/mach/hurd/read.c (read): Likewise.
3058 * io/write.c (write): Likewise.
3059 * sysdeps/mach/hurd/write.c (write): Likewise.
3060 * io/pread64.c (__pread64): Likewise.
3061 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
3062 * posix/pread64.c (__pread64): Add libc_hidden_def.
3064 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3066 * benchtests/scripts/compare_strings.py: New option -g.
3067 (draw_graph): Print a message that a graph is being generated.
3068 (process_results): Generate graph only if -g is passed.
3069 (main): Process option -g.
3071 * benchtests/scripts/compare_strings.py (process_results):
3072 Better spacing for output.
3074 * benchtests/scripts/compare_strings.py: Use argparse.
3075 * benchtests/README: Document existence of compare_strings.py.
3077 2017-09-15 Joseph Myers <joseph@codesourcery.com>
3079 * math/s_fma.c: Include <libm-alias-double.h>.
3080 (fma): Define using libm_alias_double.
3081 * math/s_nextafter.c: Include <libm-alias-double.h>.
3082 (nextafter): Define using libm_alias_double.
3083 * math/w_acos_compat.c: Include <libm-alias-double.h>.
3084 (acos): Define using libm_alias_double.
3085 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
3086 (aocsh): Define using libm_alias_double.
3087 * math/w_asin_compat.c: Include <libm-alias-double.h>.
3088 (asin): Define using libm_alias_double.
3089 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
3090 (atan2): Define using libm_alias_double.
3091 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
3092 (atanh): Define using libm_alias_double.
3093 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
3094 (cosh): Define using libm_alias_double.
3095 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
3096 (exp10): Define using libm_alias_double.
3097 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
3098 (exp2): Define using libm_alias_double.
3099 * math/w_exp_compat.c: Include <libm-alias-double.h>.
3100 (exp): Define using libm_alias_double.
3101 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
3102 (fmod): Define using libm_alias_double.
3103 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
3104 (hypot): Define using libm_alias_double.
3105 * math/w_j0_compat.c: Include <libm-alias-double.h>.
3106 (j0): Define using libm_alias_double.
3108 * math/w_j1_compat.c: Include <libm-alias-double.h>.
3109 (j1): Define using libm_alias_double.
3111 * math/w_jn_compat.c: Include <libm-alias-double.h>.
3112 (jn): Define using libm_alias_double.
3114 * math/w_log10_compat.c: Include <libm-alias-double.h>.
3115 (log10): Define using libm_alias_double.
3116 * math/w_log2_compat.c: Include <libm-alias-double.h>.
3117 (log2): Define using libm_alias_double.
3118 * math/w_log_compat.c: Include <libm-alias-double.h>.
3119 (log): Define using libm_alias_double.
3120 * math/w_pow_compat.c: Include <libm-alias-double.h>.
3121 (pow): Define using libm_alias_double.
3122 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
3123 (remainder): Define using libm_alias_double.
3124 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
3125 (sinh): Define using libm_alias_double.
3126 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
3127 (sqrt): Define using libm_alias_double.
3128 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
3129 (tgamma): Define using libm_alias_double.
3130 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
3131 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
3132 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
3133 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
3134 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
3135 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
3136 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
3137 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
3138 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
3139 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
3140 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
3141 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
3142 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
3143 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
3144 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
3145 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
3146 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
3147 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
3148 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
3149 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
3150 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
3151 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
3152 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
3153 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
3154 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
3156 * math/e_acoshl.c: Remove.
3157 * math/e_acosl.c: Likewise.
3158 * math/e_asinl.c: Likewise.
3159 * math/e_atan2l.c: Likewise.
3160 * math/e_atanhl.c: Likewise.
3161 * math/e_coshl.c: Likewise.
3162 * math/e_expl.c: Likewise.
3163 * math/e_fmodl.c: Likewise.
3164 * math/e_gammal_r.c: Likewise.
3165 * math/e_hypotl.c: Likewise.
3166 * math/e_j0l.c: Likewise.
3167 * math/e_j1l.c: Likewise.
3168 * math/e_jnl.c: Likewise.
3169 * math/e_lgammal_r.c: Likewise.
3170 * math/e_log10l.c: Likewise.
3171 * math/e_log2l.c: Likewise.
3172 * math/e_logl.c: Likewise.
3173 * math/e_powl.c: Likewise.
3174 * math/e_rem_pio2l.c: Likewise.
3175 * math/e_sinhl.c: Likewise.
3176 * math/e_sqrtf128.c: Likewise.
3177 * math/e_sqrtl.c: Likewise.
3178 * math/k_cosl.c: Likewise.
3179 * math/k_sinl.c: Likewise.
3180 * math/k_tanl.c: Likewise.
3181 * math/s_asinhl.c: Likewise.
3182 * math/s_atanl.c: Likewise.
3183 * math/s_cbrtl.c: Likewise.
3184 * math/s_erfl.c: Likewise.
3185 * math/s_expm1l.c: Likewise.
3186 * math/s_log1pl.c: Likewise.
3187 * math/s_tanhl.c: Likewise.
3189 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3192 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
3193 [$(subdir) = math] (sysdep_calls): New variable. Has the
3194 previous contents of sysdep_routines, but re-sorted..
3195 [$(subdir) = math] (sysdep_routines): Re-use the contents from
3197 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
3198 defined in sysdep_calls and replace by the respective m_* names.
3199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
3200 (compat_symbol): Undefine to avoid duplicated compat symbols in
3203 2017-09-15 Joseph Myers <joseph@codesourcery.com>
3205 * math/s_fmaf.c: Include <libm-alias-float.h>.
3206 (fmaf): Define using libm_alias_float.
3207 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
3208 (acosf): Define using libm_alias_float.
3209 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
3210 (acoshf): Define using libm_alias_float.
3211 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
3212 (asinf): Define using libm_alias_float.
3213 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
3214 (atan2f): Define using libm_alias_float.
3215 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
3216 (atanhf): Define using libm_alias_float.
3217 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
3218 (coshf): Define using libm_alias_float.
3219 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
3220 (exp10f): Define using libm_alias_float.
3221 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
3222 (fmodf): Define using libm_alias_float.
3223 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
3224 (hypotf): Define using libm_alias_float.
3225 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
3226 (j0f): Define using libm_alias_float.
3228 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
3229 (j1f): Define using libm_alias_float.
3231 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
3232 (jnf): Define using libm_alias_float.
3234 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
3235 (log10f): Define using libm_alias_float.
3236 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
3237 (log2f): Define using libm_alias_float.
3238 * math/w_logf_compat.c: Include <libm-alias-float.h>.
3239 (logf): Define using libm_alias_float.
3240 * math/w_powf_compat.c: Include <libm-alias-float.h>.
3241 (powf): Define using libm_alias_float.
3242 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
3243 (remainderf): Define using libm_alias_float.
3244 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
3245 (sinhf): Define using libm_alias_float.
3246 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
3247 (sqrtf): Define using libm_alias_float.
3248 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
3249 (tgammaf): Define using libm_alias_float.
3251 2017-09-14 Joseph Myers <joseph@codesourcery.com>
3253 * include/math.h (roundeven): Change hidden_proto call to
3255 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
3257 [NO_LONG_DOUBLE] (__j0l): New strong alias.
3258 (y0): Rename to __y0 and define as weak alias.
3259 [NO_LONG_DOUBLE] (__y0l): New strong alias.
3260 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
3262 (y0f): Rename to __y0f and define as weak alias.
3263 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
3265 [NO_LONG_DOUBLE] (__j1l): New strong alias.
3266 (y1): Rename to __y1 and define as weak alias.
3267 [NO_LONG_DOUBLE] (__y1l): New strong alias.
3268 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
3270 (y1f): Rename to __y1f and define as weak alias.
3271 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
3273 [NO_LONG_DOUBLE] (__jnl): New strong alias.
3274 (yn): Rename to __yn and define as weak alias.
3275 [NO_LONG_DOUBLE] (__ynl): New strong alias.
3276 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
3278 (ynf): Rename to __ynf and define as weak alias.
3279 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
3280 (fromfp): Define as weak alias.
3281 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
3282 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
3283 (fromfpx): Define as weak alias.
3284 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
3285 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
3286 __getpayload and define as weak alias.
3287 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
3288 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
3289 __roundeven and define as weak alias.
3290 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
3291 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
3293 (setpayload): Define as weak alias.
3294 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
3295 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
3297 (setpayloadsig): Define as weak alias.
3298 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
3299 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
3300 __totalorder and define as weak alias.
3301 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
3302 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
3303 to __totalordermag and define as weak alias.
3304 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
3305 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
3306 (ufromfp): Define as weak alias.
3307 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
3308 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
3310 (ufromfpx): Define as weak alias.
3311 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
3312 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
3313 Rename to __getpayload and define as weak alias.
3314 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
3315 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
3316 Rename to __roundeven and define as weak alias.
3317 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
3318 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
3319 Rename to __totalorder and define as weak alias.
3320 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
3321 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
3322 (totalordermag): Rename to __totalordermag and define as weak
3324 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
3325 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
3327 (__roundevenl): Likewise.
3328 (__totalorderl): Likewise.
3329 (__totalordermagl): Likewise
3330 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
3332 (fromfpf128): Define as weak alias.
3333 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
3335 (fromfpxf128): Define as weak alias.
3336 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
3338 (setpayloadf128): Define as weak alias.
3339 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
3340 __setpayloadsigf128.
3341 (setpayloadsigf128): Define as weak alias.
3342 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
3344 (ufromfpf128): Define as weak alias.
3345 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
3347 (ufromfpxf128): Define as weak alias.
3348 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
3349 (fromfpf): Define as weak alias.
3350 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
3352 (fromfpxf): Define as weak alias.
3353 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
3354 __getpayloadf and define as weak alias.
3355 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
3356 __roundevenf and define as weak alias.
3357 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
3359 (setpayloadf): Define as weak alias.
3360 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
3362 (setpayloadsigf): Define as weak alias.
3363 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
3364 __totalorderf and define as weak alias.
3365 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
3366 Rename to __totalordermagf and define as weak alias.
3367 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
3369 (ufromfpf): Define as weak alias.
3370 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
3372 (ufromfpxf): Define as weak alias.
3373 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
3375 (fromfpl): Define as weak alias.
3376 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
3378 (fromfpxl): Define as weak alias.
3379 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
3380 to __getpayloadl and define as weak alias.
3381 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
3382 __roundevenl and define as weak alias.
3383 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
3385 (setpayloadl): Define as weak alias.
3386 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
3388 (setpayloadsigl): Define as weak alias.
3389 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
3390 to __totalorderl and define as weak alias.
3391 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
3392 Rename to __totalordermagl and define as weak alias.
3393 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
3395 (ufromfpl): Define as weak alias.
3396 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
3398 (ufromfpxl): Define as weak alias.
3399 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
3401 (fromfpl): Define as weak alias.
3402 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
3404 (fromfpxl): Define as weak alias.
3405 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
3406 Rename to __getpayloadl and define as weak alias.
3407 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
3408 to __roundevenl and define as weak alias. Call __roundeven
3409 instead of roundeven.
3410 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
3412 (setpayloadl): Define as weak alias.
3413 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
3415 (setpayloadsigl): Define as weak alias.
3416 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
3417 Rename to __totalorderl and define as weak alias.
3418 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
3419 Rename to __totalordermagl and define as weak alias.
3420 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
3422 (ufromfpl): Define as weak alias.
3423 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
3425 (ufromfpxl): Define as weak alias.
3426 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
3428 (fromfpl): Define as weak alias.
3429 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
3431 (fromfpxl): Define as weak alias.
3432 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
3433 __getpayloadl and define as weak alias.
3434 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
3435 __roundevenl and define as weak alias.
3436 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
3438 (setpayloadl): Define as weak alias.
3439 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
3441 (setpayloadsigl): Define as weak alias.
3442 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
3443 __totalorderl and define as weak alias.
3444 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
3445 Rename to __totalordermagl and define as weak alias.
3446 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
3448 (ufromfpl): Define as weak alias.
3449 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
3451 (ufromfpxl): Define as weak alias.
3453 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3455 * benchtests/bench-string.h (realloc_bufs): New function.
3456 (test_init): Call it.
3457 * benchtests/bench-memset-large.c (do_test): Likewise.
3458 * benchtests/bench-memset.c (do_test): Likewise.
3460 * benchtests/bench-memset-large.c: Print output in JSON
3462 * benchtests/bench-memset.c: Likewise.
3464 2017-09-14 Mike FABIAN <mfabian@redhat.com>
3467 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
3468 * iconvdata/Makefile: Add IBM858.
3469 * iconvdata/gconv-modules: Likewise.
3470 * iconvdata/tst-tables.sh: Likewise.
3471 * iconvdata/ibm858.c: New file.
3472 * localedata/charmaps/IBM858: Likewise.
3474 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
3477 * locales/niu_NZ (LC_TIME): copy "niu_NU".
3478 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
3480 2017-09-14 Mike FABIAN <mfabian@redhat.com>
3483 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
3484 and add tel_int_fmt.
3486 2017-09-14 Joseph Myers <joseph@codesourcery.com>
3488 * sysdeps/generic/libm-alias-float128.h: New file.
3489 * sysdeps/generic/math-type-macros-float128.h: Include
3490 <libm-alias-float128.h>.
3491 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
3493 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3495 * sysdeps/generic/libm-alias-ldouble.h: New file.
3496 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
3497 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
3498 * sysdeps/generic/math-type-macros-ldouble.h: Include
3499 <libm-alias-ldouble.h>.
3500 [!declare_mgen_alias] (declare_mgen_alias): Define to use
3503 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3505 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
3506 * math/w_exp_compat.c: ... here.
3507 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
3508 * math/w_expf_compat.c: ... here.
3509 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
3510 * math/w_expl_compat.c: ... here.
3511 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
3512 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
3513 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
3514 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
3516 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3518 * math/w_scalbln_template.c (strong_alias): Do not undefine and
3520 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
3522 (ldexpl): Only define as compat symbol for libc, not libm.
3523 (scalbnl): Define as compat symbol for libc here.
3524 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
3525 define for [IS_IN (libc)].
3526 (__ldexpl_2): Remove alias.
3527 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
3528 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
3529 name in long_double_symbol call.
3530 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
3531 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3532 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3533 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
3534 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
3536 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
3537 Define as compat symbol.
3539 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3541 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
3542 * sysdeps/unix/sysv/linux/alpha/Makefile
3543 [$(subdir) = csu] (sysdep_routines): Remove rule.
3545 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3547 * sysdeps/generic/libm-alias-double.h: New file.
3548 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
3549 * sysdeps/generic/math-type-macros-double.h: Include
3550 <libm-alias-double.h>.
3551 [declare_mgen_alias] (declare_mgen_alias): Define to use
3553 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
3554 (M_LIBM_NEED_COMPAT): Remove macro.
3555 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
3556 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
3557 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
3559 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3560 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3561 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3562 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3563 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3564 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3565 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3566 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3567 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3568 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3569 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3570 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3571 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3572 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3573 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3574 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3575 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3576 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3577 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3578 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3579 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3580 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3581 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3582 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3583 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3584 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3585 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3586 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
3587 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
3589 (declare_mgen_alias): New macro.
3590 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
3591 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
3592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
3593 (M_LIBM_NEED_COMPAT): Remove macro.
3594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
3595 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
3597 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
3598 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
3600 2017-09-12 Joseph Myers <joseph@codesourcery.com>
3602 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
3603 (declare_mgen_alias_2): Remove.
3604 * sysdeps/generic/math-type-macros-double.h
3605 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
3607 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
3609 (ldexp): Define with declare_mgen_alias.
3612 2017-09-12 Steve Ellcey <sellcey@cavium.com>
3614 * grp/initgroups.c: Include config.h.
3615 (DEFAULT_CONFIG): New macro.
3616 (internal_getgrouplist): Use DEFAULT_CONFIG.
3617 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3618 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
3619 (DEFAULT_DEFCONFIG): New macro.
3620 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
3621 * nss/grp-lookup.c: Include config.h
3622 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
3623 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
3624 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
3625 * manual/nss.texi: Update default values section.
3627 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
3630 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
3632 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
3633 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
3634 Handle MathVec_Prefer_No_AVX512.
3635 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
3636 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
3639 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
3641 * posix/sched_primax.c (__sched_get_priority_max): Add
3643 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
3644 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3645 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
3646 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
3647 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
3648 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
3649 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
3650 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
3653 2017-09-11 Joseph Myers <joseph@codesourcery.com>
3655 * sysdeps/generic/libm-alias-float.h: New file.
3656 * sysdeps/generic/math-type-macros-float.h: Include
3657 <libm-alias-float.h>.
3658 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
3660 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
3663 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
3664 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
3665 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
3666 (HWCAP_IMPORTANT): Likewise.
3667 (HWCAP_X86_64): New enum.
3668 (HWCAP_X86_AVX512_1): Updated.
3669 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
3670 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
3671 (modules-names): Add x86_64/tst-x86_64mod-1.
3672 (LDFLAGS-tst-x86_64mod-1.so): New.
3673 ($(objpfx)tst-x86_64-1): Likewise.
3674 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
3675 (tst-x86_64-1-clean): Likewise.
3676 * sysdeps/x86_64/tst-x86_64-1.c: New file.
3677 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
3679 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
3681 * po/sv.po: Update translations.
3682 * po/fr.po: Likewise.
3684 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3686 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
3688 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
3690 * elf/rtld-Rules: Fix $(error) use.
3692 2017-09-09 Mike FABIAN <mfabian@redhat.com>
3695 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
3696 * locale/iso-639.def: Change “Bengali” to “Bangla”.
3697 * localedata/locales/bn_BD: “Bengali” was still used in some
3698 comments. Change it to “Bangla”.
3700 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
3702 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
3704 2017-09-08 Steve Ellcey <sellcey@cavium.com>
3706 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
3707 thunderx2t99p1 to list of cpu names.
3708 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3709 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
3711 2017-09-08 Steve Ellcey <sellcey@cavium.com>
3713 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
3714 Use strcmp instead of tunable_is_name.
3716 2017-09-08 Joseph Myers <joseph@codesourcery.com>
3718 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3719 (F_GET_RW_HINT): New macro.
3720 [__USE_GNU] (F_SET_RW_HINT): Likewise.
3721 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
3722 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
3723 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
3724 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
3725 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
3726 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
3727 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
3728 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
3730 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3731 (F_ADD_SEALS): New macro.
3732 [__USE_GNU] (F_GET_SEALS): Likewise.
3733 [__USE_GNU] (F_SEAL_SEAL): Likewise.
3734 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
3735 [__USE_GNU] (F_SEAL_GROW): Likewise.
3736 [__USE_GNU] (F_SEAL_WRITE): Likewise.
3738 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3740 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
3741 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
3742 * posix/glob_internal.h (__glob_pattern_type):
3743 * posix/glob.c (glob):
3744 * posix/glob_pattern_p.c (__glob_pattern_p):
3747 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
3748 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3749 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
3750 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
3751 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
3752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
3753 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
3754 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
3755 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
3756 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3757 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
3758 * sysdeps/wordsize-64/glob.c: Likewise.
3759 * sysdeps/wordsize-64/glob64.c: Likewise.
3760 * sysdeps/wordsize-64/globfree.c: Likewise.
3761 * sysdeps/wordsize-64/globfree64.c: Likewise.
3762 * sysdeps/unix/sysv/linux/glob.c: New file.
3763 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
3764 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
3765 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
3766 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
3767 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
3768 adds !GLOB_NO_OLD_VERSION as an extra condition.
3769 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
3770 using relative path instead of absolute one.
3771 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
3772 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
3773 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3774 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
3775 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
3776 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
3779 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
3780 (glob): Use the same scratch buffer for both getlogin_r and
3781 getpwnam_r. Don’t require preallocation of the login name. This
3782 simplifies storage allocation, and corrects the handling of
3786 * posix/glob.c (glob): Port recent patches to platforms
3788 (glob): Fix longstanding misuse of errno after getpwnam_r, which
3789 returns an error number rather than setting errno.
3791 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
3792 instead of GCC extension.
3793 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
3794 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
3795 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
3799 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
3800 * posix/bug-glob1.c: Remove file.
3801 * posix/tst-glob_symlinks.c: New file.
3802 * posix/glob.c (__lstat64): New macro.
3803 (is_dir): New function.
3804 (glob, glob_in_dir): Match symlinks even if they are dangling.
3805 (link_stat, link_exists_p): Remove. All uses removed.
3809 * posix/glob.c (struct readdir_result): Remove skip_entry member.
3810 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
3814 * posix/Makefile (routines): Add globfree, globfree64, and
3816 * posix/flexmember.h: New file.
3817 * posix/glob_internal.h: Likewise.
3818 * posix/glob_pattern_p.c: Likewise.
3819 * posix/globfree.c: Likewise.
3820 * posix/globfree64.c: Likewise.
3821 * sysdeps/gnu/globfree64.c: Likewise.
3822 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
3823 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
3824 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
3825 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
3826 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
3827 * sysdeps/wordsize-64/globfree.c: Likewise.
3828 * sysdeps/wordsize-64/globfree64.c: Likewise.
3829 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
3830 [NDEBUG): Remove comments.
3831 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
3832 (dirent_type): New type. Use uint_fast8_t not
3833 uint8_t, as C99 does not require uint8_t.
3834 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
3835 (struct readdir_result): Use dirent_type. Do not define skip_entry
3836 unless it is needed; this saves a byte on platforms lacking d_ino.
3837 (readdir_result_type, readdir_result_skip_entry):
3838 New functions, replacing ...
3839 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
3840 these functions, which were removed. This makes the callers
3841 easier to read. All callers changed.
3842 (D_INO_TO_RESULT): Now empty if there is no d_ino.
3843 (size_add_wrapv, glob_use_alloca): New static functions.
3844 (glob, glob_in_dir): Check for size_t overflow in several places,
3845 and fix some size_t checks that were not quite right.
3846 Remove old code using SHELL since Bash no longer
3848 (glob, prefix_array): Separate MS code better.
3849 (glob_in_dir): Remove old Amiga and VMS code.
3850 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
3852 (glob_in_dir): Do not rely on undefined behavior in accessing
3853 struct members beyond their bounds. Use a flexible array member
3855 (link_stat): Rename from link_exists2_p and return -1/0 instead of
3856 0/1. Caller changed.
3857 (glob): Fix memory leaks.
3858 * posix/glob64 (globfree64): Move to separate file.
3859 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
3860 (globfree64): Remove hidden alias.
3861 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
3863 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
3865 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
3867 Move compat code to separate file.
3868 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
3871 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
3873 * resolv/tst-resolv-qtypes.c (domain): Changed to
3874 "const char domain[] =".
3876 2017-09-07 Joseph Myers <joseph@codesourcery.com>
3878 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3881 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
3882 (TCP_MD5SIG_EXT): Likewise.
3883 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
3884 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
3885 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
3887 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
3889 2017-09-07 Mike FABIAN <mfabian@redhat.com>
3891 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
3893 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
3896 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
3898 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3900 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
3901 before assuming that the file is empty. Avoid testing buffer content
3904 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3907 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
3909 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
3911 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
3913 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
3915 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
3917 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
3919 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
3922 2017-09-06 Florian Weimer <fweimer@redhat.com>
3924 * malloc/dynarray_emplace_enlarge.c
3925 (__libc_dynarray_emplace_enlarge): Add missing else.
3927 2017-09-06 Florian Weimer <fweimer@redhat.com>
3930 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
3931 case of failure to obtain the global conf object.
3933 2017-09-06 Florian Weimer <fweimer@redhat.com>
3936 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
3937 dynarray allocation failure.
3939 2017-09-06 Florian Weimer <fweimer@redhat.com>
3941 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
3942 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
3943 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
3945 (response): Call them. Add 'p', '6' flag processing.
3946 (test_reverse): New function.
3947 (test_get2_any): Call it.
3948 (test_no_inet6): Add 'p' test.
3949 (test_inet6): Likewise.
3951 2017-09-06 Florian Weimer <fweimer@redhat.com>
3953 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
3954 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
3956 (test_gai): Adjust query names. Add additional tests.
3957 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
3958 test_get2. Adjust query names. Add additional tests.
3959 (test_no_inet6): New function, extracted from threadfunc.
3960 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
3961 Add additional tests.
3963 2017-09-06 Mike FABIAN <mfabian@redhat.com>
3966 * localedata/unicode-gen/utf8_gen.py: Set the width for
3967 characters with Prepended_Concatenation_Mark property to 1
3968 * localedata/charmaps/UTF-8: Updated using the improved script.
3970 2017-09-06 Mike FABIAN <mfabian@redhat.com>
3973 * localedata/unicode-gen/utf8_gen.py: Improve the script to
3974 use the range notation for all ranges of neighbouring characters
3975 with the same width.
3977 2017-09-05 Joseph Myers <joseph@codesourcery.com>
3979 * sysdeps/generic/math-type-macros-double.h: Include
3980 <math-svid-compat.h>.
3981 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
3982 * sysdeps/generic/math-type-macros-float.h: Include
3983 <math-svid-compat.h>.
3984 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
3985 * sysdeps/generic/math-type-macros-ldouble.h: Include
3986 <math-svid-compat.h>.
3987 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
3988 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
3990 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
3991 * math/w_acosf_compat.c: Likewise.
3992 * math/w_acosh_compat.c: Likewise.
3993 * math/w_acoshf_compat.c: Likewise.
3994 * math/w_acoshl_compat.c: Likewise.
3995 * math/w_acosl_compat.c: Likewise.
3996 * math/w_asin_compat.c: Likewise.
3997 * math/w_asinf_compat.c: Likewise.
3998 * math/w_asinl_compat.c: Likewise.
3999 * math/w_atan2_compat.c: Likewise.
4000 * math/w_atan2f_compat.c: Likewise.
4001 * math/w_atan2l_compat.c: Likewise.
4002 * math/w_atanh_compat.c: Likewise.
4003 * math/w_atanhf_compat.c: Likewise.
4004 * math/w_atanhl_compat.c: Likewise.
4005 * math/w_cosh_compat.c: Likewise.
4006 * math/w_coshf_compat.c: Likewise.
4007 * math/w_coshl_compat.c: Likewise.
4008 * math/w_exp10_compat.c: Likewise.
4009 * math/w_exp10f_compat.c: Likewise.
4010 * math/w_exp10l_compat.c: Likewise.
4011 * math/w_exp2_compat.c: Likewise.
4012 * math/w_exp2f_compat.c: Likewise.
4013 * math/w_exp2l_compat.c: Likewise.
4014 * math/w_fmod_compat.c: Likewise.
4015 * math/w_fmodf_compat.c: Likewise.
4016 * math/w_fmodl_compat.c: Likewise.
4017 * math/w_hypot_compat.c: Likewise.
4018 * math/w_hypotf_compat.c: Likewise.
4019 * math/w_hypotl_compat.c: Likewise.
4020 * math/w_j0_compat.c: Likewise.
4021 * math/w_j0f_compat.c: Likewise.
4022 * math/w_j0l_compat.c: Likewise.
4023 * math/w_j1_compat.c: Likewise.
4024 * math/w_j1f_compat.c: Likewise.
4025 * math/w_j1l_compat.c: Likewise.
4026 * math/w_jn_compat.c: Likewise.
4027 * math/w_jnf_compat.c: Likewise.
4028 * math/w_jnl_compat.c: Likewise.
4029 * math/w_lgamma_r_compat.c: Likewise.
4030 * math/w_lgammaf_r_compat.c: Likewise.
4031 * math/w_lgammal_r_compat.c: Likewise.
4032 * math/w_log10_compat.c: Likewise.
4033 * math/w_log10f_compat.c: Likewise.
4034 * math/w_log10l_compat.c: Likewise.
4035 * math/w_log2_compat.c: Likewise.
4036 * math/w_log2f_compat.c: Likewise.
4037 * math/w_log2l_compat.c: Likewise.
4038 * math/w_log_compat.c: Likewise.
4039 * math/w_logf_compat.c: Likewise.
4040 * math/w_logl_compat.c: Likewise.
4041 * math/w_pow_compat.c: Likewise.
4042 * math/w_powf_compat.c: Likewise.
4043 * math/w_powl_compat.c: Likewise.
4044 * math/w_remainder_compat.c: Likewise.
4045 * math/w_remainderf_compat.c: Likewise.
4046 * math/w_remainderl_compat.c: Likewise.
4047 * math/w_sinh_compat.c: Likewise.
4048 * math/w_sinhf_compat.c: Likewise.
4049 * math/w_sinhl_compat.c: Likewise.
4050 * math/w_sqrt_compat.c: Likewise.
4051 * math/w_sqrtf_compat.c: Likewise.
4052 * math/w_sqrtl_compat.c: Likewise.
4053 * math/w_tgamma_compat.c: Likewise.
4054 * math/w_tgammaf_compat.c: Likewise.
4055 * math/w_tgammal_compat.c: Likewise.
4056 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
4058 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
4059 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
4061 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
4062 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
4064 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
4065 * sysdeps/i386/fpu/w_sqrt.c: New file.
4066 * sysdeps/ia64/fpu/w_acos.c: Likewise.
4067 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
4068 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
4069 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
4070 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
4071 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
4072 * sysdeps/ia64/fpu/w_asin.c: Likewise.
4073 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
4074 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
4075 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
4076 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
4077 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
4078 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
4079 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
4080 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
4081 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
4082 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
4083 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
4084 * sysdeps/ia64/fpu/w_exp.c: Likewise.
4085 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
4086 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
4087 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
4088 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
4089 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
4090 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
4091 * sysdeps/ia64/fpu/w_expf.c: Likewise.
4092 * sysdeps/ia64/fpu/w_expl.c: Likewise.
4093 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
4094 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
4095 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
4096 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
4097 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
4098 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
4099 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
4100 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
4101 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
4102 * sysdeps/ia64/fpu/w_log.c: Likewise.
4103 * sysdeps/ia64/fpu/w_log10.c: Likewise.
4104 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
4105 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
4106 * sysdeps/ia64/fpu/w_log2.c: Likewise.
4107 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
4108 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
4109 * sysdeps/ia64/fpu/w_logf.c: Likewise.
4110 * sysdeps/ia64/fpu/w_logl.c: Likewise.
4111 * sysdeps/ia64/fpu/w_pow.c: Likewise.
4112 * sysdeps/ia64/fpu/w_powf.c: Likewise.
4113 * sysdeps/ia64/fpu/w_powl.c: Likewise.
4114 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
4115 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
4116 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
4117 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
4118 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
4119 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
4120 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
4121 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
4122 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
4123 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
4124 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
4125 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
4126 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
4128 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
4129 * sysdeps/ieee754/k_standard.c: Likewise.
4130 * sysdeps/ieee754/k_standardf.c: Likewise.
4131 * sysdeps/ieee754/k_standardl.c: Likewise.
4132 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
4133 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
4134 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
4135 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
4136 long_double_symbol call on [LIBM_SVID_COMPAT].
4137 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
4138 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
4139 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
4140 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
4141 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
4142 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
4143 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
4144 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
4145 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
4146 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
4147 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
4148 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
4149 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
4150 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
4151 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
4152 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
4153 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
4154 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
4155 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
4156 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
4157 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
4158 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
4160 2017-09-05 Steve Ellcey <sellcey@cavium.com>
4162 * include/shlib-compat.h (TEST_COMPAT): New Macro.
4163 * malloc/tst-mallocstate.c: Convert from test-skeleton
4164 to test-driver. Ifdef code using TEST_COMPAT macro.
4165 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
4166 * math/test-matherr.c: Likewise.
4168 2017-09-05 Joseph Myers <joseph@codesourcery.com>
4171 * debug/pcprofiledump.c (main): Use byte-swapped mask when
4172 comparing word with byte-swapped constant.
4174 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
4177 * locale/iso-639.def: add Miskito.
4178 * localedata/SUPPORTED: Add miq_NI/UTF-8.
4179 * localedata/locales/miq_NI: New file.
4181 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
4184 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
4185 (__mkdir): Likewise.
4186 * io/chmod.c (__chmod): Add libc_hidden_def.
4187 * io/mkdir.c (__mkdir): Likewise.
4188 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
4189 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
4190 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
4191 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
4193 2017-09-04 Joseph Myers <joseph@codesourcery.com>
4195 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4199 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
4200 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
4202 2017-09-04 Florian Weimer <fweimer@redhat.com>
4204 * math/math.h: Issue warning if log is defined.
4206 2017-09-04 Joseph Myers <joseph@codesourcery.com>
4208 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4209 kernel version to 4.13.
4211 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4213 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
4214 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
4216 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
4217 just <bits/types.h>.
4218 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
4219 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
4220 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
4221 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
4222 * misc/preadv2.c: Include <errno.h>.
4223 * misc/preadv64v2.c: Include <errno.h>.
4224 * misc/pwritev2.c: Include <errno.h>.
4225 * misc/pwritev64v2.c: Include <errno.h>.
4226 * sysdeps/posix/preadv2.c: Include <errno.h>.
4227 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
4228 Fix <unistd.h> inclusion.
4229 * sysdeps/posix/pwritev2.c: Include <errno.h>.
4230 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
4231 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
4232 __strtoul_internal): New functions.
4233 * sysdeps/posix/pause.c: Include <sigsetops.h>.
4234 * sysdeps/posix/system.c: Include <sigsetops.h>.
4235 * sysdeps/mach/hurd/i386/Makefile
4236 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
4237 [$(subdir) = csu] (sysdep-only-routines): Likewise.
4238 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4239 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
4240 __feraiseexcept_renamed to feraiseexcept instead of
4242 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
4243 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
4244 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
4245 RWF_NOWAIT): Define to 0 if undefined already.
4246 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
4248 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
4249 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
4251 2017-09-01 Joseph Myers <joseph@codesourcery.com>
4253 * manual/math.texi (pow10): Do not document.
4256 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
4257 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
4258 * math/libm-test-exp10.inc (pow10_test): Remove.
4259 (do_test): Do not call pow10.
4260 * math/w_exp10_compat.c (pow10): Make into compat symbol.
4261 [NO_LONG_DOUBLE] (pow10l): Likewise.
4262 * math/w_exp10f_compat.c (pow10f): Likewise.
4263 * math/w_exp10l_compat.c (pow10l): Likewise.
4264 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
4265 (pow10): Make into compat symbol.
4266 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
4267 (pow10f): Make into compat symbol.
4268 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
4269 (pow10l): Make into compat symbol.
4270 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
4272 (CFLAGS-nldbl-pow10.c): Remove variable..
4273 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
4274 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
4275 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
4276 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
4277 Undefine and redefine.
4278 (pow10l): Make into compat symbol.
4279 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
4280 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4281 * sysdeps/arm/libm-test-ulps: Likewise.
4282 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
4283 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4284 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4285 * sysdeps/microblaze/libm-test-ulps: Likewise.
4286 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4287 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4288 * sysdeps/nios2/libm-test-ulps: Likewise.
4289 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4290 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4291 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4292 * sysdeps/sh/libm-test-ulps: Likewise.
4293 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4294 * sysdeps/tile/libm-test-ulps: Likewise.
4295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4297 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4299 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
4301 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4303 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
4304 "../ChangeLog.old/ChangeLog.8".
4305 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
4306 "../ChangeLog.old/ChangeLog.14".
4308 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4310 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
4313 2017-09-01 Joseph Myers <joseph@codesourcery.com>
4315 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
4317 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4319 * csu/version.c (banner): Remove "by Roland McGrath et al.".
4320 * nptl/Banner: Remove "by Ulrich Drepper et al.".
4322 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4324 * stdlib/tst-atexit-common.c (do_test): Test support for at least
4327 2017-09-01 Zack Weinberg <zackw@panix.com>
4329 * math/math.h (HUGE_VAL): Improve commentary.
4331 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4332 Andreas Schwab <schwab@suse.de>
4335 * include/stdio.h (__gen_tempfd): New function.
4336 * stdio-common/Makefile (routines): Add gentempfd.
4337 * stdio-common/gentempfd.c: New file.
4338 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
4339 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
4342 2017-09-01 Florian Weimer <fweimer@redhat.com>
4346 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
4347 result to determine success or failure, not the errno value.
4348 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
4349 (tst-nss-files-hosts-erange): Link with -ldl.
4350 * nss/tst-nss-files-hosts-erange.c: New file.
4351 * nss/tst-resolv-basic.c (response): Handle nodata.example.
4352 (do_test): Add NO_DATA tests.
4353 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
4356 2017-09-01 Florian Weimer <fweimer@redhat.com>
4359 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
4360 coming from gethostbyname2_r.
4362 2017-09-01 Florian Weimer <fweimer@redhat.com>
4364 * support/namespace.h (struct support_chroot_configuration): Add
4366 (struct support_chroot): Add path_hosts, path_host_conf.
4367 * support/support_chroot.c (write_file): New function.
4368 (support_chroot_create): Call it to process /etc/resolv.conf,
4369 /etc/hosts, /etc/host.conf.
4370 (support_chroot_free): Update.
4372 2017-09-01 Florian Weimer <fweimer@redhat.com>
4374 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
4375 status indicates it is set.
4377 2017-09-01 Florian Weimer <fweimer@redhat.com>
4379 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
4380 function lookup failures more reliable.
4382 2017-09-01 Florian Weimer <fweimer@redhat.com>
4384 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
4385 (getcanonname): Likewise.
4386 (gaih_inet): Likewise.
4388 2017-09-01 Florian Weimer <fweimer@redhat.com>
4390 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
4391 (getcanonname): Likewise.
4392 (gaih_inet): Likewise.
4394 2017-08-31 Steve Ellcey <sellcey@cavium.com>
4395 Richard Henderson <rth@twiddle.net>
4397 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
4398 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
4399 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
4400 (IREG_SIZE, OREG_SIZE): New macros.
4401 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
4402 (IREG_SIZE, OREG_SIZE): New macros.
4403 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
4404 (IREG_SIZE): New macro.
4405 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
4406 (IREG_SIZE): New macro.
4407 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
4409 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
4410 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
4411 (__CONCATX): Handle exceptions correctly on large values that may
4413 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
4414 Initialize if not already set.
4415 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
4417 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4419 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
4420 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
4422 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
4424 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
4426 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
4428 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
4430 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
4432 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
4434 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
4435 (NO_CANCELLATION): Likewise.
4436 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
4438 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
4440 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
4442 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
4443 (NO_CANCELLATION): Likewise.
4444 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
4445 (NO_CANCELLATION): Likewise.
4446 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
4448 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
4450 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
4452 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
4454 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
4456 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
4457 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
4459 2017-08-31 Steve Ellcey <sellcey@cavium.com>
4461 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
4464 2017-08-31 Florian Weimer <fweimer@redhat.com>
4466 * include/libc-symbols.h (internal_function): Remove.
4468 2017-08-31 Florian Weimer <fweimer@redhat.com>
4470 * stdlib/fmtmsg.c (internal_addseverity): Remove
4473 2017-08-31 Florian Weimer <fweimer@redhat.com>
4475 * stdio-common/printf_fp.c (group_number): Remove
4477 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
4479 2017-08-31 Florian Weimer <fweimer@redhat.com>
4481 * posix/fnmatch.c (internal_function): Remove definition.
4482 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
4483 * posix/regcomp.c (peek_token, init_word_char)
4484 (duplicate_node_closure, fetch_token, peek_token)
4485 (peek_token_bracket, build_range_exp, build_collating_symbol):
4487 * posix/regex_internal.c (re_string_construct_common)
4488 (create_ci_newstate, create_cd_newstate, re_string_allocate)
4489 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
4490 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
4491 (re_string_translate_buffer, re_string_reconstruct)
4492 (re_string_peek_byte_case, re_string_fetch_byte_case)
4493 (re_string_destruct, re_string_context_at, re_node_set_alloc)
4494 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
4495 (re_node_set_add_intersect, re_node_set_init_union)
4496 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
4497 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
4498 (re_dfa_add_node, calc_state_hash, re_acquire_state)
4499 (re_acquire_state_context): Likewise.
4500 * posix/regex_internal.h (internal_function): Remove definition.
4501 (re_string_realloc_buffers, build_wcs_buffer)
4502 (build_wcs_upper_buffer, build_upper_buffer)
4503 (re_string_translate_buffer, re_string_context_at)
4504 (re_string_char_size_at, re_string_wchar_at)
4505 (re_string_elem_size_at): Likewise.
4506 * posix/regexec.c (match_ctx_init, match_ctx_clean)
4507 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
4508 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
4509 (re_search_internal, re_search_2_stub, re_search_stub)
4510 (re_copy_regs, prune_impossible_nodes, check_matching)
4511 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
4512 (free_fail_stack_return, sift_states_iter_mb)
4513 (sift_states_backward, build_sifted_states)
4514 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
4515 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
4516 (check_subexp_limits, sift_states_bkref, merge_state_array)
4517 (find_recover_state, transit_state, merge_state_with_log)
4518 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
4519 (transit_state_mb, transit_state_bkref, get_subexp)
4520 (get_subexp_sub, find_subexp_node, check_arrival)
4521 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
4522 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
4523 (check_node_accept_bytes, find_collation_sequence_value)
4524 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
4525 (acquire_init_state_context, check_halt_node_context)
4526 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
4527 (sub_epsilon_src_nodes): Likewise.
4528 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
4529 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
4530 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
4531 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
4532 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
4533 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
4534 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
4535 * sysdeps/posix/ttyname.c (getttyname): Likewise.
4536 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
4537 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
4539 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
4541 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
4542 (PWRITEV): Likewise.
4543 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
4544 (PWRITEV): Likewise.
4545 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
4546 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
4548 2017-08-31 Florian Weimer <fweimer@redhat.com>
4550 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
4551 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
4552 Remove internal_function.
4553 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
4554 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
4555 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
4556 (__deallocate_stack, __libc_pthread_init)
4557 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
4558 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
4559 (__libc_disable_asynccancel, __librt_disable_asynccancel):
4561 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
4562 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
4563 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
4565 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
4566 (__pthread_mutex_unlock_usercnt): Likewise.
4568 2017-08-31 Florian Weimer <fweimer@redhat.com>
4570 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
4571 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
4572 (fts_safe_changedir): Remove internal_function.
4573 * io/ftw.c (internal_function): Remove definition.
4574 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
4576 2017-08-31 Florian Weimer <fweimer@redhat.com>
4578 * inet/deadline.c (__deadline_current_time)
4579 (__deadline_from_timeval, __deadline_to_ms): Remove
4581 * inet/getnameinfo.c (nrl_domainname): Likewise.
4582 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
4583 * inet/inet6_option.c (add_pad): Likewise.
4584 * inet/net-internal.h (__deadline_current_time)
4585 (__deadline_from_timeval, __deadline_to_ms): Likewise.
4586 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
4587 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
4588 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
4590 2017-08-31 Joseph Myers <joseph@codesourcery.com>
4592 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
4593 include <bits/nan.h>.
4594 * math/Makefile (headers): Remove bits/nan.h.
4595 * bits/nan.h: Remove.
4596 * sysdeps/ieee754/bits/nan.h: Likewise.
4597 * sysdeps/mips/bits/nan.h: Likewise.
4599 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
4600 not include <bits/inf.h>.
4601 * math/Makefile (headers): Remove bits/inf.h.
4602 * bits/inf.h: Remove.
4603 * sysdeps/ieee754/bits/inf.h: Likewise.
4605 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
4606 bits/huge_vall.h or bits/huge_val_flt128.h.
4607 (HUGE_VAL): Define directly here.
4608 [__USE_ISOC99] (HUGE_VALF): Likewise.
4609 [__USE_ISOC99] (HUGE_VALL): Likewise.
4610 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4611 (HUGE_VAL_F128): Likewise.
4612 * math/Makefile (headers): Remove bits/huge_val.h,
4613 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
4614 * bits/huge_val.h: Remove.
4615 * bits/huge_val_flt128.h: Likewise.
4616 * bits/huge_valf.h: Likewise.
4617 * bits/huge_vall.h: Likewise.
4618 * sysdeps/ia64/bits/huge_vall.h: Likewise.
4619 * sysdeps/ieee754/bits/huge_val.h: Likewise.
4620 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
4621 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
4622 * sysdeps/sh/bits/huge_val.h: Likewise.
4623 * sysdeps/sparc/bits/huge_vall.h: Likewise.
4624 * sysdeps/x86/bits/huge_vall.h: Likewise.
4626 2017-08-31 Florian Weimer <fweimer@redhat.com>
4628 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
4630 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
4632 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
4633 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4634 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
4635 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
4636 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4637 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4638 * elf/dl-libc.c (dlerror_run): Likewise.
4639 * elf/dl-load.c (add_name_to_object, decompose_rpath)
4640 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
4641 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
4642 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
4644 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
4645 (_dl_higher_prime_number, _dl_strtoul): Likewise.
4646 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
4647 * elf/dl-profile.c (_dl_start_profile): Likewise.
4648 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
4649 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
4651 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
4652 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
4653 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
4654 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
4655 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
4656 (_dl_allocate_tls_storage): Likewise.
4657 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
4658 (_dl_check_all_versions): Likewise.
4659 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
4660 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
4661 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
4662 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
4663 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
4664 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
4665 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
4666 internal_function from __dl_start.
4667 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
4668 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
4669 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
4670 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
4671 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
4672 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
4673 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
4674 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
4675 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
4676 (_dl_next_ld_env_entry, _dl_important_hwcaps)
4677 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
4678 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
4679 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
4680 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
4681 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
4683 (struct rtld_global_ro): Remove internal_function from the
4684 _dl_lookup_symbol_x member.
4685 (_dl_symbol_value): Remove. No longer defined anywhere.
4686 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
4688 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
4689 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4690 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
4691 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
4692 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
4693 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
4694 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
4695 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
4696 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
4697 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
4698 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
4699 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4701 2017-08-31 Florian Weimer <fweimer@redhat.com>
4703 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
4704 Remove internal_function.
4705 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
4707 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
4710 2017-08-31 Florian Weimer <fweimer@redhat.com>
4712 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
4713 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
4714 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
4716 2017-08-31 Florian Weimer <fweimer@redhat.com>
4718 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
4719 (__gai_enqueue_request): Remove internal_function.
4720 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
4721 (__gai_remove_request, __gai_notify, __gai_notify_only)
4722 (__gai_sigqueue): Likewise.
4723 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
4724 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
4725 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
4726 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4729 2017-08-31 Florian Weimer <fweimer@redhat.com>
4731 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
4732 * include/dirent.h (__opendirat, __getdents, __getdents64)
4733 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
4734 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
4735 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
4736 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
4738 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
4740 2017-08-31 Florian Weimer <fweimer@redhat.com>
4742 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
4744 (GETCWD_RETURN_TYPE): Likewise.
4746 2017-08-31 Florian Weimer <fweimer@redhat.com>
4748 * include/time.h (__tz_compute, __strptime_internal): Remove
4750 * time/strptime_l.c (__strptime_internal): Likewise.
4751 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
4753 2017-08-31 Florian Weimer <fweimer@redhat.com>
4755 * iconv/gconv.c (__gconv): Remove internal_function.
4756 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
4757 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
4758 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
4759 (__gconv_release_cache): Likewise.
4760 * iconv/gconv_close.c (__gconv_close): Likewise.
4761 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
4762 (read_conf_file, __gconv_get_path): Likewise.
4763 * iconv/gconv_db.c (derivation_lookup, add_derivation)
4764 (__gconv_release_step, gen_steps, increment_counter)
4765 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
4766 (__gconv_close_transform, free_modules_db): Likewise.
4767 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
4769 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
4770 (__gconv_find_transform, __gconv_lookup_cache)
4771 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
4772 (__gconv_close_transform, __gconv_release_cache)
4773 (__gconv_loaded_object, __gconv_release_shlib)
4774 (__gconv_compare_alias): Likewise.
4775 * iconv/gconv_open.c (__gconv_open): Likewise.
4776 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
4777 * iconv/iconvconfig.c (add_module): Likewise.
4778 * intl/dcigettext.c (plural_lookup, guess_category_value)
4779 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
4780 * intl/eval-plural.h (plural_eval): Likewise.
4781 * intl/finddomain.c (_nl_find_domain): Likewise.
4782 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
4783 (_nl_load_domain, _nl_find_msg): Likewise.
4784 (internal_function): Remove definition.
4785 * intl/loadinfo.h (internal_function): Likewise.
4786 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
4788 * intl/localealias.c (internal_function): Remove definition.
4789 (read_alias_file): Remove internal_function.
4790 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
4791 * intl/plural-exp.h (internal_function): Remove definition.
4792 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
4794 * intl/plural.c: Regenerate.
4795 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
4796 * locale/coll-lookup.c (__collidx_table_lookup)
4797 (__collseq_table_lookup): Likewise.
4798 * locale/coll-lookup.h (__collidx_table_lookup)
4799 (__collseq_table_lookup): Likewise.
4800 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
4801 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4802 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
4803 (_nl_unload_locale): Likewise.
4804 * locale/localeinfo.h (struct __locale_data): Remove
4805 internal_function from cleanup member.
4806 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
4807 (_nl_remove_locale, _nl_load_locale_from_archive)
4808 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
4809 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
4810 (_nl_cleanup_time): Remove internal_function.
4811 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
4812 (_nl_parse_alt_digit): Likewise.
4813 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
4814 (_nl_select_era_entry): Likewise.
4815 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
4816 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
4817 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
4818 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
4819 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
4821 2017-08-31 Florian Weimer <fweimer@redhat.com>
4823 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
4824 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
4825 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
4826 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
4828 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
4829 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
4830 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
4831 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
4833 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
4835 2017-08-31 Florian Weimer <fweimer@redhat.com>
4837 * misc/getttyent.c (skip, value): Remove internal_function.
4838 * misc/syslog.c (openlog_internal): Likewise.
4839 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
4841 2017-08-31 Florian Weimer <fweimer@redhat.com>
4843 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
4844 (__nss_rewrite_field): Remove internal_function.
4845 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4846 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
4847 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4848 * nss/nsswitch.c (nss_parse_file, nss_getline)
4849 (nss_parse_service_list, nss_new_service): Likewise.
4850 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
4851 * nss/valid_field.c (__nss_valid_field): Likewise.
4852 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
4854 2017-08-31 Florian Weimer <fweimer@redhat.com>
4856 * malloc/arena.c (__malloc_fork_lock_parent)
4857 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
4858 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
4859 internal_function from defintions.
4860 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
4861 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
4862 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
4863 internal_function from declarations.
4864 * malloc/malloc.c (internal_function): Do not define.
4865 (mem2mem_check): Remove internal_function from declaration.
4866 (munmap_chunk, mremap_chunk): Remove internal_function.
4867 * malloc/mtrace.c (tr_where): Likewise.
4869 2017-08-31 Florian Weimer <fweimer@redhat.com>
4871 * include/rpc/pmap_clnt.h (__get_socket): Remove
4873 * sunrpc/auth_des.c (synchronize): Likewise.
4874 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
4875 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
4876 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
4877 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
4878 (key_call): Likewise.
4879 * sunrpc/pm_getport.c (__get_socket): Likewise.
4880 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
4881 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
4882 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
4883 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
4884 (invalidate): Likewise.
4885 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
4886 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
4887 (set_input_fragment, get_input_bytes): Likewise.
4889 2017-08-31 Florian Weimer <fweimer@redhat.com>
4891 * malloc/malloc.c (_int_free): Remove locked variable and related
4894 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
4897 * Makerules (build-module-helper-objlist): Filter out
4898 $(elf-objpfx)sofini.os.
4899 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
4902 2017-08-31 Florian Weimer <fweimer@redhat.com>
4904 * libio/fcloseall.c: Assume weak_alias is defined.
4905 * libio/feof.c: Likewise.
4906 * libio/fileno.c: Likewise.
4907 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
4908 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
4910 (_IO_file_open): Call __open directly.
4911 (_IO_new_file_sync): Assume ESPIPE is defined.
4912 (_IO_file_seekoff_maybe_mmap): Call __read directly.
4913 (_IO_new_file_write): Call __write directly.
4914 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
4915 * libio/ftello64.c (__ftello64): Assume EIO is defined.
4916 * libio/genops.c: Assume _LIBC is defined.
4917 (save_for_backup): Remove internal_function.
4918 * libio/getc.c: Assume weak_alias is defined.
4919 * libio/getwc.c: Likewise.
4920 * libio/iofclose.c: Assume _LIBC is defined.
4921 * libio/iofdopen.c: Likewise.
4922 (_IO_fcntl): Remove macro definition.
4923 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
4924 Call __fcntl directly.
4925 * libio/iofflush.c: Assume weak_alias is defined.
4926 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
4928 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
4929 * libio/iofgets.c: Likewise.
4930 * libio/iofopen.c: Assume _LIBC is defined.
4931 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
4932 * libio/iofputs.c: Assume weak_alias is defined.
4933 * libio/iofread.c: Likewise.
4934 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
4935 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
4936 * libio/ioftell.c: Assume weak_alias is defined.
4937 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
4938 * libio/iofwide.c: Assume _LIBC is defined.
4939 (_IO_fwide): Drop SHARED conditional because it is implied by
4941 * libio/iofwrite.c: Assume weak_alias is defined.
4942 * libio/iogetdelim.c: Likewise.
4943 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
4944 * libio/iogetwline.c (wmemcpy): Remove macro definition.
4945 (_IO_getwline): Call __wmemcpy directly.
4946 * libio/iopopen.c: Assume _LIBC is defined.
4947 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
4948 (_IO_close): Remove macro definitions.
4949 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
4951 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
4953 * libio/ioputs.c: Assume weak_alias is defined.
4954 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
4955 * libio/iosetbuffer.c: Assume weak_alias is defined.
4956 * libio/iosetvbuf.c: Likewise.
4957 * libio/ioungetc.c: Likewise.
4958 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
4959 libc_hidden_def, libc_hidden_weak, NULL are defined.
4960 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
4961 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
4963 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
4965 (_IO_old_file_init_internal): Drop SHARED conditional because it
4966 is implied by SHLIB_COMPAT.
4967 (_IO_old_file_fopen): Call __open directly.
4968 (_IO_old_file_sync): Assume ESPIPE is defined.
4969 (_IO_old_file_write): Call __write directly.
4970 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
4971 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
4972 Call __fcntl directly.
4973 * libio/oldiofgetpos.c: Assume weak_alias is defined.
4974 (_IO_old_fgetpos): Assume EIO is defined.
4975 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
4976 (_IO_old_fgetpos64): Assume EIO is defined.
4977 * libio/oldiofsetpos.c: Assume weak_alias is defined.
4978 (_IO_old_fsetpos): Assume EIO is defined.
4979 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
4980 (_IO_old_fsetpos64): Assume EIO is defined.
4981 * libio/oldiopopen.c: Assume _LIBC is defined.
4982 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
4983 (_IO_close): Remove macro definitions.
4984 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
4986 (_IO_old_proc_close): Call __close, __waitpid directly.
4987 * libio/put.c: Assume weak_alias is defined.
4988 * libio/stdfiles.c: Assume _LIBC is defined.
4989 * libio/stdio.c: Likewise.
4990 * libio/wfileops.c: Likewise.
4991 (_IO_wfile_sync): Assume ESPIPE is defined.
4992 * libio/wgenops.c: Assume _LIBC is defined.
4993 (save_for_wbackup): Remove internal_function.
4995 2017-08-31 Florian Weimer <fweimer@redhat.com>
4997 * malloc/malloc.c (top_check): Change return type to void. Remove
4999 * malloc/hooks.c (top_check): Likewise.
5000 (malloc_check, realloc_check, memalign_check): Adjust.
5002 2017-08-30 Joseph Myers <joseph@codesourcery.com>
5005 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
5006 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
5007 sigcontext and namespace requirements.
5008 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
5009 * sysdeps/m68k/sys/ucontext.h: Likewise.
5010 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
5011 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
5012 <bits/sigcontext.h>.
5013 (__ctx): Define earlier.
5014 (mcontext_t): Define structure contents rather than using struct
5016 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
5017 __glibc_reserved1 instead of __reserved.
5018 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
5019 <bits/sigcontext.h>.
5020 (__ctx): Define earlier.
5021 (mcontext_t): Define structure contents rather than using struct
5023 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
5024 mcontext_t instead of struct sigcontext.
5025 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
5026 <bits/sigcontext.h>.
5027 (__ctx): Define earlier.
5028 (mcontext_t): Define structure contents rather than using struct
5030 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
5031 <bits/sigcontext.h>.
5032 (__ctx): Define earlier.
5033 (mcontext_t): Define structure contents rather than using struct
5035 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
5036 mcontext_t instead of struct sigcontext.
5037 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
5038 mcontext_t instead of struct sigcontext.
5039 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
5040 <bits/sigcontext.h>.
5042 (struct __ia64_fpreg_mcontext): New type.
5043 (mcontext_t): Define structure contents rather than using struct
5045 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
5046 (uc_sigmask): Define using __ctx.
5047 (uc_stack): Likewise.
5048 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
5049 <bits/sigcontext.h>.
5050 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5051 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
5052 <bits/sigcontext.h>.
5053 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
5054 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
5055 <bits/sigcontext.h>.
5056 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
5057 <bits/sigcontext.h>.
5058 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
5059 <bits/sigcontext.h>.
5060 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
5061 <bits/sigcontext.h>.
5062 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
5063 <bits/sigcontext.h>.
5064 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
5065 <bits/sigcontext.h>.
5066 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
5067 <bits/sigcontext.h>.
5068 (__ctx): Define earlier.
5069 (mcontext_t): Define structure contents rather than using struct
5071 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
5072 <bits/sigcontext.h>. Include <bits/types.h>.
5073 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
5074 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
5075 (test-xfail-XPG42/ucontext.h/conform): Likewise.
5076 (test-xfail-UNIX98/signal.h/conform): Likewise.
5077 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5078 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5079 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5080 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5081 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5082 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5083 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5084 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5085 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5087 2017-08-30 Florian Weimer <fweimer@redhat.com>
5089 * malloc/dynarray_emplace_enlarge.c
5090 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
5091 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
5092 * malloc/tst-dynarray.c (test_long_overflow): New function.
5095 2017-08-30 Florian Weimer <fweimer@redhat.com>
5097 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
5098 (set_arena_corrupt): Remove definitions.
5099 (mtrim): Do not check for corrupt arena.
5100 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
5103 2017-08-30 Florian Weimer <fweimer@redhat.com>
5106 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
5108 (ptmalloc_init): Do not set or use check_action.
5109 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
5110 call to malloc_printerr. Remove return statement.
5111 (free_check): Likewise. Remove arena unlock.
5112 (top_check): Update comment. Adjust call to malloc_printerr.
5113 Remove heap repair code.
5114 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
5115 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
5116 (sysmalloc): Adjust call to malloc_printerr.
5117 (munmap_chunk, __libc_realloc): Likewise. Remove return
5119 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
5120 Remove errout label and corresponding gotos.
5121 (_int_free): Likewise. Remove arena unlock.
5122 (do_set_mallopt_check): Do not set check_action.
5123 (malloc_printerr): Adjust parameter list. Do not mark arena as
5125 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
5127 * manual/probes.texi (Memory Allocation Probes): Remove
5128 memory_mallopt_check_action.
5130 2017-08-30 Steve Ellcey <sellcey@cavium.com>
5132 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
5133 Use pointer to uint64_t instead of long int for sp.
5135 2017-08-30 Florian Weimer <fweimer@redhat.com>
5138 * malloc/malloc.c (malloc_printerr): Always terminate the process,
5139 without printing a backtrace. Do not leak any information in the
5141 * manual/memory.texi (Heap Consistency Checking): Update.
5142 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
5144 2017-08-30 Florian Weimer <fweimer@redhat.com>
5146 Do not scale NPTL tests with available number of CPUs.
5147 * nptl/tst-cond16.c (count): Set to constant value of 8.
5148 * nptl/tst-cond18.c (count): Likewise.
5150 2017-08-29 Joseph Myers <joseph@codesourcery.com>
5153 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
5154 Define to take a second argument that is a macro that
5155 concatentates a suffix, not the suffix itself.
5156 (__CONCAT_d): New macro.
5157 (__CONCAT_f): Likewise.
5158 (__CONCAT_l): Likewise.
5160 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
5162 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
5165 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5166 Aurelien Jarno <aurelien@aurel32.net>
5167 Maciej W. Rozycki <macro@imgtec.com>
5170 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
5171 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
5172 `mips16-syscall6' and `mips16-syscall7'.
5173 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
5174 (CFLAGS-mips16-syscall7.c): Remove.
5175 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
5176 Remove `__mips16_syscall5', `__mips16_syscall6' and
5177 `__mips16_syscall7'.
5178 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
5179 (__mips16_syscall0): Rename `__mips16_syscall_return' to
5180 `__mips_syscall_return'.
5181 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
5182 (__mips16_syscall1): Likewise.
5183 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
5184 (__mips16_syscall2): Likewise.
5185 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
5186 (__mips16_syscall3): Likewise.
5187 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
5188 (__mips16_syscall4): Likewise.
5189 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
5191 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
5193 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
5195 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
5196 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
5197 `__mips16_syscall5'. Remove prototype.
5198 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
5199 `__mips16_syscall6'. Remove prototype.
5200 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
5201 `__mips16_syscall7'. Remove prototype.
5202 (__nomips16, __mips16_syscall_return): Move to...
5203 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
5204 (__nomips16, __mips_syscall_return): ... here.
5205 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
5206 `__mips16_syscall_return' to `__mips_syscall_return'.
5207 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
5208 `internal_syscall##nr'.
5209 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
5210 `internal_syscall##nr'.
5211 (FORCE_FRAME_POINTER): Remove.
5212 (__mips_syscall5): New prototype.
5213 (internal_syscall5): Rewrite to call `__mips_syscall5'.
5214 (__mips_syscall6): New prototype.
5215 (internal_syscall6): Rewrite to call `__mips_syscall6'.
5216 (__mips_syscall7): New prototype.
5217 (internal_syscall7): Rewrite to call `__mips_syscall7'.
5218 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
5219 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
5220 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
5221 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
5222 (sysdep_routines): Add libc-do-syscall.
5223 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
5224 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
5226 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5229 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
5230 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
5231 (advise_stack_range): New function.
5232 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
5233 stack non required to advise_stack_range at allocatestack.c
5235 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
5237 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
5239 2017-08-29 Florian Weimer <fweimer@redhat.com>
5242 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
5243 __end_fct. Mangle __end_fct after setting it to NULL.
5244 * iconv/Makefile (tests): Add tst-gconv-init-failure.
5245 (modules-names, modules-names-tests): Add
5246 tst-gconv-init-failure-mod.
5247 (gconv-modules): New target.
5248 (tst-gconv-init-failure-mod.so): Link against libsupport.
5249 (tst-gconv-init-failure): Depend on gconv-modules,
5250 tst-gconv-init-failure-mod.so.
5251 * iconv/tst-gconv-init-failure-mod.c: New file.
5252 * iconv/tst-gconv-init-failure.c: Likewise.
5253 * iconv/test-gconv-modules: Likewise.
5255 2017-08-29 Florian Weimer <fweimer@redhat.com>
5258 * iconv/gconv_db.c (free_derivation): Remove redundant
5260 (gen_steps): Unconditionally mangle __btowc_fct after
5262 (increment_counter): Likewise. Do not call init_fct for internal
5265 2017-08-29 Joseph Myers <joseph@codesourcery.com>
5268 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
5269 (_MSUF_): Remove macro.
5270 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
5272 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
5273 (__REDIRFROM_X): New macro.
5274 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
5276 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
5277 (__REDIRTO_X): Likewise.
5278 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
5280 (__MATH_REDIRCALL_2): Likewise.
5281 (__MATH_REDIRCALL_INTERNAL): Likewise.
5282 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
5283 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
5284 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
5285 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
5286 * math/test-finite-macros.c: New file.
5287 * math/Makefile (tests): Add test-finite-macros.
5288 (CFLAGS-test-finite-macros.c): New variable.
5290 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
5291 Jeff Law <law@redhat.com>
5294 Mangle NULL pointers in iconv/gconv.
5295 * iconv/gconv_cache.c (find_module): Demangle init_fct before
5296 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
5297 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
5298 is non-NULL before demangling the end_fct. Check for NULL
5299 end_fct after demangling.
5300 (__gconv_release_step): Demangle the end_fct before checking
5301 it for NULL. Remove assert on __shlibc_handle != NULL.
5302 (gen_steps): Don't check btowc_fct for NULL before mangling.
5303 Demangle init_fct before checking for NULL.
5304 (increment_counter): Likewise.
5305 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
5306 end_fct for NULL before mangling.
5307 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
5310 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
5313 * locale/iso-639.def: add Morisyen.
5315 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5318 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
5319 (iszero): New C++ implementation that does not use
5320 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
5321 signaling nans are enabled, since __builtin_types_compatible_p
5322 is a C-only feature.
5323 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
5324 defined, include ieee754_float128.h for access to the union and
5325 member ieee854_float128.ieee.
5326 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
5327 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
5328 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
5329 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
5330 options of test-math-zero on powerpc64le.
5332 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
5334 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
5335 Change double to float.
5337 2017-08-28 Joseph Myers <joseph@codesourcery.com>
5339 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
5341 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
5342 conditional code; define contents only for [LIBM_SVID_COMPAT].
5344 2017-08-28 Florian Weimer <fweimer@redhat.com>
5346 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
5347 (abi-lp64_be-options): Remove.
5348 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
5349 (abi-hard-options): Likewise.
5350 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
5351 (abi-o32_hard-options, abi-o32_soft_2008-options)
5352 (abi-o32_hard_2008-options, abi-n32_soft-options)
5353 (abi-n32_hard-options, abi-n32_soft_2008-options)
5354 (abi-n32_hard_2008-options, abi-n64_soft-options)
5355 (abi-n64_hard-options, abi-n64_soft_2008-options)
5356 (abi-n64_hard_2008-options): Likewise.
5357 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
5358 (abi-64-v1-options, abi-64-v2-options): Likewise.
5359 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
5360 (abi-64-options): Likewise.
5361 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
5362 (abi-64-options): Likewise.
5363 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
5364 (abi-64-options): Likewise.
5365 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
5366 (abi-64-options, abi-x32-options): Likewise.
5368 2017-08-28 Florian Weimer <fweimer@redhat.com>
5370 Store supported list of SYS_* system calls in the source tree.
5371 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5372 (bits/syscall.h): Generate from list file.
5373 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
5374 [$(subdir) = misc] (tests): Add tst-syscall-list.
5375 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
5376 [$(subdir) = misc] (tst-syscall-list-macros.list)
5377 [$(subdir) = misc] (tst-syscall-list-nr.list)
5378 (tst-syscall-list-sys.list): Helper targets for new
5379 tst-syscall-list test.
5380 [$(subdir) = misc] (tst-syscall-list.out): Run test script
5381 tst-syscall-list.sh.
5382 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
5383 target. Do not include bits/syscall.d.
5384 [$(subdir) = misc] (generated): Do not update.
5385 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
5386 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
5387 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
5388 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
5390 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5392 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
5393 (tst-cxa_atexit, tst-on_exit): Likewise.
5394 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
5395 tst-cxa_atexit, and tst-on_exit.
5396 * stdlib/tst-atexit-common.c: New file.
5397 * stdlib/tst-atexit.c: New file.
5398 * stdlib/tst-at_quick_exit.c: New file.
5399 * stdlib/tst-cxa_atexit.c: New file.
5400 * stdlib/tst-on_exit.c: New file.
5402 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5404 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
5405 * mach/stack_chk_fail_local.c: New file.
5406 * hurd/stack_chk_fail_local.c: New file.
5407 * mach/Machrules ($(interface-library)-routines): Add
5408 stack_chk_fail_local.
5409 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
5410 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
5411 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
5412 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
5413 * hurd/Makefile (CFLAGS-hurdstartup.o,
5414 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
5416 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
5418 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
5419 (index_cpu_*, index_arch_*): Removed.
5421 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5423 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
5424 Use uint64_t instead of unsigned long.
5426 2017-08-25 Joseph Myers <joseph@codesourcery.com>
5428 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
5429 [__HAVE_DISTINCT_FLOAT128].
5431 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
5432 of <bits/math-finite.h>.
5433 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
5434 inclusion of <bits/math-finite.h>.
5435 * math/bits/math-finite.h (__REDIRTO_X): Do not define
5436 conditionally on [__MATH_DECLARING_LDOUBLE && defined
5437 __NO_LONG_DOUBLE_MATH].
5438 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
5439 (__MATH_REDIRCALL_2): Likewise.
5440 (__MATH_REDIRCALL_INTERNAL): Likewise.
5441 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
5442 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
5443 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
5445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
5447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
5449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
5451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
5453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
5455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
5457 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5458 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5459 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5460 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
5462 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
5463 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
5464 w_sqrtf_compat-ppc32.
5466 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5468 * math/math.h [defined __cplusplus] (issignaling): In the long
5469 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
5470 is not defined. Call __issignaling, otherwise.
5472 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5474 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
5475 syscall definitions and replace __builtin_expect with __glibc_likely.
5476 * sysdeps/unix/syscall-template.S: Update comment about cancellable
5478 (SYSCALL_CANCELLABLE): Removedefinition
5479 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
5481 (PSEUDO_END): Likewise.
5482 [IS_IN (libpthread)] (CENABLE): Likewise.
5483 [IS_IN (libpthread)] (CDISABLE): Likewise.
5484 [IS_IN (libc)] (CENABLE): Likewise.
5485 [IS_IN (libc)] (CENABLE): Likewise.
5486 [IS_IN (librt)] (CDISABLE): Likewise.
5487 [IS_IN (librt)] (CDISABLE): Likewise.
5488 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5489 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
5491 (PSEUDO_END): Likewise.
5492 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
5493 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
5494 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
5495 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
5496 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
5497 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
5498 (CENABLE): Likewise.
5499 (CDISABLE): Likewise.
5500 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5501 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
5503 (PSEUDO_END): Likewise.
5504 [IS_IN (libpthread)] (CENABLE): Likewise.
5505 [IS_IN (libpthread)] (CDISABLE): Likewise.
5506 [IS_IN (libc)] (CENABLE): Likewise.
5507 [IS_IN (libc)] (CENABLE): Likewise.
5508 [IS_IN (librt)] (CDISABLE): Likewise.
5509 [IS_IN (librt)] (CDISABLE): Likewise.
5510 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5511 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
5513 (PSEUDO_END): Likewise.
5514 [IS_IN (libpthread)] (CENABLE): Likewise.
5515 [IS_IN (libpthread)] (CDISABLE): Likewise.
5516 [IS_IN (libc)] (CENABLE): Likewise.
5517 [IS_IN (libc)] (CENABLE): Likewise.
5518 [IS_IN (librt)] (CDISABLE): Likewise.
5519 [IS_IN (librt)] (CDISABLE): Likewise.
5520 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5521 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
5523 (PSEUDO_END): Likewise.
5524 [IS_IN (libpthread)] (CENABLE): Likewise.
5525 [IS_IN (libpthread)] (CDISABLE): Likewise.
5526 [IS_IN (libc)] (CENABLE): Likewise.
5527 [IS_IN (libc)] (CENABLE): Likewise.
5528 [IS_IN (librt)] (CDISABLE): Likewise.
5529 [IS_IN (librt)] (CDISABLE): Likewise.
5530 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5531 * sysdeps/unix/sysv/linux/ia64/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/m68k/sysdep-cancel.h (PSEUDO): Remove
5543 (PSEUDO_END): Likewise.
5544 [IS_IN (libpthread)] (CENABLE): Likewise.
5545 [IS_IN (libpthread)] (CDISABLE): Likewise.
5546 [IS_IN (libc)] (CENABLE): Likewise.
5547 [IS_IN (libc)] (CENABLE): Likewise.
5548 [IS_IN (librt)] (CDISABLE): Likewise.
5549 [IS_IN (librt)] (CDISABLE): Likewise.
5550 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5551 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
5553 (PSEUDO_END): Likewise.
5554 [IS_IN (libpthread)] (CENABLE): Likewise.
5555 [IS_IN (libpthread)] (CDISABLE): Likewise.
5556 [IS_IN (libc)] (CENABLE): Likewise.
5557 [IS_IN (libc)] (CENABLE): Likewise.
5558 [IS_IN (librt)] (CDISABLE): Likewise.
5559 [IS_IN (librt)] (CDISABLE): Likewise.
5560 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5561 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
5563 (PSEUDO_END): Likewise.
5564 [IS_IN (libpthread)] (CENABLE): Likewise.
5565 [IS_IN (libpthread)] (CDISABLE): Likewise.
5566 [IS_IN (libc)] (CENABLE): Likewise.
5567 [IS_IN (libc)] (CENABLE): Likewise.
5568 [IS_IN (librt)] (CDISABLE): Likewise.
5569 [IS_IN (librt)] (CDISABLE): Likewise.
5570 (SINGLE_THREAD_P): Likewise.
5571 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
5573 (PSEUDO_END): Likewise.
5574 [IS_IN (libpthread)] (CENABLE): Likewise.
5575 [IS_IN (libpthread)] (CDISABLE): Likewise.
5576 [IS_IN (libc)] (CENABLE): Likewise.
5577 [IS_IN (libc)] (CENABLE): Likewise.
5578 [IS_IN (librt)] (CDISABLE): Likewise.
5579 [IS_IN (librt)] (CDISABLE): Likewise.
5580 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5581 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
5583 (PSEUDO_END): Likewise.
5584 [IS_IN (libpthread)] (CENABLE): Likewise.
5585 [IS_IN (libpthread)] (CDISABLE): Likewise.
5586 [IS_IN (libc)] (CENABLE): Likewise.
5587 [IS_IN (libc)] (CENABLE): Likewise.
5588 [IS_IN (librt)] (CDISABLE): Likewise.
5589 [IS_IN (librt)] (CDISABLE): Likewise.
5590 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5591 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
5592 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5593 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
5594 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
5596 (PSEUDO_END): Likewise.
5597 [IS_IN (libpthread)] (CENABLE): Likewise.
5598 [IS_IN (libpthread)] (CDISABLE): Likewise.
5599 [IS_IN (libc)] (CENABLE): Likewise.
5600 [IS_IN (libc)] (CENABLE): Likewise.
5601 [IS_IN (librt)] (CDISABLE): Likewise.
5602 [IS_IN (librt)] (CDISABLE): Likewise.
5603 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5604 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
5606 (PSEUDO_END): Likewise.
5607 [IS_IN (libpthread)] (CENABLE): Likewise.
5608 [IS_IN (libpthread)] (CDISABLE): Likewise.
5609 [IS_IN (libc)] (CENABLE): Likewise.
5610 [IS_IN (libc)] (CENABLE): Likewise.
5611 [IS_IN (librt)] (CDISABLE): Likewise.
5612 [IS_IN (librt)] (CDISABLE): Likewise.
5613 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5614 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
5616 (PSEUDO_END): Likewise.
5617 [IS_IN (libpthread)] (CENABLE): Likewise.
5618 [IS_IN (libpthread)] (CDISABLE): Likewise.
5619 [IS_IN (libc)] (CENABLE): Likewise.
5620 [IS_IN (libc)] (CENABLE): Likewise.
5621 [IS_IN (librt)] (CDISABLE): Likewise.
5622 [IS_IN (librt)] (CDISABLE): Likewise.
5623 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5624 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
5625 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5626 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
5627 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
5629 (PSEUDO_END): Likewise.
5630 [IS_IN (libpthread)] (CENABLE): Likewise.
5631 [IS_IN (libpthread)] (CDISABLE): Likewise.
5632 [IS_IN (libc)] (CENABLE): Likewise.
5633 [IS_IN (libc)] (CENABLE): Likewise.
5634 [IS_IN (librt)] (CDISABLE): Likewise.
5635 [IS_IN (librt)] (CDISABLE): Likewise.
5636 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5637 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
5639 (PSEUDO_END): Likewise.
5640 [IS_IN (libpthread)] (CENABLE): Likewise.
5641 [IS_IN (libpthread)] (CDISABLE): Likewise.
5642 [IS_IN (libc)] (CENABLE): Likewise.
5643 [IS_IN (libc)] (CENABLE): Likewise.
5644 [IS_IN (librt)] (CDISABLE): Likewise.
5645 [IS_IN (librt)] (CDISABLE): Likewise.
5646 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5648 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
5650 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
5652 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
5654 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5656 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
5659 * string/stratcliff.c (do_test): Declare size, nchars, inner,
5660 middle and outer with size_t instead of int. Repleace %d and
5661 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
5662 "MAX (outer, nchars - 64)" to support unsigned outer and
5663 nchars. Also exit loop when outer == 0.
5665 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5667 * include/fcntl.h (__fcntl_nocancel): Remove definition.
5668 * include/signal.h (__sigsuspend_nocancel): Likewise.
5669 * include/time.h (__nanosleep_nocancel): Likewise.
5670 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
5671 * login/utmp_file.c: Include non cancellable syscall header.
5672 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
5675 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
5677 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
5678 .byte sequences with AVX512F instructions.
5679 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
5680 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
5681 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
5682 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
5684 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
5687 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
5688 Steve Ellcey <sellcey@cavium.com>
5690 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
5691 Use PTR_REG macro in cmp instruction.
5693 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5695 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
5696 Change the return type of the ifunc resolver to match the return
5697 type of the target function.
5699 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5701 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
5702 (preadv64): Likewise.
5703 (pwrite64(: Likewise.
5704 (pwritev64): Likewise.
5706 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5707 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
5708 (LOAD_ARGS_0): Likewise.
5709 (LOAD_ARGS_1): Likewise.
5710 (LOAD_ARGS_2): Likewise.
5711 (LOAD_ARGS_3): Likewise.
5712 (LOAD_ARGS_4): Likewise.
5713 (LOAD_ARGS_5): Likewise.
5714 (LOAD_ARGS_6): Likewise.
5715 (LOAD_REGS_0): Likewise.
5716 (LOAD_REGS_1): Likewise.
5717 (LOAD_REGS_2): Likewise.
5718 (LOAD_REGS_3): Likewise.
5719 (LOAD_REGS_4): Likewise.
5720 (LOAD_REGS_5): Likewise.
5721 (LOAD_REGS_6): Likewise.
5722 (ASM_ARGS_0): Likewise.
5723 (ASM_ARGS_1): Likewise.
5724 (ASM_ARGS_2): Likewise.
5725 (ASM_ARGS_3): Likewise.
5726 (ASM_ARGS_4): Likewise.
5727 (ASM_ARGS_5): Likewise.
5728 (ASM_ARGS_6): Likewise.
5729 (LOAD_ARGS_TYPES_1): Likewise.
5730 (LOAD_ARGS_TYPES_2): Likewise.
5731 (LOAD_ARGS_TYPES_3): Likewise.
5732 (LOAD_ARGS_TYPES_4): Likewise.
5733 (LOAD_ARGS_TYPES_5): Likewise.
5734 (LOAD_ARGS_TYPES_6): Likewise.
5735 (LOAD_REGS_TYPES_1): Likewise.
5736 (LOAD_REGS_TYPES_2): Likewise.
5737 (LOAD_REGS_TYPES_3): Likewise.
5738 (LOAD_REGS_TYPES_4): Likewise.
5739 (LOAD_REGS_TYPES_5): Likewise.
5740 (LOAD_REGS_TYPES_6): Likewise.
5741 (TYPEFY): New define.
5743 (internal_syscall0): Likewise.
5744 (internal_syscall1): Likewise.
5745 (internal_syscall2): Likewise.
5746 (internal_syscall3): Likewise.
5747 (internal_syscall4): Likewise.
5748 (internal_syscall5): Likewise.
5749 (internal_syscall6): Likewise.
5750 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
5751 (INTERNAL_SYSCALL_NCS): Remove define.
5752 (internal_syscall1): Add define.
5754 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5756 * math/w_remainder_compat.c: Remove duplicate inclusion of
5758 * math/w_remainderf_compat.c: Likewise.
5759 * math/w_remainderl_compat.c: Likewise.
5761 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5765 2017-08-22 Joseph Myers <joseph@codesourcery.com>
5768 * math/tgmath.h (__floating_type): Simplify definitions.
5769 (__real_integer_type): New macro.
5770 (__complex_integer_type): Likewise.
5771 (__expr_is_real): Likewise.
5772 (__tgmath_real_type_sub): Update comment to describe handling of
5774 (__tgmath_complex_type_sub): New macro.
5775 (__tgmath_complex_type): Likewise.
5776 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5777 (__TGMATH_CF128): Use __expr_is_real.
5778 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
5780 (__TGMATH_BINARY_REAL_IMAG): Likewise.
5781 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
5782 * math/gen-tgmath-tests.py (Type.create_type): Create complex
5785 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5787 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
5789 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
5791 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
5794 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
5795 nanosleep_not_cancel with __nanosleep_nocancel.
5796 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
5797 (__nanosleep_nocancel): New macro.
5798 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
5800 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
5802 (__nanosleep_nocancel): New prototype.
5804 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
5805 pause_not_cancel with __pause_nocancel.
5806 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
5807 (__pause_nocancel): New macro.
5808 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
5810 (__pause_nocancel): New prototype.
5811 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
5813 2017-08-22 Martin Sebor <msebor@redhat.com>
5815 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
5816 to return a pointer to the same type as the target function.
5818 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
5822 * include/printf.h (__printf_fphex): Add attribute_hidden.
5823 (__guess_grouping): New prototype.
5824 * stdio-common/printf_fp.c (__guess_grouping): Removed.
5825 * stdio-common/reg-printf.c (__register_printf_specifier): Add
5826 libc_hidden_proto and libc_hidden_def.
5827 * stdlib/strfmon_l.c (__guess_grouping): Removed.
5828 (__vstrfmon_l): Remove the third argument passed to
5831 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5833 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
5834 definition for issignaling that does not rely on __MATH_TG,
5835 since __MATH_TG uses __builtin_types_compatible_p, which is only
5836 available in C mode.
5837 (CFLAGS-test-math-issignaling.cc): New variable.
5838 * math/Makefile [CXX] (tests): Add test-math-issignaling.
5839 * math/test-math-issignaling.cc: New test for C++ implementation
5840 of type-generic issignaling.
5841 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
5842 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
5843 options of test-math-issignaling on powerpc64le.
5845 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
5847 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
5849 (hidden_proto): Likewise.
5850 (hidden_tls_proto): Likewise.
5851 (__hidden_proto): Likewise.
5853 2017-08-22 Florian Weimer <fweimer@redhat.com>
5855 math: Statically link tests of internal functionality.
5856 * math/Makefile (tests): Remove atest-exp, atest-sincos,
5858 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
5859 (gmp-objs): Remove assignment.
5860 (atest-exp, atest-sincos, atest-exp2): Remove targets.
5862 2017-08-22 Joseph Myers <joseph@codesourcery.com>
5865 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
5867 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
5869 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
5872 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
5873 variable definitions above inclusion of ../Rules.
5875 2017-08-21 Joseph Myers <joseph@codesourcery.com>
5877 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
5878 case calling __builtin_unreachable.
5880 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5882 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
5884 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
5885 (__waitpid_nocancel): New macro.
5886 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
5888 (__waitpid_nocancel): Replace macro with a function.
5889 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
5892 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
5894 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
5895 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
5897 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
5898 __writev_nocancel_nostatus.
5899 (write_call_graph): Likewise.
5900 (write_bb_counts): Likewise.
5901 * resolv/herror.c (herror): Likewise.
5902 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
5904 (__writev_nocancel_nostatus): New macro.
5905 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
5907 (__writev_nocancel_nostatus): New function.
5909 2017-08-21 Joseph Myers <joseph@codesourcery.com>
5912 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5914 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
5916 (hidden_proto): Likewise.
5917 (hidden_tls_proto): Likewise.
5918 (__hidden_proto): Likewise.
5921 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
5922 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
5923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
5925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
5927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
5929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
5931 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
5932 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
5933 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
5934 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
5935 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5936 GLIBC_2.0 sqrtl symbol.
5938 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
5939 [__USE_MISC] (_LIB_VERSION): Likewise.
5940 [__USE_MISC] (struct exception): Likewise.
5941 [__USE_MISC] (matherr): Likewise.
5942 [__USE_MISC] (DOMAIN): Likewise.
5943 [__USE_MISC] (SING): Likewise.
5944 [__USE_MISC] (OVERFLOW): Likewise.
5945 [__USE_MISC] (UNDERFLOW): Likewise.
5946 [__USE_MISC] (TLOSS): Likewise.
5947 [__USE_MISC] (PLOSS): Likewise.
5948 [__USE_MISC] (HUGE): Likewise.
5949 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
5950 * math/math-svid-compat.h: New file.
5951 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
5953 * include/math.h [!_ISOMAC] (__matherr): Remove.
5954 * manual/arith.texi (FP Exceptions): Do not document matherr.
5955 * math/Makefile (tests): Change test-matherr to test-matherr-3.
5956 (tests-internal): New variable.
5957 (install-lib): Do not add libieee.a.
5958 (non-lib.a): Likewise.
5959 (extra-objs): Do not add libieee.a and ieee-math.o.
5960 (CPPFLAGS-s_lib_version.c): Remove variable.
5961 ($(objpfx)libieee.a): Remove rule.
5962 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
5963 * math/ieee-math.c: Remove.
5964 * math/libm-test-support.c (matherr): Remove.
5965 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
5966 and license notices. Include <math-svid-compat.h> and
5968 (matherr): Undefine as macro. Use compat_symbol_reference.
5969 (_LIB_VERSION): Likewise.
5970 * math/test-matherr-2.c: New file.
5971 * math/test-matherr-3.c: Likewise.
5972 * sysdeps/generic/math_private.h (__kernel_standard): Remove
5974 (__kernel_standard_f): Likewise.
5975 (__kernel_standard_l): Likewise.
5976 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
5977 <math_private.h>. Include <math-svid-compat.h>.
5978 (_LIB_VERSION): Undefine as macro.
5979 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
5980 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
5981 [LIBM_SVID_COMPAT], use compat_symbol.
5982 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
5983 <math_private.h>. Include <math-svid-compat.h>.
5984 (matherr): Undefine as macro.
5985 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
5987 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
5988 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
5989 compat_symbol_reference.
5990 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
5991 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
5992 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
5993 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
5994 (MATHERR_D): Remove declaration.
5995 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
5996 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
5997 [LIBM_BUILD] (pmatherrf): Likewise.
5998 [LIBM_BUILD] (pmatherr): Likewise.
5999 [LIBM_BUILD] (pmatherrl): Likewise.
6002 (OVERFLOW): Likewise.
6003 (UNDERFLOW): Likewise.
6006 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
6007 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
6009 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
6010 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
6012 * math/lgamma-compat.h: Include <math-svid-compat.h>.
6013 * math/w_acos_compat.c: Likewise.
6014 * math/w_acosf_compat.c: Likewise.
6015 * math/w_acosh_compat.c: Likewise.
6016 * math/w_acoshf_compat.c: Likewise.
6017 * math/w_acoshl_compat.c: Likewise.
6018 * math/w_acosl_compat.c: Likewise.
6019 * math/w_asin_compat.c: Likewise.
6020 * math/w_asinf_compat.c: Likewise.
6021 * math/w_asinl_compat.c: Likewise.
6022 * math/w_atan2_compat.c: Likewise.
6023 * math/w_atan2f_compat.c: Likewise.
6024 * math/w_atan2l_compat.c: Likewise.
6025 * math/w_atanh_compat.c: Likewise.
6026 * math/w_atanhf_compat.c: Likewise.
6027 * math/w_atanhl_compat.c: Likewise.
6028 * math/w_cosh_compat.c: Likewise.
6029 * math/w_coshf_compat.c: Likewise.
6030 * math/w_coshl_compat.c: Likewise.
6031 * math/w_exp10_compat.c: Likewise.
6032 * math/w_exp10f_compat.c: Likewise.
6033 * math/w_exp10l_compat.c: Likewise.
6034 * math/w_exp2_compat.c: Likewise.
6035 * math/w_exp2f_compat.c: Likewise.
6036 * math/w_exp2l_compat.c: Likewise.
6037 * math/w_fmod_compat.c: Likewise.
6038 * math/w_fmodf_compat.c: Likewise.
6039 * math/w_fmodl_compat.c: Likewise.
6040 * math/w_hypot_compat.c: Likewise.
6041 * math/w_hypotf_compat.c: Likewise.
6042 * math/w_hypotl_compat.c: Likewise.
6043 * math/w_j0_compat.c: Likewise.
6044 * math/w_j0f_compat.c: Likewise.
6045 * math/w_j0l_compat.c: Likewise.
6046 * math/w_j1_compat.c: Likewise.
6047 * math/w_j1f_compat.c: Likewise.
6048 * math/w_j1l_compat.c: Likewise.
6049 * math/w_jn_compat.c: Likewise.
6050 * math/w_jnf_compat.c: Likewise.
6051 * math/w_jnl_compat.c: Likewise.
6052 * math/w_lgamma_main.c: Likewise.
6053 * math/w_lgamma_r_compat.c: Likewise.
6054 * math/w_lgammaf_main.c: Likewise.
6055 * math/w_lgammaf_r_compat.c: Likewise.
6056 * math/w_lgammal_main.c: Likewise.
6057 * math/w_lgammal_r_compat.c: Likewise.
6058 * math/w_log10_compat.c: Likewise.
6059 * math/w_log10f_compat.c: Likewise.
6060 * math/w_log10l_compat.c: Likewise.
6061 * math/w_log2_compat.c: Likewise.
6062 * math/w_log2f_compat.c: Likewise.
6063 * math/w_log2l_compat.c: Likewise.
6064 * math/w_log_compat.c: Likewise.
6065 * math/w_logf_compat.c: Likewise.
6066 * math/w_logl_compat.c: Likewise.
6067 * math/w_pow_compat.c: Likewise.
6068 * math/w_powf_compat.c: Likewise.
6069 * math/w_powl_compat.c: Likewise.
6070 * math/w_remainder_compat.c: Likewise.
6071 * math/w_remainderf_compat.c: Likewise.
6072 * math/w_remainderl_compat.c: Likewise.
6073 * math/w_scalb_compat.c: Likewise.
6074 * math/w_scalbf_compat.c: Likewise.
6075 * math/w_scalbl_compat.c: Likewise.
6076 * math/w_sinh_compat.c: Likewise.
6077 * math/w_sinhf_compat.c: Likewise.
6078 * math/w_sinhl_compat.c: Likewise.
6079 * math/w_sqrt_compat.c: Likewise.
6080 * math/w_sqrtf_compat.c: Likewise.
6081 * math/w_sqrtl_compat.c: Likewise.
6082 * math/w_tgamma_compat.c: Likewise.
6083 * math/w_tgammaf_compat.c: Likewise.
6084 * math/w_tgammal_compat.c: Likewise.
6085 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
6086 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
6087 * sysdeps/ieee754/k_standard.c: Likewise.
6088 * sysdeps/ieee754/k_standardf.c: Likewise.
6089 * sysdeps/ieee754/k_standardl.c: Likewise.
6090 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
6091 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
6092 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
6093 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
6094 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
6095 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
6096 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
6097 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
6098 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
6099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
6101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
6103 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
6104 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
6105 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
6106 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
6108 2017-08-21 Florian Weimer <fweimer@redhat.com>
6111 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
6112 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
6113 Move before inclusion of ../Rules.
6115 2017-08-21 Florian Weimer <fweimer@redhat.com>
6118 * assert/assert.h (assert): Use static_cast (bool) for C++.
6119 Use the ternary operator in the warning branch for GNU C.
6120 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
6121 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
6122 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
6123 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
6124 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
6126 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6129 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6130 (__syscall_clock_gettime): Add attribute_hidden.
6131 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
6132 (__start_context): Likewise.
6134 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6136 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
6138 (hidden_proto): Likewise.
6139 (hidden_tls_proto): Likewise.
6140 (__hidden_proto): Likewise.
6142 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6144 * include/libc-symbols.h (attribute_hidden): Enable hidden
6145 visibility in libc.a compiled with PIE.
6147 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6150 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
6151 Add attribute_hidden.
6153 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6156 * Makerules (all-nonlib): Add $(others-extras).
6157 * catgets/Makefile (others-extras): New.
6158 * elf/Makefile (others-extras): Likewise.
6159 * nss/Makefile (others-extras): Likewise.
6161 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6164 * csu/libc-start.c (__libc_multiple_libcs): Removed.
6165 * elf/dl-open.c: Include <libc-internal.h>.
6166 (__libc_multiple_libcs): Removed.
6167 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
6169 * include/libc-internal.h (__libc_multiple_libcs): New.
6170 * misc/sbrk.c: Include <libc-internal.h>.
6171 (__libc_multiple_libcs): Removed.
6173 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6176 * grp/initgroups.c (__nss_group_database): Removed.
6177 (__nss_initgroups_database): Likewise.
6178 * nscd/gai.c (__nss_hosts_database): Likewise.
6179 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
6180 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
6181 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
6182 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
6183 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
6184 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
6186 * nss/nsswitch.c (__nss_database_custom): Define only if
6187 USE_NSCD is defined.
6188 (__nss_configure_lookup): Use __nss_database_custom only if
6189 USE_NSCD is defined.
6190 * nss/nsswitch.h (__nss_database_custom): Declare only if
6191 USE_NSCD is defined. Add attribute_hidden.
6192 (__nss_setent): Add attribute_hidden.
6193 (__nss_endent): Likewise.
6194 (__nss_getent_r): Likewise.
6195 (__nss_getent): Likewise.
6196 (DEFINE_DATABASE): Declare __nss_##arg##_database.
6198 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6201 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
6202 libc_hidden_proto and libc_hidden_def.
6204 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6207 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
6208 Add libc_hidden_proto.
6209 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
6210 Add libc_hidden_def.
6212 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6215 * gmon/Makefile (routines): Remove bb_init_func and
6217 (elide-routines.os): Removed.
6218 * gmon/bb_exit_func.c: Likewise.
6219 * gmon/bb_init_func.c: Likewise.
6220 * include/sys/gmon.h (__bb): Likewise.
6221 (__bb_init_func): Likewise.
6222 (__bb_exit_func): Likewise.
6223 * sysdeps/alpha/bb_init_func.S: Likewise.
6225 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6227 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
6228 * include/setjmp.h (____longjmp_chk): Here. Add
6231 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
6234 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
6236 (__strspn_sse2): Likewise.
6238 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6240 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
6241 (close_not_cancel_no_status): Likewise.
6242 (__close_nocancel): New macro.
6243 (__close_nocancel_nostatus): Likewise.
6244 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
6246 (close_not_cancel): Likewise.
6247 (close_not_cancel_no_status): Likewise.
6248 (__close_nocancel): New prototype.
6249 (__close_nocancel_nostatus): New function.
6250 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
6251 * catgets/open_catalog.c (__open_catalog): Replace
6252 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
6253 * gmon/gmon.c (write_gmon): Likewise.
6254 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6255 * intl/loadmsgcat.c (close): Likewise.
6256 * io/ftw.c (open_dir_stream): Likewise.
6257 (ftw_startup): Likewise.
6258 * libio/fileops.c (_IO_file_open): Likewise.
6259 (_IO_file_close_mmap): Likewise.
6260 (_IO_file_close): Likewise.
6261 * libio/iopopen.c (_IO_dup2): Likewise.
6262 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6263 * locale/loadlocale.c (_nl_load_locale): Likewise.
6264 * login/utmp_file.c (pututline_file): Likewise.
6265 (endutent_file): Likewise.
6266 * misc/daemon.c (daemon): Likewise.
6267 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6268 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6269 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
6270 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6271 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6272 * nscd/nscd_helper.c (open_socket): Likewise.
6273 (__nscd_open_socket): Likewise.
6274 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6275 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
6276 (__nscd_innetgr): Likewise.
6277 * nss/nss_db/db-open.c (internal_setent): Likewise.
6278 * resolv/res-close.c (__res_iclose): Likewise.
6279 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
6280 * sysdeps/posix/closedir.c (__closedir): Likewise.
6281 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
6282 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6283 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
6284 (opendir_tail): Likewise.
6285 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6286 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
6287 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6288 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6289 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6290 (gethostid): Likewise.
6291 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6292 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6294 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6295 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
6296 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6297 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6299 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
6300 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
6301 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6303 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
6304 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6306 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6308 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6309 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6310 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6313 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
6314 (openat_not_cancel_3): Likewise.
6315 (openat64_not_cancel_3): Likewise).
6316 (openat_not_cancel_3): Likewise).
6317 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
6319 (openat_not_cancel_3): Likewise.
6320 (openat64_not_cancel): Likewise.
6321 (openat64_not_cancel_3): Likewise.
6322 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
6323 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
6324 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
6325 __open{64}_nocancel.
6326 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
6327 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6328 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6330 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6333 * include/argz.h (__argz_create_sep): New function prototype.
6334 (__argz_append): Likewise.
6335 (__argz_add): Likewise.
6336 (__argz_add_sep): Likewise.
6337 (__argz_delete): Likewise.
6338 (__argz_insert): Likewise.
6339 (__argz_replace): Likewise.
6340 * string/argz.h (__argz_create_sep): Removed.
6341 (__argz_append): Likewise.
6342 (__argz_add): Likewise.
6343 (__argz_add_sep): Likewise.
6344 (__argz_delete): Likewise.
6345 (__argz_insert): Likewise.
6346 (__argz_replace): Likewise.
6348 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6350 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
6351 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
6352 (GNU_PROPERTY_STACK_SIZE): Likewie.
6353 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
6354 (GNU_PROPERTY_LOPROC): Likewise.
6355 (GNU_PROPERTY_HIPROC): Likewise.
6356 (GNU_PROPERTY_LOUSER): Likewise.
6357 (GNU_PROPERTY_HIUSER): Likewise.
6358 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
6359 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
6360 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
6361 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
6362 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
6363 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
6364 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
6365 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
6366 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
6367 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
6368 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
6369 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
6370 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
6371 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
6372 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
6373 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
6374 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
6375 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
6376 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
6377 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
6378 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
6379 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
6380 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
6382 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6384 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
6387 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6390 * math/math.h (isinf): Check if in C or C++ mode before using
6391 __builtin_types_compatible_p, since this is a C mode feature.
6393 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6395 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
6396 (__write_nocancel): New macro.
6397 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
6398 Rewrite as a function prototype.
6399 (write_not_cancel): Remove macro.
6400 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
6401 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
6402 (write_gmon): Likewise.
6403 * libio/fileops.c (_IO_new_file_write): Likewise.
6404 * login/utmp_file.c (pututline_file): Likewise.
6405 (updwtmp_file): Likewise.
6406 * stdio-common/psiginfo.c (psiginfo): Likewise.
6407 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6408 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6409 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6411 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6414 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
6415 (__read_nocancel): New macro.
6416 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6418 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
6420 (__read_nocancel): New prototype.
6421 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
6422 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
6423 with __read_nocancel.
6424 * intl/loadmsgcat.c (read): Likewise.
6425 * libio/fileops.c (_IO_file_read): Likewise.
6426 * locale/loadlocale.c (_nl_load_locale): Likewise.
6427 * login/utmp_file.c (getutent_r_file): Likewise.
6428 (internal_getut_r): Likewise.
6429 (getutline_r_file): Likewise.
6430 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
6431 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6432 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6433 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6435 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
6436 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6437 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6439 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6441 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6443 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6445 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6447 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6450 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
6451 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
6454 2017-08-17 DJ Delorie <dj@redhat.com>
6456 * bug17079.c: Update to new test harness.
6457 * test-digits-dots.c: Likewise.
6458 * test-netdb.c: Likewise.
6459 * tst-field.c: Likewise.
6460 * tst-nss-getpwent.c: Likewise.
6461 * tst-nss-static.c: Likewise.
6462 * tst-nss-test1.c: Likewise.
6463 * tst-nss-test2.c: Likewise.
6464 * tst-nss-test3.c: Likewise.
6465 * tst-nss-test4.c: Likewise.
6466 * tst-nss-test5.c: Likewise.
6468 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6470 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
6471 (open_not_cancel_2): Likewise.
6472 (open_nocancel): New macro.
6473 (open64_nocancel): Likewise.
6474 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
6475 (open_not_cancel_2): Likewise.
6476 (__open_nocancel): New prototype.
6477 (__open64_nocancel): Likewise.
6478 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6480 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
6481 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
6482 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
6483 with __open_nocancel.
6484 * csu/check_fds.c (check_one_fd): Likewise.
6485 * gmon/gmon.c (write_gmon): Likewise.
6486 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
6487 * intl/loadmsgcat.c (open): Likewise.
6488 * libio/fileops.c (_IO_file_open): Likewise.
6489 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6490 * locale/loadlocale.c (_nl_load_locale): Likewise.
6491 * login/utmp_file.c (setutent_file): Likewise.
6492 * misc/daemon.c (daemon): Likewise.
6493 * nss/nss_db/db-open.c (internal_setent): Likewise.
6494 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
6495 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
6496 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
6497 (__opendir): Likewise.
6498 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6499 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
6500 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6501 (gethostid): Likewise.
6502 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6503 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6505 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6506 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
6507 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6508 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6510 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6512 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6514 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6516 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6518 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6520 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6521 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6523 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
6525 * benchtests/bench-skeleton.c (main): Add support for
6526 latency benchmarking.
6527 * benchtests/scripts/bench.py: Add support for latency benchmarking.
6529 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
6531 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
6534 2017-08-17 Florian Weimer <fweimer@redhat.com>
6536 * include/sys/socket.h (__opensock): Remove internal_function.
6537 * socket/opensock.c (__opensock): Likewise.
6538 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
6540 2017-08-16 Joseph Myers <joseph@codesourcery.com>
6543 * signal/bits/types/__sigval_t.h: New file.
6544 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
6545 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
6546 and define sigval_t using __sigval_t.
6547 * include/bits/types/__sigval_t.h: New file.
6548 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
6549 instead of <bits/types/__sigval_t.h>.
6550 (struct sigevent): Use __sigval_t instead of sigval_t.
6551 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
6552 instead of <bits/types/__sigval_t.h>.
6553 (siginfo_t): Use __sigval_t instead of sigval_t.
6554 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
6555 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
6556 (struct sigevent): Use __sigval_t instead of sigval_t.
6557 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
6558 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
6559 (siginfo_t): Use __sigval_t instead of sigval_t.
6560 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
6562 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
6564 * NEWS: Remove "[Add new features here]" for 2.27.
6566 2017-08-16 Joseph Myers <joseph@codesourcery.com>
6568 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
6571 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
6573 * NEWS: Mention x86-64 FMA optimization.
6575 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
6578 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6580 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
6581 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
6582 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
6584 2017-08-16 Andreas Schwab <schwab@suse.de>
6588 * elf/ldd.bash.in: Never run file directly.
6590 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
6593 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
6594 (L(SP_INF_0)): Likewise.
6596 2017-08-15 Florian Weimer <fweimer@redhat.com>
6598 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
6601 2017-08-15 Florian Weimer <fweimer@redhat.com>
6603 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
6604 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
6605 BROKEN_THREAD_SIGNALS code.
6606 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
6607 request_list): Remove caller_pid member used for
6608 BROKEN_THREAD_SIGNALS.
6609 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
6610 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
6611 Remove BROKEN_THREAD_SIGNALS support.
6612 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
6613 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
6615 2017-08-15 Florian Weimer <fweimer@redhat.com>
6617 * gmon/Makefile (tests): Add tst-gmon.
6618 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
6620 (tests-special): Add tst-gmon-prof.out.
6621 (tst-gmon.out): Depend on clean-tst-gmon-data.
6622 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
6623 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
6624 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
6626 * aclocal.m4 (GPROF): Set and substitute.
6627 * config.amke.in (GPROF): Set.
6628 * configure: Regenerate.
6630 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
6632 * elf/elf.h A (NT_PPC_TAR): New macro.
6633 (NT_PPC_PPR): Likewise.
6634 (NT_PPC_DSCR): Likewise.
6635 (NT_PPC_EBB): Likewise.
6636 (NT_PPC_PMU): Likewise.
6637 (NT_PPC_TM_CGPR): Likewise.
6638 (NT_PPC_TM_CFPR): Likewise.
6639 (NT_PPC_TM_CVMX): Likewise.
6640 (NT_PPC_TM_CVSX): Likewise.
6641 (NT_PPC_TM_SPR): Likewise.
6642 (NT_PPC_TM_CTAR): Likewise.
6643 (NT_PPC_TM_CPPR): Likewise.
6644 (NT_PPC_TM_CDSCR): Likewise.
6646 2017-08-15 Florian Weimer <fweimer@redhat.com>
6648 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
6649 regparm (2) instead of internal_function.
6650 (_MCOUNT_DECL): Adjust.
6652 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
6654 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
6655 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
6657 2017-08-14 Joseph Myers <joseph@codesourcery.com>
6659 * conform/data/sys/wait.h-data (si_value): Do not expect for
6662 2017-08-14 Florian Weimer <fweimer@redhat.com>
6665 NSS: Create stubs for accidentally exported lookup functions.
6666 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
6668 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
6669 (ether_hostton): Call __nss_ethers_lookup2 instead.
6670 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
6671 (ether_ntohost): Call __nss_ethers_lookup2 instead.
6672 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
6673 (setup): Call __nss_netgroup_lookup2 instead.
6674 * nss/Makefile (routines): Add compat-lookup.
6675 * nss/Versions (GLIBC_2.27): Add symbol version.
6676 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
6677 (DB_COMPAT_FCT): Remove.
6678 * nss/compat-lookup.c: New file.
6679 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
6681 * nss/service-lookup.c (NO_COMPAT): Remove definition.
6682 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
6683 (netname2user): Call __nss_publickey_lookup2 instead.
6684 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
6685 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
6688 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6689 Sergei Trofimovich <slyfox@inbox.ru>
6692 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
6693 Rename to MMAP2_PAGE_UNIT.
6694 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
6695 __OFF_T_MATCHES_OFF64_T is not defined.
6696 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
6698 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
6699 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
6701 2017-08-14 Florian Weimer <fweimer@redhat.com>
6703 i386: Do not set internal_function.
6704 * config.h.in (USE_REGPARMS, internal_function): Remove.
6705 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
6706 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
6708 2017-08-14 Florian Weimer <fweimer@redhat.com>
6710 * elf/dl-init.c (_dl_init): Remove internal_function.
6711 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
6712 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
6714 2017-08-14 Florian Weimer <fweimer@redhat.com>
6716 * elf/rtld.c (_dl_start): Remove internal_function.
6717 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
6720 2017-08-14 Florian Weimer <fweimer@redhat.com>
6722 * elf/dl-fini.c (_dl_fini): Remove internal_function
6723 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
6725 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
6727 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
6728 (bit_cpu_SHSTK): Likewise.
6729 (index_cpu_IBT): Likewise.
6730 (index_cpu_SHSTK): Likewise.
6731 (reg_IBT): Likewise.
6732 (reg_SHSTK): Likewise.
6733 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
6734 Handle index_cpu_IBT and index_cpu_SHSTK.
6736 2017-08-14 Mike FABIAN <mfabian@redhat.com>
6739 * po/fr.po: Fix spelling mistake.
6741 2017-08-13 Florian Weimer <fweimer@redhat.com>
6743 * elf/dl-addr.c (_dl_addr): Remove internal_function.
6744 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
6745 (_dl_catch_error, _dl_receive_error): Likewise.
6746 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
6747 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
6748 (_dl_deallocate_tls): Likewise.
6749 * include/dlfcn.h (_dl_addr): Likewise.
6750 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
6751 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
6752 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
6755 2017-08-13 Florian Weimer <fweimer@redhat.com>
6757 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
6758 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
6760 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
6762 2017-08-13 Florian Weimer <fweimer@redhat.com>
6764 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
6766 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
6767 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
6768 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
6769 internal_function from _dl_make_stack_executable_hook member.
6770 (_dl_make_stack_executable): Remove internal_function.
6771 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
6773 * sysdeps/unix/sysv/linux/dl-execstack.c
6774 (_dl_make_stack_executable): Likewise.
6776 2017-08-13 Florian Weimer <fweimer@redhat.com>
6778 * sysdeps/unix/sysv/linux/netlinkaccess.h
6779 (__netlink_assert_response): Remove internal_function.
6780 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6781 (__netlink_assert_response): Likewise.
6783 2017-08-13 Florian Weimer <fweimer@redhat.com>
6785 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
6787 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
6789 2017-08-13 Florian Weimer <fweimer@redhat.com>
6791 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
6793 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
6794 * inet/netgroup.h (__internal_setnetgrent)
6795 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
6796 * inet/getnetgrent_r.c (__internal_setnetgrent)
6797 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
6798 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
6799 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
6800 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
6801 * nss/nsswitch.h (db_lookup_function): Likewise.
6803 2017-08-13 Florian Weimer <fweimer@redhat.com>
6805 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
6806 Remove internal_function.
6807 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
6808 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
6809 message argument on the stack.
6810 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
6813 2017-08-12 Mike FABIAN <mfabian@redhat.com>
6815 Adapt test case data to the changes in the thousands
6819 * localedata/tst-langinfo.sh: Adapt test case data.
6820 * stdlib/tst-strfmon_l.c: Likewise.
6821 * stdlib/tst-strtod4.c: Likewise.
6822 * stdlib/tst-strtod5i.c: Likewise.
6824 2017-08-11 Florian Weimer <fweimer@redhat.com>
6827 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
6828 Suppress pedantic warning resulting from statement expression.
6829 (__ASSERT_FUNCTION): Add missing __extension__.
6831 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
6833 * benchtests/bench-memmove-large.c: Print output in JSON
6835 * benchtests/bench-memmove.c: Likewise.
6837 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
6838 * benchtests/bench-memchr.c (do_one_test): Likewise.
6839 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
6840 * benchtests/bench-memcpy.c (do_one_test): Likewise.
6841 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
6842 * benchtests/bench-memmove.c (do_one_test): Likewise.
6843 * benchtests/bench-memset-large.c (do_one_test): Likewise.
6844 * benchtests/bench-memset.c (do_one_test): Likewise.
6845 * benchtests/bench-string.h (test_init): Remove memsets.
6847 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
6850 (Computing the Width of an Integer Data Type): Rename section to
6851 "Width of an Integer Type". Remove inaccurate statement regarding
6852 lack of C language facilities for determining width of integer
6853 types, and reorder content to improve flow and context of
6856 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
6858 * lang.texi (va_copy): Change standard from ISO to C99.
6859 (__va_copy): Add standard and header annotation.
6860 Update description for clarity of origins and current use.
6862 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6865 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
6866 xssqrtqp requires operands to be in Vector Registers
6867 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
6868 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
6869 (__ieee754_sqrtf128): Likewise.
6871 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6873 * sysdeps/aarch64/memcmp.S (memcmp):
6874 Rewrite of optimized memcmp.
6876 2017-08-10 Florian Weimer <fweimer@redhat.com>
6878 Introduce ld.so exceptions.
6879 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
6880 (_dl_exception_create, _dl_exception_create_format)
6881 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
6882 (_dl_catch_exception): Declare.
6883 (_dl_catch_error): Update comment.
6884 * elf/dl-error-skeleton.c (struct catch): Replace objname,
6885 errstring, malloced members with exception member.
6886 (_dl_out_of_memory): Remove.
6887 (fatal_error): New function, extracted from _dl_signal_error.
6888 (_dl_signal_exception, _dl_signal_cexception): New functions.
6889 (_dl_signal_error): Call _dl_exception_create to allocate an
6891 (_dl_catch_exception): New function, based on _dl_catch_error.
6892 (_dl_catch_error): Implement using _dl_catch_exception.
6893 * elf/dl-exception.c: New file.
6894 * elf/Makefile (dl-routines): Add dl-exception.
6895 (elide-routines.os): Likewise.
6896 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
6897 _dl_exception_create_format, _dl_exception_free.
6898 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
6899 _dl_signal_exception.
6900 * elf/dl-lookup.c (make_string): Remove.
6901 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
6902 _dl_signal_cexception, _dl_exception_free.
6903 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
6904 _dl_signal_exception.
6905 * elf/dl-sym.c (do_sym): Likewise.
6906 * elf/dl-version.c (make_string): Remove.
6907 (match_symbol): Use _dl_exception_create_format,
6908 _dl_signal_cexception, _dl_exception_free.
6909 (_dl_check_map_versions): Likewise.
6910 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
6911 _dl_catch_exception.
6912 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6913 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6914 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6915 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6916 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6917 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6918 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6919 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
6921 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6928 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6929 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6930 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
6932 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
6934 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6936 2017-08-10 Florian Weimer <fweimer@redhat.com>
6938 * inet/net-internal.h (__inet6_scopeid_pton): Remove
6939 attribute_hidden, internal_function.
6940 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
6943 2017-08-10 Florian Weimer <fweimer@redhat.com>
6945 * malloc/malloc.c (get_max_fast): Reimplement as an inline
6946 function which calls __builtin_unreachable.
6948 2017-08-10 Mike FABIAN <mfabian@redhat.com>
6950 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
6951 Indian monetary formatting
6952 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
6955 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
6957 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
6958 Fix typo in comment.
6961 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
6962 PTRACE_SEIZE_DEVEL): Remove.
6963 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
6964 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6965 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6966 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6967 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6969 2017-08-09 Joseph Myers <joseph@codesourcery.com>
6971 * posix/bits/types.h (__qaddr_t): Remove.
6974 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
6975 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6977 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
6978 (ucontext_t): Use __ctx with uc_flags.
6979 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
6981 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6983 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
6984 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6986 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
6987 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6989 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
6991 (ucontext_t): Use __ctx with uc_flags.
6992 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
6993 (ucontext_t): Use __ctx with uc_flags.
6994 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
6995 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
6996 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
6997 (ucontext_t): Use __ctx with uc_flags.
6998 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
6999 undefine further down.
7000 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7002 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
7003 undefine further down.
7004 (ucontext_t): Use __ctx with uc_flags.
7005 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
7006 undefine further down.
7007 (ucontext_t): Use __ctx with uc_flags.
7008 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
7009 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
7010 Rename uc_pad to __glibc_reserved1.
7011 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
7012 undefine further down.
7013 (ucontext_t): Use __ctx with uc_flags.
7014 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
7016 (ucontext_t): Use __ctx with uc_flags.
7017 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
7018 __ctx with uc_flags.
7019 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
7020 (ucontext_t): Use __ctx with uc_flags.
7021 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
7022 __ctx with uc_flags.
7024 2017-08-09 Florian Weimer <fweimer@redhat.com>
7027 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
7028 before early return.
7030 2017-08-09 Andreas Schwab <schwab@suse.de>
7033 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
7037 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
7038 tst-compat-forwarder.
7039 (modules-names): Add tst-compat-forwarder-mod.
7040 ($(objpfx)tst-compat-forwarder): Depend on
7041 $(objpfx)tst-compat-forwarder-mod.so.
7042 * nptl/tst-compat-forwarder.c: New file.
7043 * nptl/tst-compat-forwarder-mod.c: New file.
7045 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
7047 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
7050 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
7051 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7053 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
7055 (__libc_ifunc_impl_list): Add __memcpy_falkor.
7056 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
7057 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
7058 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7060 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
7063 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7066 * manual/setjmp.texi (getcontex): Document uc_stack value
7067 compatibility differences.
7069 2017-08-08 Joseph Myers <joseph@codesourcery.com>
7071 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
7072 (old_malloc_hook): Likewise.
7073 (old_memalign_hook): Likewise.
7074 (old_realloc_hook): Likewise.
7075 (struct hdr): Likewise.
7077 (freehook): Likewise.
7078 (mallochook): Likewise.
7079 (memalignhook): Likewise.
7080 (reallochook): Likewise.
7082 * malloc/mtrace.c (mallwatch): Likewise.
7083 (tr_old_free_hook): Likewise.
7084 (tr_old_malloc_hook): Likewise.
7085 (tr_old_realloc_hook): Likewise.
7086 (tr_old_memalign_hook): Likewise.
7087 (tr_where): Likewise.
7088 (lock_and_info): Likewise.
7089 (tr_freehook): Likewise.
7090 (tr_mallochook): Likewise.
7091 (tr_reallochook): Likewise.
7092 (tr_memalignhook): Likewise.
7093 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
7094 * misc/mmap.c (__mmap): Likewise.
7095 * misc/mmap64.c (__mmap64): Likewise.
7096 * misc/mprotect.c (__mprotect): Likewise.
7097 * misc/msync.c (msync): Likewise.
7098 * misc/munmap.c (__munmap): Likewise.
7099 * posix/posix_madvise.c (posix_madvise): Likewise.
7100 * socket/send.c (__send): Likewise.
7101 * socket/sendto.c (__sendto): Likewise.
7102 * socket/setsockopt.c (__setsockopt): Likewise.
7103 * string/memcmp.c (__ptr_t): Remove macro.
7104 (MEMCMP): Use void * instead of ptr_t.
7105 * string/memrchr.c (__ptr_t): Remove macro.
7106 (__memrchr): Use void * instead of ptr_t.
7107 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
7108 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
7109 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
7110 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
7111 * sysdeps/mach/msync.c (msync): Likewise.
7112 * sysdeps/mach/munmap.c (__munmap): Likewise.
7113 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
7115 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
7116 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
7117 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
7118 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
7119 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
7120 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7121 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
7122 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
7124 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7125 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
7126 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
7127 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
7128 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
7129 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
7130 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
7131 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
7132 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
7134 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
7135 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
7136 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
7137 (MEMCMP): Use void * instead of ptr_t.
7138 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
7139 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
7141 2017-08-08 Florian Weimer <fweimer@redhat.com>
7143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
7146 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
7149 * csu/libc-tls.c: Include <startup.h> first.
7150 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
7151 * elf/dl-tunables.c: Include <startup.h> first.
7152 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
7153 * sysdeps/generic/startup.h: New file.
7154 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
7155 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
7156 (I386_USE_SYSENTER): New. Defined to 0.
7158 2017-08-08 Andreas Schwab <schwab@suse.de>
7161 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
7162 * nptl/pt-system.c (system): Likewise.
7164 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7167 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
7169 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
7170 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
7171 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
7172 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
7173 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7174 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7175 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7177 2017-08-07 Joseph Myers <joseph@codesourcery.com>
7180 * bits/sigaction.h (struct sigaction): Define sa_handler and
7181 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
7182 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7183 [__USE_XOPEN_EXTENDED].
7184 (SA_RESTART): Likewise.
7185 (SA_NODEFER): Likewise.
7186 (SA_RESETHAND): Likewise.
7187 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
7188 (struct sigaction): Define sa_handler and sa_sigaction using union
7189 also for [__USE_XOPEN_EXTENDED].
7190 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7191 [__USE_XOPEN_EXTENDED].
7192 (SA_RESTART): Likewise.
7193 (SA_NODEFER): Likewise.
7194 (SA_RESETHAND): Likewise.
7195 * sysdeps/unix/sysv/linux/bits/sigaction.h
7196 (struct sigaction): Define sa_handler and sa_sigaction using union
7197 also for [__USE_XOPEN_EXTENDED].
7198 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7199 [__USE_XOPEN_EXTENDED].
7200 (SA_RESTART): Likewise.
7201 (SA_NODEFER): Likewise.
7202 (SA_RESETHAND): Likewise.
7203 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
7204 (struct sigaction): Define sa_handler and sa_sigaction using union
7205 also for [__USE_XOPEN_EXTENDED].
7206 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7207 [__USE_XOPEN_EXTENDED].
7208 (SA_RESTART): Likewise.
7209 (SA_NODEFER): Likewise.
7210 (SA_RESETHAND): Likewise.
7211 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
7212 (struct sigaction): Define sa_handler and sa_sigaction using union
7213 also for [__USE_XOPEN_EXTENDED].
7214 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7215 [__USE_XOPEN_EXTENDED].
7216 (SA_RESTART): Likewise.
7217 (SA_NODEFER): Likewise.
7218 (SA_RESETHAND): Likewise.
7219 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7220 (struct sigaction): Define sa_handler and sa_sigaction using union
7221 also for [__USE_XOPEN_EXTENDED].
7222 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7223 [__USE_XOPEN_EXTENDED].
7224 (SA_RESTART): Likewise.
7225 (SA_NODEFER): Likewise.
7226 (SA_RESETHAND): Likewise.
7227 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7228 (struct sigaction): Define sa_handler and sa_sigaction using union
7229 also for [__USE_XOPEN_EXTENDED].
7230 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7231 [__USE_XOPEN_EXTENDED].
7232 (SA_RESTART): Likewise.
7233 (SA_NODEFER): Likewise.
7234 (SA_RESETHAND): Likewise.
7235 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7236 (struct sigaction): Define sa_handler and sa_sigaction using union
7237 also for [__USE_XOPEN_EXTENDED].
7238 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7239 [__USE_XOPEN_EXTENDED].
7240 (SA_RESTART): Likewise.
7241 (SA_NODEFER): Likewise. Define directly rather than as alias.
7242 (SA_RESETHAND): Likewise.
7243 (SA_INTERRUPT): Define only for [__USE_MISC].
7244 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
7245 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
7247 (SA_STACK): Define only for [__USE_MISC].
7248 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
7249 (struct sigaction): Define sa_handler and sa_sigaction using union
7250 also for [__USE_XOPEN_EXTENDED].
7251 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7252 [__USE_XOPEN_EXTENDED].
7253 (SA_RESTART): Likewise.
7254 (SA_NODEFER): Likewise.
7255 (SA_RESETHAND): Likewise.
7256 (SA_NOPTRACE): Define only for [__USE_MISC].
7258 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
7259 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
7260 (struct catalog_info): Likewise.
7261 * inet/htontest.c (lo): Likewise.
7263 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7264 * inet/inet_net.c (inet_network): Likewise.
7265 * inet/inet_netof.c (inet_netof): Likewise.
7266 * inet/rcmd.c (__ivaliduser): Likewise.
7267 (iruserok): Likewise.
7268 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
7269 * locale/programs/locale-spec.c (locale_special): Likewise.
7270 * nis/nis_findserv.c (struct findserv_req): Likewise.
7271 (__nis_findfastest_with_timeout): Likewise.
7272 * nss/test-netdb.c (test_network): Likewise.
7273 * resolv/inet_neta.c (inet_neta): Likewise.
7274 * resolv/ns_date.c (ns_datetosecs): Likewise.
7275 (SECS_PER_DAY): Likewise.
7276 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
7278 * resolv/res_comp.c (__putlong): Likewise.
7279 (__putshort): Likewise.
7280 (_getlong): Likewise.
7281 (_getshort): Likewise.
7282 * resolv/res_debug.c (p_time): Likewise.
7283 (precsize_ntoa): Likewise.
7284 (precsize_aton): Likewise.
7285 (latlon2ul): Likewise.
7286 (loc_aton): Likewise.
7287 (loc_ntoa): Likewise.
7288 * resolv/res_hconf.c (struct netaddr): Likewise.
7289 (_res_hconf_reorder_addrs): Likewise.
7290 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7291 (clnttcp_control): Likewise.
7292 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7293 (clntudp_control): Likewise.
7294 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
7295 (clntunix_control): Likewise.
7296 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7297 * sunrpc/rpc/auth.h (union des_block): Likewise.
7298 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
7299 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
7300 (xdrrec_create): Likewise.
7301 (xdrrec_endofrecord): Likewise.
7302 (flush_out): Likewise.
7303 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
7304 (xdrstdio_putlong): Likewise.
7305 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
7308 * misc/sys/cdefs.h (__long_double_t): Remove.
7309 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
7310 instead of __long_double_t,
7311 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
7313 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7315 * benchtests/scripts/compare_strings.py: Avoid display error when
7316 running on a text terminal.
7318 * benchtests/scripts/compare_strings.py (main): Add an
7319 optional -base option.
7320 (process_results): New argument base_func.
7322 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
7324 * benchtests/bench-memcpy-large.c (test_name): Likewise.
7325 * benchtests/bench-memcpy-random.c (test_name): Likewise.
7327 2017-08-07 Andreas Schwab <schwab@suse.de>
7329 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
7330 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7331 * intl/Makefile ($(objpfx)tst-gettext.out)
7332 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
7333 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
7334 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7335 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7336 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
7337 * posix/Makefile ($(objpfx)globtest.out)
7338 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
7339 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
7340 ($(objpfx)tst-printf.out): Likewise.
7341 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
7342 ($(objpfx)tst-setcontext3.out): Likewise.
7344 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
7346 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7347 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
7348 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
7349 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
7350 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
7352 (CFLAGS-doasin-fma.c): New.
7353 (CFLAGS-dosincos-fma.c): Likewise.
7354 (CFLAGS-e_asin-fma.c): Likewise.
7355 (CFLAGS-e_atan2-fma.c): Likewise.
7356 (CFLAGS-e_exp-fma.c): Likewise.
7357 (CFLAGS-e_log-fma.c): Likewise.
7358 (CFLAGS-e_pow-fma.c): Likewise.
7359 (CFLAGS-halfulp-fma.c): Likewise.
7360 (CFLAGS-mpa-fma.c): Likewise.
7361 (CFLAGS-mpatan-fma.c): Likewise.
7362 (CFLAGS-mpatan2-fma.c): Likewise.
7363 (CFLAGS-mpexp-fma.c): Likewise.
7364 (CFLAGS-mplog-fma.c): Likewise.
7365 (CFLAGS-mpsqrt-fma.c): Likewise.
7366 (CFLAGS-mptan-fma.c): Likewise.
7367 (CFLAGS-s_atan-fma.c): Likewise.
7368 (CFLAGS-sincos32-fma.c): Likewise.
7369 (CFLAGS-slowexp-fma.c): Likewise.
7370 (CFLAGS-slowpow-fma.c): Likewise.
7371 (CFLAGS-s_sin-fma.c): Likewise.
7372 (CFLAGS-s_tan-fma.c): Likewise.
7373 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
7374 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
7375 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
7376 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
7377 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
7378 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
7379 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
7380 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
7381 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
7382 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
7383 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
7384 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
7385 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
7386 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
7387 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
7388 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
7389 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
7390 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
7391 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
7392 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
7393 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
7394 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
7395 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
7396 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
7397 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7398 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7399 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7400 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
7401 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7402 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7403 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7405 2017-08-04 Joseph Myers <joseph@codesourcery.com>
7407 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
7408 (min_of_type_f): New macro.
7409 (min_of_type_): Likewise.
7410 (min_of_type_l): Likewise.
7411 (min_of_type_f128): Likewise.
7412 (min_of_type): Define using __MATH_TG and taking an expression
7414 (math_check_force_underflow): Pass expression instead of type to
7416 (math_check_force_underflow_nonneg): Likewise.
7418 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7420 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
7421 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
7422 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
7424 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7426 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7427 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
7428 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
7429 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
7430 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
7431 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
7432 memcpy_chk-nonshared, mempcpy_chk-nonshared,
7433 memmove_chk-nonshared and memset_chk-nonshared
7434 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
7435 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
7436 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
7437 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
7438 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
7439 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
7440 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
7441 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
7442 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
7443 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
7444 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
7445 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
7446 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
7447 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
7448 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
7449 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
7450 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
7451 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
7452 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
7453 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
7454 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
7455 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
7456 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
7457 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
7458 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
7459 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
7460 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
7461 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
7462 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
7463 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
7464 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
7465 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
7466 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
7467 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
7468 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
7469 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
7470 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
7471 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
7472 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
7473 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
7474 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
7475 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
7476 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
7477 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
7478 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
7479 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
7480 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
7481 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
7482 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
7483 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
7484 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
7485 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
7486 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
7487 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
7488 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
7489 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
7490 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
7491 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
7492 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
7493 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
7494 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
7495 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
7496 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
7497 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
7498 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
7499 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
7500 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
7501 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
7502 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
7503 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
7504 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
7505 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7506 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7507 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7508 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7509 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7510 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7511 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7512 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7513 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7514 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7515 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7516 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7517 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7518 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7519 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7520 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7521 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7522 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7523 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7524 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7525 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7526 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7527 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7528 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7529 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7530 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7531 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7532 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7533 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7534 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7535 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7536 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7537 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7538 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7539 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7540 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7541 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7543 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7545 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
7546 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
7547 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
7548 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
7549 svml_d_log2_core-sse2, svml_d_log4_core-sse,
7550 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
7551 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
7552 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
7553 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
7554 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
7555 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
7556 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
7557 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
7558 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
7559 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
7560 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
7561 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
7562 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
7563 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
7564 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
7565 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
7566 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
7567 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
7568 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
7569 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
7570 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
7571 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
7572 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
7573 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
7574 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
7575 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
7576 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
7577 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
7578 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
7579 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
7580 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
7581 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
7582 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
7583 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
7584 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
7585 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
7586 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
7587 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
7588 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
7589 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
7590 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
7591 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
7592 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
7593 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
7594 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
7595 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
7596 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
7597 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
7598 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
7599 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
7600 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
7601 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
7602 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
7603 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
7605 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
7606 Don't include <sysdep.h> nor <init-arch.h>.
7607 (_ZGVbN2v_cos): Removed.
7608 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
7610 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
7611 Don't include <sysdep.h> nor <init-arch.h>.
7612 (_ZGVdN4v_cos): Removed.
7613 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
7615 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
7616 Don't include <sysdep.h> nor <init-arch.h>.
7617 (_ZGVeN8v_cos): Removed.
7618 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
7620 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
7621 Don't include <sysdep.h> nor <init-arch.h>.
7622 (_ZGVbN2v_exp): Removed.
7623 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
7625 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
7626 Don't include <sysdep.h> nor <init-arch.h>.
7627 (_ZGVdN4v_exp): Removed.
7628 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
7630 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
7631 Don't include <sysdep.h> nor <init-arch.h>.
7632 (_ZGVeN8v_exp): Removed.
7633 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
7635 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
7636 Don't include <sysdep.h> nor <init-arch.h>.
7637 (_ZGVbN2v_log): Removed.
7638 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
7640 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
7641 Don't include <sysdep.h> nor <init-arch.h>.
7642 (_ZGVdN4v_log): Removed.
7643 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
7645 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
7646 Don't include <sysdep.h> nor <init-arch.h>.
7647 (_ZGVeN8v_log): Removed.
7648 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
7650 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
7651 Don't include <sysdep.h> nor <init-arch.h>.
7652 (_ZGVbN2vv_pow): Removed.
7653 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
7655 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
7656 Don't include <sysdep.h> nor <init-arch.h>.
7657 (_ZGVdN4vv_pow): Removed.
7658 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
7660 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
7661 Don't include <sysdep.h> nor <init-arch.h>.
7662 (_ZGVeN8vv_pow): Removed.
7663 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
7665 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
7666 Don't include <sysdep.h> nor <init-arch.h>.
7667 (_ZGVbN2v_sin): Removed.
7668 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
7670 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
7671 Don't include <sysdep.h> nor <init-arch.h>.
7672 (_ZGVbN4v_sin): Removed.
7673 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
7675 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
7676 Don't include <sysdep.h> nor <init-arch.h>.
7677 (_ZGVbN8v_sin): Removed.
7678 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
7680 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
7681 Don't include <sysdep.h> nor <init-arch.h>.
7682 (_ZGVbN2vvv_sincos): Removed.
7683 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
7685 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
7686 Don't include <sysdep.h> nor <init-arch.h>.
7687 (_ZGVdN4vvv_sincos): Removed.
7688 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
7690 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
7691 Don't include <sysdep.h> nor <init-arch.h>.
7692 (_ZGVeN8vvv_sincos): Removed.
7693 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
7695 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
7696 Don't include <sysdep.h> nor <init-arch.h>.
7697 (_ZGVeN16v_cosf): Removed.
7698 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
7700 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
7701 Don't include <sysdep.h> nor <init-arch.h>.
7702 (_ZGVbN4v_cosf): Removed.
7703 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
7705 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
7706 Don't include <sysdep.h> nor <init-arch.h>.
7707 (_ZGVdN8v_cosf): Removed.
7708 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
7710 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
7711 Don't include <sysdep.h> nor <init-arch.h>.
7712 (_ZGVeN16v_expf): Removed.
7713 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
7715 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
7716 Don't include <sysdep.h> nor <init-arch.h>.
7717 (_ZGVbN4v_expf): Removed.
7718 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
7720 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
7721 Don't include <sysdep.h> nor <init-arch.h>.
7722 (_ZGVdN8v_expf): Removed.
7723 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
7725 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
7726 Don't include <sysdep.h> nor <init-arch.h>.
7727 (_ZGVeN16v_logf): Removed.
7728 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
7730 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
7731 Don't include <sysdep.h> nor <init-arch.h>.
7732 (_ZGVbN4v_logf): Removed.
7733 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
7735 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
7736 Don't include <sysdep.h> nor <init-arch.h>.
7737 (_ZGVdN8v_logf): Removed.
7738 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
7740 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
7741 Don't include <sysdep.h> nor <init-arch.h>.
7742 (_ZGVeN16vv_powf): Removed.
7743 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
7745 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
7746 Don't include <sysdep.h> nor <init-arch.h>.
7747 (_ZGVbN4vv_powf): Removed.
7748 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
7750 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
7751 Don't include <sysdep.h> nor <init-arch.h>.
7752 (_ZGVdN8vv_powf): Removed.
7753 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
7755 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
7756 Don't include <sysdep.h> nor <init-arch.h>.
7757 (_ZGVeN16vvv_sincosf): Removed.
7758 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
7760 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
7761 Don't include <sysdep.h> nor <init-arch.h>.
7762 (_ZGVbN4vvv_sincosf): Removed.
7763 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
7765 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
7766 Don't include <sysdep.h> nor <init-arch.h>.
7767 (_ZGVdN8vvv_sincosf): Removed.
7768 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
7770 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
7771 Don't include <sysdep.h> nor <init-arch.h>.
7772 (_ZGVeN16v_sinf): Removed.
7773 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
7775 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
7776 Don't include <sysdep.h> nor <init-arch.h>.
7777 (_ZGVbN4v_sinf): Removed.
7778 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
7780 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
7781 Don't include <sysdep.h> nor <init-arch.h>.
7782 (_ZGVdN8v_sinf): Removed.
7784 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7786 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7787 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
7788 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
7789 s_rint-sse4_1 and s_rintf-sse4_1.
7790 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
7791 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7792 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7793 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7794 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7795 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
7796 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
7797 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7798 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7799 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
7800 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
7801 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7803 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
7804 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
7805 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7807 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
7808 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
7809 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7811 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
7812 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
7813 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7814 (__floorf): Removed.
7815 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
7816 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
7817 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7818 (__nearbyint): Removed.
7819 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
7820 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
7821 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7822 (__nearbyintf): Removed.
7823 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
7824 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
7825 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7827 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
7828 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
7829 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7832 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7834 * sysdeps/i386/start.S (_start): Check Check PIC instead of
7835 SHARED. Avoid dynamic relocation against main in static PIE.
7837 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7840 * elf/Makefile (CFLAGS-tst-prelink.c): New.
7841 (LDFLAGS-tst-prelink): Likewise.
7843 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7845 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
7846 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
7847 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
7848 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
7849 (INTERNAL_SYSCALL_NCS): Likewise.
7850 (LOADARGS_1): Likewise.
7851 (LOADARGS_5): Likewise.
7852 (RESTOREARGS_1): Likewise.
7853 (RESTOREARGS_5): Likewise.
7855 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7857 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
7858 (MEMPCPY_SYMBOL): Likewise.
7859 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7860 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
7861 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
7863 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7864 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7866 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
7867 (__hidden_ver1): Don't use in libc.a.
7868 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
7869 (__mempcpy): Don't create a weak alias in libc.a.
7870 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
7872 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
7873 (__hidden_ver1): Don't use in libc.a.
7875 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7877 * config.make.in (have-insert): New.
7878 * configure.ac (libc_cv_insert): New. Set to yes if linker
7879 supports INSERT in linker script.
7880 (AC_SUBST(libc_cv_insert): New.
7881 * configure: Regenerated.
7882 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
7883 if $(have-insert) == yes.
7885 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7887 * elf/Makefile (tests): Add vismain only if
7888 $(have-protected-data) == yes.
7889 (tests-pie): Likewise.
7891 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7894 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7895 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
7897 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7900 * sysdeps/i386/i586/memset.S
7901 (__memset_zero_constant_len_parameter): Removed.
7902 * sysdeps/i386/i686/memset.S
7903 (__memset_zero_constant_len_parameter): Likewise.
7904 * sysdeps/i386/i686/multiarch/memset_chk.S
7905 (__memset_zero_constant_len_parameter): Likewise.
7906 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
7909 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
7911 * stdlib/getentropy.c (getentropy): Change return type to int.
7913 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
7915 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
7917 2017-08-03 Joseph Myers <joseph@codesourcery.com>
7919 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
7921 * math/s_nexttowardf.c (__nexttowardf): Likewise.
7922 * sysdeps/generic/math_private.h (ieee_double_shape_type):
7924 (ieee_float_shape_type): Likewise.
7925 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
7926 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
7927 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7928 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7929 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7930 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
7931 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
7932 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7933 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7935 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7936 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7937 (__ieee754_yn): Likewise.
7938 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7939 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7940 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
7942 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7943 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
7944 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
7945 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
7947 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
7948 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
7949 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
7950 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
7951 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
7952 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
7954 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
7955 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
7956 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
7957 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
7958 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7959 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
7960 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
7961 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
7962 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
7963 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
7964 (__issignaling): Likewise.
7965 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
7966 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
7967 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7969 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7970 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
7971 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
7972 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
7974 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
7976 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
7977 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
7978 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
7979 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
7980 (__erfcf): Likewise.
7981 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
7982 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
7983 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
7984 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
7986 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
7987 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
7989 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
7990 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
7991 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
7992 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
7993 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
7994 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7995 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
7996 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
7998 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
8000 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
8002 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
8003 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8005 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8007 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8008 (__ieee754_ynl): Likewise.
8009 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8010 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
8012 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
8014 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
8015 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
8016 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8018 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
8019 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
8020 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
8021 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
8022 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
8023 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
8024 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
8025 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
8027 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
8028 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
8029 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
8031 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
8032 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
8033 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
8034 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
8035 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
8036 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8038 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8040 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8042 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8044 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
8045 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8046 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8047 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
8048 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
8049 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
8050 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
8052 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8054 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8055 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8057 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8058 (__ieee754_remainderl): Likewise.
8059 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8060 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8061 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
8062 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
8064 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
8065 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8067 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8068 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
8069 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
8070 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
8071 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8072 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8074 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
8075 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
8076 (__ieee754_y0l): Likewise.
8079 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8080 (__ieee754_y1l): Likewise.
8083 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8084 (__ieee754_ynl): Likewise.
8085 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8086 (__ieee754_lgammal_r): Likewise.
8087 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
8089 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
8090 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
8091 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
8092 (__erfcl): Likewise.
8093 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
8094 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
8096 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
8097 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
8098 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
8099 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
8100 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
8101 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8102 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8104 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
8105 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8106 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
8107 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
8108 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8110 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
8111 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
8113 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
8114 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
8115 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
8116 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8117 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8119 2017-08-03 Florian Weimer <fweimer@redhat.com>
8122 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
8123 on memory allocation failure.
8125 2017-08-03 Alan Modra <amodra@gmail.com>
8127 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
8128 tst-tlsopt-powerpc.c with function name change and no test harness.
8129 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
8130 Call tls_get_addr_opt_test.
8131 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
8132 (modules-names): Add mod-tlsopt-powerpc.
8133 (mod-tlsopt-powerpc.so-no-z-defs): Define.
8134 (tst-tlsopt-powerpc): Depend on .so.
8135 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
8136 define. Expand use in TLS_GD and TLS_LD.
8138 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8140 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
8142 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8144 2017-08-02 Joseph Myers <joseph@codesourcery.com>
8147 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
8148 comparing size with that of double.
8149 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
8150 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
8151 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
8152 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
8153 (__TGMATH_BINARY_REAL_IMAG): Likewise.
8154 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
8155 unsigned __int128 types.
8157 2017-08-02 Steve Ellcey <sellcey@cavium.com>
8159 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
8160 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
8161 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
8162 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
8163 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
8165 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8167 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
8169 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8171 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
8173 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8174 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8175 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8176 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8177 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8178 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8179 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8181 2017-08-02 Joseph Myers <joseph@codesourcery.com>
8184 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
8185 bit-field expressions passed to sizeof or typeof.
8186 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8187 (__TGMATH_F128): Likewise.
8188 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8189 (__TGMATH_CF128): Likewise.
8190 (__TGMATH_UNARY_REAL_ONLY): Likewise.
8191 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
8192 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
8193 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
8194 (__TGMATH_BINARY_REAL_ONLY): Likewise.
8195 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
8196 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
8197 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
8198 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
8199 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
8200 (__TGMATH_UNARY_REAL_IMAG): Likewise.
8201 (__TGMATH_UNARY_IMAG): Likewise.
8202 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
8203 (__TGMATH_BINARY_REAL_IMAG): Likewise.
8204 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
8206 (define_vars_for_type): Handle bit_field type specially.
8207 (Tests.__init__): Declare structure with bit-field element.
8209 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8212 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
8213 (MEMCPY_CHK): Define only if SHARED is defined.
8214 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
8216 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
8219 See ChangeLog.18 for earlier changes.