1 2019-03-14 Florian Weimer <fweimer@redhat.com>
3 Remove obsolete, never-implemented XSI STREAMS declarations.
4 * manual/terminal.texi (Allocation): Remove portability note and
6 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
8 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
9 * sysdeps/unix/inet/Subdirs (streams): Remove.
10 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
11 (conformtest-headers-UNIX98): Likewise.
12 (conformtest-headers-XOPEN2K): Likewise.
13 (conformtest-headers-POSIX2008): Likewise.
14 * posix/compat-streams.c: New file.
15 * posix/Makefile (routines): Add it.
16 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
17 getpmsg, isastream, putmsg, putpmsg.
18 (GLIBC_2.30): New section.
19 * bits/stropts.h: Remove file.
20 * bits/xtitypes.h: Likewise.
21 * conform/data/stropts.h-data: Likewise.
22 * include/stropts.h: Likewise.
23 * include/sys/stropts.h: Likewise.
24 * include/xtitypes.h: Likewise.
25 * streams/Makefile: Likewise.
26 * streams/fattach.c: Likewise.
27 * streams/fdetach.c: Likewise.
28 * streams/getmsg.c: Likewise.
29 * streams/getpmsg.c: Likewise.
30 * streams/isastream.c: Likewise.
31 * streams/putmsg.c: Likewise.
32 * streams/putpmsg.c: Likewise.
33 * streams/stropts.h: Likewise.
34 * streams/sys/stropts.h: Likewise.
35 * sysdeps/ia64/bits/xtitypes.h: Likewise.
36 * sysdeps/s390/bits/xtitypes.h: Likewise.
37 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
38 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
39 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
40 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
41 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
42 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
43 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
44 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
45 * sysdeps/x86/bits/xtitypes.h: Likewise.
47 2019-03-14 Florian Weimer <fweimer@redhat.com>
49 * nss/tst-nss-files-alias-truncated.c (do_test): Load
51 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
52 but not with libnss_files.
53 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
55 2019-03-14 Zack Weinberg <zackw@panix.com>
57 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
58 Specify encoding="utf-8" when opening headers to check.
60 2019-03-13 Joseph Myers <joseph@codesourcery.com>
62 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
64 (Context.checkout_tar): Handle variable major version for Linux
67 2019-03-13 Florian Weimer <fweimer@redhat.com>
70 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
72 2019-03-13 Zack Weinberg <zackw@panix.com>
74 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
76 * include/inttypes.h: Adjust to match.
77 * include/stdint.h: New wrapper.
79 2019-03-13 Zack Weinberg <zackw@panix.com>
81 * scripts/check-obsolete-constructs.py: New test script.
82 * scripts/check-installed-headers.sh: Remove tests for
83 obsolete typedefs, superseded by check-obsolete-constructs.py.
84 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
85 as a special test. Update commentary.
86 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
87 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
89 * posix/sys/types.h (__u_intN_t): Remove.
90 (u_int8_t): Typedef using __uint8_t.
91 (u_int16_t): Typedef using __uint16_t.
92 (u_int32_t): Typedef using __uint32_t.
93 (u_int64_t): Typedef using __uint64_t.
95 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
97 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
99 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
100 Ignore types other than AT_HWCAP.
101 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
102 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
104 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
105 in the case of falling back to generic output mechanism.
106 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
109 2019-03-12 Florian Weimer <fweimer@redhat.com>
111 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
113 2019-03-12 Florian Weimer <fweimer@redhat.com>
116 resolv: Enable full ICMP errors for UDP DNS sockets
117 * resolv/res_enable_icmp.c: New file.
118 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
119 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
120 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
123 2019-03-11 Mao Han <han_mao@c-sky.com>
125 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
126 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
128 2019-03-11 Mao Han <han_mao@c-sky.com>
130 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
131 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
132 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
134 2019-03-11 Mao Han <han_mao@c-sky.com>
136 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
138 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
141 2019-03-11 Mao Han <han_mao@c-sky.com>
143 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
144 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
147 2019-03-08 Mike FABIAN <mfabian@redhat.com>
150 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
151 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
153 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
154 * localedata/unicode-gen/PropList.txt: Likewise.
155 * localedata/unicode-gen/UnicodeData.txt: Likewise.
156 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
157 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
158 * localedata/charmaps/UTF-8: Regenerate.
159 * localedata/locales/i18n_ctype: Likewise.
160 * localedata/locales/tr_TR: Likewise.
161 * localedata/locales/translit_circle: Likewise.
162 * localedata/locales/translit_cjk_compat: Likewise.
163 * localedata/locales/translit_combining: Likewise.
164 * localedata/locales/translit_compat: Likewise.
165 * localedata/locales/translit_font: Likewise.
166 * localedata/locales/translit_fraction: Likewise.
168 2019-03-07 Joseph Myers <joseph@codesourcery.com>
170 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
171 than after operators.
172 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
173 (setitimer_locked): Likewise.
174 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
175 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
176 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
177 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
178 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
179 (PPC_CPU_SUPPORTED): Likewise.
180 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
181 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
182 (stat_overflow): Likewise.
183 (statfs_overflow): Likewise.
184 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
185 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
186 (eq_ttyname_r): Likewise.
187 (run_chroot_tests): Likewise.
189 2019-03-07 Florian Weimer <fweimer@redhat.com>
191 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
194 2019-03-07 Martin Liska <mliska@suse.cz>
196 * math/Makefile: Change location where math-vector-fortran.h is
198 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
199 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
200 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
201 * scripts/check-installed-headers.sh: Skip Fortran header files.
202 * scripts/check-wrapper-headers.py: Likewise.
204 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
206 * nptl/nptl-init.c (__have_futex_clock_realtime,
207 __have_futex_clock_realtime): Remove definition.
208 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
209 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
210 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
211 __ASSUME_FUTEX_CLOCK_REALTIME support.
212 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
213 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
214 * sysdeps/unix/sysv/linux/kernel-features.h
215 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
216 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
219 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
221 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
222 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
223 __GI___wcscpy and wcscpy.
225 2019-03-04 Florian Weimer <fweimer@redhat.com>
227 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
229 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
232 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
234 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
235 * sysdeps/s390/s390-32/sysdep.h: Likewise.
237 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
240 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
241 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
243 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
245 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
248 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
249 (do_test_call_varg): Likewise.
250 (do_test_call_rarg): Likewise.
251 * sysdeps/ieee754/ldbl-opt/Makefile
252 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
254 ($(objpfx)tst-nldbl-warn.c): New rule.
255 ($(objpfx)tst-nldbl-error.c): Likewise.
256 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
259 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
262 * include/bits/error-ldbl.h: New file.
263 * include/error.h: Include stdarg.h. Declare internal functions
264 __error_internal and __error_at_line_internal.
265 * misc/Makefile (headers): Add bits/error-ldbl.h.
266 * misc/bits/error-ldbl.h: New file.
267 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
268 avoid the inclusion of bits/error.h.
269 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
270 and __nldbl_error_at_line.
271 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
272 (__nldbl_error, __ndlbl_error_at_line): New functions.
273 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
274 Redirect error and error_at_line.
275 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
284 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
285 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
286 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
288 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
291 * include/bits/err-ldbl.h: New file.
292 * include/err.h: Add prototypes for the internal functions:
293 __vwarnx_internal and __vwarn_internal.
294 * misc/Makefile (headers): Add bits/err-ldbl.h.
295 * misc/bits/err-ldbl.h: New file.
296 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
297 defined, i.e.: when -mlong-double-64 is in use.
298 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
299 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
300 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
301 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
302 (VA_CALL): New macro.
303 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
304 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
306 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
307 declare prototypes for the new functions.
308 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
317 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
318 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
319 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
321 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
323 * sysdeps/ieee754/ldbl-opt/Makefile
324 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
325 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
326 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
328 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
331 * argp/Makefile (headers): Add bits/argp-ldbl.h.
332 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
333 * argp/bits/argp-ldbl.h: New file.
334 * include/argp.h: Include stdarg.h. Add prototypes for internal
335 functions: __argp_error_internal and __argp_failure_internal.
336 * include/bits/argp-ldbl.h: New file.
337 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
338 __nldbl_argp_error and __nldbl_argp_failure.
339 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
340 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
341 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
342 Redirect argp_error and argp_failure calls.
343 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
352 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
353 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
354 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
356 2019-03-01 Florian Weimer <fweimer@redhat.com>
359 * elf/tst-big-note-lib.S: Create a syntactically valid note.
360 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
361 code, to avoid creating an ABI tag note.
362 (modules-names-nobuild): Add tst-big-note-lib.
364 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
366 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
367 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
369 2019-03-01 Florian Weimer <fweimer@redhat.com>
372 * sysdeps/unix/sysv/linux/netlink_assert_response.c
373 (__netlink_assert_response): Add additional missing newlines.
375 2019-02-28 Joseph Myers <joseph@codesourcery.com>
377 * sysdeps/powerpc/powerpc32/dl-machine.c
378 (__elf_machine_fixup_plt): Use space before '('.
379 (__process_machine_rela): Likewise.
380 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
382 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
384 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
386 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
389 (check_result): Likewise.
390 (check_excepts): Likewise.
391 (check_op): Likewise.
393 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
394 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
396 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
399 (__makecontext): Likewise.
400 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
403 2019-02-28 Florian Weimer <fweimer@redhat.com>
406 elf: Add test with a local IFUNC resolver.
407 * elf/ifuncmain9.c: New file.
408 * elf/ifuncmain9pic.c: Likewise.
409 * elf/ifuncmain9picstatic.c: Likewise.
410 * elf/ifuncmain9pie.c: Likewise.
411 * elf/ifuncmain9static.c: Likewise.
412 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
413 ifuncmain9static, ifuncmain9picstatic.
414 * elf/Makefile [multi-arch && build-shared] (tests-internal):
415 Add ifuncmain9, ifuncmain9pic.
416 * elf/Makefile [multi-arch && build-shared && have-fpie]
417 (ifunc-pie-tests): Add ifuncmain9pie.
418 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
419 (CFLAGS-ifuncmain9picstatic.c): Likewise.
420 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
422 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
424 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
425 * configure: Regenerated.
426 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
428 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
430 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
431 symbol as __wcspcy instead of wcscpy.
433 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
435 * include/stdio.h (__renameat2): New hidden prototype.
436 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
437 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
438 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
439 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
441 2019-02-27 Joseph Myers <joseph@codesourcery.com>
443 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
446 * benchtests/bench-strcpy.c (do_test): Use space before '('.
447 * benchtests/bench-string.h (cmdline_process_function): Likewise.
448 * benchtests/bench-strlen.c (do_test): Likewise.
449 (test_main): Likewise.
450 * catgets/gencat.c (read_old): Likewise.
451 * elf/cache.c (load_aux_cache): Likewise.
452 * iconvdata/bug-iconv8.c (do_test): Likewise.
453 * math/test-tgmath-ret.c (do_test): Likewise.
454 * nis/nis_call.c (rec_dirsearch): Likewise.
455 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
456 * nptl/tst-audit-threads.c (do_test): Likewise.
457 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
458 * nss/nss_test1.c (init): Likewise.
459 * nss/test-netdb.c (test_hosts): Likewise.
460 * posix/execvpe.c (maybe_script_execute): Likewise.
461 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
462 * stdio-common/tst-printf.c (do_test): Likewise.
463 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
464 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
465 * stdlib/qsort.c (STACK_SIZE): Likewise.
466 * stdlib/test-canon.c (do_test): Likewise.
467 * stdlib/tst-swapcontext1.c (do_test): Likewise.
468 * string/memcmp.c (OPSIZ): Likewise.
469 * string/test-strcpy.c (do_test): Likewise.
470 (do_random_tests): Likewise.
471 * string/test-strlen.c (do_test): Likewise.
472 (test_main): Likewise.
473 * string/test-strrchr.c (do_test): Likewise.
474 (do_random_tests): Likewise.
475 * string/tester.c (test_memrchr): Likewise.
476 (test_memchr): Likewise.
477 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
478 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
479 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
480 (read_encoded_value_with_base): Likewise.
481 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
482 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
483 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
484 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
485 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
486 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
488 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
490 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
491 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
492 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
494 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
496 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
498 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
500 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
501 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
502 (FP_XSTATE_MAGIC2_SIZE): Likewise.
503 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
504 * time/test_time.c (main): Likewise.
506 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
508 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
510 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
513 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
516 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
518 * include/wchar.h (__wcscpy): New prototype.
519 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
520 (__wcscpy): Route internal symbol to generic implementation.
521 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
522 Add internal __wcscpy alias.
523 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
524 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
525 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
526 * wcsmbs/wcscpy.c (wcscpy): Add
527 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
528 use generic implementation.
529 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
531 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
534 * sysdeps/m68k/wcpcpy.c: Remove file.
535 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
537 2019-02-26 Joseph Myers <joseph@codesourcery.com>
539 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
540 than after operators.
541 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
542 * sysdeps/mach/hurd/getcwd.c
543 (__hurd_canonicalize_directory_name_internal): Likewise.
544 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
545 (pthread_mutex_consistent): Likewise.
546 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
548 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
549 (__pthread_mutex_transfer_np): Likewise.
550 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
551 (__pthread_mutex_unlock): Likewise.
552 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
553 (mtx_owned_p): Likewise.
554 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
555 (pthread_mutexattr_getrobust): Likewise.
556 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
557 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
559 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
560 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
561 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
562 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
563 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
564 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
565 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
567 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
569 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
570 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
571 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
572 (____longjmp_chk): Likewise.
573 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
575 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
576 (INTERNAL_SYSCALL): Likewise.
577 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
578 (INTERNAL_SYSCALL): Likewise.
579 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
580 (__get_clockfreq_via_cpuinfo): Likewise.
582 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
584 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
585 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
586 (WORD_COPY_BWD): Likewise.
587 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
588 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
590 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
591 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
593 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
595 2019-02-25 Joseph Myers <joseph@codesourcery.com>
597 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
598 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
599 rather than after operators.
600 * elf/cache.c (print_cache): Likewise.
601 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
602 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
603 * hurd/hurdinit.c (_hurd_setproc): Likewise.
604 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
605 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
606 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
607 (reauth_proc): Likewise.
608 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
609 (__file_name_split_at): Likewise.
610 (__directory_name_split_at): Likewise.
611 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
612 * hurd/port2fd.c (_hurd_port2fd): Likewise.
613 * iconv/gconv_dl.c (do_print): Likewise.
614 * inet/netinet/in.h (struct sockaddr_in): Likewise.
615 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
616 * locale/setlocale.c (new_composite_name): Likewise.
617 * malloc/memusagestat.c (main): Likewise.
618 * misc/fstab.c (fstab_convert): Likewise.
619 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
621 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
622 (getgrent_next_file): Likewise.
623 (internal_getgrnam_r): Likewise.
624 (internal_getgrgid_r): Likewise.
625 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
627 (internal_getgrent_r): Likewise.
628 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
629 (getpwent_next_nss): Likewise.
630 (getpwent_next_file): Likewise.
631 (internal_getpwnam_r): Likewise.
632 (internal_getpwuid_r): Likewise.
633 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
635 (getspent_next_nss): Likewise.
636 (internal_getspnam_r): Likewise.
637 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
638 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
639 * string/strchr.c (STRCHR): Likewise.
640 * string/strchrnul.c (STRCHRNUL): Likewise.
641 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
642 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
643 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
644 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
645 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
647 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
648 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
649 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
650 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
651 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
652 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
653 (open_file): Likewise.
654 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
655 (pthread_mutexattr_setprotocol): Likewise.
656 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
657 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
658 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
659 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
660 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
662 (elf_machine_rela): Likewise.
663 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
664 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
665 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
666 * sysdeps/posix/rename.c (rename): Likewise.
667 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
668 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
669 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
670 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
671 * sysdeps/unix/grantpt.c (grantpt): Likewise.
672 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
673 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
675 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
677 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
678 * time/tzfile.c (__tzfile_compute): Likewise.
680 2019-02-22 Joseph Myers <joseph@codesourcery.com>
682 * benchtests/bench-memmem.c (simple_memmem): Break lines before
683 rather than after operators.
684 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
685 * crypt/md5.c (md5_finish_ctx): Likewise.
686 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
687 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
688 * elf/cache.c (load_aux_cache): Likewise.
689 * elf/dl-load.c (open_verify): Likewise.
690 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
691 * elf/readelflib.c (process_elf_file): Likewise.
692 * elf/rtld.c (dl_main): Likewise.
693 * elf/sprof.c (generate_call_graph): Likewise.
694 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
695 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
696 * hurd/dtable.c (reauth_dtable): Likewise.
697 * hurd/getdport.c (__getdport): Likewise.
698 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
699 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
700 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
702 * hurd/hurdioctl.c (fioctl): Likewise.
703 * hurd/hurdselect.c (_hurd_select): Likewise.
704 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
705 (STOPSIGS): Likewise.
706 * hurd/hurdstartup.c (_hurd_startup): Likewise.
707 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
708 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
709 * hurd/msgportdemux.c (msgport_server): Likewise.
710 * hurd/setauth.c (_hurd_setauth): Likewise.
711 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
712 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
713 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
714 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
715 * login/tst-utmp.c (do_check): Likewise.
716 (simulate_login): Likewise.
717 * mach/lowlevellock.h (lll_lock): Likewise.
718 (lll_trylock): Likewise.
719 * math/test-fenv.c (ALL_EXC): Likewise.
720 * math/test-fenvinline.c (ALL_EXC): Likewise.
721 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
722 * nis/nis_call.c (__do_niscall3): Likewise.
723 * nis/nis_callback.c (cb_prog_1): Likewise.
724 * nis/nis_defaults.c (searchaccess): Likewise.
725 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
726 * nis/nis_ismember.c (internal_ismember): Likewise.
727 * nis/nis_local_names.c (nis_local_principal): Likewise.
728 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
729 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
731 * nis/ypclnt.c (yp_match): Likewise.
732 (yp_first): Likewise.
734 (yp_master): Likewise.
735 (yp_order): Likewise.
736 * nscd/hstcache.c (cache_addhst): Likewise.
737 * nscd/initgrcache.c (addinitgroupsX): Likewise.
738 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
739 (internal_getpwuid_r): Likewise.
740 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
741 * posix/glob.h (__GLOB_FLAGS): Likewise.
742 * posix/regcomp.c (peek_token): Likewise.
743 (peek_token_bracket): Likewise.
744 (parse_expression): Likewise.
745 * posix/regexec.c (sift_states_iter_mb): Likewise.
746 (check_node_accept_bytes): Likewise.
747 * posix/tst-spawn3.c (do_test): Likewise.
748 * posix/wordexp-test.c (testit): Likewise.
749 * posix/wordexp.c (parse_tilde): Likewise.
750 (exec_comm): Likewise.
751 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
752 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
753 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
754 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
755 * stdio-common/tst-fileno.c (do_test): Likewise.
756 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
757 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
758 * stdlib/strtod_l.c (round_and_return): Likewise.
759 (____STRTOF_INTERNAL): Likewise.
760 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
761 * string/strcspn.c (STRCSPN): Likewise.
762 * string/test-memmem.c (simple_memmem): Likewise.
763 * termios/tcsetattr.c (tcsetattr): Likewise.
764 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
765 * time/asctime.c (asctime_internal): Likewise.
766 * time/strptime_l.c (__strptime_internal): Likewise.
767 * time/sys/time.h (timercmp): Likewise.
768 * time/tzfile.c (__tzfile_compute): Likewise.
770 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
773 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
775 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
777 * argp/argp-help.c (__argp_error_internal): New function,
778 renamed from __argp_error, but that takes a 'mode_flags'
779 parameter to control the format of long double parameters.
780 (__argp_error): Converted into a call __argp_error_internal.
781 (__argp_failure_internal): New function, renamed from
782 __argp_failure, but that takes a 'mode_flags' parameter.
783 (__argp_failure): Converted into a call __argp_failure_internal.
784 * misc/err.c (__vwarnx_internal): New function, renamed from
785 vwarnx, but that takes a 'mode_flags' parameter.
786 (vwarnx): Converted into a call to __vwarnx_internal.
787 (__vwarn_internal): New function, renamed from vwarn, but that
788 takes a 'mode_flags' parameter.
789 (vwarn): Converted into a call to __vwarn_internal.
790 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
791 call to __vfxprintf with 'mode_flags'.
792 (__error_internal): New function, renamed from error, but that
793 takes a 'mode_flags' parameter.
794 (error): Converted into a call to __error_internal.
795 (__error_at_line_internal): New function, renamed from
796 error_at_line, but that takes a 'mode_flags' parameter.
797 (error_at_line): Converted into a call to
798 __error_at_line_internal.
799 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
800 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
803 2019-02-20 Martin Liska <mliska@suse.cz>
805 * math/Makefile: Install math-vector-fortran.h.
806 * bits/math-vector-fortran.h: New file.
807 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
809 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
811 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
812 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
814 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
816 * nptl/pthread_mutex_trylock.c: Fix comment.
818 2019-02-19 Carlos O'Donell <carlos@redhat.com>
820 * nptl/pthread_tryjoin.c: Fix comment.
822 2019-02-18 Joseph Myers <joseph@codesourcery.com>
825 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
826 after R_SPARC_H34 case.
828 2019-02-18 Florian Weimer <fweimer@redhat.com>
830 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
831 (getanswer): Do not call Dprintf.
832 (res_gethostbyname2_context): Likewise.
833 (res_gethostbyaddr_context): Likewise.
835 2019-02-18 Florian Weimer <fweimer@redhat.com>
837 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
839 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
841 * libio/stdfiles.c: Update comment.
842 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
843 set _IO_stdin, _IO_stdout, _IO_stderr.
844 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
845 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
847 (_IO_deallocate_file): New inline function.
848 * libio/iolibio.h (_IO_vprintf): Remove definition.
849 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
850 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
851 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
853 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
854 __builtin_expect. Use _IO_legacy_file.
856 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
858 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
859 Initialize ctid with a known value and remove update of ctid
861 (wait_tid): Adjust arguments and call futex_wait with ctid_val
862 as assumed current value of ctid_ptr.
864 2019-02-15 Florian Weimer <fweimer@redhat.com>
866 Check that non-sysdeps headers have wrapper headers.
867 * scripts/check-wrapper-headers.py: New file.
868 * Makefile (tests-special): Add check-wrapper-headers.out.
869 (check-wrapper-headers.out): New target.
870 * Rules (tests-special): Add check-wrapper-headers.out.
871 (check-wrapper-headers.out): New target.
873 2019-02-15 Florian Weimer <fweimer@redhat.com>
875 Add missing header wrappers under include/.
876 * include/ar.h: New file.
877 * include/bits/mqueue2.h: Likewise.
878 * include/bits/stdio.h: Likewise.
879 * include/bits/stdio2.h: Likewise.
880 * include/fstab.h: Likewise.
881 * include/fts.h: Likewise.
882 * include/lastlog.h: Likewise.
883 * include/netinet/icmp6.h: Likewise.
884 * include/netinet/igmp.h: Likewise.
885 * include/netinet/ip6.h: Likewise.
886 * include/re_comp.h: Likewise.
887 * include/regexp.h: Likewise.
888 * include/rpcsvc/bootparam.h: Likewise.
889 * include/rpcsvc/yp_prot.h: Likewise.
890 * include/sys/random.h: Likewise.
891 * include/sys/stropts.h: Likewise.
892 * include/sys/ttychars.h: Likewise.
893 * include/sys/vfs.h: Likewise.
894 * include/wait.h: Likewise.
896 2019-02-15 Florian Weimer <fweimer@redhat.com>
898 * nptl_db/proc_service.h: Move to ...
899 * sysdeps/nptl/proc_service.h: ... here.
900 * nptl_db/thread_db.h: Move to ...
901 * sysdeps/nptl/thread_db.h: ... here.
902 * nptl/descr.h: Include <thread_db.h>.
904 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
906 * io/Makefile (tests): Add tst-lockf.
907 * io/lockf.c (lockf): Use __fcntl and only define for
908 !__OFF_T_MATCHES_OFF64_T.
909 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
910 __OFF_T_MATCHES_OFF64_T case.
911 * io/tst-lockf.c: New file.
912 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
913 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
914 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
915 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
916 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
918 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
919 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
920 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
922 2019-02-15 Florian Weimer <fweimer@redhat.com>
925 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
926 pd->result after the thread descriptor has been freed.
928 2019-02-15 Joseph Myers <joseph@codesourcery.com>
930 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
931 from function return type.
933 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
935 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
937 * scripts/test_printers_common.py: Set TERM to a known harmless
940 2019-02-14 Joseph Myers <joseph@codesourcery.com>
942 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
943 (xdr_u_int): Likewise.
944 (xdr_enum): Likewise.
945 (xdr_bytes): Reword fall-through comment.
946 (xdr_string): Likewise.
948 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
951 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
952 (tests): Add tst-join8 tst-join9.
953 * nptl/lll_timedwait_tid.c: Remove file.
954 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
955 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
956 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
957 * nptl/pthread_join_common.c (timedwait_tid): New function.
958 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
960 * nptl/tst-join5.c (thread_join): New function.
961 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
963 * nptl/tst-join8.c: New file.
964 * nptl/tst-join9.c: Likewise.
965 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
966 lll_futex_timed_wait_cancel): Add generic macros.
967 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
969 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
970 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
971 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
972 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
974 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
976 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
977 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
978 (lll_futex_timed_wait_cancel): New macro.
980 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
982 * benchtests/Makefile: Add malloc-simple benchmark.
983 * benchtests/bench-malloc-simple.c: New benchmark.
985 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
987 * benchtests/bench-memmove.c (do_one_test): Remove unused
990 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
994 2019-01-13 Jim Wilson <jimw@sifive.com>
997 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
998 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
1000 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
1002 * nptl/Makefile (tests): Add tst-unwind-thread.
1003 (CFLAGS-tst-unwind-thread.c): Define.
1004 * nptl/tst-unwind-thread.c: New file.
1005 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
1008 2019-02-13 Joseph Myers <joseph@codesourcery.com>
1010 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
1012 * nis/nis_call.c (__do_niscall3): Likewise.
1014 * catgets/gencat.c (normalize_line): Use braces around empty
1016 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1017 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
1018 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
1019 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
1020 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
1021 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
1022 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
1025 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
1028 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
1030 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
1031 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
1032 * benchtests/bench-strchr.c (stupid_strchr): Remove.
1033 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
1034 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
1035 * benchtests/bench-strlen.c (builtin_strlen): Remove.
1036 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
1037 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
1038 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
1039 * benchtests/bench-strspn.c (stupid_strspn): Remove.
1040 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
1041 * benchtests/bench-bcopy.c: Delete file.
1042 * benchtests/bench-bzero.c: Likewise.
1043 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
1044 (simple_memccpy): Remove.
1045 (generic_memccpy): Add function.
1046 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
1047 * benchtests/bench-memmove.c (simple_bcopy): Remove.
1048 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
1049 (generic_mempcpy): Add new function.
1050 * benchtests/bench-memset.c (simple_bzero): Remove.
1051 (builtin_bzero): Remove.
1052 (builtin_memset): Remove.
1053 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
1054 (generic_rawmemchr): Add new function.
1056 2019-02-12 Florian Weimer <fweimer@redhat.com>
1058 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
1060 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1063 * elf/Makefile (tests): Add tst-audit13.
1064 (modules-names): Add tst-audit13mod1.
1065 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1067 * elf/tst-audit13.c: New file.
1068 * elf/tst-audit13mod1.c: Likewise.
1070 2019-02-12 Florian Weimer <fweimer@redhat.com>
1073 * elf/rtld.c (unload_audit_module): New function.
1074 (report_audit_module_load_error): Likewise.
1075 (load_audit_module): Likewise. Extracted from dl_main. Call
1076 _dl_close if the laversion symbol cannot be found. Use early
1077 returns for error handling. Add malloc error check. Check for a
1078 zero return value from la_version. Remove spurious comment about
1079 static TLS initialization. Remove useless casts.
1080 (notify_audit_modules_of_loaded_object): New function. Extracted
1082 (load_audit_module): Likewise.
1083 (dl_main): Call load_audit_modules.
1085 2019-02-12 Joseph Myers <joseph@codesourcery.com>
1087 * elf/dl-exception.c (_dl_exception_create_format): Add
1088 fall-through comments.
1089 * elf/ldconfig.c (parse_conf_include): Likewise.
1090 * elf/rtld.c (print_statistics): Likewise.
1091 * locale/programs/charmap.c (parse_charmap): Likewise.
1092 * misc/mntent_r.c (__getmntent_r): Likewise.
1093 * posix/wordexp.c (parse_arith): Likewise.
1094 (parse_backtick): Likewise.
1095 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
1096 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
1097 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1099 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
1101 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
1102 Use float instead of double.
1104 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1106 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
1108 2019-02-08 Joseph Myers <joseph@codesourcery.com>
1110 * sysdeps/powerpc/bits/mathinline.h: Remove.
1112 2019-02-08 Florian Weimer <fweimer@redhat.com>
1114 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
1115 * math/bits/math-finite.h: Move to ...
1116 * bits/math-finite.h: ... here.
1118 2019-02-08 Florian Weimer <fweimer@redhat.com>
1120 * sysdeps/generic/bits/unistd_ext.h: Move to ...
1121 * bits/unistd_ext.h: here.
1123 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
1126 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
1127 * nss/tst-nss-files-hosts-long.c: New file.
1128 * nss/tst-nss-files-hosts-long.root: New directory.
1129 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
1130 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
1132 2019-02-08 Florian Weimer <fweimer@redhat.com>
1134 * include/bits/unistd_ext.h: Remove file.
1135 * posix/bits/unistd_ext.h: Move to ...
1136 * sysdeps/generic/bits/unistd_ext.h: ... here.
1138 2019-02-08 Florian Weimer <fweimer@redhat.com>
1140 * include/bits/unistd_ext.h: New file.
1142 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
1144 * time/tst-strftime2.c: Use array_length macros instead of magic
1147 2019-02-08 Florian Weimer <fweimer@redhat.com>
1150 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
1152 * nptl/register-atfork.c (__run_fork_handlers): Only perform
1153 locking if the new do_locking argument is true.
1154 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
1155 __run_fork_handlers.
1157 2019-02-08 Florian Weimer <fweimer@redhat.com>
1160 Linux: Add gettid system call wrapper.
1161 * posix/Makefile (headers): Add bits/unistd_ext.h.
1162 * posix/bits/unistd_ext.h: New file.
1163 * posix/unistd.h: Include it.
1164 * manual/process.texi (Process Identification): Document gettid.
1165 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
1166 tst-gettid, tst-gettid-kill.
1167 (tst-gettid): Link with $(shared-thread-library).
1168 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
1169 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
1170 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
1171 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
1172 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
1173 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1175 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1177 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1178 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1180 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1182 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1184 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1186 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1188 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1190 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1192 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1193 (GLIBC_2.30): Likewise.
1194 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1195 (GLIBC_2.30): Likewise.
1196 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1197 (GLIBC_2.30): Likewise.
1198 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1199 (GLIBC_2.30): Likewise.
1200 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1203 (GLIBC_2.30): Likewise.
1204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1205 (GLIBC_2.30): Likewise.
1206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1207 (GLIBC_2.30): Likewise.
1208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1209 (GLIBC_2.30): Likewise.
1210 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1212 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1214 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1216 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1217 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1219 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1221 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1223 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1225 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
1227 2019-02-07 Florian Weimer <fweimer@redhat.com>
1229 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
1230 compatibility symbols.
1232 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
1235 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1236 Add compiler barriers and comments.
1238 2019-02-07 Florian Weimer <fweimer@redhat.com>
1240 * include/array_length.h (array_length): Do not use a statement
1241 expression and _Static_assert, so that array_length can be used at
1242 file scope and as a constant expression.
1244 2019-02-07 Florian Weimer <fweimer@redhat.com>
1246 * support/xdlfcn.h (xdlmopen): Declare.
1247 * support/xdlmopen.c: New file.
1248 * support/Makefile (libsupport-routines): Add xdlmopen.
1250 2019-02-06 Joseph Myers <joseph@codesourcery.com>
1252 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
1253 before return type, without separate inline.
1254 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
1255 * elf/dl-tunables.h (tunable_is_name): Likewise.
1256 * malloc/malloc.c (do_set_trim_threshold): Likewise.
1257 (do_set_top_pad): Likewise.
1258 (do_set_mmap_threshold): Likewise.
1259 (do_set_mmaps_max): Likewise.
1260 (do_set_mallopt_check): Likewise.
1261 (do_set_perturb_byte): Likewise.
1262 (do_set_arena_test): Likewise.
1263 (do_set_arena_max): Likewise.
1264 (do_set_tcache_max): Likewise.
1265 (do_set_tcache_count): Likewise.
1266 (do_set_tcache_unsorted_limit): Likewise.
1267 * nis/nis_subr.c (count_dots): Likewise.
1268 * nptl/allocatestack.c (advise_stack_range): Likewise.
1269 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
1271 (reduce_sincos): Likewise.
1272 (do_sincos): Likewise.
1273 * sysdeps/unix/sysv/linux/x86/elision-conf.c
1274 (do_set_elision_enable): Likewise.
1275 (TUNABLE_CALLBACK_FNDECL): Likewise.
1277 2019-02-06 Florian Weimer <fweimer@redhat.com>
1279 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
1280 (xdlsym): Use dlerror to detect a NULL symbol.
1282 2019-02-06 Florian Weimer <fweimer@redhat.com>
1284 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
1286 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1288 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1290 * libio/tst-bz24153.c (wide): Use wide char format specifier.
1292 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1294 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
1295 __wmemcmp and weak alias to wmemcmp.
1297 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1300 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
1301 TLS_TCB_AT_TP tls variant.
1302 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
1303 Add alignment checks.
1304 * support/Makefile (libsupport-routines): Add xposix_memalign and
1306 * support/support.h: Add xposix_memalign.
1307 * support/xthread.h: Add xpthread_attr_setstack.
1308 * support/xposix_memalign.c: New File.
1309 * support/xpthread_attr_setstack.c: Likewise.
1311 2019-02-05 Florian Weimer <fweimer@redhat.com>
1314 arm: Use "nr" constraint for Systemtap probes, to avoid the
1315 compiler using memory operands for constants, due to the "o"
1316 alternative in the default "nor" constraint.
1317 * include/stap-probe.h [USE_STAP_PROBE]: Include
1318 <stap-probe-machine.h>
1319 * sysdeps/generic/stap-probe-machine.h: New file.
1320 * sysdeps/arm/stap-probe-machine.h: Likewise.
1322 2019-02-04 Joseph Myers <joseph@codesourcery.com>
1324 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
1325 with 0, not tcache->entries[tc_idx].
1327 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
1330 2019-02-04 Andreas Schwab <schwab@suse.de>
1334 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
1335 looking up collating elements match against (wide) character
1336 sequence instead of name. Correct alignment adjustment.
1337 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
1338 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
1339 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
1340 (LOCALES): Add cs_CZ.ISO-8859-2.
1341 * posix/tst-fnmatch4.c: New file.
1342 * posix/tst-fnmatch5.c: New file.
1343 * include/wchar.h (__wmemcmp): Declare.
1344 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
1345 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
1346 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1347 * sysdeps/s390/wmemcmp.c: Likewise.
1349 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
1353 * NEWS: Updated for CVE-2019-7309.
1354 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
1355 upper 32 bits of RDX register for x32. Use unsigned Jcc
1356 instructions, instead of signed.
1357 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
1358 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
1360 2019-02-04 Florian Weimer <fweimer@redhat.com>
1362 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
1363 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
1364 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
1366 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
1367 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
1368 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
1369 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
1371 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
1373 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
1375 (posix_spawn_file_actions_addopen): Likewise.
1376 (posix_spawn_file_actions_addclose): Likewise.
1377 (posix_spawn_file_actions_adddup2): Likewise.
1378 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
1380 (posix_spawn_file_actions_addfchdir_np): Likewise.
1382 2019-02-04 David Newall <glibc@davidnewall.com>
1384 elf: Implement --preload option for the dynamic linker.
1385 * elf/rtld.c (preloadarg): New variable.
1386 (handle_preload_list): Pass through “where” argument to
1388 (dl_main): Handle "--preload" and add second call to
1389 handle_preload_list.
1390 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
1391 (tst-rtld-preload-OBJS): Set variable.
1392 (tst-rtld-preload.out): New target.
1393 * elf/tst-rtld-preload.sh: New file.
1395 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
1397 * Makefile (testrun.sh): Exit in case of incorrect argument.
1399 2019-02-04 Florian Weimer <fweimer@redhat.com>
1401 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
1404 2019-02-03 Florian Weimer <fweimer@redhat.com>
1406 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
1407 implicit overflow checks.
1409 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
1411 * stdlib/isomac.c: Include <unistd.h>.
1413 2019-02-03 Florian Weimer <fweimer@redhat.com>
1415 * include/time.h (__tzfile_default): Use int, not long int, for
1417 * time/tzfile.c (struct ttinfo): Change type of the offset member
1419 (__tzfile_read): Remove useless cast.
1420 (__tzfile_default): Adjust prototype.
1421 * time/tzset.c (tz_rule): Change type of the offset member to int.
1422 (parse_offset): Change the type of the sign variable to int.
1424 2019-02-03 Florian Weimer <fweimer@redhat.com>
1427 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
1428 * libio/getchar.c (getchar): Likewise.
1429 * libio/getchar_u.c (getchar_unlocked): Likewise.
1430 * libio/getwchar.c (getwchar): Likewise.
1431 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1432 * libio/iogets.c (_IO_gets): Likewise.
1433 * libio/vscanf.c (_IO_vscanf): Likewise.
1434 * libio/vwscanf.c (__vwscanf): Likewise.
1435 * libio/tst-bz24153.c: New file.
1436 * libio/Makefile (tests): Add it.
1438 2019-02-02 Florian Weimer <fweimer@redhat.com>
1441 * manual/resource.texi (Basic Scheduling Functions): Add
1442 portability note. Change process to task throughout the section.
1443 Remove incorrect comment about sched_yield as it affects
1444 tasks/threads, not entire processes.
1445 * sysdeps/unix/sysv/linux/bits/posix_opt.h
1446 (_POSIX_PRIORITY_SCHEDULING): Update comment.
1448 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1450 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
1451 * configure: Regenerated.
1452 * manual/install.texi (Tools for Compilation): Update minimum GCC
1454 * INSTALL: Regenerated.
1456 2019-02-01 Florian Weimer <fweimer@redhat.com>
1458 * support/support_test_compare_string.c
1459 (support_test_compare_string): Use "string" in error message.
1460 * support/tst-test_compare_string.c (do_test): Adjust.
1462 2019-02-01 Florian Weimer <fweimer@redhat.com>
1464 * support/support_format_address_family.c
1465 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
1467 2019-02-01 Florian Weimer <fweimer@redhat.com>
1469 * manual/socket.texi (Internet Address Formats): Clarify the byte
1470 order of struct sockaddr_in, struct sockaddr_in6. Document
1471 sin6_flowinfo and sin6_scope_id.
1473 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
1475 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
1476 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
1477 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
1478 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
1479 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
1480 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
1482 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1484 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
1485 [!MEMCHR](MEMCHR): Set to __memchr.
1486 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1487 Add memchr_generic and memchr_nosimd.
1488 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1489 (__libc_ifunc_impl_list): Add memchr ifuncs.
1490 * sysdeps/aarch64/multiarch/memchr.c: New file.
1491 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
1492 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
1494 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1496 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1498 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1499 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
1500 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
1501 Add IS_EMAG check for ifunc dispatch.
1502 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
1503 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
1505 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1507 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
1508 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1510 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
1513 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
1515 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
1517 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
1519 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
1520 syscall-template file.
1522 2019-01-31 Carlos O'Donell <carlos@redhat.com>
1523 Torvald Riegel <triegel@redhat.com>
1524 Rik Prohaska <prohaska7@gmail.com>
1527 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
1528 tst-rwlock-trywrlock-stall.
1529 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1530 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
1531 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
1532 Set __wrphase_fute to 1 only if we started the write phase.
1533 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
1534 * nptl/tst-rwlock-trywrlock-stall.c: New file.
1535 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
1536 * support/xpthread_rwlock_destroy.c: New file.
1537 * support/xthread.h: Declare xpthread_rwlock_destroy.
1539 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1541 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1544 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1547 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
1548 * libio/fileops.c (_IO_new_file_underflow): Likewise
1549 * libio/wfileops.c (_IO_wfile_underflow): Likewise
1550 * libio/putchar.c (putchar): Likewise.
1551 * libio/putchar_u.c (putchar_unlocked): Likewise.
1552 * libio/putwchar.c (putchar): Likewise.
1553 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1554 * libio/tst-bz24051.c: New test.
1555 * libio/Makefile (tests): Add tst-bz24051
1557 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
1559 regex: fix read overrun [BZ #24114]
1560 Problem found by AddressSanitizer, reported by Hongxu Chen in:
1561 https://debbugs.gnu.org/34140
1562 * posix/regexec.c (proceed_next_node):
1563 Do not read past end of input buffer.
1565 2019-01-31 Florian Weimer <fweimer@redhat.com>
1568 * nss/nss_files/files-alias.c (get_next_alias): Handle
1569 continuation line without newline at the end.
1570 * nss/tst-nss-files-alias-truncated.c: New file.
1571 * nss/Makefile [$(build-shared)] (tests): Add
1572 tst-nss-files-alias-truncated.
1573 (tst-nss-files-alias-truncated): Link with libnss_files.so.
1574 * support/namespace.h (struct support_chroot_configuration): Add
1576 (struct support_chroot): Add path_aliases member.
1577 * support/support_chroot.c (support_chroot_create): Handle
1579 (support_chroot_free): Free path_aliases.
1581 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1583 * version.h (RELEASE): Set to "development".
1584 (VERSION): Set to "2.29.9000".
1585 * NEWS: Add section for 2.30.
1587 * version.h (RELEASE): Set to "stable".
1588 (VERSION): Set to "2.29".
1589 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
1591 * NEWS: Add the list of bugs fixed in 2.29.
1592 * manual/contrib.texi: Update contributors list with some more
1594 * manual/install.texi: Update latest versions of packages
1596 * INSTALL: Regenerated.
1598 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
1600 * po/be.po: Update translations.
1601 * po/bg.po: Likewise.
1602 * po/ca.po: Likewise.
1603 * po/cs.po: Likewise.
1604 * po/da.po: Likewise.
1605 * po/de.po: Likewise.
1606 * po/el.po: Likewise.
1607 * po/eo.po: Likewise.
1608 * po/es.po: Likewise.
1609 * po/fi.po: Likewise.
1610 * po/fr.po: Likewise.
1611 * po/gl.po: Likewise.
1612 * po/hr.po: Likewise.
1613 * po/hu.po: Likewise.
1614 * po/ia.po: Likewise.
1615 * po/id.po: Likewise.
1616 * po/it.po: Likewise.
1617 * po/ja.po: Likewise.
1618 * po/ko.po: Likewise.
1619 * po/lt.po: Likewise.
1620 * po/nb.po: Likewise.
1621 * po/nl.po: Likewise.
1622 * po/pl.po: Likewise.
1623 * po/pt_BR.po: Likewise.
1624 * po/ru.po: Likewise.
1625 * po/rw.po: Likewise.
1626 * po/sk.po: Likewise.
1627 * po/sl.po: Likewise.
1628 * po/sv.po: Likewise.
1629 * po/tr.po: Likewise.
1630 * po/uk.po: Likewise.
1631 * po/vi.po: Likewise.
1632 * po/zh_CN.po: Likewise.
1633 * po/zh_TW.po: Likewise.
1635 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
1638 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
1639 of $f3 register on $y_is_neg path.
1641 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
1644 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
1645 sigaltstack.ss_flags.
1647 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
1650 * manual/time.texi (strftime): Document "%Ey".
1651 * time/strftime_l.c (__strftime_internal): Set the default width
1652 padding with zero of "%Ey" to 2.
1655 * manual/time.texi (strftime): Document "%EC" and "%EY".
1656 * time/Makefile (tests): Add tst-strftime2.
1657 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
1658 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
1659 override padding for "%Ey".
1660 If an optional flag ('_' or '-') is specified to "%EY", interpret the
1661 "%Ey" in the subformat as if decorated with that flag.
1662 * time/tst-strftime2.c: New file.
1664 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1666 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
1670 * elf/Makefile (tests): Add tst-audit13.
1671 (modules-names): Add tst-audit13mod1.
1672 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1674 * elf/rtld.c (dl_main): Handle invalid audit module version.
1675 * elf/tst-audit13.c: New file.
1676 * elf/tst-audit13mod1.c: Likewise.
1678 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1680 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
1681 returned by __hurd_at_flags.
1682 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
1683 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
1684 directly instead of __hurd_file_name_lookup.
1686 2019-01-21 Joseph Myers <joseph@codesourcery.com>
1688 * scripts/build-many-glibcs.py (Context.checkout): Default
1689 binutils version to 2.32 branch.
1691 2019-01-21 Florian Weimer <fweimer@redhat.com>
1695 resolv: Reject trailing characters in host names
1696 * include/arpa/inet.h (__inet_aton_exact): Declare.
1697 (inet_aton): Remove hidden prototype. No longer used internally.
1698 * nscd/gai.c (__inet_aton): Do not define.
1699 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
1700 * nss/digits_dots.c (__inet_aton): Likewise.
1701 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
1702 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
1703 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
1704 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
1705 (tst-resolv-trailing): Likewise.
1706 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
1708 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
1709 Make static. Add endp parameter.
1710 (__inet_aton_exact): New function.
1711 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
1712 (__inet_addr): Call inet_aton_end.
1713 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
1714 not just IPv6. Call __inet_aton_exact.
1715 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
1716 (tests): Make const. Add additional test cases with trailing
1718 (do_test): Use array_length.
1719 * resolv/tst-inet_aton_exact.c: New file.
1720 * resolv/tst-resolv-trailing.c: Likewise.
1721 * resolv/tst-resolv-nondecimal.c: Likewise.
1722 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
1724 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1728 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
1729 Clear the upper 32 bits of RSI register.
1730 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
1731 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
1732 and tst-size_t-wcsnlen.
1733 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
1734 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
1736 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1740 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
1741 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1742 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1743 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
1744 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
1746 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1750 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
1751 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1752 * sysdeps/x86_64/strcmp.S: Likewise.
1753 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
1754 tst-size_t-strncmp and tst-size_t-wcsncmp.
1755 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
1756 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
1757 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
1759 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1763 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
1764 RDX_LP for length. Clear the upper 32 bits of RDX register.
1765 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
1766 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
1767 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
1768 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
1770 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1774 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
1775 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
1776 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
1777 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
1779 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1783 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
1784 length. Clear the upper 32 bits of RDX register.
1785 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1786 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1788 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1790 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
1792 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
1794 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1798 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
1799 length. Clear the upper 32 bits of RDX register.
1800 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1801 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1802 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
1804 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
1805 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
1807 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1811 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
1812 upper 32 bits of RDX register.
1813 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1814 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
1816 * sysdeps/x86_64/x32/test-size_t.h: New file.
1817 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
1818 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
1820 2019-01-18 Florian Weimer <fweimer@redhat.com>
1823 resolv: Do not send queries for non-host-names in nss_dns.
1824 * resolv/nss_dns/dns-host.c (check_name): New function.
1825 (_nss_dns_gethostbyname2_r): Use it.
1826 (_nss_dns_gethostbyname_r): Likewise.
1827 (_nss_dns_gethostbyname4_r): Likewise.
1829 2019-01-21 Florian Weimer <fweimer@redhat.com>
1831 * resolv/inet_addr.c: Reformat to GNU style.
1832 (__inet_addr, __inet_aton): Update comment.
1834 2019-01-18 Florian Weimer <fweimer@redhat.com>
1836 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
1837 ("malloc: Use current (C11-style) atomics for fastbin access").
1838 This commit introduces a substantial performance regression on
1840 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
1841 (REMOVE_FB): Define.
1842 (_int_malloc): Use it and reindent.
1843 (_int_free): Use CAS loop with
1844 catomic_compare_and_exchange_val_rel.
1845 (malloc_consolidate): Use atomic_exchange_acq.
1848 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
1850 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
1852 (LDFLAGS-tst-minsigstksz-2): Likewise.
1853 (LDFLAGS-tst-minsigstksz-3): Likewise.
1854 (LDFLAGS-tst-minsigstksz-3a): Likewise.
1855 (LDFLAGS-tst-minsigstksz-4): Likewise.
1857 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
1859 * manual/time.texi (strftime): Fix the wording to "alternative" rather
1862 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
1864 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
1866 2019-01-16 Zack Weinberg <zackw@panix.com>
1868 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
1869 (xget_sigstack_location): New test support functions.
1870 * support/xsigstack.c: New file, implementing them.
1871 * support/tst-xsigstack.c: New test for them.
1872 * support/Makefile: Update.
1874 * signal/tst-minsigstksz-1.c
1875 * signal/tst-minsigstksz-2.c
1876 * signal/tst-minsigstksz-3.c
1877 * signal/tst-minsigstksz-3a.c
1878 * signal/tst-minsigstksz-4.c: New tests.
1879 * signal/Makefile: Run them.
1881 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
1883 * po/libc.pot: Regenerate.
1885 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1887 * math/libm-test-fma.inc (fma_test_data): Set
1888 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
1890 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1892 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
1893 (do_test): Changed __vector __int128_t to __vector unsigned int.
1895 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1897 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1898 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
1899 stpcpy-avx2 and stpncpy-avx2.
1900 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
1901 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
1902 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
1904 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
1905 ifunc-strcpy.h}: rename header for a more generic name.
1906 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
1907 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
1908 AVX unaligned load is fast and vzeroupper is preferred.
1909 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
1910 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
1911 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
1912 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
1913 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
1914 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
1916 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
1918 * argp/argp-help.c: Fix typo in comment.
1919 * misc/sys/cdefs.h: Likewise.
1920 * posix/regexec.c (sift_states_iter_mb): Likewise.
1921 * socket/sockatmark.c: Likewise.
1922 * socket/sys/socket.h: Likewise.
1923 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1924 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1925 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1926 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1927 * sysdeps/unix/sockatmark.c: Likewise.
1928 * time/strptime_l.c: Likewise.
1930 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1932 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
1933 missing space after the cast of "_NL_CURRENT".
1935 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1937 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
1938 ifdef to fix read of VSCR.
1939 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
1940 tst-ucontext-ppc64-vscr.c to test list.
1941 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
1943 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
1945 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
1948 2019-01-09 Jim Wilson <jimw@sifive.com>
1950 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
1952 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
1954 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
1955 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
1956 __memcpy_falkor for ares.
1957 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
1959 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1962 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
1965 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1966 4_FP_W_TYPEs are used for IEEE quad precision.
1967 * soft-fp/extendhftf2.c: Likewise.
1968 * soft-fp/extendsftf2.c: Likewise.
1969 * soft-fp/extendxftf2.c: Likewise.
1970 * soft-fp/trunctfdf2.c: Likewise.
1971 * soft-fp/trunctfhf2.c: Likewise.
1972 * soft-fp/trunctfsf2.c: Likewise.
1973 * soft-fp/trunctfxf2.c: Likewise.
1974 * sysdeps/alpha/ots_cvttx.c: Likewise.
1975 * sysdeps/alpha/ots_cvtxt.c: Likewise.
1976 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
1977 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
1978 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
1979 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
1980 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
1981 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
1982 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
1983 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
1984 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
1985 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
1986 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
1987 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
1988 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
1989 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
1990 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
1991 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
1993 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1996 * Makeconfig: Build libm with -fno-math-errno but build the remaining
1997 code with -fmath-errno.
1998 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
1999 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
2000 * string/test-strerror-errno.c: New file.
2002 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2005 * localedata/locales/en_US (date_fmt): Add, set to
2006 "%a %d %b %Y %r %Z".
2008 2019-01-07 Florian Weimer <fweimer@redhat.com>
2011 * manual/arith.texi (Math Error Reporting): Use @code{errno}
2012 instead of @var{errno}.
2013 (Parsing of Integers): Likewise.
2014 (Parsing of Floats): Likewise.
2015 * manual/filesys.texi (Working with Directory Trees): Likewise.
2016 (Temporary Files): Likewise.
2017 * manual/job.texi (Terminal Access Functions): Likewise.
2018 * manual/llio.texi (Synchronizing I/O): Likewise.
2019 * manual/math.texi (SVID Random): Likewise.
2020 * manual/message.texi (The catgets Functions): Likewise.
2021 (Translation with gettext): Likewise.
2022 (Locating gettext catalog): Likewise.
2023 (Charset conversion in gettext): Likewise.
2024 * manual/nss.texi (NSS Module Function Internals): Likewise.
2025 * manual/search.texi (Hash Search Function): Likewise.
2026 * manual/setjmp.texi (System V contexts): Likewise.
2027 * manual/time.texi (Sleeping): Likewise.
2028 * manual/users.texi (Lookup User): Likewise.
2029 (Lookup Group): Likewise.
2031 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2033 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
2036 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
2039 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
2040 __builtin_unreachable for default case in switch.
2041 (__ieee754_yn): Likewise.
2042 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2043 (__ieee754_ynl): Likewise.
2044 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2045 (__ieee754_ynl): Likewise.
2046 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2047 (__ieee754_ynl): Likewise.
2049 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2051 * manual/maint.texi: Use @{ and @}.
2053 2019-01-04 Florian Weimer <fweimer@redhat.com>
2055 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
2057 (do_in_chroot_1): Call it.
2059 Improve error reporting in case it is not possible to create a
2060 collision for the PTY name required by the test.
2062 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2064 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
2065 lll_wait_tid with timeout.
2066 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
2067 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
2068 futex_reltimed_wait_cancelable for cancelabla mode.
2069 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
2070 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
2072 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
2073 * sysdeps/posix/waitid.c (__sigwait): Likewise.
2074 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
2075 SYSCALL_CANCEL_NCS): New macro.
2076 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
2077 (lll_timedwait_tid): Remove macro.
2078 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
2080 (lll_timedwait_tid): Likewise.
2081 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
2083 (lll_timedwait_tid): Likewise.
2084 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
2086 (lll_timedwait_tid): Likewise.
2087 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
2088 Use INTERNAL_SYSCALL_CANCEL.
2089 * sysdeps/unix/sysv/linux/futex-internal.h
2090 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
2091 instead of __pthread_{enable,disable}_asynccancel.
2092 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2093 (lll_futex_wait_cancel): New macro.
2095 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2096 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2098 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2099 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2101 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
2102 in backtrace analysis.
2103 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
2105 (tf_send): Likewise.
2107 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
2108 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
2109 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
2110 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
2111 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2112 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2113 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
2114 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
2115 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
2116 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
2117 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
2118 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
2120 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
2121 tst-cancel-wrappers.sh.
2122 (generated): Remove tst-cancel-wrappers.out.
2123 (tst-cancel-wrappers.out): Remove rule.
2124 * nptl/tst-cancel-wrappers.sh: Remove file.
2126 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
2128 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
2129 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2132 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2135 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
2136 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
2137 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
2138 close-on-exec reset for adddup2 file action.
2139 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2141 2019-01-03 Zack Weinberg <zackw@panix.com>
2143 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
2144 parameter. Only use deprecated scanf when __USE_GNU is defined
2145 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
2146 than 201103L, whichever is relevant for the language being compiled.
2148 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
2149 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
2150 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
2151 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
2152 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
2156 * libio/iovswscanf.c
2161 * stdio-common/fscanf.c
2162 * stdio-common/scanf.c
2163 * stdio-common/vfscanf.c
2164 * stdio-common/vfwscanf.c
2165 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2166 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
2167 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
2168 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
2169 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
2170 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
2171 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
2172 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
2173 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
2174 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
2175 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
2176 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
2177 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
2178 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
2179 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
2181 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
2182 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
2183 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
2185 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
2186 with a preprocessor macro.
2188 * stdio-common/bug21.c, stdio-common/scanf14.c:
2189 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
2190 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2191 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
2192 to xscanf, xfscanf, xsscanf.
2194 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
2195 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2196 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
2197 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
2199 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
2200 override feature selection macros or provide definitions of u_char etc.
2201 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
2202 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
2203 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
2206 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2208 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2209 bits/termios-misc.h.
2210 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
2211 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2212 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2213 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2214 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
2215 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
2217 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
2218 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2219 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
2220 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
2221 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
2222 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
2224 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
2225 (sysdep_headers): Add termios-misc.h.
2227 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
2228 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2229 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2231 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2233 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
2234 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
2235 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
2236 TCSAFLUSH): Move to termios-tcflow.h.
2237 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2238 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2239 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2240 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2242 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2244 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
2245 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
2246 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
2247 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
2248 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
2249 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
2250 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
2251 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
2253 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2254 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2255 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2256 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2260 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
2261 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
2262 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
2263 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
2264 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
2266 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2267 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2268 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2269 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2272 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2274 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
2275 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
2276 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
2277 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
2278 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
2279 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
2280 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
2281 __MAX_BAUD): Move to termios-baud.h.
2282 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
2283 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
2284 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2285 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2286 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2288 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2290 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
2291 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
2292 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
2293 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
2294 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
2295 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
2297 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
2298 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
2300 [USE_MISC] (XTABS): Likewise.
2301 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2302 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2303 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2304 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
2306 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2308 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
2309 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
2310 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
2311 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
2312 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
2313 IUTF8): Move to termios-c_iflag.h.
2314 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2315 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2316 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2317 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2319 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2321 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
2322 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
2323 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
2324 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
2325 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
2326 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
2327 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
2328 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
2329 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2330 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2331 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2332 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2334 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
2335 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
2336 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
2337 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
2338 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2340 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
2342 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
2344 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
2346 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
2348 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
2350 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
2351 _HAVE_C_OSPEED): Define.
2352 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
2353 _HAVE_C_OSPEED): Likewise.
2354 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
2355 _HAVE_C_OSPEED): Likewise.
2356 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
2357 (cfsetospeed): Check for define value instead of existence.
2358 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
2359 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2360 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
2361 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2362 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
2365 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
2367 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2368 (TIOCSER_TEMT): Likewise.
2369 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
2370 (TEOCSER_TEMT): Likewise.
2372 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
2375 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
2377 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2379 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2381 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2383 * sysdeps/htl/pt-barrierattr-setpshared.c
2384 (pthread_barrierattr_setpshared): Add stub warning.
2385 * sysdeps/htl/pt-condattr-setpshared.c
2386 (pthread_condattr_setpshared): Likewise.
2387 * sysdeps/htl/pt-mutexattr-setpshared.c
2388 (pthread_mutexattr_setpshared): Likewise.
2389 * sysdeps/htl/pt-rwlockattr-setpshared.c
2390 (pthread_rwlockattr_setpshared): Likewise.
2391 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
2392 (pthread_mutexattr_setpshared): Likewise.
2394 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2396 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
2397 constants to match with Linux 4.20.
2399 * sysdeps/mips/mips32/libm-test-ulps: Update.
2400 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2402 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
2405 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
2406 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
2407 than __typeof (...) for the a_ptr variable.
2409 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2411 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
2412 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
2413 * libio/Makefile (tests): Add tst-sprintf-ub and
2415 (CFLAGS-tst-sprintf-ub.c): New variable.
2416 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
2417 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
2418 destination buffer and check for overflows in fortified mode.
2419 * libio/libioP.h (PRINTF_CHK): New macro.
2420 * libio/tst-sprintf-chk-ub.c: New file.
2421 * libio/tst-sprintf-ub.c: Likewise.
2423 2019-01-02 Florian Weimer <fweimer@redhat.com>
2426 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
2429 2019-01-02 Florian Weimer <fweimer@redhat.com>
2431 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
2433 2019-01-01 Joseph Myers <joseph@codesourcery.com>
2435 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
2438 * sysdeps/unix/sysv/linux/netpacket/packet.h
2439 (PACKET_IGNORE_OUTGOING): New macro.
2441 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
2444 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2446 (riscv_flush_icache): New syscall.
2448 * manual/texinfo.tex: Update to version 2018-12-28.17 with
2449 trailing whitespace removed.
2450 * scripts/config.guess: Update to version 2019-01-01.
2451 * scripts/config.sub: Update to version 2019-01-01.
2452 * scripts/move-if-change: Update from gnulib.
2454 * NEWS: Update copyright dates.
2455 * catgets/gencat.c (print_version): Likewise.
2456 * csu/version.c (banner): Likewise.
2457 * debug/catchsegv.sh: Likewise.
2458 * debug/pcprofiledump.c (print_version): Likewise.
2459 * debug/xtrace.sh (do_version): Likewise.
2460 * elf/ldconfig.c (print_version): Likewise.
2461 * elf/ldd.bash.in: Likewise.
2462 * elf/pldd.c (print_version): Likewise.
2463 * elf/sotruss.sh: Likewise.
2464 * elf/sprof.c (print_version): Likewise.
2465 * iconv/iconv_prog.c (print_version): Likewise.
2466 * iconv/iconvconfig.c (print_version): Likewise.
2467 * locale/programs/locale.c (print_version): Likewise.
2468 * locale/programs/localedef.c (print_version): Likewise.
2469 * login/programs/pt_chown.c (print_version): Likewise.
2470 * malloc/memusage.sh (do_version): Likewise.
2471 * malloc/memusagestat.c (print_version): Likewise.
2472 * malloc/mtrace.pl: Likewise.
2473 * manual/libc.texinfo: Likewise.
2474 * nptl/version.c (banner): Likewise.
2475 * nscd/nscd.c (print_version): Likewise.
2476 * nss/getent.c (print_version): Likewise.
2477 * nss/makedb.c (print_version): Likewise.
2478 * posix/getconf.c (main): Likewise.
2479 * scripts/test-installation.pl: Likewise.
2480 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2482 * All files with FSF copyright notices: Update copyright dates
2483 using scripts/update-copyrights.
2484 * locale/programs/charmap-kw.h: Regenerated.
2485 * locale/programs/locfile-kw.h: Likewise.
2487 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2489 * timezone/zdump.c: Update from tzcode 2018i.
2490 * timezone/zic.c: Likewise.
2492 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
2494 regex: improve Gnulib port to AIX
2495 From the glibc point of view, this removes duplicate macro
2496 definitions and is obviously safe.
2497 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
2498 * posix/regex_internal.h:
2499 (__attribute__, __attribute_warn_unused_result__):
2500 Remove; already defined elsewhere.
2502 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
2505 * malloc/malloc.c (_int_realloc): Always call memcpy for the
2506 copying operation. (ncopies had the wrong type, resulting in an
2507 integer wraparound and too few elements being copied.)
2509 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
2512 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
2513 <asm/syscalls.h> exists with __has_include__ before including it.
2515 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2517 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2520 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
2522 * hurd/lookup-retry: Include <unistd.h>.
2523 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
2524 Release it on return. Handle "pid" magical lookup retry.
2526 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2529 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
2530 (t_fmt_ampm): Likewise.
2531 * localedata/locales/aa_ER (t_fmt): Likewise.
2532 (t_fmt_ampm): Likewise.
2533 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
2534 (t_fmt_ampm): Likewise.
2535 * localedata/locales/aa_ET (t_fmt): Likewise.
2536 (t_fmt_ampm): Likewise.
2537 * localedata/locales/am_ET (t_fmt): Likewise.
2538 (t_fmt_ampm): Likewise.
2539 * localedata/locales/byn_ER (t_fmt): Likewise.
2540 (t_fmt_ampm): Likewise.
2541 * localedata/locales/om_ET (t_fmt): Likewise.
2542 (t_fmt_ampm): Likewise.
2543 * localedata/locales/sid_ET (t_fmt): Likewise.
2544 (t_fmt_ampm): Likewise.
2545 * localedata/locales/so_DJ (t_fmt): Likewise.
2546 (t_fmt_ampm): Likewise.
2547 * localedata/locales/so_ET (t_fmt): Likewise.
2548 (t_fmt_ampm): Likewise.
2549 * localedata/locales/so_SO (t_fmt): Likewise.
2550 (t_fmt_ampm): Likewise.
2551 * localedata/locales/ti_ER (t_fmt): Likewise.
2552 (t_fmt_ampm): Likewise.
2553 * localedata/locales/ti_ET (t_fmt): Likewise.
2554 (t_fmt_ampm): Likewise.
2555 * localedata/locales/tig_ER (t_fmt): Likewise.
2556 (t_fmt_ampm): Likewise.
2557 * localedata/locales/wal_ET (t_fmt): Likewise.
2558 (t_fmt_ampm): Likewise.
2560 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
2561 * localedata/locales/ar_IN (t_fmt): Likewise.
2562 * localedata/locales/bhb_IN (t_fmt): Likewise.
2563 * localedata/locales/bho_IN (t_fmt): Likewise.
2564 * localedata/locales/bi_VU (t_fmt): Likewise.
2565 * localedata/locales/bn_BD (t_fmt): Likewise.
2566 * localedata/locales/bn_IN (t_fmt): Likewise.
2567 * localedata/locales/brx_IN (t_fmt): Likewise.
2568 * localedata/locales/doi_IN (t_fmt): Likewise.
2569 * localedata/locales/en_HK (t_fmt): Likewise.
2570 (t_fmt_ampm): Likewise.
2571 * localedata/locales/en_IN (t_fmt): Likewise.
2572 * localedata/locales/en_PH (t_fmt): Likewise.
2573 * localedata/locales/gu_IN (t_fmt): Likewise.
2574 * localedata/locales/hi_IN (t_fmt): Likewise.
2575 * localedata/locales/hif_FJ (t_fmt): Likewise.
2576 * localedata/locales/hne_IN (t_fmt): Likewise.
2577 * localedata/locales/kn_IN (t_fmt): Likewise.
2578 * localedata/locales/kok_IN (t_fmt): Likewise.
2579 * localedata/locales/ks_IN (t_fmt): Likewise.
2580 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
2581 * localedata/locales/mag_IN (t_fmt): Likewise.
2582 * localedata/locales/mai_IN (t_fmt): Likewise.
2583 * localedata/locales/mjw_IN (t_fmt): Likewise.
2584 * localedata/locales/ml_IN (t_fmt): Likewise.
2585 * localedata/locales/mni_IN (t_fmt): Likewise.
2586 * localedata/locales/mr_IN (t_fmt): Likewise.
2587 * localedata/locales/ms_MY (t_fmt): Likewise.
2588 * localedata/locales/pa_IN (t_fmt): Likewise.
2589 * localedata/locales/raj_IN (t_fmt): Likewise.
2590 * localedata/locales/sa_IN (t_fmt): Likewise.
2591 * localedata/locales/sat_IN (t_fmt): Likewise.
2592 * localedata/locales/sd_IN (t_fmt): Likewise.
2593 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
2594 * localedata/locales/tcy_IN (t_fmt): Likewise.
2595 * localedata/locales/the_NP (t_fmt): Likewise.
2596 * localedata/locales/to_TO (t_fmt): Likewise.
2597 * localedata/locales/ur_IN (t_fmt): Likewise.
2599 * localedata/locales/hif_FJ (d_t_fmt): Set to
2600 "%A %d %b %Y %I:%M:%S %p".
2601 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
2603 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
2604 * localedata/locales/ar_BH (t_fmt): Likewise.
2605 * localedata/locales/ar_DZ (t_fmt): Likewise.
2606 * localedata/locales/ar_EG (t_fmt): Likewise.
2607 * localedata/locales/ar_IQ (t_fmt): Likewise.
2608 * localedata/locales/ar_JO (t_fmt): Likewise.
2609 * localedata/locales/ar_KW (t_fmt): Likewise.
2610 * localedata/locales/ar_LB (t_fmt): Likewise.
2611 * localedata/locales/ar_LY (t_fmt): Likewise.
2612 * localedata/locales/ar_OM (t_fmt): Likewise.
2613 * localedata/locales/ar_QA (t_fmt): Likewise.
2614 * localedata/locales/ar_SD (t_fmt): Likewise.
2615 * localedata/locales/ar_SS (t_fmt): Likewise.
2616 * localedata/locales/ar_SY (t_fmt): Likewise.
2617 * localedata/locales/ar_TN (t_fmt): Likewise.
2618 * localedata/locales/ar_YE (t_fmt): Likewise.
2620 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
2621 (t_fmt_ampm): Likewise.
2622 * localedata/locales/gez_ET (t_fmt): Likewise.
2623 (t_fmt_ampm): Likewise.
2625 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
2626 (t_fmt_ampm): Likewise.
2627 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
2629 * localedata/locales/zh_HK (t_fmt):
2630 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
2632 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
2633 because this locale does not use the 12-hour clock.
2634 (t_fmt): Set to "%Z %H:%M:%S".
2635 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
2637 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
2638 because this locale does not use the 12-hour clock.
2639 (t_fmt): Set to "%H:%M:%S %Z".
2640 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
2642 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
2643 because this locale does not use the 12-hour clock.
2644 (t_fmt): Set to "%T".
2645 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
2646 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
2648 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
2649 because this locale does not use the 12-hour clock.
2650 (t_fmt): Set to "%H:%M:%S %Z".
2651 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
2653 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
2654 because this locale does not use the 12-hour clock.
2655 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
2656 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
2658 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2662 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
2663 (t_fmt_ampm): Likewise.
2664 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
2665 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
2666 (d_fmt): Set to "%-d.%-m.%y".
2668 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2670 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
2671 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
2672 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
2674 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2675 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
2676 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
2678 * support/blob_repeat.c (check_mul_overflow_size_t,
2679 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
2681 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
2683 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
2685 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
2687 regex: simplify Gnulib port
2688 This simplifies the code, by removing stuff intended for porting
2689 to Gnulib but no longer needed there.
2690 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
2691 uses of libc_hidden_def, weak_alias.
2692 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
2693 _Restrict_ except for public-facing headers.
2694 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
2695 Remove; already defined elsewhere.
2696 * posix/regex.c, posix/regex_internal.h:
2697 Use __GNUC_PREREQ instead of rolling our own.
2698 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
2700 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
2702 * benchtests/bench-strlen.c (generic_strlen): New function.
2703 (memchr_strlen): New function.
2705 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2707 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
2708 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2709 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
2711 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2713 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2715 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2717 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
2718 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
2719 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
2720 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
2721 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
2722 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
2723 <sysdeps/ieee754/flt-32/s_sincosf.c>.
2725 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2728 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
2729 PLT reference in libc.so.
2730 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
2731 _Q_lltoq and _Q_qtod PLT references in libc.so.
2733 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2735 * benchtests/bench-memchr.c: Cleanup defines.
2736 * benchtests/bench-memcmp.c: Likewise.
2737 * benchtests/bench-memset.c: Likewise.
2738 * benchtests/bench-memset-large.c: Likewise.
2739 * benchtests/bench-memset-walk.c: Likewise.
2740 * benchtests/bench-stpcpy.c: Likewise.
2741 * benchtests/bench-stpncpy.c: Likewise.
2742 * benchtests/bench-strcat.c: Likewise.
2743 * benchtests/bench-strchr.c: Likewise.
2744 * benchtests/bench-strcmp.c: Likewise.
2745 * benchtests/bench-strcpy.c: Likewise.
2746 * benchtests/bench-strcspn.c: Likewise.
2747 * benchtests/bench-string.h: Likewise.
2748 * benchtests/bench-strlen.c: Likewise.
2749 * benchtests/bench-strncat.c: Likewise.
2750 * benchtests/bench-strncmp.c: Likewise.
2751 * benchtests/bench-strncpy.c: Likewise.
2752 * benchtests/bench-strnlen.c: Likewise.
2753 * benchtests/bench-strpbrk.c: Likewise.
2754 * benchtests/bench-strrchr.c: Likewise.
2755 * benchtests/bench-strspn.c: Likewise.
2757 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2759 * stdlib/longlong.h: Update from GCC.
2762 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
2763 * configure: Regenerated.
2764 * manual/install.texi (Tools for Compilation): Update minimum GCC
2766 * INSTALL: Regenerated.
2768 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
2770 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
2772 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
2774 * malloc/malloc.c (mremap_chunk): Additional checks.
2776 2018-12-21 Mao Han <han_mao@c-sky.com>
2778 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
2779 * scripts/build-many-glibcs.py: Add C-SKY targets.
2780 * sysdeps/csky/Implies: New file.
2781 * sysdeps/csky/Makefile: Likewise.
2782 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
2783 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
2784 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
2785 * sysdeps/csky/abiv2/memcmp.S: Likewise.
2786 * sysdeps/csky/abiv2/memcpy.S: Likewise.
2787 * sysdeps/csky/abiv2/memmove.S: Likewise.
2788 * sysdeps/csky/abiv2/memset.S: Likewise.
2789 * sysdeps/csky/abiv2/setjmp.S: Likewise.
2790 * sysdeps/csky/abiv2/start.S: Likewise.
2791 * sysdeps/csky/abiv2/strcmp.S: Likewise.
2792 * sysdeps/csky/abiv2/strcpy.S: Likewise.
2793 * sysdeps/csky/abiv2/strlen.S: Likewise.
2794 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
2795 * sysdeps/csky/abort-instr.h: Likewise.
2796 * sysdeps/csky/atomic-machine.h: Likewise.
2797 * sysdeps/csky/bits/endian.h: Likewise.
2798 * sysdeps/csky/bits/fenv.h: Likewise.
2799 * sysdeps/csky/bits/link.h: Likewise.
2800 * sysdeps/csky/bits/setjmp.h: Likewise.
2801 * sysdeps/csky/bsd-_setjmp.S: Likewise.
2802 * sysdeps/csky/bsd-setjmp.S: Likewise.
2803 * sysdeps/csky/configure: Likewise.
2804 * sysdeps/csky/configure.ac: Likewise.
2805 * sysdeps/csky/dl-machine.h: Likewise.
2806 * sysdeps/csky/dl-procinfo.c: Likewise.
2807 * sysdeps/csky/dl-procinfo.h: Likewise.
2808 * sysdeps/csky/dl-sysdep.h: Likewise.
2809 * sysdeps/csky/dl-tls.h: Likewise.
2810 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
2811 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
2812 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
2813 * sysdeps/csky/fpu/fegetenv.c: Likewise.
2814 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
2815 * sysdeps/csky/fpu/fegetmode.c: Likewise.
2816 * sysdeps/csky/fpu/fegetround.c: Likewise.
2817 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
2818 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
2819 * sysdeps/csky/fpu/fenv_private.h: Likewise.
2820 * sysdeps/csky/fpu/fesetenv.c: Likewise.
2821 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
2822 * sysdeps/csky/fpu/fesetmode.c: Likewise.
2823 * sysdeps/csky/fpu/fesetround.c: Likewise.
2824 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
2825 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
2826 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
2827 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
2828 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
2829 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
2830 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
2831 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
2832 * sysdeps/csky/fpu_control.h: Likewise.
2833 * sysdeps/csky/gccframe.h: Likewise.
2834 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
2835 * sysdeps/csky/ldsodefs.h: Likewise.
2836 * sysdeps/csky/libc-tls.c: Likewise.
2837 * sysdeps/csky/linkmap.h: Likewise.
2838 * sysdeps/csky/machine-gmon.h: Likewise.
2839 * sysdeps/csky/memusage.h: Likewise.
2840 * sysdeps/csky/nofpu/Implies: Likewise.
2841 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
2842 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
2843 * sysdeps/csky/nptl/Makefile: Likewise.
2844 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
2845 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
2846 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
2847 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
2848 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
2849 * sysdeps/csky/nptl/tls.h: Likewise.
2850 * sysdeps/csky/preconfigure: Likewise.
2851 * sysdeps/csky/sfp-machine.h: Likewise.
2852 * sysdeps/csky/sotruss-lib.c: Likewise.
2853 * sysdeps/csky/stackinfo.h: Likewise.
2854 * sysdeps/csky/sysdep.h: Likewise.
2855 * sysdeps/csky/tininess.h: Likewise.
2856 * sysdeps/csky/tst-audit.h: Likewise.
2857 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
2858 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
2859 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
2860 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
2861 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2862 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
2863 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2864 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
2865 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
2866 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
2867 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
2868 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
2869 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
2870 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
2871 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
2872 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
2873 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
2874 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
2875 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
2876 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
2877 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
2878 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
2879 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
2880 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2881 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
2882 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
2883 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
2884 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
2885 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
2886 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
2887 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
2888 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
2889 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
2890 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
2891 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
2892 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2893 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
2894 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
2895 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
2896 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
2897 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
2898 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
2899 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
2900 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
2902 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2904 * include/time.h (__difftime64): Add.
2905 * time/difftime.c (subtract): convert to 64-bit time.
2906 * time/difftime.c (__difftime64): Add.
2907 * time/difftime.c (__difftime): Wrap around __difftime64.
2909 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2911 * manual/examples/add.c: Remove redundant "if not".
2912 * manual/examples/argp-ex1.c: Likewise.
2913 * manual/examples/argp-ex2.c: Likewise.
2914 * manual/examples/argp-ex3.c: Likewise.
2915 * manual/examples/argp-ex4.c: Likewise.
2916 * manual/examples/atexit.c: Likewise.
2917 * manual/examples/db.c: Likewise.
2918 * manual/examples/dir.c: Likewise.
2919 * manual/examples/dir2.c: Likewise.
2920 * manual/examples/execinfo.c: Likewise.
2921 * manual/examples/filecli.c: Likewise.
2922 * manual/examples/filesrv.c: Likewise.
2923 * manual/examples/fmtmsgexpl.c: Likewise.
2924 * manual/examples/genpass.c: Likewise.
2925 * manual/examples/inetcli.c: Likewise.
2926 * manual/examples/inetsrv.c: Likewise.
2927 * manual/examples/isockad.c: Likewise.
2928 * manual/examples/longopt.c: Likewise.
2929 * manual/examples/memopen.c: Likewise.
2930 * manual/examples/memstrm.c: Likewise.
2931 * manual/examples/mkdirent.c: Likewise.
2932 * manual/examples/mkfsock.c: Likewise.
2933 * manual/examples/mkisock.c: Likewise.
2934 * manual/examples/mygetpass.c: Likewise.
2935 * manual/examples/pipe.c: Likewise.
2936 * manual/examples/popen.c: Likewise.
2937 * manual/examples/rprintf.c: Likewise.
2938 * manual/examples/search.c: Likewise.
2939 * manual/examples/select.c: Likewise.
2940 * manual/examples/setjmp.c: Likewise.
2941 * manual/examples/sigh1.c: Likewise.
2942 * manual/examples/sigusr.c: Likewise.
2943 * manual/examples/stpcpy.c: Likewise.
2944 * manual/examples/strdupa.c: Likewise.
2945 * manual/examples/strftim.c: Likewise.
2946 * manual/examples/subopt.c: Likewise.
2947 * manual/examples/swapcontext.c: Likewise.
2948 * manual/examples/termios.c: Likewise.
2949 * manual/examples/testopt.c: Likewise.
2950 * manual/examples/testpass.c: Likewise.
2951 * manual/examples/timeval_subtract.c: Likewise.
2953 2018-12-19 Joseph Myers <joseph@codesourcery.com>
2955 * sysdeps/x86/fpu/math_private.h: New file.
2956 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
2958 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
2963 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2965 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
2966 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
2967 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
2968 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
2970 (_dl_show_auxv): Give a special treatment to
2971 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
2972 and AT_L3_CACHEGEOMETRY.
2973 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
2974 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
2975 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
2976 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
2978 2018-12-19 Andreas Schwab <schwab@suse.de>
2980 * nscd/connections.c (check_use): Don't abort on invalid len.
2982 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
2984 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
2985 values in the 64bit value cases.
2987 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2993 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
2999 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
3002 (__gmtime64_r): Add.
3004 (__gmtime64_r): Add.
3005 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3011 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3014 (__localtime64_r): Add.
3016 (__localtime64_r): Add.
3017 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
3019 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3021 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
3022 kernel_sigction definition.
3024 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
3026 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
3028 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
3029 __syscall_rt_sigaction.
3030 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
3031 (kernel_sigaction): Use Linux generic defintion.
3033 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
3034 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
3035 (__syscall_rt_sigaction): Remove implementation.
3036 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
3038 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
3039 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
3040 INTERNAL_SYSCALL): Remove definitions.
3041 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
3042 action and signal set size.
3043 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
3044 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
3046 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3047 James Clarke <jrtc27@jrtc27.com>
3050 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
3051 Define if SA_RESTORER is defined.
3052 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
3053 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
3055 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
3056 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
3058 (HAS_SA_RESTORER): Define.
3059 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
3060 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
3061 (HAS_SA_RESTORER): Define.
3062 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
3063 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
3064 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
3065 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
3066 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3068 2018-12-18 Joseph Myers <joseph@codesourcery.com>
3070 * sysdeps/unix/sysv/linux/kernel-features.h
3071 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
3072 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3073 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
3074 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3075 (__ASSUME_ST_INO_64_BIT): Likewise.
3076 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3077 <kernel-features.h>.
3078 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3079 Remove conditional code.
3080 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3081 <kernel-features.h>.
3082 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3083 Remove conditional code.
3084 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
3085 <kernel-features.h>.
3086 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3087 Remove conditional code.
3088 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
3089 <kernel-features.h>.
3090 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
3091 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
3093 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3095 * sysdeps/s390/multiarch/ifunc-resolve.h
3096 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
3097 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
3098 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
3099 Delete macro definition.
3100 (s390_libc_ifunc_init): Rename to
3101 s390_libc_ifunc_expr_stfle_init.
3102 * sysdeps/s390/bzero: Use
3103 s390_libc_ifunc_expr_stfle_init instead of
3104 s390_libc_ifunc_init.
3105 * sysdeps/s390/memcmp.c: Likewise.
3106 * sysdeps/s390/memcpy.c: Likewise.
3107 * sysdeps/s390/mempcpy.c: Likewise.
3108 * sysdeps/s390/memset.c: Likewise.
3110 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3112 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
3113 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
3115 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3117 * sysdeps/s390/multiarch/Makefile
3118 (sysdep_routines): Remove wmemcmp variants.
3119 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
3120 * sysdeps/s390/multiarch/ifunc-impl-list.c
3121 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
3122 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
3123 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
3124 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
3125 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
3126 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
3127 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
3128 * sysdeps/s390/ifunc-wmemcmp.h: New file.
3130 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3132 * sysdeps/s390/multiarch/Makefile
3133 (sysdep_routines): Remove wmemset variants.
3134 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
3135 * sysdeps/s390/multiarch/ifunc-impl-list.c
3136 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
3137 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
3138 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
3139 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
3140 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
3141 * sysdeps/s390/multiarch/wmemset.c: Move to ...
3142 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
3143 * sysdeps/s390/ifunc-wmemset.h: New file.
3145 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3147 * sysdeps/s390/multiarch/Makefile
3148 (sysdep_routines): Remove wmemchr variants.
3149 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
3150 * sysdeps/s390/multiarch/ifunc-impl-list.c
3151 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
3152 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
3153 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
3154 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
3155 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
3156 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
3157 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
3158 * sysdeps/s390/ifunc-wmemchr.h: New file.
3160 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3162 * sysdeps/s390/multiarch/Makefile
3163 (sysdep_routines): Remove wcscspn variants.
3164 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
3165 * sysdeps/s390/multiarch/ifunc-impl-list.c
3166 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
3167 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
3168 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
3169 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
3170 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
3171 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
3172 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
3173 * sysdeps/s390/ifunc-wcscspn.h: New file.
3175 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3177 * sysdeps/s390/multiarch/Makefile
3178 (sysdep_routines): Remove wcspbrk variants.
3179 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
3180 * sysdeps/s390/multiarch/ifunc-impl-list.c
3181 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
3182 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
3183 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
3184 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
3185 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
3186 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
3187 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
3188 * sysdeps/s390/ifunc-wcspbrk.h: New file.
3190 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3192 * sysdeps/s390/multiarch/Makefile
3193 (sysdep_routines): Remove wcsspn variants.
3194 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
3195 * sysdeps/s390/multiarch/ifunc-impl-list.c
3196 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
3197 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
3198 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
3199 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
3200 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
3201 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
3202 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
3203 * sysdeps/s390/ifunc-wcsspn.h: New file.
3205 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3207 * sysdeps/s390/multiarch/Makefile
3208 (sysdep_routines): Remove wcsrchr variants.
3209 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
3210 * sysdeps/s390/multiarch/ifunc-impl-list.c
3211 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
3212 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
3213 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
3214 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
3215 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
3216 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
3217 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
3218 * sysdeps/s390/ifunc-wcsrchr.h: New file.
3220 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3222 * sysdeps/s390/multiarch/Makefile
3223 (sysdep_routines): Remove wcschrnul variants.
3224 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
3225 * sysdeps/s390/multiarch/ifunc-impl-list.c
3226 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
3227 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
3228 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
3229 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
3230 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
3231 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
3232 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
3233 * sysdeps/s390/ifunc-wcschrnul.h: New file.
3235 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3237 * sysdeps/s390/multiarch/Makefile
3238 (sysdep_routines): Remove wcschr variants.
3239 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
3240 * sysdeps/s390/multiarch/ifunc-impl-list.c
3241 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
3242 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
3243 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
3244 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
3245 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
3246 * sysdeps/s390/multiarch/wcschr.c: Move to ...
3247 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
3248 * sysdeps/s390/ifunc-wcschr.h: New file.
3250 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3252 * sysdeps/s390/multiarch/Makefile
3253 (sysdep_routines): Remove wcsncmp variants.
3254 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
3255 * sysdeps/s390/multiarch/ifunc-impl-list.c
3256 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
3257 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
3258 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
3259 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
3260 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
3261 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
3262 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
3263 * sysdeps/s390/ifunc-wcsncmp.h: New file.
3265 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3267 * sysdeps/s390/multiarch/Makefile
3268 (sysdep_routines): Remove wcscmp variants.
3269 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
3270 * sysdeps/s390/multiarch/ifunc-impl-list.c
3271 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
3272 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
3273 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
3274 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
3275 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
3276 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
3277 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
3278 * sysdeps/s390/ifunc-wcscmp.h: New file.
3280 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3282 * sysdeps/s390/multiarch/Makefile
3283 (sysdep_routines): Remove wcsncat variants.
3284 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
3285 * sysdeps/s390/multiarch/ifunc-impl-list.c
3286 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
3287 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
3288 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
3289 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
3290 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
3291 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
3292 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
3293 * sysdeps/s390/ifunc-wcsncat.h: New file.
3295 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3297 * sysdeps/s390/multiarch/Makefile
3298 (sysdep_routines): Remove wcscat variants.
3299 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
3300 * sysdeps/s390/multiarch/ifunc-impl-list.c
3301 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
3302 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
3303 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
3304 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
3305 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
3306 * sysdeps/s390/multiarch/wcscat.c: Move to ...
3307 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
3308 * sysdeps/s390/ifunc-wcscat.h: New file.
3310 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3312 * sysdeps/s390/multiarch/Makefile
3313 (sysdep_routines): Remove wcpncpy variants.
3314 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
3315 * sysdeps/s390/multiarch/ifunc-impl-list.c
3316 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
3317 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
3318 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
3319 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
3320 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
3321 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
3322 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
3323 * sysdeps/s390/ifunc-wcpncpy.h: New file.
3325 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3327 * sysdeps/s390/multiarch/Makefile
3328 (sysdep_routines): Remove wcsncpy variants.
3329 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
3330 * sysdeps/s390/multiarch/ifunc-impl-list.c
3331 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
3332 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
3333 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
3334 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
3335 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
3336 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
3337 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
3338 * sysdeps/s390/ifunc-wcsncpy.h: New file.
3340 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3342 * sysdeps/s390/multiarch/Makefile
3343 (sysdep_routines): Remove wcpcpy variants.
3344 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
3345 * sysdeps/s390/multiarch/ifunc-impl-list.c
3346 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
3347 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
3348 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
3349 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
3350 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
3351 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
3352 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
3353 * sysdeps/s390/ifunc-wcpcpy.h: New file.
3355 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3357 * sysdeps/s390/multiarch/Makefile
3358 (sysdep_routines): Remove wcscpy variants.
3359 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
3360 * sysdeps/s390/multiarch/ifunc-impl-list.c
3361 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
3362 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
3363 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
3364 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
3365 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
3366 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
3367 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
3368 * sysdeps/s390/ifunc-wcscpy.h: New file.
3370 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3372 * sysdeps/s390/multiarch/Makefile
3373 (sysdep_routines): Remove wcsnlen variants.
3374 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
3375 * sysdeps/s390/multiarch/ifunc-impl-list.c
3376 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
3377 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
3378 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
3379 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
3380 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
3381 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
3382 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
3383 * sysdeps/s390/ifunc-wcsnlen.h: New file.
3385 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3387 * sysdeps/s390/multiarch/Makefile
3388 (sysdep_routines): Remove wcslen variants.
3389 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
3390 * sysdeps/s390/multiarch/ifunc-impl-list.c
3391 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
3392 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
3393 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
3394 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
3395 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
3396 * sysdeps/s390/multiarch/wcslen.c: Move to ...
3397 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
3398 * sysdeps/s390/ifunc-wcslen.h: New file.
3400 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3402 * sysdeps/s390/multiarch/Makefile
3403 (sysdep_routines): Remove memrchr variants.
3404 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
3405 * sysdeps/s390/multiarch/ifunc-impl-list.c
3406 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
3407 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
3408 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
3409 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
3410 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
3411 * sysdeps/s390/multiarch/memrchr.c: Move to ...
3412 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
3413 * sysdeps/s390/ifunc-memrchr.h: New file.
3415 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3417 * sysdeps/s390/multiarch/Makefile
3418 (sysdep_routines): Remove memccpy variants.
3419 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
3420 * sysdeps/s390/multiarch/ifunc-impl-list.c
3421 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
3422 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
3423 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
3424 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
3425 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
3426 * sysdeps/s390/multiarch/memccpy.c: Move to ...
3427 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
3428 * sysdeps/s390/ifunc-memccpy.h: New file.
3430 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3432 * sysdeps/s390/multiarch/Makefile
3433 (sysdep_routines): Remove rawmemchr variants.
3434 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
3435 * sysdeps/s390/multiarch/ifunc-impl-list.c
3436 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
3437 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
3438 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
3439 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
3440 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
3441 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
3442 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
3443 * sysdeps/s390/ifunc-rawmemchr.h: New file.
3445 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3447 * sysdeps/s390/multiarch/Makefile
3448 (sysdep_routines): Remove memchr variants.
3449 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
3450 * sysdeps/s390/multiarch/ifunc-impl-list.c
3451 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
3452 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
3453 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
3454 * sysdeps/s390/multiarch/memchr.c: Move to ...
3455 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
3456 * sysdeps/s390/ifunc-memchr.h: New file.
3457 * sysdeps/s390/s390-64/memchr.S: Move to ...
3458 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
3459 for 31/64bit and ifunc handling.
3460 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
3461 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
3462 * sysdeps/s390/s390-32/memchr.S: Likewise.
3464 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3466 * sysdeps/s390/multiarch/Makefile
3467 (sysdep_routines): Remove strcspn variants.
3468 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
3469 * sysdeps/s390/multiarch/ifunc-impl-list.c
3470 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
3471 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
3472 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
3473 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
3474 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
3475 * sysdeps/s390/multiarch/strcspn.c: Move to ...
3476 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
3477 * sysdeps/s390/ifunc-strcspn.h: New file.
3479 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3481 * sysdeps/s390/multiarch/Makefile
3482 (sysdep_routines): Remove strpbrk variants.
3483 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
3484 * sysdeps/s390/multiarch/ifunc-impl-list.c
3485 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
3486 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
3487 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
3488 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
3489 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
3490 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
3491 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
3492 * sysdeps/s390/ifunc-strpbrk.h: New file.
3494 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3496 * sysdeps/s390/multiarch/Makefile
3497 (sysdep_routines): Remove strspn variants.
3498 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
3499 * sysdeps/s390/multiarch/ifunc-impl-list.c
3500 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
3501 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
3502 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
3503 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
3504 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
3505 * sysdeps/s390/multiarch/strspn.c: Move to ...
3506 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
3507 * sysdeps/s390/ifunc-strspn.h: New file.
3509 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3511 * sysdeps/s390/multiarch/Makefile
3512 (sysdep_routines): Remove strrchr variants.
3513 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
3514 * sysdeps/s390/multiarch/ifunc-impl-list.c
3515 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
3516 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
3517 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
3518 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
3519 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
3520 * sysdeps/s390/multiarch/strrchr.c: Move to ...
3521 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
3522 * sysdeps/s390/ifunc-strrchr.h: New file.
3524 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3526 * sysdeps/s390/multiarch/Makefile
3527 (sysdep_routines): Remove strchrnul variants.
3528 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
3529 * sysdeps/s390/multiarch/ifunc-impl-list.c
3530 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
3531 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
3532 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
3533 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
3534 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
3535 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
3536 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
3537 * sysdeps/s390/ifunc-strchrnul.h: New file.
3539 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3541 * sysdeps/s390/multiarch/Makefile
3542 (sysdep_routines): Remove strchr variants.
3543 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
3544 * sysdeps/s390/multiarch/ifunc-impl-list.c
3545 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
3546 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
3547 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
3548 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
3549 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
3550 * sysdeps/s390/multiarch/strchr.c: Move to ...
3551 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
3552 * sysdeps/s390/ifunc-strchr.h: New file.
3554 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3556 * sysdeps/s390/multiarch/Makefile
3557 (sysdep_routines): Remove strncmp variants.
3558 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
3559 * sysdeps/s390/multiarch/ifunc-impl-list.c
3560 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
3561 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
3562 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
3563 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
3564 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
3565 * sysdeps/s390/multiarch/strncmp.c: Move to ...
3566 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
3567 * sysdeps/s390/ifunc-strncmp.h: New file.
3569 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3571 * sysdeps/s390/multiarch/Makefile
3572 (sysdep_routines): Remove strcmp variants.
3573 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
3574 * sysdeps/s390/multiarch/ifunc-impl-list.c
3575 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
3576 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
3577 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
3578 * sysdeps/s390/multiarch/strcmp.c: Move to ...
3579 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
3580 * sysdeps/s390/ifunc-strcmp.h: New file.
3581 * sysdeps/s390/s390-64/strcmp.S: Move to ...
3582 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
3583 for 31/64bit and ifunc handling.
3584 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
3585 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3586 * sysdeps/s390/s390-32/strcmp.S: Likewise.
3588 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3590 * sysdeps/s390/multiarch/Makefile
3591 (sysdep_routines): Remove strncat variants.
3592 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
3593 * sysdeps/s390/multiarch/ifunc-impl-list.c
3594 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
3595 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
3596 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
3597 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
3598 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
3599 * sysdeps/s390/multiarch/strncat.c: Move to ...
3600 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
3601 * sysdeps/s390/ifunc-strncat.h: New file.
3603 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3605 * sysdeps/s390/multiarch/Makefile
3606 (sysdep_routines): Remove strcat variants.
3607 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
3608 * sysdeps/s390/multiarch/ifunc-impl-list.c
3609 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
3610 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
3611 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
3612 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
3613 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
3614 * sysdeps/s390/multiarch/strcat.c: Move to ...
3615 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
3616 * sysdeps/s390/ifunc-strcat.h: New file.
3618 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3620 * sysdeps/s390/multiarch/Makefile
3621 (sysdep_routines): Remove stpncpy variants.
3622 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
3623 * sysdeps/s390/multiarch/ifunc-impl-list.c
3624 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
3625 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
3626 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
3627 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
3628 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
3629 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
3630 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
3631 * sysdeps/s390/ifunc-stpncpy.h: New file.
3633 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3635 * sysdeps/s390/multiarch/Makefile
3636 (sysdep_routines): Remove strncpy variants.
3637 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
3638 * sysdeps/s390/multiarch/ifunc-impl-list.c
3639 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
3640 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
3641 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
3642 * sysdeps/s390/multiarch/strncpy.c: Move to ...
3643 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
3644 * sysdeps/s390/ifunc-strncpy.h: New file.
3645 * sysdeps/s390/s390-64/strncpy.S: Move to ...
3646 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
3647 and adjust ifunc handling.
3648 * sysdeps/s390/s390-32/strncpy.S: Move to ...
3649 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
3650 and adjust ifunc handling.
3651 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
3652 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3654 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3656 * sysdeps/s390/multiarch/Makefile
3657 (sysdep_routines): Remove stpcpy variants.
3658 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
3659 * sysdeps/s390/multiarch/ifunc-impl-list.c
3660 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
3661 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
3662 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
3663 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
3664 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
3665 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
3666 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
3667 * sysdeps/s390/ifunc-stpcpy.h: New file.
3669 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3671 * sysdeps/s390/multiarch/Makefile
3672 (sysdep_routines): Remove strcpy variants.
3673 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
3674 * sysdeps/s390/multiarch/ifunc-impl-list.c
3675 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
3676 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
3677 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
3678 * sysdeps/s390/multiarch/strcpy.c: Move to ...
3679 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
3680 * sysdeps/s390/ifunc-strcpy.h: New file.
3681 * sysdeps/s390/s390-64/strcpy.S: Move to ...
3682 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
3683 for 31/64bit and ifunc handling.
3684 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
3685 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3686 * sysdeps/s390/s390-32/strcpy.S: Likewise.
3688 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3690 * sysdeps/s390/multiarch/Makefile
3691 (sysdep_routines): Remove strnlen variants.
3692 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
3693 * sysdeps/s390/multiarch/ifunc-impl-list.c
3694 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
3695 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
3696 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
3697 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
3698 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
3699 * sysdeps/s390/multiarch/strnlen.c: Move to ...
3700 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
3701 * sysdeps/s390/ifunc-strnlen.h: New file.
3703 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3705 * sysdeps/s390/multiarch/Makefile
3706 (sysdep_routines): Remove strlen variants.
3707 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
3708 * sysdeps/s390/multiarch/ifunc-impl-list.c
3709 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
3710 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
3711 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
3712 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
3713 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
3714 * sysdeps/s390/multiarch/strlen.c: Move to ...
3715 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
3716 * sysdeps/s390/ifunc-strlen.h: New file.
3718 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3720 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
3721 * sysdeps/s390/multiarch/ifunc-impl-list.c
3722 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
3723 * sysdeps/s390/ifunc-memmem.h: New file.
3724 * sysdeps/s390/memmem.c: Likewise.
3725 * sysdeps/s390/memmem-c.c: Likewise.
3726 * sysdeps/s390/memmem-vx.c: Likewise.
3728 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3730 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
3731 * sysdeps/s390/multiarch/ifunc-impl-list.c
3732 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
3733 * sysdeps/s390/ifunc-strstr.h: New file.
3734 * sysdeps/s390/strstr.c: Likewise.
3735 * sysdeps/s390/strstr-c.c: Likewise.
3736 * sysdeps/s390/strstr-vx.c: Likewise.
3738 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3740 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
3741 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
3742 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
3743 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
3745 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
3746 * sysdeps/s390/memmove-c.c: New file.
3747 * sysdeps/s390/memmove.c: Likewise.
3748 * sysdeps/s390/multiarch/ifunc-impl-list.c
3749 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
3751 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3753 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
3754 * sysdeps/s390/configure.ac: Add check for z13 support.
3755 * sysdeps/s390/configure: Regenerated.
3757 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3759 * sysdeps/s390/memcopy.h: New file.
3761 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3763 * sysdeps/s390/s390-32/bcopy.S: Remove.
3764 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3766 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3768 * sysdeps/s390/ifunc-memcpy.h: New File.
3769 * sysdeps/s390/memcpy.S: Move to ...
3770 * sysdeps/s390/memcpy-z900.S ... here.
3771 Move implementations from memcpy-s390x.s to here.
3772 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
3773 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3774 Remove memcpy/mempcpy variants.
3775 * sysdeps/s390/Makefile (sysdep_routines):
3776 Add memcpy/mempcpy variants.
3777 * sysdeps/s390/multiarch/ifunc-impl-list.c
3778 (__libc_ifunc_impl_list): Adjust ifunc variants for
3780 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
3782 * sysdeps/s390/memcpy.c: ... here.
3783 Adjust ifunc variants for memcpy.
3784 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
3785 * sysdeps/s390/mempcpy.c: ... here.
3786 Adjust ifunc variants for mempcpy.
3787 * sysdeps/s390/mempcpy.S: Delete file.
3789 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3791 * sysdeps/s390/s390-64/memcpy.S: Move to ...
3792 * sysdeps/s390/memcpy.S: ... here.
3793 Adjust to be usable for 31/64bit.
3794 * sysdeps/s390/s390-32/memcpy.S: Delete File.
3795 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
3796 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
3797 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3798 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
3799 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
3800 Adjust to be usable for 31/64bit.
3801 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
3802 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
3803 * sysdeps/s390/multiarch/memcpy.c: ... here.
3804 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
3806 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3808 * sysdeps/s390/ifunc-memcmp.h: New File.
3809 * sysdeps/s390/memcmp.S: Move to ...
3810 * sysdeps/s390/memcmp-z900.S ... here.
3811 Move implementations from memcmp-s390x.s to here.
3812 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
3813 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3814 Remove memcmp variants.
3815 * sysdeps/s390/Makefile (sysdep_routines):
3816 Add memcmp variants.
3817 * sysdeps/s390/multiarch/ifunc-impl-list.c
3818 (__libc_ifunc_impl_list): Adjust ifunc variants for
3820 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
3822 * sysdeps/s390/memcmp.c: ... here.
3823 Adjust ifunc variants for memcmp.
3825 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3827 * sysdeps/s390/s390-64/memcmp.S: Move to ...
3828 * sysdeps/s390/memcmp.S: ... here.
3829 Adjust to be usable for 31/64bit.
3830 * sysdeps/s390/s390-32/memcmp.S: Delete File.
3831 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
3832 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3834 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3835 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
3836 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
3837 Adjust to be usable for 31/64bit.
3838 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
3839 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
3840 * sysdeps/s390/multiarch/memcmp.c: ... here.
3841 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
3843 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3845 * sysdeps/s390/s390-32/bzero.S: Delete file.
3846 * sysdeps/s390/s390-64/bzero.S: Likewise.
3847 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
3848 * sysdeps/s390/bzero.c: New file.
3849 * sysdeps/s390/memset-z900.S: Add bzero entry points.
3850 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
3851 * sysdeps/s390/multiarch/ifunc-impl-list.c
3852 (__libc_ifunc_impl_list): Add bzero ifunc variants.
3854 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3856 * sysdeps/s390/ifunc-memset.h: New File.
3857 * sysdeps/s390/memset.S: Move to ...
3858 * sysdeps/s390/memset-z900.S ... here.
3859 Move implementations from memset-s390x.s to here.
3860 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
3861 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3862 Remove memset variants.
3863 * sysdeps/s390/Makefile (sysdep_routines):
3864 Add memset variants.
3865 * sysdeps/s390/multiarch/ifunc-impl-list.c
3866 (__libc_ifunc_impl_list): Adjust ifunc variants for
3868 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
3870 * sysdeps/s390/memset.c: ... here.
3871 Adjust ifunc variants for memset.
3873 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3875 * sysdeps/s390/s390-64/memset.S: Move to ...
3876 * sysdeps/s390/memset.S: ... here.
3877 Adjust to be usable for 31/64bit.
3878 * sysdeps/s390/s390-32/memset.S: Delete File.
3879 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
3880 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3882 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3883 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
3884 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
3885 Adjust to be usable for 31/64bit.
3886 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
3887 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
3888 * sysdeps/s390/multiarch/memset.c: ... here.
3889 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
3891 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3893 * sysdeps/s390/multiarch/ifunc-resolve.h
3894 (s390_libc_ifunc_init, s390_libc_ifunc,
3895 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
3897 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3899 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
3900 * sysdeps/s390/configure.ac: Add check for z10 support.
3901 * sysdeps/s390/configure: Regenerated.
3903 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
3905 * sysdeps/i386/atomic-machine.h: Merged with ...
3906 * sysdeps/x86_64/atomic-machine.h: To ...
3907 * sysdeps/x86/atomic-machine.h: This. New file.
3909 2018-12-18 Florian Weimer <fweimer@redhat.com>
3911 Rewrite locale/gen-translit.pl in Python.
3912 * locale/Makefile (generated): Add C-translit.h.
3913 (before-compile): Add $(objpfx)C-translit.h.
3914 (C-translit.h): Move to $(objpfx). Create target directory.
3915 Build using Python script.
3916 * locale/gen-translit.py: New file.
3917 * locale/gen-translit.pl: Remove file.
3918 * locale/C-translit.h.in: Change comment character to '#' for
3919 easier parsing without a C preprocessor.
3920 * locale/C-translit.h: Remove generated file.
3921 * manual/install.texi (Tools for Compilation): Do not mention
3923 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3924 Remove locale/C-translit.h.
3925 * scripts/update-copyrights: Likewise.
3926 * INSTALL: Regenerate.
3928 2018-12-18 Florian Weimer <fweimer@redhat.com>
3931 * localedata/locales/bi_VU: Remove executable bit from file.
3933 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
3936 (__localtime64): Add.
3937 * manual/maint.texi: Document Y2038 symbol handling.
3939 (__localtime64): Add.
3940 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
3942 2018-12-17 Joseph Myers <joseph@codesourcery.com>
3944 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
3947 * scripts/glibcextract.py (compare_macro_consts): Take parameters
3948 to allow extra macros from first or second sources.
3949 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
3950 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3951 (tests-special): Add $(objpfx)tst-mman-consts.out.
3952 ($(objpfx)tst-mman-consts.out): New makefile target.
3954 2018-12-17 Mao Han <han_mao@c-sky.com>
3956 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
3957 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
3958 without stat64 system call support.
3959 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
3960 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
3961 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3962 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
3963 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
3964 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
3965 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
3966 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
3967 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
3968 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
3969 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
3971 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
3973 regex: fix storage-exhaustion error
3975 * posix/regexec.c (get_subexp):
3976 Do not continue if storage is exhausted.
3978 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
3980 regex: fix heap-use-after-free error
3982 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
3983 https://debbugs.gnu.org/32592
3984 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
3985 call extend_buffers which reallocates the re_string_t internal buffer.
3986 Local variable 'buf' was not updated in such case, resulting in
3988 * posix/regexec.c (get_subexp): Update 'buf' after call to
3991 2018-12-15 Florian Weimer <fweimer@redhat.com>
3993 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
3994 (minimum_stride_size): Use it.
3995 (support_blob_repeat_allocate): Likewise.
3997 2018-12-14 Joseph Myers <joseph@codesourcery.com>
3999 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
4004 2018-12-14 Florian Weimer <fweimer@redhat.com>
4006 * manual/process.texi (Process Creation Concepts): Remove
4007 documentation of process (ID) lifetime. List more process
4008 creation functions. Reference Process Identification section.
4009 (Process Identification): Add information about process ID
4010 lifetime. Describe Linux thread/task IDs.
4011 * manual/signal.texi (Signaling Another Process): Mention that the
4012 signal is always sent to the process.
4014 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4016 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
4017 and tst-ldbl-efgcvt.
4018 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
4019 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
4020 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
4021 (fcvt_tests, output_error, output_r_error, do_test): Use the
4022 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
4023 select the type of floating-point variables and arguments; to
4024 produce extra tests for double and conversion specifiers for
4025 printf; and to set the names of called functions.
4026 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
4027 in tst-efgcvt-template.c.
4028 * misc/tst-ldbl-efgcvt.c: Likewise.
4030 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
4032 * nss/Makefile (tst-nss-test3.out): New rule.
4034 2018-12-13 Joseph Myers <joseph@codesourcery.com>
4036 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
4039 2018-12-13 fanjinke <fanjinke@hygon.cn>
4041 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
4044 2018-12-13 Andreas Schwab <schwab@suse.de>
4047 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
4048 (__pthread_rwlock_rdlock_full): Update expected value for
4049 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
4050 * nptl/tst-rwlock-pwn.c: New file.
4051 * nptl/Makefile (tests): Add tst-rwlock-pwn.
4053 2018-12-12 Joseph Myers <joseph@codesourcery.com>
4055 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
4058 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4060 * benchtests/scripts/compare_bench.py (do_compare): write to
4061 stderr in casestat is not present.
4062 * benchtests/scripts/compare_bench.py (plot_graphs): write to
4063 stderr in case timings field is not present. Also string showing
4064 the output filename goes into the stderr.
4066 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4068 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
4069 and ZeroDivisorError exceptions.
4070 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
4071 argument to loop through user provided statistics.
4072 * benchtests/scripts/compare_bench.py (main): Include the --stats
4075 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4077 * benchtests/scripts/compare_bench.py (compare_runs): Continue
4080 2018-12-12 Florian Weimer <fweimer@redhat.com>
4082 * sysdeps/posix/timespec_get.c: Add missing “any later version”
4083 clause to copyright header.
4085 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4088 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
4089 registers saved in the stack frame.
4090 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
4091 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
4093 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4095 * include/bits/monetary-ldbl.h: New file.
4096 * include/bits/printf-ldbl.h: Likewise.
4097 * include/bits/stdio-ldbl.h: Likewise.
4098 * include/bits/stdlib-ldbl.h: Likewise.
4099 * include/bits/syslog-ldbl.h: Likewise.
4100 * include/bits/wchar-ldbl.h: Likewise.
4102 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4104 * libio/libio.h: Remove redirection for _IO_vfprintf.
4106 2018-12-11 Andreas Schwab <schwab@suse.de>
4108 * Makerules: Remove all references to abilist-pattern.
4109 (update-all-abi): Simplify find expression.
4111 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4114 * math/auto-libm-test-in: Add new test case.
4115 * math/auto-libm-test-out-pow: Regenerated.
4116 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
4118 2018-12-10 DJ Delorie <dj@redhat.com>
4121 * support/test-container.c: Move postclean step to before we
4124 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4126 * scripts/gen-as-const.py (main): Handle --python option.
4127 * scripts/gen-py-const.awk: Remove.
4128 * Makerules (py-const-script): Use gen-as-const.py.
4129 ($(py-const)): Likewise.
4130 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
4131 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
4132 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
4133 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
4134 ~PTHREAD_MUTEX_NO_ELISION_NP.
4135 * manual/README.pretty-printers: Update reference to
4138 * scripts/glibcextract.py: New file.
4139 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
4140 or tempfile. Import glibcexctract.
4141 (compute_c_consts): Remove. Moved to glibcextract.py.
4142 (gen_test): Update reference to compute_c_consts.
4144 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
4145 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
4146 * sysdeps/unix/sysv/linux/Makefile
4147 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
4148 Redirect stderr as well as stdout.
4150 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
4153 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
4154 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
4155 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
4156 ALWAYS_USE_VSYSCALL.
4157 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
4158 ALWAYS_USE_VSYSCALL.
4159 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
4160 ALWAYS_USE_VSYSCALL.
4162 2018-12-10 Florian Weimer <fweimer@redhat.com>
4165 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
4166 offset instead of count for clarity. Fix typo in comment.
4167 (__old_getdents64): Keep track of previous offset. Use it to call
4169 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
4170 that d_off is never zero.
4172 2018-12-10 Andreas Schwab <schwab@suse.de>
4174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
4175 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
4176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
4177 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
4178 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
4180 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4182 * timezone/private.h: Update from tzcode 2018g.
4183 * timezone/tzfile.h: Likewise.
4184 * timezone/tzselect.ksh: Likewise.
4185 * timezone/zdump.c: Likewise.
4186 * timezone/zic.c: Likewise.
4188 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4191 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
4192 (do_test): Adjust buffer size and fix format.
4194 2018-12-07 DJ Delorie <dj@redhat.com>
4197 * malloc/tst-tcfree3.c: New.
4198 * malloc/Makefile: Add it.
4200 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4202 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
4204 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4206 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
4207 used as a mask for the mode argument of __vfscanf_internal and
4208 __vfwscanf_internal.
4209 * stdio-common/vfscanf-internal.c
4210 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
4211 (__strtof128_internal): Define to __wcstof128_internal.
4212 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
4213 __strtof128_internal or __wcstof128_internal when the format of
4214 long double is the same as _Float128.
4216 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
4218 * include/unistd.h (__confstr): Add prototype and hidden prototype.
4219 * posix/confstr.c (confstr): Rename to __confstr.
4220 (__confstr): Add hidden def.
4221 (confstr): Add weak alias for __confstr.
4222 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
4225 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4227 * NEWS: Mention getcpu.
4228 * include/sched.h (__getcpu): New libc_hidden_proto.
4229 * manual/resource.texi: Document getcpu.
4230 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
4231 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
4232 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
4233 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4234 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4235 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4236 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4237 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4238 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4239 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4240 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4241 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4242 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4244 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4245 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4246 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4255 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4256 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4257 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4258 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4259 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4260 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4261 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4262 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4263 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
4264 * sysdeps/unix/sysv/linux/getcpu.c: New file.
4265 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
4268 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4270 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
4272 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
4274 2018-12-07 Florian Weimer <fweimer@redhat.com>
4277 * posix/Makefile (routines): Add spawn_faction_addfchdir.
4278 * posix/Versions (GLIBC_2.29): Export
4279 posix_spawn_file_actions_addfchdir_np.
4280 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
4281 * posix/spawn_faction_destroy.c
4282 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
4283 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
4284 and the field action.fchdir_action.
4285 * posix/tst-spawn-chdir.c (add_chdir): New function.
4286 (do_test): Add do_fchdir loop. Call add_chdir.
4287 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
4288 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4289 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4290 posix_spawn_file_actions_addfchdir_np.
4291 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4293 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4295 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4296 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4298 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4300 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4302 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4304 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4306 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4308 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4309 (GLIBC_2.29): Likewise.
4310 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4311 (GLIBC_2.29): Likewise.
4312 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4313 (GLIBC_2.29): Likewise.
4314 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4315 (GLIBC_2.29): Likewise.
4316 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4319 (GLIBC_2.29): Likewise.
4320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4321 (GLIBC_2.29): Likewise.
4322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4323 (GLIBC_2.29): Likewise.
4324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4325 (GLIBC_2.29): Likewise.
4326 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4328 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4330 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4332 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4333 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4335 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4337 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4339 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4342 2018-12-06 Joseph Myers <joseph@codesourcery.com>
4344 * manual/texinfo.tex: Update to version 2018-09-21.20 with
4345 trailing whitespace removed.
4346 * scripts/config.guess: Update to version 2018-11-28.
4347 * scripts/config.sub: Update to version 2018-11-28.
4348 * scripts/install-sh: Update to version 2018-03-11.20.
4349 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
4350 * scripts/move-if-change: Update to version 2018-03-07 03:47.
4352 2018-12-07 Florian Weimer <fweimer@redhat.com>
4356 * inet/tst-if_index-long.c: New file.
4357 * inet/Makefile (tests): Add tst-if_index-long.
4359 2018-12-07 Florian Weimer <fweimer@redhat.com>
4361 * support/check.h (support_record_failure_is_failed): Declare.
4362 * support/descriptors.h: New file.
4363 * support/support_descriptors.c: Likewise.
4364 * support/tst-support_descriptors.c: Likewise.
4365 * support/support_record_failure.c
4366 (support_record_failure_is_failed): New function.
4367 * support/Makefile (libsupport-routines): Add support_descriptors.
4368 (tests): Add tst-support_descriptors.
4370 2018-12-05 Zack Weinberg <zackw@panix.com>
4371 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4373 * stdio-common/vfprintf-internal.c
4374 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
4375 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
4376 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
4377 and __no_long_double.
4378 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
4379 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
4380 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
4381 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
4382 and __nldbl_*syslog* functions.
4383 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
4384 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
4385 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
4386 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
4387 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
4388 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
4389 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
4390 (__nldbl_vwprintf, __nldbl_wprintf):
4391 Directly call the appropriate __v*printf_internal routine, passing
4392 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
4394 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
4395 (__nldbl___printf_chk, __nldbl___snprintf_chk)
4396 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
4397 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
4398 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
4399 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4400 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
4401 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
4402 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
4403 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
4404 Likewise, and also pass PRINTF_FORTIFY when appropriate.
4405 (__nldbl_syslog, __nldbl_vsyslog):
4406 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
4407 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4409 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4412 2018-12-05 Zack Weinberg <zackw@panix.com>
4413 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4416 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
4417 Moved here from debug/vsprintf_chk.c.
4418 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
4419 and completion logic for the strfile to match exactly what
4420 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
4421 _IO_str_init_static_internal instead of maxlen-1.
4422 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4423 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
4424 __vsprintf_internal.
4426 * debug/vsprintf_chk.c (__vsprintf_chk)
4427 * debug/sprintf_chk.c (__sprintf_chk):
4428 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
4429 'flags' argument is positive, and slen as maxlen. No need to lock
4430 the FILE and/or construct a temporary FILE. Minimize and normalize
4431 header inclusions and variable names. Do not libc_hidden_def anything.
4433 * debug/asprintf_chk.c (__asprintf_chk)
4434 * debug/dprintf_chk.c (__dprintf_chk)
4435 * debug/fprintf_chk.c (__fprintf_chk)
4436 * debug/fwprintf_chk.c (__fwprintf_chk)
4437 * debug/printf_chk.c (__printf_chk)
4438 * debug/snprintf_chk.c (__snprintf_chk)
4439 * debug/swprintf_chk.c (__swprintf_chk)
4440 * debug/vasprintf_chk.c (__vasprintf_chk)
4441 * debug/vdprintf_chk.c (__vdprintf_chk)
4442 * debug/vfprintf_chk.c (__vfprintf_chk)
4443 * debug/vfwprintf_chk.c (__vfwprintf_chk)
4444 * debug/vprintf_chk.c (__vprintf_chk)
4445 * debug/vsnprintf_chk.c (__vsnprintf_chk)
4446 * debug/vswprintf_chk.c (__vswprintf_chk)
4447 * debug/vwprintf_chk.c (__vwprintf_chk)
4448 * debug/wprintf_chk.c (__wprintf_chk):
4449 Directly call the corresponding vxxprintf_internal function, passing
4450 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
4451 the FILE and/or construct a temporary FILE. Minimize and normalize
4452 header inclusions and variable names. Do not libc_hidden_def anything.
4454 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
4455 __obstack_vprintf_internal.
4456 (__obstack_vprintf_chk): Convert into a wrapper that calls
4457 __obstack_vprintf_internal (these two functions already had the
4458 same code) and move to new file...
4459 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
4461 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
4462 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
4463 * debug/Makefile (routines): Add vobprintf_chk.
4465 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4466 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4467 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
4468 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4469 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
4470 (__nldbl___obstack_vfprintf_chk):
4471 Directly call the corresponding vxxprintf_internal function,
4472 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
4473 duplicate comparison of slen with 0 or maxlen from the corresponding
4474 non-__nldbl function.
4476 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
4477 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
4478 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
4479 Remove libc_hidden_proto.
4481 * stdio-common/vfprintf-internal.c
4482 (__vfprintf_internal, __vfwprintf_internal):
4483 Do not check _IO_FLAGS2_FORTIFY.
4484 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
4485 * libio/libioP.h: Update prototype of __vsprintf_internal and add
4486 a comment explaining why it has the maxlen argument.
4487 (_IO_acquire_lock_clear_flags2_fct): Remove.
4488 (_IO_acquire_lock_clear_flags2): Remove.
4489 (_IO_release_lock): Remove conditional statement which will
4491 (_IO_acquire_lock): Remove variable which is now unused.
4492 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4493 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4495 * stdio-common/Makefile (tests): Add tst-bz11319 and
4496 tst-bz11319-fortify2.
4497 (CFLAGS-tst-bz11319-fortify2.c): New macro.
4498 * stdio-common/tst-bz11319-fortify2.c: New file.
4499 * stdio-common/tst-bz11319.c: Likewise.
4501 2018-12-05 Zack Weinberg <zackw@panix.com>
4502 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4504 * misc/syslog.c: Include libioP.h, not iolibio.h.
4505 (__vsyslog_internal): New function with the former body of
4506 __vsyslog_chk; takes mode_flags argument same as
4507 __v*printf_internal. Call __vfprintf_internal directly.
4509 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
4510 Remove libc_hidden_def.
4511 (__syslog, __syslog_chk): Use __vsyslog_internal.
4512 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
4514 * include/sys/syslog.h: Add multiple inclusion guard.
4515 Add prototype for __vsyslog_internal.
4516 Remove declaration and libc_hidden_proto for __vsyslog_chk.
4518 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
4519 Use __vsyslog_internal.
4521 2018-12-05 Zack Weinberg <zackw@panix.com>
4522 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4524 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
4525 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
4526 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
4528 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
4529 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
4531 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
4532 Include wctype.h here if COMPILE_WPRINTF is defined.
4533 Define __vfprintf_internal or __vfwprintf_internal, depending
4535 Temporarily, on entry to this function, update mode_flags
4536 according to the environmental settings corresponding to
4537 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
4538 Throughout, check mode_flags instead of __ldbl_is_dbl and
4539 _IO_FLAGS2_FORTIFY on the destination FILE.
4540 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
4541 Include vfprintf-internal.c. Don't include wctype.h.
4542 * stdio-common/vfprintf.c: New file. Just define __vfprintf
4543 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
4545 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
4546 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
4548 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
4550 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
4551 and add mode_flags argument; use __vfprintf_internal.
4552 (__vdprintf): New function. Alias vdprintf to this.
4553 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
4554 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
4555 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
4556 (__obstack_printf): Use __obstack_printf_internal.
4557 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
4558 public aliases __vsnprintf and vsnprintf.
4559 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
4561 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
4562 public aliases _IO_vsprintf and vsprintf.
4563 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
4564 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
4565 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
4566 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
4567 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
4569 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
4570 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
4571 * stdio-common/fprintf.c, stdio-common/fxprintf.c
4572 * stdio-common/printf.c: Use __vfprintf_internal.
4574 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
4575 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
4576 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
4578 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
4579 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
4580 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
4581 __vfwprintf_internal.
4583 * libio/libio.h: Remove libc_hidden_proto and declaration for
4585 Remove declaration of _IO_vfwprintf.
4586 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
4588 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
4590 * include/stdio.h: Add prototype for __vasprintf.
4591 (__vsnprintf): Remove declaration, because there are no more
4593 * include/wchar.h (__vfwprintf, __vswprintf): Remove
4594 declaration, because there are no more internal calls.
4596 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
4597 __vsnprintf_internal, instead of _IO_vsnprintf.
4598 * argp/argp-help.c (__argp_error, __argp_failure): Use
4599 __vasprintf_internal, instead of _IO_vasprintf.
4600 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
4601 redefine, because there are no more internal calls.
4603 2018-12-05 Zack Weinberg <zackw@panix.com>
4604 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4606 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
4607 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
4608 Include libio/strfile.h instead of libioP.h.
4609 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
4610 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
4611 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
4612 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
4613 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
4614 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
4615 necessary. Do not set __no_long_double. Normalize variable names.
4616 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
4617 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
4618 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
4619 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
4620 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
4621 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
4622 Call __vfscanf_internal / __vfwscanf_internal directly, passing
4623 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
4624 Do not set __no_long_double. Normalize variable names.
4626 2018-12-05 Zack Weinberg <zackw@panix.com>
4627 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4629 * stdio-common/isoc99_scanf.c
4630 * stdio-common/isoc99_fscanf.c
4631 * stdio-common/isoc99_sscanf.c
4632 * stdio-common/isoc99_vscanf.c
4633 * stdio-common/isoc99_vfscanf.c
4634 * stdio-common/isoc99_vsscanf.c
4635 * wcsmbs/isoc99_wscanf.c
4636 * wcsmbs/isoc99_fwscanf.c
4637 * wcsmbs/isoc99_swscanf.c
4638 * wcsmbs/isoc99_vwscanf.c
4639 * wcsmbs/isoc99_vfwscanf.c
4640 * wcsmbs/isoc99_vswscanf.c:
4641 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
4642 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
4643 No need to lock and unlock the FILE passed to that function.
4645 * stdio-common/vfscanf-internal.c
4646 (__vfscanf_internal, __vfwscanf_internal):
4647 Don't look at _IO_FLAGS2_SCANF_STD.
4648 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
4649 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
4650 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
4652 2018-12-05 Zack Weinberg <zackw@panix.com>
4653 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4655 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
4656 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
4657 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
4658 * libio/strfile.h: Add multiple inclusion guard.
4659 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
4661 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
4662 consistency with the other version of this file.
4663 (ldbl_compat_symbol): New macro.
4664 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
4667 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
4668 Define __vfscanf_internal or __vfwscanf_internal, depending on
4669 COMPILE_WSCANF; don't define any other public symbols.
4670 Remove errval and code to set errp.
4671 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
4672 as the mode_flags argument.
4673 (encode_error, conv_error, input_error): Don't set errval.
4674 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
4675 Include vfscanf-internal.c.
4676 * stdio-common/vfscanf.c: New file defining the public entry
4677 point vfscanf, which calls __vfscanf_internal.
4678 * stdio-common/vfwscanf.c: New file defining the public entry
4679 point vfwscanf, which calls __vfwscanf_internal.
4681 * stdio-common/iovfscanf.c: New file.
4682 * stdio-common/iovfwscanf.c: Likewise.
4684 * stdio-common/Makefile (routines): Add vfscanf-internal,
4685 vfwscanf-internal, iovfscanf, iovfwscanf.
4686 * stdio-common/Versions: Mention GLIBC_2.29, so that
4687 it can be used in SHLIB_COMPAT expressions.
4688 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
4689 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
4690 Call __vfscanf_internal, instead of _IO_vfscanf.
4691 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
4693 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
4696 * libio/iovsscanf.c: Clean up includes, when possible. Use
4697 _IO_strfile_read or _IO_strfile_readw, when needed. Call
4698 __vfscanf_internal or __vfwscanf_internal directly.
4699 * libio/iovswscanf.c: Likewise.
4700 * libio/swscanf.c: Likewise.
4701 * libio/vscanf.c: Likewise.
4702 * libio/vwscanf.c: Likewise.
4703 * libio/wscanf.c: Likewise.
4704 * stdio-common/isoc99_fscanf.c: Likewise.
4705 * stdio-common/isoc99_scanf.c: Likewise.
4706 * stdio-common/isoc99_sscanf.c: Likewise.
4707 * stdio-common/isoc99_vfscanf.c: Likewise.
4708 * stdio-common/isoc99_vscanf.c: Likewise.
4709 * stdio-common/isoc99_vsscanf.c: Likewise.
4710 * stdio-common/scanf.c: Likewise.
4711 * stdio-common/sscanf.c: Likewise.
4712 * wcsmbs/isoc99_fwscanf.c: Likewise.
4713 * wcsmbs/isoc99_swscanf.c: Likewise.
4714 * wcsmbs/isoc99_vfwscanf.c: Likewise.
4715 * wcsmbs/isoc99_vswscanf.c: Likewise.
4716 * wcsmbs/isoc99_vwscanf.c: Likewise.
4717 * wcsmbs/isoc99_wscanf.c: Likewise.
4719 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
4722 (__tz_compute): Replace time_t with __time64_t.
4723 (__tz_convert): Replace time_t* with __time64_t.
4724 (__offtime): Replace time_t* with __time64_t.
4726 (__gmtime_r): Adjust call to __tz_convert.
4729 (__localtime_r): Likewise.
4730 (localtime): Likewise.
4731 * time/offtime.c: Replace time_t with __time64_t.
4732 * time/tzset.c: Likewise.
4734 2018-12-04 Joseph Myers <joseph@codesourcery.com>
4736 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
4737 dynamic linker unless [$(run-built-tests) = yes].
4739 2018-12-03 DJ Delorie <dj@delorie.com>
4741 * support/test-container.c (check_for_unshare_hints): New.
4742 (main): Call it if unshare fails. Add support for "su" scriptlet
4745 2018-12-03 Joseph Myers <joseph@codesourcery.com>
4747 * scripts/gen-as-const.py (compute_c_consts): Take an argument
4748 'START' to indicate that start text should be output.
4749 (gen_test): Likewise.
4750 (main): Generate 'START' for first symbol or '--' line, or at end
4751 of input if not previously generated.
4753 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
4756 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
4757 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
4758 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
4759 ALWAYS_USE_VSYSCALL.
4761 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4764 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
4767 2018-12-03 Carlos O'Donell <carlos@redhat.com>
4770 * locale/programs/localedef.c: Declare boolean hard_links default true.
4771 (options): Add --no-hard-links option.
4772 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
4773 * locale/programs/localedef.h: Declare prototype for hard_links.
4774 * locale/programs/locfile.c (write_locale_data): Don't use hard
4775 links if hard_links is false.
4777 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
4779 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
4781 (__cache_sysconf): Likewise.
4782 (init_cacheinfo): Likewise.
4783 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
4784 populate COMMON_CPUID_INDEX_80000007 and
4785 COMMON_CPUID_INDEX_80000008.
4786 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
4787 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
4788 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
4789 (init_cpu_features): Use _Static_assert on
4790 index_arch_Fast_Unaligned_Load.
4791 __get_cpuid_registers and __get_arch_feature. Updated for
4792 cpu_features_basic. Set stepping in cpu_features.
4793 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
4794 (FEATURE_INDEX_2): New.
4795 (FEATURE_INDEX_MAX): Changed to enum.
4796 (COMMON_CPUID_INDEX_D_ECX_1): New.
4797 (COMMON_CPUID_INDEX_80000007): Likewise.
4798 (COMMON_CPUID_INDEX_80000008): Likewise.
4799 (cpuid_registers): Likewise.
4800 (cpu_features_basic): Likewise.
4801 (CPU_FEATURE_USABLE): Likewise.
4802 (bit_arch_XXX_Usable): Likewise.
4803 (cpu_features): Use cpuid_registers and cpu_features_basic.
4804 (bit_arch_XXX): Reweritten.
4805 (bit_cpu_XXX): Likewise.
4806 (index_cpu_XXX): Likewise.
4807 (reg_XXX): Likewise.
4808 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
4810 (CHECK_CPU_FEATURE): New.
4811 (CHECK_CPU_FEATURE_USABLE): Likewise.
4812 (cpu_kinds): Likewise.
4813 (do_test): Print vendor, family, model and stepping. Check
4814 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
4815 (TEST_FUNCTION): Removed.
4816 Include <support/test-driver.c> instead of
4817 "../../test-skeleton.c".
4818 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
4819 Check POPCNT instead of POPCOUNT.
4820 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
4822 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4824 * scripts/gen-as-const.py (main): Avoid emitting empty line when
4825 there is no element in `consts'.
4827 2018-12-01 Florian Weimer <fweimer@redhat.com>
4829 * support/support_capture_subprocess.c
4830 (support_capture_subprocess): Check that pipe descriptors have
4831 expected values. Close original pipe descriptors in subprocess.
4833 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4836 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
4837 attr with __pthread_default_barrierattr.
4838 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
4839 attr with __pthread_default_condattr.
4840 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
4841 attr with __pthread_default_mutexattr.
4842 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
4843 attr with __pthread_default_rwlockattr.
4845 2018-12-01 Kemi Wang <kemi.wang@intel.com>
4847 * manual/tunables.texi (POSIX Thread Tunables): New node.
4848 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
4849 * nptl/nptl-init.c: Include pthread_mutex_conf.h
4850 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
4851 __pthread_tunables_init.
4852 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
4853 (max_adaptive_count): Define.
4854 * nptl/pthread_mutex_conf.c: New file.
4855 * nptl/pthread_mutex_conf.h: New file.
4856 * sysdeps/generic/adaptive_spin_count.h: New file.
4857 * sysdeps/nptl/dl-tunables.list: New file.
4858 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4859 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
4860 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
4863 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4866 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
4867 * stdlib/on_exit.c (__on_exit): Likewise.
4868 * stdlib/Makefile (tests): Add tst-bz20544.
4869 * stdlib/tst-bz20544.c: New test.
4871 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
4874 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
4875 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
4878 2018-11-30 Florian Weimer <fweimer@redhat.com>
4880 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
4881 Extend error logging.
4882 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
4885 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4887 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
4888 __sigismember instead of sigismember.
4889 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
4890 cancel_handler): New definitions.
4891 (do_system): Use posix_spawn instead of fork and execl and remove
4893 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
4894 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
4895 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
4896 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4897 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4898 * sysdeps/unix/sysv/linux/system.c: Likewise.
4902 * NEWS: Add new semantic for atfork with popen and system.
4903 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
4906 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4909 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
4910 modification order when accessing reloc_result->addr.
4911 * include/link.h (reloc_result): Add field init.
4912 * nptl/Makefile (tests): Add tst-audit-threads.
4913 (modules-names): Add tst-audit-threads-mod1 and
4914 tst-audit-threads-mod2.
4915 Add rules to build tst-audit-threads.
4916 * nptl/tst-audit-threads-mod1.c: New file.
4917 * nptl/tst-audit-threads-mod2.c: Likewise.
4918 * nptl/tst-audit-threads.c: Likewise.
4919 * nptl/tst-audit-threads.h: Likewise.
4921 2018-11-30 Joseph Myers <joseph@codesourcery.com>
4923 * scripts/gen-as-const.py: New file.
4924 * scripts/gen-as-const.awk: Remove.
4925 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
4927 ($(objpfx)test-as-const-%.c): Likewise.
4929 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4931 * elf/dl-exception.c: Include <_itoa.h>.
4933 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
4935 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
4936 returned by __f_setlk.
4938 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4939 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4941 * elf/Makefile (tests-internal): Add tst-create_format1.
4942 * elf/dl-exception.c (_dl_exception_create_format): Support
4944 * elf/tst-create_format1.c: New file.
4946 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
4948 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
4949 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
4951 * argp/argp-help.c (__argp_failure): Likewise.
4953 2018-11-29 Mao Han <han_mao@c-sky.com>
4955 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
4956 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
4957 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
4958 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
4959 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
4960 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
4961 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
4962 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
4963 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
4964 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
4965 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
4966 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
4967 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
4968 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
4969 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
4970 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
4971 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
4972 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
4973 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
4974 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
4975 (R_CKCORE_TLS_TPOFF32): New defines.
4977 2018-11-29 Florian Weimer <fweimer@redhat.com>
4979 * posix/Makefile (before-compile): Remove testcases.h and
4981 (generated): Add testcases.h and ptestcases.h.
4982 (testcases.h, ptestcases.h): Move to $(objpfx).
4983 (runtests.o): Add dependency on testcases.h.
4984 (runptests.o): Add dependency on ptestcases.h.
4985 * posix/testcases.h, posix/ptestcases.h: Remove files.
4986 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
4987 not touch posix/testcases.h and posix/ptestcases.h.
4989 2018-11-28 Florian Weimer <fweimer@redhat.com>
4991 support: Add signal support to support_capture_subprocess_check.
4992 * support/capture_subprocess.h (support_capture_subprocess_check):
4993 Adjust comment and rename parameter.
4994 * support/support_capture_subprocess_check.c
4995 (print_actual_status): New function.
4996 (support_capture_subprocess_check): Support negative
4997 status_or_signal. Call print_actual_status.
4998 * support/tst-support_capture_subprocess.c (do_test): Call
4999 support_capture_subprocess_check.
5000 * libio/tst-vtables-common.c (termination_status)
5001 (init_termination_status): Remove.
5002 (check_for_termination): Adjust support_capture_subprocess_check
5004 (do_test): Remove call to init_termination_status.
5006 2018-11-28 Joseph Myers <joseph@codesourcery.com>
5008 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
5009 source directory instead of a copy.
5010 (CommandList.create_copy_dir): Remove.
5012 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
5014 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5016 2018-11-28 Florian Weimer <fweimer@redhat.com>
5018 * support/support.h (support_quote_string): Do not use str
5021 2018-11-27 Joseph Myers <joseph@codesourcery.com>
5023 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
5024 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
5026 2018-11-27 Florian Weimer <fweimer@redhat.com>
5028 * support/support.h (support_quote_string): Declare.
5029 * support/support_quote_string.c: New file.
5030 * support/tst-support_quote_string.c: Likewise.
5031 * support/Makefile (libsupport-routines): Add
5032 support_quote_string.
5033 (tests): Add tst-support_quote_string.
5035 2018-11-27 Florian Weimer <fweimer@redhat.com>
5039 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
5040 descriptor leak in case of ENODEV error.
5042 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
5045 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
5046 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
5047 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
5049 2018-11-26 Carlos O'Donell <carlos@redhat.com>
5051 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
5052 Error for unknown lines.
5054 2018-11-26 Joseph Myers <joseph@codesourcery.com>
5056 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5057 Touch additional files.
5059 2018-11-26 Florian Weimer <fweimer@redhat.com>
5062 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
5065 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
5068 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
5069 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
5070 SHARED. Include sysdep.h.
5071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
5072 ALWAYS_USE_VSYSCALL.
5073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
5074 ALWAYS_USE_VSYSCALL.
5076 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
5079 * nptl/Makefile (tests-static): Add tst-cond11-static.
5081 * nptl/tst-cond11-static.c: New File.
5082 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
5083 tst-affinity-static.
5085 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
5087 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
5088 (USE_VSYSCALL): Likewise.
5089 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
5090 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
5092 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
5094 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
5097 2018-11-23 Joseph Myers <joseph@codesourcery.com>
5100 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5101 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
5104 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
5106 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
5107 (tst-cet-legacy-1a-ARGS): New.
5108 ($(objpfx)tst-cet-legacy-1a): New target.
5109 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
5111 2018-11-22 Joseph Myers <joseph@codesourcery.com>
5113 * conform/conformtest.py (CompileSubTest.__init__): Set
5114 self.run_early to False.
5115 (ExecuteSubTest.__init__): Likewise.
5116 (HeaderTests.run): Try running all non-optional, non-XFAILed
5117 compilation tests in a single execution of the compiler.
5119 * conform/conformtest.py (CompileSubTest): New class.
5120 (ExecuteSubTest): Likewise.
5121 (ElementTest.run): Rename to gen_subtests. Append tests to
5122 self.subtests instead of running them.
5123 (ConstantTest.run): Likewise.
5124 (SymbolTest.run): Likewise.
5125 (TypeTest.run): Likewise.
5126 (TagTest.run): Likewise.
5127 (FunctionTest.run): Likewise.
5128 (VariableTest.run): Likewise.
5129 (MacroFunctionTest.run): Likewise.
5130 (MacroStrTest.run): Likewise.
5131 (HeaderTests.handle_test_line): Generate subtests for tests.
5132 (HeaderTests.run): Run subtests for tests.
5134 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5136 * math/Versions (GLIBC_2.29): Add pow.
5137 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
5139 * math/w_pow.c: New file.
5140 * sysdeps/i386/fpu/w_pow.c: New file.
5141 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
5142 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
5143 and add necessary aliases.
5144 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
5145 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
5146 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5147 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5148 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5149 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5150 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5151 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5152 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5153 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5154 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5155 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5156 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5157 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5158 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5163 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5164 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5165 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5166 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5167 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5168 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5169 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5170 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
5172 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
5173 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
5174 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
5176 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5178 * math/Versions (GLIBC_2.29): Add log2.
5179 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
5181 * math/w_log2.c: New file.
5182 * sysdeps/i386/fpu/w_log2.c: New file.
5183 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
5184 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
5185 and add necessary aliases.
5186 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
5187 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
5188 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5189 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5190 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5191 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5192 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5193 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5194 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5195 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5196 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5197 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5198 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5199 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5200 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5205 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5206 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5207 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5208 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5209 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5210 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5211 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5213 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5215 * math/Versions (GLIBC_2.29): Add log.
5216 * math/w_log_compat.c (__log_compat): Change to versioned compat
5218 * math/w_log.c: New file.
5219 * sysdeps/i386/fpu/w_log.c: New file.
5220 * sysdeps/ia64/fpu/e_log.S: Update.
5221 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
5222 and add necessary aliases.
5223 * sysdeps/ieee754/dbl-64/w_log.c: New file.
5224 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
5225 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5226 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5227 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5228 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5229 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5230 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5231 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5232 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5233 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5234 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5235 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5236 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5237 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5242 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5243 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5244 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5245 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5246 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5247 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5248 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5249 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
5251 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
5252 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
5253 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
5254 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
5256 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5258 * math/Versions (GLIBC_2.29): Add exp and exp2.
5259 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
5260 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
5261 * math/w_exp_compat.c (__exp_compat): Likewise.
5262 * math/w_exp.c: New file.
5263 * math/w_exp2.c: New file.
5264 * sysdeps/i386/fpu/w_exp.c: New file.
5265 * sysdeps/i386/fpu/w_exp2.c: New file.
5266 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
5267 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
5268 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
5269 and add necessary aliases.
5270 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
5271 and add necessary aliases.
5272 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
5273 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
5274 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
5275 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
5276 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5277 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5278 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5279 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5280 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5281 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5282 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5283 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5284 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5285 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5286 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5287 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5288 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5293 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5294 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5295 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5296 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5297 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5298 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5299 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5300 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
5301 (__ieee754_exp): Rename to __exp.
5302 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
5303 (__ieee754_exp): Rename to __exp.
5304 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
5305 (__ieee754_exp): Rename to __exp.
5306 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
5308 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
5310 2018-11-20 DJ Delorie <dj@redhat.com>
5312 * malloc/malloc.c (tcache_entry): Add key field.
5313 (tcache_put): Set it.
5314 (tcache_get): Likewise.
5315 (_int_free): Check for double free in tcache.
5316 * malloc/tst-tcfree1.c: New.
5317 * malloc/tst-tcfree2.c: New.
5318 * malloc/Makefile: Run the new tests.
5319 * manual/probes.texi: Document memory_tcache_double_free probe.
5321 * dlfcn/dlerror.c (check_free): Prevent double frees.
5323 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
5325 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
5327 2018-11-20 Joseph Myers <joseph@codesourcery.com>
5329 * conform/conformtest.py (ElementTest.run): Use unique identifiers
5330 in tests. Use names for format arguments.
5331 (ConstantTest.run): Likewise.
5332 (SymbolTest.run): Likewise.
5333 (TypeTest.run): Likewise.
5334 (TagTest.run): Likewise.
5335 (FunctionTest.run): Likewise.
5336 (VariableTest.run): Likewise.
5337 (MacroFunctionTest.run): Likewise.
5338 (MacroStrTest.run): Likewise.
5339 (HeaderTests.__init__): Set self.num_tests.
5340 (HeaderTests.handle_test_line): Set test.num. Increment
5343 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5345 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
5346 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
5349 2018-11-19 Mao Han <han_mao@c-sky.com>
5351 * scripts/config.guess: Update to version 2018-08-29.
5352 * scripts/config.sub: Update to version 2018-08-29.
5354 2018-11-19 Florian Weimer <fweimer@redhat.com>
5356 support: Print timestamps in timeout handler.
5357 * support/support_test_main.c (print_timestamp): New function.
5358 (signal_handler): Use it to print the termination time and the
5359 time of the last write to standard output.
5361 2018-11-16 Zack Weinberg <zackw@panix.com>
5362 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5364 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
5365 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
5367 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
5368 and add flags argument. Check flags instead of __ldbl_is_dbl when
5369 deciding whether to set is_long_double.
5370 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
5371 passing zero for flags argument.
5372 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
5374 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5375 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
5376 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
5377 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
5378 variable names. Remove libc_hidden_def/libc_hidden_proto from
5379 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
5380 longer called from within the library.
5381 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
5382 for __nldbl___vstrfmon_l, declare it explicitly.
5384 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
5386 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
5388 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
5390 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
5391 F_SETLK64, F_SETLKW64, respectively.
5392 * sysdeps/mach/hurd/f_setlk.c: New file.
5393 * sysdeps/mach/hurd/f_setlk.h: New file.
5394 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
5396 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
5397 (__libc_fcntl): Move non-flock operations to...
5398 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
5399 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
5401 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
5403 mktime: DEBUG_MKTIME cleanup
5404 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
5405 And it’s no longer needed now that glibc and Gnulib both have
5406 their own testing mechanisms for mktime.
5407 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
5409 mktime: fix non-EOVERFLOW errno handling
5411 mktime was not properly reporting failures when the underlying
5412 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
5413 them like EOVERFLOW failures, and set errno to EOVERFLOW.
5414 The problem could happen on non-glibc platforms, with Gnulib.
5415 * time/mktime.c (guess_time_tm): Remove, replacing with ...
5416 (tm_diff): ... this simpler function, which does not change errno.
5417 All callers changed to deal with errno themselves.
5418 (ranged_convert, __mktime_internal): Return failure immediately if
5419 the underlying function reports any failure other than EOVERFLOW.
5420 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
5423 mktime: fix bug with Y2038 DST transition
5425 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
5426 mishandle a DST transition that jumps over the Y2038 boundary.
5427 No such DST transitions are known so this is only a theoretical
5428 bug, but we might as well do things right.
5430 mktime: make more room for overflow
5432 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
5433 This is so that we can add tm_diff results to a previous guess,
5434 which will be useful in a later patch.
5436 mktime: simplify offset guess
5438 * time/mktime.c (__mktime_internal): Omit excess precision.
5440 mktime: new test for mktime failure
5442 Based on a test suggested by Albert Aribaud in:
5443 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
5444 * time/Makefile (tests): Add bug-mktime4.
5445 * time/bug-mktime4.c: New file.
5447 mktime: fix EOVERFLOW bug
5449 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
5450 Include libc-config.h, not config.h, for __set_errno.
5451 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
5453 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
5455 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
5456 __attribute_copy__ to copy attributes from name. Drop static qualifier
5457 to avoid warnings about leaf attribute not having effect on static
5460 2018-11-13 Florian Weimer <fweimer@redhat.com>
5462 * malloc/malloc.c (fastbin_push_entry): New function.
5463 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
5464 (REMOVE_FB): Remove macro.
5465 (_int_malloc): Use fastbin_pop_entry and reindent.
5466 (_int_free): Use fastbin_push_entry.
5467 (malloc_consolidate): Use atomic_exchange_acquire.
5469 2018-11-13 Joseph Myers <joseph@codesourcery.com>
5471 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
5472 alias attribute, not with strong_alias.
5474 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
5475 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
5476 with additional parameter thread.
5477 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
5478 in terms of __hidden_ver2.
5479 (hidden_tls_def): New macro.
5480 (libc_hidden_tls_def): Likewise.
5481 (rtld_hidden_tls_def): Likewise.
5482 (libm_hidden_tls_def): Likewise.
5483 (libmvec_hidden_tls_def): Likewise.
5484 (libresolv_hidden_tls_def): Likewise.
5485 (librt_hidden_tls_def): Likewise.
5486 (libdl_hidden_tls_def): Likewise.
5487 (libnss_files_hidden_tls_def): Likewise.
5488 (libnsl_hidden_tls_def): Likewise.
5489 (libnss_nisplus_hidden_tls_def): Likewise.
5490 (libutil_hidden_tls_def): Likewise.
5491 (libutil_hidden_tls_def): Likweise.
5492 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
5493 libc_hidden_tls_def.
5494 (__sim_disabled_exceptions_thread): Likewise.
5495 (__sim_round_mode_thread): Likewise.
5497 * sysdeps/sparc/sparc-ifunc.h [SHARED]
5498 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
5499 copy attributes from name.
5501 2018-11-12 Joseph Myers <joseph@codesourcery.com>
5503 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
5504 Use __attribute_copy__ to copy attributes from name.
5506 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
5507 with __hidden_ver1 call.
5508 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
5509 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
5510 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
5511 (__cosf): Do not declare here.
5512 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
5513 (__sincosf): Do not declare here.
5514 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
5515 (__sinf): Do not declare here.
5517 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
5518 (__BIG_ENDIAN): Likewise.
5519 (__BYTE_ORDER): Likewise.
5520 (strong_alias): Likewise.
5521 (_strong_alias): Likewise.
5523 2018-11-12 Florian Weimer <fweimer@redhat.com>
5525 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
5526 function. Move after the definition of in_smallbin_range. Do not
5527 use __builtin_expect for paths that lead to a noreturn function.
5528 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
5529 because it is unclear whether this is in fact an unlikely
5531 (_int_malloc, _int_free): Adjust.
5532 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
5534 * malloc/arena.c (heap_trim): Likewise.
5536 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5538 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
5539 it, free it if needed.
5540 (reauthenticate): Test and use ccwdir.
5541 (child_init_port): In non-resetids case, test and use ccwdir.
5542 (child_chdir): New nested function to set ccwdir.
5543 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
5544 * hurd/hurd/port.h (_hurd_port_move): New function.
5545 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
5546 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
5547 * hurd/Versions (_hurd_port_move): Export function.
5548 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
5550 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
5551 of dtablesize for allocating dtable_cloexec.
5553 2018-11-09 Martin Sebor <msebor@redhat.com>
5555 * include/libc-symbols.h (__attribute_copy__): Define macro unless
5556 it's already defined.
5557 (_strong_alias): Use __attribute_copy__.
5558 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
5559 * misc/sys/cdefs.h (__attribute_copy__): New macro.
5560 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
5561 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
5562 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
5563 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
5564 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
5565 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
5566 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
5567 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
5568 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
5569 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
5570 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
5571 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
5572 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
5573 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
5574 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
5575 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
5576 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
5578 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5580 * misc/tst-efgcvt.c: Include support/check.h and
5581 support/test-driver.c. Do not include test-skeleton.c.
5582 (error_count): Remove.
5583 (output_error): Replace increments to error_count with calls to
5584 support_record_failure.
5585 (output_r_error): Likewise.
5586 (special): Likewise.
5587 (do_test): Unconditionally return zero.
5588 (TEST_FUNCTION): Remove.
5590 2018-11-09 Joseph Myers <joseph@codesourcery.com>
5592 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
5594 ($(linknamespace-header-tests)): Likewise.
5596 * conform/conformtest.py: New file.
5597 * conform/conformtest.pl: Remove.
5598 * conform/GlibcConform.pm: Likewise.
5599 * conform/glibcconform.py (KEYWORDS_C90): New constant.
5600 (KEYWORDS_C99): Likewise.
5601 (KEYWORDS): Likewise.
5602 * conform/Makefile ($(conformtest-header-tests)): Use
5603 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
5604 option. Use --header instead of --headers.
5605 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
5607 * conform/data/spawn.h-data: Likewise.
5608 * conform/data/fcntl.h-data (openat): Add space after function
5610 * conform/data/wchar.h-data (wcscasecmp): Likewise.
5611 (wcscasecmp_l): Likewise.
5612 * conform/data/termios.h-data (c_cc): Add space after element
5615 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5617 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
5618 instead of manually comparing and reporting mismatching strings.
5619 * misc/tst-ldbl-error.c (do_one_test): Likewise.
5620 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5622 2018-11-08 Joseph Myers <joseph@codesourcery.com>
5624 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
5625 __ASSUME_SOCKETCALL.
5626 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5627 (__ASSUME_SOCKETCALL): Remove.
5628 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5629 (__ASSUME_SOCKETCALL): Likewise.
5630 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5631 (__ASSUME_SOCKETCALL): Likewise.
5632 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5633 (__ASSUME_SOCKETCALL): Likewise.
5634 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5635 (__ASSUME_SOCKETCALL): Likewise.
5636 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5637 (__ASSUME_SOCKETCALL): Likewise.
5638 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5639 (__ASSUME_SOCKETCALL): Likewise.
5641 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
5644 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
5645 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
5646 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
5647 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
5648 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
5651 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
5654 * resolv/tst-resolv-network.c: Add test for getnetbyname.
5656 2018-11-07 Joseph Myers <joseph@codesourcery.com>
5659 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5660 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5661 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5662 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5664 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5666 * support/support_test_compare_string.c
5667 (support_test_compare_string): Fix printf format.
5669 2018-11-07 Florian Weimer <fweimer@redhat.com>
5671 Implement TEST_COMPARE_STRING.
5672 * support/check.h (TEST_COMPARE_STRING): Define.
5673 (support_test_compare_string): Declare.
5674 * support/Makefile (libsupport-routines): Add
5675 support_test_compare_string.
5676 (tests): Add tst-test_compare_string.
5677 * support/support_test_compare_string.c: New file.
5678 * support/tst-test_compare_string.c: Likewise.
5680 2018-11-07 Andreas Schwab <schwab@suse.de>
5683 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
5684 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
5687 2018-11-06 Joseph Myers <joseph@codesourcery.com>
5690 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5691 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
5692 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
5693 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
5696 2018-11-06 Florian Weimer <fweimer@redhat.com>
5699 * posix/Makefile (routines): Add spawn_faction_addchdir.
5700 (tests): Add tst-spawn-chdir.
5701 * posix/Versions (GLIBC_2.29): Add
5702 posix_spawn_file_actions_addchdir_np.
5703 * posix/spawn_faction_addchdir.c: New file.
5704 * posix/spawn_faction_destroy.c
5705 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
5706 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
5707 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
5709 * posix/tst-spawn-chdir.c: New file.
5710 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
5711 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5712 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5713 posix_spawn_file_actions_addchdir_np.
5714 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5716 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5718 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5719 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5721 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5723 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5725 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5727 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5729 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5731 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5732 (GLIBC_2.29): Likewise.
5733 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5734 (GLIBC_2.29): Likewise.
5735 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5736 (GLIBC_2.29): Likewise.
5737 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5738 (GLIBC_2.29): Likewise.
5739 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5742 (GLIBC_2.29): Likewise.
5743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5744 (GLIBC_2.29): Likewise.
5745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5746 (GLIBC_2.29): Likewise.
5747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5748 (GLIBC_2.29): Likewise.
5749 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5751 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5753 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5755 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5756 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5758 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5760 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5762 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5765 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5767 * misc/Makefile (tests): Add tst-ldbl-error.
5768 * misc/tst-ldbl-error.c: New file.
5770 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5772 * misc/Makefile (tests): Add tst-ldbl-warn.
5773 * misc/tst-ldbl-warn.c: New file.
5775 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5777 * argp/Makefile (tests): Add tst-ldbl-argp.
5778 * argp/tst-ldbl-argp.c: New file.
5780 2018-11-05 Arjun Shankar <arjun@redhat.com>
5782 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
5783 __gconv_path_elem and call __gconv_get_path unconditionally.
5785 2018-11-05 Andreas Schwab <schwab@suse.de>
5788 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
5789 creating the first helper thread failed.
5791 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5793 * sysdeps/mach/hurd/msync.c: New file.
5795 2018-11-02 Florian Weimer <fweimer@redhat.com>
5797 * support/shell-container.c (copy_func): Call
5798 support_copy_file_range instead of copy_file_range to support
5799 cross-device copies.
5801 2018-11-02 Florian Weimer <fweimer@redhat.com>
5803 * support/test-container.c: Include <libc-pointer-arith.h> for
5806 2018-11-01 Zong Li <zong@andestech.com>
5808 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
5809 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
5810 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
5811 (__FP_FRAC_SET_8): Add implementation for RV32 use.
5813 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
5814 variable to avoid overlap arguments.
5816 2018-11-01 Joseph Myers <joseph@codesourcery.com>
5818 * posix/bug-regex22.c (main): Use puts with distinct error
5819 messages for unexpected success of re_compile_pattern, not printf
5820 with NULL argument to %s.
5822 * stdio-common/bug22.c: Include <libc-diag.h>.
5823 (do_test): Disable -Wformat-overflow= warnings around fprintf
5824 calls outputting more than INT_MAX characters.
5825 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
5826 around printf call with NULL %s argument.
5829 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
5830 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
5832 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5833 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5834 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5835 (__ASSUME_SENDTO_SYSCALL): Likewise.
5836 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5837 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
5839 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5840 (__ASSUME_CONNECT_SYSCALL): Likewise.
5841 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5842 (__ASSUME_RECVFROM_SYSCALL): Likewise.
5843 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
5845 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
5847 [__LINUX_KERNEL_VERSION >= 0x040400]
5848 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5849 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
5852 (setsockopt): Likewise.
5854 2018-11-01 Fredrik Noring <noring@nocrew.org>
5856 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
5857 with the ISA override.
5859 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
5861 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
5864 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
5866 * manual/errno.texi (EIEIO): Document how translators should
5867 translate the error message.
5868 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
5869 printing trailing whitespaces refused by git.
5870 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
5871 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5872 * hurd/Makefile (user-interfaces): Add pci.
5874 2018-10-30 Joseph Myers <joseph@codesourcery.com>
5876 * conform/linknamespace.py: New file.
5877 * conform/linknamespace.pl: Remove file.
5878 * conform/Makefile ($(linknamespace-header-tests)): Use
5879 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
5882 2018-10-30 Florian Weimer <fweimer@redhat.com>
5884 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
5887 2018-10-30 Florian Weimer <fweimer@redhat.com>
5889 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
5891 2018-10-30 Florian Weimer <fweimer@redhat.com>
5893 * stdlib/tst-strtod-overflow.c (do_test): Switch to
5894 support_blob_repeat.
5896 2018-10-30 Florian Weimer <fweimer@redhat.com>
5898 Avoid spurious test failures in stdlib/test-bz22786.
5899 * support/Makefile (libsupport-routines): Add blob_repeat.
5900 (tests): Add tst-support_blob_repeat.
5901 * support/blob_repeat.h: New file.
5902 * support/blob_repeat.c: Likewise.
5903 * support/tst-support_blob_repeat.c: Likewise.
5904 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
5905 support_blob_repeat_allocate.
5907 2018-10-30 Andreas Schwab <schwab@suse.de>
5910 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
5911 Don't use tail call.
5912 * elf/tst-unwind-main.c: New file.
5913 * elf/Makefile (tests): Add tst-unwind-main.
5914 (CFLAGS-tst-unwind-main.c): Define.
5916 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
5919 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
5921 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
5923 2018-10-29 Joseph Myers <joseph@codesourcery.com>
5925 * conform/glibcconform.py: Do not import shutil.
5926 (list_exported_functions): Use tempfile.TemporaryDirectory instead
5929 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
5930 critic_missing for versions before 3.4.
5931 * configure: Regenerated.
5932 * manual/install.texi (Tools for Compilation): Document
5933 requirement for Python to build glibc.
5934 * INSTALL: Regenerated.
5935 * Rules [PYTHON]: Make code unconditional.
5936 * benchtests/Makefile [PYTHON]: Likewise.
5937 * conform/Makefile [PYTHON]: Likewise.
5938 * manual/Makefile [PYTHON]: Likewise.
5939 * math/Makefile [PYTHON]: Likewise.
5941 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5943 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
5944 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
5945 answer to interrupt_operation, return EIEIO instead of EINTR.
5946 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
5947 _hurd_intr_rpc_msg_about_to global point to start of controlled
5948 assembly snippet. Make it check canceled flag.
5949 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
5950 the _hurd_intr_rpc_msg_about_to point.
5951 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
5952 issue, remove cancel flag check.
5954 2018-10-26 Joseph Myers <joseph@codesourcery.com>
5956 * scripts/build-many-glibcs.py: Remove compatibility for missing
5957 os.cpu_count and re.fullmatch.
5959 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5962 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
5963 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
5964 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
5966 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5968 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
5971 2018-10-25 Florian Weimer <fweimer@redhat.com>
5975 XFAIL siginfo_t si_band conform test on sparc64.
5976 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
5977 (__SI_BAND_TYPE): Only override long int default type on sparc64.
5978 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5979 (conformtest-xfail-conds): Add sparc64-linux.
5980 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
5982 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
5984 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5986 * elf/elf.h (NT_MIPS_DSP): New macro.
5987 (NT_MIPS_FP_MODE): Likewise.
5989 2018-10-25 Zong Li <zong@andestech.com>
5991 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
5992 name by adding the file extension (.so).
5994 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
5996 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
5997 (test-xfail-ISO11/threads.h/linknamespace,
5998 test-xfail-ISO11/threads.h/conform): Add.
6000 2018-10-24 Joseph Myers <joseph@codesourcery.com>
6002 * math/gen-libm-test.py: Import os.
6003 (ALL_FLOATS_MANUAL): New constant.
6004 (ALL_FLOATS_SUFFIX): Likewise.
6005 (Ulps.all_functions): New function.
6006 (real_all_ulps): Likewise.
6007 (generate_err_table_sub): Likewise.
6008 (generate_err_table): Likewise.
6009 (main): Handle -s and -m options.
6010 * manual/libm-err-tab.pl: Remove.
6011 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
6012 instead of libm-err-tab.pl.
6013 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
6015 * manual/install.texi (Tools for Compilation): Document
6016 requirement for Python to build manual.
6017 * INSTALL: Regenerated.
6019 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6021 * bits/time64.h: New file.
6022 * include/time.h: Replace internal_time_t with __time64_t.
6023 * posix/bits/types (__time64_t): Add.
6024 * stdlib/Makefile: Add bits/time64.h to includes.
6025 * time/tzfile.c: Replace internal_time_t with __time64_t.
6027 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6029 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
6030 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
6031 __posix_spawn_file_actions_init, __posix_spawnattr_init,
6032 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
6033 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
6035 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
6036 * posix/spawn_faction_addclose.c
6037 (__posix_spawn_file_actions_addclose): Add hidden definition.
6038 * posix/spawn_faction_adddup2.c
6039 (__posix_spawn_file_actions_adddup2): Likewise.
6040 * posix/spawn_faction_destroy.c
6041 (__posix_spawn_file_actions_destroy): Likewise.
6042 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
6044 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
6045 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
6046 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
6048 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
6049 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
6052 2018-10-24 Andreas Schwab <schwab@suse.de>
6055 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
6057 * elf/cache.c (print_cache): Likewise.
6059 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6061 * bits/timesize.h: New file.
6062 * stdlib/Makefile (headers): Add bits/timesize.h.
6063 * sysdeps/unix/sysv/linux/bits/msq-pad.h
6064 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
6065 * sysdeps/unix/sysv/linux/bits/sem-pad.h
6066 (__SEM_PAD_AFTER_TIME): Likewise.
6067 * sysdeps/unix/sysv/linux/bits/shm-pad.h
6068 (__SHM_PAD_AFTER_TIME): Likewise.
6069 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
6070 (__MSQ_PAD_BEFORE_TIME): Likewise.
6071 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
6072 (__SEM_PAD_BEFORE_TIME): Likewise.
6073 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
6074 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6075 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
6076 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
6077 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
6078 (__MSQ_PAD_BEFORE_TIME): Likewise.
6079 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
6080 (__SEM_PAD_BEFORE_TIME): Likewise.
6081 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
6082 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6083 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
6084 (__MSQ_PAD_BEFORE_TIME): Likewise.
6085 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
6086 (__SEM_PAD_BEFORE_TIME): Likewise.
6087 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
6088 (__SHM_PAD_BEFORE_TIME): Likewise.
6089 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
6090 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6091 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
6093 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
6095 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
6096 USE_RDTSCP is defined.
6097 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
6098 USE_RDTSCP is defined.
6100 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6102 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
6106 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
6107 independently of other flags.
6109 2018-10-23 Florian Weimer <fweimer@redhat.com>
6111 * time/tst-mktime2.c (N_STRINGS): Remove.
6112 (set_timezone): New function.
6113 (spring_forward_gap): Call it. Use FAIL_EXIT1.
6114 (mktime_test1): Report localtime failure and check errno value.
6116 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
6117 (do_test): Remove alarm call. Use set_timezone and array_length.
6119 2018-10-23 Andreas Schwab <schwab@suse.de>
6121 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
6122 (__start_context): Use END instead of PSEUDO_END.
6124 2018-10-22 Joseph Myers <joseph@codesourcery.com>
6126 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6129 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6133 * wcsmbs/c32rtomb.c: New file.
6134 * wcsmbs/mbrtoc32.c: Likewise.
6135 * wcsmbs/tst-c32-state.c: Likewise.
6136 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
6137 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
6138 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
6139 (tests): Add tst-c32-state.
6140 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
6143 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
6145 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
6146 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
6148 2018-10-19 Joseph Myers <joseph@codesourcery.com>
6151 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
6152 pair and return 0 in that case, and use saved character to
6153 interpret following character.
6154 * wcsmbs/tst-c16-surrogate.c: New file.
6155 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
6156 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
6157 Depend on $(gen-locales)
6159 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
6162 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
6163 (struct siginfo_t): Use correct type for si_band.
6165 2018-10-19 Florian Weimer <fweimer@redhat.com>
6168 * resource/bits/types/struct_rusage.h (struct rusage): Update
6169 comment on struct. Remove extraneous field comment.
6171 2018-10-18 David S. Miller <davem@davemloft.net>
6173 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
6174 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
6175 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
6176 sysdep_routines in subdir elf.
6177 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
6178 version for __vdso_clock_gettime.
6179 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
6181 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6182 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6184 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6186 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
6188 * sysdeps/i386/init-arch.h: Removed.
6189 * sysdeps/i386/i586/init-arch.h: Likewise.
6190 * sysdeps/i386/i686/init-arch.h: Likewise.
6191 * sysdeps/i386/i686/hp-timing.h: Likewise.
6192 * sysdeps/x86_64/hp-timing.h: Likewise.
6193 * sysdeps/i386/isa.h: New file.
6194 * sysdeps/i386/i586/isa.h: Likewise.
6195 * sysdeps/i386/i686/isa.h: Likewise.
6196 * sysdeps/x86_64/isa.h: Likewise.
6197 * sysdeps/x86/hp-timing.h: New file.
6198 * sysdeps/x86/init-arch.h: Include <isa.h>.
6200 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6202 * math/libm-test-pow.inc (pow_test_data): Do not allow
6203 divide-by-zero exception for pow(+/- 0, -Inf).
6205 2018-10-17 Zack Weinberg <zackw@panix.com>
6207 * manual/job.texi (Job Control is Optional): Remove node, as
6208 job control has not been optional in quite some time.
6209 (Job Control): Mention briefly that systems older than
6210 POSIX.1-2001 might not support job control.
6211 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
6212 defined on systems conforming to POSIX.1-2001.
6214 2018-10-17 Arjun Shankar <arjun@redhat.com>
6217 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
6219 * (__gconv_read_conf): Mark function static.
6220 * (once): New static variable.
6221 * (__gconv_load_conf): New function.
6222 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
6223 * iconv/gconv_db.c (once): Remove static variable.
6224 * (__gconv_compare_alias): Use __gconv_load_conf instead of
6226 * (__gconv_find_transform): Likewise.
6227 * iconv/tst-iconv-mt.c: New test.
6228 * iconv/Makefile: Add tst-iconv_mt.
6230 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6232 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6234 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
6235 (shmatt_t): Define as __syscall_ulong_t.
6236 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
6237 and [__SHM_PAD_AFTER_TIME].
6238 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
6239 Define shm_segsz and associated padding based on
6240 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
6241 Use __syscall_ulong_t instead of unsigned long int.
6242 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
6244 [__USE_MISC] (struct shm_info): Likewise.
6245 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
6246 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
6247 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
6248 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
6249 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
6250 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6251 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
6252 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
6253 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6254 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6255 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6257 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6259 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
6260 (SHMLBA): Remove macro.
6261 (__getpagesize): Remove function declaration.
6262 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
6264 (SHMLBA): Remove macro.
6265 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
6267 (SHMLBA): Remove macro.
6268 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
6270 (SHMLBA): Remove macro.
6271 (__getpagesize): Remove function declaration.
6272 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
6274 (SHMLBA): Remove macro.
6275 (__getshmlba): Remove function declaration.
6276 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
6277 (SHMLBA): Remove macro.
6278 (__getpagesize): Remove function declaration.
6279 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
6280 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
6281 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6282 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
6283 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
6284 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
6285 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
6286 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
6287 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
6288 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
6290 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
6293 * nptl/tst-mutex10.c: New File.
6294 * nptl/Makefile (tests): Add tst-mutex10.
6295 (tst-mutex10-ENV): New variable.
6296 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
6297 Ensure that elision path is used if elision is available.
6298 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
6300 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
6302 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
6303 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
6304 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
6305 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
6307 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
6308 (__pthread_mutex_cond_lock_adjust): Likewise.
6309 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6311 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
6312 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6313 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6314 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
6316 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6317 Use atomic_load_relaxed and atomic_store_relaxed.
6318 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
6319 Use atomic_store_relaxed.
6321 2018-10-17 Andreas Schwab <schwab@suse.de>
6323 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
6324 * crypt/badsalttest.c (TIMEOUT): Likewise.
6325 * crypt/sha256c-test.c (TIMEOUT): Likewise.
6326 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
6327 * io/test-lfs.c (TIMEOUT): Likewise.
6328 * libio/tst-atime.c (TIMEOUT): Likewise.
6329 * localedata/tst-leaks.c (TIMEOUT): Likewise.
6330 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
6331 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
6332 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
6333 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
6334 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
6335 * nptl/tst-cond11.c (TIMEOUT): Likewise.
6336 * nptl/tst-cond14.c (TIMEOUT): Likewise.
6337 * nptl/tst-cond15.c (TIMEOUT): Likewise.
6338 * nptl/tst-cond24.c (TIMEOUT): Likewise.
6339 * nptl/tst-cond25.c (TIMEOUT): Likewise.
6340 * nptl/tst-kill2.c (TIMEOUT): Likewise.
6341 * nptl/tst-kill3.c (TIMEOUT): Likewise.
6342 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
6343 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
6344 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
6345 * nptl/tst-once2.c (TIMEOUT): Likewise.
6346 * nptl/tst-once3.c (TIMEOUT): Likewise.
6347 * nptl/tst-once4.c (TIMEOUT): Likewise.
6348 * nptl/tst-robust8.c (TIMEOUT): Likewise.
6349 * nptl/tst-robust9.c (TIMEOUT): Likewise.
6350 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
6351 * nptl/tst-sem14.c (TIMEOUT): Likewise.
6352 * nptl/tst-sem6.c (TIMEOUT): Likewise.
6353 * nptl/tst-signal3.c (TIMEOUT): Likewise.
6354 * nptl/tst-spin4.c (TIMEOUT): Likewise.
6355 * nptl/tst-tls3.c (TIMEOUT): Likewise.
6356 * nptl/tst-tls4.c (TIMEOUT): Likewise.
6357 * posix/tst-chmod.c (TIMEOUT): Likewise.
6358 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
6359 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
6360 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
6361 * posix/tst-regex2.c (TIMEOUT): Likewise.
6362 * posix/tst-waitid.c (TIMEOUT): Likewise.
6363 * rt/tst-aio.c (TIMEOUT): Likewise.
6364 * rt/tst-aio10.c (TIMEOUT): Likewise.
6365 * rt/tst-aio4.c (TIMEOUT): Likewise.
6366 * rt/tst-aio5.c (TIMEOUT): Likewise.
6367 * rt/tst-aio6.c (TIMEOUT): Likewise.
6368 * rt/tst-aio64.c (TIMEOUT): Likewise.
6369 * rt/tst-aio7.c (TIMEOUT): Likewise.
6370 * rt/tst-aio9.c (TIMEOUT): Likewise.
6371 * rt/tst-clock.c (TIMEOUT): Likewise.
6372 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
6373 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
6374 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
6375 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
6376 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
6377 * rt/tst-timer4.c (TIMEOUT): Likewise.
6378 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
6379 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
6380 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
6381 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
6382 * time/tst-ftime.c (TIMEOUT): Likewise.
6383 * timezone/tst-tzset.c (TIMEOUT): Likewise.
6385 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
6387 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
6388 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
6391 2018-10-15 Joseph Myers <joseph@codesourcery.com>
6393 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6395 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
6396 instead of <bits/wordsize.h>.
6397 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
6398 and [__SEM_PAD_AFTER_TIME].
6399 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
6400 __syscall_ulong_t instead of unsigned long int.
6401 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
6402 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
6403 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
6404 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
6405 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
6406 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
6407 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
6408 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
6409 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6410 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6411 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6413 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
6415 regex: simplify by using intprops.h
6417 * posix/regex_internal.h [_LIBC]: Include intprops.h.
6418 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
6419 intprops.h defines them.
6421 regex: __builtin_expect → __glibc_unlikely
6423 This refactoring was prompted by a problem when the regex code is
6424 used as part of Gnulib and when the builder’s compiler does not grok
6425 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
6426 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
6427 Although this refactoring does not fix the problem directly,
6428 we might as well have Gawk use the now-preferred glibc style for when
6429 __builtin_expect is unavailable.
6430 * posix/regex_internal.h (BE): Remove.
6431 All uses replaced by __glibc_unlikely or __glibc_likely.
6433 2018-10-11 Joseph Myers <joseph@codesourcery.com>
6435 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6437 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
6438 instead of <bits/wordsize.h>.
6439 (msgqnum_t): Define as __syscall_ulong_t.
6440 (msglen_t): Likewise.
6441 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
6442 and [__MSQ_PAD_AFTER_TIME].
6443 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
6444 __syscall_ulong_t instead of unsigned long int.
6445 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
6446 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
6447 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
6448 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
6449 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
6450 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
6451 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
6452 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
6453 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6454 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6455 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6457 2018-10-10 Joseph Myers <joseph@codesourcery.com>
6459 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
6460 (struct shmid_ds): Condition padding after time fields on
6462 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
6463 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
6464 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6466 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
6467 (struct semid_ds): Condition padding after time fields on
6469 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
6470 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
6471 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
6472 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6474 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
6475 (struct msqid_ds): Condition padding after time fields on
6477 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
6478 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
6479 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
6480 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6482 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6484 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
6486 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6488 * libio/tst-readline.c (TIMEOUT): Define.
6490 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
6492 mktime fix for Gnulib + coreutils
6494 This fix affects only Gnulib. Problem discovered when
6495 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
6497 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
6498 Do not define since it is not used. Defining an unused static
6499 function prompts a warning from GCC when Coreutils is configured
6500 with --enable-gcc-warnings.
6502 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6504 * benchtests/scripts/compare_bench.py (main): set float type on
6507 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
6510 * localedata/locales/kl_GL (mon): Update, the relative case.
6511 (alt_mon): Add, fill with month names in the nominative case.
6512 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
6513 (d_fmt): Set to "%b %d %Y".
6515 2018-10-04 Joseph Myers <joseph@codesourcery.com>
6517 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
6518 <bits/mman-linux.h>.
6519 (PROT_READ): Don't define here.
6520 (PROT_WRITE): Likewise.
6521 (PROT_EXEC): Likewise.
6522 (PROT_NONE): Likewise.
6523 (PROT_GROWSDOWN): Likewise.
6524 (PROT_GROWSUP): Likewise.
6525 (MAP_SHARED): Likewise.
6526 (MAP_PRIVATE): Likewise.
6527 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
6528 [__USE_MISC] (MAP_FILE): Likewise.
6529 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
6530 [__USE_MISC] (MAP_ANON): Likewise.
6531 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
6532 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
6533 (MCL_CURRENT): Likewise.
6534 (MCL_FUTURE): Likewise.
6535 (MCL_ONFAULT): Likewise.
6536 [__USE_MISC] (MADV_NORMAL): Likewise.
6537 [__USE_MISC] (MADV_RANDOM): Likewise.
6538 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
6539 [__USE_MISC] (MADV_WILLNEED): Likewise.
6540 [__USE_MISC] (MADV_DONTNEED): Likewise.
6541 [__USE_MISC] (MADV_FREE): Likewise.
6542 [__USE_MISC] (MADV_REMOVE): Likewise.
6543 [__USE_MISC] (MADV_DONTFORK): Likewise.
6544 [__USE_MISC] (MADV_DOFORK): Likewise.
6545 [__USE_MISC] (MADV_HWPOISON): Likewise.
6546 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
6547 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
6548 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
6549 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
6550 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
6551 (__MAP_ANONYMOUS): New macro.
6552 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
6553 <bits/mman-linux.h> inclusion.
6554 (MAP_FIXED): Likewise.
6555 (MS_SYNC): Likewise.
6556 (MS_ASYNC): Likewise.
6557 (MS_INVALIDATE): Likewise.
6558 [__USE_MISC] (MADV_MERGEABLE): Likewise.
6559 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
6560 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
6561 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
6562 [__USE_MISC] (MADV_DONTDUMP): Likewise.
6563 [__USE_MISC] (MADV_DODUMP): Likewise.
6564 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
6565 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
6568 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
6570 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
6571 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
6572 Add test-nldbl-redirect.
6573 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
6574 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
6575 $(objpfx)libnldbl_nonshared.a.
6577 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
6579 * support/support.h (support_objdir_elf_ldso): New variable.
6580 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
6581 * support/Makefile (CFLAGS-support_paths.c): Add definition
6582 for OBJDIR_ELF_LDSO_PATH.
6583 * support/test-container.c (main): Search for the ld.so
6584 which is also used by the testsuite.
6586 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
6589 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
6590 should be "sap" rather than "sab".
6591 (day): Fix spelling of Sunday, should be "sapaat" rather than
6594 2018-10-02 Joseph Myers <joseph@codesourcery.com>
6596 * math/libm-test-fma.inc (fma_test_data): Add more tests.
6598 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
6601 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
6602 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
6603 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
6605 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6607 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
6609 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
6611 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
6613 (CFLAGS-elision-unlock.c): Likewise.
6614 (CFLAGS-elision-timed.c): Likewise.
6615 (CFLAGS-elision-trylock.c): Likewise.
6616 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
6618 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6621 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
6622 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
6623 new fd_to_filename interface.
6624 * libio/freopen64.c (freopen64): Likewise.
6625 * libio/tst-memstream.h: New file.
6626 * libio/tst-memstream4.c: Likewise.
6627 * libio/tst-wmemstream4.c: Likewise.
6628 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
6629 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
6630 and remove internal dynamic allocation.
6632 2018-10-01 Joseph Myers <joseph@codesourcery.com>
6634 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6635 (MREMAP_MAYMOVE): Do not define here.
6636 [__USE_GNU] (MREMAP_FIXED): Likewise.
6637 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
6638 (MREMAP_MAYMOVE): Define here instead.
6639 [__USE_GNU] (MREMAP_FIXED): Likewise.
6640 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
6641 (MREMAP_MAYMOVE): Remove.
6642 [__USE_GNU] (MREMAP_FIXED): Likewise.
6644 2018-09-28 Joseph Myers <joseph@codesourcery.com>
6646 * math/fromfp.h: Do not include <math_private.h>.
6647 * math/s_cacosh_template.c: Likewise.
6648 * math/s_casin_template.c: Likewise.
6649 * math/s_casinh_template.c: Likewise.
6650 * math/s_ccos_template.c: Likewise.
6651 * math/s_cproj_template.c: Likewise.
6652 * math/s_fdim_template.c: Likewise.
6653 * math/s_fmaxmag_template.c: Likewise.
6654 * math/s_fminmag_template.c: Likewise.
6655 * math/s_iseqsig_template.c: Likewise.
6656 * math/s_ldexp_template.c: Likewise.
6657 * math/s_nextdown_template.c: Likewise.
6658 * math/w_log1p_template.c: Likewise.
6659 * math/w_scalbln_template.c: Likewise.
6660 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6661 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6662 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6663 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6664 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
6665 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
6666 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
6667 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
6668 * sysdeps/i386/fpu/s_atanl.c: Likewise.
6669 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
6670 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
6671 * sysdeps/i386/fpu/s_fdim.c: Likewise.
6672 * sysdeps/i386/fpu/s_logbl.c: Likewise.
6673 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6674 * sysdeps/i386/fpu/s_significandl.c: Likewise.
6675 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
6676 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
6677 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6678 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6679 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6680 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6681 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6682 * sysdeps/ieee754/k_standardf.c: Likewise.
6683 * sysdeps/ieee754/k_standardl.c: Likewise.
6684 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6685 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6686 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
6687 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6688 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6689 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6690 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6691 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6692 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6693 * sysdeps/ieee754/s_signgam.c: Likewise.
6694 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6695 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
6696 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
6697 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6698 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6699 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6700 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6701 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6702 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6703 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6704 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6705 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6706 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6707 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6708 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6709 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6710 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6711 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6712 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6713 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6714 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6715 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6716 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6717 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6718 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6719 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6720 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6721 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6722 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6723 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6724 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6725 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6726 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6727 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6728 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6729 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6730 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
6732 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6734 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
6737 * sysdeps/i386/dl-cet.c: Removed.
6738 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
6740 (_dl_runtime_profile_shstk): Likewise.
6741 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
6742 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
6744 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6747 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
6748 do_test_with_invalid_iov): New tests.
6749 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
6750 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
6751 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
6753 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6754 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6755 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6757 2018-09-27 Joseph Myers <joseph@codesourcery.com>
6759 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6760 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
6761 (MATH_REDIRECT_BINARY_ARGS): New macro.
6762 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6763 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
6764 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
6766 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
6767 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6768 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
6769 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6770 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6771 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6772 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
6777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
6779 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
6780 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
6781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
6783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
6785 * sysdeps/generic/math_private_calls.h
6786 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
6787 Do not declare and define as an inline function.
6788 * math/divtc3.c (__divtc3): Use copysign functions instead of
6789 __copysign variants.
6790 * math/multc3.c (__multc3): Likewise.
6791 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
6792 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
6793 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6794 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6796 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6797 (__ieee754_yn): Likewise.
6798 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6799 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
6800 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6801 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6802 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
6804 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
6805 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6807 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6809 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6811 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6812 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6814 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6815 (__ieee754_ynf): Likewise.
6816 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6817 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6818 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6819 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6821 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6822 (__ieee754_ynl): Likewise.
6823 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6824 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6825 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6827 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6828 (__ieee754_ynl): Likewise.
6829 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
6830 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6831 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6832 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6834 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6836 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
6837 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6838 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
6839 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6840 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6842 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6843 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
6844 using MATH_REDIRECT.
6845 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
6847 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
6848 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6849 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6850 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
6851 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6852 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6853 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
6855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
6856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
6857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
6858 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6859 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6860 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6861 (round): Redirect to __round.
6862 (__roundl): Call round instead of __round.
6863 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
6865 [_ARCH_PWR5X] (__roundf): Likewise.
6866 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
6867 functions instead of __round variants.
6868 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6869 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6871 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6873 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6875 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
6876 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
6878 (__ieee754_expl): Call roundl instead of __roundl.
6880 2018-09-27 Andreas Schwab <schwab@suse.de>
6883 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
6884 (do_test): Make st1 static.
6886 2018-09-26 Andreas Schwab <schwab@suse.de>
6889 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
6890 * elf/Makefile (tests): Add tst-unwind-ctor.
6891 (modules-names): Add tst-unwind-ctor-lib.
6892 ($(objpfx)tst-unwind-ctor): Depend on
6893 $(objpfx)tst-unwind-ctor-lib.so.
6895 2018-09-26 Joseph Myers <joseph@codesourcery.com>
6897 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
6898 file. Most contents moved from ....
6899 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
6900 and include <bits/mman-map-flags-generic.h>.
6901 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6902 (sysdep_headers): Add bits/mman-map-flags-generic.h.
6903 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
6904 <bits/mman-map-flags-generic.h>.
6905 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
6906 macros defined in <bits/mman-map-flags-generic.h>.
6907 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
6908 <bits/mman-map-flags-generic.h>.
6909 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
6910 defined in <bits/mman-map-flags-generic.h>.
6912 2018-09-26 Andreas Schwab <schwab@suse.de>
6914 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
6917 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
6918 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6919 Fangrui Song <maskray@google.com>
6922 * config.make.in (have-textrel_ifunc): New define.
6923 * configure.ac: Add check if linker supports textrel relocation with
6925 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
6927 (CFLAGS-tst-ifunc-textrel.c): New rule.
6928 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
6929 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
6930 * elf/tst-ifunc-textrel.c: New file.
6932 2018-09-25 Joseph Myers <joseph@codesourcery.com>
6934 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6935 <bits/procfs-prregset.h>.
6936 (prgregset_t): Define using __prgregset_t.
6937 (prfpregset_t): Define using __prfpregset_t.
6938 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6939 (sysdep_headers): Add bits/procfs-prregset.h.
6940 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
6941 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
6942 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
6943 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
6945 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6946 <bits/procfs-id.h> and <bits/procfs-extra.h>.
6947 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
6949 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6950 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
6951 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
6952 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
6953 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
6954 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
6955 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
6956 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
6957 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
6958 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
6959 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
6960 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
6961 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
6962 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
6963 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
6964 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
6965 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
6966 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
6967 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
6968 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
6969 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
6970 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
6971 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6972 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
6974 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
6975 AArch64 version. Include <bits/procfs.h>.
6976 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6977 (sysdep_headers): Add bits/procfs.h.
6978 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
6979 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
6980 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
6981 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
6982 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
6983 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
6984 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
6985 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
6986 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
6987 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
6988 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
6989 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
6990 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
6991 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
6992 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
6993 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6994 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
6996 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6998 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
7001 2018-09-25 Arjun Shankar <arjun@redhat.com>
7003 * iconv/gconv_int.h (__gconv_path_elem): Remove.
7004 (__gconv_max_path_elem_len): Likewise.
7005 (__gconv_nmodules): Likewise.
7006 (__gconv_get_path): Likewise.
7007 (path_elem): Move to ...
7008 * iconv/gconv_conf.c: ... here.
7009 (__gconv_get_path): Mark function static.
7010 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
7011 * iconv/gconv_open.c: ... here.
7013 2018-09-24 Andreas Schwab <schwab@suse.de>
7015 * scripts/haveversions.awk: New file.
7016 * Makerules ($(common-objpfx)Versions.def)
7017 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7018 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7020 * Makeconfig ($(common-objpfx)Versions.def)
7021 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7022 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7024 ($(common-objpfx)Versions.mk): New rule. Include it.
7025 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
7026 Emit error if build-obsolete-nsl = yes.
7027 * manual/install.texi (Configuring and compiling): Describe
7028 --enable-obsolete-nsl as unavaiable after version 2.28.
7029 * INSTALL: Regenerate.
7031 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7033 * NEWS: Add note about new TLE support on powerpc64le.
7034 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
7035 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
7037 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
7038 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
7039 * sysdeps/powerpc/powerpc32/sysdep.h,
7040 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
7041 ABORT_TRANSACTION): Remove macros.
7042 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
7043 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
7044 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
7045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
7046 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7047 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
7049 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
7051 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
7054 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
7055 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
7056 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
7057 which is the same as in it_IT.
7058 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
7059 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
7061 2018-09-20 Joseph Myers <joseph@codesourcery.com>
7063 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7064 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
7065 using MATH_REDIRECT.
7066 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
7068 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
7069 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7070 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
7071 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7072 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7073 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
7075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
7076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
7077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
7078 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7079 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7080 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7081 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7082 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
7083 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
7084 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
7085 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7086 (ceil): Redirect to __ceil.
7087 (floor): Redirect to __floor.
7088 (trunc): Redirect to __trunc.
7089 (__truncl): Call trunc instead of __trunc.
7090 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
7092 [_ARCH_PWR5X] (__truncf): Likewise.
7093 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
7094 trunc functions instead of __trunc variants.
7095 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7097 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7099 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7101 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7104 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
7105 [__i586__ || __pentium__].
7106 [__i486__]: Handle explicitly.
7107 (HAS_CPUID): Define to 1 if above macros are undefined.
7108 (HAS_I586): Likewise.
7109 (HAS_I686): Likewise.
7111 2018-09-20 Florian Weimer <fweimer@redhat.com>
7113 * misc/tst-gethostid.c: New file.
7114 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
7115 (tst-gethostid): Link with -ldl.
7117 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
7119 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
7120 value from gethostbyname_r.
7122 2018-09-19 Carlos O'Donell <carlos@redhat.com>
7124 * stdlib/tst-setcontext9.c (f1): Rename to...
7126 (f1b): New function implementing lower half of f1 in alternate stack.
7128 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
7130 Fix mktime localtime offset confusion
7132 * include/time.h (__mktime_internal): The localtime offset is now
7133 of type long int instead of time_t. This is the longstanding type
7134 in glibc, and it is more than enough to represent difference
7135 between localtime and gmtime even if it is 32 bits and time_t is
7136 64. Changing it now will let us avoid an unnecessary change when
7137 time_t is widened to 64 bits on 32-bit platforms.
7138 * time/mktime-internal.h (mktime_offset_t): Now long int.
7140 Merge mktime, timegm from upstream Gnulib
7141 [BZ #23603][BZ #16346]
7142 This fixes some obscure problems with integer overflow.
7143 Although it looks scary, it is almost all a byte-for-byte copy
7144 from Gnulib, and the Gnulib code has been tested reasonably well.
7145 * include/intprops.h: New file, copied from Gnulib.
7146 * include/verify.h, time/mktime-internal.h:
7147 New tiny files, simplified from Gnulib.
7148 * time/mktime.c: Copy from Gnulib. This has the following changes:
7149 Do not include config.h if DEBUG_MKTIME is nonzero.
7150 Include stdbool.h, intprops.h, verify.h.
7151 Include string.h only if needed.
7152 Include stdlib.h on MS-Windows.
7153 Include mktime-internal.h.
7154 (DEBUG_MKTIME): Default to 0, and simplify later uses.
7155 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
7156 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
7157 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
7158 simplify later conditionals; default the others to zero. Use
7159 these conditionals to express only the code needed on the current
7160 platform. In uses of these conditionals, explicitly spell out how
7161 _LIBC affects things, so it’s easier to review from a glibc
7163 (WRAPV): Remove; no longer needed now that we have
7164 systematic overflow checking.
7165 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
7166 compartmentalize tzset issues. Move system-dependent tzsettish
7167 code here from mktime.
7168 (verify): Remove; now done by verify.h. All uses changed.
7169 (long_int): Use a more-conservative definition, to avoid
7171 (SHR): Remove, replacing with ...
7172 (shr): New function, which means we needn’t worry about side
7173 effects in args, and conversion analysis is simpler.
7174 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
7175 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
7176 (time_t_avg, time_t_add_ok): Remove.
7177 (mktime_min, mktime_max): New constants.
7178 (leapyear, isdst_differ): Use bool for booleans.
7179 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
7180 Use long_int, not time_t, for mktime differences.
7181 (long_int_avg): New function, replacing time_t_avg.
7182 INT_ADD_WRAPV replaces time_t_add_ok.
7183 (guess_time_tm): 6th arg is now long_int, not time_t const *.
7185 (convert_time): New function.
7186 (ranged_convert): Use it.
7187 (__mktime_internal): Last arg now points to mktime_offset_t, not
7188 time_t. All uses changed. This is a no-op on glibc, where
7189 mktime_offset_t is always time_t. Use int, not time_t, for UTC
7190 offset guess. Directly check for integer overflow instead of
7191 using a heuristic that works only 99.9...% of the time.
7192 Access *OFFSET only once, to avoid an unlikely race if the
7193 compiler delays a load and if this cascades into a signed integer
7195 (mktime): Move tzsettish code to my_tzset, and move
7196 localtime_offset to within mktime so that it doesn’t
7197 need a separate ifdef.
7198 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
7199 instead of localtime.
7200 * time/timegm.c: Copy from Gnulib. This has the following changes:
7201 Include mktime-internal.h.
7202 [!_LIBC]: Include config.h and time.h. Do not include
7203 timegm.h or time_r.h. Make __mktime_internal a macro,
7204 and include mktime-internal.h to get its declaration.
7205 (timegm): Temporary is now mktime_offset_t, not time_t.
7206 This affects only Gnulib.
7208 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
7211 * string/test-strstr.c (pr23637): New function.
7212 (test_main): Add tests with longer needles.
7213 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
7214 * string/strstr.c (AVAILABLE): Likewise.
7216 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7218 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
7220 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7222 * NEWS: Mention pow improvements.
7223 * math/Makefile (type-double-routines): Add e_pow_log_data.
7224 * sysdeps/generic/math_private.h (__exp1): Remove.
7225 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
7226 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
7227 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
7229 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
7230 (exp_inline): Remove.
7231 (__ieee754_exp): Only single double input is handled.
7232 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
7233 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
7234 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
7235 (__pow_log_data): Define.
7236 * sysdeps/ieee754/dbl-64/upow.h: Remove.
7237 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
7238 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
7239 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
7241 (CFLAGS-e_pow-fma4.c): Likewise.
7243 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
7245 Simplify tzfile fstat failure code
7247 * time/tzfile.c (__tzfile_read): Simplify slightly.
7249 Fix tzfile low-memory assertion failure
7251 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
7252 when registering time zone abbreviations.
7254 2018-09-18 Joseph Myers <joseph@codesourcery.com>
7256 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
7257 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
7258 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7259 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7260 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
7261 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
7262 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
7263 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7264 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7266 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
7268 (__ceill): Call ceil instead of __ceil.
7269 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
7271 (__floorl): Call floor instead of __floor.
7273 2018-09-17 Joseph Myers <joseph@codesourcery.com>
7275 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7276 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
7277 using MATH_REDIRECT.
7278 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
7280 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
7281 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7282 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7283 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
7284 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7285 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7286 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7287 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
7288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
7289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
7290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
7291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
7292 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7293 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7294 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7296 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7297 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7298 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
7300 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
7301 functions instead of __ceil variants.
7302 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7303 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7305 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7307 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7308 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7310 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7311 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7314 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
7316 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
7317 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
7318 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
7319 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
7320 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
7321 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
7322 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
7323 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
7324 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
7325 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
7326 (ILL_BADIADDR): Remove constant.
7327 (TRAP_BRANCH): Likewise.
7328 (TRAP_HWBKPT): Likewise.
7330 2018-09-14 Joseph Myers <joseph@codesourcery.com>
7333 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
7334 Remove [_MIPS_SIM = _ABIN32] conditional case.
7335 (struct elf_prpsinfo): Likewise.
7338 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
7339 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
7340 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
7342 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
7343 elf_prpsinfo): Likewise.
7344 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
7345 elf_prpsinfo): Likewise.
7346 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
7349 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7350 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
7351 using MATH_REDIRECT.
7352 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
7354 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
7355 * sysdeps/alpha/fpu/s_rint.c: Likewise.
7356 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
7357 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7358 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7359 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7360 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
7361 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7362 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7363 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7364 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
7365 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
7366 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
7367 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7368 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7369 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7370 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7371 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
7372 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7375 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7376 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7377 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7378 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7379 * sysdeps/x86_64/fpu/math_private.h: Remove file.
7380 * math/e_scalb.c (invalid_fn): Use rint functions instead of
7382 * math/e_scalbf.c (invalid_fn): Likewise.
7383 * math/e_scalbl.c (invalid_fn): Likewise.
7384 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7386 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7388 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7389 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
7390 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7392 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7394 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7396 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
7397 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
7399 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7400 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
7402 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7403 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
7404 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7405 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
7406 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7407 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
7408 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7409 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
7410 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7411 && !NO_MATH_REDIRECT] (floor): Likewise.
7412 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
7414 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
7415 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7416 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7417 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
7418 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7419 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7420 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7421 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
7423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
7424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
7425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
7426 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7427 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7428 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7429 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7430 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7431 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7432 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
7434 [_ARCH_PWR5X] (__floorf): Likewise.
7435 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
7437 [__SSE4_1__] (__floorf): Likewise.
7438 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
7439 instead of __floor variants.
7440 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
7441 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
7442 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
7443 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
7444 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
7445 * math/w_tgamma_compat.c (__tgamma): Likewise.
7446 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
7447 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
7448 * math/w_tgammal_compat.c (__tgammal): Likewise.
7449 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
7450 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7452 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7453 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
7454 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7455 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7457 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7458 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
7460 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7461 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
7463 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7464 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
7466 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7467 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7468 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7469 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
7470 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7471 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7473 2018-09-12 Joseph Myers <joseph@codesourcery.com>
7475 * elf/Makefile (modules-names-tests): New variable.
7477 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7479 * NEWS: Mention log2 improvements.
7480 * math/Makefile (type-double-routines): Add e_log2_data.
7481 * sysdeps/i386/fpu/e_log2_data.c: New file.
7482 * sysdeps/ia64/fpu/e_log2_data.c: New file.
7483 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
7484 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
7485 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
7486 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
7487 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
7489 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7491 * NEWS: Mention log improvement.
7492 * math/Makefile (type-double-routines): Add e_log_data.
7493 * sysdeps/i386/fpu/e_log_data.c: New file.
7494 * sysdeps/ia64/fpu/e_log_data.c: New file.
7495 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
7496 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
7497 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
7498 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
7499 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
7500 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
7502 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
7503 Xuepeng Guo <xuepeng.guo@intel.com>
7506 * sysdeps/i386/start.S: Include <sysdep.h>
7507 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
7508 enabled. Add cfi_undefined (eip).
7510 2018-09-11 Joseph Myers <joseph@codesourcery.com>
7512 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
7514 (EXTRACT_WORDS64): Likewise.
7515 (INSERT_WORDS64): Likewise.
7516 (GET_FLOAT_WORD): Likewise.
7517 (SET_FLOAT_WORD): Likewise.
7519 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
7521 (Config.build_gcc): Use --disable-libsanitizer for first GCC
7522 build, but not for second build if --full-gcc. Use
7523 --enable-languages=all for second build if --full-gcc.
7524 (get_parser): Add --full-gcc option.
7525 (main): Update call to Context.
7527 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
7530 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
7531 Single Quotation Mark).
7532 (thousands_sep): Likewise.
7533 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
7534 * localedata/locales/it_IT (thousands_sep): Use ".".
7535 (grouping): Use "3;3".
7537 2018-09-10 Joseph Myers <joseph@codesourcery.com>
7539 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7540 x86_64 and i686 configs using --enable-obsolete-rpc
7541 --enable-obsolete-nsl.
7543 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7545 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7547 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7549 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
7550 Increment size of new_argv by one.
7552 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
7555 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
7556 * localedata/locales/ar_IN (d_fmt): Likewise.
7557 * localedata/locales/bhb_IN (d_fmt): Likewise.
7558 * localedata/locales/bho_IN (d_fmt): Likewise.
7559 * localedata/locales/bn_BD (d_fmt): Likewise.
7560 * localedata/locales/bn_IN (d_fmt): Likewise.
7561 * localedata/locales/doi_IN (d_fmt): Likewise.
7562 * localedata/locales/gu_IN (d_fmt): Likewise.
7563 * localedata/locales/hi_IN (d_fmt): Likewise.
7564 * localedata/locales/hne_IN (d_fmt): Likewise.
7565 * localedata/locales/kn_IN (d_fmt): Likewise.
7566 * localedata/locales/mag_IN (d_fmt): Likewise.
7567 * localedata/locales/mai_IN (d_fmt): Likewise.
7568 * localedata/locales/mjw_IN (d_fmt): Likewise.
7569 * localedata/locales/ml_IN (d_fmt): Likewise.
7570 * localedata/locales/mni_IN (d_fmt): Likewise.
7571 * localedata/locales/mr_IN (d_fmt): Likewise.
7572 * localedata/locales/pa_IN (d_fmt): Likewise.
7573 * localedata/locales/raj_IN (d_fmt): Likewise.
7574 * localedata/locales/sat_IN (d_fmt): Likewise.
7575 * localedata/locales/sd_IN (d_fmt): Likewise.
7576 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
7577 * localedata/locales/ta_IN (d_fmt): Likewise.
7578 * localedata/locales/ta_LK (d_fmt): Likewise.
7579 * localedata/locales/tcy_IN (d_fmt): Likewise.
7580 * localedata/locales/ur_IN (d_fmt): Likewise.
7582 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
7583 * localedata/locales/ks_IN (d_fmt): Likewise.
7584 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
7586 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
7587 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
7588 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
7589 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
7591 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
7593 * NEWS: Mention exp and exp2 improvements.
7594 * math/Makefile (libm-support): Remove t_exp.
7595 (type-double-routines): Add math_err and e_exp_data.
7596 * sysdeps/aarch64/libm-test-ulps: Update.
7597 * sysdeps/arm/libm-test-ulps: Update.
7598 * sysdeps/i386/fpu/e_exp_data.c: New file.
7599 * sysdeps/i386/fpu/math_err.c: New file.
7600 * sysdeps/i386/fpu/t_exp.c: Remove.
7601 * sysdeps/ia64/fpu/e_exp_data.c: New file.
7602 * sysdeps/ia64/fpu/math_err.c: New file.
7603 * sysdeps/ia64/fpu/t_exp.c: Remove.
7604 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
7605 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
7606 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
7607 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
7608 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
7609 * sysdeps/ieee754/dbl-64/math_config.h: New file.
7610 * sysdeps/ieee754/dbl-64/math_err.c: New file.
7611 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
7612 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
7613 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
7614 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
7615 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
7616 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
7617 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
7618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7621 2018-09-05 Joseph Myers <joseph@codesourcery.com>
7623 * sysdeps/alpha/fpu/math_private.h: Remove.
7625 * sysdeps/generic/math_private.h
7626 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
7627 Move this inline function ....
7628 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
7629 * include/math.h [!_ISOMAC]: To here....
7631 2018-09-04 Joseph Myers <joseph@codesourcery.com>
7633 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
7635 [!FE_HAVE_ROUNDING_MODES]: And this code ....
7636 * include/fenv.h [!_ISOMAC]: ... to here.
7637 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
7638 (feraiseexcept): Likewise.
7639 * math/fromfp.h: Do not include <fenv_private.h>.
7640 * math/s_cexp_template.c: Likewise.
7641 * math/s_csin_template.c: Likewise.
7642 * math/s_csinh_template.c: Likewise.
7643 * math/s_ctan_template.c: Likewise.
7644 * math/s_ctanh_template.c: Likewise.
7645 * math/s_iseqsig_template.c: Likewise.
7646 * math/w_acos_compat.c: Likewise.
7647 * math/w_acosf_compat.c: Likewise.
7648 * math/w_acosl_compat.c: Likewise.
7649 * math/w_asin_compat.c: Likewise.
7650 * math/w_asinf_compat.c: Likewise.
7651 * math/w_asinl_compat.c: Likewise.
7652 * math/w_j0_compat.c: Likewise.
7653 * math/w_j0f_compat.c: Likewise.
7654 * math/w_j0l_compat.c: Likewise.
7655 * math/w_j1_compat.c: Likewise.
7656 * math/w_j1f_compat.c: Likewise.
7657 * math/w_j1l_compat.c: Likewise.
7658 * math/w_jn_compat.c: Likewise.
7659 * math/w_jnf_compat.c: Likewise.
7660 * math/w_log10_compat.c: Likewise.
7661 * math/w_log10f_compat.c: Likewise.
7662 * math/w_log10l_compat.c: Likewise.
7663 * math/w_log2_compat.c: Likewise.
7664 * math/w_log2f_compat.c: Likewise.
7665 * math/w_log2l_compat.c: Likewise.
7666 * math/w_log_compat.c: Likewise.
7667 * math/w_logf_compat.c: Likewise.
7668 * math/w_logl_compat.c: Likewise.
7669 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7670 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7671 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7672 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7673 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7674 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7675 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7676 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7677 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7678 * sysdeps/ieee754/k_standardl.c: Likewise.
7679 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7680 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7681 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7682 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7683 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7684 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7685 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7686 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7687 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7688 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7689 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7690 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7691 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7692 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7693 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7694 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7695 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7696 * math/w_ilogb_template.c: Include <fenv.h> instead of
7698 * math/w_llogb_template.c: Likewise.
7699 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7700 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7702 2018-09-03 Joseph Myers <joseph@codesourcery.com>
7704 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
7705 * math/fromfp.h: Include <fenv_private.h>.
7706 * math/math-narrow.h: Likewise.
7707 * math/s_cexp_template.c: Likewise.
7708 * math/s_csin_template.c: Likewise.
7709 * math/s_csinh_template.c: Likewise.
7710 * math/s_ctan_template.c: Likewise.
7711 * math/s_ctanh_template.c: Likewise.
7712 * math/s_iseqsig_template.c: Likewise.
7713 * math/w_acos_compat.c: Likewise.
7714 * math/w_acosf_compat.c: Likewise.
7715 * math/w_acosl_compat.c: Likewise.
7716 * math/w_asin_compat.c: Likewise.
7717 * math/w_asinf_compat.c: Likewise.
7718 * math/w_asinl_compat.c: Likewise.
7719 * math/w_ilogb_template.c: Likewise.
7720 * math/w_j0_compat.c: Likewise.
7721 * math/w_j0f_compat.c: Likewise.
7722 * math/w_j0l_compat.c: Likewise.
7723 * math/w_j1_compat.c: Likewise.
7724 * math/w_j1f_compat.c: Likewise.
7725 * math/w_j1l_compat.c: Likewise.
7726 * math/w_jn_compat.c: Likewise.
7727 * math/w_jnf_compat.c: Likewise.
7728 * math/w_llogb_template.c: Likewise.
7729 * math/w_log10_compat.c: Likewise.
7730 * math/w_log10f_compat.c: Likewise.
7731 * math/w_log10l_compat.c: Likewise.
7732 * math/w_log2_compat.c: Likewise.
7733 * math/w_log2f_compat.c: Likewise.
7734 * math/w_log2l_compat.c: Likewise.
7735 * math/w_log_compat.c: Likewise.
7736 * math/w_logf_compat.c: Likewise.
7737 * math/w_logl_compat.c: Likewise.
7738 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7739 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7740 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7741 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7742 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7743 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7744 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7745 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7746 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7747 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7748 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7749 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7750 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
7751 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
7752 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7753 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7754 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7755 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7756 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7757 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7758 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7759 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7760 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7761 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7762 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7763 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7764 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7765 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7766 * sysdeps/ieee754/float128/float128_private.h: Likewise.
7767 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7768 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7769 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7770 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7771 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7772 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7773 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7774 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7775 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7776 * sysdeps/ieee754/k_standardl.c: Likewise.
7777 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7778 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7779 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7780 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7781 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7782 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7783 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7784 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7785 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7786 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7787 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7788 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7789 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7790 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7791 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7792 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7793 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7794 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7795 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7796 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7797 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7798 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7799 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7800 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7801 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7802 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7803 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7804 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7805 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7806 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7807 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7808 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7809 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7810 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7811 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7812 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7813 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7814 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7815 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7816 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7817 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7818 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7819 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7820 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7821 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7822 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7823 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7824 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7825 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7826 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7827 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7828 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7829 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7830 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7831 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7832 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7833 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7834 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7835 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7836 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7837 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7838 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7839 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7840 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7841 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7842 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7843 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7844 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7845 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7846 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7847 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7849 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7852 * include/stdio.h (__libc_fatal): Mention newline in comment.
7853 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
7854 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
7855 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7856 * nss/nsswitch.c (__nss_next2): Likewise.
7857 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
7858 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
7859 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
7860 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7861 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
7862 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
7863 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
7864 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
7865 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
7866 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
7867 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
7868 * sysdeps/unix/sysv/linux/netlink_assert_response.c
7869 (__netlink_assert_response): Likewise.
7871 2018-08-31 Joseph Myers <joseph@codesourcery.com>
7873 * conform/glibcconform.py: New file.
7874 * conform/list-header-symbols.py: Likewise.
7875 * conform/list-header-symbols.pl: Remove.
7876 * conform/Makefile (tests-special): Only add linknamespace tests
7878 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
7880 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
7883 * support/Makefile (libsupport-routines): Add
7884 support_copy_file_range and xcopy_file_range.
7885 * support/support.h: Include <sys/types.h>.
7886 (support_copy_file_range): New prototype.
7887 * support/support_copy_file_range.c: New file. Copied and
7888 modified from io/copy_file_range-compat.c.
7889 * support/test-container.c (copy_one_file): Call xcopy_file_rang
7890 instead of copy_file_range.
7891 * support/xcopy_file_range.c: New file.
7892 * support/xunistd.h (xcopy_file_range): New prototype.
7894 2018-08-30 Carlos O'Donell <carlos@redhat.com>
7896 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
7897 xpthread_create and xpthread_join.
7899 2018-08-30 Florian Weimer <fweimer@redhat.com>
7901 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
7903 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
7905 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
7908 2018-08-29 Joseph Myers <joseph@codesourcery.com>
7910 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
7911 and minus_oflow as non-finite.
7913 2018-08-28 Joseph Myers <joseph@codesourcery.com>
7915 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
7916 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
7917 moved to fenv_private.h except for ...
7918 (TOINT_INTRINSICS): Kept in math_private.h.
7919 (roundtoint): Likewise.
7920 (converttoint): Likewise.
7921 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
7922 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7923 * sysdeps/arm/math_private.h: Remove.
7924 * sysdeps/generic/fenv_private.h: New file. Contents moved from
7926 * sysdeps/generic/math_private.h: ... this file. Include
7927 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
7928 Include <fenv_private.h>. Remove functions and macros moved to
7930 * sysdeps/i386/fpu/math_private.h: Remove.
7931 * sysdeps/mips/math_private.h: Move to ....
7932 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
7933 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
7934 [__mips_hard_float] conditional. Include next <fenv_private.h>.
7935 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
7936 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7937 * sysdeps/powerpc/fpu/math_private.h: Do not include
7939 * sysdeps/riscv/rvf/math_private.h: Move to ....
7940 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
7941 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
7943 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
7944 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7945 * sysdeps/sparc/fpu/math_private.h: Remove.
7946 * sysdeps/i386/fpu/fenv_private.h: Move to ....
7947 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
7948 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
7950 * sysdeps/x86_64/fpu/math_private.h: Do not include
7951 <sysdeps/i386/fpu/fenv_private.h>.
7953 2018-08-28 Florian Weimer <fweimer@redhat.com>
7956 * posix/tst-regcomp-truncated.c: New file.
7957 * posix/Makefile (tests): Add it.
7958 (tst-regcomp-truncated.out): Depend on generated locales.
7960 2018-08-28 Florian Weimer <fweimer@redhat.com>
7962 * support/test-container.c (main): Treat unshare failure with
7963 EPERM as an unsupported test.
7965 2018-08-28 Florian Weimer <fweimer@redhat.com>
7968 nscd: Fix use-after-free in addgetnetgrentX and its callers.
7969 * nscd/netgroupcache.c
7970 (addgetnetgrentX): Add tofreep parameter. Do not free
7971 heap-allocated buffer.
7972 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
7973 (addgetnetgrentX_ignore): New function.
7974 (addgetnetgrent): Call it.
7975 (readdgetnetgrent): Likewise.
7977 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7979 * string/memmem.c: Use memcmp for first match.
7981 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7984 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
7986 2018-08-27 DJ Delorie <dj@redhat.com>
7988 * support/Makefile (others): Don't list programs explicitly as a
7989 dependency of "others".
7991 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7993 * sysdeps/generic/math-tests-trap-force.h: New file.
7994 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
7995 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
7996 * sysdeps/powerpc/math-tests.h: Remove file.
7997 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
7999 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
8000 Torvald Riegel <triegel@redhat.com>
8003 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
8004 Update r to include the set wake-request flag if waiters are
8005 remaining after spinning.
8007 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8009 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
8011 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
8014 regex: fix uninitialized memory access
8015 I introduced this bug into gnulib in commit
8016 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
8017 eventually it was merged into glibc. The bug was found by
8018 project-repo <bugs@feusi.co> and reported here:
8019 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
8020 Diagnosis and draft fix reported by Assaf Gordon here:
8021 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
8022 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
8023 * posix/regex_internal.c (build_wcs_upper_buffer):
8024 Fix bug when mbrtowc returns 0.
8026 2018-08-24 Carlos O'Donell <carlos@redhat.com>
8028 * po/be.po: Update translation.
8030 2018-08-24 DJ Delorie <dj@delorie.com>
8032 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
8035 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8038 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
8039 create temporary files in source tree.
8041 2018-08-24 Joseph Myers <joseph@codesourcery.com>
8043 * sysdeps/generic/math-tests-trap.h: New file.
8044 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
8045 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
8046 * sysdeps/aarch64/math-tests.h: Remove file.
8047 * sysdeps/arm/math-tests.h: Likewise.
8048 * sysdeps/riscv/math-tests.h: Likewise.
8049 * sysdeps/aarch64/math-tests-trap.h: New file.
8050 * sysdeps/arm/math-tests-trap.h: Likewise.
8051 * sysdeps/riscv/math-tests-trap.h: Likewise.
8053 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8055 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
8056 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
8057 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
8058 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
8059 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
8060 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
8061 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8062 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
8063 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
8064 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8065 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8066 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8067 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8068 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
8069 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
8070 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
8071 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8072 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8074 2018-08-23 Joseph Myers <joseph@codesourcery.com>
8076 * sysdeps/generic/math-tests-exceptions.h: New file.
8077 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
8078 (EXCEPTION_TESTS_float): Do not define here.
8079 (EXCEPTION_TESTS_double): Likewise.
8080 (EXCEPTION_TESTS_long_double): Likewise.
8081 (EXCEPTION_TESTS_float128): Likewise.
8082 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
8084 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
8085 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
8086 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
8087 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
8088 * sysdeps/mips/math-tests.h: Likewise.
8089 * sysdeps/nios2/math-tests.h: Likewise.
8090 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8091 (EXCEPTION_TESTS_float): Do not define here.
8092 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
8093 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
8094 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
8096 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8098 * NEWS: Move optimized sinf entry to 2.29.
8100 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8102 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
8104 2018-08-22 DJ Delorie <dj@redhat.com>
8106 * Makefile (testroot.pristine): New rules to initialize the
8107 test-in-container "testroot".
8108 * Makerules (all-testsuite): Add tests-container.
8109 * Rules (tests-expected): Add tests-container.
8110 (binaries-all-tests): Likewise.
8111 (tests-container): New, run these tests in the testroot container.
8112 * support/Makefile (others): Add *-container, support_paths.c,
8113 xmkdirp, and links-dso-program.
8114 * support/links-dso-program-c.c: New.
8115 * support/links-dso-program.cc: New.
8116 * support/test-container.c: New.
8117 * support/shell-container.c: New.
8118 * support/echo-container.c: New.
8119 * support/true-container.c: New.
8120 * support/xmkdirp.c: New.
8121 * support/xsymlink.c: New.
8122 * support/support_paths.c: New.
8123 * support/support.h: Add support paths prototypes.
8124 * support/xunistd.h: Add xmkdirp () and xsymlink ().
8126 * nss/tst-nss-test3.c: Convert to test-in-container.
8127 * nss/tst-nss-test3.root/: New.
8129 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
8131 regex: port Gnulib code to z/OS POSIX environment
8132 Problem reported by Arnold Robbins in:
8133 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
8134 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
8137 2018-08-22 Joseph Myers <joseph@codesourcery.com>
8139 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
8140 (ROUNDING_TESTS_double): Remove.
8141 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
8142 (ROUNDING_TESTS_double): Remove.
8143 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
8144 (ROUNDING_TESTS_double): Remove.
8145 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
8146 (ROUNDING_TESTS_float): Remove.
8147 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
8148 (ROUNDING_TESTS_float): Remove.
8149 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
8150 (ROUNDING_TESTS_float): Remove.
8151 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
8153 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8154 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8156 * sysdeps/generic/math-tests-rounding.h: New file.
8157 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
8158 (ROUNDING_TESTS_float): Do not define here.
8159 (ROUNDING_TESTS_double): Likewise.
8160 (ROUNDING_TESTS_long_double): Likewise.
8161 (ROUNDING_TESTS_float128): Likewise.
8162 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
8163 (ROUNDING_TESTS_double): Undefine before defining.
8164 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
8165 (ROUNDING_TESTS_double): Undefine before defining.
8166 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
8167 (ROUNDING_TESTS_double): Undefine before defining.
8168 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
8169 (ROUNDING_TESTS_float): Undefine before defining.
8170 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
8171 (ROUNDING_TESTS_float): Undefine before defining.
8172 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
8173 (ROUNDING_TESTS_float): Undefine before defining.
8174 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
8175 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
8177 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
8178 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
8179 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
8180 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8181 (ROUNDING_TESTS_float): Do not define here.
8182 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
8183 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
8184 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
8185 (ROUNDING_TESTS_float): Likewise.
8186 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
8187 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
8188 * sysdeps/mips/math-tests.h [__mips_soft_float]
8189 (ROUNDING_TESTS_float): Likewise.
8190 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
8191 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
8192 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
8193 (ROUNDING_TESTS_double): Likewise.
8194 (ROUNDING_TESTS_long_double): Likewise.
8196 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
8198 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
8199 (PF_XDP): New macro.
8200 (AF_XDP): New macro.
8201 (SOL_XDP): New macro.
8203 2018-08-21 Joseph Myers <joseph@codesourcery.com>
8205 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
8206 (TCP_INQ): Likewise.
8207 (TCP_CM_INQ): Likewise.
8208 (TCP_REPAIR_ON): Likewise.
8209 (TCP_REPAIR_OFF): Likewise.
8210 (TCP_REPAIR_OFF_NO_WP): Likewise.
8211 (struct tcp_zerocopy_receive): New type.
8213 2018-08-21 Florian Weimer <fweimer@redhat.com>
8215 * support/support.h (support_descriptor_supports_holes): Declare.
8216 * support/Makefile (libsupport-routines): Add
8217 support_descriptor_supports_holes.
8218 * support/support_descriptor_supports_holes.c: New file.
8219 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
8220 and stop testing if holes are not supported.
8221 * io/test-lfs.c (do_prepare): Likewise.
8222 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
8224 * timezone/tst-tzset.c (create_tz_file): Likewise.
8225 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
8227 (do_prepare): Set it.
8228 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
8230 2018-08-21 Florian Weimer <fweimer@redhat.com>
8233 * Makeconfig (+cflags): Do not sort (and deduplicate).
8235 2018-08-21 Florian Weimer <fweimer@redhat.com>
8237 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
8238 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
8240 2018-08-20 Florian Weimer <fweimer@redhat.com>
8242 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
8243 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
8245 2018-08-20 Joseph Myers <joseph@codesourcery.com>
8247 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
8248 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
8249 and ssi_arch members.
8251 * elf/elf.c (NT_VMCOREDD): New macro.
8252 (AT_MINSIGSTKSZ): Likewise.
8254 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8256 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8257 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
8258 s_cosf-ppc64 and s_cosf-power8.
8259 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
8260 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8261 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8262 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
8266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
8267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8269 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
8270 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8272 2018-08-17 Florian Weimer <fweimer@redhat.com>
8274 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8276 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
8278 * malloc/malloc.c (_int_malloc): Additional binning code checks.
8280 2018-08-16 Florian Weimer <fweimer@redhat.com>
8282 * configure.ac: Add --with-nonshared-cflags option.
8283 * config.make.in (extra-nonshared-cflags): Set variable.
8284 * Makeconfig (CFLAGS-.oS): Use it.
8285 * manual/install.texi (Configuring and compiling): Document
8286 --with-nonshared-cflags.
8287 * configure: Regenerate.
8288 * INSTALL: Likewise.
8290 2018-08-16 Florian Weimer <fweimer@redhat.com>
8292 * Makeconfig (ASFLAGS): Always append required assembler flags.
8294 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
8296 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
8297 (malloc_consolidate): Likewise.
8299 2018-08-16 Pochang Chen <johnchen902@gmail.com>
8301 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
8303 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8305 * benchtests/bench-strlen.c (do_test): Allocate buffers before
8308 * benchtests/bench-strlen.c: Print performance numbers in json.
8310 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8312 * sysdeps/powerpc/powerpc64/multiarch/Makefile
8313 (sysdep_routines): Build strcmp-power9 and strncmp-power9
8314 only for little endian.
8315 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8316 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
8317 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
8318 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
8319 Add check for little endian.
8320 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8321 (__strcmp_power9): Add check for little endian.
8322 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
8323 Add check for little endian.
8324 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8325 (__strncmp_power9): Add check for little endian.
8326 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
8327 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
8328 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
8329 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
8330 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
8332 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
8334 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
8335 [!STRLEN](STRLEN): Set to __strlen.
8336 * sysdeps/aarch64/multiarch/strlen.c: New file.
8337 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
8338 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
8339 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8340 (__libc_ifunc_impl_list): Add strlen.
8341 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8342 strlen_generic and strlen_asimd.
8344 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8346 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
8347 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
8348 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8350 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8352 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
8354 2018-08-14 Florian Weimer <fweimer@redhat.com>
8357 * include/stdio.h (__vfxprintf): Declare.
8358 * stdio-common/fxprintf.c (__vfxprintf): New function.
8359 (__fxprintf): Call it.
8360 * misc/err.c (convert_and_print): Remove function.
8361 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
8362 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
8363 * misc/Makefile (tests): Add tst-warn-wide.
8364 * misc/tst-warn-wide.c: New file.
8366 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
8367 Szabolcs Nagy <szabolcs.nagy@arm.com>
8369 * NEWS: Mention sinf, cosf, sincosf.
8370 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
8371 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
8372 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
8373 constants rather than including generic sincosf.h.
8374 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
8375 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
8376 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
8377 (reduced_cos): Remove.
8378 (sinf_poly): New function.
8379 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
8381 2018-08-14 Florian Weimer <fweimer@redhat.com>
8385 * nss/nss_files/files-alias.c (get_next_alias): During :include:
8386 processing, bail out if no room, and close the stream before
8388 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
8389 (tst-nss-files-alias-leak): Link with libdl.
8390 (tst-nss-files-alias-leak.out): Depend on nss_files.
8392 * nss/tst-nss-files-alias-leak.c: New file.
8394 2018-08-14 Florian Weimer <fweimer@redhat.com>
8396 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
8397 server_user, stat_user.
8399 2018-08-13 Joseph Myers <joseph@codesourcery.com>
8401 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8403 (io_pgetevents): New syscall.
8406 * manual/install.texi (Configuring and compiling): Do not list
8407 tools used for testing pretty printers here.
8408 (Tools for Compilation): List Python, PExpect and GDB here.
8409 Update descriptions of uses of Perl and Python.
8410 * INSTALL: Regenerate.
8412 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8415 2018-08-13 Florian Weimer <fweimer@redhat.com>
8417 * misc/error.c (error): Add missing va_end call.
8418 (error_at_line): Likewise.
8420 2018-08-13 Florian Weimer <fweimer@redhat.com>
8422 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
8424 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8426 * benchtests/scripts/benchout.schema.json (properties): Add
8429 * benchtests/bench-skeleton.c (main): Add duration and
8430 iterations attributes.
8432 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
8434 regex: Gnulib unibyte RRI uses bytes not chars
8435 Adjust the non-glibc code to agree with what Gawk needs for
8436 rational range interpretation (RRI) for regular expression ranges.
8437 In unibyte locales, Gawk wants ranges to use the underlying byte
8438 rather than the character code point. This change does not affect
8440 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
8441 In unibyte locales, use the byte value rather than
8442 running it through btowc.
8444 2018-08-10 Joseph Myers <joseph@codesourcery.com>
8446 * sysdeps/generic/math-tests-snan.h: New file.
8447 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
8448 (SNAN_TESTS_float): Do not define here.
8449 (SNAN_TESTS_double): Likewise.
8450 (SNAN_TESTS_long_double): Likewise.
8451 (SNAN_TESTS_float128): Likewise.
8452 * sysdeps/i386/fpu/math-tests-snan.h: New file.
8453 * sysdeps/i386/fpu/math-tests.h: Remove file.
8454 * sysdeps/ia64/math-tests-snan.h: New file.
8455 * sysdeps/ia64/math-tests.h: Remove file.
8456 * sysdeps/x86/math-tests.h: Likewise.
8457 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
8459 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8460 Szabolcs Nagy <szabolcs.nagy@arm.com>
8462 * math/Makefile: Add s_sincosf_data.c.
8463 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
8464 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
8465 (sincosf_poly): Likewise.
8466 (reduce_small): Likewise.
8467 (reduce_large): Likewise.
8468 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
8469 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
8470 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
8471 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
8473 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8474 Szabolcs Nagy <szabolcs.nagy@arm.com>
8476 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
8477 (converttoint): Use lround.
8478 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
8479 document the semantics when TOINT_INTRINSICS is set.
8480 (converttoint): Likewise.
8481 (TOINT_RINT): Remove.
8482 (TOINT_SHIFT): Remove.
8483 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
8486 2018-08-10 Florian Weimer <fweimer@redhat.com>
8489 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
8491 (__old_getdents64): Use getdents64. Convert entries without
8493 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
8494 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
8495 tst-readdir64-compat.
8497 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8499 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
8502 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8504 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
8505 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
8506 code to s390x-mcount.h and #include it.
8507 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
8508 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8511 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8513 * stdlib/Versions: Remove __fentry__.
8514 * sysdeps/i386/Versions: Add __fentry__.
8515 * sysdeps/x86_64/Versions: Add __fentry__.
8517 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8519 * sysdeps/s390/Makefile: Register the new tests.
8520 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
8521 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
8522 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
8523 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
8524 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
8525 * sysdeps/s390/tst-dl-runtime.c: New file.
8527 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8529 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8532 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8534 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8537 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8539 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8542 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8544 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8547 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8549 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8550 Use symbolic offsets for stack variables.
8552 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8554 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8555 Use symbolic offsets for stack variables.
8557 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8559 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8560 Use symbolic offsets for stack variables.
8562 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8564 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8565 Use symbolic offsets for stack variables.
8567 2018-08-09 Joseph Myers <joseph@codesourcery.com>
8569 * math/gen-libm-test.py: New file.
8570 * math/gen-libm-test.pl: Remove.
8571 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
8572 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
8574 ($(libm-test-c-noauto-obj)): Likewise.
8575 ($(libm-test-c-auto-obj)): Likewise.
8576 ($(libm-test-c-narrow-obj)): Likewise.
8577 (regen-ulps): Likewise.
8578 * math/README.libm-test: Update references to gen-libm-test.pl.
8579 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
8580 referencing gen-libm-test.pl.
8581 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
8582 * math/libm-test-support.c: Likewise.
8583 * math/libm-test-support.h: Likewise.
8584 * sysdeps/generic/libm-test-ulps: Likewise.
8586 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8588 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
8591 2018-08-08 Joseph Myers <joseph@codesourcery.com>
8593 * math/libm-test-nextdown.inc (do_test): Move comment to ....
8594 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
8596 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8598 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
8600 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
8601 __pthread_setspecific): Add hidden proto.
8602 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
8603 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
8605 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8607 * benchtests/bench-string.h (buf1_size, buf2_size): New
8609 (init_sizes): New function.
8610 (test_init): Use it.
8611 (alloc_buf, exit_error): New functions.
8612 (alloc_bufs): Use ALLOC_BUF.
8613 (realloc_bufs): Remove.
8614 * benchtests/bench-memcmp.c (do_test): Adjust.
8615 * benchtests/bench-memset-large.c (do_test): Likewise.
8616 * benchtests/bench-memset-walk.c (do_test): Likewise.
8617 * benchtests/bench-memset.c (do_test): Likewise.
8618 * benchtests/bench-strncmp.c (do_test): Likewise.
8620 2018-08-06 Andreas Schwab <schwab@suse.de>
8622 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
8623 of CONST_THREAD_AREA.
8625 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
8627 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
8628 (STATE_SAVE_MASK): Likewise.
8629 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
8630 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
8631 (STATE_SAVE_MASK): Likewise.
8632 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
8633 instead of <cpu-features.h>.
8635 2018-08-03 DJ Delorie <dj@redhat.com>
8637 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
8638 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
8640 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
8642 2018-08-03 Joseph Myers <joseph@codesourcery.com>
8644 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
8646 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
8647 * math/libm-test-logb.inc (logb_test_data): Likewise.
8649 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
8651 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
8652 * string/strstr.c (AVAILABLE): Likewise.
8654 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8656 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
8658 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
8659 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
8660 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
8662 2018-08-03 Carlos O'Donell <carlos@redhat.com>
8664 * po/be.po: Update translation.
8666 * po/be.po: Update translation.
8668 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8670 * sysdeps/x86/cpu-features-offsets.sym
8671 (rtld_global_ro_offsetof): Removed.
8672 (CPU_FEATURES_SIZE): Likewise.
8673 (CPUID_OFFSET): Likewise.
8674 (CPUID_SIZE): Likewise.
8675 (CPUID_EAX_OFFSET): Likewise.
8676 (CPUID_EBX_OFFSET): Likewise.
8677 (CPUID_ECX_OFFSET): Likewise.
8678 (CPUID_EDX_OFFSET): Likewise.
8679 (FAMILY_OFFSET): Likewise.
8680 (MODEL_OFFSET): Likewise.
8681 (FEATURE_OFFSET): Likewise.
8682 (FEATURE_SIZ): Likewise.
8683 (COMMON_CPUID_INDEX_1): Likewise.
8684 (COMMON_CPUID_INDEX_7): Likewise.
8685 (FEATURE_INDEX_1): Likewise.
8686 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
8688 2018-08-02 Carlos O'Donell <carlos@redhat.com>
8690 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
8691 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
8692 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
8693 (install-locales): Depend on install-locale-archive.
8694 (install-locale-archive): Define.
8695 (install-locale-files): Define.
8696 (build-one-locale): Define macro.
8697 * manual/install.texi (Running make install): Document.
8698 * manual/INSTALL: Regenerate.
8700 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8702 * benchtests/scripts/compare_strings.py: Import traceback.
8703 (parse_file): Pretty-print error.
8705 * NEWS: Mention the change.
8706 * elf/dl-tunables.list: Rename tune namespace to cpu.
8707 * sysdeps/powerpc/dl-tunables.list: Likewise.
8708 * sysdeps/x86/dl-tunables.list: Likewise.
8709 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
8711 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
8712 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
8713 * manual/README.tunables: Likewise.
8714 * manual/tunables.texi: Likewise.
8715 * sysdeps/powerpc/cpu-features.c: Likewise.
8716 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8717 (init_cpu_features): Likewise.
8718 * sysdeps/x86/cpu-features.c: Likewise.
8719 * sysdeps/x86/cpu-features.h: Likewise.
8720 * sysdeps/x86/cpu-tunables.c: Likewise.
8721 * sysdeps/x86_64/Makefile: Likewise.
8722 * sysdeps/x86/dl-cet.c: Likewise.
8724 2018-08-02 Joseph Myers <joseph@codesourcery.com>
8727 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
8728 [__mips_hard_float].
8729 (FE_UNDERFLOW): Likewise.
8730 (FE_OVERFLOW): Likewise.
8731 (FE_DIVBYZERO): Likewise.
8732 (FE_INVALID): Likewise.
8733 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
8734 (FE_TOWARDZERO): Define only if [__mips_hard_float].
8735 (FE_UPWARD): Likewise.
8736 (FE_DOWNWARD): Likewise.
8737 (__FE_UNDEFINED): Define if [!__mips_hard_float]
8738 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
8739 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
8740 [__mips_hard_float].
8741 (FP_ROUNDMODE): Likewise.
8742 (FP_RND_NEAREST): Likewise.
8743 (FP_RND_ZERO): Likewise.
8744 (FP_RND_PINF): Likewise.
8745 (FP_RND_MINF): Likewise.
8746 (FP_EX_INVALID): Likewise.
8747 (FP_EX_OVERFLOW): Likewise.
8748 (FP_EX_UNDERFLOW): Likewise.
8749 (FP_EX_DIVZERO): Likewise.
8750 (FP_EX_INEXACT): Likewise.
8751 (FP_INIT_ROUNDMODE): Likewise.
8752 * sysdeps/mips/nofpu/fesetenv.c: New file.
8753 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
8755 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8757 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
8758 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
8759 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
8760 conditional on [FE_UPWARD].
8762 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
8764 regex: fix memory leak in Gnulib
8765 Problem and fix reported by Assaf Gordon in:
8766 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
8767 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
8768 range_ends members too, as they are defined in 'struct
8769 re_charset_t' even if not _LIBC. This affects only Gnulib.
8771 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
8773 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
8775 (get_common_indices): This.
8776 (init_cpu_features): Updated.
8778 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8780 * sysdeps/generic/math-tests-snan-payload.h: New file.
8781 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
8782 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
8783 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
8784 * sysdeps/generic/math-tests.h: Include
8785 <math-tests-snan-payload.h>.
8786 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8787 * sysdeps/hppa/math-tests.h: Remove file.
8788 * sysdeps/mips/math-tests.h [!__mips_nan2008]
8789 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8790 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
8793 * sysdeps/generic/math-tests-snan-cast.h: New file.
8794 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
8795 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
8796 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
8797 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
8799 2018-08-01 Carlos O'Donel <carlos@redhat.com>
8801 * version.h (RELEASE): Set to "development".
8802 (VERSION): Set to "2.28.9000".
8803 * NEWS (2.29): New section.
8805 * version.h (RELEASE): Set to "stable".
8806 (VERSION): Set to "2.28".
8807 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
8808 * NEWS: Add the list of bugs fixed in 2.28.
8810 * po/ca.po: Update to latest version.
8811 * po/cs.po: Likewise
8812 * po/da.po: Likewise
8813 * po/el.po: Likewise
8814 * po/eo.po: Likewise
8815 * po/es.po: Likewise
8816 * po/fi.po: Likewise
8817 * po/fr.po: Likewise
8818 * po/gl.po: Likewise
8819 * po/hu.po: Likewise
8820 * po/ia.po: Likewise
8821 * po/id.po: Likewise
8822 * po/it.po: Likewise
8823 * po/ja.po: Likewise
8824 * po/ko.po: Likewise
8825 * po/lt.po: Likewise
8826 * po/nb.po: Likewise
8827 * po/nl.po: Likewise
8828 * po/pt_BR.po: Likewise
8829 * po/ru.po: Likewise
8830 * po/rw.po: Likewise
8831 * po/sk.po: Likewise
8832 * po/sl.po: Likewise
8833 * po/tr.po: Likewise
8834 * po/zh_CN.po: Likewise
8835 * po/zh_TW.po: Likewise
8837 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8839 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
8841 (init): ... before initializing libpthread.
8843 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
8844 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
8845 (__mach_setup_tls): ... new function.
8846 (mach_setup_tls): New alias.
8847 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
8848 __mach_setup_thread.
8849 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
8850 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
8851 * mach/Versions [libc] (mach_setup_tls): Add symbol.
8852 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
8854 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8856 * manual/install.texi: Update versions.
8857 * INSTALL: Regenerate.
8859 * manual/contrib.texi (Contributors): Update contributions.
8861 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8863 * po/be.po: Update translations.
8865 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8867 * sysdeps/sh/libm-test-ulps: Update.
8869 2018-07-30 Carlos O'Donell <carlos@redhat.com>
8871 * po/bg.po: Update translations.
8872 * po/de.po: Likewise.
8873 * po/hr.po: Likewise.
8874 * po/pt_BR.po: Likewise.
8875 * po/sv.po: Likewise.
8876 * po/vi.po: Likewise.
8878 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8881 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8882 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
8883 (CFLAGS-tst-cet-property-1.o): New.
8884 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
8885 ($(objpfx)tst-cet-property-2): Likewise.
8886 ($(objpfx)tst-cet-property-2.out): Likewise.
8887 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
8888 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
8889 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
8890 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
8891 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
8893 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8896 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
8898 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8900 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
8901 __sbrk): Do not set attribute_hidden.
8902 * sysdeps/mach/hurd/not-errno.h: New file.
8903 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8904 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
8906 2018-07-27 Carlos O'Donell <carlos@redhat.com>
8908 * po/uk.po: Update translations.
8909 * po/cs.po: Likewise.
8910 * po/pl.po: Likewise.
8912 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
8914 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
8915 parse beyond the note end.
8917 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8919 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
8920 kernel does not support OFD locks.
8921 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
8923 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8925 * sysdeps/mach/hurd/Versions (libc): Make __access and
8926 __access_noerrno external so they can override the ld symbols.
8927 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
8928 __writev, __open64, __access_noerrno extern so they can be overrided.
8929 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
8930 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8932 2018-07-26 Carlos O'Donell <carlos@redhat.com>
8934 * po/libc.pot: Regenerate.
8936 2018-07-26 Joseph Myers <joseph@codesourcery.com>
8938 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
8940 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8943 * sysdeps/x86/cpu-features.c (get_extended_indices): New
8945 (init_cpu_features): Call get_extended_indices for both Intel
8947 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
8948 Remove "for AMD" comment.
8950 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8953 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
8954 COMMON_CPUID_INDEX_80000001.
8956 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
8958 * string/tst-xbzero-opt.c (use_test_buffer): New function.
8959 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
8961 2018-07-26 Florian Weimer <fweimer@redhat.com>
8963 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
8964 aliases for symbols not in the implementation namespace.
8966 2018-07-25 Carlos O'Donell <carlos@redhat.com>
8969 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
8970 lowercase in LATIN script.
8971 * localedata/Makefile (test-input): Add en_US.UTF-8.
8972 * localedata/en_US.UTF-8.in: New file.
8973 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
8974 and restore old tests.
8975 * posix/tst-regexloc.c (do_test): Add back range expression test.
8977 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8979 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
8981 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8983 * nptl/threads.h: Move to ...
8984 * sysdeps/nptl/threads.h: ... here.
8985 * sysdeps/hurd/stdc-predef.h: New file.
8987 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8989 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8990 tst-cet-setcontext-1 if CET is enabled.
8991 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
8992 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
8994 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8996 * include/threads.h: Move to ...
8997 * sysdeps/nptl/threads.h: ... here.
8998 * sysdeps/htl/threads.h: New file.
8999 * conform/Makefile (linknamespace-libs-ISO11): Use
9000 static-thread-library instead of linking libpthread.
9001 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
9003 2018-07-25 Florian Weimer <fweimer@redhat.com>
9005 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
9006 nanoseconds into seconds.
9007 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
9008 (do_test): Likewise.
9009 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
9010 (do_test): Likewise. Avoid nanosecond overflow and spurious
9011 timeouts due to system load.
9012 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
9013 (child_wait): Increment it.
9014 (do_test): Wait as long as necessary until all expected threads
9017 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
9018 H.J. Lu <hongjiu.lu@intel.com>
9020 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
9022 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
9023 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
9024 (__push___start_context): New.
9025 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
9027 (__getcontext): Record the current shadow stack base. Save the
9028 caller's shadow stack pointer and base.
9029 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
9030 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
9031 (__push___start_context): New prototype.
9032 (__makecontext): Call __push___start_context to allocate a new
9033 shadow stack, push __start_context onto the new stack as well
9034 as the new shadow stack.
9035 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
9037 (__setcontext): Restore the target shadow stack.
9038 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
9040 (__swapcontext): Record the current shadow stack base. Save
9041 the caller's shadow stack pointer and base. Restore the target
9043 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9044 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
9045 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
9047 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9049 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
9050 tst-setcontext8 and tst-setcontext9.
9051 * stdlib/tst-setcontext6.c: New file.
9052 * stdlib/tst-setcontext7.c: Likewise.
9053 * stdlib/tst-setcontext8.c: Likewise.
9054 * stdlib/tst-setcontext9.c: Likewise.
9056 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9058 * stdlib/Makefile ((tests): Add tst-setcontext5.
9059 * stdlib/tst-setcontext5.c: New file.
9061 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9063 * stdlib/Makefile (tests): Add tst-setcontext4.
9064 * stdlib/tst-setcontext4.c: New file.
9066 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9068 * stdlib/Makefile (tests): Add tst-swapcontext1.
9069 * stdlib/tst-swapcontext1.c: New test.
9071 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9073 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
9074 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
9075 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
9076 and tst-cet-legacy-4c.
9077 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
9078 and tst-cet-legacy-mod-4.
9079 (CFLAGS-tst-cet-legacy-2.c): New.
9080 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
9081 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
9082 (CFLAGS-tst-cet-legacy-3.c): Likewise.
9083 (CFLAGS-tst-cet-legacy-4.c): Likewise.
9084 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
9085 ($(objpfx)tst-cet-legacy-1): Likewise.
9086 ($(objpfx)tst-cet-legacy-2): Likewise.
9087 ($(objpfx)tst-cet-legacy-2.out): Likewise.
9088 ($(objpfx)tst-cet-legacy-2a): Likewise.
9089 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
9090 ($(objpfx)tst-cet-legacy-4): Likewise.
9091 ($(objpfx)tst-cet-legacy-4.out): Likewise.
9092 ($(objpfx)tst-cet-legacy-4a): Likewise.
9093 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
9094 (tst-cet-legacy-4a-ENV): Likewise.
9095 ($(objpfx)tst-cet-legacy-4b): Likewise.
9096 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
9097 (tst-cet-legacy-4b-ENV): Likewise.
9098 ($(objpfx)tst-cet-legacy-4c): Likewise.
9099 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
9100 (tst-cet-legacy-4c-ENV): Likewise.
9101 * sysdeps/x86/tst-cet-legacy-1.c: New file.
9102 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
9103 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
9104 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
9105 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
9106 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
9107 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
9108 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
9109 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
9110 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
9111 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
9113 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9115 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9116 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9118 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9119 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9122 2018-07-25 Andreas Schwab <schwab@suse.de>
9125 * locale/weightwc.h (findidx): Handle the case where usrc is a
9126 prefix of cp but one character too short.
9128 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9130 * NEWS: Add ISO C threads addition.
9132 2018-07-24 Florian Weimer <fweimer@redhat.com>
9134 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9135 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
9136 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
9139 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9141 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
9142 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
9143 <sys/prctl.h> and <asm/prctl.h>.
9144 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
9145 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
9147 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
9148 ARCH_CET_LEGACY_BITMAP.
9149 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
9150 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
9151 * sysdeps/x86/libc-start.c: Include <startup.h>.
9153 2018-07-24 Florian Weimer <fweimer@redhat.com>
9155 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
9156 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
9158 2018-07-24 Rical Jasan <rj@2c3t.io>
9159 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9160 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9163 * manual/debug.texi: Update adjacent chapter name.
9164 * manual/probes.texi: Likewise.
9165 * manual/threads.texi (ISO C Threads): New section.
9166 (POSIX Threads): Convert to a section.
9168 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9169 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9172 * nptl/Makefile (tests): Add new test files.
9173 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
9174 * nptl/tst-cnd-basic.c: Likewise.
9175 * nptl/tst-cnd-broadcast.c: Likewise.
9176 * nptl/tst-cnd-timedwait.c: Likewise.
9177 * nptl/tst-mtx-basic.c: Likewise.
9178 * nptl/tst-mtx-recursive.c: Likewise.
9179 * nptl/tst-mtx-timedlock.c: Likewise.
9180 * nptl/tst-mtx-trylock.c: Likewise.
9181 * nptl/tst-thrd-basic.c: Likewise.
9182 * nptl/tst-thrd-detach.c: Likewise.
9183 * nptl/tst-thrd-sleep.c: Likewise.
9184 * nptl/tst-tss-basic.c: Likewise.
9186 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9189 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9190 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
9192 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9193 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9194 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9195 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9196 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9197 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9198 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9199 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9200 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9201 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9202 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9203 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9211 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9212 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9213 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9214 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9215 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9216 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9217 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9218 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9219 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
9220 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
9221 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
9222 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
9223 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
9225 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9226 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9227 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9228 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9229 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9230 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9231 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9232 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9233 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9234 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9235 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9236 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9243 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9244 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9245 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9246 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9247 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9248 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9249 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9250 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9253 * conform/data/threads.h-data (thread_local): New macro.
9254 (TSS_DTOR_ITERATIONS): Likewise.
9256 (tss_dtor_t): Likewise.
9257 (tss_create): New function.
9258 (tss_get): Likewise.
9259 (tss_set): Likewise.
9260 (tss_delete): Likewise.
9261 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
9262 tss_get, and tss_set objects.
9263 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9264 * nptl/tss_create.c: New file.
9265 * nptl/tss_delete.c: Likewise.
9266 * nptl/tss_get.c: Likewise.
9267 * nptl/tss_set.c: Likewise.
9268 * sysdeps/nptl/threads.h (thread_local): New define.
9269 (TSS_DTOR_ITERATIONS): Likewise.
9270 (tss_t): New typedef.
9271 (tss_dtor_t): Likewise.
9272 (tss_create): New prototype.
9273 (tss_get): Likewise.
9274 (tss_set): Likewise.
9275 (tss_delete): Likewise.
9278 * conform/data/threads.h-data (cnd_t): New type.
9279 (cnd_init): New function.
9280 (cnd_signal): Likewise.
9281 (cnd_broadcast): Likewise.
9282 (cnd_wait): Likewise.
9283 (cnd_timedwait): Likewise.
9284 (cnd_destroy): Likewise.
9285 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
9286 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
9288 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9289 * nptl/cnd_broadcast.c: New file.
9290 * nptl/cnd_destroy.c: Likewise.
9291 * nptl/cnd_init.c: Likewise.
9292 * nptl/cnd_signal.c: Likewise.
9293 * nptl/cnd_timedwait.c: Likewise.
9294 * nptl/cnd_wait.c: Likewise.
9295 * sysdeps/nptl/threads.h (cnd_t): New type.
9296 (cnd_init): New prototype.
9297 (cnd_signa): Likewise.
9298 (cnd_broadcast): Likewise.
9299 (cnd_wait): Likewise.
9300 (cnd_timedwait): Likewise.
9301 (cnd_destroy): Likewise.
9304 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
9305 (once_flag): New type.
9306 (call_once): New function.
9307 * nptl/Makefile (libpthread-routines): Add call_once object.
9308 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
9309 * nptl/call_once.c: New file.
9310 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
9311 (once_flag): New type.
9312 (call_once): New prototype.
9315 * conform/data/threads.h-data (mtx_plain): New constant.
9316 (mtx_recursive): Likewise.
9317 (mtx_timed): Likewise.
9319 (mtx_init): New function.
9320 (mtx_lock): Likewise.
9321 (mtx_timedlock): Likewise.
9322 (mtx_trylock): Likewise.
9323 (mtx_unlock): Likewise.
9324 (mtx_destroy): Likewise.
9325 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
9326 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
9327 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
9328 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
9329 * nptl/mtx_destroy.c: New file.
9330 * nptl/mtx_init.c: Likewise.
9331 * nptl/mtx_lock.c: Likewise.
9332 * nptl/mtx_timedlock.c: Likewise.
9333 * nptl/mtx_trylock.c: Likewise.
9334 * nptl/mtx_unlock.c: Likewise.
9335 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
9336 (mtx_recursive): Likewise.
9337 (mtx_timed): Likewise.
9339 (mtx_init): New prototype.
9340 (mtx_lock): Likewise.
9341 (mtx_timedlock): Likewise.
9342 (mtx_trylock): Likewise.
9343 (mtx_unlock): Likewise.
9344 (mtx_destroy): Likewise.
9347 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
9348 (linknamespace-libs-ISO11): Add libpthread.a.
9349 * conform/data/threads.h-data: New file: add C11 thrd_* types and
9351 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
9352 * nptl/Makefile (headers): Add threads.h.
9353 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
9354 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
9356 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
9357 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
9358 thrd_join, thrd_sleep, and thrd_yield symbols.
9359 * nptl/descr.h (struct pthread): Add c11 field.
9360 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
9361 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
9362 routine with expected function prototype.
9363 (__pthread_create_2_1): Add C11 threads check based on attribute
9365 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
9366 * nptl/thrd_create.c: New file.
9367 * nptl/thrd_current.c: Likewise.
9368 * nptl/thrd_detach.c: Likewise.
9369 * nptl/thrd_equal.c: Likewise.
9370 * nptl/thrd_exit.c: Likewise.
9371 * nptl/thrd_join.c: Likewise.
9372 * nptl/thrd_priv.h: Likewise.
9373 * nptl/thrd_sleep.c: Likewise.
9374 * nptl/thrd_yield.c: Likewise.
9375 * include/threads.h: Likewise.
9377 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9379 * bits/indirect-return.h: New file.
9380 * misc/sys/cdefs.h (__glibc_has_attribute): New.
9381 * sysdeps/x86/bits/indirect-return.h: Likewise.
9382 * stdlib/Makefile (headers): Add bits/indirect-return.h.
9383 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
9384 (swapcontext): Add __INDIRECT_RETURN.
9385 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
9386 (prepare_test_buffer): Use it.
9388 2018-07-24 Andreas Schwab <schwab@suse.de>
9391 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
9392 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
9394 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9396 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
9397 Redefine if shadow stack is enabled.
9398 (SYSCALL_ERROR_LABEL): Likewise.
9399 (__vfork): Pop shadow stack and jump back to to caller directly
9400 when shadow stack is in use.
9401 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
9402 Redefine if shadow stack is enabled.
9403 (SYSCALL_ERROR_LABEL): Likewise.
9404 (__vfork): Pop shadow stack and jump back to to caller directly
9405 when shadow stack is in use.
9407 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9409 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
9412 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
9415 2018-07-20 Joseph Myers <joseph@codesourcery.com>
9417 * scripts/build-many-glibcs.py (Context.checkout): Default
9418 binutils version to 2.31 branch.
9420 2018-07-20 Zong Li <zong@andestech.com>
9422 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
9423 URL of gcc's tarball.
9425 2018-07-20 Florian Weimer <fweimer@redhat.com>
9428 * posix/regcomp.c (build_equiv_class): When comparing weights, do
9429 not compare an extra byte after the end of the weights.
9431 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9433 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
9435 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
9437 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
9438 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
9439 * scripts/check-execstack.awk: Consider `xfail' variable containing a
9440 list of libraries whose stack executability is expected.
9441 * elf/Makefile ($(objpfx)check-execstack.out): Pass
9442 $(check-execstack-xfail) to check-execstack.awk through `xfail'
9444 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
9445 libc.so libpthread.so.
9447 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
9449 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
9451 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
9453 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
9455 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
9457 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9459 * benchtests/scripts/compare_bench.py (__main__): use the argparse
9460 library to improve command line parsing.
9461 (__main__): make schema file as optional parameter (--schema),
9462 defaulting to benchtests/scripts/benchout.schema.json.
9463 (main): move out of the parsing stuff to __main_ and leave it
9464 only as caller of main comparison functions.
9466 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
9468 * NEWS: Add a note for Intel CET status.
9469 * manual/install.texi: Likewise.
9470 * INSTALL: Regenerated.
9472 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
9475 * localedata/locales/oc_FR (mon): Rename to...
9476 (alt_mon): This, then update October (typo fix).
9477 (mon): New content (genitive case, month names preceded by
9481 * localedata/locales/oc_FR (abday): Update all items.
9482 (day): Update Wednesday and Saturday (typo fixes).
9483 (abmon): Update all items, except May.
9484 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
9485 (LC_IDENTIFICATION): Bump the revision number and date.
9486 Keep the "category" entries in alphabetic order.
9487 (LC_ADDRESS): Remove no longer needed comment.
9488 (LC_COLLATE): Use “copy "ca_ES"”.
9489 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
9492 2018-07-18 Joseph Myers <joseph@codesourcery.com>
9494 * grp/tst_fgetgrent.c: Include <unistd.h>.
9495 (main): Use mkstemp instead of tmpnam.
9496 * io/test-utime.c (main): Likewise.
9497 * posix/annexc.c (macrofile): Change to modifiable array.
9498 (main): Remove macrofile here.
9499 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9501 (check_header): Do not remove macrofile here.
9502 * posix/bug-getopt1.c: Include <stdlib.h>.
9503 (do_test): Use mkstemp instead of tmpnam.
9504 * posix/bug-getopt2.c: Include <stdlib.h>.
9505 (do_test): Use mkstemp instead of tmpnam.
9506 * posix/bug-getopt3.c: Include <stdlib.h>.
9507 (do_test): Use mkstemp instead of tmpnam.
9508 * posix/bug-getopt4.c: Include <stdlib.h>.
9509 (do_test): Use mkstemp instead of tmpnam.
9510 * posix/bug-getopt5.c: Include <stdlib.h>.
9511 (do_test): Use mkstemp instead of tmpnam.
9512 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
9513 (main): Use mkstemp instead of tmpnam.
9514 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
9515 (main): Use mkstemp instead of tmpnam.
9516 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
9517 (main): use mkstemp instead of tmpnam.
9518 * stdlib/isomac.c (macrofile): Change to modifiable array.
9519 (main): Remove macrofile here.
9520 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9522 (check_header): Do not remove macrofile here.
9524 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9526 * manual/tunables.texi: Document glibc.tune.x86_ibt and
9527 glibc.tune.x86_shstk.
9529 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9531 * NEWS: Mention --enable-cet.
9532 * manual/install.texi: Document --enable-cet.
9533 * INSTALL: Regenerated.
9535 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9537 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
9538 Add _CET_NOTRACK before indirect jump to jump table.
9540 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9542 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
9543 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9546 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9548 * sysdeps/i386/i686/multiarch/strcat-sse2.S
9549 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9552 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9554 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
9555 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9558 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9560 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
9561 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9564 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9566 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
9567 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9569 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
9571 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9573 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
9574 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9577 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9579 * sysdeps/i386/i686/multiarch/memset-sse2.S
9580 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9583 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9585 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
9586 indirect jump to jump table.
9588 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9590 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
9591 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9595 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9597 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
9598 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9602 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9604 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9605 _CET_NOTRACK before indirect jump to jump table.
9607 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9609 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
9610 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9613 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9615 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
9616 indirect jump to jump table.
9618 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
9621 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
9622 (LOCALES): Likewise.
9623 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
9624 * localedata/locales/sah_RU: New file.
9625 * localedata/sah_RU.UTF-8.in: New file.
9627 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9629 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
9631 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9632 _CET_ENDBR to indirect jump targets and adjust jump destination
9634 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
9636 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9637 _CET_ENDBR to indirect jump targets and adjust jump destination
9639 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
9641 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
9642 _CET_ENDBR to indirect jump targets and adjust jump destination
9645 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9647 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9650 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9652 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
9654 (_dl_tlsdesc_undefweak): Likewise.
9655 (_dl_tlsdesc_dynamic): Likewise.
9656 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
9657 (_dl_tlsdesc_resolve_rel): Likewise.
9658 (_dl_tlsdesc_resolve_rela): Likewise.
9659 (_dl_tlsdesc_resolve_hold): Likewise.
9660 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
9661 (_dl_tlsdesc_undefweak): Likewise.
9662 (_dl_tlsdesc_dynamic): Likewise.
9663 (_dl_tlsdesc_resolve_rela): Likewise.
9664 (_dl_tlsdesc_resolve_hold): Likewise.
9666 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9668 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
9670 * sysdeps/x86_64/crti.S (_init): Likewise.
9673 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
9676 * localedata/locales/os_RU (mon): Rename to...
9678 (mon): Import from CLDR (genitive case).
9680 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9682 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
9683 cet-tunables.h> when CET is enabled.
9685 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
9688 * configure.ac: Add --enable-cet.
9689 * configure: Regenerated.
9690 * elf/Makefille (all-built-dso): Add a comment.
9691 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
9692 Include <dl-prop.h>.
9693 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
9695 * elf/dl-open.c: Include <dl-prop.h>.
9696 (dl_open_worker): Call _dl_open_check.
9697 * elf/rtld.c: Include <dl-prop.h>.
9698 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
9700 * sysdeps/generic/dl-prop.h: New file.
9701 * sysdeps/i386/dl-cet.c: Likewise.
9702 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
9703 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
9704 * sysdeps/x86/cet-tunables.h: Likewise.
9705 * sysdeps/x86/check-cet.awk: Likewise.
9706 * sysdeps/x86/configure: Likewise.
9707 * sysdeps/x86/configure.ac: Likewise.
9708 * sysdeps/x86/dl-cet.c: Likewise.
9709 * sysdeps/x86/dl-procruntime.c: Likewise.
9710 * sysdeps/x86/dl-prop.h: Likewise.
9711 * sysdeps/x86/libc-start.h: Likewise.
9712 * sysdeps/x86/link_map.h: Likewise.
9713 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
9715 (_dl_runtime_profile): Likewise.
9716 (_dl_runtime_resolve_shstk): New.
9717 (_dl_runtime_profile_shstk): Likewise.
9718 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
9720 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
9721 (CFLAGS-.os): Likewise.
9722 (CFLAGS-.op): Likewise.
9723 (CFLAGS-.oS): Likewise.
9724 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
9726 (tests-special): Add $(objpfx)check-cet.out.
9727 (cet-built-dso): New.
9728 (+$(cet-built-dso:=.note)): Likewise.
9729 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
9730 ($(objpfx)check-cet.out): New.
9731 (generated): Add check-cet.out.
9732 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
9734 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
9735 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9736 (init_cpu_features): Call get_cet_status to check CET status
9737 and update dl_x86_feature_1 with CET status. Call
9738 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
9739 (set_x86_shstk). Disable and lock CET in libc.a.
9740 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
9741 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
9742 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9743 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
9744 (_CET_ENDBR): Define if not defined.
9745 (ENTRY): Add _CET_ENDBR.
9746 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
9748 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
9750 (_dl_runtime_profile): Likewise.
9752 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
9755 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
9756 restore r2 on longjmp.
9757 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
9759 Added rules to build test tst-setjmp-bug21895-static.
9760 Added module setjmp-bug21895 and rules to build a shared object from it.
9761 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
9762 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
9764 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
9766 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
9767 * benchtests/bench-strstr.c: Likewise.
9768 * string/memmem.c (FASTSEARCH): Define.
9769 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
9770 Add support for FASTSEARCH.
9771 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
9772 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
9773 (FASTSEARCH): Define.
9774 * string/test-strcasestr.c: Rename __strnlen to strnlen.
9775 * string/test-strstr.c: Likewise.
9777 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
9779 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
9780 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
9782 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
9783 H.J. Lu <hongjiu.lu@intel.com>
9785 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
9786 (__longjmp): Restore shadow stack pointer if shadow stack is
9787 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9788 isn't defined for __longjmp_cancel.
9789 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
9790 (_setjmp): Save shadow stack pointer if shadow stack is enabled
9791 and SHADOW_STACK_POINTER_OFFSET is defined.
9792 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
9793 (setjmp): Save shadow stack pointer if shadow stack is enabled
9794 and SHADOW_STACK_POINTER_OFFSET is defined.
9795 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
9796 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9797 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9798 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
9800 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9801 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9802 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
9803 Remove jmp_buf-ssp.sym.
9804 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9806 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9807 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9808 * sysdeps/x86/Makefile (gen-as-const-headers): Add
9810 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
9811 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
9812 (__longjmp): Restore shadow stack pointer if shadow stack is
9813 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9814 isn't defined for __longjmp_cancel.
9815 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
9816 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9817 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9819 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
9822 * nptl/pthread_create.c: Include <tls-setup.h>.
9823 (__pthread_create_2_1): Call tls_setup_tcbhead.
9824 * sysdeps/generic/tls-setup.h: New file.
9825 * sysdeps/x86/nptl/tls-setup.h: Likewise.
9826 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
9827 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
9829 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
9831 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9832 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
9833 (X86_FEATURE_1_SHSTK): Likewise.
9834 (CET_ENABLED): Likewise.
9835 (IBT_ENABLED): Likewise.
9836 (SHSTK_ENABLED): Likewise.
9838 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
9841 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
9842 (LOCALES): Likewise.
9843 * localedata/dsb_DE.UTF-8.in: New file.
9844 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
9846 2018-07-12 Florian Weimer <fweimer@redhat.com>
9848 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
9849 __mprotect, not mprotect.
9851 2018-07-11 Florian Weimer <fweimer@redhat.com>
9853 * io/Makefile (headers): Add bits/statx.h.
9855 2018-07-10 Mike FABIAN <mfabian@redhat.com>
9857 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
9858 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
9860 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
9861 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
9864 2018-07-10 Florian Weimer <fweimer@redhat.com>
9866 * io/Makefile (routines): Add statx.
9867 (tests-internal): Add tst-statx.
9868 * io/Versions (GLIBC_2.28): Export statx.
9869 * io/bits/statx.h: New file.
9870 * io/sys/stat.h [__USE_GNU]: Include it.
9871 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
9872 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
9874 * io/statx.c: New file.
9875 * io/statx_generic.: Likewise.
9876 * io/tst-statx.: Likewise.
9877 * include/bits/statx.h: Likewise.
9878 * sysdeps/unix/sysv/linux/kernel-features.h
9879 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
9880 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9881 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
9882 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
9884 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9885 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
9886 * sysdeps/unix/sysv/linux/statx.c: New file.
9887 * manual/filesys.texi: Note that statx is undocumented.
9888 * sysdeps/**/libc*.abilist: Update.
9890 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9892 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
9893 a kernel issue which lead to test failure in some cases.
9895 2018-07-10 Florian Weimer <fweimer@redhat.com>
9898 * posix/regexec.c (check_node_accept_bytes): When comparing
9899 weights, do not compare an extra byte after the end of the
9902 2018-07-10 Florian Weimer <fweimer@redhat.com>
9904 * libio/readline.c: Fix copyright year.
9905 * libio/tst-readline.c Likewise.
9906 * nss/tst-nss-files-hosts-getent.c: Likewise.
9908 2018-07-06 Florian Weimer <fweimer@redhat.com>
9911 * nss/nss_files/files-XXX.c (internal_getent): Use
9912 __libc_readline_unlocked. Seek back to the start of the line if
9913 parsing failes with ERANGE.
9914 (get_contents_ret, get_contents): Remove.
9915 * nss/tst-nss-files-hosts-getent.c: New file.
9916 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
9917 (tst-nss-files-hosts-getent): Link with -ldl.
9919 2018-07-06 Florian Weimer <fweimer@redhat.com>
9921 * include/stdio.h (__libc_readline_unlocked): Declare.
9922 (__ftello64, __fseeko64): Declare aliases.
9923 * libio/readline.c: New file.
9924 * libio/tst-readline.c: Likewise.
9925 (routines): Add readline.
9926 (tests-internal): Add tst-readlime.
9927 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
9928 __libc_readline_unlocked.
9929 * libio/fseeko.c (__fseeko): Rename from fseeko.
9930 (fseeko): Add alias.
9931 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
9932 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
9933 (fseeko64): Add alias.
9934 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
9935 * libio/ftello64.c (__ftello64): Rename from ftello64.
9936 (ftello64): Add alias.
9938 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9940 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
9943 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9945 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
9946 Use dl_hwcap without masking.
9947 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
9950 2018-07-06 Florian Weimer <fweimer@redhat.com>
9952 * conform/conformtest.pl (checknamespace): Escape literal braces
9953 in regular expressions.
9955 2018-07-06 Amit Pawar <amit.pawar@amd.com>
9957 * sysdeps/x86/cpu-features.c (get_common_indeces):
9958 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
9959 * sysdeps/x86/cpu-features.c (init_cpu_features):
9960 AVX_Fast_Unaligned_Load is disabled for Excavator core.
9962 2018-07-05 Florian Weimer <fweimer@redhat.com>
9964 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
9966 (CFLAGS-elf-init.oS): Likewise.
9968 2018-07-05 Florian Weimer <fweimer@redhat.com>
9969 Carlos O'Donell <carlos@redhat.com>
9971 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
9972 $(no-stack-protector). stack_chk_fail_local.c can be compiled
9973 with stack protector enabled because there is no risk of infinite
9976 2018-07-05 Maciej W. Rozycki <macro@mips.com>
9980 * libc-abis (ABSOLUTE): New ABI.
9981 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
9982 * NEWS: Mention the new ABI.
9984 2018-07-05 Florian Weimer <fweimer@redhat.com>
9987 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
9988 (RENAME_WHITEOUT): Define.
9989 [__USE_GNU] (renameat2): Declare.
9990 * stdio-common/Makefile (routines): Add renameat2.
9991 (tests): Add tst-renameat2.
9992 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
9993 * stdio-common/renameat2.c: New file.
9994 * stdio-common/tst-renameat2.c: Likewise.
9995 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
9996 * manual/filesys.texi (Temporary Files): Note that renameat2 is
9998 * sysdeps/unix/sysv/linux/kernel-features.h
9999 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
10000 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10001 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10002 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10003 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10004 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10005 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
10006 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10007 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
10008 * include/stdio.h (__renameat): Add alias for renameat.
10009 * stdio-common/renameat.c (__renameat): Rename from renameat.
10010 Add hidden definition and alias.
10011 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10012 * sysdeps/mach/hurd/renameat.c: Likewise.
10013 * sysdeps/**/libc*.abilist: Add renameat2.
10015 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10017 * posix/bug-regex33.c: Fix build after regex sync.
10019 2018-07-04 Carlos O'Donell <carlos@redhat.com>
10022 * localedata/tst-langinfo-setlocale.c: New file.
10023 * localedata/tst-langinfo-setlocale-static.c: New file.
10024 * localedata/tst-langinfo-newlocale.c: New file.
10025 * localedata/tst-langinfo-newlocale-static.c: New file.
10026 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
10027 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
10028 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
10029 (tests-static): Remove tst-langinfo-static. Add
10030 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
10031 (tests-special): Remove $(objpfx)tst-langinfo.out,
10032 $(objpfx)tst-langinfo-static.out. Add
10033 $(objpfx)tst-langinfo-setlocale.out,
10034 $(objpfx)tst-langinfo-newlocale.out,
10035 $(objpfx)tst-langinfo-setlocale-static.out,
10036 $(objpfx)tst-langinfo-newlocale-static.out.
10037 ($(objpfx)tst-langinfo.out): Remove.
10038 ($(objpfx)tst-langinfo-static.out): Remove.
10039 ($(objpfx)tst-langinfo-newlocale.out): New target.
10040 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
10041 (test-xfail-tst-langinfo-newlocale-static): Add.
10042 ($(objpfx)tst-langinfo-setlocale.out): New target.
10043 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
10044 * localedata/tst-langinfo.c: Call test_locale.
10045 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
10048 2018-07-04 Florian Weimer <fweimer@redhat.com>
10050 testrun.sh: Implement --tool=strace, --tool=valgrind
10051 * Makefile (testrun-script): Define variable.
10052 (testrun.sh): Use variable.
10053 * manual/install.texi (Tools for Compilation): make 4.0 or later
10055 * configure.ac: Check for make 4.0 or later.
10056 * INSTALL: Regenerate.
10057 * configure: Likewise.
10059 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10065 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
10066 * posix/PCRE.tests: Remove invalid test.
10067 * posix/bug-regex28.c: Fix expected values for used syntax.
10068 * posix/bug-regex37.c: New file.
10069 * posix/bug-regex38.c: Likewise.
10070 * posix/regcomp.c: Sync with gnulib.
10071 * posix/regex.c: Likewise.
10072 * posix/regex.h: Likewise.
10073 * posix/regex_internal.c: Likewise.
10074 * posix/regex_internal.h: Likewise.
10075 * posix/regexec.c: Likewise.
10077 2018-06-26 Mike FABIAN <mfabian@redhat.com>
10080 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
10081 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
10082 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
10083 * localedata/unicode-gen/PropList.txt: likewise.
10084 * localedata/unicode-gen/UnicodeData.txt: likewise.
10085 * localedata/charmaps/UTF-8: Regenerate.
10086 * localedata/locales/i18n_ctype: likewise.
10087 * localedata/locales/tr_TR: likewise.
10088 * localedata/locales/translit_circle: likewise.
10089 * localedata/locales/translit_cjk_compat: likewise.
10090 * localedata/locales/translit_combining: likewise.
10091 * localedata/locales/translit_compat: likewise.
10092 * localedata/locales/translit_font: likewise.
10093 * localedata/locales/translit_fraction: likewise.
10095 2018-07-03 Florian Weimer <fweimer@redhat.com>
10098 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
10099 * stdio-common/tst-printf.sh: Adjust expected output.
10100 * LICENSES: Update.
10102 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10104 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
10107 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10109 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
10110 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
10111 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
10112 * stdio-common/tst-printfsz-islongdouble.c: New file.
10113 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
10114 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
10115 [subdir == stdio-common] (routines): Add ieee128-printf_size.
10116 [subdir == stdio-common] (tests-internal): Add
10117 test-printf-size-ieee128, and test-printf-size-ibm128.
10118 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
10119 (CFLAGS-test-printf-size-ibm128.c): New variables.
10120 [subdir == stdio-common] (tests-special): Add
10121 $(objpfx)test-printf-size-ieee128.out and
10122 $(objpfx)test-printf-size-ibm128.out.
10123 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
10124 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
10125 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
10126 __printf_sizeieee128.
10127 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
10129 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
10131 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
10134 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10136 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
10137 (exp2f_inline): Likewise.
10138 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
10139 (__math_uflowf): Likewise.
10140 (__math_may_uflowf): Likewise.
10141 (__math_divzerof): Likewise.
10142 (__math_invalidf): Likewise.
10143 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
10144 (__math_oflowf): Likewise.
10145 (__math_uflowf): Likewise.
10146 (__math_may_uflowf): Likewise.
10147 (__math_divzerof): Likewise.
10148 (__math_invalidf): Likewise.
10150 2018-06-29 DJ Delorie <dj@redhat.com>
10151 Carlos O'Donell <carlos@redhat.com>
10154 * include/libc-symbols.h: Comment the freeres framework.
10155 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
10156 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
10157 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
10158 * dlfcn/dlerror.c: Include libc-symbols.h
10159 (__dlerror_main_freeres): New function.
10160 * dlfcn/dlfreeres.c: New file.
10161 * dlfcn/sdlfreeres.c: New file.
10162 * include/dlfcn.h: Declare __dlerror_main_freeres.
10163 * malloc/set-freeres.c: Declare __libdl_freeres, and
10164 __libpthread_freeres.
10165 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
10166 the releavant libraries are loaded.
10167 * malloc/thread-freeres.c: Add comments.
10168 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
10169 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
10170 * nptl/allocatestack.c (__nptl_free_stacks): New function.
10171 (__free_stacks): Rename to...
10172 (free_stacks): ...this. Mark static.
10173 (queue_stack): Call free_stacks.
10174 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
10175 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
10176 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
10177 ptr_freeres element from struct.
10178 (pthread_functions): Remove .ptr_freeres from struct initializer.
10179 [SHARED] (nptl_freeres): Remove.
10180 * nptl/nptlfreeres.c: New file.
10182 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
10183 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
10185 (__free_stacks): Rename to...
10186 (__nptl_stacks_freeres): ...this.
10187 (__shm_directory_freeres): Declare.
10188 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
10189 (__nptl_unwind_freeres): ...this.
10190 * resolv/res-close.c: Add comment.
10191 * resolv/resolv_conf.c: Include libc-symbols.h.
10192 * string/strerror_l.c: Include libc-symbols.h.
10193 * sunrpc/rpc_thread.c: Include libc-symbols.h.
10194 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
10195 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
10196 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
10198 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10200 * stdlib/tst-strfmon_l.c: Add tests for long double.
10202 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
10205 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
10206 * localedata/locales/dsb_DE: New file.
10208 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10211 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
10213 (alt_mon): New entry, import from CLDR (nominative case).
10215 2018-06-29 Sylvain Lesage <severo@rednegra.net>
10218 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
10220 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
10222 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10223 Use vector registers.
10225 * sysdeps/aarch64/multiarch/memmove_falkor.S
10226 (__memcpy_falkor): Use vector registers.
10228 2018-06-29 Martin Sebor <msebor@redhat.com>
10230 * manual/stdio.texi (Customizing Printf): Mention interaction
10231 with GCC built-ins.
10233 2018-06-29 Maciej W. Rozycki <macro@mips.com>
10236 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
10237 `st_value' is 0 if `st_shndx' is SHN_ABS.
10238 * elf/tst-absolute-zero.c: New file.
10239 * elf/tst-absolute-zero-lib.c: New file.
10240 * elf/tst-absolute-zero-lib.lds: New file.
10241 * elf/Makefile (tests): Add `tst-absolute-zero'.
10242 (modules-names): Add `tst-absolute-zero-lib'.
10243 (LDLIBS-tst-absolute-zero-lib.so): New variable.
10244 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
10245 ($(objpfx)tst-absolute-zero: New dependency.
10247 2018-06-29 Zack Weinberg <zackw@panix.com>
10249 * configure.ac: New command-line option --disable-crypt.
10250 Force --disable-nss-crypt when --disable-crypt is given, with a
10251 warning if it was explicitly enabled.
10252 * configure: Regenerate.
10253 * config.make.in: New boolean substitution variable $(build-crypt).
10254 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
10255 when $(build-crypt).
10256 * manual/install.texi: Document --disable-crypt.
10257 * INSTALL: Regenerate.
10259 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
10260 which is never set.
10261 * conform/Makefile: Only include libcrypt.a in
10262 linknamespace-libs-xsi and linknamespace-libs-XPG4
10263 when $(build-crypt).
10264 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
10265 USE_CRYPT to 1 when $(build-crypt).
10266 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
10267 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
10268 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
10270 2018-06-29 Zack Weinberg <zackw@panix.com>
10272 * crypt/crypt.h, posix/unistd.h: Update comments and
10273 prototypes for crypt and crypt_r.
10275 * manual/crypt.texi (Cryptographic Functions): New initial
10277 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
10278 (Unpredictable Bytes): Improve initial exposition. Clarify error
10279 behavior of getentropy and getrandom.
10280 * manual/examples/genpass.c: Generate a salt using getentropy
10281 instead of the current time. Use hash $5$ (SHA-2-256).
10282 * manual/examples/testpass.c: Demonstrate validation against
10283 hashes generated with three different one-way functions.
10285 * manual/intro.texi: crypt.texi does not need an overview
10288 * manual/nss.texi, manual/memory.texi, manual/socket.texi
10289 * manual/terminal.texi: Consistently refer to "passphrases"
10290 * instead of "passwords", and to the "user database" instead
10291 * of the "password database".
10292 * manual/users.texi: Similarly. Add notes about how actual
10293 passphrase hashes are now stored in the shadow database.
10294 Remove 20-year-old junk todo note.
10296 2018-06-29 Zack Weinberg <zackw@panix.com>
10298 * manual/crypt.texi: Use a normal top-level @node declaration.
10299 Move most of the introductory text to the 'crypt' section.
10300 Move the example programs below the @deftypefun for 'crypt_r'.
10301 Move the 'getpass' section...
10302 * manual/terminal.texi: ...here.
10304 2018-06-29 Zack Weinberg <zackw@panix.com>
10305 Florian Weimer <fweimer@redhat.com>
10307 * posix/unistd.h: Do not declare encrypt.
10308 (_XOPEN_CRYPT): Remove macro definition.
10309 (crypt): Declare only for _USE_MISC.
10310 * stdlib/stdlib.h: Do not declare setkey.
10311 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
10312 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
10314 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
10315 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
10316 into compat symbols. Don't define initial_perm if it's not
10318 * crypt/cert.c: Link explicitly with the expected versions for
10319 setkey and encrypt. If they are not available at all, mark
10320 the test as unsupported.
10322 * sunrpc/des_crypt.c: Unconditionally block linkage with
10323 cbc_crypt and ecb_crypt for new binaries.
10324 * sunrpc/des_soft.c: Unconditionally block linkage with
10325 des_setparity for new binaries.
10327 * manual/crypt.texi: Remove the entire "DES Encryption"
10328 section. Also remove the paragraph talking about FIPS 140-2
10329 from the introduction.
10330 * manual/string.texi (strfry, memfrob): Revise. Recommend use
10331 of libgcrypt for "real" encryption, not DES.
10332 * manual/conf.texi (Constants for Sysconf): Mention that
10333 _XOPEN_CRYPT is no longer impelemented.
10335 * conform/data/unistd.h-data: Remove crypt function declaration.
10337 2018-06-29 Florian Weimer <fweimer@redhat.com>
10340 * malloc/hooks.c: Update comments on restoring of dumped heaps.
10341 (disallow_malloc_check): Remove variable.
10342 (__malloc_check_init): Adjust.
10343 (malloc_set_state): Update comment.
10344 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
10347 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10350 * localedata/locales/ast_ES (mon): Rename to...
10352 (mon): Import from CLDR (genitive case).
10354 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
10355 Jakub Sitnicki <jkbs@redhat.com>
10358 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
10359 on NLM_F_DUMP_INTR.
10361 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10363 * manual/llio.texi: Remove spurious space.
10365 2018-06-28 Florian Weimer <fweimer@redhat.com>
10368 * time/bits/types/struct_timespec.h: Change header inclusion guard to
10371 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10373 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
10374 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
10375 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
10376 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
10377 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
10378 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
10379 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
10381 2018-06-27 Maciej W. Rozycki <macro@mips.com>
10384 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
10385 Copy and null-terminate entries that are not terminated, in
10386 addition to empty ones.
10388 2018-06-27 Florian Weimer <fweimer@redhat.com>
10391 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
10392 (extend_alloca_account): Remove.
10393 * manual/stdio.texi (Variable Arguments Output): Update comment.
10395 2018-06-27 Joseph Myers <joseph@codesourcery.com>
10397 * nptl/sockperf.c: Remove file.
10399 2018-06-27 Florian Weimer <fweimer@redhat.com>
10402 * elf/dl-deps.c (_dl_map_object_deps): Use struct
10403 scratch_buffer instead of extend_alloca.
10405 2018-06-27 Florian Weimer <fweimer@redhat.com>
10408 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
10409 scratch_buffer instead of extend_alloca. Update comments.
10411 2018-06-27 Florian Weimer <fweimer@redhat.com>
10414 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
10415 instead of extend_alloca.
10417 2018-06-26 Joseph Myers <joseph@codesourcery.com>
10420 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
10421 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
10423 * scripts/test-installation.pl: Put temporary files in build
10424 directory, not /tmp.
10425 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
10426 (CFLAGS-bug4.c): Likewise.
10427 (CFLAGS-bug5.c): Likewise.
10428 (CFLAGS-test-fseek.c): Likewise.
10429 (CFLAGS-test-popen.c): Likewise.
10430 (CFLAGS-test_rdwr.c): Likewise.
10431 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
10433 * stdio-common/bug4.c (main): Likewise.
10434 * stdio-common/bug5.c (main): Likewise.
10435 * stdio-common/test-fseek.c (TESTFILE): Likewise.
10436 * stdio-common/test-popen.c (do_test): Likewise.
10437 * stdio-common/test_rdwr.c (main): Likewise.
10439 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
10441 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
10442 (sem_open): Set sem.newsem.pad to zero for valgrind.
10444 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10447 * NEWS: Mention fcntl64 addition.
10448 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
10449 * login/utmp_file.c: Likewise.
10450 * sysdeps/posix/fdopendir.c: Likewise.
10451 * sysdeps/posix/opendir.c: Likewise.
10452 * sysdeps/unix/pt-fcntl.c: Likewise.
10453 * include/fcntl.h (__libc_fcntl64, __fcntl64,
10454 __fcntl64_nocancel_adjusted): New prototype.
10455 (__fcntl_nocancel_adjusted): Remove prototype.
10456 * io/Makefile (routines): Add fcntl64.
10457 (CFLAGS-fcntl64.c): New rule.
10458 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
10459 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
10460 * io/fcntl.h (fcntl64): Add prototype and redirect if
10461 __USE_FILE_OFFSET64 is defined.
10462 * io/fcntl64.c: New file.
10463 * manual/llio.text: Add a note for which commands fcntl acts a
10464 cancellation point.
10465 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
10466 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
10467 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
10469 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
10470 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
10472 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
10473 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
10474 to __fcntl64_nocancel.
10475 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
10476 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
10477 to __fcntl64_nocancel.
10478 * sysdeps/generic/not-cancel.h: Likewise.
10479 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
10480 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
10481 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10482 (fcntl64): New symbol.
10483 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10484 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10485 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10488 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10489 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10490 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10491 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10492 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10493 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
10494 fcntl64): Likewise.
10495 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10496 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
10497 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10498 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10499 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10500 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10501 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10502 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10503 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10508 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10509 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10510 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10512 2018-06-26 Florian Weimer <fweimer@redhat.com>
10514 Run thread shutdown functions in an explicit order.
10515 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
10517 (__libc_thread_freeres): Call thread shutdown functions
10519 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
10520 * include/string.h (__strerror_thread_freeres): Declare.
10521 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
10522 arena_thread_freeres. No longer static. Remove thread shutdown
10524 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
10526 * resolv/res-close.c (__res_thread_freeres): Renamed from
10527 res_thread_freeres. No longer static. Remove thread shutdown
10529 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
10530 * resolv/resolv_conf.c (freeres): Remove incorrect section
10531 attribute and use libc_freeres_fn.
10532 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
10533 strerror_thread_freeres. No longer static. Remove thread
10534 shutdown hook registration.
10535 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
10536 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
10537 shutdown hook registration.
10538 * Makerules (shlib.lds): Do not provide section boundary symbols
10539 for __libc_thread_subfreeres.
10540 * manual/memory.texi (Basic Allocation): Update comment.
10542 2018-06-26 Florian Weimer <fweimer@redhat.com>
10544 Remove always-defined _RPC_THREAD_SAFE_ macro.
10545 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
10546 Do not define _RPC_THREAD_SAFE_.
10547 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
10549 * sunrpc/clnt_perr.c: Likewise.
10550 * sunrpc/clnt_raw.c: Likewise.
10551 * sunrpc/clnt_simp.c: Likewise.
10552 * sunrpc/key_call.c: Likewise.
10553 * sunrpc/rpc_common.c: Likewise.
10554 * sunrpc/rpc_main.c: Likewise.
10555 * sunrpc/rpc_thread.c: Likewise.
10556 * sunrpc/svc.c: Likewise.
10557 * sunrpc/svc_raw.c: Likewise.
10558 * sunrpc/svc_simple.c: Likewise.
10559 * sumrpc/svcauth_des.c: Likewise.
10561 2018-06-26 Florian Weimer <fweimer@redhat.com>
10563 * libio/Makefile (tests-internal): Add tst-vtables,
10564 tst-vtables-interposed.
10565 * libio/tst-vtables.c: New file.
10566 * libio/tst-vtables-common.c: Likewise.
10567 * libio/tst-vtables-interposed.c: Likewise.
10569 2018-06-26 Florian Weimer <fweimer@redhat.com>
10571 * support/support_test_main.c (support_test_main): Only call
10572 setvbuf if not disables.
10573 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
10574 * support/test-driver.h (struct test_config): Add no_setvbuf member.
10576 2018-06-26 Florian Weimer <fweimer@redhat.com>
10579 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
10581 2018-06-25 Florian Weimer <fweimer@redhat.com>
10584 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10585 Use struct scratch_buffer instead of extend_alloca.
10587 2018-06-25 Florian Weimer <fweimer@redhat.com>
10590 * nss/getent.c (initgroups_keys): Use dynarray instead of
10593 2018-06-25 Florian Weimer <fweimer@redhat.com>
10596 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
10597 Use struct scratch_buffer instead of extend_alloca.
10599 2018-06-25 Florian Weimer <fweimer@redhat.com>
10602 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
10603 back to malloc directly, without stack allocations.
10605 2018-06-25 Florian Weimer <fweimer@redhat.com>
10608 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
10611 2018-06-25 Florian Weimer <fweimer@redhat.com>
10614 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
10616 * nscd/hstcache.c (addhstbyX): Likewise.
10617 * nscd/pwdcache.c (addpwbyX): Likewise.
10618 * nscd/servicescache.c (addservbyX): Likewise.
10620 2018-06-25 Florian Weimer <fweimer@redhat.com>
10623 * nscd/connections.c (read_cmdline): New function.
10624 (restart): Use it. Update comment.
10626 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10629 * localedata/locales/csb_PL (mon): Rename to...
10631 (abmon): Rename to...
10632 (ab_alt_mon): This.
10633 (mon): Add with proper genitive forms, copy from Wikipedia.
10636 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10639 * localedata/locales/csb_PL (mon): Fix typos:
10640 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
10641 (yesstr): Add, value is "jo".
10642 (nostr): Add, value is "nié".
10644 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10646 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
10647 all log1p and significand functions on m680x0.
10648 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
10649 of s_significand.c..
10650 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10651 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
10652 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
10653 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
10654 s_log1p.c and include it..
10656 2018-06-21 Vincent Chen <vincentc@andestech.com>
10658 * elf/elf.h (R_NDS32_NONE): New define.
10659 (R_NDS32_32_RELA): Likewise.
10660 (R_NDS32_COPY): Likewise.
10661 (R_NDS32_GLOB_DAT): Likewise.
10662 (R_NDS32_JUMP_SLOT): Likewise.
10663 (R_NDS32_RELATIVE): Likewise.
10664 (R_NDS32_TLS_TPOFF): Likewise.
10665 (R_NDS32_TLS_DESC): Likewise.
10667 2018-06-21 Mark Wielaard <mark@klomp.org>
10669 * elf/elf.h (R_BPF_MAP_FD): Removed.
10670 (R_BPF_64_64, R_BPF_64_32): New.
10672 2018-06-21 Florian Weimer <fweimer@redhat.com>
10675 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
10676 Renamed from libc_feholdsetround_ctx.
10677 (default_libc_feresetround_ctx): Renamed from
10678 libc_feresetround_ctx.
10679 (default_libc_feholdsetround_noex_ctx): Renamed from
10680 libc_feholdsetround_noex_ctx.
10681 (default_libc_feresetround_noex_ctx): Renamed from
10682 libc_feresetround_noex_ctx.
10683 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
10684 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
10685 forwardning to the old implementations under the new names.
10686 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
10687 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
10688 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
10689 (libc_feresetround_ctx): Forward to default implements for i386
10690 and MATH_SET_BOTH_ROUNDING_MODES.
10691 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
10692 Add -DMATH_SET_BOTH_ROUNDING_MODES.
10694 2018-06-20 Joseph Myers <joseph@codesourcery.com>
10696 * string/tst-cmp.c: Include <libc-diag.h>.
10697 (strncmp_max): Disable -Wstringop-overflow= around call to
10699 (strncasecmp_max): Disable -Wstringop-overflow= around call to
10702 * string/bug-strpbrk1.c: Include <libc-diag.h>.
10703 (main): Disable -Wunused-value around call to strpbrk.
10704 * string/bug-strspn1.c: Include <libc-diag.h>.
10705 (main): Disable -Wunused-value around call to strspn.
10707 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10708 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10710 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
10711 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
10713 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10715 * math/Makefile (libm-calls): Move s_significandF to...
10716 (gen-libm-calls): ... here.
10717 * math/s_significand_template.c: New file.
10718 * math/s_significand.c: Removed.
10719 * math/s_significandf.c: Removed.
10720 * math/s_significandl.c: Removed.
10721 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
10722 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
10724 * math/e_exp2_template.c (declare_mgen_finite_alias,
10725 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
10726 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
10727 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
10729 2018-06-20 Florian Weimer <fweimer@redhat.com>
10731 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
10733 2018-06-19 Joseph Myers <joseph@codesourcery.com>
10736 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
10737 floating-point number to strtod functions rather than possibly
10738 negating result of those functions.
10739 * stdio-common/tst-scanf-round.c: New file.
10740 * stdio-common/Makefile (tests): Add tst-scanf-round.
10741 ($(objpfx)tst-scanf-round): Depend on $(libm).
10743 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10745 * sysdeps/mach/hurd/localplt.data: Move to...
10746 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
10747 R_386_GLOB_DAT like on Linux i386.
10749 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10751 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
10752 (SHM_STAT_ANY): New macro.
10753 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
10754 (SHM_STAT_ANY): Likewise.
10755 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
10756 (SHM_STAT_ANY): Likewise.
10757 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
10758 (SHM_STAT_ANY): Likewise.
10759 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
10760 (SHM_STAT_ANY): Likewise.
10761 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
10762 (SHM_STAT_ANY): Likewise.
10763 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
10764 (SHM_STAT_ANY): Likewise.
10765 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
10766 (SHM_STAT_ANY): Likewise.
10767 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
10768 (SHM_STAT_ANY): Likewise.
10769 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
10770 (SHM_STAT_ANY): Likewise.
10771 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
10772 (SHM_STAT_ANY): Likewise.
10773 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
10774 (SHM_STAT_ANY): Likewise.
10776 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
10777 (SEM_STAT_ANY): New macro.
10778 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
10779 (SEM_STAT_ANY): Likewise.
10780 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
10781 (SEM_STAT_ANY): Likewise.
10782 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
10783 (SEM_STAT_ANY): Likewise.
10784 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
10785 (SEM_STAT_ANY): Likewise.
10786 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
10787 (SEM_STAT_ANY): Likewise.
10788 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
10789 (SEM_STAT_ANY): Likewise.
10790 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
10791 (SEM_STAT_ANY): Likewise.
10792 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
10793 (SEM_STAT_ANY): Likewise.
10794 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
10795 (SEM_STAT_ANY): Likewise.
10797 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
10798 (MSG_STAT_ANY): New macro.
10799 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
10800 (MSG_STAT_ANY): Likewise.
10801 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
10802 (MSG_STAT_ANY): Likewise.
10803 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
10804 (MSG_STAT_ANY): Likewise.
10805 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
10806 (MSG_STAT_ANY): Likewise.
10807 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
10808 (MSG_STAT_ANY): Likewise.
10809 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
10810 (MSG_STAT_ANY): Likewise.
10811 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
10812 (MSG_STAT_ANY): Likewise.
10813 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
10814 (MSG_STAT_ANY): Likewise.
10815 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
10816 (MSG_STAT_ANY): Likewise.
10818 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10819 (MAP_TYPE): Change value to 0x2b.
10821 2018-06-18 Florian Weimer <fweimer@redhat.com>
10824 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
10825 socket with SOCK_CLOEXEC.
10827 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10830 * sysdeps/powerpc/powerpc64/le/Makefile
10831 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
10832 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
10833 (gnulib-tests): Also add $(f128-loader-link) for
10834 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
10836 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10838 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
10839 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
10841 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
10842 (sendfile64): New strong alias.
10843 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
10844 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
10845 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
10846 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
10848 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
10849 ___pthread_get_cleanup_stack.
10850 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
10851 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
10852 * mach/shortcut.awk: Make syscall stubs include
10853 <mach-shortcuts-hidden.h> and add hidden definition.
10854 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
10855 (__mach_msg): Add hidden prototype.
10856 * mach/msg.c: Include <mach.h>.
10857 (__mach_msg): Add hidden definition.
10858 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
10859 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
10860 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
10861 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
10862 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
10863 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
10864 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
10865 prototype and definition.
10866 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
10867 hidden target for _hurd_self_sigstate.
10869 2018-06-15 Joseph Myers <joseph@codesourcery.com>
10872 * stdlib/tst-strtod-nan-sign-main.c: New file.
10873 * stdlib/tst-strtod-nan-sign.c: Likewise.
10874 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
10875 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
10876 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
10877 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
10878 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
10880 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
10883 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
10886 2018-06-14 Florian Weimer <fweimer@redhat.com>
10889 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
10890 that the result stays within the ISO-8859-1 range.
10891 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
10892 characters are defined in IBM273.
10894 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10896 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
10897 __mach_task_self): Remove attribute_hidden.
10899 2018-06-14 Joseph Myers <joseph@codesourcery.com>
10901 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
10902 ignore -Wrestrict for one test.
10904 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
10905 Szabolcs Nagy <szabolcs.nagy@arm.com>
10907 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
10909 2018-06-14 Florian Weimer <fweimer@redhat.com>
10911 * scripts/update-abilist.sh: Accept empty list of files to patch.
10913 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
10915 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
10916 test-xfail-check-abi-libmachuser): Add.
10917 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
10918 __libc_read and __libc_write to __read and __write.
10919 * sysdeps/hurd/include/hurd/port.h: New file.
10920 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
10921 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
10922 __thread_switch, __evc_wait): Move declarations to...
10923 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
10925 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
10926 use PLT to call _hurd_self_sigstate.
10928 2018-06-13 Joseph Myers <joseph@codesourcery.com>
10931 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
10932 MAX_EXP as overflowing.
10933 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
10935 (round_str): Output also whether result overflows in each rounding
10937 * stdlib/tst-strtod-round-data: Add more tests.
10938 * stdlib/tst-strtod-round-data.h: Regenerated.
10939 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
10940 (TEST): Handle extra arguments for overflow flags.
10941 (struct test_overflow): New type.
10942 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
10943 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
10944 (test_in_one_mode): Take argument with overflow information.
10945 (do_test): Update calls to test_in_one_mode.
10947 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10949 * elf/dl-load (_dl_dst_substitute): Correct comment.
10950 (_dl_dst_count): Likewise.
10952 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
10953 lll_futex_timed_wait.
10955 2018-06-12 Joseph Myers <joseph@codesourcery.com>
10958 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
10960 * math/test-nan-const.c: New file.
10961 * math/Makefile (tests): Add test-nan-const.
10962 (CFLAGS-test-nan-const.c): New variable.
10964 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10966 * benchtests/scripts/compare_strings.py (process_results): Add
10967 funcs argument. Compare only functions which are selected.
10968 (main): Check if base function is among selected functions.
10969 Pass selected functions to process_results.
10970 (__main__): Add -f/--functions argument.
10972 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
10973 Hongbo Zhang <hongbo.zhang@linaro.org>
10975 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
10976 __memcpy_falkor for phecda core.
10977 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
10978 __memmove_falkor for phecda core.
10979 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
10980 __memset_falkor for phecda core.
10981 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
10983 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
10984 macro to identify phecda core.
10986 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10987 Andreas Schwab <schwab@suse.de>
10988 Dmitry V. Levin <ldv@altlinux.org>
10989 Florian Weimer <fweimer@redhat.com>
10996 * elf/dl-dst.h: Remove DL_DST_COUNT.
10997 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
10998 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
10999 (is_dst): Comment. Support ELF gABI.
11000 (_dl_dst_count): Comment. Simplify and count DSTs.
11001 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
11002 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
11005 2018-06-12 Zack Weinberg <zackw@panix.com>
11007 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
11008 * sysdeps/unix/sysv/linux/dl-sysdep.c
11009 Include not-cancel.h. Use __close_nocancel instead of __close,
11010 __open64_nocancel instead of __open, __read_nocancel instead of
11011 __libc_read, and __write_nocancel instead of __libc_write.
11013 * csu/check_fds.c (check_one_fd)
11014 * sysdeps/posix/fdopendir.c (__fdopendir)
11015 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
11016 instead of __fcntl and/or __libc_fcntl.
11018 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
11019 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
11020 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
11021 Use __open64_nocancel instead of __open_nocancel.
11023 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
11024 hidden_proto declarations to the end and issue them if either
11025 IS_IN(libc) or IS_IN(rtld).
11026 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
11027 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
11028 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
11029 read_nocancel, waitpid_nocancel, write_nocancel.
11031 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
11032 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
11033 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
11035 * nptl/pt-fcntl.c: New file.
11036 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
11037 (libpthread-routines): Add pt-fcntl.
11038 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
11039 (__libc_fcntl): Remove attribute_hidden.
11040 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
11041 __fcntl_nocancel_adjusted, not fcntl_common.
11042 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
11043 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
11044 to fcntl_nocancel.c.
11045 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
11046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
11047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11048 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
11050 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
11051 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
11052 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
11053 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
11054 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
11055 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
11056 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
11057 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
11058 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
11059 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
11060 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
11061 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
11062 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
11063 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
11064 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
11065 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
11066 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
11067 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
11068 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
11069 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
11071 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
11072 libpthread-routines.
11073 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
11076 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
11077 __libc_read, and __write instead of __libc_write. Define
11078 __open64 in addition to __open.
11080 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11084 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
11085 to _private_tm[3] and add __glibc_reserved2.
11086 Add _Static_assert of offset of __private_ss == 0x30.
11087 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
11088 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
11090 2018-06-12 Florian Weimer <fweimer@redhat.com>
11092 x86: Make strncmp usable from rtld.
11093 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
11094 __strncmp_ia32 if in libc (and not in rtld).
11095 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
11096 strncmp if not in libc (and not to __strncmp_sse2).
11098 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
11101 * localedata/locales/gd_GB (mon): Rename to...
11103 (mon): Import from CLDR (genitive case).
11104 * localedata/locales/hsb_DE (mon): Rename to...
11106 (mon): Import from CLDR (genitive case).
11107 * localedata/locales/wa_BE (mon): Rename to...
11109 (mon): Add, fill with the proper genitive forms, but CLDR data
11110 is incomplete; completed according to the comments in this file.
11111 (d_t_fmt): Do not use "di" before the month name, no longer needed.
11113 * localedata/locales/wa_BE (country_name): Reword
11114 "Beljike" -> "Beldjike".
11116 2018-06-11 Joseph Myers <joseph@codesourcery.com>
11119 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
11120 cases of non-finite arguments.
11121 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11123 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
11126 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
11128 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11131 * include/unistd.h (__execvpex): New prototype.
11132 * posix/Makefile (tests): Add tst-spawn4.
11133 (tests-internal): Add tst-spawn4-compat.
11134 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
11135 * posix/tst-spawn4-compat.c: New file.
11136 * posix/tst-spawn4.c: Likewise.
11137 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
11138 binaries as shell scripts.
11139 * sysdeps/posix/spawni.c (__spawni): Likewise.
11141 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
11144 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
11145 ($(all-built-dso:=.dynsym): New target.
11146 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
11147 ($(objpfx)check-initfini.out): New target.
11148 (generated): Add check-initfini.out.
11149 * scripts/check-initfini.awk: New file.
11150 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
11152 * sysdeps/alpha/crti.S (_init): Mark as hidden.
11154 * sysdeps/arm/crti.S (_init): Mark as hidden.
11156 * sysdeps/hppa/crti.S (_init): Mark as hidden.
11158 * sysdeps/i386/crti.S (_init): Mark as hidden.
11160 * sysdeps/ia64/crti.S (_init): Mark as hidden.
11162 * sysdeps/m68k/crti.S (_init): Mark as hidden.
11164 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
11166 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
11168 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
11170 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
11172 * sysdeps/nios2/crti.S (_init): Mark as hidden.
11174 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
11176 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
11178 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
11180 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
11182 * sysdeps/sh/crti.S (_init): Mark as hidden.
11184 * sysdeps/sparc/crti.S (_init): Mark as hidden.
11186 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
11189 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11191 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
11192 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
11193 and TF redirection to KFtype and KF only when the default
11194 long double type is not the IEEE 128-bit floating point type.
11196 2018-06-05 Joseph Myers <joseph@codesourcery.com>
11198 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
11200 (HWCAP_USCAT): Likewise.
11201 (HWCAP_ILRCPC): Likewise.
11202 (HWCAP_FLAGM): Likewise.
11203 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11205 (_dl_aarch64_cap_flags): Add new flag names.
11207 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
11208 (MAP_FIXED_NOREPLACE): New macro.
11209 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
11210 (MAP_FIXED_NOREPLACE): Likewise.
11211 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
11212 (MAP_FIXED_NOREPLACE): Likewise.
11213 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11214 (MAP_FIXED_NOREPLACE): Likewise.
11215 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
11216 (MAP_FIXED_NOREPLACE): Likewise.
11217 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
11218 (MAP_FIXED_NOREPLACE): Likewise.
11219 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
11220 (MAP_FIXED_NOREPLACE): Likewise.
11221 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
11222 (MAP_FIXED_NOREPLACE): Likewise.
11223 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
11224 (MAP_FIXED_NOREPLACE): Likewise.
11225 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
11226 (MAP_FIXED_NOREPLACE): Likewise.
11227 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
11228 (MAP_FIXED_NOREPLACE): Likewise.
11229 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
11230 (MAP_FIXED_NOREPLACE): Likewise.
11231 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
11232 (MAP_FIXED_NOREPLACE): Likewise.
11233 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
11234 (MAP_FIXED_NOREPLACE): Likewise.
11235 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
11236 (MAP_FIXED_NOREPLACE): Likewise.
11238 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11241 2018-06-04 Joseph Myers <joseph@codesourcery.com>
11243 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11246 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11248 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
11250 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
11252 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11254 * benchtests/scripts/compare_string.py: (process_results) Catch
11255 exception in non-existent base_func and catch exception in
11256 non-existent attribute.
11257 (parse_file) Catch exception if input file does not exist.
11259 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11261 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
11262 options to avoid diff calculation and omit header, respectively.
11263 (main): process --no-diff and --no-header
11265 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11266 H.J. Lu <hongjiu.lu@intel.com>
11268 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11269 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
11271 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11272 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
11273 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
11274 and __wcsncmp_sse2.
11275 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
11276 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
11277 AVX unaligned load is fast and vzeroupper is preferred.
11278 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
11279 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
11280 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
11281 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
11282 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
11283 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
11284 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
11285 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
11286 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
11287 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
11290 2018-06-01 Florian Weimer <fweimer@redhat.com>
11292 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
11293 configuring with --disable-multi-arch, building with
11294 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
11297 2018-06-01 Florian Weimer <fweimer@redhat.com>
11299 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
11300 results from building with “-march=x86-64 -mtune=generic
11301 -mfpmath=sse” and running on a Haswell-era CPU.
11303 2018-06-01 Joseph Myers <joseph@codesourcery.com>
11306 * soft-fp/sqrttf2.c: Remove file.
11307 * soft-fp/sqrtdf2.c: Move to ....
11308 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
11310 (__sqrtdf2): Make conditional on
11311 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11313 * soft-fp/sqrtsf2.c: Move to ....
11314 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
11316 (__sqrtsf2): Make conditional on
11317 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11319 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
11320 (gcc-double-routines): Remove sqrtdf2.
11321 (gcc-quad-routines): Remove sqrttf2.
11322 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11323 Do not filter out sqrtsf2 and sqrtdf2.
11324 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11325 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
11327 2018-06-01 Florian Weimer <fweimer@redhat.com>
11329 * sysdeps/generic/libcidn.abilist: Remove file.
11331 2018-06-01 Florian Weimer <fweimer@redhat.com>
11334 * libio/strfile.h (struct _IO_str_fields): Rename members to
11335 discourage their use and add comment.
11336 (_IO_STR_DYNAMIC): Remove unused macro.
11337 * libio/strops.c (_IO_str_init_static_internal): Do not use
11338 callback pointers. Call malloc and free.
11339 (_IO_str_overflow): Do not use callback pointers. Call malloc
11341 (enlarge_userbuf): Likewise.
11342 (_IO_str_finish): Call free.
11343 * libio/wstrops.c (_IO_wstr_init_static): Initialize
11344 _allocate_buffer_unused.
11345 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
11347 (enlarge_userbuf): Likewise.
11348 (_IO_wstr_finish): Call free.
11349 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
11350 _allocate_buffer_unused, _free_buffer_unused.
11351 * libio/memstream.c (__open_memstream): Likewise.
11352 * libio/vasprintf.c (_IO_vasprintf): Likewise.
11353 * libio/wmemstream.c (open_wmemstream): Likewise.
11355 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
11357 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
11360 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11362 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
11363 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
11364 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
11366 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
11368 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
11370 2018-05-29 Florian Weimer <fweimer@redhat.com>
11372 * support/Makefile (libsupport-routines): Add
11373 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
11374 xpthread_barrierattr_setpshared.
11375 * support/xpthread_barrierattr_destroy.c: New file.
11376 * support/xpthread_barrierattr_init.c: Likewise.
11377 * support/xpthread_barrierattr_setpshared.c: Likewise.
11379 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
11382 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
11383 _r_debug and update DT_DEBUG for debugger.
11385 2018-05-29 Florian Weimer <fweimer@redhat.com>
11387 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
11388 (tst-strtod5i.out): Likewise.
11390 2018-05-25 Joseph Myers <joseph@codesourcery.com>
11392 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
11393 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
11394 (sparc64-quad-routines): New variable. Moved from ....
11395 [$(subdir) = soft-fp] (sysdep_routines): Add
11396 $(sparc64-quad-routines). Moved from ....
11397 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
11398 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
11399 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
11401 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
11402 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
11403 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
11404 * sysdeps/sparc/sparc64/qp_add.c: ... here.
11405 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
11406 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
11407 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
11408 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
11409 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
11410 * sysdeps/sparc/sparc64/qp_div.c: ... here.
11411 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
11412 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
11413 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
11414 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
11415 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
11416 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
11417 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
11418 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
11419 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
11420 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
11421 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
11422 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
11423 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
11424 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
11425 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
11426 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
11427 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
11428 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
11429 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
11430 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
11431 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
11432 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
11433 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
11434 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
11435 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
11436 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
11437 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
11438 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
11439 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
11440 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
11441 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
11442 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
11443 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
11444 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
11445 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
11446 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
11447 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
11448 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
11449 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
11450 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
11451 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
11452 * sysdeps/sparc/sparc64/qp_util.c: ... here.
11453 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
11454 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
11455 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
11456 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
11457 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
11458 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
11460 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
11461 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
11462 (sparc32-quad-routines): New variable. Moved from ....
11463 [$(subdir) = soft-fp] (sysdep_routines): Add
11464 $(sparc32-quad-routines). Moved from ....
11465 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
11466 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
11468 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
11469 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
11470 * sysdeps/sparc/sparc32/q_add.c: ... here.
11471 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
11472 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
11473 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
11474 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
11475 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
11476 * sysdeps/sparc/sparc32/q_div.c: ... here.
11477 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
11478 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
11479 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
11480 * sysdeps/sparc/sparc32/q_feq.c: ... here.
11481 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
11482 * sysdeps/sparc/sparc32/q_fge.c: ... here.
11483 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
11484 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
11485 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
11486 * sysdeps/sparc/sparc32/q_fle.c: ... here.
11487 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
11488 * sysdeps/sparc/sparc32/q_flt.c: ... here.
11489 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
11490 * sysdeps/sparc/sparc32/q_fne.c: ... here.
11491 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
11492 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
11493 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
11494 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
11495 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
11496 * sysdeps/sparc/sparc32/q_mul.c: ... here.
11497 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
11498 * sysdeps/sparc/sparc32/q_neg.c: ... here.
11499 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
11500 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
11501 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
11502 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
11503 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
11504 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
11505 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
11506 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
11507 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
11508 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
11509 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
11510 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
11511 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
11512 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
11513 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
11514 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
11515 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
11516 * sysdeps/sparc/sparc32/q_sub.c: ... here.
11517 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
11518 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
11519 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
11520 * sysdeps/sparc/sparc32/q_util.c: ... here.
11521 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
11522 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
11523 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
11524 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
11526 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11527 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11529 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
11530 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
11531 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
11532 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
11534 2018-05-24 Joseph Myers <joseph@codesourcery.com>
11536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
11538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11540 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
11541 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
11543 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11546 * math/math.h [C++] (iseqsig): Fix parameter type for the long
11549 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11551 * sysdeps/sh/Implies: Remove sh/soft-fp.
11552 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
11553 * sysdeps/sh/sfp-machine.h: ... here.
11555 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11557 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11558 (__mempcpy_erms): Skip zero length.
11559 (__memmove_erms): Likewise.
11560 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11561 (__memset_erms): Likewise.
11563 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11565 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
11566 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11567 Add functions moved from ....
11568 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
11569 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
11570 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
11572 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
11573 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
11574 * sysdeps/alpha/e_sqrtl.c: ... here.
11575 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
11576 * sysdeps/alpha/local-soft-fp.h: ... here.
11577 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
11578 * sysdeps/alpha/ots_add.c: ... here.
11579 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
11580 * sysdeps/alpha/ots_cmp.c: ... here.
11581 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
11582 * sysdeps/alpha/ots_cmpe.c: ... here.
11583 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
11584 * sysdeps/alpha/ots_cvtqux.c: ... here.
11585 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
11586 * sysdeps/alpha/ots_cvtqx.c: ... here.
11587 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
11588 * sysdeps/alpha/ots_cvttx.c: ... here.
11589 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
11590 * sysdeps/alpha/ots_cvtxq.c: ... here.
11591 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
11592 * sysdeps/alpha/ots_cvtxt.c: ... here.
11593 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
11594 * sysdeps/alpha/ots_div.c: ... here.
11595 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
11596 * sysdeps/alpha/ots_mul.c: ... here.
11597 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
11598 * sysdeps/alpha/ots_nintxq.c: ... here.
11599 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
11600 * sysdeps/alpha/ots_sub.c: ... here.
11601 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
11602 * sysdeps/alpha/sfp-machine.h: ... here.
11604 2018-05-23 Florian Weimer <fweimer@redhat.com>
11612 Switch to extern IDNA implementation (libidn2).
11613 * libidn: Remove subdirectory.
11614 * LICENSES: Do not mention licensing conditions for the removed
11616 * config.h.in (HAVE_LIBIDN): Remove.
11617 * include/dlfcn.h (__libc_dlopen): Update comment.
11618 * include/idna.h: Remove file.
11619 * inet/Makefile (routines): Add idna.
11620 (tests-static, tests-internal): Add tst-idna_name_classify.
11621 (LOCALES): Generate locales for tests.
11622 (tst-idna_name_classify.out): Depend on generated locales.
11623 * inet/idna_name_classify.c: New file.
11624 * inet/tst-idna_name_classify.c: Likewise.
11625 * inet/net-internal.h (__idna_to_dns_encoding)
11626 (__idna_from_dns_encoding): Declare.
11627 * inet/net-internal.h (enum idna_name_classification): Define.
11628 (__idna_name_classify): Declare.
11629 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
11630 __idna_from_dns_encoding.
11631 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
11632 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
11633 name as a fallback in case of encoding errors.
11634 (getnameinfo): Use DEPRECATED_NI_IDN.
11635 * inet/idna.c: New file.
11636 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
11637 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
11638 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
11639 (modules-names): Add tst-no-libidn2.
11640 (extra-test-objs): Add tst-no-libidn2.os.
11641 (LDFLAGS-tst-no-libidn2.so): Set soname.
11642 (LOCALES): Set, and generate locales.
11643 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
11644 (tst-resolv-ai_idn-latin1): Likewise.
11645 (tst-resolv-ai_idn-nolibidn2): Likewise.
11646 (tst-resolv-ai_idn.out): Depend on locales.
11647 (tst-resolv-ai_idn-latin1.out): Depend on locales.
11648 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
11650 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
11651 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
11652 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
11653 * resolv/tst-resolv-ai_idn.c: New file.
11654 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
11655 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
11656 * resolv/tst-no-libidn2.c: Likewise.
11657 * support/support_format_addrinfo.c (format_ai_flags): Do not
11658 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
11659 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
11660 (gaih_inet): Call __idna_to_dns_encoding and
11661 __idna_from_dns_encoding, and use the original (punycode) name if
11662 __idna_from_dns_encoding fails due to an encoding error.
11663 (getaddrinfo): Use DEPRECATED_AI_IDN.
11664 * sysdeps/unix/inet/Subdirs (libidn): Remove.
11665 * sysdeps/unix/inet/configure: Remove file.
11666 * sysdeps/unix/inet/configure.ac: Likewise.
11668 2018-05-23 Florian Weimer <fweimer@redhat.com>
11670 Implement allocate_once.
11671 * include/allocate_once.h: New file.
11672 * misc/allocate_once.c: Likewise.
11673 * misc/tst-allocate_once.c: Likewise.
11674 * misc/Makefile (routines): Add allocate_once.
11675 (tests-internal): Add tst-allocate_once.
11676 (generated): Add tst-allocate_once.mtrace,
11677 tst-allocate_once-mem.out.
11678 (tests-special): Add tst-allocate_once-mem.out.
11679 (tst-allocate_once-ENV): Set MALLOC_TRACE.
11680 (tst-allocate_once-mem.out): Call mtrace.
11681 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
11683 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11686 * string/test-memcpy.c (do_test1): New function.
11687 (test_main): Call it.
11689 2018-05-23 Andreas Schwab <schwab@suse.de>
11693 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
11694 (L(preloop_large)): Save initial destination pointer in %r11 and
11695 use it instead of %rax after the loop.
11696 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
11698 2018-05-22 Joseph Myers <joseph@codesourcery.com>
11700 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
11701 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
11702 -I../soft-fp. Moved from ....
11703 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
11704 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
11705 * sysdeps/aarch64/e_sqrtl.c: ... here.
11706 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
11707 * sysdeps/aarch64/sfp-machine.h: ... here.
11709 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
11710 -Wmaybe-uninitialized around access to fq[0].
11711 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11715 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
11716 aliases for non-libc case of versioned symbols.
11717 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
11718 (llseek): Define as compat symbol if
11719 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
11721 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
11722 Make into a compat symbol, disabled for minimum symbol version
11723 GLIBC_2.28 and later.
11724 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
11726 2018-05-22 Florian Weimer <fweimer@redhat.com>
11728 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
11729 not add -mpreferred-stack-boundary=4.
11730 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
11731 (stack-align-test-flags): Likewise.
11732 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
11734 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
11735 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
11736 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
11737 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
11738 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
11739 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
11740 (CFLAGS-tst-align2.c): Likewise.
11742 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11744 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
11745 (index_arch_Prefer_FSRM): Likewise.
11746 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11747 Also check Prefer_FSRM.
11748 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
11749 Also return OPTIMIZE (erms) for Prefer_FSRM.
11751 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11753 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
11754 (index_cpu_FSRM): Likewise.
11755 (reg_FSRM): Likewise.
11757 2018-05-18 Joseph Myers <joseph@codesourcery.com>
11759 * math/gen-tgmath-tests.py: Import sys.
11760 (Tests.__init__): Initialize macros_seen.
11761 (Tests.add_tests): Add macro to macros_seen. Only generate tests
11762 if requested to do so for this macro.
11763 (Tests.add_all_tests): Take argument for macro for which to
11765 (Tests.check_macro_list): New function.
11766 (main): Handle check-list argument and argument specifying macro
11767 for which to generate tests.
11768 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
11769 [PYTHON] (tgmath3-macro-tests): Likewise.
11770 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
11771 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
11772 not test-tgmath3.c.
11773 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
11774 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
11776 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
11777 [PYTHON] ($(foreach
11778 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
11780 [PYTHON] (tests-special): Add
11781 $(objpfx)test-tgmath3-macro-list.out.
11782 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
11784 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
11785 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
11789 * time/tzset.c (SECSPERDAY): Cast to time_t.
11790 * time/tst-y2039.c: New file.
11791 * time/Makefile (tests): Add tst-y2039.
11793 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11795 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11796 (PREFETCH_ONE_SET): Remove duplicate line.
11798 2018-05-17 Florian Weimer <fweimer@redhat.com>
11800 * sysdeps/generic/math-type-macros-double.h: Include
11801 <math-nan-payload-double.h> after <libm-alias-double.h>.
11802 * sysdeps/generic/math-type-macros-float.h: Include
11803 <math-nan-payload-float.h> after <libm-alias-float.h>.
11804 * sysdeps/generic/math-type-macros-float128.h: Include
11805 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
11806 * sysdeps/generic/math-type-macros-ldouble.h: Include
11807 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
11809 2018-05-17 Andreas Schwab <schwab@suse.de>
11811 * resolv/res_send.c (__res_context_send): Don't set errno when
11812 returing error after malloc failure.
11814 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
11816 * nptl/allocatestack.c (allocate_stack): Remove the
11817 !__ASSUME_PRIVATE_FUTEX paths.
11818 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
11819 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11821 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
11822 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11823 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11824 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11825 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
11826 !__ASSUME_PRIVATE_FUTEX path.
11827 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
11828 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
11829 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11830 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
11831 !__ASSUME_PRIVATE_FUTEX macros.
11832 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11833 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11834 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11835 * sysdeps/unix/sysv/linux/kernel-features.h
11836 (__ASSUME_PRIVATE_FUTEX): Removed.
11838 2018-05-17 Joseph Myers <joseph@codesourcery.com>
11840 * math/Makefile (libm-narrow-fns): Add div.
11841 (libm-test-funcs-narrow): Likewise.
11842 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
11843 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
11844 * math/gen-auto-libm-tests.c (test_functions): Add div.
11845 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
11846 (NARROW_DIV_ROUND_TO_ODD): Likewise.
11847 (NARROW_DIV_TRIVIAL): Likewise.
11848 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
11850 (__ddivl): Likewise.
11851 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
11853 (CFLAGS-nldbl-ddiv.c): New variable.
11854 (CFLAGS-nldbl-fdiv.c): Likewise.
11855 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11857 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
11859 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
11860 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
11861 * math/auto-libm-test-in: Add tests of div.
11862 * math/auto-libm-test-out-narrow-div: New generated file.
11863 * math/libm-test-narrow-div.inc: New file.
11864 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
11865 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
11866 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
11867 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
11868 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
11869 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
11870 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
11871 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
11872 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
11873 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
11874 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
11875 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
11876 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
11877 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
11878 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
11879 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
11880 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
11881 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
11882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11883 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11884 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11885 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11886 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11887 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11888 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11889 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11890 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11891 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11892 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11893 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11894 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11895 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11900 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11901 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11902 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11903 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11904 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11905 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11906 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11907 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11909 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11912 * nscd/nscd-client.h (sendfileall): Remove prototype.
11913 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
11914 (handle_request): Use writeall instead of sendfileall.
11915 * nscd/aicache.c (addhstaiX): Likewise.
11916 * nscd/grpcache.c (cache_addgr): Likewise.
11917 * nscd/hstcache.c (cache_addhst): Likewise.
11918 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11919 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
11920 * nscd/pwdcache.c (cache_addpw): Likewise.
11921 * nscd/servicescache.c (cache_addserv): Likewise.
11922 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
11923 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
11924 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
11927 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
11929 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
11930 Include <string/strncat.c>.
11931 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
11933 (__GI___strncat): New hidden alias.
11935 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11937 * sysdeps/mips/mips32/libm-test-ulps: Update.
11938 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11940 2018-05-16 Florian Weimer <fweimer@redhat.com>
11942 * support/Makefile (libsupport-routines): Add support_quote_blob,
11943 support_test_compare_blob.
11944 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
11945 * support/check.h (TEST_COMPARE_BLOB): Define.
11946 (support_test_compare_blob): Declare.
11947 * support/support.h (support_quote_blob): Declare.
11948 * support/support_quote_blob.c: New file.
11949 * support/support_test_compare_blob.c: Likewise.
11950 * support/tst-support_quote_blob.c: Likewise.
11951 * support/tst-test_compare_blob.c: Likewise.
11953 2018-05-16 Florian Weimer <fweimer@redhat.com>
11955 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
11956 of <strtod_nan_double.h>.
11957 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
11958 instead of SET_MANTISSA.
11959 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
11960 of include <strtod_nan_float.h>.
11961 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
11962 instead of <strtod_nan_ldouble.h>.
11963 * stdlib/strtod_nan_double.h: Move to ...
11964 * sysdeps/generic/math-nan-payload-double.h: ... here.
11965 (FLOAT): Remove definition.
11966 (SET_MANTISSA): Rename to ...
11967 (SET_NAN_PAYLOAD): ... this.
11968 * stdlib/strtod_nan_float.h: Move to ...
11969 * sysdeps/generic/math-nan-payload-float.h: ... here.
11970 (FLOAT): Remove definition.
11971 (SET_MANTISSA): Rename to ...
11972 (SET_NAN_PAYLOAD): ... this.
11973 * sysdeps/generic/math-type-macros-double.h: Include
11974 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
11975 instead of <math-svid-compat.h>.
11976 * sysdeps/generic/math-type-macros-float.h: Include
11977 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
11978 instead of <math-svid-compat.h>.
11979 * sysdeps/generic/math-type-macros-float128.h: Include
11980 <math-nan-payload-float128.h>.
11981 * sysdeps/generic/math-type-macros-ldouble.h: Include
11982 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
11983 instead of <math-svid-compat.h>.
11984 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
11985 check for definition.
11986 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
11987 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
11988 Include <ieee754_float128.h>.
11989 (FLOAT): Remove definition.
11990 (SET_MANTISSA): Rename to ...
11991 (SET_NAN_PAYLOAD): ... this.
11992 * sysdeps/ieee754/float128/strtof128_nan.c: Include
11993 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
11994 Do not include <float128_private.h>.
11995 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
11996 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
11997 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
11998 (FLOAT): Remove definition.
11999 (SET_MANTISSA): Rename to ...
12000 (SET_NAN_PAYLOAD): ... this.
12001 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
12002 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
12003 (FLOAT): Remove definition.
12004 (SET_MANTISSA): Rename to ...
12005 (SET_NAN_PAYLOAD): ... this.
12006 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
12007 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
12008 (FLOAT): Remove definition.
12009 (SET_MANTISSA): Rename to ...
12010 (SET_NAN_PAYLOAD): ... this.
12011 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
12012 of "../stdlib/strtod_nan_double.h".
12013 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
12014 of "../stdlib/strtod_nan_float.h".
12015 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
12016 instead of "../stdlib/strtod_nan_ldouble.h".
12017 * manual/arith.texi (Parsing of Floats): Adjust comment.
12019 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12021 * math/Makefile (libm-narrow-fns): Add mul.
12022 (libm-test-funcs-narrow): Likewise.
12023 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
12024 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
12025 * math/gen-auto-libm-tests.c (test_functions): Add mul.
12026 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
12027 (NARROW_MUL_ROUND_TO_ODD): Likewise.
12028 (NARROW_MUL_TRIVIAL): Likewise.
12029 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
12030 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
12032 (__dmull): Likewise.
12033 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
12035 (CFLAGS-nldbl-dmul.c): New variable.
12036 (CFLAGS-nldbl-fmul.c): Likewise.
12037 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12039 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
12041 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
12042 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
12043 * math/auto-libm-test-in: Add tests of mul.
12044 * math/auto-libm-test-out-narrow-mul: New generated file.
12045 * math/libm-test-narrow-mul.inc: New file.
12046 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
12047 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
12048 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
12049 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
12050 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
12051 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
12052 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
12053 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
12054 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
12055 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
12056 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
12057 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
12058 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
12059 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
12060 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
12061 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
12062 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
12063 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
12064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12065 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12066 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12067 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12068 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12069 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12070 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12071 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12072 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12073 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12074 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12075 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12076 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12077 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12082 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12083 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12084 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12085 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12086 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12087 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12088 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12089 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12091 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12093 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12094 with *%eax in call.
12096 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12098 * sysdeps/i386/ldsodefs.h: Removed.
12099 * sysdeps/x86_64/ldsodefs.h: Moved to ...
12100 * sysdeps/x86/ldsodefs.h: This.
12101 (La_i86_regs): New.
12102 (La_i86_retval): Likewise.
12103 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
12104 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
12106 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12108 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
12111 2018-05-13 Alan Modra <amodra@gmail.com>
12113 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
12114 R_PARISC_TLS_DTPOFF32 reloc addend.
12116 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12118 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
12119 * math/math.h: Restrict the prototype definition for the functions
12120 issignaling(_Float128) and iszero(_Float128); and template
12121 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
12122 __HAVE_FLOAT128_UNLIKE_LDBL.
12123 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
12124 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
12125 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
12126 __f128() constants; define the type _Float128 as long double;
12127 and reuse long double in __CFLOAT128.
12129 2018-05-11 Joseph Myers <joseph@codesourcery.com>
12131 * sysdeps/generic/math_private.h: Do not include
12133 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
12135 * math/fromfp.h: Include <math-barriers.h>.
12136 * math/math-narrow.h: Likewise.
12137 * math/s_nextafter.c: Likewise.
12138 * math/s_nexttowardf.c: Likewise.
12139 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12140 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12141 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12142 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12143 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12144 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12145 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12146 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12147 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12148 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12149 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12150 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12151 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12152 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12153 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12154 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12155 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12156 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12157 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12158 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12159 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12160 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12161 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12162 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12163 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12164 * sysdeps/ieee754/k_standardl.c: Likewise.
12165 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12166 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12167 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12168 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12169 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12170 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12171 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12172 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12173 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12174 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12175 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12176 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12177 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12178 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12179 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12180 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12181 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12182 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12183 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12184 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12185 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
12186 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
12188 2018-05-11 Florian Weimer <fweimer@redhat.com>
12190 Use 64-bit epoch values in the time zone file parser.
12191 * include/time.h (internal_time_t): Define.
12192 (__tzfile_compute): Use it.
12193 * time/tzfile.c (struct leap): Use internal_time_t for epoch
12195 (transitions): Switch to internal_time_t.
12196 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
12198 (__tzfile_compute): Use internal_time_t for timer argument. Check
12199 for truncation before calling __offtime.
12201 2018-05-11 Florian Weimer <fweimer@redhat.com>
12204 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
12205 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
12207 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
12208 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
12209 export without --enable-obsolete-rpc.
12210 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
12211 symbol. This should not have been exported, ever.
12213 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
12216 * localedata/locales/gd_GB (abmon): Fix typo in May:
12217 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
12219 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12221 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12222 Use multiple registers to copy data in loop tail.
12224 * sysdeps/aarch64/multiarch/memmove_falkor.S
12225 (__memmove_falkor): Use multiple registers to move data in
12228 2018-05-10 Joseph Myers <joseph@codesourcery.com>
12230 * math/math-underflow.h: New file.
12231 * sysdeps/generic/math_private.h: Do not include <float.h>.
12232 (fabs_tg): Remove macro. Moved to math-underflow.h.
12233 (min_of_type_f): Likewise.
12234 (min_of_type_): Likewise.
12235 (min_of_type_l): Likewise.
12236 (min_of_type_f128): Likewise.
12237 (min_of_type): Likewise.
12238 (math_check_force_underflow): Likewise.
12239 (math_check_force_underflow_nonneg): Likewise.
12240 (math_check_force_underflow_complex): Likewise.
12241 * math/e_exp2_template.c: Include <math-underflow.h>.
12242 * math/k_casinh_template.c: Likewise.
12243 * math/s_catan_template.c: Likewise.
12244 * math/s_catanh_template.c: Likewise.
12245 * math/s_ccosh_template.c: Likewise.
12246 * math/s_cexp_template.c: Likewise.
12247 * math/s_clog10_template.c: Likewise.
12248 * math/s_clog_template.c: Likewise.
12249 * math/s_csin_template.c: Likewise.
12250 * math/s_csinh_template.c: Likewise.
12251 * math/s_csqrt_template.c: Likewise.
12252 * math/s_ctan_template.c: Likewise.
12253 * math/s_ctanh_template.c: Likewise.
12254 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12255 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12256 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12257 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12258 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12259 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12260 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12261 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12262 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12263 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12264 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12265 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12266 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12267 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12268 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12269 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12270 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12271 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12272 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12273 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12274 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12275 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12276 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12277 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12278 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12279 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12280 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12281 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12282 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12283 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12284 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12285 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12286 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12287 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12288 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12289 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12290 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12291 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12292 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12293 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12294 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12295 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12296 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12297 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12298 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12299 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12300 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12301 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12302 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12303 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12304 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12305 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12306 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12307 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12308 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12309 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12310 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12311 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12312 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12313 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12314 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12315 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12316 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12317 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12318 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12319 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12320 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12321 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12322 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12323 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12324 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12325 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12326 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12327 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
12328 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12329 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12330 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12331 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12332 * sysdeps/x86/fpu/powl_helper.c: Likewise.
12333 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
12334 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
12335 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12336 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12337 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12339 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12341 * sysdeps/generic/math-barriers.h: New file.
12342 * sysdeps/generic/math_private.h [!math_opt_barrier]
12343 (math_opt_barrier): Move to math-barriers.h.
12344 [!math_opt_barrier] (math_force_eval): Likewise.
12345 * sysdeps/aarch64/fpu/math-barriers.h: New file.
12346 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
12348 (math_force_eval): Likewise.
12349 * sysdeps/alpha/fpu/math-barriers.h: New file.
12350 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
12352 (math_force_eval): Likewise.
12353 * sysdeps/x86/fpu/math-barriers.h: New file.
12354 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
12356 (math_force_eval): Likewise.
12357 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
12358 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
12359 multiple-include guard for rename.
12360 * sysdeps/powerpc/fpu/math-barriers.h: New file.
12361 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
12363 (math_force_eval): Likewise.
12365 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
12369 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
12371 * stdlib/Makefile (test-bz22786): New test.
12372 * stdlib/test-bz22786.c: New test.
12374 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12376 * include/math-narrow-eval.h: New file. Contents moved from ....
12377 * sysdeps/generic/math_private.h: ... here.
12378 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
12379 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12380 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
12381 * stdlib/strtod_l.c: Likewise.
12382 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12383 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12384 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12385 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12386 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12387 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12388 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12389 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12390 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12391 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12392 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12393 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12394 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12395 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12396 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12397 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12398 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12399 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12400 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12401 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12402 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12403 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12404 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12405 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12406 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12407 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12408 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12409 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12410 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12412 2018-05-08 Andreas Schwab <schwab@suse.de>
12414 * sysdeps/nptl/internaltypes.h: Fix comment.
12416 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
12418 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12419 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
12422 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12424 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
12425 of I into loop header.
12426 * benchtests/bench-memmove-walk.c
12427 (test_main): Likewise.
12429 2018-05-07 Alexandre Oliva <oliva@gnu.org>
12432 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12433 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12435 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12438 * elf/dl-load.c (open_verify): Fix stack overflow.
12439 * elf/Makefile (tst-big-note): New test.
12440 * elf/tst-big-note-lib.S: New.
12441 * elf/tst-big-note.c: New.
12443 2018-05-04 Joseph Myers <joseph@codesourcery.com>
12445 * scripts/abilist.awk: Ignore absolute symbols.
12446 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
12447 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
12448 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
12449 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
12450 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
12451 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
12452 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12453 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
12454 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
12455 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
12456 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
12457 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
12458 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12459 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
12460 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
12461 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12462 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
12463 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
12464 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12465 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
12466 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12467 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
12468 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
12469 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
12470 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
12471 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12472 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
12473 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
12474 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12475 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
12476 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
12477 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12478 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
12479 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12480 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
12481 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
12482 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
12483 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
12484 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12485 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
12486 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
12487 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12488 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
12489 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
12490 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12491 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
12492 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12493 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
12494 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
12495 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
12496 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
12497 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12498 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
12499 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
12500 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12501 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
12502 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
12503 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12504 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
12505 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12506 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
12507 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
12508 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
12509 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
12510 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12511 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
12512 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
12513 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12514 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
12515 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
12516 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12517 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
12518 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12519 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
12520 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
12521 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
12522 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
12523 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12524 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
12525 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
12526 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12527 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
12528 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
12529 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12530 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
12531 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12532 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
12533 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
12534 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
12535 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
12536 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12537 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12539 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
12540 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12541 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
12542 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
12543 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12544 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
12545 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12546 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
12547 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
12548 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
12549 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
12550 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12551 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12553 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
12554 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12555 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
12556 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
12557 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12558 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
12559 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12560 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
12561 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
12562 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
12563 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
12564 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12565 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
12566 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
12567 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12568 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
12569 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
12570 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12571 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
12572 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12573 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
12574 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
12575 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
12576 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
12577 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12578 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12579 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12581 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
12582 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
12583 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
12584 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
12585 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12586 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
12587 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
12588 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
12589 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
12590 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
12591 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
12592 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
12593 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
12594 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12595 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
12596 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
12597 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
12598 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
12599 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12600 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12602 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
12603 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
12604 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
12605 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12606 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
12607 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12608 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
12609 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
12610 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
12611 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12612 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12613 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
12614 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12615 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12616 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
12617 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12618 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
12619 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
12620 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12621 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
12622 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
12623 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12624 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
12625 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12626 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
12627 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
12628 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
12629 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
12630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
12636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
12637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
12638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
12639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
12643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
12644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
12647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
12659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
12660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
12665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
12666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
12667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
12671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
12672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
12680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
12681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
12682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
12689 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12690 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
12692 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12693 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12694 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
12695 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12696 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12697 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12698 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12699 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
12700 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12701 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
12702 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12703 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
12704 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12705 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12707 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12708 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
12709 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
12710 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12711 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
12712 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12713 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
12714 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
12715 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
12716 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
12717 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12718 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12720 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12721 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
12722 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
12723 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12724 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
12725 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12726 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
12727 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
12728 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
12729 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
12730 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12731 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
12732 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
12733 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12734 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
12735 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
12736 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12737 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
12738 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12739 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
12740 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
12741 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
12742 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
12743 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12744 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12746 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
12747 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12748 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
12749 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
12750 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12751 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
12752 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12753 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
12754 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
12755 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
12756 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
12757 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12758 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12760 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
12761 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12762 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
12763 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
12764 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12765 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
12766 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12767 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
12768 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
12769 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
12770 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
12771 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12772 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
12773 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
12774 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12775 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
12776 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
12777 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12778 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
12779 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12780 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
12781 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
12782 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
12783 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
12784 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12785 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12786 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
12787 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
12788 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12789 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
12790 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
12791 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12792 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
12793 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12794 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
12795 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
12796 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
12797 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
12799 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
12802 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
12803 Use atomic_load_acquire to load __tid.
12805 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12807 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
12808 Restore the pointer into %rdx, after syscall and use %rdx,
12809 instead of %rsi, to restore context.
12811 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12813 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
12814 Pop the pointer into %rdx after syscall and use %rdx, instead
12815 of %rsi, to restore context.
12817 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12819 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
12820 handlers after setjmp.
12821 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
12823 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
12824 <libc-pointer-arith.h>.
12825 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
12826 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
12827 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
12828 _JUMP_BUF_SIGSET_BITS_PER_WORD.
12829 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
12830 * sysdeps/x86/__longjmp_cancel.S: New file.
12831 * sysdeps/x86/longjmp.c: Likewise.
12832 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
12834 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12836 * NEWS: Add ustat.h deprecation entry.
12837 * bits/ustat.h: Remove file.
12838 * misc/sys/ustat.h: Likewise.
12839 * misc/ustat.h: Likewise.
12840 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
12841 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
12842 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
12843 compatibility mode.
12844 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
12845 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
12846 generic Linux implementation.
12848 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12850 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
12851 * math/w_expl_compat.c: Likewise.
12852 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
12854 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12856 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12858 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12860 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
12861 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
12862 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
12864 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
12865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12866 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12867 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
12868 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
12871 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12873 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
12875 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
12876 * math/w_asin_template.c: Likewise.
12877 * math/w_atanh_template.c: Likewise.
12879 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12881 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
12882 to powerpc/powerpc64/be for big-endian.
12883 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
12886 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
12887 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
12888 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
12889 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
12890 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12891 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
12892 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
12893 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
12894 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
12895 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12896 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
12897 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
12898 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
12899 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
12900 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
12901 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
12902 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
12903 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
12904 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
12905 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
12906 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
12907 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12908 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
12909 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
12910 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
12911 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12912 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
12913 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
12914 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
12915 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12916 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12917 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12919 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
12920 adjusted to imply powerpc64 and older processors on powerpc64/be.
12921 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
12922 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
12923 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
12924 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
12925 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
12926 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
12927 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
12928 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
12929 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
12930 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
12931 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
12932 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
12933 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
12934 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
12935 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
12936 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
12937 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
12938 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
12939 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
12940 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
12941 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
12942 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
12943 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
12944 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
12945 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
12946 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
12947 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
12948 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
12949 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
12950 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
12951 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
12953 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
12954 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
12955 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
12956 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
12958 * sysdeps/powerpc/powerpc64/be/Implies: New file.
12959 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
12960 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
12961 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
12963 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
12964 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
12965 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
12966 * sysdeps/powerpc/powerpc64le/configure: Likewise.
12967 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
12968 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
12969 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
12970 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
12971 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
12972 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
12973 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
12975 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
12976 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
12977 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
12978 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
12979 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
12980 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
12981 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
12982 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
12983 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
12984 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
12985 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
12987 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
12988 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
12989 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
12990 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
12991 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
12992 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
12993 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
12994 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
12995 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
12996 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
12997 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
12998 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
13000 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
13001 and adjusted to imply olders processors.
13002 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
13003 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
13004 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
13005 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
13006 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
13007 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
13008 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
13009 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
13010 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
13011 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
13012 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
13014 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
13016 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
13017 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
13019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
13021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
13022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
13024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
13026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
13028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
13030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
13031 powerpc64 and adjusted.
13032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
13033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
13034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
13037 2018-04-27 Joseph Myers <joseph@codesourcery.com>
13039 * sysdeps/tile: Remove.
13040 * sysdeps/unix/sysv/linux/tile: Likewise.
13041 * README (tilegx-*-linux-gnu): Remove from list of supported
13043 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
13044 contribution of support for generic Linux kernel syscall
13046 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
13047 tilegx configurations.
13048 (Config.install_linux_headers): Do not handle tile.
13049 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
13051 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
13052 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
13053 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13054 conditional undefine and redefine.
13055 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
13057 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13058 conditional undefine and redefine.
13060 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
13062 * signal/tst-sigaction.c: New file to test BZ #23069.
13063 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
13065 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13068 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
13069 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
13070 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
13071 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13073 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13075 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
13076 _DIRENT_MATCHES_DIRENT64 is not defined.
13077 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
13078 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
13080 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
13081 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
13083 2018-04-25 Joseph Myers <joseph@codesourcery.com>
13085 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
13086 version to GCC 8 branch.
13088 2018-04-24 Joseph Myers <joseph@codesourcery.com>
13090 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
13091 (check_no_hidden): Use type of original function when declaring
13094 * sysdeps/unix/sysv/linux/sys/ptrace.h
13095 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
13096 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
13097 (struct __ptrace_seccomp_metadata): New type.
13098 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13099 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13100 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
13101 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13102 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
13103 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13104 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13105 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13106 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13107 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13108 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13109 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13110 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
13111 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13112 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
13113 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13115 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13117 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
13119 * dirent/versionsort.c (versionsort): Likewise.
13120 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
13121 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
13122 * dirent/versionsort64.c (versionsort64): Likewise.
13123 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
13124 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
13125 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
13126 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
13127 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
13128 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
13129 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
13130 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
13131 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
13132 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
13133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
13134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
13135 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
13136 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
13138 2018-04-23 Joseph Myers <joseph@codesourcery.com>
13140 * elf/elf.h (NT_PPC_PKEY): New macro.
13142 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
13145 * localedata/locales/hr_HR: fix thousands_sep and
13148 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13150 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
13151 (XTABS): Define to TAB3.
13153 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13155 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13157 * dirent/scandir-tail-common.c: New file.
13158 * dirent/scandir-tail.c: Use scandir-tail-common.c.
13159 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
13160 * dirent/scandir.c: Use scandir-tail-common.c.
13161 * dirent/scandirat.c: Likewise.
13162 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
13163 * dirent/scandir64.c (scandir64): Always build and alias to scandir
13164 if _DIRENT_MATCHES_DIRENT64 is defined.
13165 * dirent/scandirat64.c (scandirat64): Likewise.
13166 * include/dirent.h (__scandir_tail): Only define iff
13167 _DIRENT_MATCHES_DIRENT64 is not defined.
13168 (__scandir64_tail): Define regardless.
13169 (__scandirat, scandirat64): Remove libc_hidden_proto.
13170 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
13171 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
13172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
13173 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
13174 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13175 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
13176 * sysdeps/unix/sysv/linux/scandir64.c: New file.
13178 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13180 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
13182 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13184 (_dl_aarch64_cap_flags): Add asimdfhm.
13186 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
13188 * sysdeps/nios2/libm-test-ulps: Update.
13190 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13192 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
13193 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
13195 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
13197 (_DIRENT_MATCHES_DIRENT64): Undef
13198 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
13199 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
13200 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
13201 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
13202 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
13203 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
13204 use getdents64 syscalls as base.
13205 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
13206 symbol if required.
13207 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
13208 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
13209 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
13210 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
13211 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
13212 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
13213 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
13214 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
13215 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13216 (__get_clockfreq_via_proc_openprom): Use __getdents64.
13217 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
13219 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13221 * scripts/test_printers_common.py (init_test): Disable lock elision.
13223 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13225 * math/test-tgmath.c (count_double, count_float,
13226 count_ldouble, count_cdouble, count_cfloat,
13227 count_cldouble): Use volatile int.
13229 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13231 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
13232 (conformtest-xfail-conds): Add i386-gnu.
13233 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
13235 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
13236 ipc_perm.cuid, ipc_perm.cgid): Likewise.
13237 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
13238 msqid_ds.msg_lrpid): Likewise.
13239 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
13241 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
13242 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
13243 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
13244 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
13246 (struct statvfs64): Likewise.
13247 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
13249 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
13250 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
13251 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
13252 instead of wait_queue.
13253 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
13254 instead of vm_area_struct.
13255 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
13256 struct sched_param definition to it.
13257 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13258 * bits/types/struct_sched_param.h: New file.
13259 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
13260 <bits/types/struct_sched_param.h> instead of <sched.h>.
13261 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
13262 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
13263 generic version but include <bits/pthreadtypes.h> to make struct
13264 sigevent's sigev_notify_attributes field a pthread_attr_t*.
13265 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
13267 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
13268 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
13269 [__USE_XOPEN] (OFDEL): New macro.
13270 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
13271 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
13272 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
13274 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
13275 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
13276 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
13278 * sysdeps/i386/sys/ucontext.h: Likewise.
13279 * sysdeps/m68k/sys/ucontext.h: Likewise.
13280 * sysdeps/mips/sys/ucontext.h: Likewise.
13281 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
13282 * sysdeps/mach/hurd/i386/Makefile
13283 (test-xfail-POSIX/fcntl.h/conform): Add.
13284 (test-xfail-POSIX/signal.h/conform): Add.
13285 (test-xfail-POSIX/semaphore.h/conform): Add.
13286 (test-xfail-POSIX/regex.h/conform): Add.
13287 (test-xfail-POSIX/aio.h/conform): Add.
13288 (test-xfail-POSIX/mqueue.h/conform): Add.
13289 (test-xfail-POSIX/sys/types.h/conform): Add.
13290 (test-xfail-UNIX98/fcntl.h/conform): Add.
13291 (test-xfail-UNIX98/netdb.h/conform): Add.
13292 (test-xfail-UNIX98/signal.h/conform): Add.
13293 (test-xfail-UNIX98/semaphore.h/conform): Add.
13294 (test-xfail-UNIX98/regex.h/conform): Add.
13295 (test-xfail-UNIX98/aio.h/conform): Add.
13296 (test-xfail-UNIX98/ftw.h/conform): Add.
13297 (test-xfail-UNIX98/mqueue.h/conform): Add.
13298 (test-xfail-UNIX98/netinet/in.h/conform): Add.
13299 (test-xfail-UNIX98/sys/wait.h/conform): Add.
13300 (test-xfail-UNIX98/sys/sem.h/conform): Add.
13301 (test-xfail-UNIX98/sys/uio.h/conform): Add.
13302 (test-xfail-UNIX98/sys/socket.h/conform): Add.
13303 (test-xfail-UNIX98/sys/types.h/conform): Add.
13304 (test-xfail-UNIX98/stdlib.h/conform): Add.
13305 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
13306 (test-xfail-POSIX2008/fcntl.h/conform): Add.
13307 (test-xfail-POSIX2008/netdb.h/conform): Add.
13308 (test-xfail-POSIX2008/signal.h/conform): Add.
13309 (test-xfail-POSIX2008/semaphore.h/conform): Add.
13310 (test-xfail-POSIX2008/regex.h/conform): Add.
13311 (test-xfail-POSIX2008/aio.h/conform): Add.
13312 (test-xfail-POSIX2008/mqueue.h/conform): Add.
13313 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
13314 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
13315 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
13316 (test-xfail-POSIX2008/sys/types.h/conform): Add.
13317 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
13318 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
13319 (test-xfail-XOPEN2K/netdb.h/conform): Add.
13320 (test-xfail-XOPEN2K/signal.h/conform): Add.
13321 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
13322 (test-xfail-XOPEN2K/regex.h/conform): Add.
13323 (test-xfail-XOPEN2K/aio.h/conform): Add.
13324 (test-xfail-XOPEN2K/ftw.h/conform): Add.
13325 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
13326 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
13327 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
13328 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
13329 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
13330 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
13331 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
13332 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
13333 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
13334 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
13335 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
13336 (test-xfail-XOPEN2K8/signal.h/conform): Add.
13337 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
13338 (test-xfail-XOPEN2K8/regex.h/conform): Add.
13339 (test-xfail-XOPEN2K8/aio.h/conform): Add.
13340 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
13341 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
13342 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
13343 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
13344 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
13345 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
13346 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
13347 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
13348 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
13349 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
13350 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
13352 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
13353 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
13355 2018-04-18 Joseph Myers <joseph@codesourcery.com>
13357 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
13358 --enable-obsolete for powerpc-linux-gnuspe.
13360 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13362 * conform/data/sys/un.h-data: Allow sun_ prefix.
13363 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
13365 * sysdeps/mach/include/mach.h: Likewise.
13366 * sysdeps/mach/include/mach/mig_support.h: Likewise.
13367 * sysdeps/mach/include/mach_error.h: Likewise.
13369 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13371 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
13372 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
13373 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
13374 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
13376 2018-04-16 Andreas Schwab <schwab@suse.de>
13379 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
13381 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13383 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
13384 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
13386 2018-04-12 DJ Delorie <dj@redhat.com>
13388 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13391 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13393 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
13394 (struct kernel_sigaction): Use the same definition on 31bit as is used
13397 2018-04-09 Florian Weimer <fweimer@redhat.com>
13400 * resolv/res_send.c (send_dg): Use designated initializers instead
13401 of assignment to zero-initialize other fields of struct mmsghdr.
13403 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13405 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
13406 __READDIR_ALIAS): Undefine after usage.
13407 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
13408 __READDIR_R_ALIAS): Likewise.
13409 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
13410 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
13411 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
13412 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
13413 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
13414 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
13415 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13416 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13417 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
13418 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
13419 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
13420 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
13421 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13422 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
13423 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
13424 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
13425 * sysdeps/unix/sysv/linux/readdir.c: New file.
13426 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
13427 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
13428 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
13430 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13432 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
13434 * manual/charset.texi (Converting a Character): Fix typo.
13436 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13440 * sysdeps/arm/libm-test-ulps: Update.
13442 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
13443 as base implementation.
13444 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13445 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13446 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13447 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13448 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13449 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
13450 remove unrequired definitions and update comments.
13451 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
13452 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
13453 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
13454 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
13455 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
13456 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
13457 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
13458 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
13459 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
13460 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
13461 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
13462 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13463 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13464 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
13465 and RESET_SA_RESTORER hooks.
13467 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
13469 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13471 2018-04-05 Florian Weimer <fweimer@redhat.com>
13473 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
13474 integer overflow, memory leak on error, and indeterminate errno
13475 value. Add a null wide character to terminate the result string.
13476 * manual/charset.texi (Converting a Character): Mention embedded
13477 null bytes in the mbrtowc input string. Explain what happens in
13478 the -2 result case. Do not claim that mbrtowc is simple or
13479 obvious to use. Adjust the description of the code example. Use
13480 @code, not @var, for concrete variables.
13482 2018-04-05 Florian Weimer <fweimer@redhat.com>
13484 * manual/examples/mbstouwcs.c: New file.
13485 * manual/charset.texi (Converting a Character): Include it.
13487 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13489 * include/dirent.h (dirfd): Add hidden proto.
13490 * dirent/dirfd.c (dirfd): Add hidden def.
13491 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
13492 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
13494 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13496 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
13497 sin, cos and sincos to 1 ULP.
13499 2018-04-04 Maciej W. Rozycki <macro@mips.com>
13502 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
13504 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
13505 * elf/tst-absolute-sym.c: New file.
13506 * elf/tst-absolute-sym-lib.c: New file.
13507 * elf/tst-absolute-sym-lib.lds: New file.
13508 * elf/Makefile (tests): Add `tst-absolute-sym'.
13509 (modules-names): Add `tst-absolute-sym-lib'.
13510 (LDLIBS-tst-absolute-sym-lib.so): New variable.
13511 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
13512 ($(objpfx)tst-absolute-sym): New dependency.
13515 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
13517 (SYMBOL_ADDRESS): New macro.
13518 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
13519 SYMBOL_ADDRESS for symbol address calculation.
13520 * elf/dl-runtime.c (_dl_fixup): Likewise.
13521 (_dl_profile_fixup): Likewise.
13522 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
13523 * elf/rtld.c (dl_main): Likewise.
13524 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
13525 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
13526 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
13527 (elf_machine_rela): Likewise.
13528 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
13529 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
13530 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13531 (elf_machine_rela): Likewise.
13532 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13533 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
13534 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
13535 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13537 (elf_machine_reloc): Likewise.
13538 (elf_machine_got_rel): Likewise.
13539 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
13540 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
13541 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13543 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13545 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
13546 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13548 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13550 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13551 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13553 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13555 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
13556 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13558 2018-04-04 Zack Weinberg <zackw@panix.com>
13560 * sysdeps/generic/internal-signals.h: Include signal.h,
13561 sigsetops.h, and stdbool.h.
13562 (__libc_signal_block_all): Actually block all signals.
13563 (__libc_signal_block_app): Likewise.
13564 (__libc_signal_restore_set): Actually restore the signal mask.
13566 2018-04-04 Florian Weimer <fweimer@redhat.com>
13568 inet: Actually build and run tst-deadline.
13569 * inet/Makefile (tests-internal): Add tst-deadline and do not
13570 overwrite the variable.
13571 (tests-static-internal): Remove variable.
13573 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
13576 * bits/uio-ext.h (RWF_APPEND): New.
13577 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
13578 * manual/llio.texi: Document RWF_APPEND.
13579 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
13580 (RWF_SUPPORTED): Add RWF_APPEND.
13582 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13585 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
13586 check for internal nptl signals.
13587 * nptl/sigaction.c (__sigaction): Likewise.
13588 * signal/sigaddset.c (sigaddset): Likewise.
13589 * signal/sigdelset.c (sigdelset): Likewise.
13590 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13591 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
13593 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
13594 to filter out internal nptl signals.
13595 * signal/tst-sigset.c (do_test): Check ech signal indidually and
13596 also check realtime signals using standard macros.
13597 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
13598 __is_internal_signal, __libc_signal_block_all,
13599 __libc_signal_block_app, __libc_signal_restore_set): New functions.
13600 * sysdeps/nptl/sigfillset.c: Remove file.
13601 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
13602 Change return to bool.
13603 (__clear_internal_signals): Remove SIGTIMER clean since it is
13604 equal to SIGCANEL on Linux.
13605 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
13606 signal set was constructed using standard functions.
13608 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13610 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
13611 ifname is too long.
13612 * hurd/hurdsig.c (interrupted_reply_port_location): Use
13613 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
13614 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
13616 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
13617 * signal/sigaddset.c: Include <sigsetopts.h>.
13618 * signal/sigdelset.c: Likewise.
13620 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13622 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
13624 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
13625 logic as sin and cos.
13627 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13629 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
13630 inputs. Return correct sign.
13631 (do_sincos): Remove small input check before do_sin, let do_sin set
13636 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13638 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
13639 (do_cos_slow): Likewise.
13640 (do_sin_slow): Likewise.
13641 (reduce_and_compute): Likewise.
13646 (sloww1): Likewise.
13647 (sloww2): Likewise.
13649 (bslow1): Likewise.
13650 (bslow2): Likewise.
13651 (cslow2): Likewise.
13653 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13655 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
13656 (do_cos): Remove corp parameter and calculations.
13657 (do_sin): Likewise.
13658 (do_sincos): Remove cor variable.
13659 (__sin): Use do_sincos for huge inputs.
13661 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13662 (reduce_and_compute_sincos): Remove unused function.
13664 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13666 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
13667 reduce_sincos, improve accuracy to 136 bits.
13668 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
13669 (__sin): Use improved reduction and simplified do_sincos calculation.
13671 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13673 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13675 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
13676 (do_sincos_2): Likewise.
13677 (__sin): Remove middle range reduction case.
13679 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
13682 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13684 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
13685 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
13688 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
13690 2018-04-03 Joseph Myers <joseph@codesourcery.com>
13692 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13695 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13697 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
13698 Remove definitions.
13699 (opendir_oflags): Use O_DIRECTORY regardless.
13700 (__opendir, __opendirat): Remove need_isdir_precheck usage.
13701 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
13703 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13705 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
13706 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
13708 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
13709 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
13710 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
13711 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
13712 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
13713 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
13715 * htl/Makefile: Bump licence to LGPL 2.1+.
13716 * htl/alloca_cutoff.c: Likewise.
13717 * htl/cthreads-compat.c: Likewise.
13718 * htl/lockfile.c: Likewise.
13719 * htl/pt-alloc.c: Likewise.
13720 * htl/pt-cancel.c: Likewise.
13721 * htl/pt-cleanup.c: Likewise.
13722 * htl/pt-create.c: Likewise.
13723 * htl/pt-dealloc.c: Likewise.
13724 * htl/pt-detach.c: Likewise.
13725 * htl/pt-exit.c: Likewise.
13726 * htl/pt-getattr.c: Likewise.
13727 * htl/pt-initialize.c: Likewise.
13728 * htl/pt-internal.h: Likewise.
13729 * htl/pt-join.c: Likewise.
13730 * htl/pt-self.c: Likewise.
13731 * htl/pt-setcancelstate.c: Likewise.
13732 * htl/pt-setcanceltype.c: Likewise.
13733 * htl/pt-sigmask.c: Likewise.
13734 * htl/pt-spin-inlines.c: Likewise.
13735 * htl/pt-testcancel.c: Likewise.
13736 * htl/pt-yield.c: Likewise.
13737 * htl/tests/test-1.c: Likewise.
13738 * htl/tests/test-10.c: Likewise.
13739 * htl/tests/test-11.c: Likewise.
13740 * htl/tests/test-12.c: Likewise.
13741 * htl/tests/test-13.c: Likewise.
13742 * htl/tests/test-14.c: Likewise.
13743 * htl/tests/test-15.c: Likewise.
13744 * htl/tests/test-16.c: Likewise.
13745 * htl/tests/test-17.c: Likewise.
13746 * htl/tests/test-2.c: Likewise.
13747 * htl/tests/test-3.c: Likewise.
13748 * htl/tests/test-4.c: Likewise.
13749 * htl/tests/test-5.c: Likewise.
13750 * htl/tests/test-6.c: Likewise.
13751 * htl/tests/test-7.c: Likewise.
13752 * htl/tests/test-8.c: Likewise.
13753 * htl/tests/test-9.c: Likewise.
13754 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
13755 * sysdeps/htl/bits/cancelation.h: Likewise.
13756 * sysdeps/htl/bits/pthread-np.h: Likewise.
13757 * sysdeps/htl/bits/pthread.h: Likewise.
13758 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
13759 * sysdeps/htl/bits/semaphore.h: Likewise.
13760 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
13761 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
13762 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
13763 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
13764 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
13765 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
13766 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
13767 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
13768 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
13769 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
13770 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
13771 * sysdeps/htl/old_pt-atfork.c: Likewise.
13772 * sysdeps/htl/pt-atfork.c: Likewise.
13773 * sysdeps/htl/pt-attr-destroy.c: Likewise.
13774 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
13775 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
13776 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
13777 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
13778 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
13779 * sysdeps/htl/pt-attr-getscope.c: Likewise.
13780 * sysdeps/htl/pt-attr-getstack.c: Likewise.
13781 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
13782 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
13783 * sysdeps/htl/pt-attr-init.c: Likewise.
13784 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
13785 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
13786 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
13787 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
13788 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
13789 * sysdeps/htl/pt-attr-setscope.c: Likewise.
13790 * sysdeps/htl/pt-attr-setstack.c: Likewise.
13791 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
13792 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
13793 * sysdeps/htl/pt-attr.c: Likewise.
13794 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
13795 * sysdeps/htl/pt-barrier-init.c: Likewise.
13796 * sysdeps/htl/pt-barrier-wait.c: Likewise.
13797 * sysdeps/htl/pt-barrier.c: Likewise.
13798 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
13799 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
13800 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
13801 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
13802 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
13803 * sysdeps/htl/pt-cond-destroy.c: Likewise.
13804 * sysdeps/htl/pt-cond-init.c: Likewise.
13805 * sysdeps/htl/pt-cond-signal.c: Likewise.
13806 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
13807 * sysdeps/htl/pt-cond-wait.c: Likewise.
13808 * sysdeps/htl/pt-cond.c: Likewise.
13809 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
13810 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
13811 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
13812 * sysdeps/htl/pt-condattr-init.c: Likewise.
13813 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
13814 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
13815 * sysdeps/htl/pt-destroy-specific.c: Likewise.
13816 * sysdeps/htl/pt-equal.c: Likewise.
13817 * sysdeps/htl/pt-getconcurrency.c: Likewise.
13818 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
13819 * sysdeps/htl/pt-getschedparam.c: Likewise.
13820 * sysdeps/htl/pt-getspecific.c: Likewise.
13821 * sysdeps/htl/pt-init-specific.c: Likewise.
13822 * sysdeps/htl/pt-key-create.c: Likewise.
13823 * sysdeps/htl/pt-key-delete.c: Likewise.
13824 * sysdeps/htl/pt-key.h: Likewise.
13825 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
13826 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
13827 * sysdeps/htl/pt-mutex-init.c: Likewise.
13828 * sysdeps/htl/pt-mutex-lock.c: Likewise.
13829 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
13830 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
13831 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
13832 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
13833 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
13834 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
13835 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
13836 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
13837 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
13838 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
13839 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
13840 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
13841 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
13842 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
13843 * sysdeps/htl/pt-mutexattr.c: Likewise.
13844 * sysdeps/htl/pt-once.c: Likewise.
13845 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
13846 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
13847 * sysdeps/htl/pt-rwlock-init.c: Likewise.
13848 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
13849 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
13850 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
13851 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
13852 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
13853 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
13854 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
13855 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
13856 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
13857 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
13858 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
13859 * sysdeps/htl/pt-setconcurrency.c: Likewise.
13860 * sysdeps/htl/pt-setschedparam.c: Likewise.
13861 * sysdeps/htl/pt-setschedprio.c: Likewise.
13862 * sysdeps/htl/pt-setspecific.c: Likewise.
13863 * sysdeps/htl/pt-spin.c: Likewise.
13864 * sysdeps/htl/pt-startup.c: Likewise.
13865 * sysdeps/htl/pthread.h: Likewise.
13866 * sysdeps/htl/sem-close.c: Likewise.
13867 * sysdeps/htl/sem-destroy.c: Likewise.
13868 * sysdeps/htl/sem-getvalue.c: Likewise.
13869 * sysdeps/htl/sem-init.c: Likewise.
13870 * sysdeps/htl/sem-open.c: Likewise.
13871 * sysdeps/htl/sem-post.c: Likewise.
13872 * sysdeps/htl/sem-timedwait.c: Likewise.
13873 * sysdeps/htl/sem-trywait.c: Likewise.
13874 * sysdeps/htl/sem-unlink.c: Likewise.
13875 * sysdeps/htl/sem-wait.c: Likewise.
13876 * sysdeps/hurd/htl/pt-kill.c: Likewise.
13877 * sysdeps/i386/htl/pt-machdep.h: Likewise.
13878 * sysdeps/mach/htl/pt-block.c: Likewise.
13879 * sysdeps/mach/htl/pt-spin.c: Likewise.
13880 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
13881 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
13882 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
13883 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
13884 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
13885 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
13886 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
13887 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
13888 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
13889 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
13890 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
13891 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
13892 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
13893 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
13894 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
13895 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
13896 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
13897 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
13898 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
13899 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
13900 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
13901 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
13902 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
13903 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
13904 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
13905 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
13906 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
13907 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
13908 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
13909 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
13910 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
13911 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
13912 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
13913 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
13914 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
13915 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
13916 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
13917 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
13918 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
13919 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
13920 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
13921 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
13922 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
13924 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
13925 * README: Remove the mention of out-of-tree patches needed for
13928 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
13929 (UTIME_NOW, UTIME_OMIT): Define macros.
13931 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
13932 instead of pthread_detach.
13933 (__cthread_fork): Call __pthread_create instead of pthread_create.
13934 (__cthread_keycreate): Call __pthread_key_create instead of
13935 pthread_key_create.
13936 (__cthread_getspecific): Call __pthread_getspecific instead of
13937 pthread_getspecific.
13938 (__cthread_setspecific): Call __pthread_setspecific instead of
13939 pthread_setspecific.
13940 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
13941 __pthread_mutex_unlock instead of pthread_mutex_lock and
13942 pthread_mutex_unlock.
13943 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
13944 ___pthread_get_cleanup_stack.
13945 (__pthread_get_cleanup_stack): New strong alias.
13946 * htl/pt-create.c: Include <pthreadP.h>.
13947 (entry_point): Call __pthread_exit instead of pthread_exit.
13948 (pthread_create): Rename to __pthread_create.
13949 (pthread_create): New strong alias.
13950 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
13951 (pthread_detach): New strong alias.
13952 (__pthread_detach): Call __pthread_cond_broadcast instead of
13953 pthread_cond_broadcast.
13954 * htl/pt-exit.c: Include <pthreadP.h>.
13955 (__pthread_exit): Call __pthread_setcancelstate and
13956 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
13957 __pthread_get_cleanup_stack.
13958 * htl/pt-testcancel.c: Include <pthreadP.h>.
13959 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
13960 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
13961 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
13962 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
13963 pthread_attr_getstacksize.
13964 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
13965 Rename to __pthread_attr_getstackaddr.
13966 (pthread_attr_getstackaddr): New strong alias.
13967 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
13968 Rename to __pthread_attr_getstacksize.
13969 (pthread_attr_getstacksize): New strong alias.
13970 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
13971 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
13972 (pthread_attr_setstack): New strong alias.
13973 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
13974 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
13975 pthread_attr_getstacksize, pthread_attr_setstacksize and
13976 pthread_attr_setstackaddr.
13977 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
13978 Rename to __pthread_attr_setstackaddr.
13979 (pthread_attr_setstackaddr): New strong alias.
13980 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
13981 Rename to __pthread_attr_setstacksize.
13982 (pthread_attr_setstacksize): New strong alias.
13983 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
13984 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
13986 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
13987 (__pthread_key_create): New hidden def.
13988 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
13989 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
13990 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
13991 __pthread_exit, __pthread_key_create, __pthread_getspecific,
13992 __pthread_setspecific, __pthread_setcancelstate,
13993 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
13994 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
13995 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
13997 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
13998 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
13999 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
14000 (pthread_attr_setstackaddr): New strong alias.
14001 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
14002 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
14003 (pthread_attr_setstacksize): New strong alias.
14004 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
14005 (call_exit): Call __pthread_exit instead of pthread_exit.
14006 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
14007 (_pthread_mutex_init): New hidden definition.
14008 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
14009 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
14010 instead of pthread_attr_init and pthread_attr_setstack.
14012 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
14013 __vm_deallocate instead of vm_allocate and vm_deallocate.
14014 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
14016 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
14018 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
14020 * hurd/siginfo.c: Include <libioP.h>.
14021 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
14022 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
14024 * mach/devstream.c: Include <libioP.h>.
14025 (dealloc_ref): Call __mach_port_deallocate instead of
14026 mach_port_deallocate.
14027 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
14028 Call __mach_port_deallocate instead of mach_port_deallocate.
14029 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
14031 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
14033 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
14034 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
14035 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
14037 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
14039 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
14040 instead of sysconf.
14041 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
14042 __clock_gettime instead of clock_gettime.
14043 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
14044 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14045 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
14046 * sysdeps/unix/bsd/stty.c (stty): Likewise.
14047 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
14049 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
14050 __clock_gettime and __nanosleep instead of clock_gettime and
14052 * hurd/catch-signal.c (hurd_catch_signal): Rename to
14053 __hurd_catch_signal.
14054 (hurd_catch_signal): New strong alias.
14055 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
14056 __hurd_catch_signal instead of hurd_catch_signal.
14057 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
14058 * hurd/hurdexec.c (_hurd_init): Add hidden def.
14059 * hurd/hurdinit.c (_hurd_init): Add hidden def.
14060 * hurd/hurdsig.c: Include <mach/mig_support.h>.
14061 (_hurd_thread_sigstate): Add hidden def.
14062 (_hurd_internal_post_signal): Use __mutex_unlock instead of
14064 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
14065 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
14066 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
14067 __hurd_file_name_path_lookup.
14068 (hurd_file_name_path_lookup): New strong alias.
14069 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
14070 hurd_file_name_path_lookup.
14071 * mach/errstring.c (mach_error_type): Add hidden def.
14072 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
14073 * mach/mutex-init.c (__mutex_init): Add hidden def.
14074 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
14075 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
14076 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
14077 * sysdeps/mach/hurd/getcwd.c
14078 (_hurd_canonicalize_directory_name_internal): Rename to
14079 __hurd_canonicalize_directory_name_internal.
14080 (_hurd_canonicalize_directory_name_internal): New strong alias.
14081 (__canonicalize_directory_name_internal, __getcwd): Call
14082 __hurd_canonicalize_directory_name_internal instead of
14083 _hurd_canonicalize_directory_name_internal.
14084 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
14085 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
14087 * sysdeps/hurd/include/hurd.h: New file.
14088 * sysdeps/hurd/include/hurd/fd.h: New file.
14089 * sysdeps/hurd/include/hurd/signal.h: New file.
14090 * sysdeps/mach/include/lock-intern.h: New file.
14091 * sysdeps/mach/include/mach.h: New file.
14092 * sysdeps/mach/include/mach/mig_support.h: New file.
14093 * sysdeps/mach/include/mach_error.h: New file.
14094 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
14096 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
14097 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
14098 _HEADER_H_HIDDEN_DEF macro.
14099 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
14100 _hurd_fd_error_signal): Add hidden prototype.
14101 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
14103 * libio/iolibio.h (_IO_puts): New hidden prototype.
14104 * libio/ioputs.c (_IO_puts): New hidden def.
14105 * sysdeps/mach/hurd/localplt.data: New file.
14107 2018-04-02 Agustina Arzille <avarzille@riseup.net>
14108 Amos Jeffries <squid3@treenet.co.nz>
14109 David Michael <fedora.dm0@gmail.com>
14110 Marco Gerards <marco@gnu.org>
14111 Marcus Brinkmann <marcus@gnu.org>
14112 Neal H. Walfield <neal@gnu.org>
14113 Pino Toscano <toscano.pino@tiscali.it>
14114 Richard Braun <rbraun@sceen.net>
14115 Roland McGrath <roland@gnu.org>
14116 Samuel Thibault <samuel.thibault@ens-lyon.org>
14117 Thomas DiModica <ricinwich@yahoo.com>
14118 Thomas Schwinge <tschwinge@gnu.org>
14120 * htl: New directory.
14121 * sysdeps/htl: New directory.
14122 * sysdeps/hurd/htl: New directory.
14123 * sysdeps/i386/htl: New directory.
14124 * sysdeps/mach/htl: New directory.
14125 * sysdeps/mach/hurd/htl: New directory.
14126 * sysdeps/mach/hurd/i386/htl: New directory.
14127 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
14128 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
14129 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
14131 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14133 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
14134 signals in thread created for runing timers.
14136 2018-04-01 Florian Weimer <fweimer@redhat.com>
14138 * support/support_format_addrinfo.c (support_format_addrinfo):
14139 Include unknown error number in formatted result.
14141 2018-03-29 Florian Weimer <fweimer@redhat.com>
14143 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
14146 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14148 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
14149 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
14150 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14151 (__ASSUME_CLONE_BACKWARDS): Define.
14153 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
14156 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
14157 early when linux sentinel value is set.
14159 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14161 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
14163 2018-03-27 Andreas Schwab <schwab@suse.de>
14166 * resolv/res_send.c (__res_context_send): Return ENOMEM if
14167 allocation of private copy of nsaddr_list fails.
14169 2018-03-26 Joseph Myers <joseph@codesourcery.com>
14172 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
14173 * sysdeps/unix/sysv/linux/umount.c: ... here.
14174 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
14175 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
14176 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
14177 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
14178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
14179 * sysdeps/unix/sysv/linux/umount.S: Likewise.
14180 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
14182 2018-03-26 Andreas Schwab <schwab@suse.de>
14184 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
14185 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
14186 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
14187 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
14188 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
14189 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
14190 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
14191 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
14192 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
14193 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
14194 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
14195 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
14196 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
14197 (R_RISCV_NUM): Define.
14199 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14201 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
14202 TLS declaration of errno.
14203 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
14205 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
14206 (ARCH_SETUP_TLS): Likewise.
14207 * sysdeps/mach/hurd/libc-start.h: New file copied from
14208 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
14209 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
14210 instead of __libc_setup_tls.
14211 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
14212 __libc_setup_tls before initializing libpthread and running _hurd_init
14213 which starts the signal thread.
14214 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
14216 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14218 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
14221 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
14222 after it is defined.
14224 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
14225 Max Horn <max@quendi.de>
14229 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
14231 * string/test-memmove.c (do_test2): New testcase.
14233 2018-03-22 Joseph Myers <joseph@codesourcery.com>
14235 * sysdeps/generic/frame.h: Remove file.
14236 * sysdeps/arm/frame.h: Likewise.
14237 * sysdeps/hppa/frame.h: Likewise.
14238 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
14240 (GET_FRAME): Likewise.
14241 (GET_STACK): Likewise.
14242 (CALL_SIGHANDLER): Likewise.
14243 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
14245 (GET_FRAME): Likewise.
14246 (GET_STACK): Likewise.
14247 (CALL_SIGHANDLER): Likewise.
14248 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
14249 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14250 (GET_FRAME): Likewise.
14251 (GET_STACK): Likewise.
14252 (CALL_SIGHANDLER): Likewise.
14253 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
14254 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14255 (GET_FRAME): Likewise.
14256 (GET_STACK): Likewise.
14257 (ADVANCE_STACK_FRAME): Likewise.
14258 (CALL_SIGHANDLER): Likewise.
14259 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
14260 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14261 (GET_FRAME): Likewise.
14262 (GET_STACK): Likewise.
14263 (CALL_SIGHANDLER): Likewise.
14264 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
14265 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14266 (GET_FRAME): Likewise.
14267 (GET_STACK): Likewise.
14268 (CALL_SIGHANDLER): Likewise.
14269 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
14270 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14271 (GET_FRAME): Likewise.
14272 (GET_STACK): Likewise.
14273 (CALL_SIGHANDLER): Likewise.
14274 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
14275 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14276 (GET_FRAME): Likewise.
14277 (GET_STACK): Likewise.
14278 (CALL_SIGHANDLER): Likewise.
14279 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
14280 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14281 (GET_FRAME): Likewise.
14282 (GET_STACK): Likewise.
14283 (CALL_SIGHANDLER): Likewise.
14284 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
14285 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14286 (GET_FRAME): Likewise.
14287 (GET_STACK): Likewise.
14288 (CALL_SIGHANDLER): Likewise.
14289 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
14290 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14291 (GET_FRAME): Likewise.
14292 (GET_STACK): Likewise.
14293 (CALL_SIGHANDLER): Likewise.
14294 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
14295 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14296 (GET_FRAME): Likewise.
14297 (GET_STACK): Likewise.
14298 (CALL_SIGHANDLER): Likewise.
14299 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
14300 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14301 (GET_FRAME): Likewise.
14302 (GET_STACK): Likewise.
14303 (CALL_SIGHANDLER): Likewise.
14304 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
14305 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14306 (FIRST_FRAME_POINTER): Likewise.
14307 (ADVANCE_STACK_FRAME): Likewise.
14308 (GET_STACK): Likewise.
14309 (GET_FRAME): Likewise.
14310 (CALL_SIGHANDLER): Likewise.
14311 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
14312 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14313 (ADVANCE_STACK_FRAME): Likewise.
14314 (GET_STACK): Likewise.
14315 (GET_FRAME): Likewise.
14316 (CALL_SIGHANDLER): Likewise.
14317 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
14318 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14319 (GET_FRAME): Likewise.
14320 (GET_STACK): Likewise.
14321 (CALL_SIGHANDLER): Likewise.
14322 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
14323 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14324 (GET_FRAME): Likewise.
14325 (GET_STACK): Likewise.
14326 (CALL_SIGHANDLER): Likewise.
14328 2018-03-21 Joseph Myers <joseph@codesourcery.com>
14330 * sysdeps/x86_64/backtrace.c: Move to ....
14331 * debug/backtrace.c: ... here.
14332 * sysdeps/aarch64/backtrace.c: Remove file.
14333 * sysdeps/alpha/backtrace.c: Likewise.
14334 * sysdeps/hppa/backtrace.c: Likewise.
14335 * sysdeps/ia64/backtrace.c: Likewise.
14336 * sysdeps/mips/backtrace.c: Likewise.
14337 * sysdeps/nios2/backtrace.c: Likewise.
14338 * sysdeps/riscv/backtrace.c: Likewise.
14339 * sysdeps/sh/backtrace.c: Likewise.
14340 * sysdeps/tile/backtrace.c: Likewise.
14342 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14345 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
14348 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
14351 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
14352 possibly overflowing computations.
14354 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14356 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
14357 values from Linux-specific section now that it is in the GNU section.
14358 * sysdeps/gnu/errlist.c: Regenerate.
14360 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14362 * math/Makefile (libm-narrow-fns): Add sub.
14363 (libm-test-funcs-narrow): Likewise.
14364 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
14365 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
14366 * math/gen-auto-libm-tests.c (test_functions): Add sub.
14367 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
14368 (NARROW_SUB_ROUND_TO_ODD): Likewise.
14369 (NARROW_SUB_TRIVIAL): Likewise.
14370 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
14372 (__dsubl): Likewise.
14373 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
14375 (CFLAGS-nldbl-dsub.c): New variable.
14376 (CFLAGS-nldbl-fsub.c): Likewise.
14377 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14379 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
14381 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
14382 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
14383 * math/auto-libm-test-in: Add tests of sub.
14384 * math/auto-libm-test-out-narrow-sub: New generated file.
14385 * math/libm-test-narrow-sub.inc: New file.
14386 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14387 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
14388 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
14389 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
14390 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
14391 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
14392 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
14393 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
14394 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
14395 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
14396 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
14397 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
14398 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
14399 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
14400 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
14401 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
14402 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
14403 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
14404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14405 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14406 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14407 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14408 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14409 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14410 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14411 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14412 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14413 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14414 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14415 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14416 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14417 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14422 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14423 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14424 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14425 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14426 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14427 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14428 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14429 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14430 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14431 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14433 2018-03-19 Joseph Myers <joseph@codesourcery.com>
14436 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
14438 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
14440 * benchtests/bench-timing.h (attribute_hidden): Undefine.
14442 2018-03-18 Richard Braun <rbraun@sceen.net>
14444 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
14447 2018-03-18 Agustina Arzille <avarzille@riseup.net>
14449 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
14450 (__libc_cleanup_fct): Define function.
14451 (__libc_cleanup_region_start, __libc_cleanup_region_end,
14452 __libc_cleanup_end): Rewrite implementation using
14453 __attribute__ ((__cleanup__)).
14454 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
14455 * hurd/Makefile (routines): Add hurdlock.
14456 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
14458 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
14459 * hurd/hurdpid.c: Include <lowlevellock.h>
14460 (_S_msg_proc_newids): Use lll_wait to synchronize.
14461 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
14462 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
14463 * mach/Makefile (lock-headers): Remove machine-lock.h.
14464 * mach/lock-intern.h: Include <lowlevellock.h> instead of
14466 (__spin_lock_t): New type.
14467 (__SPIN_LOCK_INITIALIZER): New macro.
14468 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
14469 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
14470 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
14471 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
14472 (__mutex_init): Initialize with lll.
14473 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
14474 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
14476 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14477 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
14478 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
14479 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
14480 (__setpgid): Use lll for synchronization.
14481 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
14482 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
14483 instead of <cthreads.h>.
14484 (_IO_lock_inexpensive): New macro
14485 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
14486 (__libc_lock_self0): New declaration.
14487 (__libc_lock_owner_self): New macro.
14488 (__libc_key_t): Remove type.
14489 (_LIBC_LOCK_INITIALIZER): New macro.
14490 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
14491 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
14492 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
14493 __libc_lock_define_initialized_recursive,
14494 __rtld_lock_define_initialized_recursive,
14495 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
14496 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
14497 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
14498 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
14499 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
14500 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
14501 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
14503 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
14504 * hurd/hurdlock.c: New file.
14505 * hurd/hurdlock.h: New file.
14506 * mach/lowlevellock.h: New file
14508 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14510 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
14511 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
14512 when opening a symlink with O_NOFOLLOW.
14513 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
14514 path when flags contains O_NOFOLLOW.
14515 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
14516 if flags contains O_DIRECTORY and the result is a directory.
14517 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
14518 oneself when the pointer given in D is nul (as set by ext2fs).
14519 * sysdeps/mach/hurd/mlockall.c: New file.
14520 * sysdeps/mach/hurd/munlockall.c: New file.
14522 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14524 * hurd/hurdsig.c: Include <pthread.h>.
14525 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
14526 get the signal thread stack layout.
14527 * hurd/Makefile (headers): Remove threadvar.h.
14528 (inline-headers): Remove threadvar.h.
14529 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
14530 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
14531 __hurd_threadvar_max, __hurd_errno_location.
14532 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
14533 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
14534 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
14535 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
14536 unless TLS is not initialized yet, in which case we do not need a
14537 critical section yet anyway.
14538 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
14540 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
14542 (__hurd_threadvar_index): Remove enum.
14543 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
14544 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
14546 (__hurd_reply_port0): New variable declaration.
14547 (__hurd_local_reply_port): New macro.
14548 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
14549 (interrupted_reply_port_location): Add thread_t parameter. Use it
14550 with THREAD_TCB to access thread-local variables.
14551 (_hurdsig_abort_rpcs): Pass ss->thread to
14552 interrupted_reply_port_location.
14553 (_hurd_internal_post_signal): Likewise.
14554 (_hurdsig_init): Use presence of cthread_fork instead of
14555 __hurd_threadvar_stack_mask to start signal thread by hand.
14556 Remove signal thread threadvar initialization.
14557 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
14558 * hurd/sigunwind.c: Include <hurd/threadvar.h>
14559 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
14561 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
14563 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
14564 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
14565 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
14566 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
14567 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
14568 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
14569 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
14571 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
14572 <hurd/threadvar.h>.
14573 [IS_IN(rtld)] (rtld_errno): New variable.
14574 [IS_IN(rtld)] (__errno_location): New weak function.
14575 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
14576 * sysdeps/mach/hurd/errno.c: Remove file.
14577 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
14578 (__fork): Remove THREADVAR_SPACE macro and its use.
14579 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
14581 (init): Do not initialize threadvar.
14582 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
14584 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
14585 __hurd_local_reply_port instead of threadvar.
14586 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
14587 _hurd_sigstate fields.
14588 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
14589 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
14590 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
14591 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
14592 instead of threadvar.
14593 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
14594 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
14595 (use_threadvar, global_reply_port): Remove variables.
14596 (__hurd_reply_port0): New variable.
14597 (__mig_get_reply_port): Use __hurd_local_reply_port and
14598 __hurd_reply_port0 instead of threadvar.
14599 (__mig_dealloc_reply_port): Likewise.
14600 (__mig_init): Do not initialize threadvar.
14601 * sysdeps/mach/hurd/profil.c: Fix comment.
14602 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
14603 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
14604 cthread_keycreate, cthread_getspecific, cthread_setspecific to
14605 __cthread_fork, __cthread_detach, __pthread_getattr_np,
14606 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
14607 __cthread_setspecific.
14608 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
14609 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
14610 __cthread_t instead of cthread_fork, cthread_detach,
14611 pthread_getattr_np, pthread_attr_getstack.
14612 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
14613 __cthread_keycreate.
14614 (cthread_getspecific): Rename to __cthread_getspecific.
14615 (cthread_setspecific): Rename to __cthread_setspecific.
14616 (__libc_getspecific): Use __cthread_getspecific instead of
14617 cthread_getspecific.
14618 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
14619 __cthread_keycreate instead of cthread_keycreate.
14620 (__libc_setspecific): Use __cthread_setspecific instead of
14621 cthread_setspecific.
14622 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
14624 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
14625 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
14626 testing whether it is defined.
14628 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14630 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
14632 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
14633 * sysdeps/mach/i386/thread_state.h
14634 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
14636 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
14638 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
14640 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
14641 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
14643 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
14645 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
14646 descriptor instead of creating a new one.
14647 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
14649 * mach/setup-thread.c: Include <ldsodefs.h>.
14650 (__mach_setup_thread): Call _dl_allocate_tls, pass
14651 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
14652 MACHINE_THREAD_STATE_FLAVOR, before getting
14653 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
14654 MACHINE_THREAD_STATE_FLAVOR with the result.
14655 * hurd/hurdfault.c (_hurdsig_fault_init): Call
14656 MACHINE_THREAD_STATE_FIX_NEW.
14657 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
14658 too. Add original thread parameter.
14660 2018-03-16 Joseph Myers <joseph@codesourcery.com>
14662 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
14663 Remove inline function.
14665 * sysdeps/i386/fpu/libm-test-ulps: Update.
14666 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14668 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
14670 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
14673 2018-03-15 Joseph Myers <joseph@codesourcery.com>
14675 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
14676 (__sincos_code): Remove define and undefine.
14677 [__FAST_MATH__] (__sincos): Remove inline function.
14678 [__FAST_MATH__] (__sincosf): Remove inline function.
14679 [__FAST_MATH__] (__sincosl): Remove inline function.
14680 (__atan2l): Remove inline functions.
14681 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
14682 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
14684 (floor): Remove inline function.
14686 [__FAST_MATH__] (__ldexp_code): Remove macro.
14687 [__FAST_MATH__] (ldexp): Remove inline function.
14688 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
14689 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
14690 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
14691 [__USE_ISOC99] (__lrint_code): Remove macro.
14692 [__USE_ISOC99] (__llrint_code): Likewise.
14693 [__USE_ISOC99] (lrintf): Remove inline function.
14694 [__USE_ISOC99] (lrint): Likewise.
14695 [__USE_ISOC99] (lrintl): Likewise.
14696 [__USE_ISOC99] (llrint): Likewise.
14697 [__USE_ISOC99] (llrintf): Likewise.
14698 [__USE_ISOC99] (llrintl): Likewise.
14700 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14702 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
14703 (__ieee754_sqrtf): Remove.
14704 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
14705 (__ieee754_sqrtf): Remove.
14706 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
14707 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14708 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
14709 (__ieee754_sqrtf): Remove.
14710 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
14711 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
14714 (__ieee754_sqrt): Remove.
14715 (__ieee754_sqrtf): Remove.
14716 (__ieee754_sqrtl): Remove.
14717 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14718 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
14719 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
14720 (__ieee754_sqrtf): Remove.
14721 (__ieee754_sqrtl): Remove.
14723 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14725 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
14726 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14727 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14728 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
14729 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
14730 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14731 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14732 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14734 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
14735 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
14736 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14737 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14738 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
14739 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
14740 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14741 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
14742 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14743 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14744 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
14745 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14746 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
14747 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
14748 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
14749 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14750 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14751 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14752 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
14753 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
14754 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14755 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14756 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
14757 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
14758 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
14759 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
14760 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14761 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14762 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
14763 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14764 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14765 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
14766 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14767 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
14768 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14769 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14770 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
14771 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
14772 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14773 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
14775 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14777 * include/math.h (sqrt): Declare with asm redirect.
14780 (sqrtf128): Likewise.
14781 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
14782 nonlib and libnldbl with -fmath-errno.
14783 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
14784 * math/w_sqrt_template.c: Likewise.
14785 * math/w_sqrtf_compat.c: Likewise.
14786 * math/w_sqrtl_compat.c: Likewise.
14787 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
14788 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
14789 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
14792 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14794 * benchtests/Makefile: Define _ISOMAC.
14795 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
14796 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
14797 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
14798 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
14799 * benchtests/bench-timing.h: Define attribute_hidden.
14801 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14803 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
14806 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14809 * localedata/locales/cs_CZ (mon): Rename to...
14811 (mon): Import from CLDR (genitive case).
14813 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14816 * localedata/locales/el_CY (abmon): Rename to...
14817 (ab_alt_mon): This.
14818 (abmon): Import from CLDR (abbreviated genitive case).
14819 * localedata/locales/el_GR (abmon): Rename to...
14820 (ab_alt_mon): This.
14821 (abmon): Import from CLDR (abbreviated genitive case).
14823 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14826 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
14828 2018-03-15 Robert Buj <robert.buj@gmail.com>
14831 * localedata/locales/ca_ES (abmon): Rename to...
14832 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14833 (mon): Rename to...
14835 (abmon): Import from CLDR (genitive case, month names preceded by
14838 (abday): Synchronize with CLDR.
14839 (d_t_fmt): Likewise.
14843 (LC_TIME): Improve indentation.
14844 (LC_TELEPHONE): Likewise.
14845 (LC_NAME): Likewise.
14846 (LC_ADDRESS): Likewise.
14848 2018-03-14 Joseph Myers <joseph@codesourcery.com>
14850 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
14851 (lrintf): Remove definitions used only with old GCC.
14852 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
14853 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
14854 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
14855 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
14856 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
14857 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
14858 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
14859 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
14860 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
14861 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
14862 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
14863 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
14864 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
14865 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
14866 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
14867 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
14868 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
14869 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
14870 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
14871 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
14872 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
14873 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
14874 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
14875 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
14876 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
14877 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
14878 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
14879 [__FAST_MATH__] (__M_SQRT2): Remove macro.
14881 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
14883 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
14884 instruction to unbreak builds with binutils 2.26 and older.
14886 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
14888 * sysdeps/aarch64/strncmp.S (count): New macro.
14889 (strncmp): Store misaligned length in SRC1 in COUNT.
14890 (mutual_align): Adjust.
14891 (misaligned8): Load dword at a time when it is safe.
14893 2018-03-12 Zack Weinberg <zackw@panix.com>
14897 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
14898 if the _IO_EOF_SEEN bit is already set; update commentary.
14899 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
14900 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
14902 * support/support_openpty.c, support/tty.h: New files.
14903 * support/Makefile (libsupport-routines): Add support_openpty.
14905 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
14907 * libio/Makefile (tests): Add tst-fgetc-after-eof.
14908 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
14910 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
14912 * po/pt_BR.po: Update translations.
14914 2018-03-12 David Michael <fedora.dm0@gmail.com>
14916 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
14917 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
14918 get a port to the startup server.
14920 2018-03-11 Zack Weinberg <zackw@panix.com>
14922 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
14923 before nldbl-compat.h.
14925 2018-03-10 Zack Weinberg <zackw@panix.com>
14927 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
14928 math.h or math_private.h.
14930 * sysdeps/alpha/fpu/s_isnan.c
14931 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
14932 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
14933 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
14934 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
14935 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
14936 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
14937 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
14938 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
14939 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
14940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
14941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
14942 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
14943 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
14944 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
14945 Include math_private.h.
14947 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
14948 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
14949 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
14950 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
14951 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
14952 * sysdeps/powerpc/power7/fpu/s_logb.c:
14953 Include math.h and math_private.h.
14955 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
14956 uses of $at in .set noat / .set at.
14958 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
14960 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
14961 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
14962 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
14963 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
14966 2018-03-09 Florian Weimer <fweimer@redhat.com>
14968 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
14971 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
14974 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
14975 Add nop before __startcontext, add explaining comments.
14977 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14980 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
14982 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
14983 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
14984 Do not build hardware transactional code for __SPE__.
14985 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14986 (__lll_trylock_elision): Likewise.
14987 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14988 (__lll_unlock_elision): Likewise.
14990 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
14991 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
14992 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
14993 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
14994 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
14995 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
14996 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
14997 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
14998 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
14999 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
15000 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
15001 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
15002 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
15003 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
15004 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
15005 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
15006 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
15007 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
15008 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
15009 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
15010 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
15011 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15012 (__ASSUME_CLONE_BACKWARDS): Define.
15013 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
15014 __clone2 if __NR_clone2 is defined.
15015 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15016 (__ASSUME_CLONE_BACKWARDS): Likewise.
15017 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15018 (__ASSUME_CLONE_BACKWARDS): Likewise.
15019 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15020 (__ASSUME_CLONE2): Likewise.
15021 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15022 (__ASSUME_CLONE_BACKWARDS3): Likewise.
15023 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
15024 variants and the define architecture can use.
15025 (__ASSUME_CLONE_DEFAULT): Define as default.
15026 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15027 (__ASSUME_CLONE_BACKWARDS): Likewise.
15028 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15029 (__ASSUME_CLONE_BACKWARDS): Likewise.
15030 * sysdeps/unix/sysv/linux/s390/kernel-features.h
15031 (__ASSUME_CLONE_BACKWARDS2): Likewise.
15033 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15035 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
15037 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
15040 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
15041 (do_test_limit): Likewise.
15043 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
15044 for every implementation.
15045 (do_test): Likewise.
15047 * benchtests/bench-strncmp.c: Convert output to json.
15049 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15051 * io/futimens.c: Add missing start-of-file descriptive comment.
15052 * io/utime.c: Likewise.
15053 * misc/futimesat.c: Likewise.
15054 * misc/utimes.c: Likewise.
15055 * sysdeps/mach/hurd/futimesat.c: Likewise.
15056 * sysdeps/mach/hurd/utimes.c: Likewise.
15057 * sysdeps/posix/utime.c: Likewise.
15058 * sysdeps/posix/utimes.c: Likewise.
15059 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
15060 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15061 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
15062 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
15064 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15066 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
15068 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
15069 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
15070 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
15071 (__futimens): Move implementation to...
15072 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
15073 utime_tvalue_from_tspec): ... new helper functions.
15074 (hurd_futimens): New function.
15075 * sysdeps/mach/hurd/futimesat.c: New file.
15076 * sysdeps/mach/hurd/utimensat.c: New file.
15078 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
15080 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
15081 UTIME_OMIT): New macros.
15082 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
15083 before reverting to converting time spec to time value and calling
15085 * sysdeps/mach/hurd/utime-helper.c: New file.
15086 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
15087 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
15088 reverting to utime_tvalue_from_tval and __file_utimes.
15089 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
15090 (__lutimes): Just call hurd_futimens after lookup.
15091 * sysdeps/mach/hurd/utimes.c: Likewise.
15093 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15095 * bits/sigaction.h: Add include guard.
15096 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
15097 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
15098 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
15099 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
15100 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
15101 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
15102 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
15103 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
15104 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
15106 2018-03-05 Joseph Myers <joseph@codesourcery.com>
15108 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
15109 -Wmaybe-uninitialized for -Os.
15110 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
15113 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15115 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
15116 __INO_T_MATCHES_INO64_T is defined.
15117 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
15118 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
15120 * dirent/alphasort64.c: Likewise.
15121 * dirent/scandir.c: Likewise.
15122 * dirent/scandir64-tail.c: Likewise.
15123 * dirent/scandir64.c: Likewise.
15124 * dirent/scandirat.c: Likewise.
15125 * dirent/scandirat64.c: Likewise.
15126 * dirent/versionsort.c: Likewise.
15127 * dirent/versionsort64.c: Likewise.
15128 * include/dirent.h: Likewise.
15130 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
15131 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
15132 for socketpair endpoint.
15133 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
15134 WRITE_BUFFER_SIZE as buffer size for sending socket.
15135 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
15136 issue on system where send is implemented with sendto syscall.
15137 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
15138 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
15139 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
15140 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
15143 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
15144 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
15145 sa_restorer for vDSO case.
15146 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
15148 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15150 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
15151 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
15152 * hurd/hurd/ioctl.h: Include <mach/port.h>
15153 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
15154 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
15155 <mach/mach_types.h> and <mach/message.h>.
15156 (headers): Move mach/param.h to bits/mach/param.h.
15157 * sysdeps/mach/i386/mach/param.h: Move file to ...
15158 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
15159 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
15161 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
15162 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
15163 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
15164 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
15165 trivial, for C++ conformity.
15166 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
15167 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
15168 Process mig output through $(migheadersed).
15169 * hurd/Makefile (migheadersed): Define variable.
15170 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
15171 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
15173 * hurd/hurd.h: Include <bits/types/sigset_t.h>
15174 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
15175 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
15176 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
15177 <bits/types/sigset_t.h>.
15178 [!defined __USE_GNU]: Do not #error out.
15179 (struct hurd_sigstate): Use _NSIG instead of NSIG.
15180 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
15181 Include <stddef.h> and <bits/types/sigset_t.h>
15182 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
15183 instead of sighandler_t.
15184 * stdlib/errno.h (error_t): Move definition to...
15185 * bits/types/error_t.h: ... new header.
15186 * stdlib/Makefile (headers): Add bits/types/error_t.h.
15187 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
15188 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
15189 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
15190 * hurd/hurd.h: Include <bits/types/error_t.h>
15191 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
15192 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
15193 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
15194 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
15195 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
15196 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
15197 * sysdeps/mach/hurd/futimens.c: New file.
15199 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
15202 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
15203 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
15204 * nscd/gai.c (__nss_hosts_database): Readd definition.
15205 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
15206 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
15207 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
15209 2018-03-02 Joseph Myers <joseph@codesourcery.com>
15211 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
15212 (ifunc_one): Likewise.
15214 2018-03-01 DJ Delorie <dj@delorie.com>
15217 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
15220 2018-03-01 Maciej W. Rozycki <macro@mips.com>
15222 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
15223 `match_pid' parameter.
15224 (td_ta_thr_iter): Update accordingly.
15226 2018-03-01 Florian Weimer <fweimer@redhat.com>
15228 * nptl/Makefile (install-lib-ldscripts): Remove.
15229 (install): Remove rule.
15230 ($(inst_libdir)/libpthread.so): Likewise.
15232 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15235 * localedata/locales/an_ES: update month and day names,
15236 improve d_fmt, improve postal_fmt, add country_post,
15239 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15241 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
15242 Ukrainian instead of Bulgarian.
15244 2018-03-01 Florian Weimer <fweimer@redhat.com>
15246 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
15249 2018-03-01 Florian Weimer <fweimer@redhat.com>
15251 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
15252 * nptl/Makefile (routines): Add pthread_atfork.
15253 (static-only-routines): Set to pthread_atfork.
15254 (libpthread-routines): Remove pthread_atfork.
15255 (libpthread-static-only-routines): Remove.
15256 (install): Update comment.
15257 (libpthread.so): Do not install libpthread_nonshared.a.
15258 (tests): Do not link with libpthread_nonshared.a.
15259 (generated): Remove libpthread_nonshared.a.
15260 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
15261 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
15262 with libpthread_nonshared.a.
15264 2018-02-28 Joseph Myers <joseph@codesourcery.com>
15267 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
15268 (libc_feholdexcept_setroundf128): New macro.
15269 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
15272 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
15274 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
15275 * include/inttypes.h: New file.
15277 2018-02-27 Joseph Myers <joseph@codesourcery.com>
15279 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
15280 -Os in two more places.
15282 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15284 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
15285 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
15286 be sorted correctly at the moment because of a bug.
15288 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15290 [BZ #22550] - es_ES locale (and other es_* locales): collation should
15291 treat ñ as a primary different character, sync the collation
15292 for Spanish with CLDR.
15293 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
15294 * localedata/Makefile: Add new test files.
15295 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
15296 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
15298 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
15299 * localedata/am_ET.UTF-8.in: New test file.
15300 * localedata/az_AZ.UTF-8.in: Likewise.
15301 * localedata/be_BY.UTF-8.in: Likewise.
15302 * localedata/ber_DZ.UTF-8.in: Likewise.
15303 * localedata/ber_MA.UTF-8.in: Likewise.
15304 * localedata/bg_BG.UTF-8.in: Likewise.
15305 * localedata/br_FR.UTF-8.in: Likewise.
15306 * localedata/cmn_TW.UTF-8.in: Likewise.
15307 * localedata/crh_UA.UTF-8.in: Likewise.
15308 * localedata/csb_PL.UTF-8.in: Likewise.
15309 * localedata/cv_RU.UTF-8.in: Likewise.
15310 * localedata/cy_GB.UTF-8.in: Likewise.
15311 * localedata/dz_BT.UTF-8.in: Likewise.
15312 * localedata/eo.UTF-8.in: Likewise.
15313 * localedata/es_ES.UTF-8.in: Likewise.
15314 * localedata/fa_IR.UTF-8.in: Likewise.
15315 * localedata/fi_FI.UTF-8.in: Likewise.
15316 * localedata/fil_PH.UTF-8.in: Likewise.
15317 * localedata/fur_IT.UTF-8.in: Likewise.
15318 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
15319 * localedata/ha_NG.UTF-8.in: Likewise.
15320 * localedata/ig_NG.UTF-8.in: Likewise.
15321 * localedata/ik_CA.UTF-8.in: Likewise.
15322 * localedata/kk_KZ.UTF-8.in: Likewise.
15323 * localedata/ku_TR.UTF-8.in: Likewise.
15324 * localedata/ky_KG.UTF-8.in: Likewise.
15325 * localedata/ln_CD.UTF-8.in: Likewise.
15326 * localedata/mi_NZ.UTF-8.in: Likewise.
15327 * localedata/ml_IN.UTF-8.in: Likewise.
15328 * localedata/mn_MN.UTF-8.in: Likewise.
15329 * localedata/mr_IN.UTF-8.in: Likewise.
15330 * localedata/mt_MT.UTF-8.in: Likewise.
15331 * localedata/nb_NO.UTF-8.in: Likewise.
15332 * localedata/om_KE.UTF-8.in: Likewise.
15333 * localedata/os_RU.UTF-8.in: Likewise.
15334 * localedata/ps_AF.UTF-8.in: Likewise.
15335 * localedata/ro_RO.UTF-8.in: Likewise.
15336 * localedata/ru_RU.UTF-8.in: Likewise.
15337 * localedata/sc_IT.UTF-8.in: Likewise.
15338 * localedata/se_NO.UTF-8.in: Likewise.
15339 * localedata/sq_AL.UTF-8.in: Likewise.
15340 * localedata/sv_SE.UTF-8.in: Likewise.
15341 * localedata/szl_PL.UTF-8.in: Likewise.
15342 * localedata/tg_TJ.UTF-8.in: Likewise.
15343 * localedata/tk_TM.UTF-8.in: Likewise.
15344 * localedata/tt_RU.UTF-8.in: Likewise.
15345 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
15346 * localedata/ug_CN.UTF-8.in: Likewise.
15347 * localedata/uz_UZ.UTF-8.in: Likewise.
15348 * localedata/vi_VN.UTF-8.in: Likewise.
15349 * localedata/yi_US.UTF-8.in: Likewise.
15350 * localedata/yo_NG.UTF-8.in: Likewise.
15351 * localedata/zh_CN.UTF-8.in: Likewise.
15352 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
15353 file and fix bugs in the collation.
15354 * localedata/locales/az_AZ: Likewise.
15355 * localedata/locales/be_BY: Likewise.
15356 * localedata/locales/ber_DZ: Likewise.
15357 * localedata/locales/ber_MA: Likewise.
15358 * localedata/locales/bg_BG: Likewise.
15359 * localedata/locales/br_FR: Likewise.
15360 * localedata/locales/br_FR@euro: Likewise.
15361 * localedata/locales/ca_ES: Likewise.
15362 * localedata/locales/cns11643_stroke: Likewise.
15363 * localedata/locales/crh_UA: Likewise.
15364 * localedata/locales/cs_CZ: Likewise.
15365 * localedata/locales/csb_PL: Likewise.
15366 * localedata/locales/cv_RU: Likewise.
15367 * localedata/locales/cy_GB: Likewise.
15368 * localedata/locales/da_DK: Likewise.
15369 * localedata/locales/dz_BT: Likewise.
15370 * localedata/locales/en_CA: Likewise.
15371 * localedata/locales/eo: Likewise.
15372 * localedata/locales/es_CU: Likewise.
15373 * localedata/locales/es_EC: Likewise.
15374 * localedata/locales/es_ES: Likewise.
15375 * localedata/locales/es_US: Likewise.
15376 * localedata/locales/et_EE: Likewise.
15377 * localedata/locales/fa_IR: Likewise.
15378 * localedata/locales/fi_FI: Likewise.
15379 * localedata/locales/fil_PH: Likewise.
15380 * localedata/locales/fur_IT: Likewise.
15381 * localedata/locales/gez_ER@abegede: Likewise.
15382 * localedata/locales/ha_NG: Likewise.
15383 * localedata/locales/hr_HR: Likewise.
15384 * localedata/locales/hsb_DE: Likewise.
15385 * localedata/locales/hu_HU: Likewise.
15386 * localedata/locales/ig_NG: Likewise.
15387 * localedata/locales/ik_CA: Likewise.
15388 * localedata/locales/is_IS: Likewise.
15389 * localedata/locales/iso14651_t1_pinyin: Likewise.
15390 * localedata/locales/kk_KZ: Likewise.
15391 * localedata/locales/ku_TR: Likewise.
15392 * localedata/locales/ky_KG: Likewise.
15393 * localedata/locales/ln_CD: Likewise.
15394 * localedata/locales/lt_LT: Likewise.
15395 * localedata/locales/lv_LV: Likewise.
15396 * localedata/locales/mi_NZ: Likewise.
15397 * localedata/locales/ml_IN: Likewise.
15398 * localedata/locales/mn_MN: Likewise.
15399 * localedata/locales/mr_IN: Likewise.
15400 * localedata/locales/mt_MT: Likewise.
15401 * localedata/locales/nb_NO: Likewise.
15402 * localedata/locales/om_KE: Likewise.
15403 * localedata/locales/os_RU: Likewise.
15404 * localedata/locales/pl_PL: Likewise.
15405 * localedata/locales/ps_AF: Likewise.
15406 * localedata/locales/ro_RO: Likewise.
15407 * localedata/locales/ru_RU: Likewise.
15408 * localedata/locales/ru_UA: Likewise.
15409 * localedata/locales/sc_IT: Likewise.
15410 * localedata/locales/se_NO: Likewise.
15411 * localedata/locales/si_LK: Likewise.
15412 * localedata/locales/sq_AL: Likewise.
15413 * localedata/locales/sv_FI: Likewise.
15414 * localedata/locales/sv_FI@euro: Likewise.
15415 * localedata/locales/sv_SE: Likewise.
15416 * localedata/locales/szl_PL: Likewise.
15417 * localedata/locales/tg_TJ: Likewise.
15418 * localedata/locales/ti_ER: Likewise.
15419 * localedata/locales/tk_TM: Likewise.
15420 * localedata/locales/tl_PH: Likewise.
15421 * localedata/locales/tr_TR: Likewise.
15422 * localedata/locales/tt_RU: Likewise.
15423 * localedata/locales/tt_RU@iqtelif: Likewise.
15424 * localedata/locales/ug_CN: Likewise.
15425 * localedata/locales/uk_UA: Likewise.
15426 * localedata/locales/uz_UZ: Likewise.
15427 * localedata/locales/uz_UZ@cyrillic: Likewise.
15428 * localedata/locales/vi_VN: Likewise.
15429 * localedata/locales/yi_US: Likewise.
15430 * localedata/locales/yo_NG: Likewise.
15432 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15434 * gen-locales.mk: Make test files which contain @ modifiers in their
15436 * localedata/gen-locale.sh: Likewise.
15438 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15440 * posix/tst-fnmatch.input: Fix results for range expressions
15442 * posix/tst-regexloc.c: Do not use a range expression for
15443 de_DE.ISO-8859-1 locale.
15445 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15447 * posix/bug-regex5.c: Fix test case because with the new
15448 iso14651_t1_common file, the da_DK locale now has 6 collating elements
15449 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
15452 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15454 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
15455 downloaded from ISO, the collation order of @-. and space has changed.
15456 Therefore, this test file needed to be adapted.
15457 * localedata/fr_CA.UTF-8.in: Likewise.
15458 * localedata/fr_FR.UTF-8.in: Likewise.
15459 * localedata/uk_UA.UTF-8.in: Likewise.
15461 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15463 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
15464 order of ȥ in the new iso14651_t1_common file.
15465 * localedata/pl_PL.UTF-8.in: Likewise.
15467 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15469 * localedata/locales/iso14651_t1_common: Add sections for various
15470 scripts to the iso14651_t1_common file.
15472 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15474 * localedata/locales/iso14651_t1_common: Use the code point of a
15475 character in the fourth collation level instead of IGNORE for all
15476 entries which have IGNORE on all 4 levels.
15478 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15480 * localedata/locales/iso14651_t1_common: Add some convenient collation
15481 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
15482 rules similar to those in CLDR.
15484 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15486 * localedata/locales/iso14651_t1_common: The new version of this
15487 file downloaded from ISO contained several syntax errors which
15488 are fixed by this patch.
15490 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15492 * localedata/locales/iso14651_t1_common: replace all <U.....>
15493 with <U000.....> because glibc understands only 4 digit or 8 digit
15495 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15497 * localedata/locales/iso14651_t1_common: Necessary changes
15498 to make the file downloaded from ISO usable by glibc.
15500 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15503 * localedata/locales/iso14651_t1_common: Update file to
15504 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
15506 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15508 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
15509 of <nptl/pthreadP.h>
15510 (thread_attr_compare): Move function to...
15511 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
15512 * sysdeps/nptl/timer_routines.h: ... new header.
15513 * sysdeps/mach/hurd/gai_misc.h: New file.
15515 2018-02-26 Joseph Myers <joseph@codesourcery.com>
15517 * string/strcoll_l.c: Include <libc-diag.h>.
15518 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
15519 declarations of seq1 and seq2.
15522 * stdlib/atoi.c (atoi): Use libc_hidden_def.
15523 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
15525 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
15529 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
15530 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
15531 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
15532 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
15533 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
15534 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
15536 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15538 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
15539 macros used in __ptrace_request.
15541 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
15544 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
15546 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
15547 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
15548 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
15551 2018-02-23 Joseph Myers <joseph@codesourcery.com>
15554 * ctype/ctype.c (tolower): Use libc_hidden_def.
15555 (toupper): Likewise.
15556 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
15557 [!_ISOMAC] (toupper): Likewise.
15559 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15561 * localedata/Makefile: Remove --quiet argument when
15564 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15567 * localedata/locales/pt_BR (LC_TIME): use / instead of -
15569 * localedata/locales/pt_PT (LC_TIME): likewise
15571 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15574 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
15575 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
15576 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
15578 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15582 * nptl/Makefile (routines): Remove unregister-atfork.
15583 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
15584 (fork_handler_alloc): Remove function.
15585 (fork_handlers, fork_handler_init): New variables.
15586 (__fork_lock): Rename to atfork_lock.
15587 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
15588 to use a dynamic array to add/remove atfork handlers.
15589 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15590 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
15591 Remove declaration.
15592 (fork_handler): Remove next, refcntr, and need_signal member.
15593 (__run_fork_handler_type): New enum.
15594 (__run_fork_handlers): New prototype.
15595 * nptl/register-atfork.c: Remove file.
15596 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
15598 * sysdeps/nptl/nptl-signals.h: Move to ...
15599 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
15601 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
15602 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
15603 unnecessary check for SIGTIMER.
15604 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
15605 remove unnecessary removal of SIGTIMER.
15606 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
15607 include-signals.h rename.
15608 * nptl/pthreadP.h: Likewise.
15609 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
15610 __is_internal_signal instead of __nptl_is_internal_signal.
15612 2018-02-22 Andrew Waterman <andrew@sifive.com>
15615 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
15616 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
15617 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
15618 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
15620 2018-02-22 DJ Delorie <dj@delorie.com>
15622 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
15624 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
15626 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
15627 do_misaligned, not misaligned8.
15629 2018-02-22 Steve Ellcey <sellcey@cavium.com>
15631 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
15632 Add memcpy_thunderx2.
15633 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15635 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
15636 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
15637 and IS_THUNDERX2PA checks.
15638 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
15639 Use macro to set name appropriately.
15640 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
15641 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
15642 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
15644 (IS_THUNDERX2): New macro.
15646 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
15648 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15650 2018-02-21 Zack Weinberg <zackw@panix.com>
15652 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
15653 Define here, unconditionally.
15654 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
15655 * libio/libioP.h: Remove #if 0 blocks.
15656 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
15657 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
15658 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
15660 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
15661 Assume weak_alias is always defined.
15663 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
15664 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
15665 Remove #if 0 and #ifdef TODO blocks.
15666 Assume text_set_element is always defined.
15668 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
15669 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
15670 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
15672 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
15673 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
15674 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
15675 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
15676 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
15677 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
15678 Reformat bit flags for _flags field to make occupancy clearer.
15680 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
15681 Keep definitions consistent with those in libio/libio.h.
15683 * libio/libio.h (_IO_file_flags): Remove macro.
15684 All uses changed to _flags.
15686 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
15687 (__HAVE_COLUMN, _IO_BE): Don't define.
15688 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
15689 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
15690 * libio/libioP.h (EOF): Don't define.
15691 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
15692 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
15693 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
15694 testing _IO_UNIFIED_JUMPTABLES.
15696 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
15697 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
15698 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
15699 (_IO_size_t): Delete; all uses changed to size_t.
15700 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
15701 (_IO_off_t): Delete; all uses changed to off_t.
15702 (_IO_off64_t): Delete; all uses changed to off64_t.
15703 (_IO_pid_t): Delete; all uses changed to pid_t.
15704 (_IO_uid_t): Delete; all uses changed to uid_t.
15705 (_IO_wint_t): Delete; all uses changed to wint_t.
15706 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
15707 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
15708 (_IO_cookie_io_functions_t): Delete; all uses changed to
15709 cookie_io_functions_t.
15710 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
15711 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
15712 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
15713 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
15715 * libio/iofopncook.c: Remove unnecessary forward declarations.
15716 * libio/iolibio.h: Correct outdated commentary.
15717 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
15718 * stdio-common/fxprintf.c (__fxprintf_nocancel):
15719 Remove unnecessary casts.
15720 * stdio-common/getline.c: Use _IO_getdelim directly.
15721 Don't redefine ssize_t.
15722 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
15723 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
15724 Remove outdated comments.
15725 * stdio-common/vfscanf.c: Don't redefine va_list.
15727 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
15728 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
15729 Remove preprocessor conditionals on _LIBC and __USE_GNU,
15730 which are always true, and __cplusplus, which is always false.
15732 2018-02-21 Joseph Myers <joseph@codesourcery.com>
15736 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
15737 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
15738 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
15739 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
15741 [!_ISOMAC] (putc_unlocked): Likewise.
15742 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
15743 define inline if [__USE_EXTERN_INLINES].
15744 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
15749 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
15750 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
15751 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
15752 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
15753 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
15755 * time/tzfile.c (__tzfile_read): Likewise.
15757 2018-02-21 Mike FABIAN <mfabian@redhat.com>
15760 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
15762 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15764 * io/fcntl.h: Fix a typo in a comment.
15766 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15769 * include/features.h: Add _ISOC11_SOURCE to test for whether to
15770 define _DEFAULT_SOURCE.
15771 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
15773 2018-02-21 Florian Weimer <fweimer@redhat.com>
15776 * elf/cache.c (save_cache): Call fsync on temporary file before
15778 (save_aux_cache): Call fdatasync on temporary file before renaming
15781 2018-02-21 Florian Weimer <fweimer@redhat.com>
15784 * include/caller.h: Remove file.
15785 * elf/dl-caller.c: Likewise.
15786 * elf/Makefile (dl-routines): Remove dl-caller.
15787 (shared-only-routines): Do not add dl-caller.
15788 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
15790 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
15792 (dl_open_worker): Do not call __check_caller.
15793 (_dl_open): Do not set caller_dl_open member.
15794 * elf/rtld.c (_rtld_global_ro): Do not initialize
15795 _dl_check_caller member.
15796 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
15797 _dl_check_caller member.
15798 (_dl_check_caller): Remove declaration.
15799 * sysdeps/unix/sysv/linux/dl-execstack.c
15800 (_dl_make_stack_executable): Do not call __check_caller.
15802 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
15804 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
15805 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
15807 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15809 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
15812 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15815 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
15816 of 199606L, 200112L, and 200809L.
15817 (_XOPEN_SOURCE): Document special values of 600 and 700.
15818 (_ISOC11_SOURCE): Document macro.
15819 (_ATFILE_SOURCE): Likewise.
15820 (_FORTIFY_SOURCE): Likewise.
15822 2018-02-19 Joseph Myers <joseph@codesourcery.com>
15826 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
15827 and define as weak alias of __ferror_unlocked. Use
15829 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
15831 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
15832 function if [__USE_EXTERN_INLINES].
15833 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
15836 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
15839 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
15841 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15844 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
15845 the GLIBC_2.1 version.
15847 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15850 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
15851 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
15852 intl/tst-gettext-de.po from po/de.po by removing the
15853 POT-Creation-Date line.
15854 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
15856 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
15859 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15861 * mach/Makefile (headers): Add mach/param.h.
15862 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
15863 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
15864 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
15865 (__ptsname_r): Move implementation to...
15866 (__ptsname_internal): ... new function. Add filling the STP
15869 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
15871 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
15874 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
15876 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
15879 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15881 * nptl/Makefile (tst-mutex8-ENV): Delete.
15882 * nptl/tst-mutex8.c (check_type):
15883 Add runtime check if mutex will be elided.
15885 2018-02-15 Joseph Myers <joseph@codesourcery.com>
15889 * manual/install.texi (Configuring and compiling): Describe
15890 passing CC and CFLAGS on configure command line, not as
15891 environment variables. Use @code markup on those variables.
15892 Specify what options go in CC and what go in CFLAGS. Note the
15893 requirement to compile with optimization.
15894 * INSTALL: Regenerated.
15897 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
15898 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
15899 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
15900 __sigprocmask instead of sigprocmask.
15901 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
15903 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
15904 __sigsetjmp and sigprocmask.
15907 * include/argz.h (argz_next): Use libc_hidden_proto.
15908 (__argz_next): Likewise.
15909 * string-argz-next.c (__argz_next): Use libc_hidden_def.
15910 (argz_next): Use libc_hidden_weak.
15913 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
15915 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
15919 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
15921 * libio/iofputs.c (fputs): Use libc_hidden_weak.
15925 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
15926 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
15927 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
15928 (__feof_unlocked): New declaration, and inline function if
15929 [__USE_EXTERN_INLINES].
15930 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
15931 instead of feof_unlocked.
15932 * intl/localealias.c [_LIBC] (FEOF): Likewise.
15933 * nss/nsswitch.c (nss_parse_file): Likewise.
15934 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
15936 * time/getdate.c (__getdate_r): Likewise.
15937 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
15938 Define as macro to call __feof_unlocked.
15940 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15942 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
15944 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15946 * math/Makefile: Remove mpexp.c and mplog.c
15947 * sysdeps/i386/fpu/mpexp.c: Delete file.
15948 * sysdeps/i386/fpu/mplog.c: Likewise.
15949 * sysdeps/ia64/fpu/mpexp.c: Likewise.
15950 * sysdeps/ia64/fpu/mplog.c: Likewise.
15951 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
15952 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
15953 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
15954 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15955 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
15956 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
15957 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
15958 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
15959 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
15960 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15961 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
15962 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
15963 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15964 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
15965 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
15966 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15968 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15970 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15972 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15974 * sysdeps/sh/libm-test-ulps: Update.
15976 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15978 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
15981 2018-02-12 Zack Weinberg <zackw@panix.com>
15984 * posix/sys/types.h: Don't include sys/sysmacros.h.
15985 * misc/sys/sysmacros.h: Remove the conditional deprecation
15986 warnings for the macros defined by this header.
15988 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15990 * manual/probes.texi: Remove slowexp probes.
15991 * math/Makefile: Remove slowexp.
15992 * sysdeps/generic/math_private.h (__slowexp): Remove.
15993 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
15994 document error bounds.
15995 * sysdeps/i386/fpu/slowexp.c: Remove.
15996 * sysdeps/ia64/fpu/slowexp.c: Remove.
15997 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
15998 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
15999 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
16000 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
16001 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
16002 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
16003 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
16004 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
16005 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
16006 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
16007 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
16009 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
16012 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
16013 * benchtests/pow-inputs: Update comment for slow path cases.
16014 * manual/probes.texi (slowpow_p10): Delete removed probe.
16015 (slowpow_p10): Likewise.
16016 * math/Makefile: Remove halfulp.c and slowpow.c.
16017 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
16018 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
16019 (__halfulp): Remove.
16020 (__slowpow): Remove.
16021 * sysdeps/i386/fpu/halfulp.c: Delete file.
16022 * sysdeps/i386/fpu/slowpow.c: Likewise.
16023 * sysdeps/ia64/fpu/halfulp.c: Likewise.
16024 * sysdeps/ia64/fpu/slowpow.c: Likewise.
16025 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
16026 improve comments and add error analysis.
16027 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
16028 (power1): Remove function:
16029 (log1): Remove error argument, add error analysis.
16030 (my_log2): Remove function.
16031 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
16032 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16033 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
16034 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
16035 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
16036 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
16037 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
16038 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
16039 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
16040 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
16041 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
16042 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16043 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
16044 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16046 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16048 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
16049 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
16051 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
16054 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
16055 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
16056 and PTRACE_SETHBPREGS.
16058 2018-02-10 Zack Weinberg <zackw@panix.com>
16061 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
16063 * malloc/tst-malloc-stats-cancellation.c: New test case.
16064 * malloc/Makefile: Add new test case.
16066 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
16068 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
16070 2018-02-10 Joseph Myers <joseph@codesourcery.com>
16072 * math/Makefile (libm-narrow-fns): Add add.
16073 (libm-test-funcs-narrow): Likewise.
16074 * math/Versions (GLIBC_2.28): Add narrowing add functions.
16075 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
16076 * math/gen-auto-libm-tests.c (test_functions): Add add.
16077 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
16078 (NARROW_ADD_ROUND_TO_ODD): Likewise.
16079 (NARROW_ADD_TRIVIAL): Likewise.
16080 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
16082 (__daddl): Likewise.
16083 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
16085 (CFLAGS-nldbl-dadd.c): New variable.
16086 (CFLAGS-nldbl-fadd.c): Likewise.
16087 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16089 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
16091 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
16092 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
16093 * math/auto-libm-test-in: Add tests of add.
16094 * math/auto-libm-test-out-narrow-add: New generated file.
16095 * math/libm-test-narrow-add.inc: New file.
16096 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16097 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
16098 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
16099 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
16100 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
16101 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
16102 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
16103 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
16104 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
16105 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
16106 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
16107 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
16108 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
16109 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
16110 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
16111 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
16112 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
16113 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
16114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16115 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16116 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16117 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16118 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16119 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16120 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16121 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16122 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16123 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16124 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16125 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16126 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16127 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16132 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16133 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16134 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16135 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16136 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16137 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16138 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16139 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16140 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16141 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16143 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
16144 (f128-pairs): New variable.
16145 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
16146 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
16148 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
16149 Also make tests add $(f128-loader-link) to gnulib-tests.
16151 2018-02-09 DJ Delorie <dj@redhat.com>
16154 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
16155 64-bit ELF type for 64-bit ELF objects.
16157 2018-02-09 Joseph Myers <joseph@codesourcery.com>
16159 * math/libm-test-driver.c (snan_tests_arg): New variable.
16160 * math/libm-test-support.h (snan_tests_arg): New declaration.
16161 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
16163 * math/Makefile (test-type-pairs): New variable.
16164 (test-type-pairs-f64xf128-yes): Likewise.
16165 (tests): Add test-narrow-macros.
16166 (libm-test-funcs-narrow): New variable.
16167 (libm-test-c-narrow): Likewise.
16168 (generated): Add $(libm-test-c-narrow).
16169 (libm-tests-base-narrow): New variable.
16170 (libm-tests-narrow): Likewise.
16171 (libm-tests): Add $(libm-tests-narrow).
16172 (libm-tests-for-type): Handle $(libm-tests-narrow).
16173 (libm-test-c-narrow-obj): New variable.
16174 ($(libm-test-c-narrow-obj)): New rule.
16175 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
16176 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
16177 $(o-iterator) to set dependencies and CFLAGS.
16178 * math/gen-auto-libm-tests.c: Document use for narrowing
16180 (output_for_one_input_case): Take argument NARROW.
16181 (generate_output): Likewise. Update call to
16182 output_for_one_input_case.
16183 (main): Take --narrow option. Update call to generate_output.
16184 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
16185 (apply_lit): Update call to _apply_lit.
16186 (apply_arglit): New function.
16187 (parse_args): Handle "a" arguments.
16188 (parse_auto_input): Handle format names using ":".
16189 * math/README.libm-test: Document "a" parameter type.
16190 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
16191 (ARG_TYPE_TRUE_MIN): Likewise.
16192 (ARG_TYPE_MAX): Likwise.
16193 (ARG_MIN_EXP): Likewise.
16194 (ARG_MAX_EXP): Likewise.
16195 (ARG_MANT_DIG): Likewise.
16196 (TEST_COND_arg_ibm128): Likewise.
16197 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
16198 (TEST_COND_arg_fmt): New macro.
16199 (init_max_error): Update prototype.
16200 * math/libm-test-support.c (test_ibm128): New variable.
16201 (init_max_error): Take argument testing_ibm128 and set test_ibm128
16202 instead of using [TEST_COND_ibm128] conditional.
16203 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
16204 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
16205 [TEST_NARROW] (TEST_MSG): New definition.
16206 (arg_plus_zero): New macro.
16207 (arg_minus_zero): Likewise.
16208 (arg_plus_infty): Likewise.
16209 (arg_minus_infty): Likewise.
16210 (arg_qnan_value_pl): Likewise.
16211 (arg_qnan_value): Likewise.
16212 (arg_snan_value_pl): Likewise.
16213 (arg_snan_value): Likewise.
16214 (arg_max_value): Likewise.
16215 (arg_min_value): Likewise.
16216 (arg_min_subnorm_value): Likewise.
16217 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
16218 (RUN_TEST_LOOP_aa_f): New macro.
16219 (TEST_SUFF): New macro.
16220 (TEST_SUFF_STR): Likewise.
16221 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
16222 (TEST_COND_any_ibm128): New macro.
16223 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
16224 this_func. Update call to init_max_error.
16225 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
16226 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
16227 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
16228 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
16229 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
16230 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
16231 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
16232 * math/test-math-scalar.h (TEST_NARROW): Likewise.
16233 * math/test-math-vector.h (TEST_NARROW): Likewise.
16234 * math/test-arg-double.h: New file.
16235 * math/test-arg-float128.h: Likewise.
16236 * math/test-arg-float32x.h: Likewise.
16237 * math/test-arg-float64.h: Likewise.
16238 * math/test-arg-float64x.h: Likewise.
16239 * math/test-arg-ldouble.h: Likewise.
16240 * math/test-math-narrow.h: Likewise.
16241 * math/test-narrow-macros.c: Likewise.
16242 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
16243 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
16244 test-narrow-macros-ldbl-64.
16245 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
16247 * math/bits/mathcalls-narrow.h: New file.
16248 * include/bits/mathcalls-narrow.h: Likewise.
16249 * math/math-narrow.h: Likewise.
16250 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
16251 (__MATHCALL_NARROW_ARGS_2): Likewise.
16252 (__MATHCALL_NARROW_ARGS_3): Likewise.
16253 (__MATHCALL_NARROW_NORMAL): Likewise.
16254 (__MATHCALL_NARROW_REDIR): Likewise.
16255 (__MATHCALL_NARROW): Likewise.
16256 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
16257 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
16259 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16260 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
16261 (libm-narrow-fns): New variable.
16262 (libm-narrow-types-basic): Likewise.
16263 (libm-narrow-types-ldouble-yes): Likewise.
16264 (libm-narrow-types-float128-yes): Likewise.
16265 (libm-narrow-types-float128-alias-yes): Likewise.
16266 (libm-narrow-types): Likewise.
16267 (libm-routines): Add narrowing functions.
16268 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
16269 (libc_feholdexcept_setroundf128): New macro.
16270 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
16271 * sysdeps/ieee754/float128/float128_private.h: Include
16272 <math/math-narrow.h>.
16273 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
16274 Undefine and redefine.
16275 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
16276 (libm_alias_float_ldouble): Undefine and redefine.
16277 (libm_alias_double_ldouble): Likewise.
16279 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
16281 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
16283 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
16286 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
16288 * manual/creature.texi: Convert references to gcc.info to gcc.
16289 * manual/stdio.texi: Likewise.
16290 * manual/string.texi: Likewise.
16292 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16295 * posix/bits/types.h (__int_least8_t): New typedef.
16296 (__uint_least8_t): Likewise.
16297 (__int_least16_t): Likewise.
16298 (__uint_least16_t): Likewise.
16299 (__int_least32_t): Likewise.
16300 (__uint_least32_t): Likewise.
16301 (__int_least64_t): Likewise.
16302 (__uint_least64_t): Likewise.
16303 * sysdeps/generic/stdint.h (int_least8_t): Define using
16305 (int_least16_t): Define using __int_least16_t.
16306 (int_least32_t): Define using __int_least32_t.
16307 (int_least64_t): Define using __int_least64_t.
16308 (uint_least8_t): Define using __uint_least8_t.
16309 (uint_least16_t): Define using __uint_least16_t.
16310 (uint_least32_t): Define using __uint_least32_t.
16311 (uint_least64_t): Define using __uint_least64_t.
16312 * wcsmbs/uchar.h: Include <bits/types.h>.
16313 (char16_t): Define using __uint_least16_t conditional only on
16315 (char32_t): Define using __uint_least32_t conditional only on
16317 * wcsmbs/test-char-types.c: New file.
16318 * wcsmbs/Makefile (tests): Add test-char-types.
16320 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
16323 2018-02-07 Zack Weinberg <zackw@panix.com>
16325 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
16326 Delete all contents except for definitions of _G_HAVE_MMAP and
16327 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
16328 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
16329 sysdeps/unix/sysv/linux/_G_config.h. Make same content
16332 * libio/libio.h: Don't include bits/_G_config.h here.
16333 Include stddef.h with __need_wchar_t defined. Include
16334 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
16335 Define _IO_iconv_t here, directly.
16336 Don't define _IO_HAVE_ST_BLKSIZE.
16337 * libio/libioP.h: Include _G_config.h here. Move include of
16338 shlib-compat.h up with rest of includes. Simplify conditionals
16339 controlling definition of _IO_JUMPS_OFFSET.
16341 * csu/init.c: Remove always-true #if around entire file.
16342 Don't include stdio.h. Set _IO_stdin_used to hardwired
16343 constant 0x20001, and update commentary.
16344 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
16345 Replace all uses of _G_va_list with __gnuc_va_list.
16346 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
16347 instead of #if _IO_HAVE_ST_BLKSIZE.
16348 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
16349 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
16352 * libio/bits/libio.h: Move back to libio/libio.h and adjust
16353 multiple-include guard to match.
16354 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
16356 Remove preprocessor conditionals that are always true and/or
16357 redundant to other preprocessor conditionals in the same nest.
16358 Include shlib-compat.h unconditionally.
16359 Error out if _LIBC is not defined, or if _ISOMAC is defined,
16360 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
16361 defined after including stdio.h.
16362 Use __BEGIN_DECLS/__END_DECLS.
16364 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
16365 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
16366 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
16368 2018-02-07 Zack Weinberg <zackw@panix.com>
16370 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
16371 New single-type headers split from _G_config.h.
16372 * libio/bits/types/cookie_io_functions_t.h
16373 * libio/bits/types/struct_FILE.h
16374 New single-type headers split from libio.h.
16376 * libio/Makefile: Install the above new headers. Don't install
16377 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
16379 * libio/_G_config.h, libio/libio.h: Delete file.
16381 * libio/bits/libio.h: Remove improper-inclusion guard.
16382 Include stdio.h and don't repeat anything that it does.
16383 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
16384 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
16385 __io_read_fn as cookie_read_function_t,
16386 __io_write_fn as cookie_write_function_t,
16387 __io_seek_fn as cookie_seek_function_t,
16388 __io_close_fn as cookie_close_function_t,
16389 and _IO_cookie_io_functions_t as cookie_io_functions_t.
16390 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
16391 here, in the "compatibility defines" section. Remove an #if 0
16392 block. Use the "body" macros from bits/types/struct_FILE.h to
16393 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
16394 and _IO_ferror_unlocked.
16395 Move prototypes of __uflow and __overflow...
16397 * libio/stdio.h: ...here. Don't include bits/libio.h.
16398 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
16399 directly from stdarg.h. Include bits/types/__fpos_t.h,
16400 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
16401 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
16402 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
16403 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
16404 cookie_io_functions_t, not _IO_cookie_io_functions_t;
16405 __ssize_t, not _IO_ssize_t. Unconditionally define
16406 BUFSIZ as 8192 and EOF as (-1).
16408 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
16409 macros from bits/types/struct_FILE.h instead of _IO_* macros
16410 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
16411 instead of _IO_ssize_t.
16412 * libio/bits/stdio2.h: Similarly.
16414 * libio/iolibio.h: Add multiple-include guard.
16415 Include bits/libio.h after stdio.h.
16416 * libio/libioP.h: Add multiple-include guard.
16417 Include stdio.h and bits/libio.h before iolibio.h.
16419 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
16420 * include/bits/types/cookie_io_functions_t.h
16421 * include/bits/types/struct_FILE.h: New wrappers.
16423 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
16424 Get definitions of _G_fpos_t and _G_fpos64_t from
16425 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
16426 respectively. Remove improper-inclusion guards.
16428 * conform/data/stdio.h-data: Update expectations of va_list.
16429 * scripts/check-installed-headers.sh: Remove special case for
16430 libio.h and _G_config.h.
16432 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16436 * include/sys/sysmacros.h [!_ISOMAC]
16437 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
16438 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
16439 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
16440 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
16442 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
16443 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
16445 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
16446 Undefine and redefine to add use __gnu_dev_ prefix.
16447 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
16449 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
16450 and define as hidden inline function.
16451 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
16453 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
16455 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
16456 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
16457 (gnu_dev_minor): Likewise.
16458 (gnu_dev_makedev): Likewise.
16459 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
16461 * posix/wordexp.c (exec_comm_child): Likewise.
16462 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
16463 instead of minor and __gnu_dev_major instead of major.
16464 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
16465 __gnu_dev_major instead of major.
16466 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
16467 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
16468 instead of gnu_dev_minor.
16469 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
16470 (SLAVE_P): Likewise.
16471 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
16472 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
16476 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
16478 * locale/weightwc.h (findidx): Likewise.
16480 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
16482 * manual/probes.texi (slowlog): Delete documentation of removed probe.
16483 (slowlog_inexact): Likewise
16484 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
16485 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
16487 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
16490 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
16491 missing second underscore to parameter name.
16493 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16499 * bits/byteswap.h: Update file comment. Do not include
16500 <bits/byteswap-16.h>.
16501 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
16503 (__bswap_16): Define as inline function.
16504 (__bswap_constant_32): Reformat definition.
16505 (__bswap_32): Always define as inline function, not macro, using
16506 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
16507 otherwise __bswap_constant_32.
16508 (__bswap_constant_64): Reformat definition. Do not use
16509 __extension__ here.
16510 (__bswap_64): Always define as inline function, not macro. Use
16511 __extension__ on function definition. Use __builtin_bswap64 if
16512 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
16513 * string/test-endian-file-scope.c: New file.
16514 * string/test-endian-sign-conversion.c: Likewise.
16515 * string/Makefile (headers): Remove bits/byteswap-16.h.
16516 (tests): Add test-endian-file-scope and
16517 test-endian-sign-conversion.
16518 (CFLAGS-test-endian-sign-conversion.c): New variable.
16519 * bits/byteswap-16.h: Remove file.
16520 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
16521 * sysdeps/ia64/bits/byteswap.h: Likewise.
16522 * sysdeps/m68k/bits/byteswap.h: Likewise.
16523 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16524 * sysdeps/s390/bits/byteswap.h: Likewise.
16525 * sysdeps/tile/bits/byteswap.h: Likewise.
16526 * sysdeps/x86/bits/byteswap-16.h: Likewise.
16527 * sysdeps/x86/bits/byteswap.h: Likewise.
16530 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
16531 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
16532 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
16533 199901L] (__restrict): Define to restrict.
16536 * string/testcopy.c: Include <support/support.h>. Do not include
16537 <malloc.h>. Use <support/test-driver.c>.
16538 (main): Rename to do_test. Make static. Use xmalloc instead of
16542 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
16543 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
16544 (SSIZE_MAX): Define to INT_MAX.
16545 * posix/test-ssize-max.c: New file.
16546 * posix/Makefile (tests): Add test-ssize-max.
16549 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
16550 <support/support.h>. Do not include <malloc.h>.
16551 (query_auxv): Use xmalloc instead of malloc.
16554 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
16555 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
16558 2018-02-06 Florian Weimer <fweimer@redhat.com>
16561 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16562 Use scratch_buffer instead of extend_alloca.
16564 2018-02-06 Zack Weinberg <zackw@panix.com>
16566 * libio/stdio.h: Don't define getc or putc as macros.
16567 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
16568 not _IO_getc and _IO_putc.
16570 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
16571 * stdio-common/tstgetln.c: Don't redefine ssize_t.
16573 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16575 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
16576 (TCP_FASTOPEN_NO_COOKIE): Likewise.
16578 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
16581 * elf/elf.h (NT_PRFPREG): New macro.
16582 (NT_S390_VXRS_LOW): Likewise.
16583 (NT_S390_VXRS_HIGH): Likewise.
16584 (NT_S390_GS_CB): Likewise.
16585 (NT_S390_GS_BC): Likewise.
16586 (NT_S390_RI_CB): Likewise.
16588 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16589 (MAP_SYNC): New macro.
16590 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
16592 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16593 (MAP_SYNC): Likewise.
16594 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16595 (MAP_SYNC): Likewise.
16596 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16597 (MAP_SYNC): Likewise.
16598 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16599 (MAP_SYNC): Likewise.
16600 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16601 (MAP_SYNC): Likewise.
16602 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16603 (MAP_SYNC): Likewise.
16604 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
16606 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
16609 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
16610 (MAP_SHARED_VALIDATE): New macro.
16611 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16612 (MAP_SHARED_VALIDATE): Likewise.
16614 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16616 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
16617 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
16618 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16620 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16622 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
16623 (DT_NUM): Updated to 35.
16625 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16627 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
16628 __builtin_expect with __glibc_likely and __glibc_unlikely.
16629 (elf_machine_rela): Likewise.
16630 (elf_machine_lazy_rel): Likewise.
16632 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16634 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
16635 __builtin_expect with __glibc_likely and __glibc_unlikely.
16636 (elf_machine_lazy_rel): Likewise.
16638 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16641 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
16643 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
16645 2018-02-05 Andreas Schwab <schwab@suse.de>
16648 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
16651 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16653 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
16654 not check against PTHREAD_STACK_MIN.
16656 2018-02-02 Sean McKean <smckean83@gmail.com>
16659 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
16661 2018-02-02 Florian Weimer <fweimer@redhat.com>
16664 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
16665 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16666 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16667 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
16668 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16669 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16670 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16671 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
16672 * manual/llio.texi (Scatter-Gather): Mention offset -1.
16673 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
16674 * misc/tst-preadvwritev2.c (do_test): Call it.
16675 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
16677 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16679 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
16681 * benchtests/bench-memcmp.c: Print json instead of plain text.
16683 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
16686 2018-02-01 Joseph Myers <joseph@codesourcery.com>
16688 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16690 (s390_sthyi): New syscall.
16692 * sysdeps/generic/ldbl-classify-compat.h: New file.
16693 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
16694 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
16695 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
16696 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
16697 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
16698 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
16699 * sysdeps/ieee754/dbl-64/s_finite.c: Include
16700 <ldbl-classify-compat.h>.
16701 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16702 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
16703 <ldbl-classify-compat.h>.
16704 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16705 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
16706 <ldbl-classify-compat.h>.
16707 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16708 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
16709 <ldbl-classify-compat.h>.
16710 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16711 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
16712 <ldbl-classify-compat.h>.
16713 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16714 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
16715 <ldbl-classify-compat.h>.
16716 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16717 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
16718 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16719 * sysdeps/m68k/coldfire/math_private.h: Remove file.
16720 * sysdeps/microblaze/math_private.h: Likewise.
16721 * sysdeps/nios2/math_private.h: Likewise.
16722 * sysdeps/sh/math_private.h: Likewise.
16724 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
16725 * sysdeps/m68k/coldfire/math_private.h: ... here.
16726 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
16727 * sysdeps/tile/math_private.h: Likewise.
16728 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
16730 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
16733 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
16735 (libc_fetestexcept): Likewise.
16736 (libc_feupdateenv_test): Likewise.
16737 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
16738 (libc_fetestexcept): Likewise.
16739 (libc_feupdateenv_test): Likewise.
16740 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
16741 (libc_fetestexcept): Likewise.
16742 (libc_feupdateenv_test): Likewise.
16743 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
16744 (libc_fetestexcept): Likewise.
16745 (libc_feupdateenv_test): Likewise.
16747 * sysdeps/generic/math_private.h
16748 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
16749 New inline function.
16750 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
16753 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
16754 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
16755 * sysdeps/generic/math_private.h
16756 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
16758 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
16760 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
16762 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
16764 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
16766 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
16768 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
16769 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
16770 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
16771 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
16772 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
16773 (__fegetenv): Likewise.
16774 (fesetenv): Likewise.
16775 (__fesetenv): Likewise.
16776 (feupdateenv): Likewise.
16777 (__feupdateenv): Likewise.
16778 (fegetround): Likewise.
16779 (__fegetround): Likewise.
16780 (fesetround): Likewise.
16781 (__fesetround): Likewise.
16783 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
16784 (feraiseexcept): New macro.
16785 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
16786 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
16788 (__feraiseexcept): Likewise.
16789 (feclearexcept): Likewise.
16790 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
16791 (__feraiseexcept): Likewise.
16792 (feclearexcept): Likewise.
16793 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
16794 (__feraiseexcept): Likewise.
16795 (feclearexcept): Likewise.
16796 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
16797 (__feraiseexcept): Likewise.
16798 (feclearexcept): Likewise.
16799 (fetestexcept): Likewise.
16801 * sysdeps/m68k/coldfire/math-tests.h: New file.
16803 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
16804 * sysdeps/m68k/bits/fenv.h: ... here.
16805 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
16807 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
16809 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
16811 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
16813 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
16815 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
16817 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
16818 (__FE_UNDEFINED): New enum constant.
16819 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
16821 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
16823 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
16825 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
16826 to match generic bits/fenv.h.
16827 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
16830 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
16832 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
16833 * soft-fp/half.h (union _FP_UNION_H): Likewise.
16834 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
16835 * soft-fp/single.h (union _FP_UNION_S): Likewise.
16837 2018-02-01 Carlos O'Donell <carlos@redhat.com>
16838 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
16839 Joseph Myers <joseph@codesourcery.com>
16842 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
16843 (__log1p): Disable -Wmaybe-uninitialized for -Os around
16844 computation using c.
16845 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
16846 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
16847 computation using c.
16849 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16851 * version.h (RELEASE): Set to "development".
16852 (VERSION): Set to "2.27.9000".
16853 * NEWS (2.28): New section.
16855 * version.h (RELEASE): Set to "stable".
16856 (VERSION): Set to "2.27".
16857 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
16859 * NEWS: Add the list of bugs fixed in 2.27.
16861 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16863 * stdlib/test-atexit-race-common.c (do_test): Check stack size
16864 against PTHREAD_STACK_MIN.
16866 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16868 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
16870 (Rafal Luzynski, Andreas Schwab): Update.
16872 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
16875 * NEWS: List the languages which actually use the alternative
16876 months feature in this release. Also explain that "alt_mon" and
16877 "ab_alt_mon" are optional.
16879 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
16882 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
16884 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
16886 * manual/install.texi (Tools for Compilation): Update the newest
16887 versions of gcc, binutils, texinfo, gawk, bison, and sed.
16888 * INSTALL: Regenerated.
16890 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16892 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
16893 instead of __builtin_expect.
16895 2018-01-30 Florian Weimer <fweimer@redhat.com>
16897 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
16899 * nss/tst-nss-getpwent.c (do_test): Likewise.
16901 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
16904 * localedata/locales/hr_HR (mon): Rename to...
16906 (mon): Import from CLDR (genitive case).
16907 (d_t_fmt): Update the comment.
16909 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
16911 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
16912 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
16913 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
16915 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16917 * mach/Versions: Fix version when __mach_host_self_ was added.
16918 * hurd/Versions: Fix version when _hurd_exec_paths was added.
16919 * sysdeps/mach/hurd/i386/ld.abilist: New file.
16920 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
16921 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
16922 * sysdeps/mach/hurd/i386/libc.abilist: New file.
16923 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
16924 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
16925 * sysdeps/mach/hurd/i386/libm.abilist: New file.
16926 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
16927 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
16928 * sysdeps/mach/hurd/i386/librt.abilist: New file.
16929 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
16930 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
16931 || to respect codestyle.
16932 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
16933 (do_test_bz20181): Rename accordingly.
16934 * malloc/malloc.c: Include <assert.h>.
16935 (assert): Do not define.
16936 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
16937 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
16938 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
16939 * sysdeps/mach/hurd/hp-timing.h: New file.
16940 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
16942 2018-01-29 Darius Rad <darius@bluespec.com>
16944 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
16946 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
16948 * sysdeps/init_array/crti.S (.section .init_array): Add
16949 PREINIT_FUNCTION when defined.
16950 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
16951 * config.h.in: Regenerate.
16952 * manual/platform.texi: Add RISC-V documenation for
16953 __riscv_flush_icache.
16954 * sysdeps/riscv/__longjmp.S: New file.
16955 * sysdeps/riscv/backtrace.c: Likewise.
16956 * sysdeps/riscv/bits/endian.h: Likewise.
16957 * sysdeps/riscv/bits/setjmp.h: Likewise.
16958 * sysdeps/riscv/bits/wordsize.h: Likewise.
16959 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
16960 * sysdeps/riscv/bsd-setjmp.c: Likewise.
16961 * sysdeps/riscv/dl-trampoline.S: Likewise.
16962 * sysdeps/riscv/gccframe.h: Likewise.
16963 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
16964 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
16965 * sysdeps/riscv/machine-gmon.h: Likewise.
16966 * sysdeps/riscv/memusage.h: Likewise.
16967 * sysdeps/riscv/setjmp.S: Likewise.
16968 * sysdeps/riscv/sys/asm.h: Likewise.
16969 * sysdeps/riscv/tls-macros.h: Likewise.
16970 * sysdeps/riscv/dl-tls.h: New file.
16971 * sysdeps/riscv/libc-tls.c: Likewise.
16972 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
16973 * sysdeps/riscv/nptl/tls.h: Likewise.
16974 * sysdeps/riscv/stackinfo.h: Likewise.
16975 * sysdeps/riscv/bits/fenv.h: New file.
16976 * sysdeps/riscv/e_sqrtl.c: Likewise.
16977 * sysdeps/riscv/fpu_control.h: Likewise.
16978 * sysdeps/riscv/math-tests.h: Likewise.
16979 * sysdeps/riscv/nofpu/Implies: Likewise.
16980 * sysdeps/riscv/sfp-machine.h: Likewise.
16981 * sysdeps/riscv/tininess.h: Likewise.
16982 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
16983 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
16984 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
16985 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
16986 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
16987 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
16988 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
16989 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
16990 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
16991 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
16992 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
16993 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
16994 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
16995 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
16996 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
16997 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
16998 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
16999 * sysdeps/riscv/rvd/s_finite.c: Likewise.
17000 * sysdeps/riscv/rvd/s_fma.c: Likewise.
17001 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
17002 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
17003 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
17004 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
17005 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
17006 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
17007 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
17008 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
17009 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
17010 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
17011 * sysdeps/riscv/rvf/fegetround.c: Likewise.
17012 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
17013 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
17014 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
17015 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
17016 * sysdeps/riscv/rvf/fesetround.c: Likewise.
17017 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
17018 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
17019 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
17020 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
17021 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
17022 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
17023 * sysdeps/riscv/rvf/math_private.h: Likewise.
17024 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
17025 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
17026 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
17027 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
17028 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
17029 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
17030 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
17031 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
17032 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
17033 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
17034 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
17035 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
17036 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
17037 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
17038 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
17039 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
17040 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
17041 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
17042 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
17043 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
17044 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
17045 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17046 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
17047 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
17048 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
17049 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
17050 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
17051 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
17052 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
17053 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
17054 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
17055 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
17056 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
17057 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
17058 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
17059 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
17060 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
17061 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
17062 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
17063 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
17064 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
17065 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
17066 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
17067 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
17068 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
17069 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
17070 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
17071 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
17072 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
17073 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
17074 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
17075 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
17076 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
17077 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
17078 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
17079 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
17080 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
17081 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
17082 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
17083 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
17084 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17085 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17086 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17087 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17088 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17089 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17090 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17091 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
17092 * sysdeps/riscv/Implies: New file.
17093 * sysdeps/riscv/Makefile: Likewise.
17094 * sysdeps/riscv/configure: Likewise.
17095 * sysdeps/riscv/configure.ac: Likewise.
17096 * sysdeps/riscv/nptl/Makefile: Likewise.
17097 * sysdeps/riscv/preconfigure: Likewise.
17098 * sysdeps/riscv/rv64/Implies-after: Likewise.
17099 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
17100 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
17101 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
17102 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
17103 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
17104 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
17105 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
17106 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
17107 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
17108 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
17109 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
17110 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
17111 (Config): Likewise.
17113 2018-01-29 Florian Weimer <fweimer@redhat.com>
17116 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
17117 libnsl_hidden_proto.
17118 * include/rpcsvc/yp.h (yp_xdrall): Declare with
17119 libnsl_hidden_proto.
17120 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
17121 * nis/Makefile (libnsl-routines): Add nss-default only for
17122 build-obsolete-nsl.
17123 * nis/nis_defaults.c (__nis_default_ttl): Add
17124 libnsl_hidden_nolink_def.
17125 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
17127 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
17128 * nis/ypclnt.c (yp_maplist): Likewise.
17130 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
17132 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17133 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
17135 2018-01-29 Joseph Myers <joseph@codesourcery.com>
17137 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
17138 clean -dxfq for git updates when replacing sources.
17140 * scripts/build-many-glibcs.py (Config.build_gcc): Use
17141 --disable-libcilkrts unconditionally, not just for the final GCC
17144 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17147 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17150 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
17153 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17156 * localedata/locales/be_BY (mon): Rename to...
17157 (alt_mon): This, then synchronize with CLDR (nominative case).
17158 (abmon): Rename to...
17159 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17160 (mon): Import from CLDR (genitive case).
17162 * localedata/locales/be_BY@latin (mon): Rename to...
17164 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
17166 * localedata/locales/be_BY@latin (lang_name): Reworded to
17167 "biełaruskaja mova".
17169 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17172 * localedata/locales/el_CY (mon): Renamed to...
17174 (mon): Import from CLDR (genitive case).
17175 * localedata/locales/el_GR: Likewise.
17177 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17180 * localedata/locales/ru_RU (mon): Rename to...
17182 (abmon): Rename to...
17183 (ab_alt_mon): This.
17184 (mon): Import from CLDR (genitive case).
17185 (abmon): Copy from the old content except the 5th month which is
17186 now in the genitive case, even when abbreviated.
17187 * localedata/locales/ru_UA: Likewise.
17188 * time/tst-strptime.c (day_tests): Add an actual example of
17189 a difference between %b and %Ob in Russian.
17191 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17193 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
17194 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
17196 * resolv/res-close.c: Include <stdlib.h>.
17197 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
17198 <sys/wait.h>, <time.h>, <sys/uio.h>.
17199 (NOT_CANCEL_H): Add inclusion guard.
17200 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
17201 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
17202 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
17204 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
17205 vm_address_t * to ElfW(Addr) * for dl_main parameter.
17206 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
17208 * sysdeps/pthread/timer_create.c (timer_create): Do not use
17209 timer_ptr2id to cast struct timer_node * to void *.
17210 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
17211 --disable-libcilkrts to gcc configure.
17212 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
17213 and make them the default for now.
17214 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
17215 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
17216 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
17217 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
17218 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
17220 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
17221 __task_terminate would ever return successfully.
17222 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
17224 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
17225 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
17226 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
17227 critical section to make code simpler and avoid warning.
17228 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
17229 critical section to make code simpler and avoid warning.
17230 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
17231 const char * instead of char *.
17232 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
17233 __hurd_file_name_split, hurd_file_name_split,
17234 __hurd_directory_name_split, hurd_directory_name_split,
17235 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
17236 hurd_file_name_path_lookup): Make lookup function parameter take a
17237 const char *name instead of char *name.
17238 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
17239 __hurd_directory_name_split): Likewise.
17240 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
17241 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
17242 * sysdeps/mach/hurd/check_native.c: New file.
17243 * sysdeps/mach/hurd/check_pf.c: New file.
17244 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
17245 (__freeifaddrs): Define macro to freeifaddrs.
17246 * sysdeps/mach/hurd/libhurduser.abilist: New file.
17247 * sysdeps/mach/libmachuser.abilist: New file.
17248 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
17249 (do_test_bz20181): Rename accordingly.
17250 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
17251 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
17253 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
17254 version only if __USE_EXTERN_INLINES is defined.
17255 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
17256 __hurd_sockfail): Likewise.
17257 (_hurd_fd_get): Always declare functions, and provide inline versions
17258 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
17259 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
17260 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
17261 _hurd_port_set): Always declare functions, and provide inline versions
17262 only if __USE_EXTERN_INLINES and _LIBC are defined and
17264 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
17265 _hurd_critical_section_unlock): Likewise.
17266 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
17267 * __hurd_threadvar_location): Likewise.
17268 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
17269 _hurd_userlink_clear): Likewise.
17270 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
17271 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
17272 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
17273 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
17274 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
17275 __spin_lock_locked): Likewise.
17276 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
17277 __spin_lock_locked): Likewise.
17278 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
17279 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
17280 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
17281 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
17282 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
17283 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
17284 _POSIX_NO_TRUNC): Define to 0.
17285 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
17286 check size against PTHREAD_STACK_MIN.
17287 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
17288 IS_IN(libpthread)]: Include <sigsetops.h>.
17289 * mach/Makefile (user-interfaces): Add mach/gnumach.
17290 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
17291 * sysdeps/mach/configure (mach_interface_list): Regenerate.
17292 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
17293 instead of invalid -1.
17294 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
17295 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
17296 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
17299 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
17301 * hurd/fcntl-internal.h: New file.
17303 2018-01-27 James Clarke <jrtc27@jrtc27.com>
17305 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17307 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17309 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
17312 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
17313 Build only shared objects.
17315 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17317 * README: Update for hppa.
17319 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17321 * sysdeps/sparc/fpu/libm-test-ulps: Update
17322 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
17324 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17328 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17331 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17332 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17333 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17334 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17337 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17340 * bits/types/__cancel_jmp_buf_tag.h: New file.
17341 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17342 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17343 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17344 * nptl/Makefile (headers): Add
17345 bits/types/__cancel_jmp_buf_tag.h.
17346 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17347 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17348 * sysdeps/nptl/pthread.h: Include
17349 <bits/types/__cancel_jmp_buf_tag.h>.
17350 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17352 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17354 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
17357 * localedata/locales/uk_UA (mon): Renamed to...
17359 (alt_digits): "0" removed and then renamed to...
17361 (date_fmt): Definition changed not to use the alternative
17364 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
17366 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
17367 FLAG_RISCV_FLOAT_ABI_DOUBLE.
17368 * elf/elf.h (EF_RISCV_RVC): New define.
17369 (EF_RISCV_FLOAT_ABI): Likewise.
17370 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
17371 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
17372 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17373 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
17374 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
17376 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17378 2018-01-25 Andreas Schwab <schwab@suse.de>
17380 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
17382 * sysdeps/gnu/configure: Regenerate.
17383 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17384 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17386 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17387 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17388 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
17389 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17390 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17392 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17394 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
17395 URL, and run autoconf, make it the default for now.
17397 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17399 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17400 soft-float ColdFire configuration.
17402 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
17403 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
17404 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
17406 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
17409 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
17411 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
17413 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
17416 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
17417 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
17418 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
17421 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17424 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
17425 Rename to __reserved and add comment.
17426 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
17427 Rename to __reserved.
17429 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17431 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17432 i686-gnu configurations.
17433 (Context.run_builds): Include mig, gnumach and hurd in components
17435 (Context.checkout): Add mig, gnumach and hurd to components.
17436 (Context.checkout_tar): Add URL mappings for mig, gnumach and
17438 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
17439 (Config.build): Install gnumach headers, build mig and install
17440 hurd headers for 'gnu' OS.
17441 (Config.install_gnumach_headers): New function.
17442 (Config.install_hurd_headers): Likewise.
17443 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
17444 when building for 'gnu' OS.
17446 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
17448 * manual/tunables.texi (Hardware Capability Tunables): Fix
17451 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
17453 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
17454 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
17455 (ALTMON_11, ALTMON_12): Improve documentation.
17456 * manual/time.texi (strftime): Likewise.
17458 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17461 * localedata/locales/pl_PL: Alternative month names added,
17462 primary month names are genitive now.
17463 * time/tst-strptime.c (day_tests): Actually use a genitive case
17464 of a month name in Polish language.
17466 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17469 * manual/locale.texi: Document ALTMON_1..12 constants for
17470 nl_langinfo. Specify when to use ALTMON instead of MON.
17471 * manual/time.texi (strftime, strptime): Document GNU extension
17472 permitting O modifier with %B and %b. Specify when to use
17475 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17478 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
17479 names, define them as the same as abbreviated month names explicitly.
17480 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
17481 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
17482 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
17483 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
17484 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
17485 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
17486 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
17487 _NL_WABALTMON_12): New enum constants.
17488 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
17489 wab_alt_mon, and ab_alt_mon_defined members.
17490 (time_output): Output ab_alt_mon and wab_alt_mon members.
17491 (time_read): Read them, initialize them as copies of abmon and wabmon
17492 respectively if they are missing, initialize ab_alt_mon_defined.
17493 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
17494 * locale/programs/locfile-kw.h: Regenerate.
17495 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
17496 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
17498 * time/strftime_l.c (a_altmonth, aam_len): New macros.
17499 [!COMPILE_WIDE] (ABALTMON_1): New macro.
17500 (__strftime_internal): Handle %Ob and %Oh formats.
17501 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
17502 (__strptime_internal): Handle %Ob and %Oh formats.
17503 * time/tst-strptime.c (day_tests): Add more tests to parse different
17504 forms of month names including the new %Ob format specifier.
17506 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17509 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
17510 define them as the same as primary full month names explicitly.
17511 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
17512 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
17513 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
17514 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
17515 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
17516 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
17517 _NL_WALTMON_12): New enum constants.
17518 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
17519 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
17521 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
17522 walt_mon, and alt_mon_defined members.
17523 (time_output): Output alt_mon and walt_mon members.
17524 (time_read): Read them, initialize them as copies of mon and wmon
17525 respectively if they are missing, initialize alt_mon_defined.
17526 * locale/programs/locfile-kw.gperf (alt_mon): Define.
17527 * locale/programs/locfile-kw.h: Regenerate.
17528 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
17529 * localedata/tst-langinfo.c (map): Add tests for the new constants
17530 ALTMON_1 .. ALTMON_12.
17531 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
17533 * time/strftime_l.c (f_altmonth): New macro.
17534 (__strftime_internal): Handle %OB format.
17535 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
17536 (__strptime_internal): Handle %OB format.
17537 * time/tst-strptime.c (day_tests): Add tests to parse different forms
17538 of month names including the new %OB format specifier.
17540 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17543 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
17544 from ABORT_TRANSACTION.
17545 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
17546 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
17547 ABORT_TRANSACTION_IMPL): Likewise.
17548 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
17549 Linux code, but remove the code that aborts transactions.
17551 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17553 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
17555 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
17557 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
17558 in date: "2004-14-09" should be "2004-09-14".
17559 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
17560 "2003-15-09" should be "2003-09-15".
17562 2018-01-18 Arjun Shankar <arjun@redhat.com>
17568 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
17570 (_int_memalign): check for integer overflow before calling
17572 * malloc/tst-malloc-too-large.c: New test.
17573 * malloc/Makefile: Add tst-malloc-too-large.
17575 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
17577 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
17578 in date: "2017-24-07" should be "2017-07-24".
17579 * localedata/locales/mai_IN: Likewise.
17580 * localedata/locales/mai_NP: Likewise.
17582 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
17584 * po/ru.po: Update translations.
17586 2018-01-17 Joseph Myers <joseph@codesourcery.com>
17589 * sysdeps/hppa/backtrace.c: New file.
17591 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
17594 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
17595 align La_x86_64_retval to VEC_SIZE.
17597 2018-01-16 Joseph Myers <joseph@codesourcery.com>
17599 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
17600 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
17602 2018-01-16 Florian Weimer <fweimer@redhat.com>
17604 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
17605 Move tst-thread-exit-clobber ...
17606 [$(CXX)] (tests-unsupported): ... to here.
17608 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17610 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
17611 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
17612 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17613 (_dl_aarch64_cap_flags): Update.
17614 (_DL_HWCAP_COUNT): Update.
17616 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17618 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
17619 (_DL_HWCAP_LAST): Remove.
17620 (_DL_HWCAP_COUNT): Move to ...
17621 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17622 (_DL_HWCAP_COUNT): ... here.
17624 2018-01-16 Florian Weimer <fweimer@redhat.com>
17626 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
17627 mode with GNU extensions.
17629 2018-01-15 Alan Hayward <alan.hayward@arm.com>
17631 * elf/elf.h (NT_ARM_SVE): Define.
17633 2018-01-15 Florian Weimer <fweimer@redhat.com>
17636 * nptl/tst-minstack-throw.cc: New file.
17637 * nptl/Makefile (tests): Add tst-minstack-throw.
17638 (LDLIBS-tst-minstack-throw): Link with libstdc++.
17639 [!CXX] (tests-unsupported): Add tst-minstack-throw.
17641 2018-01-15 Joseph Myers <joseph@codesourcery.com>
17643 * scripts/build-many-glibcs.py (Context.checkout): Default
17644 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
17647 2018-01-13 Carlos O'Donell <carlos@redhat.com>
17650 * elf/elf.h (DF_1_STUB): Define.
17651 (DF_1_PIE): Define.
17653 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17656 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
17657 Do not add 0.5 to integer or out-of-range arguments.
17659 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17661 * po/bg.po: Update translations.
17662 * po/cs.po: Likewise.
17663 * po/de.po: Likewise.
17664 * po/ko.po: Likewise.
17665 * po/pl.po: Likewise.
17666 * po/sv.po: Likewise.
17667 * po/uk.po: Likewise.
17668 * po/vi.po: Likewise.
17670 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17672 * aarch64/start.S (_start): Use __wrap_main.
17673 (__wrap_main): New local symbol.
17675 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17679 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
17680 generic_getcwd if the path returned by getcwd syscall is not absolute.
17681 * io/tst-getcwd-abspath.c: New test.
17682 * io/Makefile (tests): Add tst-getcwd-abspath.
17684 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
17686 * malloc/malloc.c (malloc_consolidate): Add size check.
17688 2018-01-12 Florian Weimer <fweimer@redhat.com>
17690 * support/write_message.c (write_message): Preserve errno.
17691 * support/check.c (print_failure): Likewise.
17692 * support/support_test_verify_impl.c (support_test_verify_impl):
17694 * support/support_test_compare_failure.c
17695 (support_test_compare_failure): Likewise.
17697 2018-01-12 Florian Weimer <fweimer@redhat.com>
17700 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
17701 Prevent installation of libnsl.so.
17702 (libnsl-inhibit-o): Do not build (or install) static libraries.
17704 2018-01-12 Egmont Koblinger <egmont@gmail.com>
17707 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
17708 before the day number which may produce a double space.
17709 (date_fmt): Likewise.
17711 2018-01-12 Joseph Myers <joseph@codesourcery.com>
17713 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
17714 instead of fegetenv.
17716 2018-01-11 Joseph Myers <joseph@codesourcery.com>
17719 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
17720 comment to say exceptions are discarded.
17721 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
17723 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
17726 2018-01-11 Florian Weimer <fweimer@redhat.com>
17728 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
17731 2018-01-11 Florian Weimer <fweimer@redhat.com>
17734 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
17735 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
17737 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17740 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
17741 negative arguments in test for NaN or infinity argument.
17743 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
17745 * po/libc.pot: Regenerate.
17747 2018-01-10 Florian Weimer <fweimer@redhat.com>
17750 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
17751 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
17753 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17755 * hurd/hurd/fd.h: Include <fcntl.h>
17756 (__hurd_at_flags): New function.
17757 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
17758 with call to __hurd_at_flags.
17759 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
17760 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
17762 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
17763 (__access_noerrno): Use __faccessat_common instead of access_common.
17764 (__access): Likewise.
17765 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
17766 with a call to __faccessat.
17767 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
17768 (__faccessat_common): ... this. Move implementation of __access into it when
17769 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
17770 reauthenticate_cwdir_at helper to implement AT mechanism.
17771 (__faccessat_noerrno): New function, just calls __faccessat_common.
17772 (__faccessat): New function, just calls __faccessat_common.
17773 (faccessat): Define weak alias.
17775 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17778 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17779 (CFLAGS-s_fmaxmagl.c): New variable.
17780 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
17783 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
17784 long int for arguments of possibly overflowing addition or
17786 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17788 2018-01-09 Joseph Myers <joseph@codesourcery.com>
17791 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17792 (CFLAGS-e_remainderl.c): New variable.
17795 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
17797 (CFLAGS-s_cacoshl.c): Likewise.
17798 (CFLAGS-s_casinhl.c): Likewise.
17799 (CFLAGS-s_catanl.c): Likewise.
17800 (CFLAGS-s_catanhl.c): Likewise.
17801 (CFLAGS-s_cexpl.c): Likewise.
17802 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
17803 (CFLAGS-s_csinhl.c): Likewise.
17804 (CFLAGS-s_clogl.c): Likewise.
17805 (CFLAGS-s_clog10l.c): Likewise.
17806 (CFLAGS-s_csinl.c): Likewise.
17807 (CFLAGS-s_csqrtl.c): Likewise.
17809 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
17810 2017-01-09 Svante Signell <svante.signell@gmail.com>
17812 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
17813 (_hurd_exec_paths): New function.
17814 * hurd/hurd.h (_hurd_exec): Deprecate function.
17815 (_hurd_exec_paths): Declare function.
17816 * hurd/Versions: Export _hurd_exec_paths.
17817 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
17818 (__execve): Use __getcwd to build absolute path, and use
17819 _hurd_exec_paths instead of _hurd_exec.
17820 * sysdeps/mach/hurd/spawni.c: Likewise.
17821 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
17824 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
17826 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
17827 test instead of failing in case of ENOENT returned by posix_openpt.
17829 2018-01-08 Florian Weimer <fweimer@redhat.com>
17831 resolv: Support binary labels in test framework.
17832 * support/resolv_test.c (struct to_be_freed): Remove.
17833 (struct compressed_name): New.
17834 (allocate_compressed_name, ascii_tolower)
17835 (compare_compressed_name): New functions.
17836 (struct resolv_response_builder): Update type of
17837 compression_offsets for use with tsearch. Rempve to_be_freed.
17838 (response_push_pointer_to_free): Remove function.
17839 (resolv_response_add_name): Rewrite using struct compressed_name
17840 and tsearch instead of hsearch_r.
17841 (response_builder_allocate): Remove initialization of
17842 compression_offsets.
17843 (response_builder_free): Update for removal of to_be_freed. Use
17844 tdestroy instead of hdestroy_r.
17845 * resolv/Makefile (tests): Add tst-resolv-binary.
17846 (tst-resolv-binary): Link with -lresolv -lpthread.
17848 2018-01-08 Florian Weimer <fweimer@redhat.com>
17850 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
17851 time. Pass positive flag instead of negative flag to
17852 support_test_compare_failure.
17853 (support_test_compare_failure): Change negative parameter to
17855 * support/support_test_compare_failure.c (report)
17856 (support_test_compare_failure): Likewise.
17857 * support/tst-test_compare.c (return_ssize_t, return_int): New.
17858 (do_test): Check int/size_t, ssize_t/size_t comparisons.
17860 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
17863 * nptl/descr.h (stackblock, stackblock_size): Update comments.
17864 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
17865 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
17867 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17869 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
17871 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17872 Add s_sincosf-sse2 and s_sincosf-fma.
17873 (CFLAGS-s_sincosf-fma.c): New.
17874 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
17875 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
17876 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
17877 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
17878 __sincosf is defined.
17880 2018-01-08 Florian Weimer <fweimer@redhat.com>
17882 * nptl/tst-thread-exit-clobber.cc: New file.
17883 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
17885 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
17886 (tests): Add tst-thread-exit-clobber.
17887 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
17889 2018-01-08 Florian Weimer <fweimer@redhat.com>
17891 * support/check.h (support_static_assert): Define.
17892 (TEST_COMPARE): Use it.
17894 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
17896 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
17897 [!__RLIM_T_MATCHES_RLIM64_T]
17898 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
17899 __getrlimit64. Add libc_hidden_weak.
17901 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
17903 * elf/elf.h (R_RISCV_NONE): New define.
17904 (R_RISCV_32): Likewise.
17905 (R_RISCV_64): Likewise.
17906 (R_RISCV_RELATIVE): Likewise.
17907 (R_RISCV_COPY): Likewise.
17908 (R_RISCV_JUMP_SLOT): Likewise.
17909 (R_RISCV_TLS_DTPMOD32): Likewise.
17910 (R_RISCV_TLS_DTPMOD64): Likewise.
17911 (R_RISCV_TLS_DTPREL32): Likewise.
17912 (R_RISCV_TLS_DTPREL64): Likewise.
17913 (R_RISCV_TLS_TPREL32): Likewise.
17914 (R_RISCV_TLS_TPREL64): Likewise.
17915 * Makerules (make-link-multidir): Make directories before linking into
17917 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
17919 (VDSO_HASH_LINUX_4_15): Likewise.
17920 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
17921 in subdirectories of lib.
17922 * nptl/Makefile (/librt.so): Always depend on
17923 "$(shared-thread-library)".
17925 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17927 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
17928 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
17929 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
17931 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
17932 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
17934 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
17935 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
17936 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
17937 * sysdeps/gnu/glob-lstat-compat.c: New file.
17938 * sysdeps/gnu/glob64-lstat-compat.c: New file.
17939 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
17941 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17943 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
17944 Reserve 16 chars to reloc_addr before calling _itoa_word.
17946 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17949 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
17950 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
17952 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
17953 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
17955 * resource/tst-getrlimit.c: Add copyright header.
17957 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17958 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17960 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17961 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
17962 Define __GI_getrlimit64 as weak alias of __getrlimit64.
17963 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
17965 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17966 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
17967 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
17968 RLIM64_INFINITY): Fix values to match the kernel ones.
17969 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
17970 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
17971 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
17972 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
17973 getrlimit64@@GLIBC_2_27.
17974 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
17976 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
17977 getrlimit, setrlimit, getrlimit64 and setrlimit64.
17978 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
17979 setrlimit, getrlimit64 and setrlimit64.
17981 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17984 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
17985 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
17987 2018-01-04 Joseph Myers <joseph@codesourcery.com>
17989 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
17990 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
17991 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
17993 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17997 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
17998 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
18002 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
18003 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
18004 * sysdeps/alpha/fpu/s_floor.c: Likewise.
18005 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
18007 2018-01-04 Florian Weimer <fweimer@redhat.com>
18010 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18011 Align the stack before calling exit.
18012 * stdlib/tst-makecontext-align.c: New file.
18013 * stdlib/Makefile (tests): Add tst-makecontext-align.
18015 2018-01-04 Florian Weimer <fweimer@redhat.com>
18017 Add support for calling dlvsym from libc.so.
18018 * include/dlfcn.h (__libc_dlvsym): Declare.
18019 * elf/Makefile (tests-static-internal): Add
18020 tst-libc_dlvsym-static.
18021 (tests-internal): Add tst-libc_dlvsym.
18022 (modules-names): Add tst-libc_dlvsym-dso.
18023 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
18024 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
18025 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
18026 object tst-libc_dlvsym-dso.so needs to be built before running
18028 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
18029 * elf/Versions: Export __libc_dlvsym.
18030 * elf/dl-libc.c (struct do_dlvsym_args): New.
18031 (do_dlvsym, __libc_dlvsym): New functions.
18032 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
18033 (_dl_open_hook2): New variable.
18034 (__libc_register_dl_open_hook): Set it.
18035 * elf/tst-libc_dlvsym-dso.c: New file.
18036 * elf/tst-libc_dlvsym-static.c: Likewise.
18037 * elf/tst-libc_dlvsym.c: Likewise.
18038 * elf/tst-libc_dlvsym.h: Likewise.
18040 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18042 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
18043 include <sys/mount.h>.
18045 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
18047 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
18048 Add __NO_MATH_ERRNO__ check.
18050 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18052 * sysdeps/mips/mips32/libm-test-ulps: Update.
18053 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18055 2018-01-02 Florian Weimer <fweimer@redhat.com>
18057 * misc/tst-pselect.c: Add copyright header.
18059 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18061 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
18063 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
18065 (settrlimit): Rename into setrlimit.
18066 (__sttrlimit): Rename into __setrlimit.
18068 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
18069 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
18070 never defined in that case.
18072 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18074 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
18076 * sysdeps/arm/libm-test-ulps: Update.
18078 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
18079 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
18081 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18083 * NEWS: Add cosf and sincosf to list of optimized functions.
18085 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18088 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
18089 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
18090 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
18091 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
18093 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
18096 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
18098 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
18099 making a copy of it.
18101 2018-01-01 Joseph Myers <joseph@codesourcery.com>
18103 * manual/texinfo.tex: Update to version 2017-12-26.21 with
18104 trailing whitespace removed.
18105 * scripts/config.guess: Update to version 2018-01-01.
18106 * scripts/config.sub: Update to version 2018-01-01.
18107 * scripts/move-if-change: Update from gnulib.
18109 * NEWS: Update copyright dates.
18110 * catgets/gencat.c (print_version): Likewise.
18111 * csu/version.c (banner): Likewise.
18112 * debug/catchsegv.sh: Likewise.
18113 * debug/pcprofiledump.c (print_version): Likewise.
18114 * debug/xtrace.sh (do_version): Likewise.
18115 * elf/ldconfig.c (print_version): Likewise.
18116 * elf/ldd.bash.in: Likewise.
18117 * elf/pldd.c (print_version): Likewise.
18118 * elf/sotruss.sh: Likewise.
18119 * elf/sprof.c (print_version): Likewise.
18120 * iconv/iconv_prog.c (print_version): Likewise.
18121 * iconv/iconvconfig.c (print_version): Likewise.
18122 * locale/programs/locale.c (print_version): Likewise.
18123 * locale/programs/localedef.c (print_version): Likewise.
18124 * login/programs/pt_chown.c (print_version): Likewise.
18125 * malloc/memusage.sh (do_version): Likewise.
18126 * malloc/memusagestat.c (print_version): Likewise.
18127 * malloc/mtrace.pl: Likewise.
18128 * manual/libc.texinfo: Likewise.
18129 * nptl/version.c (banner): Likewise.
18130 * nscd/nscd.c (print_version): Likewise.
18131 * nss/getent.c (print_version): Likewise.
18132 * nss/makedb.c (print_version): Likewise.
18133 * posix/getconf.c (main): Likewise.
18134 * scripts/test-installation.pl: Likewise.
18135 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18137 * All files with FSF copyright notices: Update copyright dates
18138 using scripts/update-copyrights.
18139 * locale/programs/charmap-kw.h: Regenerated.
18140 * locale/programs/locfile-kw.h: Likewise.
18142 2017-12-31 Zack Weinberg <zackw@panix.com>
18144 * libio/bits/libio-ldbl.h: Correct check for improper
18145 inclusion. Add own multiple include guard.
18147 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
18148 Dmitry V. Levin <ldv@altlinux.org>
18152 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
18153 string token expansion. Check for NULL pointer or empty string possibly
18154 returned by expand_dynamic_string_token.
18155 (decompose_rpath): Check for empty path after dynamic string
18158 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
18161 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
18163 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
18164 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
18165 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
18166 and PTRACE_SYSCALL.
18167 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
18168 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18169 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18170 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18171 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18172 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18174 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
18175 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18176 __ptrace_peeksiginfo_flags, ptrace): Move to ...
18177 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
18178 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18179 bits/ptrace-shared.h.
18180 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
18181 <bits/ptrace-shared.h>.
18182 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18183 __ptrace_peeksiginfo_flags, ptrace): Remove.
18184 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18185 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18186 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18187 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18188 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18190 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18193 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
18194 end of the loop. Improve comments.
18196 2017-12-29 Zack Weinberg <zackw@panix.com>
18199 * manual/errno.texi (Checking for Errors): Explicitly say that errno
18200 might be set on success.
18202 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18205 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
18206 is unchanged on success.
18208 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
18210 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
18212 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
18213 expand_dynamic_string_token): Likewise.
18214 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
18217 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
18220 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
18221 is set and name contains ':', and all code depending on these checks.
18223 2017-12-24 Zack Weinberg <zackw@panix.com>
18225 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
18226 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
18228 * libio/libio.h: Rename the original version of this file to
18229 libio/bits/libio.h. Error out if not included by stdio.h or the
18231 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
18232 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
18233 if not included by bits/libio.h or the stub _G_config.h.
18234 * sysdeps/unix/sysv/linux/_G_config.h: Move to
18235 sysdeps/unix/sysv/linux/bits. Error out if not included by
18236 bits/libio.h or the stub _G_config.h.
18237 * libio/stdio.h: Include bits/libio.h, not libio.h.
18238 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
18239 well as libio.h and _G_config.h.
18241 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
18242 * libio/strfile.h, stdio-common/vfscanf.c
18243 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
18244 Include stdio.h, not _G_config.h nor libio.h.
18245 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
18246 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
18248 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
18250 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
18253 * stdlib/getrandom.c (getrandom): Fix comment.
18254 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
18256 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
18259 * manual/arith.texi (strtoul): Fix a typo.
18262 * manual/arith.texi (finite): Fix the description of the return
18265 2017-12-22 Eric Blake <ebb9@byu.net>
18267 Avoid gcc warnings on cygwin
18268 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
18269 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
18270 Avoid unused variable.
18272 2017-12-22 Florian Weimer <fweimer@redhat.com>
18274 * io/Makefile (routines): Add copy_file_range.
18275 (tests): Add tst-copy_file_range.
18276 (tests-static, tests-internal): Add tst-copy_file_range-compat.
18277 * io/Versions (GLIBC_2.27): Export copy_file_range.
18278 * io/copy_file_range-compat.c: New file.
18279 * io/copy_file_range.c: Likewise.
18280 * io/tst-copy_file_range-compat.c: Likewise.
18281 * io/tst-copy_file_range.c: Likewise.
18282 * manual/llio.texi (Copying File Data): New section.
18283 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
18284 * support/Makefile (libsupport-routines): Add support-xfstat,
18285 xftruncate, xlseek.
18286 * support/support-xfstat.c: New file.
18287 * support/xftruncate.c: Likewise.
18288 * support/xlseek.c: Likewise.
18289 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
18290 * sysdeps/unix/sysv/linux/**.abilist: Update.
18291 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
18293 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18295 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18296 disable-multi-arch variant to aarch64-linux-gnu.
18298 2017-12-20 Joseph Myers <joseph@codesourcery.com>
18300 * manual/texinfo.tex: Update to version 2017-12-18.20 with
18301 trailing whitespace removed.
18302 * scripts/config.guess: Update to version 2017-12-17.
18303 * scripts/config.sub: Update to version 2017-11-23.
18304 * scripts/install-sh: Update to version 2017-09-23.17.
18305 * scripts/move-if-change: Update to version 2017-09-13 06:45.
18307 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18309 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
18310 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18311 * sysdeps/tile/_mcount.S (__mcount): Likewise.
18312 * sysdeps/tile/crti.S (_init, _fini): Likewise.
18313 * sysdeps/tile/crtn.S: Likewise.
18314 * sysdeps/tile/dl-start.S (_start): Likewise.
18315 * sysdeps/tile/dl-trampoline.S: Likewise.
18316 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
18317 * sysdeps/tile/start.S (_start): Likewise.
18318 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
18319 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
18320 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
18321 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
18322 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
18323 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
18324 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
18326 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
18328 * sysdeps/tile/preconfigure: Remove tilegx folder.
18329 * sysdeps/tile/tilegx/Implies: Move definitions to ...
18330 * sysdeps/tile/Implies: ... here.
18331 * sysdeps/tile/tilegx/Makefile: Move rules to ...
18332 * sysdeps/tile/Makefile: ... here.
18333 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
18334 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
18335 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
18336 * sysdeps/tile/bits/wordsize.h: ... here.
18337 * sysdeps/tile/tilegx/*: Move to ...
18338 * sysdeps/tile/*: ... here.
18339 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
18340 * sysdeps/tile/tilegx32/Implies: ... here.
18341 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
18342 * sysdeps/tile/tilegx64/Implies: ... here.
18343 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
18345 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18346 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
18347 * sysdeps/unix/sysv/linux/tile/*: ... here.
18348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
18349 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
18350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
18351 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
18353 * README: Remove tilepro-*-linux-gnu from supported architecture.
18354 * scripts/build-many-glibcs.py: Likewise.
18355 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18356 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
18357 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
18358 elf_machine_matches_host, elf_machine_dynamic,
18359 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
18360 howto, elf_machine_rela): Likewise.
18361 * sysdeps/tile/dl-start.S (_start): Likewise.
18362 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
18363 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
18364 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
18365 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
18366 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
18367 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18369 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
18370 * sysdeps/tile/preconfigure: Likewise.
18371 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
18372 POINTER_CHK_GUARD): Likewise.
18373 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
18374 * sysdeps/tile/start.S (_start): Likewise.
18375 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
18377 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
18378 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
18380 * sysdeps/unix/sysv/linux/tile/bits/environments.h
18381 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
18382 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
18384 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
18385 * sysdeps/tile/tilepro/Implies: Remove file.
18386 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
18387 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
18388 * sysdeps/tile/tilepro/memchr.c: Likewise.
18389 * sysdeps/tile/tilepro/memcpy.S: Likewise.
18390 * sysdeps/tile/tilepro/memset.c: Likewise.
18391 * sysdeps/tile/tilepro/memusage.h: Likewise.
18392 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
18393 * sysdeps/tile/tilepro/strchr.c: Likewise.
18394 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
18395 * sysdeps/tile/tilepro/strlen.c: Likewise.
18396 * sysdeps/tile/tilepro/strrchr.c: Likewise.
18397 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
18398 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
18399 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
18400 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
18401 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
18402 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18404 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
18405 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18406 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
18407 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
18408 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18409 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
18410 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
18411 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
18412 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
18413 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
18414 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
18415 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
18416 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
18417 tilepro mention in comment.
18419 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
18420 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
18421 * nptl/pthread_join_common.c: New file: common function used on
18422 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
18423 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
18424 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
18425 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18426 (cleanup): Move definition to pthread_join_common.c.
18427 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
18428 Remove superflous checks.
18429 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
18432 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18434 * sysdeps/aarch64/libm-test-ulps: Update.
18436 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18438 * sysdeps/aarch64/memset.S (MEMSET): Define.
18440 2017-12-20 Florian Weimer <fweimer@redhat.com>
18443 nptl: Provide full implementation of pthread_self in libc.so.
18444 * nptl/Makefile (routines): Add pthread_self.
18445 (libpthread-routines): Replace pthread_self with
18446 compat-pthread_self.
18447 * nptl/forward.c (pthread_self): Remove.
18448 * nptl/nptl-init.c (pthread_functions): Do not initialize
18450 * nptl/pthread_self.c (pthread_self): Remove weak alias.
18451 * nptl/compat-pthread_self.c: New file.
18452 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
18453 Remove ptr_pthread_self.
18455 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
18457 * posix/regcomp.c: Fix spelling in comments.
18458 * posix/regex.h: Likewise.
18459 * posix/regex_internal.c: Likewise.
18460 * posix/regexec.c: Likewise.
18462 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18465 * math/Makefile [C++] (tests): Add test for iseqsig.
18466 * math/math.h [C++] (iseqsig): New implementation, which does
18467 not rely on __MATH_TG/__builtin_types_compatible_p.
18468 * math/test-math-iseqsig.cc: New file.
18469 * sysdeps/powerpc/powerpc64le/Makefile
18470 (CFLAGS-test-math-iseqsig.cc): New variable.
18472 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
18474 * elf/dl-load.c (is_trusted_path): Remove.
18475 (fillin_rpath): Remove check_trusted argument and its use,
18476 all callers changed.
18478 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18481 * Makeconfig (link-pie-before-libc): Replace -pie with
18482 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
18483 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
18484 (tst-dlopen-aout-no-pie): New.
18485 (LDFLAGS-tst-prelink): Removed.
18486 (tst-prelink-no-pie): New.
18487 (LDFLAGS-tst-main1): Removed.
18488 (tst-main1-no-pie): New.
18489 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
18490 (tst-gmon-no-pie): New.
18492 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18494 * manual/install.texi: Document that --enable-static-pie
18496 * INSTALL: Regenerated.
18498 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
18501 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
18504 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18508 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18510 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18512 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18514 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18515 <errno.h>. Include "eexp.tbl".
18516 (half): New constant.
18518 (__ieee754_exp): Rewrite.
18519 (__slowexp): Remove prototype.
18520 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18521 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18522 * sysdeps/i386/fpu/slowexp.c: Likewise.
18523 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18524 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18525 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18526 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18527 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18528 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18529 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18531 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18532 (CPPFLAGS-slowexp.c): Remove variable.
18533 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18534 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18535 (CFLAGS-slowexp-fma.c): Remove variable.
18536 (CFLAGS-slowexp-fma4.c): Likewise.
18537 (CFLAGS-slowexp-avx.c): Likewise.
18538 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18540 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18541 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18542 * math/Makefile (type-double-routines): Remove slowexp.
18543 * manual/probes.texi (slowexp_p6): Remove.
18544 (slowexp_p32): Likewise.
18546 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18548 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
18551 * lib/glob.c (glob): Do not pass NULL to mempcpy.
18553 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18557 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18559 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18560 <errno.h>. Include "eexp.tbl".
18561 (half): New constant.
18563 (__ieee754_exp): Rewrite.
18564 (__slowexp): Remove prototype.
18565 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18566 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18567 * sysdeps/i386/fpu/slowexp.c: Likewise.
18568 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18569 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18570 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18571 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18572 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18573 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18574 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18576 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18577 (CPPFLAGS-slowexp.c): Remove variable.
18578 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18579 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18580 (CFLAGS-slowexp-fma.c): Remove variable.
18581 (CFLAGS-slowexp-fma4.c): Likewise.
18582 (CFLAGS-slowexp-avx.c): Likewise.
18583 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18585 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18586 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18587 * math/Makefile (type-double-routines): Remove slowexp.
18588 * manual/probes.texi (slowexp_p6): Remove.
18589 (slowexp_p32): Likewise.
18591 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18592 James Clarke <jrtc27@jrtc27.com>
18595 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
18598 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18601 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
18604 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18607 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18608 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18609 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18610 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18613 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18616 * bits/types/__cancel_jmp_buf_tag.h: New file.
18617 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18618 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18619 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18620 * nptl/Makefile (headers): Add
18621 bits/types/__cancel_jmp_buf_tag.h.
18622 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18623 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18624 * sysdeps/nptl/pthread.h: Include
18625 <bits/types/__cancel_jmp_buf_tag.h>.
18626 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18628 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18630 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18632 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18633 --enable-static-pie variants to x86_64, x32 and i686.
18635 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18638 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
18639 argument for attrubutes. All callers changed.
18640 (__inline_mathop1): Likewise. All callers changed.
18641 (__inline_mathop): Likewise. All callers changed.
18642 [__USE_MISC] (scalbn): Use __inline_forward instead of
18643 __inline_forward_c.
18644 [__USE_ISOC99] (scalbln): Likewise.
18645 [__USE_ISOC99] (nearbyint): Likewise.
18646 [__USE_ISOC99] (lrint): Likewise.
18647 [__USE_MISC] (scalbnf): Likewise.
18648 [__USE_ISOC99] (scalblnf): Likewise.
18649 [__USE_ISOC99] (nearbyintf): Likewise.
18650 [__USE_ISOC99] (lrintf): Likewise.
18651 [__USE_MISC] (scalbnl): Likewise.
18652 [__USE_ISOC99] (scalblnl): Likewise.
18653 [__USE_ISOC99] (nearbyintl): Likewise.
18654 [__USE_ISOC99] (lrintl): Likewise.
18655 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
18656 __inline_mathop and __m81_defun changed.
18658 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
18659 CPU or FPU for ARM hard-float configurations.
18661 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18663 * nptl/tst-attr3.c: Include <libc-diag.h>.
18664 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
18666 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
18668 * string/tester.c (test_strncat): Also disable -Warray-bounds
18669 warnings for two tests.
18671 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18674 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
18675 $(cc-pie-default) == yes.
18676 * config.make.in (cc-pie-default): New.
18677 * configure.ac (libc_cv_pie_default): Renamed to ...
18678 (libc_cv_cc_pie_default): This.
18679 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
18680 * configure: Regenerated.
18682 2017-12-18 Florian Weimer <fweimer@redhat.com>
18685 ld.so: Harden dl-libc/libdl hooks.
18686 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
18687 (rtld_active): New function.
18688 * dlfcn/dladdr.c (__dladdr): Call it.
18689 * dlfcn/dladdr1.c (__dladdr1): Likewise.
18690 * dlfcn/dlclose.c (__dlcose): Likewise.
18691 * dlfcn/dlerror.c (__dlerror): Likewise.
18692 * dlfcn/dlinfo.c (__dlinfo): Likewise.
18693 * dlfcn/dlmopen.c (__dlmopen): Likewise.
18694 * dlfcn/dlopen.c (__dlopen): Likewise.
18695 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18696 * dlfcn/dlsym.c (__dlsym): Likewise.
18697 * dlfcn/dlvsym.c (__dlvsym): Likewise.
18698 * libio/vtables.c (_IO_vtable_check): Likewise.
18699 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
18700 (__libc_dlclose): Likewise.
18701 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
18704 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18707 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
18708 buffers for readlink input and output.
18710 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
18713 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
18714 inhibit_stack_protector.
18717 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
18718 inhibit_stack_protector.
18720 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
18723 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
18724 code and invocation.
18726 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18728 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
18730 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
18733 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
18735 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18737 * sysdeps/s390/fpu/libm-test-ulps: Update.
18739 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18743 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18745 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
18746 constants to s_sincosf.h file.
18747 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18748 * sysdeps/ieee754/flt-32/s_sincosf.c: New
18750 * sysdeps/ieee754/flt-32/s_sincosf.h:
18753 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18756 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
18759 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
18762 * INSTALL: Regenerated.
18763 * Makeconfig (real-static-start-installed-name): New.
18764 (pic-default): Updated for --enable-static-pie.
18765 (pie-default): New for --enable-static-pie.
18766 (default-pie-ldflag): Likewise.
18767 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
18768 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
18769 Replace $(static-start-installed-name) with
18770 $(real-static-start-installed-name).
18771 (+prectorT): Updated for --enable-static-pie.
18772 (+postctorT): Likewise.
18773 (CFLAGS-.o): Add $(pie-default).
18774 (CFLAGS-.op): Likewise.
18775 * NEWS: Mention --enable-static-pie.
18776 * config.h.in (ENABLE_STATIC_PIE): New.
18777 * configure.ac (--enable-static-pie): New configure option.
18778 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
18779 (have-static-pie): Likewise.
18780 Enable static PIE if linker supports --no-dynamic-linker.
18781 (ENABLE_STATIC_PIE): New AC_DEFINE.
18782 (enable-static-pie): New LIBC_CONFIG_VAR.
18783 * configure: Regenerated.
18784 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
18785 gr$(start-installed-name) for --enable-static-pie.
18786 (extra-objs): Likewise.
18787 (install-lib): Likewise.
18788 (extra-objs): Add static-reloc.o and static-reloc.os
18789 ($(objpfx)$(start-installed-name)): Also depend on
18790 $(objpfx)static-reloc.o.
18791 ($(objpfx)r$(start-installed-name)): New.
18792 ($(objpfx)g$(start-installed-name)): Also depend on
18793 $(objpfx)static-reloc.os.
18794 ($(objpfx)gr$(start-installed-name)): New.
18795 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
18797 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
18799 * csu/static-reloc.c: New file.
18800 * elf/Makefile (routines): Add dl-reloc-static-pie.
18801 (elide-routines.os): Likewise.
18802 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
18803 (tst-tls1-static-non-pie-no-pie): New.
18804 * elf/dl-reloc-static-pie.c: New file.
18805 * elf/dl-support.c (_dl_get_dl_main_map): New function.
18806 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
18807 STATIC_PIE_BOOTSTRAP.
18808 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18809 * gmon/Makefile (tests): Add tst-gmon-static-pie.
18810 (tests-static): Likewise.
18811 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
18812 (tst-gmon-static-no-pie): New.
18813 (CFLAGS-tst-gmon-static-pie.c): Likewise.
18814 (CRT-tst-gmon-static-pie): Likewise.
18815 (tst-gmon-static-pie-ENV): Likewise.
18816 (tests-special): Likewise.
18817 ($(objpfx)tst-gmon-static-pie.out): Likewise.
18818 (clean-tst-gmon-static-pie-data): Likewise.
18819 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
18820 * gmon/tst-gmon-static-pie.c: New file.
18821 * manual/install.texi: Document --enable-static-pie.
18822 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
18823 (_dl_get_dl_main_map): Likewise.
18824 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
18825 * sysdeps/x86_64/configure.ac: Likewise.
18826 * sysdeps/i386/configure: Regenerated.
18827 * sysdeps/x86_64/configure: Likewise.
18828 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
18829 (ASFLAGS-.op): Likewise.
18831 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18833 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
18834 * posix/tst-mmap-offset.c (fname): Use /tmp.
18835 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
18837 2017-12-15 Steve Ellcey <sellcey@cavium.com>
18839 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
18841 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
18843 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
18846 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18848 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18849 --with-float=hard for arm-linux-gnueabihf configurations.
18852 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
18853 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
18854 ($(mo-installed)): Use $(objpfx)%.mo.
18855 (realclean): Remove rule.
18857 * po/Makefile (linguas): Remove rule and dependencies.
18858 (linguas.mo): Likewise.
18859 (.PHONY): Do not depend on linguas and linguas.mo.
18860 (podir): Remove variable.
18861 (pofiles): Likewise.
18862 [$(pofiles)] (%.po): Remove rule.
18864 * sysdeps/sparc/sparc32/Makefile
18865 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
18866 start-of-line whitespace in argument of echo.
18867 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
18868 with whitespace. Generate __wrap_.udiv alias.
18869 * sysdeps/sparc/sparc32/rem.S: Regenerated.
18870 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18871 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18872 * sysdeps/sparc/sparc32/urem.S: Likewise.
18874 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18876 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
18877 for aligned inputs.
18879 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18881 * benchtests/bench-strcmp.c: Print output in JSON format.
18883 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
18885 2017-12-14 Florian Weimer <fweimer@redhat.com>
18889 * elf/dl-load.c (_dl_init_paths): Compute number of components in
18890 the expanded path string.
18892 2017-12-14 Florian Weimer <fweimer@redhat.com>
18896 * elf/dl-load.c (system_dirs): Update comment.
18897 (nsystem_dirs_len): Use array_length.
18898 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
18900 2017-12-14 Florian Weimer <fweimer@redhat.com>
18902 Simplify compiling most of support/ outside of glibc.
18903 * support/check_addrinfo.c: Include <string.h>.
18904 * support/check_dns_packet.c: Likewise.
18905 * support/check_hostent.c: Likewise.
18906 * support/support_can_chroot.c: Include <support/xunistd.h>.
18907 * support/support_format_addrinfo.c: Include <stdlib.h>
18908 * support/support_format_dns_packet.c: Include <stdbool.h>.
18909 * support/support_format_hostent.c: Include <stdlib.h>.
18910 * support/support_format_netent.c: Likewise.
18911 * support/support_write_string.c: Include <support/xunistd.h>.
18912 * support/xdlfcn.c: Include <stddef.h>.
18914 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
18916 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
18918 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18919 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18921 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18922 (sysdeps_routines): Add memset-niagara7.
18923 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
18925 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
18927 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
18928 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18929 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
18930 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
18931 Add niagara7 option.
18932 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
18935 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18936 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
18937 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
18939 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
18941 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
18942 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
18943 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18944 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
18945 and __memmove_niagara7.
18946 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
18947 Add niagara7 option.
18948 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
18949 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
18950 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
18951 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
18952 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
18954 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
18956 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
18957 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
18958 * sysdeps/sparc/sparc64/memmove.S: Likewise.
18959 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
18961 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
18962 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
18963 _dl_sparc_cap_flags array.
18964 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
18966 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18968 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
18969 time whenever possible.
18971 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18973 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
18974 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
18976 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18978 * soft-fp/fmadf4.c: Move to ....
18979 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
18980 * soft-fp/fmasf4.c: Move to ....
18981 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
18982 * soft-fp/fmatf4.c: Move to ....
18983 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
18984 * sysdeps/ieee754/soft-fp/Makefile: New file.
18985 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
18986 * sysdeps/arm/preconfigure: Regenerated.
18987 * sysdeps/arm/nofpu/Implies: New file.
18988 * sysdeps/arm/s_fma.c: Remove file.
18989 * sysdeps/arm/s_fmaf.c: Likewise.
18990 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
18991 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
18992 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
18993 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
18994 * sysdeps/microblaze/s_fma.c: Remove file.
18995 * sysdeps/microblaze/s_fmaf.c: Likewise.
18996 * sysdeps/mips/mips32/nofpu/Implies: New file.
18997 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
18998 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
18999 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
19000 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
19001 * sysdeps/mips/ieee754/s_fma.c: Remove file.
19002 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
19003 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
19005 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
19006 * sysdeps/nios2/s_fma.c: Remove file.
19007 * sysdeps/nios2/s_fmaf.c: Likewise.
19008 * sysdeps/sh/nofpu/Implies: New file.
19009 * sysdeps/sh/s_fma.c: Remove file.
19010 * sysdeps/sh/s_fmaf.c: Likewise.
19011 * sysdeps/tile/Implies: Add ieee754/soft-fp.
19012 * sysdeps/tile/s_fma.c: Remove file.
19013 * sysdeps/tile/s_fmaf.c: Likewise.
19015 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
19017 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19018 Add s_cosf-sse2 and s_cosf-fma.
19019 (CFLAGS-s_cosf-fma.c): New.
19020 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
19021 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
19022 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
19024 2017-12-12 Steve Ellcey <sellcey@cavium.com>
19026 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
19028 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19030 * libio/Makefile (tests): Add tst-bz22415.
19031 (tst-bz22415-ENV): New rule.
19032 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
19033 (tests-special): Add tst-bz22415-mem.out.
19034 ($(objpfx)tst-bz22415-mem.out): New rule.
19035 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
19036 in case of a successful seek operation.
19037 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19038 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
19039 buffer is required.
19040 * libio/tst-bz22415.c: New test.
19042 * sysdeps/ia64/fpu/libm-test-ulps: Update.
19044 2017-12-12 James Clarke <jrtc27@jrtc27.com>
19046 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
19047 __IPC_64 to 0 to avoid IPC_64 being set.
19049 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19052 * math/bits/mathcalls.h (nextafter): Remove const.
19053 (nexttoward): Likewise.
19055 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19057 * configure.ac (--with-fp): Remove configure option.
19058 (with_fp_cond): New variable.
19059 (libc_cv_with_fp): New configure test. Use this variable instead
19061 * configure: Regenerated.
19062 * config.make.in (with-fp): Use @libc_cv_with_fp@.
19063 * manual/install.texi (Configuring and compiling): Remove
19065 * INSTALL: Regenerated.
19066 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
19067 * sysdeps/mips/preconfigure (with_fp_cond): Define.
19068 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
19069 * sysdeps/sh/preconfigure (with_fp_cond): Define.
19070 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
19071 use --without-fp to configure glibc.
19073 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
19075 * manual/locale.texi (nl_langinfo): Fix a typo.
19077 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
19080 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
19082 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19084 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
19085 (CFLAGS-argp-parse.c): Likewise.
19086 (CFLAGS-argp-fmtstream.c): Likewise.
19087 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
19088 (CPPFLAGS-sha512-crypt.c): Likewise.
19089 (CPPFLAGS-md5-crypt.c): Likewise.
19090 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
19091 (CFLAGS-stack_chk_fail_local.c): Likewise.
19092 (CFLAGS-backtrace.c): Likewise.
19093 (CFLAGS-sprintf_chk.c): Likewise.
19094 (CFLAGS-snprintf_chk.c): Likewise.
19095 (CFLAGS-vsprintf_chk.c): Likewise.
19096 (CFLAGS-vsnprintf_chk.c): Likewise.
19097 (CFLAGS-asprintf_chk.c): Likewise.
19098 (CFLAGS-vasprintf_chk.c): Likewise.
19099 (CFLAGS-obprintf_chk.c): Likewise.
19100 (CFLAGS-dprintf_chk.c): Likewise.
19101 (CFLAGS-vdprintf_chk.c): Likewise.
19102 (CFLAGS-printf_chk.c): Likewise.
19103 (CFLAGS-fprintf_chk.c): Likewise.
19104 (CFLAGS-vprintf_chk.c): Likewise.
19105 (CFLAGS-vfprintf_chk.c): Likewise.
19106 (CFLAGS-gets_chk.c): Likewise.
19107 (CFLAGS-fgets_chk.c): Likewise.
19108 (CFLAGS-fgets_u_chk.c): Likewise.
19109 (CFLAGS-fread_chk.c): Likewise.
19110 (CFLAGS-fread_u_chk.c): Likewise.
19111 (CFLAGS-swprintf_chk.c): Likewise.
19112 (CFLAGS-vswprintf_chk.c): Likewise.
19113 (CFLAGS-wprintf_chk.c): Likewise.
19114 (CFLAGS-fwprintf_chk.c): Likewise.
19115 (CFLAGS-vwprintf_chk.c): Likewise.
19116 (CFLAGS-vfwprintf_chk.c): Likewise.
19117 (CFLAGS-fgetws_chk.c): Likewise.
19118 (CFLAGS-fgetws_u_chk.c): Likewise.
19119 (CFLAGS-read_chk.c): Likewise.
19120 (CFLAGS-pread_chk.c): Likewise.
19121 (CFLAGS-pread64_chk.c): Likewise.
19122 (CFLAGS-recv_chk.c): Likewise.
19123 (CFLAGS-recvfrom_chk.c): Likewise.
19124 (CFLAGS-tst-longjmp_chk.c): Likewise.
19125 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
19126 (CFLAGS-tst-longjmp_chk2.c): Likewise.
19127 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
19128 (CFLAGS-tst-longjmp_chk3.c): Likewise.
19129 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19130 (CFLAGS-tst-chk1.c): Likewise.
19131 (CFLAGS-tst-chk2.c): Likewise.
19132 (CFLAGS-tst-chk3.c): Likewise.
19133 (CFLAGS-tst-chk4.cc): Likewise.
19134 (CFLAGS-tst-chk5.cc): Likewise.
19135 (CFLAGS-tst-chk6.cc): Likewise.
19136 (CFLAGS-tst-lfschk1.c): Likewise.
19137 (CFLAGS-tst-lfschk2.c): Likewise.
19138 (CFLAGS-tst-lfschk3.c): Likewise.
19139 (CFLAGS-tst-lfschk4.cc): Likewise.
19140 (CFLAGS-tst-lfschk5.cc): Likewise.
19141 (CFLAGS-tst-lfschk6.cc): Likewise.
19142 (CFLAGS-tst-ssp-1.c): Likewise.
19143 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
19144 (CFLAGS-scandir64.c): Likewise.
19145 (CFLAGS-scandir-tail.c): Likewise.
19146 (CFLAGS-scandir64-tail.c): Likewise.
19147 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
19148 (CFLAGS-dl-tunables.c): Likewise.
19149 (CFLAGS-dl-runtime.c): Likewise.
19150 (CFLAGS-dl-lookup.c): Likewise.
19151 (CFLAGS-dl-iterate-phdr.c): Likewise.
19152 (CFLAGS-vismain.c): Likewise.
19153 (CFLAGS-tst-linkall-static.c): Likewise.
19154 (CFLAGS-tst-linkall-static.c): Likewise.
19155 (CPPFLAGS-dl-load.c): Likewise.
19156 (CFLAGS-ldconfig.c): Likewise.
19157 (CFLAGS-dl-cache.c): Likewise.
19158 (CFLAGS-cache.c): Likewise.
19159 (CFLAGS-rtld.c): Likewise.
19160 (CFLAGS-multiload.c): Likewise.
19161 (CFLAGS-filtmod1.c): Likewise.
19162 (CFLAGS-tst-align.c): Likewise.
19163 (CFLAGS-tst-align2.c): Likewise.
19164 (CFLAGS-tst-alignmod.c): Likewise.
19165 (CFLAGS-tst-alignmod2.c): Likewise.
19166 (CPPFLAGS-tst-execstack.c): Likewise.
19167 (CFLAGS-tst-ptrguard1-static.c): Likewise.
19168 (CFLAGS-tst-latepthreadmod.c): Likewise.
19169 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
19170 (CFLAGS-getgrnam_r.c): Likewise.
19171 (CFLAGS-getgrent_r.c): Likewise.
19172 (CFLAGS-getgrent.c): Likewise.
19173 (CFLAGS-fgetgrent.c): Likewise.
19174 (CFLAGS-fgetgrent_r.c): Likewise.
19175 (CFLAGS-putgrent.c): Likewise.
19176 (CFLAGS-initgroups.c): Likewise.
19177 (CFLAGS-getgrgid.c): Likewise.
19178 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
19179 (CFLAGS-getsgent.c): Likewise.
19180 (CFLAGS-fgetsgent.c): Likewise.
19181 (CFLAGS-fgetsgent_r.c): Likewise.
19182 (CFLAGS-putsgent.c): Likewise.
19183 (CFLAGS-getsgnam.c): Likewise.
19184 (CFLAGS-getsgnam_r.c): Likewise.
19185 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
19186 (CFLAGS-iconv_charmap.c): Likewise.
19187 (CFLAGS-dummy-repertoire.c): Likewise.
19188 (CFLAGS-charmap.c): Likewise.
19189 (CFLAGS-linereader.c): Likewise.
19190 (CFLAGS-simple-hash.c): Likewise.
19191 (CFLAGS-gconv_conf.c): Likewise.
19192 (CFLAGS-iconvconfig.c): Likewise.
19193 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19194 (CFLAGS-gethstbyad.c): Likewise.
19195 (CFLAGS-gethstbynm_r.c): Likewise.
19196 (CFLAGS-gethstbynm.c): Likewise.
19197 (CFLAGS-gethstbynm2_r.c): Likewise.
19198 (CFLAGS-gethstbynm2.c): Likewise.
19199 (CFLAGS-gethstent_r.c): Likewise.
19200 (CFLAGS-gethstent.c): Likewise.
19201 (CFLAGS-rcmd.c): Likewise.
19202 (CFLAGS-getnetbynm_r.c): Likewise.
19203 (CFLAGS-getnetbynm.c): Likewise.
19204 (CFLAGS-getnetbyad_r.c): Likewise.
19205 (CFLAGS-getnetbyad.c): Likewise.
19206 (CFLAGS-getnetent_r.c): Likewise.
19207 (CFLAGS-getnetent.c): Likewise.
19208 (CFLAGS-getaliasent_r.c): Likewise.
19209 (CFLAGS-getaliasent.c): Likewise.
19210 (CFLAGS-getrpcent_r.c): Likewise.
19211 (CFLAGS-getrpcent.c): Likewise.
19212 (CFLAGS-getservent_r.c): Likewise.
19213 (CFLAGS-getservent.c): Likewise.
19214 (CFLAGS-getprtent_r.c): Likewise.
19215 (CFLAGS-getprtent.c): Likewise.
19216 (CFLAGS-either_ntoh.c): Likewise.
19217 (CFLAGS-either_hton.c): Likewise.
19218 (CFLAGS-getnetgrent.c): Likewise.
19219 (CFLAGS-getnetgrent_r.c): Likewise.
19220 (CFLAGS-tst-checks-posix.c): Likewise.
19221 (CFLAGS-tst-sockaddr.c): Likewise.
19222 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
19223 (CFLAGS-tst-translit.c): Likewise.
19224 (CFLAGS-tst-gettext2.c): Likewise.
19225 (CFLAGS-tst-codeset.c): Likewise.
19226 (CFLAGS-tst-gettext3.c): Likewise.
19227 (CFLAGS-tst-gettext4.c): Likewise.
19228 (CFLAGS-tst-gettext5.c): Likewise.
19229 (CFLAGS-tst-gettext6.c): Likewise.
19230 * io/Makefile (CFLAGS-open.c): Likewise.
19231 (CFLAGS-open64.c): Likewise.
19232 (CFLAGS-creat.c): Likewise.
19233 (CFLAGS-creat64.c): Likewise.
19234 (CFLAGS-fcntl.c): Likewise.
19235 (CFLAGS-poll.c): Likewise.
19236 (CFLAGS-ppoll.c): Likewise.
19237 (CFLAGS-lockf.c): Likewise.
19238 (CFLAGS-statfs.c): Likewise.
19239 (CFLAGS-fstatfs.c): Likewise.
19240 (CFLAGS-statvfs.c): Likewise.
19241 (CFLAGS-fstatvfs.c): Likewise.
19242 (CFLAGS-fts.c): Likewise.
19243 (CFLAGS-fts64.c): Likewise.
19244 (CFLAGS-ftw.c): Likewise.
19245 (CFLAGS-ftw64.c): Likewise.
19246 (CFLAGS-lockf.c): Likewise.
19247 (CFLAGS-posix_fallocate.c): Likewise.
19248 (CFLAGS-posix_fallocate64.c): Likewise.
19249 (CFLAGS-fallocate.c): Likewise.
19250 (CFLAGS-fallocate64.c): Likewise.
19251 (CFLAGS-read.c): Likewise.
19252 (CFLAGS-write.c): Likewise.
19253 (CFLAGS-test-stat.c): Likewise.
19254 (CFLAGS-test-lfs.c): Likewise.
19255 * libio/Makefile (CFLAGS-fileops.c): Likewise.
19256 (CFLAGS-fputc.c): Likewise.
19257 (CFLAGS-fputwc.c): Likewise.
19258 (CFLAGS-freopen64.c): Likewise.
19259 (CFLAGS-freopen.c): Likewise.
19260 (CFLAGS-fseek.c): Likewise.
19261 (CFLAGS-fseeko64.c): Likewise.
19262 (CFLAGS-fseeko.c): Likewise.
19263 (CFLAGS-ftello64.c): Likewise.
19264 (CFLAGS-ftello.c): Likewise.
19265 (CFLAGS-fwide.c): Likewise.
19266 (CFLAGS-genops.c): Likewise.
19267 (CFLAGS-getc.c): Likewise.
19268 (CFLAGS-getchar.c): Likewise.
19269 (CFLAGS-getwc.c): Likewise.
19270 (CFLAGS-getwchar.c): Likewise.
19271 (CFLAGS-iofclose.c): Likewise.
19272 (CFLAGS-iofflush.c): Likewise.
19273 (CFLAGS-iofgetpos64.c): Likewise.
19274 (CFLAGS-iofgetpos.c): Likewise.
19275 (CFLAGS-iofgets.c): Likewise.
19276 (CFLAGS-iofgetws.c): Likewise.
19277 (CFLAGS-iofputs.c): Likewise.
19278 (CFLAGS-iofputws.c): Likewise.
19279 (CFLAGS-iofread.c): Likewise.
19280 (CFLAGS-iofsetpos64.c): Likewise.
19281 (CFLAGS-iofsetpos.c): Likewise.
19282 (CFLAGS-ioftell.c): Likewise.
19283 (CFLAGS-iofwrite.c): Likewise.
19284 (CFLAGS-iogetdelim.c): Likewise.
19285 (CFLAGS-iogetline.c): Likewise.
19286 (CFLAGS-iogets.c): Likewise.
19287 (CFLAGS-iogetwline.c): Likewise.
19288 (CFLAGS-ioputs.c): Likewise.
19289 (CFLAGS-ioseekoff.c): Likewise.
19290 (CFLAGS-ioseekpos.c): Likewise.
19291 (CFLAGS-iosetbuffer.c): Likewise.
19292 (CFLAGS-iosetvbuf.c): Likewise.
19293 (CFLAGS-ioungetc.c): Likewise.
19294 (CFLAGS-ioungetwc.c): Likewise.
19295 (CFLAGS-oldfileops.c): Likewise.
19296 (CFLAGS-oldiofclose.c): Likewise.
19297 (CFLAGS-oldiofgetpos64.c): Likewise.
19298 (CFLAGS-oldiofgetpos.c): Likewise.
19299 (CFLAGS-oldiofsetpos64.c): Likewise.
19300 (CFLAGS-oldiofsetpos.c): Likewise.
19301 (CFLAGS-peekc.c): Likewise.
19302 (CFLAGS-putc.c): Likewise.
19303 (CFLAGS-putchar.c): Likewise.
19304 (CFLAGS-putwc.c): Likewise.
19305 (CFLAGS-putwchar.c): Likewise.
19306 (CFLAGS-rewind.c): Likewise.
19307 (CFLAGS-wfileops.c): Likewise.
19308 (CFLAGS-wgenops.c): Likewise.
19309 (CFLAGS-oldiofopen.c): Likewise.
19310 (CFLAGS-iofopen.c): Likewise.
19311 (CFLAGS-iofopen64.c): Likewise.
19312 (CFLAGS-oldtmpfile.c): Likewise.
19313 (CFLAGS-tst_putwc.c): Likewise.
19314 * locale/Makefile (CFLAGS-md5.c): Likewise.
19315 (CFLAGS-charmap.c): Likewise.
19316 (CFLAGS-locfile.c): Likewise.
19317 (CFLAGS-charmap-dir.c): Likewise.
19318 * login/Makefile (CFLAGS-grantpt.c): Likewise.
19319 (CFLAGS-getpt.c): Likewise.
19320 (CFLAGS-pt_chown.c): Likewise.
19321 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
19322 (CFLAGS-obstack.c): Likewise.
19323 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
19324 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
19325 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
19326 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
19327 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
19328 (CFLAGS-test-tgmath.c): Likewise.
19329 (CFLAGS-test-tgmath2.c): Likewise.
19330 (CFLAGS-test-tgmath-ret.c): Likewise.
19331 (CFLAGS-test-powl.c): Likewise.
19332 (CFLAGS-test-snan.c): Likewise.
19333 (CFLAGS-test-signgam-finite.c): Likewise.
19334 (CFLAGS-test-signgam-finite-c99.c): Likewise.
19335 (CFLAGS-test-signgam-finite-c11.c): Likewise.
19336 (CFLAGS-test-signgam-uchar.c): Likewise.
19337 (CFLAGS-test-signgam-uchar-init.c): Likewise.
19338 (CFLAGS-test-signgam-uchar-static.c): Likewise.
19339 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19340 (CFLAGS-test-signgam-uint.c): Likewise.
19341 (CFLAGS-test-signgam-uint-init.c): Likewise.
19342 (CFLAGS-test-signgam-uint-static.c): Likewise.
19343 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19344 (CFLAGS-test-signgam-ullong.c): Likewise.
19345 (CFLAGS-test-signgam-ullong-init.c): Likewise.
19346 (CFLAGS-test-signgam-ullong-static.c): Likewise.
19347 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19348 (CFLAGS-test-math-cxx11.cc): Likewise.
19349 (CFLAGS-test-math-isinff.cc): Likewise.
19350 (CFLAGS-test-math-iszero.cc): Likewise.
19351 (CFLAGS-test-math-issignaling.cc): Likewise.
19352 (CFLAGS-test-math-iscanonical.cc): Likewise.
19353 (CFLAGS-test-iszero-excess-precision.c): Likewise.
19354 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
19355 (CFLAGS-test-flt-eval-method.c): Likewise.
19356 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
19357 (CFLAGS-test-finite-macros.c): Likewise.
19358 * misc/Makefile (CFLAGS-select.c): Likewise.
19359 (CFLAGS-tsearch.c): Likewise.
19360 (CFLAGS-lsearch.c): Likewise.
19361 (CFLAGS-pselect.c): Likewise.
19362 (CFLAGS-readv.c): Likewise.
19363 (CFLAGS-writev.c): Likewise.
19364 (CFLAGS-preadv.c): Likewise.
19365 (CFLAGS-preadv64.c): Likewise.
19366 (CFLAGS-pwritev.c): Likewise.
19367 (CFLAGS-pwritev64.c): Likewise.
19368 (CFLAGS-preadv2.c): Likewise.
19369 (CFLAGS-preadv64v2.c): Likewise.
19370 (CFLAGS-pwritev2.c): Likewise.
19371 (CFLAGS-pwritev64v2.c): Likewise.
19372 (CFLAGS-usleep.c): Likewise.
19373 (CFLAGS-syslog.c): Likewise.
19374 (CFLAGS-error.c): Likewise.
19375 (CFLAGS-getpass.c): Likewise.
19376 (CFLAGS-mkstemp.c): Likewise.
19377 (CFLAGS-mkstemp64.c): Likewise.
19378 (CFLAGS-getsysstats.c): Likewise.
19379 (CFLAGS-getusershell.c): Likewise.
19380 (CFLAGS-err.c): Likewise.
19381 (CFLAGS-tst-tsearch.c): Likewise.
19382 (CFLAGS-msync.c): Likewise.
19383 (CFLAGS-fdatasync.c): Likewise.
19384 (CFLAGS-fsync.c): Likewise.
19385 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
19386 (CFLAGS-unwind.c): Likewise.
19387 (CFLAGS-unwind-forcedunwind.c): Likewise.
19388 (CFLAGS-pthread_cancel.c): Likewise.
19389 (CFLAGS-pthread_setcancelstate.c): Likewise.
19390 (CFLAGS-pthread_setcanceltype.c): Likewise.
19391 (CFLAGS-cancellation.c): Likewise.
19392 (CFLAGS-libc-cancellation.c): Likewise.
19393 (CFLAGS-pthread_exit.c): Likewise.
19394 (CFLAGS-forward.c): Likewise.
19395 (CFLAGS-pthread_testcancel.c): Likewise.
19396 (CFLAGS-pthread_join.c): Likewise.
19397 (CFLAGS-pthread_timedjoin.c): Likewise.
19398 (CFLAGS-pthread_once.c): Likewise.
19399 (CFLAGS-pthread_cond_wait.c): Likewise.
19400 (CFLAGS-sem_wait.c): Likewise.
19401 (CFLAGS-sem_timedwait.c): Likewise.
19402 (CFLAGS-fcntl.c): Likewise.
19403 (CFLAGS-lockf.c): Likewise.
19404 (CFLAGS-pread.c): Likewise.
19405 (CFLAGS-pread64.c): Likewise.
19406 (CFLAGS-pwrite.c): Likewise.
19407 (CFLAGS-pwrite64.c): Likewise.
19408 (CFLAGS-wait.c): Likewise.
19409 (CFLAGS-waitpid.c): Likewise.
19410 (CFLAGS-sigwait.c): Likewise.
19411 (CFLAGS-msgrcv.c): Likewise.
19412 (CFLAGS-msgsnd.c): Likewise.
19413 (CFLAGS-tcdrain.c): Likewise.
19414 (CFLAGS-open.c): Likewise.
19415 (CFLAGS-open64.c): Likewise.
19416 (CFLAGS-pause.c): Likewise.
19417 (CFLAGS-recv.c): Likewise.
19418 (CFLAGS-send.c): Likewise.
19419 (CFLAGS-accept.c): Likewise.
19420 (CFLAGS-sendto.c): Likewise.
19421 (CFLAGS-connect.c): Likewise.
19422 (CFLAGS-recvfrom.c): Likewise.
19423 (CFLAGS-recvmsg.c): Likewise.
19424 (CFLAGS-sendmsg.c): Likewise.
19425 (CFLAGS-close.c): Likewise.
19426 (CFLAGS-read.c): Likewise.
19427 (CFLAGS-write.c): Likewise.
19428 (CFLAGS-nanosleep.c): Likewise.
19429 (CFLAGS-sigsuspend.c): Likewise.
19430 (CFLAGS-msync.c): Likewise.
19431 (CFLAGS-fdatasync.c): Likewise.
19432 (CFLAGS-fsync.c): Likewise.
19433 (CFLAGS-pt-system.c): Likewise.
19434 (CFLAGS-tst-cleanup2.c): Likewise.
19435 (CFLAGS-tst-cleanupx2.c): Likewise.
19436 (CFLAGS-flockfile.c): Likewise.
19437 (CFLAGS-ftrylockfile.c): Likewise.
19438 (CFLAGS-funlockfile.c): Likewise.
19439 (CFLAGS-tst-initializers1.c): Likewise.
19440 (CFLAGS-tst-initializers1-c89.c): Likewise.
19441 (CFLAGS-tst-initializers1-c99.c): Likewise.
19442 (CFLAGS-tst-initializers1-c11.c): Likewise.
19443 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
19444 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
19445 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19446 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
19447 (CFLAGS-nscd_getgr_r.c): Likewise.
19448 (CFLAGS-nscd_gethst_r.c): Likewise.
19449 (CFLAGS-nscd_getai.c): Likewise.
19450 (CFLAGS-nscd_initgroups.c): Likewise.
19451 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
19452 (CFLAGS-pause.c): Likewise.
19453 (CFLAGS-pread.c): Likewise.
19454 (CFLAGS-pread64.c): Likewise.
19455 (CFLAGS-pwrite.c): Likewise.
19456 (CFLAGS-pwrite64.c): Likewise.
19457 (CFLAGS-sleep.c): Likewise.
19458 (CFLAGS-wait.c): Likewise.
19459 (CFLAGS-waitid.c): Likewise.
19460 (CFLAGS-waitpid.c): Likewise.
19461 (CFLAGS-getopt.c): Likewise.
19462 (CFLAGS-wordexp.c): Likewise.
19463 (CFLAGS-sysconf.c): Likewise.
19464 (CFLAGS-pathconf.c): Likewise.
19465 (CFLAGS-fpathconf.c): Likewise.
19466 (CFLAGS-spawn.c): Likewise.
19467 (CFLAGS-spawnp.c): Likewise.
19468 (CFLAGS-spawni.c): Likewise.
19469 (CFLAGS-glob.c): Likewise.
19470 (CFLAGS-glob64.c): Likewise.
19471 (CFLAGS-getconf.c): Likewise.
19472 (CFLAGS-nanosleep.c): Likewise.
19473 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
19474 (CFLAGS-getpwent.c): Likewise.
19475 (CFLAGS-getpw.c): Likewise.
19476 (CFLAGS-fgetpwent_r.c): Likewise.
19477 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
19478 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
19479 (CFLAGS-mq_timedreceive.c): Likewise.
19480 (CFLAGS-mq_timedsend.c): Likewise.
19481 (CFLAGS-clock_nanosleep.c): Likewise.
19482 (CFLAGS-librt-cancellation.c): Likewise.
19483 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
19484 (CFLAGS-getspent.c): Likewise.
19485 (CFLAGS-fgetspent.c): Likewise.
19486 (CFLAGS-fgetspent_r.c): Likewise.
19487 (CFLAGS-putspent.c): Likewise.
19488 (CFLAGS-getspnam.c): Likewise.
19489 (CFLAGS-getspnam_r.c): Likewise.
19490 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
19491 (CFLAGS-sigsuspend.c): Likewise.
19492 (CFLAGS-sigtimedwait.c): Likewise.
19493 (CFLAGS-sigwait.c): Likewise.
19494 (CFLAGS-sigwaitinfo.c): Likewise.
19495 (CFLAGS-sigreturn.c): Likewise.
19496 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19497 (CFLAGS-vfwprintf.c): Likewise.
19498 (CFLAGS-tmpfile.c): Likewise.
19499 (CFLAGS-tmpfile64.c): Likewise.
19500 (CFLAGS-tempname.c): Likewise.
19501 (CFLAGS-psignal.c): Likewise.
19502 (CFLAGS-vprintf.c): Likewise.
19503 (CFLAGS-cuserid.c): Likewise.
19504 (CFLAGS-errlist.c): Likewise.
19505 (CFLAGS-siglist.c): Likewise.
19506 (CFLAGS-scanf15.c): Likewise.
19507 (CFLAGS-scanf17.c): Likewise.
19508 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
19509 (CFLAGS-msort.c): Likewise.
19510 (CFLAGS-qsort.c): Likewise.
19511 (CFLAGS-system.c): Likewise.
19512 (CFLAGS-fmtmsg.c): Likewise.
19513 (CFLAGS-strfmon.c): Likewise.
19514 (CFLAGS-strfmon_l.c): Likewise.
19515 (CFLAGS-strfromd.c): Likewise.
19516 (CFLAGS-strfromf.c): Likewise.
19517 (CFLAGS-strfroml.c): Likewise.
19518 (CFLAGS-tst-bsearch.c): Likewise.
19519 (CFLAGS-tst-qsort.c): Likewise.
19520 (CFLAGS-tst-makecontext2.c): Likewise.
19521 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
19522 (CFLAGS-xnlm_prot.c): Likewise.
19523 (CFLAGS-xrstat.c): Likewise.
19524 (CFLAGS-xyppasswd.c): Likewise.
19525 (CFLAGS-xklm_prot.c): Likewise.
19526 (CFLAGS-xrex.c): Likewise.
19527 (CFLAGS-xsm_inter.c): Likewise.
19528 (CFLAGS-xmount.c): Likewise.
19529 (CFLAGS-xrusers.c): Likewise.
19530 (CFLAGS-xspray.c): Likewise.
19531 (CFLAGS-xnfs_prot.c): Likewise.
19532 (CFLAGS-xrquota.c): Likewise.
19533 (CFLAGS-xkey_prot.c): Likewise.
19534 (CFLAGS-auth_unix.c): Likewise.
19535 (CFLAGS-key_call.c): Likewise.
19536 (CFLAGS-pmap_rmt.c): Likewise.
19537 (CFLAGS-clnt_perr.c): Likewise.
19538 (CFLAGS-openchild.c): Likewise.
19539 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
19540 (CFLAGS-msgsnd.c): Likewise.
19541 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
19542 * time/Makefile (CFLAGS-tzfile.c): Likewise.
19543 (CFLAGS-tzset.c): Likewise.
19544 (CFLAGS-getdate.c): Likewise.
19545 (CFLAGS-test_time.c): Likewise.
19546 (CPPFLAGS-tst-tzname.c): Likewise.
19547 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
19548 (CFLAGS-zic.c): Likewise.
19549 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
19550 (CFLAGS-wcswidth.c): Likewise.
19551 (CFLAGS-wcstol.c): Likewise.
19552 (CFLAGS-wcstoul.c): Likewise.
19553 (CFLAGS-wcstoll.c): Likewise.
19554 (CFLAGS-wcstoull.c): Likewise.
19555 (CFLAGS-wcstod.c): Likewise.
19556 (CFLAGS-wcstold.c): Likewise.
19557 (CFLAGS-wcstof128.c): Likewise.
19558 (CFLAGS-wcstof.c): Likewise.
19559 (CFLAGS-wcstol_l.c): Likewise.
19560 (CFLAGS-wcstoul_l.c): Likewise.
19561 (CFLAGS-wcstoll_l.c): Likewise.
19562 (CFLAGS-wcstoull_l.c): Likewise.
19563 (CFLAGS-wcstod_l.c): Likewise.
19564 (CFLAGS-wcstold_l.c): Likewise.
19565 (CFLAGS-wcstof128_l.c): Likewise.
19566 (CFLAGS-wcstof_l.c): Likewise.
19567 (CPPFLAGS-tst-wchar-h.c): Likewise.
19568 (CPPFLAGS-wcstold_l.c): Likewise.
19570 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
19572 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
19574 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19575 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19577 * manual/tunables.texi (Hardware Capability Tunables): Document
19578 glibc.tune.cached_memopt.
19579 * sysdeps/powerpc/cpu-features.c: New file.
19580 * sysdeps/powerpc/cpu-features.h: New file.
19581 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
19582 _dl_powerpc_cpu_features.
19583 * sysdeps/powerpc/dl-tunables.list: New file.
19584 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
19585 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19586 (INIT_ARCH): Initialize use_aligned_memopt.
19587 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
19588 IS_IN(rtld))]: Restrict dl_platform_init availability and
19589 initialize CPU features used by tunables.
19590 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
19591 Add memcpy-power8-cached.
19592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
19593 __memcpy_power8_cached.
19594 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19595 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
19598 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19600 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
19601 (CFLAGS-noinl-tester.c): Likewise.
19602 (CFLAGS-tst-strlen.c): Likewise.
19603 (CFLAGS-stratcliff.c): Likewise.
19604 (CFLAGS-test-ffs.c): Likewise.
19605 (CFLAGS-tst-inlcall.c): Likewise.
19606 (CFLAGS-tst-xbzero-opt.c): Likewise.
19607 (CFLAGS-memcpy.c): Likewise.
19608 (CFLAGS-wordcopy.c): Likewise.
19610 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19612 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
19613 Store r15 on stack and add cfi rule.
19614 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19617 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
19620 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
19623 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19625 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19626 Add s_sinf-sse2 and s_sinf-fma.
19627 (CFLAGS-s_sinf-fma.c): New.
19628 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
19629 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
19630 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
19632 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19634 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
19636 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19639 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
19640 part of result to imaginary part of argument if it is zero and the
19641 real part of the argument is not finite.
19642 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
19643 of result to real part of argument if it is zero and the imaginary
19644 part of the argument is not finite.
19646 2017-12-07 Mike FABIAN <mfabian@redhat.com>
19649 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
19650 and to the list of locales to be built for testing.
19651 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
19652 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
19653 and build the collation rules upon that.
19655 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19657 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
19658 * manual/math.texi (Mathematics): Document support for _Float32.
19659 * math/Makefile (test-types): Add float32.
19660 * math/Versions (GLIBC_2.27): Add _Float32 functions.
19661 * stdlib/Versions (GLIBC_2.27): Likewise.
19662 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19663 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19664 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19665 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19666 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19667 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19668 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19669 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19670 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19671 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19672 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19673 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19674 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19675 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19676 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19677 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19678 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19679 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19680 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19681 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19682 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19683 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19685 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19686 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19687 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19688 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19689 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19707 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19708 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19709 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19710 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19711 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19712 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19713 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19714 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19715 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19716 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19717 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19725 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19726 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19727 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19728 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19729 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19730 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19731 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19732 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19734 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19736 * stdlib/strtof.c: Include <bits/floatn.h>
19737 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
19738 and later undefine as macro. Define as weak alias if
19740 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
19741 and later undefine as macro. Define as weak alias if
19743 * stdlib/strtof_l.c: Include <bits/floatn.h>
19744 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
19745 and later undefine as macro. Define as weak alias if
19747 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
19748 and later undefine as macro. Define as weak alias if
19751 * stdlib/strfromf.c: Include <bits/floatn.h>.
19752 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
19753 and later undefine as macro and define as weak alias.
19755 * math/test-float32.h: New file.
19757 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
19758 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
19759 (libm_alias_float_other_r): Create f32 alias.
19760 (libm_alias_float_r): Use semicolon before call to
19761 libm_alias_float_other_r.
19763 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
19764 second argument to libm_alias_float_other.
19765 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
19766 second argument to libm_alias_float_other.
19767 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
19768 argument to libm_alias_float_other.
19771 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
19772 real part of result for argument 0 + i * NaN.
19773 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
19774 results for tests of 0 + i * NaN.
19776 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19778 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19780 2017-12-06 David S. Miller <davem@davemloft.net>
19782 * sysdeps/sparc/fpu/libm-test-ulps: Update
19783 exp_{downward,towardzero,upward} ulps.
19785 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19787 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
19790 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
19792 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
19794 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
19796 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
19799 2017-12-06 Mike FABIAN <mfabian@redhat.com>
19802 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
19803 and to the list of locales to be built for testing.
19804 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
19805 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
19806 and build the collation rules upon that.
19808 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19810 * NEWS: Add sinf to list of optimized functions.
19812 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19814 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
19815 (__HAVE_FLOAT32X): Likewise.
19816 * manual/math.texi (Mathematics): Document support for _Float64
19818 * math/Makefile (test-types): Add float64 and float32x.
19819 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
19821 * stdlib/Versions (GLIBC_2.27): Likewise.
19822 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19823 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19824 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19825 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19826 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19827 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19828 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19829 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19830 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19831 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19832 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19833 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19834 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19835 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19836 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19837 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19838 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19839 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19840 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19841 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19842 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19843 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19845 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19846 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19847 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19848 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19849 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19866 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19867 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19868 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19869 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19870 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19871 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19872 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19873 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19874 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19875 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19884 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19885 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19886 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19887 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19888 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19889 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19890 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19891 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19893 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19895 * bits/floatn-common.h: Include <bits/long-double.h>.
19896 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19897 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
19898 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19899 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
19900 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19901 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
19902 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19903 (__builtin_huge_valf64): Use __builtin_huge_vall.
19904 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19905 (__builtin_inff64): Use __builtin_infl.
19906 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19907 (__builtin_nanf64): Use __builtin_nanl.
19908 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19909 (__builtin_nansf64): Use __builtin_nansl.
19911 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
19912 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19913 Carlos O'Donnell <carlos@redhat.com>
19915 * elf/dl-tunables.list: Add elision parameters.
19916 * manual/tunables.texi: Add entries about elision tunable.
19917 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
19918 Add callback functions to dynamically enable/disable elision.
19919 Add multiple callbacks functions to set elision parameters.
19920 Deleted __libc_enable_secure check.
19921 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
19922 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
19923 * configure: Regenerated.
19924 * configure.ac: Option enable_lock_elision was deleted.
19925 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
19926 * config.make.in: Remove references to enable_lock_elision.
19927 * manual/install.texi: Elision configure option was removed.
19928 * INSTALL: Regenerated to remove enable_lock_elision.
19930 Disable elision so it can verify error case for destroying a mutex.
19931 * sysdeps/powerpc/nptl/elide.h:
19932 Cleanup ENABLE_LOCK_ELISION check.
19933 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
19934 * sysdeps/s390/configure: Regenerated.
19935 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
19936 * nptl/tst-mutex8.c:
19937 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
19938 * sysdeps/powerpc/powerpc32/sysdep.h:
19939 Deleted all ENABLE_LOCK_ELISION checks.
19940 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19941 * sysdeps/powerpc/sysdep.h: Likewise.
19942 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
19943 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
19944 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19945 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19946 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19947 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
19948 enable-lock-elision.
19950 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19952 * stdlib/strtod.c: Include <bits/floatn.h>.
19953 (BUILD_DOUBLE): New macro.
19954 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19955 (strtof64): Define and later undefine as macro. Define as weak
19956 alias if [!USE_WIDE_CHAR].
19957 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19958 (wcstof64): Define and later undefine as macro. Define as weak
19959 alias if [USE_WIDE_CHAR].
19960 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19961 (strtof32x): Define and later undefine as macro. Define as weak
19962 alias if [!USE_WIDE_CHAR].
19963 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19964 (wcstof32x): Define and later undefine as macro. Define as weak
19965 alias if [USE_WIDE_CHAR].
19966 * stdlib/strtod_l.c: Include <bits/floatn.h>.
19967 (BUILD_DOUBLE): New macro.
19968 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19969 (strtof64_l): Define and later undefine as macro. Define as weak
19970 alias if [!USE_WIDE_CHAR].
19971 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19972 (wcstof64_l): Define and later undefine as macro. Define as weak
19973 alias if [USE_WIDE_CHAR].
19974 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19975 (strtof32x_l): Define and later undefine as macro. Define as weak
19976 alias if [!USE_WIDE_CHAR].
19977 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19978 (wcstof32x_l): Define and later undefine as macro. Define as weak
19979 alias if [USE_WIDE_CHAR].
19981 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19983 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
19984 (reduced): Use ones as double instead of integer.
19986 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
19988 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
19990 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19992 * stdlib/strfromd.c: Include <bits/floatn.h>.
19993 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
19994 and later undefine as macro and define as weak alias.
19995 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
19998 * math/test-float32x.h: New file.
19999 * math/test-float64.h: Likewise.
20001 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
20002 (libm_alias_double_other_r_f64): New macro.
20003 (libm_alias_double_other_r_f32x): Likewise.
20004 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20005 libm_alias_double_other_r_f32x.
20006 (libm_alias_double_r): Use semicolon before call to
20007 libm_alias_double_other_r.
20008 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
20010 (libm_alias_double_other_r_f64): New macro.
20011 (libm_alias_double_other_r_f32x): Likewise.
20012 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20013 libm_alias_double_other_r_f32x.
20015 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
20017 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
20019 (SINF_FUNC): Likewise. Replace floor with simple casts.
20021 2017-12-05 Mike FABIAN <mfabian@redhat.com>
20024 * localedata/Makefile: Add et_EE.UTF-8 to test-input
20025 and to the list of locales to be built for testing.
20026 * localedata/et_EE.UTF-8.in: New file for testing the collation.
20027 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
20028 and build the collation rules upon that.
20030 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
20032 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
20033 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
20034 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
20035 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
20036 instead of __insn__xxx.
20037 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
20038 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
20039 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
20040 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
20041 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
20042 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
20044 2017-12-05 Florian Weimer <fweimer@redhat.com>
20046 Linux: Implement interfaces for memory protection keys
20047 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
20049 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
20050 * support/xunistd.h (xsysconf): Declare.
20051 * support/xraise.c: New file.
20052 * support/xsigaction.c: Likewise.
20053 * support/xsignal.c: Likewise.
20054 * support/xsysconf.c: Likewise.
20055 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
20056 pkey_set, pkey_get, pkey_mprotect.
20057 [misc] (tests): Add tst-pkey.
20058 (tst-pkey): Link with -lpthread.
20059 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
20060 pkey_free, pkey_set, pkey_get, pkey_mprotect.
20061 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
20062 (PKEY_DISABLE_WRITE): Define.
20063 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
20065 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
20066 (SEGV_PKUERR): Add.
20067 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
20068 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
20069 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
20070 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
20072 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
20073 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
20074 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
20075 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
20076 * sysdeps/unix/sysv/linux/**.abilist: Update.
20078 2017-12-05 Florian Weimer <fweimer@redhat.com>
20080 * support/tst-test_compare.c (subprocess): Use long long instead
20081 of long argument for consistent type width across 32-bit and
20082 64-bit architectures.
20083 (do_test): Adjust expected output.
20085 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20087 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
20088 (cosf): Define using libm_alias_float.
20089 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
20090 (fabsf): Define using libm_alias_float.
20091 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
20092 (fmaf): Define using libm_alias_float.
20093 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
20094 (rintf): Define using libm_alias_float.
20095 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
20096 (sinf): Define using libm_alias_float.
20097 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
20098 <libm-alias-float.h>.
20099 (modff): Define using libm_alias_float.
20100 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
20101 <libm-alias-float.h>.
20102 (logbf): Define using libm_alias_float.
20103 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
20104 <libm-alias-float.h>.
20105 (ceilf): Define using libm_alias_float.
20106 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20107 <libm-alias-float.h>.
20108 (copysignf): Define using libm_alias_float.
20109 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
20110 <libm-alias-float.h>.
20111 (floorf): Define using libm_alias_float.
20112 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20113 <libm-alias-float.h>.
20114 (llrintf): Define using libm_alias_float.
20115 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20116 <libm-alias-float.h>.
20117 (llroundf): Define using libm_alias_float.
20118 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20119 <libm-alias-float.h>.
20120 (lrintf): Define using libm_alias_float.
20121 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20122 <libm-alias-float.h>.
20123 (lroundf): Define using libm_alias_float.
20124 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
20125 <libm-alias-float.h>.
20126 (nearbyintf): Define using libm_alias_float.
20127 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
20128 <libm-alias-float.h>.
20129 (rintf): Define using libm_alias_float.
20130 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
20131 <libm-alias-float.h>.
20132 (roundf): Define using libm_alias_float.
20133 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
20134 <libm-alias-float.h>.
20135 (truncf): Define using libm_alias_float.
20136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
20137 Include <libm-alias-float.h>.
20138 (ceilf): Define using libm_alias_float.
20139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
20140 Include <libm-alias-float.h>.
20141 (copysignf): Define using libm_alias_float.
20142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
20143 Include <libm-alias-float.h>.
20144 (floorf): Define using libm_alias_float.
20145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
20146 Include <libm-alias-float.h>.
20147 (llrintf): Define using libm_alias_float.
20148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
20149 Include <libm-alias-float.h>.
20150 (llroundf): Define using libm_alias_float.
20151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
20152 Include <libm-alias-float.h>.
20153 (logbf): Define using libm_alias_float.
20154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
20155 Include <libm-alias-float.h>.
20156 (lrintf): Define using libm_alias_float.
20157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
20158 Include <libm-alias-float.h>.
20159 (lroundf): Define using libm_alias_float.
20160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
20161 Include <libm-alias-float.h>.
20162 (modff): Define using libm_alias_float.
20163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
20164 Include <libm-alias-float.h>.
20165 (roundf): Define using libm_alias_float.
20166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
20167 Include <libm-alias-float.h>.
20168 (truncf): Define using libm_alias_float.
20169 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
20170 <libm-alias-float.h>.
20171 (llrintf): Define using libm_alias_float.
20172 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20173 <libm-alias-float.h>.
20174 (llroundf): Define using libm_alias_float.
20175 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
20176 <libm-alias-float.h>.
20177 (ceilf): Define using libm_alias_float.
20178 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
20179 <libm-alias-float.h>.
20180 (floorf): Define using libm_alias_float.
20181 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20182 <libm-alias-float.h>.
20183 (llroundf): Define using libm_alias_float.
20184 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20185 <libm-alias-float.h>.
20186 (lroundf): Define using libm_alias_float.
20187 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
20188 <libm-alias-float.h>.
20189 (roundf): Define using libm_alias_float.
20190 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
20191 <libm-alias-float.h>.
20192 (truncf): Define using libm_alias_float.
20193 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20194 <libm-alias-float.h>.
20195 (copysignf): Define using libm_alias_float.
20196 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
20197 <libm-alias-float.h>.
20198 (llrintf): Define using libm_alias_float.
20199 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20200 <libm-alias-float.h>.
20201 (llroundf): Define using libm_alias_float.
20202 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20203 <libm-alias-float.h>.
20204 (lrintf): Define using libm_alias_float.
20205 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20206 <libm-alias-float.h>.
20207 (lroundf): Define using libm_alias_float.
20208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
20209 <libm-alias-float.h>.
20210 (ceilf): Define using libm_alias_float.
20211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
20212 <libm-alias-float.h>.
20213 (copysignf): Define using libm_alias_float.
20214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
20215 <libm-alias-float.h>.
20216 (cosf): Define using libm_alias_float.
20217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
20218 <libm-alias-float.h>.
20219 (floorf): Define using libm_alias_float.
20220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
20221 <libm-alias-float.h>.
20222 (llrintf): Define using libm_alias_float.
20223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
20224 <libm-alias-float.h>.
20225 (llroundf): Define using libm_alias_float.
20226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
20227 <libm-alias-float.h>.
20228 (logbf): Define using libm_alias_float.
20229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
20230 <libm-alias-float.h>.
20231 (modff): Define using libm_alias_float.
20232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
20233 <libm-alias-float.h>.
20234 (roundf): Define using libm_alias_float.
20235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
20236 <libm-alias-float.h>.
20237 (sinf): Define using libm_alias_float.
20238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
20239 <libm-alias-float.h>.
20240 (truncf): Define using libm_alias_float.
20241 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
20242 <libm-alias-float.h>.
20243 (ceilf): Define using libm_alias_float.
20244 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20245 <libm-alias-float.h>.
20246 (copysignf): Define using libm_alias_float.
20247 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
20248 <libm-alias-float.h>.
20249 (floorf): Define using libm_alias_float.
20250 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20251 <libm-alias-float.h>.
20252 (llrintf): Define using libm_alias_float.
20253 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
20254 <libm-alias-float.h>.
20255 (llroundf): Define using libm_alias_float.
20256 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
20257 <libm-alias-float.h>.
20258 (nearbyintf): Define using libm_alias_float.
20259 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
20260 <libm-alias-float.h>.
20261 (rintf): Define using libm_alias_float.
20262 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
20263 <libm-alias-float.h>.
20264 (roundf): Define using libm_alias_float.
20265 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
20266 <libm-alias-float.h>.
20267 (truncf): Define using libm_alias_float.
20268 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
20269 <libm-alias-float.h>.
20270 (ceilf): Define using libm_alias_float.
20271 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
20272 <libm-alias-float.h>.
20273 (floorf): Define using libm_alias_float.
20274 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20275 <libm-alias-float.h>.
20276 (llroundf): Define using libm_alias_float.
20277 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
20278 <libm-alias-float.h>.
20279 (roundf): Define using libm_alias_float.
20280 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
20281 <libm-alias-float.h>.
20282 (truncf): Define using libm_alias_float.
20283 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20284 <libm-alias-float.h>.
20285 (copysignf): Define using libm_alias_float.
20286 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20287 <libm-alias-float.h>.
20288 (llrintf): Define using libm_alias_float.
20289 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20290 <libm-alias-float.h>.
20291 (llroundf): Define using libm_alias_float.
20292 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
20293 <libm-alias-float.h>.
20294 (cosf): Define using libm_alias_float.
20295 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20296 <libm-alias-float.h>.
20297 (llrintf): Define using libm_alias_float.
20298 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20299 <libm-alias-float.h>.
20300 (llroundf): Define using libm_alias_float.
20301 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
20302 <libm-alias-float.h>.
20303 (sinf): Define using libm_alias_float.
20305 2017-12-04 Florian Weimer <fweimer@redhat.com>
20307 * support/check.h (TEST_COMPARE): Define.
20308 (support_test_compare_failure): Declare.
20309 * support/Makefile (libsupport-routines): Add
20310 support_test_compare_failure.
20311 (tests): Add tst-test_compare.
20312 * support /support_test_compare_failure.c: New file.
20313 * support/tst-test_compare.c: Likewise.
20315 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20318 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
20319 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
20320 available, this rewrite of the collation rules does reproduce
20321 the test file in the same order.
20323 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20326 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
20327 digraphs in the month and day names. Using single code points for
20328 digraphs is deprecated. While there are dedicated Unicode
20329 codepoints, for the digraphs, these are included for backwards
20330 compatibility and modern texts use a sequence of Basic Latin
20331 characters. See: https://www.unicode.org/faq/ligature_digraph.html
20332 This makes the month and day names agree exactly with CLDR now,
20333 CLDR does not use the single code points for the digraphs either.
20335 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
20337 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
20339 2017-12-04 Joseph Myers <joseph@codesourcery.com>
20341 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
20344 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
20346 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
20347 Define only for libc.so.
20349 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
20351 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20352 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
20353 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
20354 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
20355 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20357 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20360 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
20362 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
20365 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
20366 PREINIT_FUNCTION_WEAK is nonzero.
20367 (gmon_initializer): New function. Put procedure label for it in
20368 .init_array section.
20369 (_init): Don't call PREINIT_FUNCTION.
20370 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
20371 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
20372 value when map argument is null.
20374 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
20375 depi instruction from PIC pc-relative sequence.
20376 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
20377 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
20378 (elf_machine_load_address): Likewise.
20379 (elf_machine_runtime_setup): Likewise.
20381 2017-12-02 Joseph Myers <joseph@codesourcery.com>
20383 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
20384 <libm-alias-double.h>.
20385 (logb): Define using libm_alias_double.
20386 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20387 <libm-alias-double.h>.
20388 (copysign): Define using libm_alias_double.
20389 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
20390 <libm-alias-double.h>.
20391 (llrint): Define using libm_alias_double.
20392 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
20393 <libm-alias-double.h>.
20394 (llround): Define using libm_alias_double.
20395 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20396 <libm-alias-double.h>.
20397 (lrint): Define using libm_alias_double.
20398 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20399 <libm-alias-double.h>.
20400 (lround): Define using libm_alias_double.
20401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20402 Include <libm-alias-double.h>.
20403 (copysign): Define using libm_alias_double.
20404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
20405 Include <libm-alias-double.h>.
20406 (llrint): Define using libm_alias_double.
20407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
20408 Include <libm-alias-double.h>.
20409 (llround): Define using libm_alias_double.
20410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
20411 <libm-alias-double.h>.
20412 (logb): Define using libm_alias_double.
20413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
20414 Include <libm-alias-double.h>.
20415 (lrint): Define using libm_alias_double.
20416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
20417 Include <libm-alias-double.h>.
20418 (lround): Define using libm_alias_double.
20419 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
20420 <libm-alias-double.h>.
20421 (llrint): Define using libm_alias_double.
20422 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20423 <libm-alias-double.h>.
20424 (llround): Define using libm_alias_double.
20425 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20426 <libm-alias-double.h>.
20427 (llround): Define using libm_alias_double.
20428 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20429 <libm-alias-double.h>.
20430 (lround): Define using libm_alias_double.
20431 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20432 <libm-alias-double.h>.
20433 (copysign): Define using libm_alias_double.
20434 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
20435 <libm-alias-double.h>.
20436 (llrint): Define using libm_alias_double.
20437 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20438 <libm-alias-double.h>.
20439 (llround): Define using libm_alias_double.
20440 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20441 <libm-alias-double.h>.
20442 (lrint): Define using libm_alias_double.
20443 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20444 <libm-alias-double.h>.
20445 (lround): Define using libm_alias_double.
20446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
20447 <libm-alias-double.h>.
20448 (copysign): Define using libm_alias_double.
20449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
20450 <libm-alias-double.h>.
20451 (llrint): Define using libm_alias_double.
20453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
20454 <libm-alias-double.h>.
20455 (llround): Define using libm_alias_double.
20456 (lround): Likewise.
20457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
20458 <libm-alias-double.h>.
20459 (logb): Define using libm_alias_double.
20460 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20461 <libm-alias-double.h>.
20462 (copysign): Define using libm_alias_double.
20463 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20464 <libm-alias-double.h>.
20465 (llrint): Define using libm_alias_double.
20467 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
20468 <libm-alias-double.h>.
20469 (llround): Define using libm_alias_double.
20470 (lround): Likewise.
20471 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20472 <libm-alias-double.h>.
20473 (llround): Define using libm_alias_double.
20474 (lround): Likewise.
20475 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20476 <libm-alias-double.h>.
20477 (copysign): Define using libm_alias_double.
20478 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20479 <libm-alias-double.h>.
20480 (llrint): Define using libm_alias_double.
20482 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20483 <libm-alias-double.h>.
20484 (llround): Define using libm_alias_double.
20485 (lround): Likewise.
20486 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20487 <libm-alias-double.h>.
20488 (llrint): Define using libm_alias_double.
20490 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20491 <libm-alias-double.h>.
20492 (llround): Define using libm_alias_double.
20493 (lround): Likewise.
20495 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20498 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
20499 compat symbol based on llround.
20501 * sysdeps/powerpc/power7/fpu/s_logb.c
20502 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
20503 symbol based on __logb, not on logb.
20504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
20505 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
20507 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20509 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
20510 (rint): Define using libm_alias_double.
20511 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
20512 <libm-alias-double.h>.
20513 (modf): Define using libm_alias_double.
20514 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
20515 <libm-alias-double.h>.
20516 (ceil): Define using libm_alias_double.
20517 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
20518 <libm-alias-double.h>.
20519 (floor): Define using libm_alias_double.
20520 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
20521 <libm-alias-double.h>.
20522 (nearbyint): Define using libm_alias_double.
20523 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
20524 <libm-alias-double.h>.
20525 (rint): Define using libm_alias_double.
20526 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
20527 <libm-alias-double.h>.
20528 (round): Define using libm_alias_double.
20529 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
20530 <libm-alias-double.h>.
20531 (trunc): Define using libm_alias_double.
20532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
20533 <libm-alias-double.h>.
20534 (ceil): Define using libm_alias_double.
20535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
20536 Include <libm-alias-double.h>.
20537 (floor): Define using libm_alias_double.
20538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
20539 <libm-alias-double.h>.
20540 (modf): Define using libm_alias_double.
20541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
20542 Include <libm-alias-double.h>.
20543 (round): Define using libm_alias_double.
20544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
20545 Include <libm-alias-double.h>.
20546 (trunc): Define using libm_alias_double.
20547 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
20548 <libm-alias-double.h>.
20549 (ceil): Define using libm_alias_double.
20550 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
20551 <libm-alias-double.h>.
20552 (floor): Define using libm_alias_double.
20553 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
20554 <libm-alias-double.h>.
20555 (round): Define using libm_alias_double.
20556 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
20557 <libm-alias-double.h>.
20558 (trunc): Define using libm_alias_double.
20559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
20560 <libm-alias-double.h>.
20561 (ceil): Define using libm_alias_double.
20562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
20563 <libm-alias-double.h>.
20564 (floor): Define using libm_alias_double.
20565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
20566 <libm-alias-double.h>.
20567 (modf): Define using libm_alias_double.
20568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
20569 <libm-alias-double.h>.
20570 (round): Define using libm_alias_double.
20571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
20572 <libm-alias-double.h>.
20573 (trunc): Define using libm_alias_double.
20574 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
20575 <libm-alias-double.h>.
20576 (ceil): Define using libm_alias_double.
20577 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
20578 <libm-alias-double.h>.
20579 (floor): Define using libm_alias_double.
20580 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
20581 <libm-alias-double.h>.
20582 (nearbyint): Define using libm_alias_double.
20583 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
20584 <libm-alias-double.h>.
20585 (rint): Define using libm_alias_double.
20586 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
20587 <libm-alias-double.h>.
20588 (round): Define using libm_alias_double.
20589 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
20590 <libm-alias-double.h>.
20591 (trunc): Define using libm_alias_double.
20592 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
20593 <libm-alias-double.h>.
20594 (ceil): Define using libm_alias_double.
20595 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
20596 <libm-alias-double.h>.
20597 (floor): Define using libm_alias_double.
20598 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
20599 <libm-alias-double.h>.
20600 (round): Define using libm_alias_double.
20601 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
20602 <libm-alias-double.h>.
20603 (trunc): Define using libm_alias_double.
20605 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
20606 (fabs): Define using libm_alias_double.
20607 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
20608 (fma): Define using libm_alias_double.
20609 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
20610 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
20611 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
20612 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
20614 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20616 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
20618 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
20619 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
20620 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
20623 due redirect macro.
20625 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
20627 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
20629 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20631 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
20632 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
20633 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
20634 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
20636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20637 (libm-sysdep_routines): Add s_nearbyintf-generic and
20638 s_nearbyint-generic.
20639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
20641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
20642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
20644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
20646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
20648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20652 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
20653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
20655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
20656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
20658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
20659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
20660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20663 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
20664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
20666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
20667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
20669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
20670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
20671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
20673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20674 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
20675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
20677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
20678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
20680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
20681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
20682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20685 (sysdep_calls): New rule.
20686 (sysdep_routines): Use sysdep_calls as base.
20687 (libm-sysdep_routines): Add generic rule for symbols shared with
20688 libc. Add s_copysign-generic and s_copysign-generic objects.
20689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
20691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
20692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
20694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
20695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
20696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
20698 2017-12-01 Mike FABIAN <mfabian@redhat.com>
20701 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
20702 the list of locales to be built for testing.
20703 * localedata/is_IS.UTF-8.in: New file.
20704 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
20707 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20709 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
20710 <libm-alias-float.h>.
20711 (fabsf): Define using libm_alias_float.
20713 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20715 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
20717 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20719 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
20720 <libm-alias-float.h>.
20721 (fabsf): Define using libm_alias_float.
20722 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
20723 <libm-alias-float.h>.
20724 (lrintf): Define using libm_alias_float.
20725 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
20726 <libm-alias-float.h>.
20727 (rintf): Define using libm_alias_float.
20729 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
20730 <libm-alias-double.h>.
20731 (fabs): Define using libm_alias_double.
20732 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
20733 <libm-alias-double.h>.
20734 (lrint): Define using libm_alias_double.
20735 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
20736 <libm-alias-double.h>.
20737 (rint): Define using libm_alias_double.
20739 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
20740 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
20741 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
20742 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
20743 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
20744 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
20745 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
20746 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
20747 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
20748 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
20749 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
20750 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
20751 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
20752 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
20753 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
20754 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
20755 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
20756 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
20758 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
20759 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
20760 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
20762 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
20763 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
20764 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
20766 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
20767 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
20768 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
20769 s_expm1_template.c.
20770 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
20771 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
20772 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
20774 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
20775 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
20776 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
20777 s_floor_template.c.
20778 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
20779 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
20780 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
20781 s_frexp_template.c.
20782 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
20783 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
20784 s_lrint_template.c.
20785 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
20786 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
20787 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
20789 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
20790 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
20791 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
20792 s_nearbyint_template.c.
20793 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
20794 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
20795 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
20796 s_remquo_template.c.
20797 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
20798 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
20799 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
20801 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
20802 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
20803 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
20805 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
20806 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
20807 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
20808 s_sincos_template.c.
20809 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
20810 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
20811 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
20813 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
20814 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
20815 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
20817 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
20818 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
20819 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
20820 s_trunc_template.c.
20821 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
20822 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
20823 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
20824 s_atan.c instead of including s_atan.c.
20825 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
20826 s_atanf.c instead of including s_atanf.c.
20827 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
20828 s_atanl.c instead of including s_atanl.c.
20829 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
20830 instead of s_atan.c.
20831 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
20832 instead of s_atanf.c.
20833 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
20834 instead of s_atanl.c.
20836 * scripts/update-copyrights: Do not handle intl/plural.c
20839 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
20842 * configure.ac (BISON): Require to be present.
20843 * configure: Regenerated.
20844 * intl/Makefile (generated): Add plural.c.
20845 [$(BISON) != no]: Make code unconditional.
20846 (plural.c): Change rule to $(objpfx)plural.c.
20847 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
20848 * intl/plural.c: Remove.
20849 * manual/install.texi (Tools for Compilation): Document bison as
20851 * INSTALL: Regenerated.
20853 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20855 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
20856 <libm-alias-double.h>.
20857 (llrint): Define using libm_alias_double.
20858 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
20859 <libm-alias-float.h>.
20860 (llrintf): Define using libm_alias_float.
20861 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
20862 <libm-alias-ldouble.h>.
20863 (llrintl): Define using libm_alias_ldouble.
20865 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
20866 declare_mgen_alias instead of weak_alias.
20867 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
20868 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
20869 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
20871 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20873 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20875 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
20876 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
20877 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
20879 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20880 Add submul_1-generic.
20881 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
20882 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
20883 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
20885 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20886 Add addmul_1-generic.
20887 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
20888 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
20889 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
20891 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20893 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
20894 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
20895 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
20897 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20899 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
20900 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
20901 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
20903 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20905 According to CLDR, collation rules for Serbian and Bosnian
20906 should be the same as for Croatian.
20909 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
20910 and to the list of locales to be built for testing.
20911 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20912 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20913 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
20914 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
20916 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20918 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
20919 to make test case pass.
20920 * localedata/hr_HR.UTF-8.in: Add more test strings.
20922 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20924 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
20926 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20928 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
20929 the list of locales to built for testing.
20930 * localedata/hr_HR.UTF-8.in: New file.
20932 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20935 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
20937 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
20938 CLDR (except use ligatures for the digraphs, CLDR does not use
20939 the ligatures), add first_workday, some fixes in the date and time
20941 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
20943 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
20944 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
20945 Add int_p_cs_precedes and int_n_cs_precedes.
20946 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
20947 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
20949 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
20950 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
20952 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
20953 and lang_lib. Change postal_fmt.
20955 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20957 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
20959 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20960 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
20961 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20962 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
20963 * sysdeps/generic/setjmpP.h: New file.
20964 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
20965 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
20966 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
20967 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
20968 Add jmp_buf-ssp.sym.
20969 (tests): Add tst-saved_mask-1.
20971 2017-11-30 Arjun Shankar <arjun@redhat.com>
20975 * malloc/malloc.c (__libc_malloc): Use checked_request2size
20976 instead of request2size.
20978 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
20981 (__lllrint): Remove alias.
20982 (lllrint): Likewise.
20983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
20984 (__lllrintf): Likewise.
20985 (lllrintf): Likewise.
20987 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
20988 <libm-alias-float.h>.
20989 (copysignf): Define using libm_alias_float.
20990 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
20991 <libm-alias-float.h>.
20992 (fabsf): Define using libm_alias_float.
20993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20994 Include <libm-alias-float.h>.
20995 (copysignf): Define using libm_alias_float.
20996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
20997 <libm-alias-float.h>.
20998 (fabsf): Define using libm_alias_float.
20999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
21000 <libm-alias-float.h>.
21001 (fdimf): Define using libm_alias_float.
21002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
21003 <libm-alias-float.h>.
21004 (fmaf): Define using libm_alias_float.
21005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
21006 <libm-alias-float.h>.
21007 (llrintf): Define using libm_alias_float.
21008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21009 Include <libm-alias-float.h>.
21010 (nearbyintf): Define using libm_alias_float.
21011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
21012 <libm-alias-float.h>.
21013 (rintf): Define using libm_alias_float.
21014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
21015 <libm-alias-float.h>.
21016 (llrintf): Define using libm_alias_float.
21017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
21018 <libm-alias-float.h>.
21019 (lrintf): Define using libm_alias_float.
21020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
21021 <libm-alias-float.h>.
21022 (nearbyintf): Define using libm_alias_float.
21023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
21024 <libm-alias-float.h>.
21025 (rintf): Define using libm_alias_float.
21026 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
21027 <libm-alias-float.h>.
21028 (ceilf): Define using libm_alias_float.
21029 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
21030 <libm-alias-float.h>.
21031 (floorf): Define using libm_alias_float.
21032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
21033 <libm-alias-float.h>.
21034 (fmaf): Define using libm_alias_float.
21035 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
21036 <libm-alias-float.h>.
21037 (lrintf): Define using libm_alias_float.
21038 (llrintf): Likewise.
21039 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
21040 <libm-alias-float.h>.
21041 (nearbyintf): Define using libm_alias_float.
21042 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
21043 <libm-alias-float.h>.
21044 (rintf): Define using libm_alias_float.
21045 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
21046 <libm-alias-float.h>.
21047 (truncf): Define using libm_alias_float.
21048 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
21049 <libm-alias-float.h>.
21050 (copysignf): Define using libm_alias_float.
21051 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
21052 <libm-alias-float.h>.
21053 (fabsf): Define using libm_alias_float.
21054 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
21055 <libm-alias-float.h>.
21056 (lrintf): Define using libm_alias_float.
21057 (llrintf): Likewise.
21058 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
21059 <libm-alias-float.h>.
21060 (nearbyintf): Define using libm_alias_float.
21061 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
21062 <libm-alias-float.h>.
21063 (rintf): Define using libm_alias_float.
21065 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21067 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
21068 <libm-alias-double.h>.
21069 (copysign): Define using libm_alias_double.
21070 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
21071 <libm-alias-double.h>.
21072 (fabs): Define using libm_alias_double.
21073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21074 Include <libm-alias-double.h>.
21075 (copysign): Define using libm_alias_double.
21076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
21077 <libm-alias-double.h>.
21078 (fabs): Define using libm_alias_double.
21079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
21080 <libm-alias-double.h>.
21081 (fdim): Define using libm_alias_double.
21082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
21083 <libm-alias-double.h>.
21084 (fma): Define using libm_alias_double.
21085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
21086 <libm-alias-double.h>.
21087 (llrint): Define using libm_alias_double.
21088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
21089 Include <libm-alias-double.h>.
21090 (nearbyint): Define using libm_alias_double.
21091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
21092 <libm-alias-double.h>.
21093 (rint): Define using libm_alias_double.
21094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21095 <libm-alias-double.h>.
21096 (fabs): Define using libm_alias_double.
21097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
21098 <libm-alias-double.h>.
21099 (llrint): Define using libm_alias_double.
21100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
21101 <libm-alias-double.h>.
21102 (nearbyint): Define using libm_alias_double.
21103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
21104 <libm-alias-double.h>.
21105 (rint): Define using libm_alias_double.
21106 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
21107 <libm-alias-double.h>.
21108 (ceil): Define using libm_alias_double.
21109 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
21110 <libm-alias-double.h>.
21111 (floor): Define using libm_alias_double.
21112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
21113 <libm-alias-double.h>.
21114 (fma): Define using libm_alias_double.
21115 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
21116 <libm-alias-double.h>.
21117 (lrint): Define using libm_alias_double.
21118 (llrint): Likewise.
21119 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
21120 <libm-alias-double.h>.
21121 (nearbyint): Define using libm_alias_double.
21122 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
21123 <libm-alias-double.h>.
21124 (rint): Define using libm_alias_double.
21125 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
21126 <libm-alias-double.h>.
21127 (trunc): Define using libm_alias_double.
21128 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
21129 <libm-alias-double.h>.
21130 (copysign): Define using libm_alias_double.
21131 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
21132 <libm-alias-double.h>.
21133 (fabs): Define using libm_alias_double.
21134 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
21135 <libm-alias-double.h>.
21136 (lrint): Define using libm_alias_double.
21137 (llrint): Likewise.
21138 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
21139 <libm-alias-double.h>.
21140 (nearbyint): Define using libm_alias_double.
21141 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
21142 <libm-alias-double.h>.
21143 (rint): Define using libm_alias_double.
21146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21148 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21150 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21151 SPARC --disable-multi-arch glibc variants.
21153 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
21154 <libm-alias-float.h>.
21155 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21157 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
21158 <libm-alias-float.h>.
21159 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21161 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
21162 <libm-alias-float.h>.
21163 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21165 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
21166 <libm-alias-float.h>.
21167 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21169 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
21170 <libm-alias-float.h>.
21171 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21173 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
21174 <libm-alias-float.h>.
21175 (ceilf): Define using libm_alias_float.
21176 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
21177 <libm-alias-float.h>.
21178 (floorf): Define using libm_alias_float.
21179 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
21180 <libm-alias-float.h>.
21181 (fmaf): Define using libm_alias_float.
21182 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
21183 <libm-alias-float.h>.
21184 (nearbyintf): Define using libm_alias_float.
21185 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
21186 <libm-alias-float.h>.
21187 (rintf): Define using libm_alias_float.
21188 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
21189 <libm-alias-float.h>.
21190 (truncf): Define using libm_alias_float.
21191 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21192 (copysignf): Define using libm_alias_float.
21193 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
21194 (cosf): Define using libm_alias_float.
21195 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21196 (fabsf): Define using libm_alias_float.
21197 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21198 (fmaxf): Define using libm_alias_float.
21199 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
21200 (fminf): Define using libm_alias_float.
21201 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21202 (llrintf): Define using libm_alias_float.
21203 [!__ILP32__] (lrintf): Likewise.
21204 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
21205 (sincosf): Define using libm_alias_float.
21206 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
21207 (sinf): Define using libm_alias_float.
21208 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21209 (lrintf): Define using libm_alias_float.
21211 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
21212 <libm-alias-double.h>.
21213 (atan): Define using libm_alias_double.
21214 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
21215 <libm-alias-double.h>.
21216 (ceil): Define using libm_alias_double.
21217 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
21218 <libm-alias-double.h>.
21219 (floor): Define using libm_alias_double.
21220 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
21221 <libm-alias-double.h>.
21222 (fma): Define using libm_alias_double.
21223 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
21224 <libm-alias-double.h>.
21225 (nearbyint): Define using libm_alias_double.
21226 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
21227 <libm-alias-double.h>.
21228 (rint): Define using libm_alias_double.
21229 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
21230 <libm-alias-double.h>.
21231 (sin): Define using libm_alias_double.
21233 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
21234 <libm-alias-double.h>.
21235 (tan): Define using libm_alias_double.
21236 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
21237 <libm-alias-double.h>.
21238 (trunc): Define using libm_alias_double.
21239 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
21240 (copysign): Define using libm_alias_double.
21241 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
21242 (fabs): Define using libm_alias_double.
21243 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
21244 (fmax): Define using libm_alias_double.
21245 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
21246 (fmin): Define using libm_alias_double.
21247 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
21248 (llrint): Define using libm_alias_double.
21249 [!__ILP32__] (lrint): Likewise.
21250 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
21251 (lrint): Define using libm_alias_double.
21253 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21255 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21256 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
21258 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
21259 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
21260 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
21261 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
21262 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
21263 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21265 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21266 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
21268 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
21269 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
21270 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
21271 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
21272 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
21273 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21275 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21276 (libm-sysdep_routines): Add s_nearbyint-generic and
21277 s_nearbyintf-generic objects.
21278 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
21279 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
21280 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
21281 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
21282 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
21283 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
21285 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21286 Add s_finitef-generic and s_finite-generic objects.
21287 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
21288 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
21289 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
21290 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
21291 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
21292 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
21294 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21295 Add s_isinff-generic and s_isinf-generic objects.
21296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
21297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
21298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
21299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
21300 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
21301 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21303 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21304 Add s_isnanf-generic and s_isnan-generic objects.
21305 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
21306 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
21307 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
21308 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
21309 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
21310 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21312 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
21314 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
21316 (sysdep_routines): Use sysdep_calls as base.
21317 (libm-sysdep_routines): Add generic rule for symbols shared with
21318 libc. Add s_signbit-generic and s_signbitf-generic objects.
21319 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
21320 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
21321 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
21322 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
21323 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
21324 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21326 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21328 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
21329 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
21330 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
21331 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
21332 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
21333 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
21334 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
21335 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
21336 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
21337 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
21338 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
21339 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
21340 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
21341 libm_alias_float_r.
21342 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
21343 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
21345 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
21346 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
21347 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
21348 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
21349 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
21350 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
21351 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
21352 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
21353 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
21354 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
21356 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
21358 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
21359 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
21360 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
21361 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
21362 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
21363 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
21364 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
21365 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
21366 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
21367 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
21368 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
21369 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
21370 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
21371 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
21372 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
21373 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
21374 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
21375 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
21376 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
21378 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
21379 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
21380 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
21381 * sysdeps/ia64/fpu/w_lgammaf_main.c
21382 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
21383 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
21385 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21386 Alexandre Oliva <aoliva@redhat.com>
21389 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
21390 * localedata/fr_CA.UTF-8.in: New file with test data for backward
21392 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
21394 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
21395 * localedata/locales/de_DE (LC_COLLATE): Likewise.
21396 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
21397 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
21398 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
21399 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
21400 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
21401 instead of “ifdef DIACRIT_BACKWARD”.
21403 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21405 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
21406 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
21407 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
21408 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
21409 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
21410 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
21411 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
21412 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
21413 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
21414 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
21415 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
21416 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
21417 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
21418 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
21419 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
21420 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21421 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
21422 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
21423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21424 ($(have-as-vis3) == yes): Remove conditional.
21425 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
21427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
21429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
21431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
21433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
21435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
21436 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
21437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
21438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
21439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
21440 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
21441 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
21442 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
21444 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21446 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
21447 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
21448 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
21449 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
21450 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
21451 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
21452 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
21453 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
21454 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
21455 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
21456 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
21457 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
21458 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
21459 libm_alias_double_r.
21460 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
21462 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
21463 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
21464 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
21465 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
21466 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
21467 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
21468 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
21469 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
21470 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
21471 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
21472 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
21474 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
21476 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
21477 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
21478 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
21479 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
21480 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
21481 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
21482 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
21483 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
21484 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
21485 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
21486 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
21487 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
21488 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
21489 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
21490 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
21491 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
21492 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
21493 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
21495 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
21496 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
21497 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
21498 * sysdeps/ia64/fpu/w_lgamma_main.c
21499 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
21500 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
21502 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
21504 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
21505 address of $global$ into %dp register earlier. Use pc-relative
21506 instruction sequence for PIC case.
21508 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21510 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
21511 (asinhf): Define using libm_alias_float.
21512 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
21513 (atanf): Define using libm_alias_float.
21514 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
21515 (cbrtf): Define using libm_alias_float.
21516 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
21517 (ceilf): Define using libm_alias_float.
21518 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21519 (copysignf): Define using libm_alias_float.
21520 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
21521 (expm1f): Define using libm_alias_float.
21522 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
21523 (fabsf): Define using libm_alias_float.
21524 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
21525 (floorf): Define using libm_alias_float.
21526 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21527 (fmaxf): Define using libm_alias_float.
21528 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
21529 (fminf): Define using libm_alias_float.
21530 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
21531 (frexpf): Define using libm_alias_float.
21532 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21533 (llrintf): Define using libm_alias_float.
21534 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
21535 (logbf): Define using libm_alias_float.
21536 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21537 (lrintf): Define using libm_alias_float.
21538 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
21539 (nearbyintf): Define using libm_alias_float.
21540 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
21541 (remquof): Define using libm_alias_float.
21542 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
21543 (rintf): Define using libm_alias_float.
21544 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
21545 (truncf): Define using libm_alias_float.
21546 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
21547 <libm-alias-float.h>.
21548 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21550 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
21551 <libm-alias-float.h>.
21552 (expf): Define using libm_alias_float, or libm_alias_float_other
21554 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
21555 <libm-alias-float.h>.
21556 (log2f): Define using libm_alias_float, or libm_alias_float_other
21558 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
21559 <libm-alias-float.h>.
21560 (logf): Define using libm_alias_float, or libm_alias_float_other
21562 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
21563 <libm-alias-float.h>.
21564 (powf): Define using libm_alias_float, or libm_alias_float_other
21566 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
21567 <libm-alias-float.h>.
21568 (cosf): Define using libm_alias_float.
21569 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
21570 <libm-alias-float.h>.
21571 (sincosf): Define using libm_alias_float.
21572 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
21573 <libm-alias-float.h>.
21574 (sinf): Define using libm_alias_float.
21575 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21576 (fmaxf): Define using libm_alias_float.
21577 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
21578 (fminf): Define using libm_alias_float.
21579 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21580 <libm-alias-float.h>.
21581 (fmaf): Define using libm_alias_float.
21583 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
21584 (asinh): Define using libm_alias_double.
21585 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
21586 (atan): Define using libm_alias_double.
21587 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
21588 (cbrt): Define using libm_alias_double.
21589 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
21590 (ceil): Define using libm_alias_double.
21591 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
21592 (copysign): Define using libm_alias_double.
21593 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
21594 (expm1): Define using libm_alias_double.
21595 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
21596 (fabs): Define using libm_alias_double.
21597 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
21598 (fdim): Define using libm_alias_double.
21599 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
21600 (floor): Define using libm_alias_double.
21601 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
21602 (fmax): Define using libm_alias_double.
21603 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
21604 (fmin): Define using libm_alias_double.
21605 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
21606 (frexp): Define using libm_alias_double.
21607 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
21608 (llrint): Define using libm_alias_double.
21609 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
21610 (logb): Define using libm_alias_double.
21611 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
21612 (lrint): Define using libm_alias_double.
21613 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
21614 (nearbyint): Define using libm_alias_double.
21615 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
21616 (remquo): Define using libm_alias_double.
21617 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
21618 (rint): Define using libm_alias_double.
21619 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
21620 (trunc): Define using libm_alias_double.
21621 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
21622 (fmax): Define using libm_alias_double.
21623 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
21624 (fmin): Define using libm_alias_double.
21625 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
21626 (fma): Define using libm_alias_double.
21628 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
21631 * elf/dl-hwcaps.c (ROUND): Removed.
21632 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
21633 and ELF_NOTE_NEXT_OFFSET.
21634 * elf/dl-load.c (ROUND): Removed.
21635 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21636 * elf/readelflib.c (ROUND): Removed.
21637 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21638 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
21639 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
21640 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
21642 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21644 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21645 [!__fmaf] (fmaf): Define using libm_alias_float.
21647 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
21648 [!__fma] (fma): Define using libm_alias_double.
21649 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
21651 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21654 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
21655 and implement the collation rules for cs from CLDR on top of that.
21656 * Makefile: Add cs_CZ.UTF-8 to test-input.
21657 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
21659 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
21661 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
21663 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21664 Icarus Sparry <icarus.w.sparry@intel.com>
21666 * benchtests/Makefile:Add BENCHSET to allow subsets of
21667 benchmarks to be run.
21668 * benchtests/README: Add documentation for: Running subsets of
21671 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21673 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
21674 range of tests names.
21676 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
21677 result from property and remove "max", min" and "mean" from
21678 required properties based on benchtests/bench-skeleton.c.
21680 2017-11-28 Florian Weimer <fweimer@redhat.com>
21683 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
21684 due to Internet requirement.
21685 * posix/Makefile (tests): Remove tst-getaddrinfo4,
21687 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
21689 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21691 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21692 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
21693 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21694 (sysdep_routines): Add memset-ultra1.
21695 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
21697 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
21698 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
21699 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
21700 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
21701 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
21702 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
21703 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
21704 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21706 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
21708 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
21709 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
21710 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
21711 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
21712 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
21713 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
21714 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
21716 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21717 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
21718 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21719 (sysdep_routines): Add memcpy-ultra1.
21720 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
21721 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
21723 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21725 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
21726 (cfloat_versions): Take function argument without trailing 'f'.
21727 Call libm_alias_float_other.
21728 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
21729 * sysdeps/alpha/fpu/cargf.c: Likewise.
21730 * sysdeps/alpha/fpu/cimagf.c: Likewise.
21731 * sysdeps/alpha/fpu/conjf.c: Likewise.
21732 * sysdeps/alpha/fpu/crealf.c: Likewise.
21733 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
21734 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
21735 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
21736 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
21737 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
21738 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
21739 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
21740 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
21741 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
21742 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
21743 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
21744 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
21745 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
21746 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
21747 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
21748 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
21749 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
21750 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
21751 (clog10f): Use libm_alias_float_other.
21752 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21753 (ceilf): Define using libm_alias_float.
21754 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
21755 (copysignf): Define using libm_alias_float.
21756 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21757 (fabsf): Define using libm_alias_float.
21758 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
21759 (floorf): Define using libm_alias_float.
21760 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
21761 (fmaxf): Define using libm_alias_float.
21762 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
21763 (fminf): Define using libm_alias_float.
21764 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21765 (lrintf): Define using libm_alias_float.
21766 (llrintf): Likewise.
21767 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21768 (lroundf): Define using libm_alias_float.
21769 (llroundf): Likewise.
21770 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
21771 (rintf): Define using libm_alias_float.
21772 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
21773 (truncf): Define using libm_alias_float.
21775 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21776 (ceilf): Define using libm_alias_float.
21777 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
21778 (floorf): Define using libm_alias_float.
21779 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21780 (fmaf): Define using libm_alias_float.
21781 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
21782 (fmaxf): Define using libm_alias_float.
21783 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
21784 (fminf): Define using libm_alias_float.
21785 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
21786 (llrintf): Define using libm_alias_float.
21787 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
21788 (llroundf): Define using libm_alias_float.
21789 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21790 (lrintf): Define using libm_alias_float.
21791 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21792 (lroundf): Define using libm_alias_float.
21793 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
21794 <libm-alias-float.h>.
21795 (nearbyintf): Define using libm_alias_float.
21796 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
21797 (rintf): Define using libm_alias_float.
21798 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
21799 (roundf): Define using libm_alias_float.
21800 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
21801 (truncf): Define using libm_alias_float.
21803 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
21804 (ceil): Define using libm_alias_double.
21805 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
21806 (copysign): Define using libm_alias_double.
21807 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
21808 (fabs): Define using libm_alias_double.
21809 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
21810 (floor): Define using libm_alias_double.
21811 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
21812 (fmax): Define using libm_alias_double.
21813 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
21814 (fmin): Define using libm_alias_double.
21815 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
21816 (lrint): Define using libm_alias_double.
21817 (llrint): Likewise.
21818 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
21819 (lround): Define using libm_alias_double.
21820 (llround): Likewise.
21821 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
21822 (rint): Define using libm_alias_double.
21823 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
21824 (trunc): Define using libm_alias_double.
21826 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21827 (libm_alias_double_r): Add semicolon after weak_alias call.
21829 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21831 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
21832 (ceil): Define using libm_alias_double.
21833 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
21834 (floor): Define using libm_alias_double.
21835 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
21836 (fma): Define using libm_alias_double.
21837 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
21838 (fmax): Define using libm_alias_double.
21839 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
21840 (fmin): Define using libm_alias_double.
21841 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
21842 (llrint): Define using libm_alias_double.
21843 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
21844 (llround): Define using libm_alias_double.
21845 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
21846 (lrint): Define using libm_alias_double.
21847 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
21848 (lround): Define using libm_alias_double.
21849 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
21850 (nearbyint): Define using libm_alias_double.
21851 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
21852 (rint): Define using libm_alias_double.
21853 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
21854 (round): Define using libm_alias_double.
21855 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
21856 (trunc): Define using libm_alias_double.
21858 2017-11-27 Florian Weimer <fweimer@redhat.com>
21860 * sysdeps/unix/sysv/linux/mlock2.c: New file.
21861 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
21862 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
21863 (tests): Add tst-mlock2.
21864 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
21865 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
21866 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
21867 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
21868 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
21869 for mlock. Document mlock2.
21871 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21873 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
21874 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
21876 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
21878 * sysdeps/x86/Makeconfig: New file.
21879 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
21880 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21881 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
21882 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21883 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21884 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21885 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
21887 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21888 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21889 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21890 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21891 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21892 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21893 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21894 * manual/math.texi (Mathematics): Document support for _Float64x.
21895 * math/Versions (GLIBC_2.27): Add _Float64x functions.
21896 * stdlib/Versions (GLIBC_2.27): Likewise.
21897 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21898 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21899 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21900 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21901 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21902 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21903 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21904 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21905 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21906 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21907 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21908 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21913 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21914 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21915 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21916 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21917 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21918 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21919 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21920 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21921 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21922 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21923 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21924 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21925 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21926 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21928 2017-11-27 Andreas Schwab <schwab@suse.de>
21930 * elf/Makefile (dl-routines): Add dl-sort-maps.
21931 * elf/dl-sort-maps.c: New file.
21932 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
21933 (_dl_sort_maps): Declare.
21934 * elf/dl-fini.c (_dl_sort_fini): Remove.
21935 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
21936 * elf/dl-close.c (_dl_close_worker): Likewise.
21937 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
21939 * elf/dl-open.c (dl_open_worker): Likewise.
21941 2017-11-24 Joseph Myers <joseph@codesourcery.com>
21943 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
21944 using libm_alias_float128.
21945 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
21947 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
21949 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
21950 (setpayloadsigf128): Likewise.
21951 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
21953 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
21956 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
21957 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
21958 -mfloat128 to CFLAGS.
21960 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
21962 (CFLAGS-libm-test-support-float64x.c): New variable.
21963 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
21964 $(f128-loader-link) to gnulib-tests.
21966 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
21967 (libm_alias_float128_other_r): If
21968 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
21970 (libm_alias_float128_r): Add semicolon after weak_alias call.
21971 * sysdeps/generic/libm-alias-ldouble.h
21972 (libm_alias_ldouble_other_r_f128): New macro.
21973 (libm_alias_ldouble_other_r_f64x): Likewise.
21974 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21975 and libm_alias_ldouble_other_r_f64x.
21976 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
21977 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
21978 (libm_alias_ldouble_other_r_f128): New macro.
21979 (libm_alias_ldouble_other_r_f64x): Likewise.
21980 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21981 and libm_alias_ldouble_other_r_f64x.
21983 * stdlib/strfroml.c: Always include <stdlib.h>.
21984 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
21985 undefine as macro and define as weak alias.
21986 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
21987 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
21989 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
21990 Define and later undefine as macro and define as weak alias.
21992 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21993 Define and later undefine as macro. Define as weak alias if
21995 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
21996 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21997 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
21998 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21999 Define and later undefine as macro. Define as weak alias if
22001 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
22002 Define and later undefine as macro. Define as weak alias if
22004 * sysdeps/ieee754/float128/strtof128_l.c
22005 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
22006 Define and later undefine as macro. Define as weak alias if
22008 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
22009 Define and later undefine as macro. Define as weak alias if
22011 * sysdeps/ieee754/ldbl-128/strtold_l.c
22012 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22013 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22014 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22015 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22016 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
22017 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22018 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22019 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22020 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22021 * sysdeps/ieee754/ldbl-96/strtold_l.c
22022 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22023 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22024 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22025 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22027 * math/test-float64x.h: New file.
22028 * math/Makefile (type-float64x-yes): New variable.
22029 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
22031 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
22032 function-like macro.
22033 (min_of_type_): Likewise.
22034 (min_of_type_l): Likewise.
22035 (min_of_type_f128): Likewise.
22036 (min_of_type): Pass () as last argument of __MATH_TG.
22038 * stdlib/tst-strtod-round-skeleton.c
22039 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
22042 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
22043 for combinations of long double with _Float64 and _Float64x.
22045 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
22046 (__DECL_SIMD_cosf32): Likewise.
22047 (__DECL_SIMD_cosf64): Likewise.
22048 (__DECL_SIMD_cosf32x): Likewise.
22049 (__DECL_SIMD_cosf64x): Likewise.
22050 (__DECL_SIMD_cosf128x): Likewise.
22051 (__DECL_SIMD_sinf16): Likewise.
22052 (__DECL_SIMD_sinf32): Likewise.
22053 (__DECL_SIMD_sinf64): Likewise.
22054 (__DECL_SIMD_sinf32x): Likewise.
22055 (__DECL_SIMD_sinf64x): Likewise.
22056 (__DECL_SIMD_sinf128x): Likewise.
22057 (__DECL_SIMD_sincosf16): Likewise.
22058 (__DECL_SIMD_sincosf32): Likewise.
22059 (__DECL_SIMD_sincosf64): Likewise.
22060 (__DECL_SIMD_sincosf32x): Likewise.
22061 (__DECL_SIMD_sincosf64x): Likewise.
22062 (__DECL_SIMD_sincosf128x): Likewise.
22063 (__DECL_SIMD_logf16): Likewise.
22064 (__DECL_SIMD_logf32): Likewise.
22065 (__DECL_SIMD_logf64): Likewise.
22066 (__DECL_SIMD_logf32x): Likewise.
22067 (__DECL_SIMD_logf64x): Likewise.
22068 (__DECL_SIMD_logf128x): Likewise.
22069 (__DECL_SIMD_expf16): Likewise.
22070 (__DECL_SIMD_expf32): Likewise.
22071 (__DECL_SIMD_expf64): Likewise.
22072 (__DECL_SIMD_expf32x): Likewise.
22073 (__DECL_SIMD_expf64x): Likewise.
22074 (__DECL_SIMD_expf128x): Likewise.
22075 (__DECL_SIMD_powf16): Likewise.
22076 (__DECL_SIMD_powf32): Likewise.
22077 (__DECL_SIMD_powf64): Likewise.
22078 (__DECL_SIMD_powf32x): Likewise.
22079 (__DECL_SIMD_powf64x): Likewise.
22080 (__DECL_SIMD_powf128x): Likewise.
22082 * stdlib/Versions (libc): Move entries for wcstof128 and
22083 wcstof128_l to ....
22084 * wcsmbs/Versions (libc): ... here.
22085 Include <float128-abi.h>.
22087 2017-11-24 Florian Weimer <fweimer@redhat.com>
22089 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22090 bits/mman-shared.h.
22091 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
22092 <bits/mman-shared.h>.
22093 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
22095 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
22096 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
22097 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
22098 <bits/mman-shared.h>.
22100 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22103 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
22104 posix_memalign/free.
22105 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
22107 2017-11-22 Mike FABIAN <mfabian@redhat.com>
22110 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
22111 and implement the collation rules for pl from CLDR on top of that.
22112 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
22113 of locales to be built for testing.
22114 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
22116 2017-11-23 Joseph Myers <joseph@codesourcery.com>
22118 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
22119 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
22120 libm_alias_ldouble_other.
22121 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
22122 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
22123 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
22124 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
22125 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
22126 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
22127 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
22128 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
22129 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
22130 libm_alias_ldouble_r.
22131 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
22132 libm_alias_ldouble_other.
22133 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
22134 (log10l): Likewise.
22135 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
22136 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
22137 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
22138 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
22139 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
22140 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
22141 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
22142 (atan2l): Likewise.
22143 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
22144 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
22145 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
22146 libm_alias_ldouble.
22147 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
22149 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
22150 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
22151 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
22153 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
22154 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
22155 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
22156 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
22157 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
22158 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
22159 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
22160 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
22161 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
22162 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
22163 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
22164 libm_alias_ldouble.
22165 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
22166 libm_alias_ldouble_other.
22167 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
22168 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
22169 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
22170 libm_alias_ldouble.
22171 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
22172 libm_alias_ldouble_other.
22173 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
22174 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
22175 * sysdeps/ia64/fpu/w_lgammal_main.c
22176 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
22177 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
22179 2017-11-23 Florian Weimer <fweimer@redhat.com>
22181 * malloc/malloc.c (tcache_thread_shutdown): Rename from
22182 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
22183 alike. Remove freeres marker.
22184 * malloc/arena.c (arena_thread_freeres): Call
22185 tcache_thread_shutdown.
22187 2017-11-23 Florian Weimer <fweimer@redhat.com>
22190 Export nscd hash function as __nss_hash.
22191 * include/nss.h (__nss_hash): Declare.
22192 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
22194 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
22195 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
22197 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
22198 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
22199 * nss/Makefiles (routines): Add nss_hash.
22200 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
22201 * nss/nss_hash.c: Rename from nis/nis_hash.c.
22202 (__nss_hash): Rename from __nis_hash. Define hidden alias.
22203 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
22205 2017-11-23 Florian Weimer <fweimer@redhat.com>
22208 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
22209 Return error code, not -1.
22210 * signal/tst-sigwait-eintr.c: New file.
22211 * signal/Makefile (tests): Add tst-sigwait-eintr.
22213 2017-11-23 Florian Weimer <fweimer@redhat.com>
22215 Linux: Add memfd_create system call wrapper
22216 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
22218 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
22219 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
22220 [__USE_GNU] (memfd_create): Declare.
22221 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
22222 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
22223 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
22224 * sysdeps/unix/sysv/linux/**.abilist: Update.
22225 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
22227 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22229 * localedata/gen-locale.sh: Fix typo in variable name.
22231 * resolv/res_debug.c (p_secstodate): Condition definition on
22232 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
22233 directly as __p_secstodate, and as a compat symbol. Do not use
22234 libresolv_hidden_def.
22235 * resolv/resolv.h (p_secstodate): Remove macro and function
22237 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
22238 using p_secstodate.
22239 * include/resolv.h (__p_secstodate): Do not use
22240 libresolv_hidden_proto.
22241 * resolv/Makefile (tests): Move tst-p_secstodate to ....
22242 (tests-internal): ... here.
22243 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
22244 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
22245 and declare and use __p_secstodate and use compat_symbol_reference
22247 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
22248 implementation returning 77.
22251 * resolv/res_debug.c: Include <libc-diag.h>.
22252 (p_secstodate): Assert time_t at least as wide as u_long. On
22253 overflow, use integer seconds since the epoch as output, or use
22254 "<overflow>" as output and set errno to EOVERFLOW if integer
22255 seconds since the epoch would be 14 or more characters.
22256 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
22258 * resolv/tst-p_secstodate.c: New file.
22259 * resolv/Makefile (tests): Add tst-p_secstodate.
22260 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
22262 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
22263 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22264 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
22266 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
22268 * posix/regcomp.c (init_word_char): Add comments.
22270 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22273 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
22274 strlen to compute length of ut_user and set trailing NUL byte of
22277 2017-11-21 Mike FABIAN <mfabian@redhat.com>
22280 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
22281 using “copy "iso14651_t1"” and then implementing the
22282 collation rules for lv from CLDR on top of that.
22283 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
22284 of locales to be built for testing.
22285 * lv_LV.UTF-8.in: New file with test data to test the Latvian
22288 2017-11-21 Joseph Myers <joseph@codesourcery.com>
22290 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22291 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
22292 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
22293 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
22294 [__USE_MISC] (MADV_HWPOISON): New macro.
22295 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
22297 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22299 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
22300 -Wmissing-braces on GCC 4.9.
22302 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22304 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
22305 * sysdeps/s390/s390-32/start.S (_start): Likewise
22306 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
22307 (thread_start): Likewise.
22308 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
22309 (thread_start): Likewise.
22310 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
22311 (__makecontext_ret): Likewise.
22312 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
22313 (__makecontext_ret): Likewise.
22315 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22317 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
22318 __wcschrnul): Remove attribute_hidden.
22320 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
22322 regex: don't assume uint64_t or uint32_t
22323 This avoids -Werror=overflow errors for 32-bit systems in
22324 the 64-bit case. Problem reported by Joseph Myers in:
22325 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
22326 Also, when this code is used in Gnulib it ports to platforms
22327 that lack uint64_t and uint32_t. The C standard doesn't guarantee
22328 them, and on some 32-bit compilers there is no uint64_t.
22329 Problem reported by Gianluigi Tiesi in:
22330 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
22331 * posix/regcomp.c (init_word_char): Don't assume that the types
22332 uint64_t and uint32_t exist. Adapted from Gnulib patch
22333 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
22334 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
22336 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
22338 * sysdeps/aarch64/memset-reg.h: New file.
22339 * sysdeps/aarch64/memset.S: Use it.
22340 (__memset): Rename to MEMSET macro.
22341 [ZVA_MACRO]: Use zva_macro.
22342 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
22343 Add memset_generic and memset_falkor.
22344 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
22345 (__libc_ifunc_impl_list): Add memset ifuncs.
22346 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
22347 local variable zva_size.
22348 * sysdeps/aarch64/multiarch/memset.c: New file.
22349 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
22350 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
22351 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
22352 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
22353 (DCZID_DZP_MASK): New macro.
22354 (DCZID_BS_MASK): Likewise.
22355 (init_cpu_features): Read and set zva_size.
22356 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
22357 (struct cpu_features): New member zva_size.
22359 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
22360 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
22361 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
22363 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
22364 backwards. Fix timing computation.
22365 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
22366 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
22367 on memset by N at a time. Fix timing computation.
22369 2017-11-20 Florian Weimer <fweimer@redhat.com>
22371 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
22372 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
22374 2017-11-19 Florian Weimer <fweimer@redhat.com>
22376 manual: Document mprotect
22377 * manual/memory.texi (Memory Protection): New section.
22378 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
22379 documentation of PROT_* flags and reference the Memory Protection
22382 2017-11-19 Florian Weimer <fweimer@redhat.com>
22384 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
22385 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
22386 (Scatter-Gather): ... to here. Remove misleading comment.
22388 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
22390 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
22393 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
22394 when /proc/<pid>/setgroups does not exist.
22396 2017-11-18 Florian Weimer <fweimer@redhat.com>
22398 * sysdeps/unix/sysv/linux/tst-ttyname.c
22399 (become_root_in_mount_ns): Remove.
22400 (do_in_chroot_1): Call support_enter_mount_namespace.
22401 (do_in_chroot_2): Likewise.
22402 (do_test): Call support_become_root early.
22404 2017-11-18 Florian Weimer <fweimer@redhat.com>
22406 * support/namespace.h (support_enter_mount_namespace): Declare.
22407 * support/support_enter_mount_namespace.c: New file.
22408 * support/Makefile (libsupport-routines): Add
22409 support_enter_mount_namespace.
22411 2017-11-18 Florian Weimer <fweimer@redhat.com>
22413 * support/temp_file.c (support_create_temp_directory): Use
22414 test_dir and do not rely on the presence of the XXXXXX suffix.
22415 * support/temp_file.h (support_create_temp_directory): Update
22417 * support/tst-xreadlink.c (do_test): Adjust.
22418 * support/support_chroot.c (support_chroot_create): Likewise.
22420 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22422 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
22424 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
22427 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22429 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22430 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22431 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22432 (ceill): Define using libm_alias_ldouble.
22433 * sysdeps/x86_64/fpu/s_copysignl.S: Include
22434 <libm-alias-ldouble.h>.
22435 (copysignl): Define using libm_alias_ldouble.
22436 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22437 (fabsl): Define using libm_alias_ldouble.
22438 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22439 (floorl): Define using libm_alias_ldouble.
22440 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22441 (fmaxl): Define using libm_alias_ldouble.
22442 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22443 (fminl): Define using libm_alias_ldouble.
22444 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22445 (llrintl): Define using libm_alias_ldouble.
22446 (lrintl): Likewise.
22447 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
22448 <libm-alias-ldouble.h>.
22449 (nearbyintl): Define using libm_alias_ldouble.
22450 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22451 (truncl): Define using libm_alias_ldouble.
22452 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
22453 <libm-alias-ldouble.h>.
22454 (lrintl): Define using libm_alias_ldouble.
22456 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22457 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22458 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
22459 (asinhl): Define using libm_alias_ldouble.
22460 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
22461 (atanl): Define using libm_alias_ldouble.
22462 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
22463 (cbrtl): Define using libm_alias_ldouble.
22464 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22465 (ceill): Define using libm_alias_ldouble.
22466 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
22467 (copysignl): Define using libm_alias_ldouble.
22468 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22469 (fabsl): Define using libm_alias_ldouble.
22470 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22471 (floorl): Define using libm_alias_ldouble.
22472 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22473 (fmaxl): Define using libm_alias_ldouble.
22474 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22475 (fminl): Define using libm_alias_ldouble.
22476 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
22477 (frexpl): Define using libm_alias_ldouble.
22478 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22479 (llrintl): Define using libm_alias_ldouble.
22480 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
22481 (logbl): Define using libm_alias_ldouble.
22482 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
22483 (lrintl): Define using libm_alias_ldouble.
22484 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
22485 (nearbyintl): Define using libm_alias_ldouble.
22486 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
22487 (nextafterl): Define using libm_alias_ldouble.
22488 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
22489 (remquol): Define using libm_alias_ldouble.
22490 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
22491 (rintl): Define using libm_alias_ldouble.
22492 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22493 (truncl): Define using libm_alias_ldouble.
22494 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22495 (fmaxl): Define using libm_alias_ldouble.
22496 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22497 (fminl): Define using libm_alias_ldouble.
22499 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
22500 to C syntax instead of availability and properties of types.
22501 * bits/floatn.h [!__ASSEMBLER]: Likewise.
22502 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
22503 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
22504 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
22505 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
22506 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
22508 2017-11-17 Florian Weimer <fweimer@redhat.com>
22510 support_become_root: Enable file creation in namespaces.
22511 * support/support_become_root.c (setup_mapping): New function.
22512 (support_become_root): Call it.
22514 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22516 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
22519 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22521 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
22522 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
22524 2017-11-16 Joseph Myers <joseph@codesourcery.com>
22526 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
22528 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22531 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
22533 * INSTALL: Fix botched up regeneration.
22535 * NEWS: Update sourceare link to https.
22536 * configure.ac: Likewise.
22537 * crypt/md5test-giant.c: Likewise.
22538 * dlfcn/bug-atexit1.c: Likewise.
22539 * dlfcn/bug-atexit2.c: Likewise.
22540 * localedata/README: Likewise.
22541 * malloc/tst-mallocfork.c: Likewise.
22542 * manual/install.texi: Likewise.
22543 * nptl/tst-pthread-getattr.c: Likewise.
22544 * stdio-common/tst-fgets.c: Likewise.
22545 * stdio-common/tst-fwrite.c: Likewise.
22546 * sunrpc/Makefile: Likewise.
22547 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
22548 * wcsmbs/tst-mbrtowc2.c: Likewise.
22549 * configure: Regenerate.
22550 * INSTALL: Regenerate.
22552 2017-11-15 Martin Sebor <msebor@redhat.com>
22554 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
22555 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
22556 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
22558 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22561 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
22562 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
22565 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
22566 Defer is_pty check until end of the function.
22567 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22570 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
22571 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
22572 (ttyname): Likewise.
22573 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
22574 (__ttyname_r): Likewise.
22576 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
22579 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
22581 * manual/terminal.texi (Is It a Terminal):
22582 Mention ENODEV for ttyname and ttyname_r.
22584 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22586 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
22587 constant and macro.
22589 * sysdeps/unix/sysv/linux/bits/mman-linux.h
22590 [__USE_MISC] (MADV_WIPEONFORK): New macro.
22591 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22592 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22593 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
22594 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22596 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22598 * signal/sigrelse.c (sigrelse): Optimize implementation.
22600 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
22601 (__sigpause): Rely on __sigsuspend to implement single thread
22602 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
22604 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22606 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22607 kernel version to 4.14.
22609 2017-11-15 Steve Ellcey <sellcey@cavium.com>
22612 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
22613 Check if ifname is too long.
22615 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22617 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
22619 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22621 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
22622 was accidentally lost.
22624 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22626 * localedata/locales/az_IR: Add standard copyright header.
22628 2017-11-15 Florian Weimer <fweimer@redhat.com>
22631 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
22632 not just the top one. Output a new "subheaps" statistic.
22634 2017-11-15 Florian Weimer <fweimer@redhat.com>
22637 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
22638 under the per-arena lock.
22639 * malloc/Makefile (tests): Add tst-malloc_info.
22640 (tst-malloc_info): Link with libpthread.
22641 * malloc/tst-malloc_info.c: New file.
22643 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22646 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
22647 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
22648 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
22649 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
22650 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
22651 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
22652 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
22653 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
22654 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
22655 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
22656 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
22657 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
22658 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
22659 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
22660 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
22661 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
22662 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
22663 (__floating_type): Likewise.
22664 (__real_integer_type): Likewise.
22665 (__complex_integer_type): Likewise.
22666 (__expr_is_real): Likewise.
22667 (__tgmath_real_type_sub): Likewise.
22668 (__tgmath_real_type): Likewise.
22669 (__tgmath_complex_type_sub): Likewise.
22670 (__tgmath_complex_type): Likewise.
22671 (__TGMATH_F128): Likewise.
22672 (__TGMATH_CF128): Likewise.
22673 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
22675 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
22676 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
22678 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
22680 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
22681 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
22682 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
22683 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
22685 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
22686 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
22688 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
22689 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
22690 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
22692 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
22693 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
22694 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
22698 2017-11-14 Joseph Myers <joseph@codesourcery.com>
22700 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
22701 for stpncpy calls for GCC 8.
22702 (test_strncat): Disable -Wstringop-truncation warning for strncat
22703 calls for GCC 8. Disable -Wstringop-overflow= warning for one
22704 strncat call for GCC 7.
22705 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
22707 (test_memcmp): Use memcpy instead of strncpy for calls not copying
22710 * string/bug-strncat1.c: Include <libc-diag.h>.
22711 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
22713 2017-11-13 Claude Paroz <claude@2xlibre.net>
22716 * localedata/locales/aa_DJ: Improved readibility by replacing
22717 <Uxxxx> sequences in the ASCII printable range by their ASCII
22718 character equivalents.
22719 * localedata/locales/aa_ER: Likewise.
22720 * localedata/locales/aa_ER@saaho: Likewise.
22721 * localedata/locales/aa_ET: Likewise.
22722 * localedata/locales/af_ZA: Likewise.
22723 * localedata/locales/agr_PE: Likewise.
22724 * localedata/locales/ak_GH: Likewise.
22725 * localedata/locales/am_ET: Likewise.
22726 * localedata/locales/anp_IN: Likewise.
22727 * localedata/locales/ar_AE: Likewise.
22728 * localedata/locales/ar_BH: Likewise.
22729 * localedata/locales/ar_DZ: Likewise.
22730 * localedata/locales/ar_EG: Likewise.
22731 * localedata/locales/ar_IN: Likewise.
22732 * localedata/locales/ar_IQ: Likewise.
22733 * localedata/locales/ar_JO: Likewise.
22734 * localedata/locales/ar_KW: Likewise.
22735 * localedata/locales/ar_LB: Likewise.
22736 * localedata/locales/ar_LY: Likewise.
22737 * localedata/locales/ar_MA: Likewise.
22738 * localedata/locales/ar_OM: Likewise.
22739 * localedata/locales/ar_QA: Likewise.
22740 * localedata/locales/ar_SA: Likewise.
22741 * localedata/locales/ar_SD: Likewise.
22742 * localedata/locales/ar_SS: Likewise.
22743 * localedata/locales/ar_SY: Likewise.
22744 * localedata/locales/ar_TN: Likewise.
22745 * localedata/locales/ar_YE: Likewise.
22746 * localedata/locales/as_IN: Likewise.
22747 * localedata/locales/ast_ES: Likewise.
22748 * localedata/locales/ayc_PE: Likewise.
22749 * localedata/locales/az_AZ: Likewise.
22750 * localedata/locales/az_IR: Likewise.
22751 * localedata/locales/be_BY: Likewise.
22752 * localedata/locales/be_BY@latin: Likewise.
22753 * localedata/locales/bem_ZM: Likewise.
22754 * localedata/locales/ber_DZ: Likewise.
22755 * localedata/locales/ber_MA: Likewise.
22756 * localedata/locales/bg_BG: Likewise.
22757 * localedata/locales/bhb_IN: Likewise.
22758 * localedata/locales/bho_IN: Likewise.
22759 * localedata/locales/bi_VU: Likewise.
22760 * localedata/locales/bn_BD: Likewise.
22761 * localedata/locales/bn_IN: Likewise.
22762 * localedata/locales/bo_CN: Likewise.
22763 * localedata/locales/bo_IN: Likewise.
22764 * localedata/locales/br_FR: Likewise.
22765 * localedata/locales/brx_IN: Likewise.
22766 * localedata/locales/bs_BA: Likewise.
22767 * localedata/locales/byn_ER: Likewise.
22768 * localedata/locales/ca_AD: Likewise.
22769 * localedata/locales/ca_ES: Likewise.
22770 * localedata/locales/ca_FR: Likewise.
22771 * localedata/locales/ca_IT: Likewise.
22772 * localedata/locales/ce_RU: Likewise.
22773 * localedata/locales/chr_US: Likewise.
22774 * localedata/locales/cmn_TW: Likewise.
22775 * localedata/locales/crh_UA: Likewise.
22776 * localedata/locales/cs_CZ: Likewise.
22777 * localedata/locales/csb_PL: Likewise.
22778 * localedata/locales/cv_RU: Likewise.
22779 * localedata/locales/cy_GB: Likewise.
22780 * localedata/locales/da_DK: Likewise.
22781 * localedata/locales/de_AT: Likewise.
22782 * localedata/locales/de_BE: Likewise.
22783 * localedata/locales/de_CH: Likewise.
22784 * localedata/locales/de_DE: Likewise.
22785 * localedata/locales/de_IT: Likewise.
22786 * localedata/locales/de_LI: Likewise.
22787 * localedata/locales/de_LU: Likewise.
22788 * localedata/locales/doi_IN: Likewise.
22789 * localedata/locales/dv_MV: Likewise.
22790 * localedata/locales/dz_BT: Likewise.
22791 * localedata/locales/el_CY: Likewise.
22792 * localedata/locales/el_GR: Likewise.
22793 * localedata/locales/en_AG: Likewise.
22794 * localedata/locales/en_AU: Likewise.
22795 * localedata/locales/en_BW: Likewise.
22796 * localedata/locales/en_CA: Likewise.
22797 * localedata/locales/en_DK: Likewise.
22798 * localedata/locales/en_GB: Likewise.
22799 * localedata/locales/en_HK: Likewise.
22800 * localedata/locales/en_IE: Likewise.
22801 * localedata/locales/en_IL: Likewise.
22802 * localedata/locales/en_IN: Likewise.
22803 * localedata/locales/en_NG: Likewise.
22804 * localedata/locales/en_NZ: Likewise.
22805 * localedata/locales/en_PH: Likewise.
22806 * localedata/locales/en_SG: Likewise.
22807 * localedata/locales/en_US: Likewise.
22808 * localedata/locales/en_ZA: Likewise.
22809 * localedata/locales/en_ZM: Likewise.
22810 * localedata/locales/en_ZW: Likewise.
22811 * localedata/locales/eo: Likewise.
22812 * localedata/locales/es_AR: Likewise.
22813 * localedata/locales/es_BO: Likewise.
22814 * localedata/locales/es_CL: Likewise.
22815 * localedata/locales/es_CO: Likewise.
22816 * localedata/locales/es_CR: Likewise.
22817 * localedata/locales/es_CU: Likewise.
22818 * localedata/locales/es_DO: Likewise.
22819 * localedata/locales/es_EC: Likewise.
22820 * localedata/locales/es_ES: Likewise.
22821 * localedata/locales/es_GT: Likewise.
22822 * localedata/locales/es_HN: Likewise.
22823 * localedata/locales/es_MX: Likewise.
22824 * localedata/locales/es_NI: Likewise.
22825 * localedata/locales/es_PA: Likewise.
22826 * localedata/locales/es_PE: Likewise.
22827 * localedata/locales/es_PR: Likewise.
22828 * localedata/locales/es_PY: Likewise.
22829 * localedata/locales/es_SV: Likewise.
22830 * localedata/locales/es_US: Likewise.
22831 * localedata/locales/es_UY: Likewise.
22832 * localedata/locales/es_VE: Likewise.
22833 * localedata/locales/et_EE: Likewise.
22834 * localedata/locales/eu_ES: Likewise.
22835 * localedata/locales/eu_ES@euro: Likewise.
22836 * localedata/locales/fa_IR: Likewise.
22837 * localedata/locales/ff_SN: Likewise.
22838 * localedata/locales/fi_FI: Likewise.
22839 * localedata/locales/fil_PH: Likewise.
22840 * localedata/locales/fo_FO: Likewise.
22841 * localedata/locales/fr_BE: Likewise.
22842 * localedata/locales/fr_CA: Likewise.
22843 * localedata/locales/fr_CH: Likewise.
22844 * localedata/locales/fr_FR: Likewise.
22845 * localedata/locales/fr_LU: Likewise.
22846 * localedata/locales/fur_IT: Likewise.
22847 * localedata/locales/fy_DE: Likewise.
22848 * localedata/locales/fy_NL: Likewise.
22849 * localedata/locales/ga_IE: Likewise.
22850 * localedata/locales/gd_GB: Likewise.
22851 * localedata/locales/gez_ER: Likewise.
22852 * localedata/locales/gez_ET: Likewise.
22853 * localedata/locales/gl_ES: Likewise.
22854 * localedata/locales/gu_IN: Likewise.
22855 * localedata/locales/gv_GB: Likewise.
22856 * localedata/locales/ha_NG: Likewise.
22857 * localedata/locales/hak_TW: Likewise.
22858 * localedata/locales/he_IL: Likewise.
22859 * localedata/locales/hi_IN: Likewise.
22860 * localedata/locales/hif_FJ: Likewise.
22861 * localedata/locales/hne_IN: Likewise.
22862 * localedata/locales/hr_HR: Likewise.
22863 * localedata/locales/hsb_DE: Likewise.
22864 * localedata/locales/ht_HT: Likewise.
22865 * localedata/locales/hu_HU: Likewise.
22866 * localedata/locales/hy_AM: Likewise.
22867 * localedata/locales/i18n: Likewise.
22868 * localedata/locales/ia_FR: Likewise.
22869 * localedata/locales/id_ID: Likewise.
22870 * localedata/locales/ig_NG: Likewise.
22871 * localedata/locales/ik_CA: Likewise.
22872 * localedata/locales/is_IS: Likewise.
22873 * localedata/locales/it_CH: Likewise.
22874 * localedata/locales/it_IT: Likewise.
22875 * localedata/locales/iu_CA: Likewise.
22876 * localedata/locales/ja_JP: Likewise.
22877 * localedata/locales/ka_GE: Likewise.
22878 * localedata/locales/kk_KZ: Likewise.
22879 * localedata/locales/kl_GL: Likewise.
22880 * localedata/locales/kn_IN: Likewise.
22881 * localedata/locales/ko_KR: Likewise.
22882 * localedata/locales/kok_IN: Likewise.
22883 * localedata/locales/ks_IN: Likewise.
22884 * localedata/locales/ks_IN@devanagari: Likewise.
22885 * localedata/locales/ku_TR: Likewise.
22886 * localedata/locales/kw_GB: Likewise.
22887 * localedata/locales/ky_KG: Likewise.
22888 * localedata/locales/lb_LU: Likewise.
22889 * localedata/locales/lg_UG: Likewise.
22890 * localedata/locales/li_BE: Likewise.
22891 * localedata/locales/li_NL: Likewise.
22892 * localedata/locales/lij_IT: Likewise.
22893 * localedata/locales/ln_CD: Likewise.
22894 * localedata/locales/lo_LA: Likewise.
22895 * localedata/locales/lt_LT: Likewise.
22896 * localedata/locales/lv_LV: Likewise.
22897 * localedata/locales/lzh_TW: Likewise.
22898 * localedata/locales/mag_IN: Likewise.
22899 * localedata/locales/mai_IN: Likewise.
22900 * localedata/locales/mg_MG: Likewise.
22901 * localedata/locales/mhr_RU: Likewise.
22902 * localedata/locales/mi_NZ: Likewise.
22903 * localedata/locales/mk_MK: Likewise.
22904 * localedata/locales/ml_IN: Likewise.
22905 * localedata/locales/mn_MN: Likewise.
22906 * localedata/locales/mni_IN: Likewise.
22907 * localedata/locales/mr_IN: Likewise.
22908 * localedata/locales/ms_MY: Likewise.
22909 * localedata/locales/mt_MT: Likewise.
22910 * localedata/locales/my_MM: Likewise.
22911 * localedata/locales/nan_TW: Likewise.
22912 * localedata/locales/nan_TW@latin: Likewise.
22913 * localedata/locales/nb_NO: Likewise.
22914 * localedata/locales/nds_DE: Likewise.
22915 * localedata/locales/nds_NL: Likewise.
22916 * localedata/locales/ne_NP: Likewise.
22917 * localedata/locales/nhn_MX: Likewise.
22918 * localedata/locales/niu_NU: Likewise.
22919 * localedata/locales/niu_NZ: Likewise.
22920 * localedata/locales/nl_AW: Likewise.
22921 * localedata/locales/nl_BE: Likewise.
22922 * localedata/locales/nl_NL: Likewise.
22923 * localedata/locales/nn_NO: Likewise.
22924 * localedata/locales/nr_ZA: Likewise.
22925 * localedata/locales/nso_ZA: Likewise.
22926 * localedata/locales/oc_FR: Likewise.
22927 * localedata/locales/om_ET: Likewise.
22928 * localedata/locales/om_KE: Likewise.
22929 * localedata/locales/or_IN: Likewise.
22930 * localedata/locales/os_RU: Likewise.
22931 * localedata/locales/pa_IN: Likewise.
22932 * localedata/locales/pa_PK: Likewise.
22933 * localedata/locales/pap_AW: Likewise.
22934 * localedata/locales/pap_CW: Likewise.
22935 * localedata/locales/pl_PL: Likewise.
22936 * localedata/locales/ps_AF: Likewise.
22937 * localedata/locales/pt_BR: Likewise.
22938 * localedata/locales/pt_PT: Likewise.
22939 * localedata/locales/quz_PE: Likewise.
22940 * localedata/locales/raj_IN: Likewise.
22941 * localedata/locales/ro_RO: Likewise.
22942 * localedata/locales/ru_RU: Likewise.
22943 * localedata/locales/ru_UA: Likewise.
22944 * localedata/locales/rw_RW: Likewise.
22945 * localedata/locales/sa_IN: Likewise.
22946 * localedata/locales/sat_IN: Likewise.
22947 * localedata/locales/sc_IT: Likewise.
22948 * localedata/locales/sd_IN: Likewise.
22949 * localedata/locales/sd_IN@devanagari: Likewise.
22950 * localedata/locales/se_NO: Likewise.
22951 * localedata/locales/sgs_LT: Likewise.
22952 * localedata/locales/shs_CA: Likewise.
22953 * localedata/locales/si_LK: Likewise.
22954 * localedata/locales/sid_ET: Likewise.
22955 * localedata/locales/sk_SK: Likewise.
22956 * localedata/locales/sl_SI: Likewise.
22957 * localedata/locales/sm_WS: Likewise.
22958 * localedata/locales/so_DJ: Likewise.
22959 * localedata/locales/so_ET: Likewise.
22960 * localedata/locales/so_KE: Likewise.
22961 * localedata/locales/so_SO: Likewise.
22962 * localedata/locales/sq_AL: Likewise.
22963 * localedata/locales/sq_MK: Likewise.
22964 * localedata/locales/sr_ME: Likewise.
22965 * localedata/locales/sr_RS: Likewise.
22966 * localedata/locales/sr_RS@latin: Likewise.
22967 * localedata/locales/ss_ZA: Likewise.
22968 * localedata/locales/st_ZA: Likewise.
22969 * localedata/locales/sv_FI: Likewise.
22970 * localedata/locales/sv_SE: Likewise.
22971 * localedata/locales/sw_KE: Likewise.
22972 * localedata/locales/sw_TZ: Likewise.
22973 * localedata/locales/szl_PL: Likewise.
22974 * localedata/locales/ta_IN: Likewise.
22975 * localedata/locales/ta_LK: Likewise.
22976 * localedata/locales/tcy_IN: Likewise.
22977 * localedata/locales/te_IN: Likewise.
22978 * localedata/locales/tg_TJ: Likewise.
22979 * localedata/locales/th_TH: Likewise.
22980 * localedata/locales/the_NP: Likewise.
22981 * localedata/locales/ti_ER: Likewise.
22982 * localedata/locales/ti_ET: Likewise.
22983 * localedata/locales/tig_ER: Likewise.
22984 * localedata/locales/tk_TM: Likewise.
22985 * localedata/locales/tl_PH: Likewise.
22986 * localedata/locales/tn_ZA: Likewise.
22987 * localedata/locales/to_TO: Likewise.
22988 * localedata/locales/tpi_PG: Likewise.
22989 * localedata/locales/tr_CY: Likewise.
22990 * localedata/locales/tr_TR: Likewise.
22991 * localedata/locales/ts_ZA: Likewise.
22992 * localedata/locales/tt_RU: Likewise.
22993 * localedata/locales/tt_RU@iqtelif: Likewise.
22994 * localedata/locales/ug_CN: Likewise.
22995 * localedata/locales/uk_UA: Likewise.
22996 * localedata/locales/unm_US: Likewise.
22997 * localedata/locales/ur_IN: Likewise.
22998 * localedata/locales/ur_PK: Likewise.
22999 * localedata/locales/uz_UZ: Likewise.
23000 * localedata/locales/uz_UZ@cyrillic: Likewise.
23001 * localedata/locales/ve_ZA: Likewise.
23002 * localedata/locales/vi_VN: Likewise.
23003 * localedata/locales/wa_BE: Likewise.
23004 * localedata/locales/wae_CH: Likewise.
23005 * localedata/locales/wal_ET: Likewise.
23006 * localedata/locales/wo_SN: Likewise.
23007 * localedata/locales/xh_ZA: Likewise.
23008 * localedata/locales/yi_US: Likewise.
23009 * localedata/locales/yo_NG: Likewise.
23010 * localedata/locales/yue_HK: Likewise.
23011 * localedata/locales/yuw_PG: Likewise.
23012 * localedata/locales/zh_CN: Likewise.
23013 * localedata/locales/zh_HK: Likewise.
23014 * localedata/locales/zh_SG: Likewise.
23015 * localedata/locales/zh_TW: Likewise.
23016 * localedata/locales/zu_ZA: Likewise.
23018 2017-11-13 Florian Weimer <fweimer@redhat.com>
23020 * support/next_to_fault.h, support/next_to_fault.c: New files.
23021 * support/Makefile (libsupport-routines): Add next_to_fault.
23022 * resolv/tst-inet_pton.c (struct next_to_fault)
23023 (next_to_fault_allocate, next_to_fault_free): Remove.
23024 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
23026 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
23028 * elf/dl-support.c: Include <dl-procruntime.c>.
23029 * include/link.h: Include <link_map.h>.
23030 * sysdeps/generic/dl-procruntime.c: New file.
23031 * sysdeps/generic/link_map.h: Likewise.
23032 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
23033 the writable ld.so namespace.
23035 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
23037 timezone: pacify GCC -Wstringop-truncation
23038 Problem reported by Martin Sebor in:
23039 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
23040 * timezone/zic.c (writezone): Use memcpy, not strncpy.
23042 2017-11-12 Florian Weimer <fweimer@redhat.com>
23044 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
23046 (tests): Add tst-xreadlink.
23047 * support/support.h (xstrndup): Declare.
23048 * support/xunistd.h (xunlink, xreadlink): Declare.
23049 * support/temp_file.h (support_create_temp_directory): Declare.
23050 * support/temp_file.c (support_create_temp_directory): New function.
23051 * support/support_chroot.c (support_chroot_create): Use it.
23052 * support/xreadlink.c: New file.
23053 * support/xstrndup.c: Likewise.
23054 * support/xunlink.c: Likewise.
23055 * support/tst-xreadlink.c: Likewise.
23057 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
23059 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
23061 2017-11-11 Florian Weimer <fweimer@redhat.com>
23065 * resolv/res_comp.c (printable_string, binary_hnok)
23066 (binary_leading_dash): New functions.
23067 (res_hnok): Reimplement using these functions and ns_name_pton.
23068 (res_ownok): Likewise.
23069 (res_mailok): Reimplement using printable_string, ns_name_pton and
23071 (res_dnok): Reimplement using printable_string and ns_name_pton.
23072 * resolv/tst-res_hnok.c (tests): Add additional tests.
23073 (LETTERDIGITS, PRINTABLE): Define.
23074 (do_test): Adjust one_char results.
23076 2017-11-11 Florian Weimer <fweimer@redhat.com>
23079 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
23080 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
23082 2017-11-11 Florian Weimer <fweimer@redhat.com>
23084 * resolv/tst-ns_name_pton.c: New file.
23085 * resolv/Makefile (tests): Add tst-ns_name_pton.
23086 (tst-ns_name_pton): Link against libresolv.
23088 2017-11-11 Florian Weimer <fweimer@redhat.com>
23090 * resolv/tst-res_hnok.c: New file.
23091 * resolv/Makefile (tests): Add tst-res_hnok.
23092 (tst-res_hnok): Link against libresolv.
23094 2017-11-11 Florian Weimer <fweimer@redhat.com>
23096 * resolv/tst-resolv-network.c: Use test framework instead explicit
23099 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
23101 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
23102 <jmp_buf-macros.h>.
23103 [!_ISOMAC] (STR_HELPER): New.
23104 [!_ISOMAC] (STR): Likewise.
23105 [!_ISOMAC] (TEST_SIZE): Likewise.
23106 [!_ISOMAC] (TEST_ALIGN): Likewise.
23107 [!_ISOMAC] (TEST_OFFSET): Likewise.
23108 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
23109 field offsets of jmp_buf as well as sigjmp_buf.
23110 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
23111 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
23112 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
23113 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
23114 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
23115 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
23116 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
23117 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
23118 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
23119 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
23121 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
23123 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
23124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
23126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
23128 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
23129 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
23130 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
23131 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
23132 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
23133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
23135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
23137 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23138 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
23139 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
23141 2017-11-07 Joseph Myers <joseph@codesourcery.com>
23144 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23145 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
23146 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23147 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
23148 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23149 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
23150 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23151 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
23152 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23153 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
23154 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23155 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
23156 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23157 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
23158 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23159 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
23160 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23161 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
23162 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23163 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
23164 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23165 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
23166 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23167 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
23168 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23169 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
23170 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23171 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
23172 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23173 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
23174 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23175 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
23176 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23177 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
23178 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23179 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
23180 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23181 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
23182 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23183 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
23184 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23185 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
23186 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23187 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
23188 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23189 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
23190 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23191 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
23192 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23193 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
23194 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23195 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
23196 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23197 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
23198 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23199 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
23200 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23201 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
23202 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23203 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
23204 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23205 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
23206 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23207 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
23208 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23209 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
23210 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23211 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
23212 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23213 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
23214 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23215 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
23216 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23217 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
23218 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23219 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
23220 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23221 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
23222 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23223 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
23224 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23225 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
23226 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23227 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
23228 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23229 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
23230 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23231 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
23233 * stdlib/tst-strtod.h (F16): New macro.
23239 (IF_FLOAT16): Likewise.
23240 (IF_FLOAT32): Likewise.
23241 (IF_FLOAT64): Likewise.
23242 (IF_FLOAT32X): Likewise.
23243 (IF_FLOAT64X): Likewise.
23244 (IF_FLOAT128X): Likewise.
23245 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
23246 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
23247 (STRTOD_TEST_FOREACH): Likewise.
23248 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
23249 (CHOOSE_f64): Likewise.
23250 (CHOOSE_f32x): Likewise.
23251 (CHOOSE_f64x): Likewise.
23253 2017-11-07 Andreas Schwab <schwab@suse.de>
23255 * nptl/Makefile (tests-internal): Remove tst-typesizes.
23257 2017-11-07 Mike FABIAN <mfabian@redhat.com>
23260 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
23262 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
23265 2017-11-07 Claude Paroz <claude@2xlibre.net>
23268 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
23270 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
23272 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
23275 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23278 * nptl/allocatestack.c (allocate_stack): Check if
23279 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
23280 __PTHREAD_MUTEX_HAVE_PREV is defined.
23281 * nptl/descr.h (pthread): Likewise.
23282 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23284 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23285 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23286 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
23287 * sysdeps/nptl/bits/thread-shared-types.h
23288 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23290 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
23291 of __WORDSIZE for internal layout.
23292 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
23293 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
23294 instead of __WORDSIZE whether to use an union for __spins and __list
23296 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
23298 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
23299 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23301 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
23302 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23304 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
23305 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23307 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
23308 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23310 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
23311 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23313 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
23314 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23316 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
23317 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23319 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
23320 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23322 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
23323 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23325 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
23326 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23328 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
23329 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23331 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
23332 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23334 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
23335 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23337 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
23338 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23340 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
23341 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23344 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
23346 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
23347 checks for expected input type size.
23348 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23349 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23351 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23352 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
23353 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23354 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
23355 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23356 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
23357 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
23358 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
23359 superflous runtime assert check.
23360 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
23362 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
23364 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23366 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
23368 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
23370 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
23372 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
23373 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
23374 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23376 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23378 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23380 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
23382 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23384 * nptl/pthread_attr_setinheritsched.c
23385 (__pthread_attr_setinheritsched): Likewise.
23386 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
23388 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
23390 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
23391 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
23392 __old_pthread_attr_setstack): Likewise.
23393 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23395 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23397 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
23399 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23400 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23402 * nptl/tst-typesizes.c: Remove file.
23404 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
23405 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
23406 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
23407 checks for internal pthread_mutex_t offsets.
23408 * sysdeps/aarch64/nptl/pthread-offsets.h
23409 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
23410 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
23411 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
23412 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
23413 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
23414 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
23415 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
23416 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
23417 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
23418 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
23419 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
23420 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
23421 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
23422 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
23423 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
23424 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
23425 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
23426 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
23428 2017-11-07 Florian Weimer <fweimer@redhat.com>
23430 * bits/mman-linux.h: Move ...
23431 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
23433 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
23436 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23438 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
23439 Redefine STRNLEN as __strnlen_power8.
23441 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23443 * signal/sighold.c (sighold): Optimize implementation.
23445 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
23446 __NR_rt_sigqueueinfo.
23448 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23450 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
23451 assume __NR_rt_sigtimedwait.
23452 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
23453 and add LIBC_CANCEL_HANDLED for cancellation marking.
23454 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23456 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23457 (sysdeps_routines): Add memchr_noneon.
23458 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
23459 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
23460 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
23461 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
23462 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
23463 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
23464 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
23466 * sysdeps/arm/arm-ifunc.h: New file.
23467 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
23468 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
23469 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
23470 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
23471 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
23472 (__memcpy_neon): Avoid create hidden alias.
23473 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
23474 (__memcpy_vfp): Likewise.
23475 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23476 (sysdep_routines): Add memcpy_arm.
23477 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
23479 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
23482 * Makerules (make-link-multidir): New.
23483 * config.make.in (multidir): New.
23484 * configure.ac (libc_cv_multidir): New. AC_SUBST.
23485 * configure: Regenerated.
23486 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
23487 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
23488 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
23491 2017-11-06 Joseph Myers <joseph@codesourcery.com>
23494 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
23495 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
23497 2017-11-04 Mike FABIAN <mfabian@redhat.com>
23499 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
23502 2017-11-04 Florian Weimer <fweimer@redhat.com>
23504 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
23506 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23508 * math/math.h [__HAVE_DISTINCT_FLOAT16
23509 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23510 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23511 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23512 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
23513 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
23514 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
23515 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23516 (__MATH_TG_F32): New macro.
23517 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23518 (__MATH_TG_F64X): Likewise.
23519 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23520 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
23522 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
23524 * po/de.po: Update translations.
23525 * po/ru.po: Likewise.
23527 2017-11-03 Florian Weimer <fweimer@redhat.com>
23529 * manual/filesys.texi (Hard Links): Document linkat.
23531 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23533 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
23534 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23535 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23536 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23537 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23538 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23539 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
23540 the same as _Float128.
23541 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23542 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23543 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
23546 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
23548 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
23550 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
23552 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23553 (strtof32x): Likewise.
23554 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23555 (strtof64x): Likewise.
23556 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23557 (strtof128x): Likewise.
23558 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23559 (strfromf16): Likewise.
23560 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23561 (strfromf32): Likewise.
23562 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23563 (strfromf64): Likewise.
23564 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23565 (strfromf32x): Likewise.
23566 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23567 (strfromf64x): Likewise.
23568 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23569 (strfromf128x): Likewise.
23570 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
23571 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
23572 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
23573 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
23574 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
23575 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
23577 2017-11-03 Richard Henderson <rth@twiddle.net>
23579 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
23581 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23583 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
23585 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23587 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
23588 DT_TLSDESC_GOT initialization.
23589 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
23590 (_dl_tlsdesc_resolve_hold): Likewise.
23591 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
23592 (_dl_tlsdesc_resolve_hold): Likewise.
23593 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
23594 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23596 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23598 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
23600 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23603 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
23604 non-lazily for R_ARM_TLS_DESC.
23606 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23609 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
23610 R_ARM_TLS_DESC case.
23611 (elf_machine_lazy_rel): Remove the prelink check.
23613 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23615 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
23616 DT_TLSDESC_GOT initialization.
23617 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
23618 (_dl_tlsdesc_resolve_rela): Likewise.
23619 (_dl_tlsdesc_resolve_hold): Likewise.
23620 (_dl_tlsdesc_undefweak): Remove ldar.
23621 (_dl_tlsdesc_dynamic): Likewise.
23622 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
23623 (_dl_tlsdesc_resolve_rela): Likewise.
23624 (_dl_tlsdesc_resolve_hold): Likewise.
23625 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
23626 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23627 (_dl_tlsdesc_resolve_rela): Likewise.
23628 (_dl_tlsdesc_resolve_hold): Likewise.
23630 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23632 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
23633 binding and initialization non-lazily for R_AARCH64_TLSDESC.
23635 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23637 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
23638 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23640 2017-11-02 Joseph Myers <joseph@codesourcery.com>
23642 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
23644 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
23645 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
23646 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
23647 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
23648 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
23649 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
23650 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
23651 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
23652 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
23653 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
23654 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
23656 2017-11-02 Mike FABIAN <mfabian@redhat.com>
23659 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
23660 * localedata/locales/tpi_PG: Add standard header.
23662 2017-11-02 Florian Weimer <fweimer@redhat.com>
23664 test-errno-linux: quotactl can fail with EPERM in containers.
23665 * sysdeps/unix/sysv/linux/test-errno-linux.c
23666 (LIST, LIST_FORWARD): New macros.
23667 (check_error_in_list): New function.
23668 (test_wrp_rv): Accept list of permitted error codes.
23669 (test_wrp_rv2): Remove.
23670 (test_wrp): Call test_wrp_rv with list of error codes.
23671 (test_wrp2): Accept list of error codes.
23672 (do_test): Adjust. Allow EPERM for quotactl.
23674 2017-11-02 Florian Weimer <fweimer@redhat.com>
23676 * stdio-common/bug16.c (do_test): Use array_length.
23677 * stdio-common/errlist.c (_sys_nerr): Likewise.
23678 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
23679 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
23680 * stdio-common/psiginfo.c (psiginfo): Use array_length.
23681 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
23682 (do_test): Use array_length.
23683 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
23684 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
23685 * stdio-common/tst-printf-round.c (do_test): Likewise.
23686 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
23687 (CHECK): Use array_length.
23688 * stdio-common/tstdiomisc.c (t3, F): Likewise.
23689 * stdio-common/tstscanf.c (main): Likewise.
23690 * stdio-common/vfprintf.c (process_string_arg): Likewise.
23692 2017-11-02 Florian Weimer <fweimer@redhat.com>
23694 Add array_length and array_end macros.
23695 * include/array_length.h: New file.
23697 2017-11-02 Florian Weimer <fweimer@redhat.com>
23700 * posix/tst-glob-tilde.c (do_noescape): New variable.
23701 (one_test): Process it.
23702 (do_test): Set do_noescape. Add unescaping test case.
23704 2017-11-01 Joseph Myers <joseph@codesourcery.com>
23707 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
23708 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
23709 with appropriate macros defined and undefined.
23710 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
23711 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23712 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
23713 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23714 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
23715 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23716 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
23717 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23718 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
23719 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23722 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
23723 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
23724 that for long double. Do not condition define and undefine of
23725 _Mdouble_complex_ on [__CFLOAT128].
23727 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
23729 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23730 of <sysdeps/generic/sysdep.h>.
23731 (ALIGNARG): Removed.
23732 (ASM_SIZE_DIRECTIVE): Likewise.
23735 (ENTRY_CHK): Likewise.
23736 (END_CHK): Likewise.
23737 (syscall_error): Likewise.
23738 (mcount): Likewise.
23739 (PSEUDO_END): Likewise.
23741 (atom_text_section): Likewise.
23742 * sysdeps/x86/sysdep.h: New file.
23743 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23744 of <sysdeps/generic/sysdep.h>.
23745 (ALIGNARG): Removed.
23746 (ASM_SIZE_DIRECTIVE): Likewise.
23749 (ENTRY_CHK): Likewise.
23750 (END_CHK): Likewise.
23751 (syscall_error): Likewise.
23752 (mcount): Likewise.
23753 (PSEUDO_END): Likewise.
23755 (atom_text_section): Likewise.
23757 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
23759 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
23760 category of LC_CTYPE set to "i18n:2012".
23761 * localedata/locales/i18n_ctype: Regenerate.
23763 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
23765 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
23766 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
23767 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23768 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23770 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
23771 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
23772 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
23773 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
23775 2017-10-31 Joseph Myers <joseph@codesourcery.com>
23778 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
23780 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
23782 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
23784 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23785 (CMPLXF32X): Likewise.
23786 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23787 (CMPLXF64X): Likewise.
23788 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23789 (CMPLXF128X): Likewise.
23792 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
23793 (__MATH_EVAL_FMT2): Define to add 0.0f.
23795 2017-10-31 Alan Modra <amodra@gmail.com>
23797 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
23799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
23800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
23801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
23802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
23803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
23804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
23805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
23806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
23807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
23808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
23809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
23810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
23811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
23812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
23813 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
23814 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
23815 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
23816 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
23817 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
23818 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
23819 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
23820 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
23821 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
23822 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
23823 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23824 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
23825 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
23826 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
23827 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
23828 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
23829 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23830 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23831 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
23832 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
23833 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
23834 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
23835 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
23836 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
23837 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
23838 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23839 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
23840 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
23841 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
23842 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
23843 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
23844 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
23845 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
23846 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
23847 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23848 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23849 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
23850 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
23851 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
23852 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
23853 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23854 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
23855 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
23856 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
23857 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23858 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23859 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23860 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
23861 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
23862 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23863 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
23864 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
23865 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
23866 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
23867 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
23869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
23870 include sysdep.h and math_ldbl_opt.h.
23872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
23873 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
23874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
23875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
23876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
23877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
23878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
23879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
23880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
23881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
23882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
23883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
23884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
23885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
23886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
23887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
23888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
23889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
23890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
23891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
23892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
23893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
23894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
23895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
23896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
23897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
23899 2017-10-31 Alan Modra <amodra@gmail.com>
23901 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
23902 string/strncase_l.c, not string/strncase.c.
23903 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
23904 (libc_hidden_def): Redefine.
23906 2017-10-31 Alan Modra <amodra@gmail.com>
23908 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
23909 (__STRCMP, STRCMP, __strcasecmp_l): Define.
23910 (__strcasecmp): Don't define.
23912 2017-10-31 Alan Modra <amodra@gmail.com>
23914 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
23916 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23917 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23918 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23920 2017-10-31 Alan Modra <amodra@gmail.com>
23922 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
23925 2017-10-31 Alan Modra <amodra@gmail.com>
23927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
23928 Redefine only when SHARED.
23930 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23932 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23933 Include <bits/math-finite.h> with appropriate macros defined and
23935 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23936 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23937 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23938 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23939 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23941 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
23942 [!_Mlong_double_] (_Mlong_double_): Likewise.
23943 [!_Mfloat16_] (_Mfloat16_): Likewise.
23944 [!_Mfloat32_] (_Mfloat32_): Likewise.
23945 [!_Mfloat64_] (_Mfloat64_): Likewise.
23946 [!_Mfloat128_] (_Mfloat128_): Likewise.
23947 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
23948 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
23949 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
23950 (_Mdouble_): Define without indirection through those macros.
23951 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
23952 [!_Mfloat128_] (_Mfloat128_): Likewise.
23953 [_Mlong_double_] (_Mlong_double_): Likewise.
23954 (_Mdouble_): Define without indirection through those macros.
23955 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
23956 not add -D_Mlong_double_=double.
23957 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
23958 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
23960 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23962 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
23964 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23966 * sysdeps/x86/libc-start.c: Reformat.
23968 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23971 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
23972 (1): Renamed to ...
23975 (L(Src2)): Likewise.
23976 (L(1)): Renamed to ...
23979 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23981 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
23982 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
23983 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
23984 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
23985 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
23986 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
23987 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
23988 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
23989 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
23990 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
23991 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
23992 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
23993 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
23994 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
23995 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
23996 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
23997 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
23998 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
23999 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
24000 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
24001 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
24002 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
24003 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
24004 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
24005 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
24006 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
24007 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
24008 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
24009 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
24010 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
24011 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
24012 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
24013 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
24014 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
24015 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
24016 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
24017 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
24018 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
24019 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
24020 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
24021 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
24022 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
24023 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
24024 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
24025 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
24026 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
24027 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
24028 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
24029 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
24030 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
24031 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
24032 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
24033 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
24034 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
24035 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
24036 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
24037 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
24038 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
24039 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
24040 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
24041 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
24042 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
24043 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
24044 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
24045 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
24046 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
24048 2017-10-30 Florian Weimer <fweimer@redhat.com>
24050 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
24052 * io/tst-mkdirat.c (do_test): Likewise.
24053 * io/tst-mkfifoat.c (do_test): Likewise.
24054 * io/tst-mknodat.c (do_test): Likewise.
24055 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
24056 * locale/programs/locale.c (select_dirs): Likewise.
24057 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
24058 * posix/bug-glob2.c (my_readdir): Likewise.
24059 * posix/tst-dir.c (main): Likewise.
24060 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
24061 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
24063 2017-10-30 Florian Weimer <fweimer@redhat.com>
24065 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
24068 2017-10-30 Florian Weimer <fweimer@redhat.com>
24070 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
24071 Convert to support/test-driver.c.
24072 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
24073 New macro parameters.
24074 (PRINTF): Remove macro. Use test_verbose conditionals instead.
24075 * posix/tst-gnuglob.c: New file.
24076 * posix/tst-gnuglob64.c: Likewise.
24077 * posix/Makefile (tests): Add tst-gnuglob64.
24079 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
24082 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
24083 and use a better translation for March in “mon”.
24084 * localedata/locales/csb_PL: Use more ASCII to improve the
24085 readability of the source.
24087 2017-10-30 Mike FABIAN <mfabian@redhat.com>
24090 * localedata/locales/km_KH: Use ASCII as much
24091 as possible for better readability of the source and
24092 remove useless comments.
24093 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
24094 was commented out and apparently wrong anyway because it was
24095 using Lao characters. If Buddhist era should be used
24096 for km_KH, a native speaker should write the correct formaat
24098 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
24099 (According to CLDR, the first weekday for Cambodia is Sunday).
24100 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
24101 (These were using Lao characters which must be wrong. If we get
24102 the correct data from a native speaker, we could add it back, until
24103 then it is better not to have name_mr and name_mrs at all than
24106 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
24108 * locale/loadlocale.c: Correct size of
24109 _nl_value_type_LC_<category> arrays.
24111 2017-10-27 Joseph Myers <joseph@codesourcery.com>
24113 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24114 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
24115 with appropriate macros defined and undefined.
24116 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24117 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24118 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24119 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24120 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24122 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
24124 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
24127 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24129 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
24130 with lowercase letters to make it agree with CLDR.
24132 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24135 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
24136 first letters of yesstr and nostr in yesexpr and noexpr,
24137 not for the full words.
24138 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24139 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
24140 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
24141 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
24142 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
24143 first letters of yesstr and nostr in yesexpr and noexpr,
24144 until now only English was matched in yesexpr and noexpr.
24145 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
24146 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
24147 fil but not for tl. As tl and fil are very similar, using fil
24148 is probably better than using English.
24150 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
24153 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
24154 in yesstr and nostr.
24156 2017-10-26 Joseph Myers <joseph@codesourcery.com>
24158 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24159 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
24160 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
24162 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
24164 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
24166 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
24168 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24169 (SNANF128X): Likewise.
24171 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24172 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
24173 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24174 (HUGE_VAL_F32): Likewise.
24175 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24176 (HUGE_VAL_F64): Likewise.
24177 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24178 (HUGE_VAL_F32X): Likewise.
24179 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24180 (HUGE_VAL_F64X): Likewise.
24181 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24182 (HUGE_VAL_F128X): Likewise.
24184 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24186 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
24187 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
24188 for the br_FR locale.
24190 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24193 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
24195 2017-10-25 Carlos O'Donell <carlos@redhat.com>
24197 * locale/programs/record-status.h: Define globals, and function
24198 prototypes. Move function bodies...
24199 * locale/programs/record-status.c: ... to here. New file.
24200 * iconv/Makefile (iconv_prog-modules): Add record-status.
24201 * locale/Makefile (lib-modules): Likewise.
24202 * iconv/iconv_prog.c: Remove verbose.
24203 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
24204 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
24205 record a warning about ASCII compatibility.
24206 * locale/programs/ld-monetary.c (monetary_finish): If
24207 warn_int_curr_symbol is true then record a warning about the symbol
24208 not being in our ISO 4217 list.
24209 * locale/programs/locale.c: Include record-status.h. Remove verbose.
24210 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
24211 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
24212 (OPT_NO_WARN): Define.
24213 (OPT_WARN): Define.
24214 (options): Add entry for --no-warnings, and --warnings.
24215 (set_warnings): New function to enable/disable warnings.
24216 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
24217 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
24218 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
24219 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
24220 Pass flags to generate_locale.
24221 (generate_locale): Accept new flag argument and pass it to localedef
24223 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
24224 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
24226 * localedata/Makefile (test-input-data): Use full file name.
24227 * localedata/da_DK.in: Rename to...
24228 * localedata/da_DK.ISO-8859-1.in: ...this.
24229 * localedata/de_DE.in: Rename to...
24230 * localedata/de_DE.ISO-8859-1.in: ...this.
24231 * localedata/en_US.in: Rename to...
24232 * localedata/en_US.ISO-8859-1.in: ...this.
24233 * localedata/fr_FR.in: Rename to...
24234 * localedata/fr_FR.UTF-8.in: ... this.
24235 * localedata/hr_HR.in: Rename to...
24236 * localedata/hr_HR.ISO-8859-2.in: ...this.
24237 * localedata/hu_HU.in: Rename to...
24238 * localedata/hu_HU.UTF-8.in: ...this.
24239 * localedata/si_LK.in: Rename to...
24240 * localedata/si_LK.UTF-8.in: ...this.
24241 * localedata/sv_SE.in: Rename to...
24242 * localedata/sv_SE.ISO-8859-1.in: ...this.
24243 * localedata/tr_TR.in: Rename to...
24244 * localedata/tr_TR.UTF-8.in: ...this.
24245 * localedata/uk_UA.in: Rename to...
24246 * localedata/uk_UA.UTF-8.in: ...this.
24247 * localedata/sort-test.sh: Test file is locale name with the
24250 * localedata/unicode-gen/Makefile (check_i18n): Rename to
24251 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
24253 * localedata/locales/i18n_ctype: Regenerate.
24254 * localedata/locales/tr_TR: Likewise.
24255 * localedata/locales/translit_circle: Likewise.
24256 * localedata/locales/translit_cjk_compat: Likewise.
24257 * localedata/locales/translit_combining: Likewise.
24258 * localedata/locales/translit_compat: Likewise.
24259 * localedata/locales/translit_font: Likewise.
24260 * localedata/locales/translit_fraction: Likewise.
24262 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24264 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
24265 lxvd2x/stxvd2x with lvx/stvx.
24266 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
24268 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
24270 * include/alloc_buffer.h: Replace "if if " with "if " in
24272 * sysdeps/mips/memcpy.S: Likkewise.
24273 * sysdeps/mips/memset.S: Likewise.
24274 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
24276 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
24278 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
24281 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24284 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
24285 yesexpr and noexpr.
24286 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24287 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24288 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24289 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24290 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24291 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24292 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24294 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24296 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
24297 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24298 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24299 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24300 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24301 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
24302 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24303 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24304 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24305 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24306 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24307 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24309 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24311 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
24312 as possible for better readability of the source.
24313 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
24314 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
24315 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
24316 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
24317 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
24318 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
24319 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
24320 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
24321 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24322 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
24323 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
24324 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
24325 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
24326 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
24327 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
24328 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
24329 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
24330 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
24331 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
24332 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
24333 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
24334 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
24335 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
24336 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
24337 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
24338 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
24339 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
24340 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
24341 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
24342 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
24343 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
24344 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24345 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
24346 * localedata/locales/en_US (LC_MESSAGES): Likewise.
24347 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
24348 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
24349 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
24350 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
24351 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
24352 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
24353 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
24354 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
24355 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
24356 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
24357 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
24358 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
24359 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
24360 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
24361 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
24362 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
24363 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
24364 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
24365 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
24366 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24367 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24368 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
24369 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
24370 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24371 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
24372 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
24373 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
24374 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
24375 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
24376 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
24377 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
24378 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
24379 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
24380 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
24381 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
24382 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
24383 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
24384 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
24385 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
24386 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
24387 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24388 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
24389 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
24390 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
24391 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
24392 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
24393 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
24394 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
24395 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
24396 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24397 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
24398 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
24399 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
24400 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24401 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
24402 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
24403 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
24404 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
24405 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24406 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
24407 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
24408 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24409 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
24410 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24411 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
24412 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
24413 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
24414 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
24415 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
24416 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
24417 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
24418 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
24419 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
24420 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
24421 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
24422 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
24423 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
24424 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
24425 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24426 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
24427 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
24428 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
24429 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
24430 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
24431 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
24432 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
24433 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
24434 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
24435 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
24436 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
24437 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
24438 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
24439 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
24440 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
24441 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
24442 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
24443 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
24444 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
24445 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
24446 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
24447 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
24448 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
24449 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
24450 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
24451 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
24452 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
24453 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
24454 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
24455 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
24456 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
24457 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
24458 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24459 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
24460 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
24461 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
24462 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
24463 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
24464 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
24465 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
24466 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
24467 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24468 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
24469 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
24470 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
24471 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
24472 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
24473 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
24474 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
24475 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
24476 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
24477 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
24478 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24479 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
24480 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
24481 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
24482 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
24483 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24484 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24485 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24486 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
24488 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24490 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
24491 (Use first letters of yesstr and nostr correctly instead of using
24494 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24496 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
24497 (Use first letters of yesstr and nostr correctly).
24499 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24501 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
24502 also check for the first characters of yesstr and nostr.
24503 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
24504 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
24506 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24508 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
24509 also check for Chinese characters.
24511 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24513 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
24514 match also for the contents of yesstr and nostr. As the first letter
24515 of yesstr and nostr is equal, checking only for the first letter
24518 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24520 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
24521 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
24523 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24525 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
24526 of main contributor.
24528 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24530 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
24531 instead of using English.
24533 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24535 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
24536 by including the first letters of nostr and yesexpr in the regexp.
24537 Also make it more readable by using ASCII where possible.
24539 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24541 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
24542 the first letter of nostr in the regexp. It agrees with CLDR now.
24543 Also make it more readable by using ASCII where possible.
24545 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24547 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
24548 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
24549 these strings contain a U+17D6 (which somewhat looks like a colon)
24550 instead of a real colon to separate the full words for “yes”
24551 and “no” from the single letter responses.
24553 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24555 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
24556 it agree with CLDR (include the first letter of yesstr).
24557 Also make it more readable by using ASCII where possible.
24559 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24561 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
24562 and improve yesexpr and noexpr. The yesstr and nostr apparently
24563 came from CLDR. And CLDR has a bug there: these strings contain
24564 a U+0903 (which looks like a colon) instead of a real colon
24565 to separate the full words for “yes” and “no” from the single
24568 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24570 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
24571 letters of the full yesstr and nostr in yesexpr and noexpr.
24573 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24575 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
24576 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
24577 * localedata/locales/an_ES: Make source more readable by using ASCII
24580 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24583 * localedata/locales/yuw_PG: New file.
24584 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
24585 * locale/iso-639.def: Add Yau (Uruwa).
24587 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24589 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
24591 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24593 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
24594 (__libc_realloc): Likewise.
24595 (_mid_memalign): Likewise.
24596 (__libc_calloc): Likewise.
24598 2017-10-23 Mike FABIAN <mfabian@redhat.com>
24600 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
24601 by adding the generic +1 and -0 as in all other locales.
24602 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
24603 day names and make it more readable by using ASCII where possible.
24605 2017-10-24 Joseph Myers <joseph@codesourcery.com>
24607 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
24608 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
24610 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24612 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
24613 WNOHANG in waitpid call.
24615 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
24617 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
24618 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
24620 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
24621 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
24622 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
24623 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
24624 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
24625 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
24626 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
24627 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
24630 2017-10-23 Michael Collison <michael.collison@arm.com>
24632 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
24633 with __builtin_sqrt.
24634 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
24635 with __builtin_sqrtf.
24636 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
24637 with __builtin_ceil.
24638 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
24639 with __builtin_ceilf.
24640 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
24641 with __builtin_floor.
24642 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
24643 with __builtin_floorf.
24644 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
24645 with __builtin_fma.
24646 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
24647 with __builtin_fmaf.
24648 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
24649 with __builtin_fmax.
24650 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
24651 with __builtin_fmaxf.
24652 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
24653 with __builtin_fmin.
24654 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
24655 with __builtin_fminf.
24656 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
24657 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
24658 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
24659 with builtin_rint and conversion to int.
24660 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
24661 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
24662 with builtin_llround.
24663 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
24664 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
24665 with builtin_rint and conversion to long int.
24666 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
24667 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
24668 with builtin_lround.
24669 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
24670 with builtin_lroundf.
24671 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
24672 statements with __builtin_nearbyint.
24673 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
24674 statements with __builtin_nearbyintf.
24675 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
24676 with __builtin_rint.
24677 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
24678 with __builtin_rintf.
24679 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
24680 with __builtin_round.
24681 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
24682 with __builtin_roundf.
24683 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
24684 with __builtin_trunc.
24685 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
24686 with __builtin_truncf.
24687 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
24688 and s_l[l]round[f].c too.
24690 2017-10-23 Alan Modra <amodra@gmail.com>
24692 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
24693 Adjust stack after restoring regs. Add missing LR cfi_restore.
24695 2017-10-23 Alan Modra <amodra@gmail.com>
24697 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
24698 Move LR save and frame setup/teardown and LR restore to
24699 immediately around memset call. Provide cfi.
24701 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24703 * sysdeps/i386/fpu/e_powf.S: Removed.
24704 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
24705 * sysdeps/i386/fpu/w_powf.c: Likewise.
24706 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
24707 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24708 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24710 (CFLAGS-e_powf-sse2.c): New.
24711 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
24712 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
24714 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24716 * sysdeps/i386/fpu/e_log2f.S: Removed.
24717 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
24718 * sysdeps/i386/fpu/w_log2f.c: Likewise.
24719 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
24720 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24721 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24723 (CFLAGS-e_log2f-sse2.c): New.
24724 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
24725 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
24727 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24729 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24731 (CFLAGS-e_powf-fma.c): New.
24732 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
24733 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
24735 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24737 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24739 (CFLAGS-e_log2f-fma.c): New.
24740 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
24741 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
24743 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24745 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24747 (CFLAGS-e_logf-fma.c): New.
24748 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
24749 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
24751 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24753 * sysdeps/i386/fpu/e_logf.S: Removed.
24754 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
24755 * sysdeps/i386/fpu/w_logf.c: Likewise.
24756 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
24757 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
24758 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24759 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24761 (CFLAGS-e_logf-sse2.c): New.
24762 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
24763 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
24765 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24767 * sysdeps/i386/fpu/e_exp2f.S: Removed.
24768 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
24769 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
24770 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24771 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24773 (CFLAGS-e_exp2f-sse2.c): New.
24774 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
24775 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
24777 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24779 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24781 (CFLAGS-e_exp2f-fma.c): New.
24782 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
24783 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
24785 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24787 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
24788 * sysdeps/i386/fpu/e_expf.S: Likewise.
24789 * sysdeps/i386/fpu/math_errf.c: Likewise.
24790 * sysdeps/i386/fpu/w_expf.c: Likewise.
24791 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
24792 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24793 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
24794 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
24795 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24796 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24797 Remove e_expf-ia32.
24798 (CFLAGS-e_expf-sse2.c): New.
24799 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
24800 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
24802 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24804 * sysdeps/x86_64/fpu/e_expf.S: Removed.
24805 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
24806 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
24807 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
24809 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
24811 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
24812 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
24814 (__redirect_expf): This.
24815 (SYMBOL_NAME): Changed to expf.
24816 (__ieee754_expf): Renamed to ...
24818 (__GI___expf): This.
24819 (__ieee754_expf): Add strong_alias.
24820 (__expf_finite): Likewise.
24822 Include <sysdeps/ieee754/flt-32/e_expf.c>.
24824 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
24827 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
24830 2017-10-21 Florian Weimer <fweimer@redhat.com>
24832 * posix/Makefile (tests): Add tst-glob-tilde.
24833 (tests-special): Add tst-glob-tilde-mem.out
24834 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
24835 (tst-glob-tilde-mem.out): Add mtrace check.
24836 * posix/tst-glob-tilde.c: New file.
24838 2017-10-20 Joseph Myers <joseph@codesourcery.com>
24840 * bits/floatn-common.h: New file.
24841 * math/Makefile (headers): Add bits/floatn-common.h.
24842 * bits/floatn.h: Include <bits/floatn-common.h>.
24843 * sysdeps/ia64/bits/floatn.h: Likewise.
24844 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24845 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
24846 * sysdeps/powerpc/bits/floatn.h: Likewise.
24847 * sysdeps/x86/bits/floatn.h: Likewise.
24849 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24851 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
24852 indicates whether compiler emits an warning for alias for
24853 functions with incompatible types.
24856 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
24857 the auxiliary process is terminated by a signal before calling _exit
24860 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24863 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
24865 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
24866 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
24867 and bit_arch_XSAVEC_Usable if needed.
24868 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
24869 and bit_arch_Use_dl_runtime_resolve_opt.
24870 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
24872 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
24873 (bit_arch_Prefer_No_AVX512): Updated.
24874 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
24875 (bit_arch_XSAVEC_Usable): New.
24876 (STATE_SAVE_OFFSET): Likewise.
24877 (STATE_SAVE_MASK): Likewise.
24878 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
24879 (cpu_features): Add xsave_state_size and xsave_state_full_size.
24880 (index_arch_Use_dl_runtime_resolve_opt): Removed.
24881 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
24882 (index_arch_XSAVEC_Usable): New.
24883 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
24884 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
24885 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
24887 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
24888 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
24889 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
24890 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
24891 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
24892 _dl_runtime_resolve_xsavec.
24893 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
24895 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
24896 instead of VEC_SIZE.
24897 (REGISTER_SAVE_BND0): Removed.
24898 (REGISTER_SAVE_BND1): Likewise.
24899 (REGISTER_SAVE_BND3): Likewise.
24900 (REGISTER_SAVE_RAX): Always defined to 0.
24902 (_dl_runtime_resolve_avx): Likewise.
24903 (_dl_runtime_resolve_avx_slow): Likewise.
24904 (_dl_runtime_resolve_avx_opt): Likewise.
24905 (_dl_runtime_resolve_avx512): Likewise.
24906 (_dl_runtime_resolve_avx512_opt): Likewise.
24907 (_dl_runtime_resolve_sse): Likewise.
24908 (_dl_runtime_resolve_sse_vex): Likewise.
24910 (_dl_runtime_resolve_fxsave): Likewise.
24911 (USE_XSAVE): Likewise.
24912 (_dl_runtime_resolve_xsave): Likewise.
24913 (USE_XSAVEC): Likewise.
24914 (_dl_runtime_resolve_xsavec): Likewise.
24915 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
24917 (_dl_runtime_resolve_avx512_opt): Likewise.
24918 (_dl_runtime_resolve_avx): Likewise.
24919 (_dl_runtime_resolve_avx_opt): Likewise.
24920 (_dl_runtime_resolve_sse): Likewise.
24921 (_dl_runtime_resolve_sse_vex): Likewise.
24922 (_dl_runtime_resolve_fxsave): New.
24923 (_dl_runtime_resolve_xsave): Likewise.
24924 (_dl_runtime_resolve_xsavec): Likewise.
24926 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
24930 * posix/glob.c (__glob): Fix one-byte overflow.
24932 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24934 * malloc/malloc.c (sysdep-cancel.h): Add include.
24936 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24938 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
24940 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
24942 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
24943 (tests): Remove $(objpfx)ga_test depdendency.
24944 * resolv/ga_test.c: Remove file.
24946 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24949 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
24950 * localedata/locales/kab_DZ: New file.
24952 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24954 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
24955 _dl_relocate_static_pie instead of _dl_start to compute load
24956 address in static PIE.
24958 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24960 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
24962 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24965 * localedata/SUPPORTED: Add shn_MM/UTF-8.
24966 * localedata/locales/shn_MM: New file.
24968 2017-10-20 Florian Weimer <fweimer@redhat.com>
24971 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
24972 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
24973 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
24974 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
24975 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
24976 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
24978 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
24980 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24982 2017-10-19 Joseph Myers <joseph@codesourcery.com>
24984 * sysdeps/mips/ieee754/bits/floatn.h: New file.
24987 * sysdeps/mips/bits/long-double.h: Move to ....
24988 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
24990 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
24992 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
24994 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
24995 H.J. Lu <hongjiu.lu@intel.com>
24998 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
24999 GLRO(dl_platform) to NULL.
25000 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
25001 (modules-names): Add tst-platformmod-1 and
25002 x86_64/tst-platformmod-2.
25003 (CFLAGS-tst-platform-1.c): New.
25004 (CFLAGS-tst-platformmod-1.c): Likewise.
25005 (CFLAGS-tst-platformmod-2.c): Likewise.
25006 (LDFLAGS-tst-platformmod-2.so): Likewise.
25007 ($(objpfx)tst-platform-1): Likewise.
25008 ($(objpfx)tst-platform-1.out): Likewise.
25009 (tst-platform-1-ENV): Likewise.
25010 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
25011 * sysdeps/x86_64/tst-platform-1.c: New file.
25012 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
25013 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
25015 2017-10-19 Mike FABIAN <mfabian@redhat.com>
25018 * locale/iso-639.def: Add Karbi.
25019 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
25020 * localedata/locales/mjw_IN: New file.
25022 2017-10-18 Joseph Myers <joseph@codesourcery.com>
25024 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
25025 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25026 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
25027 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
25028 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25029 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25030 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
25032 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25033 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25034 * manual/math.texi (Mathematics): Document additional architecture
25035 support for _Float128.
25036 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25037 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25038 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25039 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25040 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25041 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25042 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25043 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25044 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25045 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25046 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25047 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25048 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25049 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25050 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25052 2017-10-18 Renlin Li <renlin.li@arm.com>
25054 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
25055 _DYNAMIC symbol to calculate load address.
25057 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
25059 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
25060 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
25062 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
25063 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
25065 2017-10-18 Mike FABIAN <mfabian@redhat.com>
25068 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
25069 and improve readability by using more ASCII.
25070 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
25071 and improve readability by using more ASCII.
25073 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
25075 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
25076 not all targets support atomics on bool.
25078 2017-10-17 Joseph Myers <joseph@codesourcery.com>
25080 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
25081 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
25083 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25084 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
25085 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25086 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
25087 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25088 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
25090 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25092 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
25095 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25098 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
25099 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
25100 (do_check_remalloced_chunk): Fix build bug.
25101 (do_check_malloc_state): Add assert that checks arena->top.
25102 (malloc_consolidate): Remove initialization.
25103 (int_mallinfo): Remove call to malloc_consolidate.
25104 (__libc_mallopt): Clarify why malloc_consolidate is needed.
25106 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25108 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
25109 (have_fastchunks): Remove.
25110 (clear_fastchunks): Remove.
25111 (set_fastchunks): Remove.
25112 (malloc_state): Add have_fastchunks.
25113 (malloc_init_state): Use have_fastchunks.
25114 (do_check_malloc_state): Remove incorrect invariant checks.
25115 (_int_malloc): Use have_fastchunks.
25116 (_int_free): Likewise.
25117 (malloc_consolidate): Likewise.
25119 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25121 * malloc/malloc.c (tcache_put): Inline.
25122 (tcache_get): Inline.
25124 2017-10-17 Jordi Mallach <jordi@gnu.org>
25126 Aurelien Jarno <aurelien@aurel32.net>
25128 * localedata/locales/ca_ES@valencia: New file.
25129 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
25131 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
25134 * math/math.h: Let signbit use the builtin in C++ mode with gcc
25137 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25139 * scripts/build-many-glibcs.py (Context.add_all_configs):
25140 Add arm-linux-gnueabihf multiarch extra_glibcs.
25142 * sysdeps/generic/ifunc-init.h: New file.
25143 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
25145 2017-10-17 Mike FABIAN <mfabian@redhat.com>
25148 * localedata/locales/el_GR: Set n_cs_precedes to 0.
25149 * localedata/locales/el_CY: copy "el_GR" because it is identical.
25150 * stdlib/tst-strfmon_l.c: adapt test case.
25152 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25154 * sysdeps/generic/float128-abi.h: New file.
25155 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
25156 non-__prefixed symbols to ....
25157 * math/Versions: ... here. Include <float128-abi.h>.
25158 * stdlib/Versions ... and here. Include <float128-abi.h>
25160 2017-10-16 Florian Weimer <fweimer@redhat.com>
25162 * version.h (VERSION): Switch to ".9000" as the development
25165 2017-10-16 Florian Weimer <fweimer@redhat.com>
25168 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
25169 compat_symbol_reference to access non-default version.
25171 2017-10-16 Florian Weimer <fweimer@redhat.com>
25173 * malloc/Makefile (others-extras): Set to mcheck-init.o.
25175 2017-10-16 Carlos O'Donell <carlos@redhat.com>
25177 * include/shlib-compat.h (compat_symbol_reference): Update
25180 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25182 * math/Makefile (test-types): Add
25183 $(type-float128-$(float128-alias-fcts)).
25184 * math/test-float128.h (TYPE_STR): Define conditional on
25185 [FLT128_MANT_DIG == LDBL_MANT_DIG].
25186 (ULP_IDX): Likewise.
25187 (ULP_I_IDX): Likewise.
25189 * stdlib/strtold.c: Include <bits/floatn.h>
25190 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
25191 and later undefine as macro. Define as weak alias if
25193 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
25194 and later undefine as macro. Define as weak alias if
25196 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
25197 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
25198 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25199 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25200 Define and later undefine as macro. Define as weak alias if
25202 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
25204 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
25205 Define and later undefine as macro. Define as weak alias if
25207 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25208 Define and later undefine as macro. Define as weak alias if
25211 2017-10-15 Carlos O'Donell <carlos@redhat.com>
25213 * localedata/collate-test.c (allocate_arrays): Don't use \n in
25214 record_verbose messages.
25216 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
25219 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
25220 to silence -O3 -Wall warning with GCC 7.
25222 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
25224 * Makeconfig (+link-static-before-libc): Use the first of
25225 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
25226 * gmon/Makefile (tests): Add tst-gmon-static.
25227 (tests-static): Likewise.
25228 (CFLAGS-tst-gmon-static.c): New.
25229 (CRT-tst-gmon-static): Likewise.
25230 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
25231 (tst-gmon-static-ENV): Likewise.
25232 (tests-special): Likewise.
25233 ($(objpfx)tst-gmon-static.out): Likewise.
25234 (clean-tst-gmon-static-data): Likewise.
25235 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
25236 * gmon/tst-gmon-static-gprof.sh: New file.
25237 * gmon/tst-gmon-static.c: Likewise.
25239 2017-10-13 Carlos O'Donell <carlos@redhat.com>
25242 * locale/programs/linereader.c (get_string): Don't warn on
25243 non-symbolic character.
25246 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
25250 * locale/programs/record-status.h: New file
25251 * locale/programs/locale.c: Add comment.
25252 * locale/programs/charmap-dir.c: Don't include error.h.
25253 (charmap_opendir): Use record_error.
25254 * locale/programs/charmap.c: Don't include error.h.
25255 (charmap_read): Use record_error, and record_warning.
25256 (parse_charmap): Likewise.
25257 * locale/programs/ld-address.c: Don't include error.h.
25258 (address_finish): Use record_error, and record_warning.
25259 * locale/programs/ld-collate.c: Don't include error.h.
25260 (collate_finish): Use record_error, and record_error_at_line.
25261 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
25262 (ctype_class_new): Likewise.
25263 (ctype_map_new): Likewise.
25264 (set_one_default): Likewise.
25265 (set_class_defaults): Likewise.
25266 (translit_flatten): Likewise.
25267 (allocate_arrays): Use record_error, and record_verbose.
25268 * locale/programs/ld-identification.c: Don't include error.h.
25269 (indentation_finish): Use record_error and record_warning.
25270 * locale/programs/ld-measurement.c: Don't include error.h.
25271 (measurement_finish): Use record_error.
25272 * locale/programs/ld-messages.c
25273 (message_finish): Likewise.
25274 * locale/programs/ld-monetary.c
25275 (monetary_finish): Likewise.
25276 * locale/programs/ld-name.c (name_finish): Use record_error
25277 and record_warning.
25278 * locale/programs/ld-numeric.c
25279 (numeric_finish): Use record_error.
25280 * locale/programs/ld-paper.c: Don't include error.h.
25281 (paper_finish): Use record_error.
25282 * locale/programs/ld-telephone.c: Don't include error.h.
25283 (telephone_finish): Use record_error.
25284 * locale/programs/ld-time.c (time_finish): Likewise.
25285 * locale/programs/linereader.h (lr_error): Make inline func.
25286 * locale/programs/localedef.c: Define recorded_warning_count,
25287 and recorded_error_count.
25288 (main): Use record_error. Use recorded_error_count and
25289 recorded_warning_count to issue correct error returns.
25290 (add_to_readlist): Use record_error.
25291 (find_locale): Likewise.
25292 (load_locale): Likewise.
25293 * locale/programs/localedef.h: Remove be_quiet
25294 and WITH_CUR_LOCALE.
25295 * locale/programs/locarchive.c (compare_from_file): Use
25297 * locale/programs/locfile.c (write_locale_data): Use
25299 * locale/programs/repertoire.c: Dont include error.h.
25300 (repertoire_complain): Use record_error.
25301 * localedata/tst-fmon.sh: Expect failures from localedef.
25302 * localedata/tst-locale.sh: Likewise.
25303 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
25305 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
25306 (REPORTS): Likewise.
25308 (i18n): Rename to...
25309 (i18n_ctype): ...this.
25310 (i18n-report): Rename to...
25311 (i18n_ctype-report): ...this.
25312 * localedata/locales/i18n_ctype: Regenerate.
25313 * localedata/locales/i18n: copy i18n_ctype.
25315 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25317 * stdlib/strfroml.c: Include <bits/floatn.h>.
25318 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
25319 Define before include of <stdlib.h> and undefine afterwards, then
25320 define as weak alias.
25322 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
25323 Undefine and restore default definition. Use
25324 libm_alias_ldouble_other.
25326 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
25329 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
25332 2017-10-13 James Clarke <jrtc27@jrtc27.com>
25334 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25335 Assign sym_map to be map for local symbols, as TLS relocations
25336 use sym_map to determine whether the symbol is defined and to
25337 extract the TLS information.
25338 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25339 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25341 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25344 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
25345 (math_force_eval): Add powerpc version.
25348 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
25350 (do_test): Likewise.
25351 * stdio-common/tst-printf.sh: Likewise.
25352 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
25353 ifdef clause in order to set the carry bit right. Replace r0 by
25354 0 without changing the behavior.
25356 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25358 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
25359 <libm-alias-ldouble.h>.
25360 (fabsl): Define using libm_alias_ldouble.
25361 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
25362 <libm-alias-ldouble.h>.
25363 (fabsl): Define using libm_alias_ldouble.
25365 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
25366 Remove conditional code.
25368 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
25369 Rename to __clog10_internal_l.
25370 (__clog10_internal_l): Define aliases using
25371 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
25374 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25376 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
25377 * benchtests/sincosf-inputs: New file.
25378 * benchtests/cosf-inputs: New file.
25379 * benchtests/sinf-inputs: New file.
25381 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25383 * posix/tst-spawn.c (do_test): Wait for both children.
25385 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
25388 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
25389 tests-pie): Add tst-gmon-pie.
25390 (CFLAGS-tst-gmon-pie.c): New.
25391 (CRT-tst-gmon-pie): Likewise.
25392 (tst-gmon-pie-ENV): Likewise.
25393 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
25394 ($(objpfx)tst-gmon-pie.out): Likewise.
25395 (clean-tst-gmon-pie-data): Likewise.
25396 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
25397 * gmon/gmon.c [PIC]: Include <link.h>.
25398 [PIC] (callback): New function.
25399 (write_hist): Add an argument for load address. Subtract load
25401 (write_call_graph): Likewise.
25402 (write_gmon): Call __dl_iterate_phdr to get load address, pass
25403 it to write_hist and write_call_graph.
25404 * gmon/tst-gmon-pie.c: New file.
25406 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25408 * math/Makefile (test-types-basic): New variable.
25409 (test-types): Likewise.
25410 (libm-test-support): Use $(test-types) instead of $(types).
25411 (libm-tests-base-normal): Likewise.
25412 (libm-tests-base-finite): Likewise.
25413 (libm-tests-base-inline): Likewise.
25414 (generated): Likewise.
25415 ($(objpfx)libm-test-support-$(t).c): Likewise.
25416 (libm-tests-for-type iterator): Likewise.
25417 (libm-test-support iterator): Likewise.
25418 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
25419 (ulp_idx): Use ULP_IDX.
25420 * math/test-ldouble.h: Include <float.h>.
25421 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
25422 (ULP_IDX): New macro.
25423 (ULP_I_IDX): Likewise.
25424 * math/test-double.h (ULP_IDX): Likewise.
25425 (ULP_I_IDX): Likewise.
25426 * math/test-float.h (ULP_IDX): Likewise.
25427 (ULP_I_IDX): Likewise.
25428 * math/test-float128.h (ULP_IDX): Likewise.
25429 (ULP_I_IDX): Likewise.
25431 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25433 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
25434 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25435 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25436 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
25437 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25438 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
25439 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
25440 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25441 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25442 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25443 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
25444 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25445 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25446 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25447 (SINGLE_THREAD_BY_GLOBAL): Define.
25448 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25450 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25452 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25454 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25456 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
25457 (SINGLE_THREAD_BY_GLOBAL): Likewise.
25458 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25461 2017-10-11 Andreas Schwab <schwab@suse.de>
25463 * nis/Makefile (aux): Remove.
25464 * nscd/Makefile (aux): Add nscd_hash.
25465 (nscd-modules): Likewise.
25466 ($(objpfx)nscd): Don't depend on libnsl.
25467 * nscd/nscd_hash.c: New file.
25468 * nscd/nscd_hash.h: Likewise.
25469 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
25470 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
25471 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
25472 instead of <nis/rpcsvc/nis.h>.
25473 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
25475 2017-10-11 Florian Weimer <fweimer@redhat.com>
25478 Avoid large NSS buffers with many addresses, aliases.
25479 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
25480 using dynarrays and struct alloc_buffer.
25481 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
25482 (tst-nss-files-hosts-multi): Link with -ldl.
25483 * nss/tst-nss-files-hosts-multi.c: New file.
25485 2017-10-11 Florian Weimer <fweimer@redhat.com>
25488 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
25489 scratch_buffer. Eliminate gotos.
25491 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25493 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
25494 libm_alias_ldouble_other.
25495 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
25496 undefine and redefine.
25497 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25498 (exp10l): Do not define here.
25499 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
25500 (weak_alias): Undefine and redefine.
25501 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
25502 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25503 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
25504 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
25506 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
25507 [!__fma] (fma): Define using libm_alias_double.
25508 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
25509 [!__fmaf] (fmaf): Define using libm_alias_float.
25510 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
25511 (fmal): Define using libm_alias_ldouble.
25513 2017-10-10 Joseph Myers <joseph@codesourcery.com>
25515 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
25517 (libm_alias_double_other): Likewise.
25518 (libm_alias_double_r): Use libm_alias_double_other_r.
25519 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
25521 (libm_alias_float_other): Likewise.
25522 (libm_alias_float_r): Use libm_alias_float_other_r.
25523 * sysdeps/generic/libm-alias-float128.h
25524 (libm_alias_float128_other_r): New macro.
25525 (libm_alias_float128_other): Likewise.
25526 (libm_alias_float128_r): Use libm_alias_float128_other_r.
25527 * sysdeps/generic/libm-alias-ldouble.h
25528 (libm_alias_ldouble_other_r): New macro.
25529 (libm_alias_ldouble_other): Likewise.
25530 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25531 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25532 (libm_alias_double_other_r): New macro.
25533 (libm_alias_double_other): Likewise.
25534 (libm_alias_double_r): Use libm_alias_double_other_r.
25535 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25536 (libm_alias_ldouble_other_r): New macro.
25537 (libm_alias_ldouble_other): Likewise.
25538 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25539 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
25540 [!USE_AS_COMPAT]: Use libm_alias_double_other.
25541 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
25542 [!USE_AS_COMPAT]: Use libm_alias_float_other.
25543 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
25544 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
25545 * math/w_exp2f.c: Use libm_alias_float_other.
25546 * math/w_expf.c: Likewise.
25547 * math/w_log2f.c: Likewise.
25548 * math/w_logf.c: Likewise.
25549 * math/w_powf.c: Likewise.
25550 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
25551 [!__exp2f]: Use libm_alias_float_other.
25552 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
25553 [!__expf]: Use libm_alias_float_other.
25554 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
25555 [!__log2f]: Use libm_alias_float_other.
25556 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
25557 [!__logf]: Use libm_alias_float_other.
25558 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
25559 [!__powf]: Use libm_alias_float_other.
25561 2017-10-10 Florian Weimer <fweimer@redhat.com>
25563 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
25565 (_nss_files_gethostbyname3_r): Call it.
25567 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25569 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
25570 error. Remove default definition of declare_mgen_alias.
25571 [!declare_mgen_alias_r]: Likewise.
25572 * sysdeps/generic/math-type-macros-double.h
25573 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
25574 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
25575 (declare_mgen_alias_r): Likewise.
25576 * sysdeps/generic/math-type-macros-float128.h
25577 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25578 * sysdeps/generic/math-type-macros-ldouble.h
25579 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25580 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
25582 (declare_mgen_alias_r_s): Likewise.
25583 (declare_mgen_alias_r): Likewise.
25584 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
25585 (lgamma_r): Define using libm_alias_double_r.
25586 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
25587 (lgammaf_r): Define using libm_alias_float_r.
25588 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
25589 (lgammal_r): Define using libm_alias_ldouble_r.
25590 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
25591 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25593 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25595 * lib/glob.c (__glob_pattern_type): Remove now-spurious
25596 extern declaration.
25598 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25600 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
25602 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
25605 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
25606 [__cplusplus >= 201103] (__USE_ISOC99): Define.
25607 * math/Makefile (test-math-cxx11): New test.
25608 * math/test-math-cxx11.cc: New file.
25610 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
25612 * login/openpty.c (openpty): Close slave pty file descriptor on error.
25614 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
25615 call to allocate the slave pty file descriptor.
25617 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25619 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
25620 [!__fma] (fma): Define using libm_alias_double.
25621 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
25622 [!__fma] (fma): Define using libm_alias_double.
25624 * sysdeps/ieee754/float128/float128_private.h: Include
25625 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
25626 (libm_alias_ldouble_r): Undefine and redefine.
25627 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
25628 <libm-alias-ldouble.h>.
25629 (asinhl): Define using libm_alias_ldouble.
25630 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
25631 <libm-alias-ldouble.h>.
25632 (atanl): Define using libm_alias_ldouble.
25633 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
25634 <libm-alias-ldouble.h>.
25635 (cbrtl): Define using libm_alias_ldouble.
25636 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
25637 <libm-alias-ldouble.h>.
25638 (ceill): Define using libm_alias_ldouble.
25639 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
25640 <libm-alias-ldouble.h>.
25641 (copysignl): Define using libm_alias_ldouble.
25642 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
25643 <libm-alias-ldouble.h>.
25644 (cosl): Define using libm_alias_ldouble.
25645 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
25646 <libm-alias-ldouble.h>.
25647 (erfl): Define using libm_alias_ldouble.
25649 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
25650 <libm-alias-ldouble.h>.
25651 (expm1l): Define using libm_alias_ldouble.
25652 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
25653 <libm-alias-ldouble.h>.
25654 (fabsl): Define using libm_alias_ldouble.
25655 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
25656 <libm-alias-ldouble.h>.
25657 (floorl): Define using libm_alias_ldouble.
25658 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
25659 <libm-alias-ldouble.h>.
25660 (fmal): Define using libm_alias_ldouble.
25661 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
25662 <libm-alias-ldouble.h>.
25663 (frexpl): Define using libm_alias_ldouble.
25664 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
25665 libm_alias_ldouble.
25666 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
25667 <libm-alias-ldouble.h>.
25668 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
25669 libm_alias_ldouble.
25670 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
25671 <libm-alias-ldouble.h>.
25672 (getpayloadl): Define using libm_alias_ldouble.
25673 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
25674 <libm-alias-ldouble.h>.
25675 (llrintl): Define using libm_alias_ldouble.
25676 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
25677 <libm-alias-ldouble.h>.
25678 (llroundl): Define using libm_alias_ldouble.
25679 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
25680 <libm-alias-ldouble.h>.
25681 (logbl): Define using libm_alias_ldouble.
25682 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
25683 <libm-alias-ldouble.h>.
25684 (lrintl): Define using libm_alias_ldouble.
25685 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
25686 <libm-alias-ldouble.h>.
25687 (lroundl): Define using libm_alias_ldouble.
25688 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
25689 <libm-alias-ldouble.h>.
25690 (modfl): Define using libm_alias_ldouble.
25691 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
25692 <libm-alias-ldouble.h>.
25693 (nearbyintl): Define using libm_alias_ldouble.
25694 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
25695 <libm-alias-ldouble.h>.
25696 (nextafterl): Define using libm_alias_ldouble.
25697 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
25698 <libm-alias-ldouble.h>.
25699 (nextupl): Define using libm_alias_ldouble.
25700 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
25701 <libm-alias-ldouble.h>.
25702 (remquol): Define using libm_alias_ldouble.
25703 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
25704 <libm-alias-ldouble.h>.
25705 (rintl): Define using libm_alias_ldouble.
25706 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
25707 <libm-alias-ldouble.h>.
25708 (roundevenl): Define using libm_alias_ldouble.
25709 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
25710 <libm-alias-ldouble.h>.
25711 (roundl): Define using libm_alias_ldouble.
25712 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
25713 using libm_alias_ldouble.
25714 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
25715 <libm-alias-ldouble.h>.
25716 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
25717 Define using libm_alias_ldouble.
25718 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
25719 <libm-alias-ldouble.h>.
25720 (sincosl): Define using libm_alias_ldouble.
25721 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
25722 <libm-alias-ldouble.h>.
25723 (sinl): Define using libm_alias_ldouble.
25724 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
25725 <libm-alias-ldouble.h>.
25726 (tanhl): Define using libm_alias_ldouble.
25727 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
25728 <libm-alias-ldouble.h>.
25729 (tanl): Define using libm_alias_ldouble.
25730 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
25731 <libm-alias-ldouble.h>.
25732 (totalorderl): Define using libm_alias_ldouble.
25733 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
25734 <libm-alias-ldouble.h>.
25735 (totalordermagl): Define using libm_alias_ldouble.
25736 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
25737 <libm-alias-ldouble.h>.
25738 (truncl): Define using libm_alias_ldouble.
25739 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
25740 libm_alias_ldouble.
25741 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
25742 libm_alias_ldouble.
25743 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
25744 <libm-alias-ldouble.h>.
25745 (weak_alias): Do not undefine and redefine.
25746 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25747 (copysignl): Define with long_double_symbol only if [IS_IN
25749 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
25750 <libm-alias-ldouble.h>.
25751 (weak_alias): Do not undefine and redefine.
25752 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25753 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
25754 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
25755 <libm-alias-ldouble.h>.
25756 (weak_alias): Do not undefine and redefine.
25757 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25758 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
25759 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
25760 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
25761 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
25762 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
25763 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
25764 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
25765 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
25766 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
25767 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
25768 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
25769 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
25770 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
25771 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
25772 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
25773 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
25774 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
25775 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
25776 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
25777 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
25778 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
25779 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
25780 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
25781 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
25782 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
25784 2017-10-06 Carlos O'Donell <carlos@redhat.com>
25787 * malloc/malloc.c (tcache_shutting_down): Use bool type.
25788 (tcache_thread_freeres): Set tcache_shutting_down before
25789 freeing the tcache.
25790 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
25791 * malloc/tst-malloc-tcache-leak.c: New file.
25793 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25795 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
25796 back to powerpc32 file.
25797 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25798 (memrchr): Add __memrchr_power8 to ifunc list.
25799 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
25800 extra bytes for unaligned inputs.
25802 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25804 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
25805 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
25806 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
25807 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25808 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25810 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25812 * sysdeps/arm/libm-test-ulps: Update.
25814 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
25815 <libm-alias-ldouble.h>.
25816 (asinhl): Define using libm_alias_ldouble.
25817 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
25818 <libm-alias-ldouble.h>.
25819 (cbrtl): Define using libm_alias_ldouble.
25820 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
25821 <libm-alias-ldouble.h>.
25822 (copysignl): Define using libm_alias_ldouble.
25823 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
25824 <libm-alias-ldouble.h>.
25825 (cosl): Define using libm_alias_ldouble.
25826 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
25827 <libm-alias-ldouble.h>.
25828 (erfl): Define using libm_alias_ldouble.
25830 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
25831 <libm-alias-ldouble.h>.
25832 (fmal): Define using libm_alias_ldouble.
25833 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
25834 <libm-alias-ldouble.h>.
25835 (frexpl): Define using libm_alias_ldouble.
25836 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
25837 libm_alias_ldouble.
25838 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
25839 <libm-alias-ldouble.h>.
25840 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
25841 libm_alias_ldouble.
25842 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
25843 <libm-alias-ldouble.h>.
25844 (getpayloadl): Define using libm_alias_ldouble.
25845 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
25846 <libm-alias-ldouble.h>.
25847 (llrintl): Define using libm_alias_ldouble.
25848 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
25849 <libm-alias-ldouble.h>.
25850 (llroundl): Define using libm_alias_ldouble.
25851 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
25852 <libm-alias-ldouble.h>.
25853 (lrintl): Define using libm_alias_ldouble.
25854 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
25855 <libm-alias-ldouble.h>.
25856 (lroundl): Define using libm_alias_ldouble.
25857 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
25858 <libm-alias-ldouble.h>.
25859 (modfl): Define using libm_alias_ldouble.
25860 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
25861 <libm-alias-ldouble.h>.
25862 (nextupl): Define using libm_alias_ldouble.
25863 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
25864 <libm-alias-ldouble.h>.
25865 (remquol): Define using libm_alias_ldouble.
25866 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
25867 <libm-alias-ldouble.h>.
25868 (roundevenl): Define using libm_alias_ldouble.
25869 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
25870 <libm-alias-ldouble.h>.
25871 (roundl): Define using libm_alias_ldouble.
25872 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
25873 using libm_alias_ldouble.
25874 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
25875 <libm-alias-ldouble.h>.
25876 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
25877 <libm-alias-ldouble.h>.
25878 (setpayloadsigl): Define using libm_alias_ldouble.
25879 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
25880 <libm-alias-ldouble.h>.
25881 (sincosl): Define using libm_alias_ldouble.
25882 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
25883 <libm-alias-ldouble.h>.
25884 (sinl): Define using libm_alias_ldouble.
25885 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
25886 <libm-alias-ldouble.h>.
25887 (tanhl): Define using libm_alias_ldouble.
25888 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
25889 <libm-alias-ldouble.h>.
25890 (tanl): Define using libm_alias_ldouble.
25891 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
25892 <libm-alias-ldouble.h>.
25893 (totalorderl): Define using libm_alias_ldouble.
25894 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
25895 <libm-alias-ldouble.h>.
25896 (totalordermagl): Define using libm_alias_ldouble.
25897 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
25898 libm_alias_ldouble.
25899 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
25900 libm_alias_ldouble.
25902 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
25904 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
25906 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25907 (__libc_ifunc_impl_list): Likewise.
25908 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
25909 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
25911 * benchtests/bench-memmove-walk.c: New file.
25912 * benchtests/Makefile (string-benchset): Add it.
25914 * benchtests/bench-memset-walk.c: New file.
25915 * benchtests/Makefile (string-benchset): Add it.
25917 * benchtests/bench-memcpy-walk.c: New file.
25918 * benchtests/Makefile (string-benchset): Add it.
25920 2017-10-05 Florian Weimer <fweimer@redhat.com>
25922 nscd: Eliminate compilation time dependency in the build output.
25923 * nscd/nscd_stat.c (STATDATA_VERSION)
25924 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
25925 (STATDATA_VERSION_FULL): New macro definitions.
25926 (compilation): Remove.
25927 (struct statdata): Adjust version member.
25928 (send_stats): Set version from STATDATA_VERSION_FULL.
25929 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
25931 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25933 * configure.ac (--enable-add-ons): Remove option.
25934 (machine): Do not mention add-ons in comment.
25935 (LIBC_PRECONFIGURE): Likewise.
25936 (add_ons): Remove variable and sanity checks and logic to locate
25938 (add_ons_automatic): Remove variable.
25939 (configured_add_ons): Likewise.
25940 (add_ons_sfx): Likewise.
25941 (add_ons_pfx): Likewise.
25942 (add_on_subdirs): Likewise.
25943 (sysnames_add_ons): Likewise. Remove loop over add-ons and
25944 consideration of add-ons in Implies handling.
25945 (sysdeps_add_ons): Likewise.
25946 * configure: Regenerated.
25947 * libidn/configure.ac: Remove.
25948 * libidn/configure: Likewise.
25949 * sysdeps/unix/inet/configure.ac: New file.
25950 * sysdeps/unix/inet/configure: New generated file.
25951 * sysdeps/unix/inet/Subdirs: Add libidn.
25952 * Makeconfig (sysdeps-srcdirs): Remove variable.
25953 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
25954 ($(common-objpfx)config.status): Do not depend on add-on files.
25955 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
25957 (all-subdirs): Do not include $(add-on-subdirs).
25958 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
25959 * config.make.in (add-ons): Remove variable.
25960 (add-on-subdirs): Likewise.
25961 (sysdeps-add-ons): Likewise.
25962 * manual/Makefile (add-chapters): Remove.
25963 ($(objpfx)texis): Do not depend on $(add-chapters).
25964 (nonexamples): Do not handle $(add-chapters).
25965 (examples): Do not handle $(add-ons).
25966 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
25968 * manual/install.texi (Installation): Do not mention add-ons.
25969 (--enable-add-ons): Do not document configure option.
25970 * INSTALL: Regenerated.
25971 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
25972 * manual/maint.texi (Hierarchy Conventions): Do not mention
25974 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
25976 * scripts/gen-sorted.awk: Do not handle Subdirs files from
25978 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
25979 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
25981 2017-10-05 Andreas Schwab <schwab@suse.de>
25984 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
25985 (_IO_flush_all_lockp): Always lock list_all_lock.
25986 (_IO_flush_all_linebuffered): Likewise.
25987 (_IO_unbuffer_all): Likewise.
25989 2017-10-05 Florian Weimer <fweimer@redhat.com>
25992 Do not flush stdio streams on abort.
25993 * stdlib/abort.c (fflush): Remove macro definition.
25994 (abort): Remove stages related to stdio flushing.
25996 2017-10-05 Florian Weimer <fweimer@redhat.com>
25998 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
26000 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
26002 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26004 2017-10-05 Florian Weimer <fweimer@redhat.com>
26006 * support/support_format_hostent.c (support_format_hostent): Add
26007 more error information for NETDB_INTERNAL.
26009 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26011 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
26012 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
26013 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
26014 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
26015 AC_DEFINE if multi-arch is enabled.
26016 * sysdeps/i386/configure: Regenerated.
26018 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26020 * Makeconfig (+link-static-before-libc): Use
26021 $(DEFAULT-LDFLAGS-$(@F)).
26022 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
26023 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
26024 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
26026 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26028 * elf/Makefile (tests): Add tst-main1.
26029 (modules-names): Add tst-main1mod.
26030 ($(objpfx)tst-main1): New.
26031 (CRT-tst-main1): Likewise.
26032 (LDFLAGS-tst-main1): Likewise.
26033 (LDLIBS-tst-main1): Likewise.
26034 (tst-main1mod.so-no-z-defs): Likewise.
26035 * elf/tst-main1.c: New file.
26036 * elf/tst-main1mod.c: Likewise.
26038 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26040 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
26042 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26044 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
26045 (fma): Define using libm_alias_double.
26046 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
26047 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
26049 (fmal): Do not define as compat symbol here.
26050 * sysdeps/alpha/fpu/s_fma.c: New file.
26052 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26054 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
26056 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26059 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26061 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26063 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
26064 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26065 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
26066 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
26067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26068 Include <math_ldbl_opt.h>
26069 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26071 (compat_symbol): Undefine and redefine.
26072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26074 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26075 (compat_symbol): Undefine and redefine.
26076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
26077 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
26078 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
26079 GLIBC_2_1 for libm.
26080 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
26081 GLIBC_2.0 copysignl symbol.
26082 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
26083 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
26085 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
26087 2017-10-04 Florian Weimer <fweimer@redhat.com>
26089 * scripts/check-local-headers.sh: Ignore nspr4 header file
26090 directory in addition to nspr.
26092 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
26095 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
26096 * configure: Regenerate.
26097 * crypt/Makefile (nss-cpp-flags): New variable.
26098 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
26099 (CPPFLAGS-md5-crypt.c): Use it.
26100 * scripts/check-local-headers.sh: Ignore nspr header file
26103 2017-10-04 Andreas Schwab <schwab@suse.de>
26105 * nis/Makefile (services): Remove compat.
26106 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
26107 ($(objpfx)libnss_compat.so): Remove rule.
26108 * nis/Versions (libnss_compat): Remove.
26109 * nss/Makefile (services): Add compat.
26110 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
26111 * nss/Versions (libnss_compat): Define.
26112 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
26113 Don't include <rpc/types.h>. Replace bool_t by bool.
26114 * nss/nss_compat/compat-initgroups.c: Likewise.
26115 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
26116 instead of <rpcsrv/ypclnt.h>.
26117 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
26118 yp_get_default_domain.
26119 * nss/nss_compat/compat-pwd.c: Likewise.
26120 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
26121 yp_get_default_domain.
26122 * nss/nss_compat/nisdomain.c: New file.
26123 * nss/nss_compat/nisdomain.h: Likewise.
26125 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26128 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
26129 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26131 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26134 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
26135 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
26137 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26139 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
26140 "movl main@GOTOFF(%ebx), %eax".
26142 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26144 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
26145 allow undefined _DYNAMIC in PIE libc.a.
26146 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26149 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26151 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
26154 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26156 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
26159 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26161 * math/test-math-iscanonical.cc (error): Replace bool with int.
26163 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26165 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
26166 (modf): Define using libm_alias_double, only if [!__modf].
26167 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
26168 <libm-alias-double.h>.
26169 (modf): Define using libm_alias_double, only if [!__modf].
26170 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
26171 compat symbol here.
26172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
26173 (weak_alias): Do not undefine and redefine.
26174 (strong_alias): Likewise.
26175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
26176 (weak_alias): Likewise.
26177 (strong_alias): Likewise.
26179 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
26180 (logb): Define using libm_alias_double, only if [!__logb].
26181 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
26182 <libm-alias-double.h>.
26183 (logb): Define using libm_alias_double, only if [!__logb].
26184 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
26185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
26186 (weak_alias): Do not undefine and redefine.
26187 (strong_alias): Likewise.
26188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
26189 (weak_alias): Likewise.
26190 (strong_alias): Likewise.
26192 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26194 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
26195 Check SHARED instead PIC.
26197 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26199 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
26200 [!__fmaf] (fmaf): Define using libm_alias_float.
26202 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
26203 (frexp): Define using libm_alias_double.
26204 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
26205 <libm-alias-double.h>.
26206 (frexp): Define using libm_alias_double.
26207 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
26208 compat symbol here.
26210 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26213 * math/math.h: Trivial fix for unbalanced parentheses in comment.
26214 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
26215 (CFLAGS-test-math-iscanonical.cc): New variable.
26216 * math/test-math-iscanonical.cc: New file.
26217 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
26218 Provide a C++ implementation based on function overloading,
26219 rather than using __MATH_TG, which uses C-only builtins.
26220 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
26222 * sysdeps/powerpc/powerpc64le/Makefile
26223 (CFLAGS-test-math-iscanonical.cc): New variable.
26225 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26227 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
26228 (ceil): Define using libm_alias_double.
26229 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
26230 (floor): Define using libm_alias_double.
26231 * sysdeps/ieee754/dbl-64/s_llround.c: Include
26232 <libm-alias-double.h>.
26233 (llround): Define using libm_alias_double.
26234 * sysdeps/ieee754/dbl-64/s_lround.c: Include
26235 <libm-alias-double.h>.
26236 (lround): Define using libm_alias_double.
26237 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
26238 <libm-alias-double.h>.
26239 (nearbyint): Define using libm_alias_double.
26240 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
26241 <libm-alias-double.h>.
26242 (remquo): Define using libm_alias_double.
26243 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
26244 (rint): Define using libm_alias_double.
26245 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
26246 (round): Define using libm_alias_double.
26247 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
26248 (trunc): Define using libm_alias_double.
26249 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
26250 <libm-alias-double.h>.
26251 (ceil): Define using libm_alias_double.
26252 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
26253 <libm-alias-double.h>.
26254 (floor): Define using libm_alias_double.
26255 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
26256 <libm-alias-double.h>.
26257 (llround): Define using libm_alias_double.
26258 [_LP64] (lround): Likewise.
26259 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
26260 <libm-alias-double.h>.
26261 [!_LP64] (lround): Define using libm_alias_double.
26262 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
26263 <libm-alias-double.h>.
26264 (nearbyint): Define using libm_alias_double.
26265 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
26266 <libm-alias-double.h>.
26267 (remquo): Define using libm_alias_double.
26268 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
26269 <libm-alias-double.h>.
26270 (rint): Define using libm_alias_double.
26271 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
26272 <libm-alias-double.h>.
26273 (round): Define using libm_alias_double.
26274 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
26275 <libm-alias-double.h>.
26276 (trunc): Define using libm_alias_double.
26277 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
26278 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
26279 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
26280 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
26281 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
26282 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
26283 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
26284 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
26285 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
26287 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26289 * math/w_remainder.c: New file.
26290 * math/w_remainderf.c: New file.
26291 * math/w_remainderl.c: New file.
26293 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26295 * elf/rtld.c (BOOTSTRAP_MAP): New.
26296 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
26297 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26299 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26301 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26304 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
26306 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
26307 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
26308 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
26309 rtld_hidden_data_ver): Define to empty.
26310 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
26311 __assert_perror_fail): Likewise.
26312 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26313 (__rewinddir): Likewise.
26314 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26315 (__profile_frequency): Likewise.
26316 * include/setjmp.h (__sigsetjmp): Likewise.
26317 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
26318 __libc_sigaction): Likewise.
26319 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
26320 not set hidden attribute.
26321 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
26322 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
26323 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
26324 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
26325 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
26326 __fxstatat64): Likewise.
26327 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26328 (__uname): Likewise.
26329 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26330 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
26331 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
26332 (NO_RTLD_HIDDEN): Set.
26333 * sysdeps/mach/hurd/configure: Refresh.
26334 * config.h.in: Refresh.
26336 2017-10-02 Joseph Myers <joseph@codesourcery.com>
26338 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
26339 (atan): Define using libm_alias_double.
26340 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
26341 (tan): Define using libm_alias_double.
26342 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
26343 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
26345 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
26346 define as weak alias of __atan. Do not define any aliases if
26348 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
26349 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
26350 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
26351 as weak alias of __tan. Do not define any aliases if [__tan].
26352 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
26353 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
26354 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
26356 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
26357 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
26358 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
26359 and define as weak alias of __atan.
26360 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
26362 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
26363 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
26364 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
26365 define as weak alias of __tan.
26367 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26369 * math/w_lgamma.c: New file.
26370 * math/w_lgammaf.c: New file.
26371 * math/w_lgammal.c: New file.
26373 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26375 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
26376 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
26377 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
26378 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
26379 * sysdeps/ieee754/flt-32/w_logf.c: New file.
26380 * sysdeps/ieee754/flt-32/w_powf.c: New file.
26381 * sysdeps/i386/fpu/w_log2f.c: New file.
26382 * sysdeps/i386/fpu/w_logf.c: New file.
26383 * sysdeps/i386/fpu/w_powf.c: New file.
26384 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
26385 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
26386 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
26388 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26389 H.J. Lu <hongjiu.lu@intel.com>
26391 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
26392 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
26393 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
26394 * sysdeps/ieee754/flt-32/w_expf.c: New file.
26395 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
26397 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
26398 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
26399 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
26400 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
26401 * sysdeps/i386/fpu/w_exp2f.c: New file.
26402 * sysdeps/i386/fpu/w_expf.c: New file.
26403 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
26404 * sysdeps/x86_64/fpu/w_expf.c: New file.
26406 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26408 * math/Versions (logf): New libm symbol at GLIBC_2.27.
26411 * math/w_log2f.c: New file.
26412 * math/w_logf.c: New file.
26413 * math/w_powf.c: New file.
26414 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
26415 * math/w_logf_compat.c (__logf_compat): Likewise.
26416 * math/w_powf_compat.c (__powf_compat): Likewise.
26417 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
26418 * sysdeps/ia64/fpu/e_logf.S: Likewise.
26419 * sysdeps/ia64/fpu/e_powf.S: Likewise.
26420 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26421 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26422 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26423 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26424 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26425 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26426 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26427 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26428 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26429 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26430 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26431 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26440 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26441 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26442 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26443 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26444 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26449 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26450 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26451 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26453 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26455 * sysdeps/powerpc/powerpc64/multiarch/Makefile
26456 (sysdep_routines): Add memrchr_power8.
26457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26458 (memrchr): Add __memrchr_power8 to list of memrchr functions.
26459 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
26461 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26462 (memrchr): Add __memrchr_power8 to ifunc list.
26463 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
26465 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26468 * sysdeps/unix/sysv/linux/posix_fadvise64.c
26469 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
26471 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26472 (__posix_fallocate64_l64): Likewise.
26474 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26477 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26478 (__sched_setaffinity_new): Add libc_hidden_proto and
26481 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26484 * include/glob.h (__glob64): Add libc_hidden_proto.
26485 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
26488 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26491 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
26494 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26497 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
26499 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26502 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
26505 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26508 * csu/version.c (__libc_print_version): Add attribute_hidden.
26510 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26513 * include/libc-internal.h (__init_misc): Add attribute_hidden.
26515 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26518 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
26520 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26523 * nscd/nscd_helper.c (__nis_hash): New prototype.
26525 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26528 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
26529 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
26531 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26532 * termios/tcgetattr.c (__tcgetattr): Likewise.
26534 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26537 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
26538 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
26539 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
26540 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
26541 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
26543 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26546 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
26548 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26551 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
26552 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
26554 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26557 * intl/hash-string.h (__hash_string): Add attribute_hidden.
26559 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26562 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
26563 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
26565 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26568 * include/ifreq.h: New file.
26569 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
26570 (__ifreq): Likewise.
26571 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
26572 (__ifreq): Likewise.
26574 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26577 * include/idna.h: New file.
26578 * inet/getnameinfo.c: Include <idna.h> instead of
26580 (__idna_to_unicode_lzlz): Removed.
26581 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
26583 (__idna_to_ascii_lz): Removed.
26584 (__idna_to_unicode_lzlz): Likewise.
26586 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26589 * include/plural-exp.h: New file.
26590 * intl/plural-exp.c: Include <plural-exp.h> instead of
26593 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26596 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
26597 "getsourcefilter.h".
26598 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
26599 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
26600 "getsourcefilter.h".
26601 (__get_sol): Removed.
26603 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26606 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
26608 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
26610 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26613 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
26616 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26619 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
26621 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26624 * include/search.h (__tdestroy): Add libc_hidden_proto.
26625 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
26627 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26630 * include/assert.h (__assert_fail_base): Add attribute_hidden.
26632 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26635 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
26638 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26641 * include/signal.h (__kill): Add libc_hidden_proto.
26642 (__sigblock): Likewise.
26643 (__sigprocmask): Likewise.
26644 (__sigaltstack): Likewise.
26645 * signal/kill.c (__kill): Add libc_hidden_def.
26646 * signal/sigblock.c (__sigblock): Likewise.
26647 * signal/sigprocmask.c (__sigprocmask): Likewise.
26648 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
26649 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26650 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26651 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26652 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
26654 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26656 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26657 (__sigprocmask): Likewise.
26658 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
26660 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26661 (__sigprocmask): Likewise.
26662 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26665 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26668 * include/string.h (__strsep): Add libc_hidden_proto.
26669 * string/strsep.c (__strsep): Add libc_hidden_def.
26671 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26674 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
26676 (__spawni): Likewise.
26678 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26681 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
26682 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
26685 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26688 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
26690 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26693 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
26694 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
26695 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
26696 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
26697 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
26699 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
26700 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
26702 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26705 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
26706 (__dcigettext): Likewise.
26708 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26711 * include/sys/sysinfo.h (__get_nprocs_conf): Add
26713 (__get_nprocs): Likewise.
26714 (__get_phys_pages): Likewise.
26715 (__get_avphys_pages): Likewise.
26716 (__get_child_max): Add attribute_hidden.
26717 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
26718 (__get_nprocs): Likewise.
26719 (__get_phys_pages): Likewise.
26720 (__get_avphys_pages): Likewise.
26721 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
26723 (__get_nprocs): Likewise.
26724 (__get_phys_pages): Likewise.
26725 (__get_avphys_pages): Likewise.
26726 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
26728 (__get_nprocs_conf): Likewise.
26729 (__get_phys_pages): Likewise.
26730 (__get_avphys_pages): Likewise.
26732 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26735 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
26737 (__netlink_close): Likewise.
26738 (__netlink_free_handle): Likewise.
26739 (__netlink_request): Likewise.
26741 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26744 * include/rpc/rpc.h (__rpc_thread_variables): Add
26746 (__rpc_thread_svc_cleanup): Likewise.
26747 (__rpc_thread_clnt_cleanup): Likewise.
26748 (__rpc_thread_key_cleanup): Likewise.
26750 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26753 * include/sys/uio.h (__readv): Add libc_hidden_proto.
26754 (__writev): Likewise.
26755 * misc/readv.c (__readv): Add libc_hidden_def.
26756 * misc/writev.c (__writev): Likewise.
26757 * sysdeps/posix/readv.c (__readv): Likewise.
26758 * sysdeps/posix/writev.c (__writev): Likewise.
26759 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
26760 (__readv): Likewise.
26761 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
26762 (__writev): Likewise.
26764 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26767 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
26768 (__regcomp): Add libc_hidden_proto.
26769 (__regexec): Likewise.
26770 (__regfree): Likewise.
26771 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
26772 (__regfree): Likewise.
26773 * posix/regexec.c (__regexec): Likewise.
26775 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26778 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
26779 (__getutent): Likewise.
26780 (__getutid): Likewise.
26781 (__getutline): Likewise.
26782 (__pututline): Likewise.
26783 (__getutent_r): Likewise.
26784 (__getutid_r): Likewise.
26785 (__getutline_r): Likewise.
26786 (__utmpname): Add attribute_hidden.
26787 (__setutent): Likewise.
26788 (__endutent): Likewise.
26789 * login/getutent.c (__getutent): Add libc_hidden_def.
26790 * login/getutent_r.c (__getutent_r): Likewise.
26791 (__pututline): Likewise.
26792 * login/getutid.c (__getutid): Likewise.
26793 * login/getutid_r.c (__getutid_r): Likewise.
26794 * login/getutline.c (__getutline): Likewise.
26795 * login/getutline_r.c (__getutline_r): Likewise.
26796 * login/updwtmp.c (__updwtmp): Likewise.
26798 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26801 * include/dirent.h (__opendir): Always add attribute_hidden.
26802 (__fdopendir): Likewise.
26803 (__closedir): Likewise.
26804 (__readdir): Likewise.
26805 (__readdir64): Add libc_hidden_proto.
26806 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
26807 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
26808 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
26809 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
26812 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26815 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
26816 * include/netdb.h (__gethostbyaddr_r): Likewise.
26817 (__gethostbyname_r): Likewise.
26818 (__gethostbyname2_r): Likewise.
26819 (__getnetbyaddr_r): Likewise.
26820 (__getnetbyname_r): Likewise.
26821 (__getservbyname_r): Likewise.
26822 (__getservbyport_r): Likewise.
26823 (__getprotobyname_r): Likewise.
26824 (__getprotobynumber_r): Likewise.
26825 (__getnetgrent_r): Likewise.
26826 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
26827 (__getrpcbynumber_r): Likewise.
26828 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
26830 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26833 * include/stdio.h (__fcloseall): Add attribute_hidden.
26834 (__getline): Likewise.
26835 (__path_search): Likewise.
26836 (__gen_tempname): Likewise.
26837 (__libc_message): Likewise.
26838 (__flockfile): Likewise.
26839 (__funlockfile): Likewise.
26840 (__fxprintf): Likewise.
26841 (__fxprintf_nocancel): Likewise.
26843 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26846 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
26847 (__sgetsgent_r): Likewise.
26849 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26852 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
26853 (__statfs64): Likewise.
26854 (__fstatfs64): Likewise.
26855 * include/sys/statvfs.h (__statvfs64): Likewise.
26856 (__fstatvfs64): Likewise.
26857 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
26858 (__statfs_filesize_max): Likewise.
26859 (__statfs_symlinks): Likewise.
26860 (__statfs_chown_restricted): Likewise.
26862 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26865 * include/time.h (__tzstring): Add attribute_hidden.
26866 (__tzfile_read): Likewise.
26867 (__tzfile_compute): Likewise.
26868 (__tzfile_default): Likewise.
26869 (__tzset_parse_tz): Likewise.
26870 (__offtime): Likewise.
26871 (__asctime_r): Likewise.
26872 (__tzset): Likewise.
26873 (__tz_convert): Likewise.
26874 (__getdate_r): Likewise.
26875 (__getclktck): Likewise.
26877 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26880 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
26881 (__nscd_unmap): Likewise.
26882 (__nscd_cache_search): Likewise.
26883 (__nscd_get_nl_timestamp): Likewise.
26884 (__nscd_getpwnam_r): Likewise.
26885 (__nscd_getpwuid_r): Likewise.
26886 (__nscd_getgrnam_r): Likewise.
26887 (__nscd_getgrgid_r): Likewise.
26888 (__nscd_gethostbyname_r): Likewise.
26889 (__nscd_gethostbyname2_r): Likewise.
26890 (__nscd_gethostbyaddr_r): Likewise.
26891 (__nscd_getai): Likewise.
26892 (__nscd_getgrouplist): Likewise.
26893 (__nscd_getservbyname_r): Likewise.
26894 (__nscd_getservbyport_r): Likewise.
26895 (__nscd_innetgr): Likewise.
26896 (__nscd_setnetgrent): Likewise.
26898 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26901 * include/gmp.h: Declare internal functions only if _ISOMAC is
26903 (__mpn_extract_double): Add attribute_hidden.
26904 (__mpn_extract_long_double): Likewise.
26905 (__mpn_extract_float128): Likewise.
26906 (__mpn_construct_float): Likewise.
26907 (__mpn_construct_double): Likewise.
26908 (__mpn_construct_long_double): Likewise.
26909 (__mpn_construct_float128): Likewise.
26910 (mpn_add_1): Likewise.
26911 (mpn_addmul_1): Likewise.
26912 (mpn_add_n): Likewise.
26913 (mpn_cmp): Likewise.
26914 (mpn_divrem): Likewise.
26915 (mpn_lshift): Likewise.
26916 (mpn_mul): Likewise.
26917 (mpn_mul_1): Likewise.
26918 (mpn_rshift): Likewise.
26919 (mpn_sub_1): Likewise.
26920 (mpn_submul_1): Likewise.
26921 (mpn_sub_n): Likewise.
26923 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26926 * include/wchar.h (__wcsnlen): Add attribute_hidden.
26927 (__wcscat): Likewise.
26928 (__btowc): Likewise.
26929 (__wcrtomb): Likewise.
26930 (__mbsrtowcs): Likewise.
26931 (__wcsrtombs): Likewise.
26932 (__mbsnrtowcs): Likewise.
26933 (__wcsnrtombs): Likewise.
26934 (__wcsncpy): Likewise.
26935 (__wcpncpy): Likewise.
26936 (__wmemcpy): Likewise.
26937 (__wmempcpy): Likewise.
26938 (__wmemmove): Likewise.
26939 (__wcschrnul): Likewise.
26940 (__vfwscanf): Likewise.
26941 (__vswprintf): Likewise.
26942 (__fwprintf): Likewise.
26943 (__vfwprintf): Likewise.
26945 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26948 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
26949 (__getgrgid_r): Likewise.
26950 (__getgrnam_r): Likewise.
26951 * include/pwd.h (__getpwuid_r): Likewise.
26952 (__getpwnam_r): Likewise.
26953 (__fgetpwent_r): Likewise.
26954 * include/shadow.h (__getspnam_r): Likewise.
26955 (__sgetspent_r): Likewise.
26956 (__fgetspent_r): Likewise.
26958 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26961 * include/unistd.h (__access): Add attribute_hidden.
26962 (__lseek64): Likewise.
26963 (__libc_pread64): Likewise.
26964 (__pipe2): Likewise.
26965 (__sleep): Likewise.
26966 (__chdir): Likewise.
26967 (__fchdir): Likewise.
26968 (__getcwd): Likewise.
26969 (__rmdir): Likewise.
26970 (__execvpe): Likewise.
26971 (__execve): Likewise.
26972 (__setsid): Likewise.
26973 (__getuid): Likewise.
26974 (__geteuid): Likewise.
26975 (__getgid): Likewise.
26976 (__getegid): Likewise.
26977 (__getgroups): Likewise.
26978 (__group_member): Likewise.
26979 (__ttyname_r): Likewise.
26980 (__isatty): Likewise.
26981 (__readlink): Likewise.
26982 (__unlink): Likewise.
26983 (__gethostname): Likewise.
26984 (__profil): Likewise.
26985 (__getdtablesize): Likewise.
26987 (__ftruncate): Likewise.
26988 (__ftruncate64): Likewise.
26990 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26993 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
26994 * argp/argp-fs-xinl.c: Likewise.
26995 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
26996 * argp/argp-parse.c: Include <argp.h>.
26997 * argp/argp-xinl.c: Likewise.
26998 * include/argp-fmtstream.h: New file.
26999 * include/argp.h (__argp_error): Add attribute_hidden.
27000 (__argp_failure): Likewise.
27001 (__argp_input): Likewise.
27002 (__argp_state_help): Likewise.
27004 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27007 * include/wchar.h (____wcstof_l_internal): New prototype.
27008 (____wcstod_l_internal): Likewise.
27009 (____wcstold_l_internal): Likewise.
27010 (____wcstol_l_internal): Likewise.
27011 (____wcstoul_l_internal): Likewise.
27012 (____wcstoll_l_internal): Likewise.
27013 (____wcstoull_l_internal): Likewise.
27014 (____wcstof128_l_internal): Likewise.
27015 * sysdeps/ieee754/float128/wcstof128.c
27016 (____wcstof128_l_internal): Removed.
27017 * sysdeps/ieee754/float128/wcstof128_l.c
27018 (____wcstof128_l_internal): Likewise.
27019 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
27020 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
27021 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
27022 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
27023 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
27024 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
27025 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
27026 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
27027 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
27028 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
27030 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27033 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
27034 instead of <sys/statvfs.h>.
27035 (__internal_statvfs): Removed.
27036 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
27037 instead of <sys/statvfs.h>.
27038 (__internal_statvfs64): Removed.
27039 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
27040 "internal_statvfs.h" instead of <sys/statvfs.h>.
27041 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
27042 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
27043 instead of <sys/statvfs.h>.
27044 (__internal_statvfs): Removed.
27045 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
27046 instead of <sys/statvfs.h>.
27047 (__internal_statvfs64): Removed.
27049 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27052 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
27053 (__gconv_close): Likewise.
27054 (__gconv): Likewise.
27055 (__gconv_find_transform): Likewise.
27056 (__gconv_lookup_cache): Likewise.
27057 (__gconv_compare_alias_cache): Likewise.
27058 (__gconv_load_cache): Likewise.
27059 (__gconv_get_path): Likewise.
27060 (__gconv_close_transform): Likewise.
27061 (__gconv_release_cache): Likewise.
27062 (__gconv_find_shlib): Likewise.
27063 (__gconv_release_shlib): Likewise.
27064 (__gconv_get_builtin_trans): Likewise.
27065 (__gconv_compare_alias): Likewise.
27066 * include/dlfcn.h (_dlerror_run): Likewise.
27067 * include/stdio.h (__fortify_fail_abort): Likewise.
27068 * include/time.h (__tz_compute): Likewise.
27069 (__strptime_internal): Likewise.
27070 * intl/gettextP.h (_nl_find_domain): Likewise.
27071 (_nl_load_domain): Likewise.
27072 (_nl_find_msg): Likewise.
27073 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
27074 (EXTRACT_PLURAL_EXPRESSION): Likewise.
27075 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
27076 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
27077 (__gai_find_request): Likewise.
27078 (__gai_remove_request): Likewise.
27079 (__gai_notify): Likewise.
27080 (__gai_notify_only): Likewise.
27081 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27082 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
27083 (_dl_non_dynamic_init): Likewise.
27084 (_dl_aux_init): Likewise.
27085 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
27086 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27088 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
27089 (__wcsmbs_clone_conv): Likewise.
27090 (__wcsmbs_named_conv): Likewise.
27092 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27095 * include/stdlib.h (__random): Add attribute_hidden.
27096 (__random_r): Likewise.
27097 (__srandom_r): Likewise.
27098 (__initstate_r): Likewise.
27099 (__setstate_r): Likewise.
27100 (__erand48_r): Likewise.
27101 (__nrand48_r): Likewise.
27102 (__jrand48_r): Likewise.
27103 (__srand48_r): Likewise.
27104 (__seed48_r): Likewise.
27105 (__lcong48_r): Likewise.
27106 (__drand48_iterate): Likewise.
27107 (__setenv): Likewise.
27108 (__unsetenv): Likewise.
27109 (__clearenv): Likewise.
27110 (__ptsname_r): Likewise.
27111 (__posix_openpt): Likewise.
27112 (__add_to_environ): Likewise.
27113 (__realpath): Add libc_hidden_proto.
27114 (__ecvt_r): Likewise.
27115 (__fcvt_r): Likewise.
27116 (__qecvt_r): Likewise.
27117 (__qfcvt_r): Likewise.
27118 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
27119 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
27121 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27124 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
27125 * include/time.h (__mktime_internal): Likewise.
27126 * libio/iolibio.h (__fopen_internal): Likewise.
27128 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
27130 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
27132 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
27133 Correct offset used to restore PIC register.
27135 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
27138 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
27139 code to load address of __getcontext_ret when generating PIC code.
27141 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
27143 * elf/Makefile (tests-static-internal): Add
27144 tst-tls1-static-non-pie.
27145 (LDFLAGS-tst-tls1-static-non-pie): New.
27146 * elf/tst-tls1-static-non-pie.c: New file.
27148 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27150 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
27151 (asinh): Define using libm_alias_double.
27152 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
27153 (cbrt): Define using libm_alias_double.
27154 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
27155 <libm-alias-double.h>.
27156 (copysign): Define using libm_alias_double.
27157 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
27158 (erf): Define using libm_alias_double.
27160 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
27161 (expm1): Define using libm_alias_double.
27162 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
27163 (fabs): Define using libm_alias_double.
27164 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
27166 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
27167 <libm-alias-double.h>.
27168 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
27170 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
27171 <libm-alias-double.h>.
27172 (getpayload): Define using libm_alias_double.
27173 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
27174 <libm-alias-double.h>.
27175 (llrint): Define using libm_alias_double.
27176 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
27177 (lrint): Define using libm_alias_double.
27178 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
27179 <libm-alias-double.h>.
27180 (nextup): Define using libm_alias_double.
27181 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
27182 <libm-alias-double.h>.
27183 (roundeven): Define using libm_alias_double.
27184 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
27186 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
27187 <libm-alias-double.h>.
27188 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
27189 using libm_alias_double.
27190 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
27191 (cos): Define using libm_alias_double.
27193 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
27194 <libm-alias-double.h>.
27195 (sincos): Define using libm_alias_double.
27196 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
27197 (tanh): Define using libm_alias_double.
27198 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
27199 <libm-alias-double.h>.
27200 (totalorder): Define using libm_alias_double.
27201 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
27202 <libm-alias-double.h>.
27203 (totalordermag): Define using libm_alias_double.
27204 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
27206 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
27208 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
27209 <libm-alias-double.h>.
27210 (getpayload): Define using libm_alias_double.
27211 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
27212 <libm-alias-double.h>.
27213 (roundeven): Define using libm_alias_double.
27214 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
27215 <libm-alias-double.h>.
27216 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
27217 <libm-alias-double.h>.
27218 (totalorder): Define using libm_alias_double.
27219 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
27220 <libm-alias-double.h>.
27221 (totalordermag): Define using libm_alias_double.
27222 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
27223 libc compat symbol here.
27224 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
27225 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
27226 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
27227 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
27228 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
27229 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
27230 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
27231 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
27232 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
27233 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
27235 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27237 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
27238 _dl_relocate_static_pie instead of _dl_start to compute load
27239 address in static PIE. Return 0 if _DYNAMIC is undefined for
27242 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27244 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
27245 _DYNAMIC is undefined for static executable.
27247 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27249 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
27251 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27255 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27257 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27258 (__ieee754_lgamma_r): Use fabs rather than __fabs.
27259 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27260 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27261 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27262 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
27263 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
27264 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
27265 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
27266 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27267 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
27268 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27269 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27270 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27271 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27272 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27273 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
27275 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27277 * math/bits/cmathcalls.h (cimag): Remove inline.
27278 (creal): Remove inline.
27279 (conj): Remove inline.
27281 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27283 * math/Makefile (type-float-routines): Add e_powf_log2_data.
27284 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
27285 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
27286 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
27287 (issignalingf_inline): Likewise.
27288 (POWF_LOG2_TABLE_BITS): Likewise.
27289 (POWF_LOG2_POLY_ORDER): Likewise.
27290 (POWF_SCALE_BITS): Likewise.
27291 (POWF_SCALE): Likewise.
27292 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
27293 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
27294 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
27296 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27298 * math/Makefile (type-float-routines): Add e_log2f_data.
27299 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
27300 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
27301 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
27302 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
27303 * sysdeps/i386/fpu/e_log2f_data.c: New file.
27304 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
27305 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
27307 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27309 * math/Makefile (type-float-routines): Add e_logf_data.
27310 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
27311 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
27312 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
27313 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
27314 * sysdeps/i386/fpu/e_logf_data.c: New file.
27315 * sysdeps/ia64/fpu/e_logf_data.c: New file.
27316 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
27318 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
27320 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
27321 undefined _DYNAMIC in PIE libc.a.
27322 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27325 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27327 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
27328 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
27329 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
27330 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
27331 (__signbit): Remove.
27332 (__signbitl): Remove.
27333 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
27334 (__signbit): Remove.
27335 (__signbitl): Remove.
27336 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
27337 (__signbit): Remove.
27338 (__signbitl): Remove.
27339 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
27340 (__signbit): Remove.
27341 (__signbitl): Remove.
27342 * sysdeps/tile/bits/mathinline.h: Delete file.
27343 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
27344 (__signbit): Remove.
27345 (__signbitl): Remove.
27347 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27349 * math/math.h: Improve handling of C99 isgreater macros.
27350 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
27351 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
27352 * sysdeps/powerpc/bits/mathinline.h: Likewise.
27353 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27354 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
27356 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
27358 * sysdeps/aarch64/libm-test-ulps: Update.
27360 2017-09-28 Joseph Myers <joseph@codesourcery.com>
27363 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27364 math_opt_barrier on argument when doing arithmetic on it.
27365 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27366 Likewise. Use math_force_eval not math_opt_barrier after
27368 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
27369 math_opt_barrier on argument when doing arithmetic on it.
27370 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27373 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
27375 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
27377 (__freeifaddrs): Likewise.
27379 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27381 * include/dirent.h (__dirfd): New declaration.
27382 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
27384 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
27385 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
27386 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
27387 * include/unistd.h (__revoke): New declaration.
27388 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
27390 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27391 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
27393 * include/dirent.h (__seekdir): New declaration.
27394 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
27395 redefine as weak alias.
27396 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
27398 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
27399 and use libc_hidden_def on them.
27400 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
27402 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
27403 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
27404 instead of getifaddrs and freeifaddrs.
27406 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27409 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
27410 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
27411 (__dso_handle): Remove declaration.
27412 * dlfcn/tstatexit.c (__dso_handle): Removed.
27413 (main): Don't check __dso_handle.
27414 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
27415 (main): Don't check __dso_handle.
27416 * include/dso_handle.h: New file.
27417 * malloc/mtrace.c: Include <dso_handle.h>.
27418 (mtrace): Pass __dso_handle directly.
27419 * nptl/pthread_atfork.c: Include <dso_handle.h>.
27420 (__dso_handle): Remove declaration.
27421 (__pthread_atfork): Pass __dso_handle directly.
27422 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
27423 (__dso_handle): Removed.
27424 * posix/wordexp-test.c: Include <dso_handle.h>.
27425 (__dso_handle): Remove declaration.
27426 (__app_register_atfork): Pass __dso_handle directly.
27427 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
27428 (__dso_handle): Remove declaration.
27429 (at_quick_exit): Pass __dso_handle directly.
27430 * stdlib/atexit.c: Include <dso_handle.h>.
27431 (__dso_handle): Remove declaration.
27432 (atexit): Pass __dso_handle directly.
27433 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
27434 (__dso_handle): Removed.
27436 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27438 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
27441 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
27443 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
27444 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
27445 values to correct default value for given type.
27447 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27450 * elf/Makefile (tests): Add tst-debug1.
27451 ($(objpfx)tst-debug1): New.
27452 ($(objpfx)tst-debug1.out): Likewise.
27453 ($(objpfx)tst-debug1mod1.so): Likewise.
27454 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
27455 with p_filesz == 0.
27456 * elf/tst-debug1.c: New file.
27458 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27460 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
27461 Define using __ifunc.
27463 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27465 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
27468 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27471 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
27473 2017-09-26 Florian Weimer <fweimer@redhat.com>
27475 * resolv/Makefile (tests-internal): Fix typo in comment.
27477 2017-09-26 Florian Weimer <fweimer@redhat.com>
27479 * resolv/nss_dns/dns-host.c: Fix typo in comment.
27481 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27483 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
27484 Use an union instead of a max_align_t array for __space,
27485 so that __space is the same size on all platforms.
27486 * malloc/scratch_buffer_grow_preserve.c
27487 (__libc_scratch_buffer_grow_preserve): Likewise.
27490 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
27492 * posix/Makefile (routines): Add glob-lstat-compat and
27493 glob64-lstat-compat.
27494 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
27495 * posix/glob-lstat-compat.c: New file.
27496 * posix/glob64-lstat-compat.c: Likewise.
27497 * posix/tst-glob_lstat_compat.c: Likewise.
27498 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
27499 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
27500 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
27501 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
27503 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
27504 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27505 * posix/glob.c (glob_lstat): New function.
27506 (glob): Rename to __glob and add versioned symbol to 2.27.
27507 (glob_in_dir): Use glob_lstat.
27508 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
27509 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
27510 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
27512 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
27513 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
27514 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
27515 gl_lstat on glob call.
27516 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
27517 and glob64 symbols.
27518 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27519 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
27520 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27521 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27522 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
27523 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
27524 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
27525 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
27526 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
27527 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27528 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27529 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
27530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
27532 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
27533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
27534 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27535 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27536 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
27537 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27538 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
27540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
27541 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
27542 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27543 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27545 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
27547 * configure.ac (AS): Require binutils 2.25 or later.
27548 * configure: Regenerated.
27550 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27553 * stdlib/test-atexit-race-common.c (do_test): Minimize required
27556 2017-09-25 DJ Delorie <dj@redhat.com>
27559 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
27562 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
27564 * sysdeps/ieee754/dbl-64/sincos32.h
27565 [SINCCOS32_H]: Remove define.
27566 [SINCOS32_H]: Define.
27568 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27570 * math/Versions (expf): New libm symbol at GLIBC_2.27.
27572 * math/w_exp2f.c: New file.
27573 * math/w_expf.c: New file.
27574 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
27575 * math/w_expf_compat.c (__expf_compat): Likewise.
27576 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
27577 * sysdeps/ia64/fpu/e_expf.S: Likewise.
27578 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27579 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27580 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27581 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27582 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27583 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27584 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27585 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27586 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27587 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27588 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27589 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27598 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27599 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27600 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27601 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27602 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27607 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27608 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27609 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27611 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27613 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
27614 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
27615 (roundtoint, converttoint): Likewise.
27616 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
27617 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
27618 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
27619 * sysdeps/ieee754/flt-32/math_config.h: New file.
27620 * sysdeps/ieee754/flt-32/math_errf.c: New file.
27621 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
27622 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
27623 * sysdeps/i386/fpu/math_errf.c: New file.
27624 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
27625 * sysdeps/ia64/fpu/math_errf.c: New file.
27626 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
27627 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
27629 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
27631 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
27632 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
27633 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
27634 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
27635 to make sure that these symbols are defined.
27636 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
27638 (__need_NULL): Do not define.
27639 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
27641 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
27642 CMGROUP_MAX, cmsgcred): Do not define.
27643 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
27645 * bits/socket.h: Likewise.
27646 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
27647 __gettimeofday instead of gettimeofday.
27648 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
27649 instead of settimeofday.
27651 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27653 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
27654 (asinhf): Define using libm_alias_float.
27655 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
27656 (atanf): Define using libm_alias_float.
27657 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
27658 (cbrtf): Define using libm_alias_float.
27659 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
27660 (ceilf): Define using libm_alias_float.
27661 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
27662 <libm-alias-float.h>.
27663 (copysignf): Define using libm_alias_float.
27664 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
27665 (cosf): Define using libm_alias_float.
27666 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
27667 (erff): Define using libm_alias_float.
27669 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
27670 (expm1f): Define using libm_alias_float.
27671 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
27672 (fabsf): Define using libm_alias_float.
27673 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
27674 (floorf): Define using libm_alias_float.
27675 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
27676 (frexpf): Define using libm_alias_float.
27677 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
27679 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
27680 <libm-alias-float.h>.
27681 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
27683 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
27684 <libm-alias-float.h>.
27685 (getpayloadf): Define using libm_alias_float.
27686 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
27687 <libm-alias-float.h>.
27688 (llrintf): Define using libm_alias_float.
27689 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
27690 <libm-alias-float.h>.
27691 (llroundf): Define using libm_alias_float.
27692 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
27693 (logbf): Define using libm_alias_float.
27694 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
27695 (lrintf): Define using libm_alias_float.
27696 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
27697 (lroundf): Define using libm_alias_float.
27698 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
27699 (modff): Define using libm_alias_float.
27700 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
27701 <libm-alias-float.h>.
27702 (nearbyintf): Define using libm_alias_float.
27703 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
27704 <libm-alias-float.h>.
27705 (nextafterf): Define using libm_alias_float.
27706 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
27707 <libm-alias-float.h>.
27708 (nextupf): Define using libm_alias_float.
27709 * sysdeps/ieee754/flt-32/s_remquof.c: Include
27710 <libm-alias-float.h>.
27711 (remquof): Define using libm_alias_float.
27712 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
27713 (rintf): Define using libm_alias_float.
27714 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
27715 <libm-alias-float.h>.
27716 (roundevenf): Define using libm_alias_float.
27717 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
27718 (roundf): Define using libm_alias_float.
27719 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
27720 using libm_alias_float.
27721 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
27722 <libm-alias-float.h>.
27723 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
27724 Define using libm_alias_float.
27725 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
27726 <libm-alias-float.h>.
27727 (sincosf): Define using libm_alias_float.
27728 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
27729 (sinf): Define using libm_alias_float.
27730 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
27731 (tanf): Define using libm_alias_float.
27732 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
27733 (tanhf): Define using libm_alias_float.
27734 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
27735 <libm-alias-float.h>.
27736 (totalorderf): Define using libm_alias_float.
27737 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
27738 <libm-alias-float.h>.
27739 (totalordermagf): Define using libm_alias_float.
27740 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
27741 (truncf): Define using libm_alias_float.
27742 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
27744 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
27747 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27750 math/math.h: Let fpclassify use the builtin in C++ mode, even
27751 when optimazing for size.
27753 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27755 * csu/Makefile (generated): Do not add version-info.h.
27756 (before-compile): Likewise.
27757 (all-Banner-files): Remove variable.
27758 ($(objpfx)version-info.h): Remove rule.
27759 * csu/version.c (banner): Do not include "version-info.h".
27760 * libidn/Banner: Remove.
27761 * manual/contrib.texi (Simon Josefsson): New entry.
27763 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27765 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27766 Remove conditionals on LDBL_MANT_DIG.
27767 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27768 (__ieee754_lgammal_r): Likewise.
27770 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27772 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
27774 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
27775 _Float128 and L(). Replace _Float128 with long double and L(x)
27776 with xL, throughout the file.
27777 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27778 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27779 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27780 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27782 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27784 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
27785 sysdeps/ieee754/ldbl-128ibm.
27786 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
27787 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
27788 of including it. Keep _Float128 and L() intact. These will be
27789 reviewed by a separate patch.
27790 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27791 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27792 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27793 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27795 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
27798 (__finitef128): Define to __redirect___finitef128.
27799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
27800 (__isinff128): Define to __redirect___isinff128.
27801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
27802 (__isnanf128): Define to __redirect___isnanf128.
27804 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27806 * sysdeps/powerpc/powerpc64le/Makefile
27807 (CFLAGS-tst-strtod-nan-locale.c): New variable.
27808 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
27810 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
27811 Carlos O'Donell <carlos@redhat.com>
27814 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
27815 * stdlib/test-dlclose-exit-race.c: New file.
27816 * stdlib/test-dlclose-exit-race-helper.c: New file.
27817 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
27819 2017-09-21 Joseph Myers <joseph@codesourcery.com>
27821 * crypt/Banner: Remove file.
27822 * nptl/Banner: Likewise.
27823 * resolv/Banner: Likewise.
27824 * soft-fp/Banner: Likewise.
27825 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
27826 ($(objpfx)version.d): Remove dependency on banner.h.
27827 ($(objpfx)version.os): Likewise.
27828 * nptl/version.c (banner): Do not include banner.h.
27829 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
27830 Jelinek and BIND code.
27832 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27833 Carlos O'Donell <carlos@redhat.com>
27835 * support/xdlfcn.h: New file.
27836 * support/xdlfcn.c: New file.
27837 * support/Makefile (libsupport-routines): Add xdlfcn.
27838 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
27840 2017-09-20 Joseph Myers <joseph@codesourcery.com>
27843 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27844 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
27845 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
27846 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
27847 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
27848 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
27849 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
27850 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
27852 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27853 Ricky Zhou <rickyz@google.com>
27854 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
27857 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
27859 (__new_exitfn): Fail registration when we finished at_exit processing.
27860 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27861 * stdlib/on_exit.c (__on_exit): Likewise.
27862 * stdlib/exit.c (__exit_funcs_done): New variable.
27863 (__run_exit_handlers): Use __exit_funcs_lock.
27864 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
27866 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
27867 (test-cxa_atexit-race, test-on_exit-race): New tests.
27868 * stdlib/test-atexit-race-common.c: New file.
27869 * stdlib/test-atexit-race.c: New file.
27870 * stdlib/test-at_quick_exit-race.c: New file.
27871 * stdlib/test-cxa_atexit-race.c: New file.
27872 * stdlib/test-on_exit-race.c: New file.
27874 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
27876 * benchtests/Makefile: Add exp2f and log2f benchmarks.
27877 * benchtests/exp2f-inputs: Copy of expf-inputs.
27878 * benchtests/log2f-inputs: Copy of logf-inputs.
27880 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27882 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
27883 Explicitly take address of first element of array arguments in
27884 call to INLINE_SYSCALL.
27886 2017-09-19 Andreas Schwab <schwab@suse.de>
27889 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
27891 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
27893 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
27894 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
27895 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27896 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
27897 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27898 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27899 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27900 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27901 * posix/Makefile (tests): Add tst-fexecve.
27902 * posix/tst-fexecve.c: New file.
27904 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27906 * benchtests/Makefile: Add logf benchmark.
27907 * benchtests/logf-inputs: Add reduced trace from wrf_r.
27909 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27911 * benchtests/Makefile: Add expf benchmark.
27912 * benchtests/expf-inputs: Add reduced trace from wrf_r.
27914 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27916 * csu/Makefile: Add -funwind-tables to libc-start.c.
27917 * debug/Makefile: Add -funwind-tables to backtrace.c.
27918 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
27919 * sysdeps/arm/Makefile: Likewise.
27920 * sysdeps/i386/Makefile: Likewise.
27921 * sysdeps/m68k/Makefile: Likewise.
27922 * sysdeps/mips/Makefile: Likewise.
27923 * sysdeps/nios2/Makefile: Likewise.
27924 * sysdeps/sh/Makefile: Likewise.
27925 * sysdeps/sparc/Makefile: Likewise.
27927 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27929 * benchtests/Makefile (bench-math): Add trunc and truncf.
27930 (CFLAGS-bench-trunc.c): New variable.
27931 (CFLAGS-bench-truncf.c): Likewise.
27932 * benchtests/trunc-inputs: New file.
27933 * benchtests/truncf-inputs: Likewise.
27935 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27937 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
27939 2017-09-18 Joseph Myers <joseph@codesourcery.com>
27941 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
27942 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
27944 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27945 (exp10l): Define as weak alias.
27946 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
27947 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
27949 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
27950 (remainderl): Define as weak alias.
27952 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
27953 (fmal): Define using libm_alias_ldouble.
27954 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
27955 (acoshl): Define using libm_alias_ldouble.
27956 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
27957 (acosl): Define using libm_alias_ldouble.
27958 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
27959 (asinl): Define using libm_alias_ldouble.
27960 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
27961 (atan2l): Define using libm_alias_ldouble.
27962 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
27963 (atanhl): Define using libm_alias_ldouble.
27964 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
27965 (coshl): Define using libm_alias_ldouble.
27966 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
27967 (exp10l): Define using libm_alias_ldouble.
27968 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
27969 (exp2l): Define using libm_alias_ldouble.
27970 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
27971 (expl): Define using libm_alias_ldouble.
27972 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
27973 (fmodl): Define using libm_alias_ldouble.
27974 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
27975 (hypotl): Define using libm_alias_ldouble.
27976 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
27977 (j0l): Define using libm_alias_ldouble.
27979 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
27980 (j1l): Define using libm_alias_ldouble.
27982 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
27983 (jnl): Define using libm_alias_ldouble.
27985 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
27986 (log10l): Define using libm_alias_ldouble.
27987 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
27988 (log2l): Define using libm_alias_ldouble.
27989 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
27990 (logl): Define using libm_alias_ldouble.
27991 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
27992 (powl): Define using libm_alias_ldouble.
27993 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
27994 (remainderl): Define using libm_alias_ldouble.
27995 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
27996 (sinhl): Define using libm_alias_ldouble.
27997 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
27998 (sqrtl): Define using libm_alias_ldouble.
27999 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
28000 (tgammal): Define using libm_alias_ldouble.
28001 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
28002 (exp10l): Do not use long_double_symbol here.
28003 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28004 [LIBM_SVID_COMPAT] (remainderl): Likewise.
28005 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
28006 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28007 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28008 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28009 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28010 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28011 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28012 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28013 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28014 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28015 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28016 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28017 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28018 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28019 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28020 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28021 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28022 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28023 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28024 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28026 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
28028 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
28029 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
28031 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
28033 * io/read.c (read): Add libc_hidden_weak.
28034 * sysdeps/mach/hurd/read.c (read): Likewise.
28035 * io/write.c (write): Likewise.
28036 * sysdeps/mach/hurd/write.c (write): Likewise.
28037 * io/pread64.c (__pread64): Likewise.
28038 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
28039 * posix/pread64.c (__pread64): Add libc_hidden_def.
28041 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28043 * benchtests/scripts/compare_strings.py: New option -g.
28044 (draw_graph): Print a message that a graph is being generated.
28045 (process_results): Generate graph only if -g is passed.
28046 (main): Process option -g.
28048 * benchtests/scripts/compare_strings.py (process_results):
28049 Better spacing for output.
28051 * benchtests/scripts/compare_strings.py: Use argparse.
28052 * benchtests/README: Document existence of compare_strings.py.
28054 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28056 * math/s_fma.c: Include <libm-alias-double.h>.
28057 (fma): Define using libm_alias_double.
28058 * math/s_nextafter.c: Include <libm-alias-double.h>.
28059 (nextafter): Define using libm_alias_double.
28060 * math/w_acos_compat.c: Include <libm-alias-double.h>.
28061 (acos): Define using libm_alias_double.
28062 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
28063 (aocsh): Define using libm_alias_double.
28064 * math/w_asin_compat.c: Include <libm-alias-double.h>.
28065 (asin): Define using libm_alias_double.
28066 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
28067 (atan2): Define using libm_alias_double.
28068 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
28069 (atanh): Define using libm_alias_double.
28070 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
28071 (cosh): Define using libm_alias_double.
28072 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
28073 (exp10): Define using libm_alias_double.
28074 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
28075 (exp2): Define using libm_alias_double.
28076 * math/w_exp_compat.c: Include <libm-alias-double.h>.
28077 (exp): Define using libm_alias_double.
28078 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
28079 (fmod): Define using libm_alias_double.
28080 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
28081 (hypot): Define using libm_alias_double.
28082 * math/w_j0_compat.c: Include <libm-alias-double.h>.
28083 (j0): Define using libm_alias_double.
28085 * math/w_j1_compat.c: Include <libm-alias-double.h>.
28086 (j1): Define using libm_alias_double.
28088 * math/w_jn_compat.c: Include <libm-alias-double.h>.
28089 (jn): Define using libm_alias_double.
28091 * math/w_log10_compat.c: Include <libm-alias-double.h>.
28092 (log10): Define using libm_alias_double.
28093 * math/w_log2_compat.c: Include <libm-alias-double.h>.
28094 (log2): Define using libm_alias_double.
28095 * math/w_log_compat.c: Include <libm-alias-double.h>.
28096 (log): Define using libm_alias_double.
28097 * math/w_pow_compat.c: Include <libm-alias-double.h>.
28098 (pow): Define using libm_alias_double.
28099 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
28100 (remainder): Define using libm_alias_double.
28101 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
28102 (sinh): Define using libm_alias_double.
28103 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
28104 (sqrt): Define using libm_alias_double.
28105 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
28106 (tgamma): Define using libm_alias_double.
28107 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
28108 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
28109 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
28110 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
28111 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
28112 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
28113 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
28114 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
28115 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
28116 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
28117 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
28118 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
28119 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
28120 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
28121 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
28122 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
28123 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
28124 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
28125 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
28126 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
28127 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
28128 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
28129 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
28130 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
28131 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
28133 * math/e_acoshl.c: Remove.
28134 * math/e_acosl.c: Likewise.
28135 * math/e_asinl.c: Likewise.
28136 * math/e_atan2l.c: Likewise.
28137 * math/e_atanhl.c: Likewise.
28138 * math/e_coshl.c: Likewise.
28139 * math/e_expl.c: Likewise.
28140 * math/e_fmodl.c: Likewise.
28141 * math/e_gammal_r.c: Likewise.
28142 * math/e_hypotl.c: Likewise.
28143 * math/e_j0l.c: Likewise.
28144 * math/e_j1l.c: Likewise.
28145 * math/e_jnl.c: Likewise.
28146 * math/e_lgammal_r.c: Likewise.
28147 * math/e_log10l.c: Likewise.
28148 * math/e_log2l.c: Likewise.
28149 * math/e_logl.c: Likewise.
28150 * math/e_powl.c: Likewise.
28151 * math/e_rem_pio2l.c: Likewise.
28152 * math/e_sinhl.c: Likewise.
28153 * math/e_sqrtf128.c: Likewise.
28154 * math/e_sqrtl.c: Likewise.
28155 * math/k_cosl.c: Likewise.
28156 * math/k_sinl.c: Likewise.
28157 * math/k_tanl.c: Likewise.
28158 * math/s_asinhl.c: Likewise.
28159 * math/s_atanl.c: Likewise.
28160 * math/s_cbrtl.c: Likewise.
28161 * math/s_erfl.c: Likewise.
28162 * math/s_expm1l.c: Likewise.
28163 * math/s_log1pl.c: Likewise.
28164 * math/s_tanhl.c: Likewise.
28166 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28169 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
28170 [$(subdir) = math] (sysdep_calls): New variable. Has the
28171 previous contents of sysdep_routines, but re-sorted..
28172 [$(subdir) = math] (sysdep_routines): Re-use the contents from
28174 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
28175 defined in sysdep_calls and replace by the respective m_* names.
28176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
28177 (compat_symbol): Undefine to avoid duplicated compat symbols in
28180 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28182 * math/s_fmaf.c: Include <libm-alias-float.h>.
28183 (fmaf): Define using libm_alias_float.
28184 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
28185 (acosf): Define using libm_alias_float.
28186 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
28187 (acoshf): Define using libm_alias_float.
28188 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
28189 (asinf): Define using libm_alias_float.
28190 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
28191 (atan2f): Define using libm_alias_float.
28192 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
28193 (atanhf): Define using libm_alias_float.
28194 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
28195 (coshf): Define using libm_alias_float.
28196 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
28197 (exp10f): Define using libm_alias_float.
28198 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
28199 (fmodf): Define using libm_alias_float.
28200 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
28201 (hypotf): Define using libm_alias_float.
28202 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
28203 (j0f): Define using libm_alias_float.
28205 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
28206 (j1f): Define using libm_alias_float.
28208 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
28209 (jnf): Define using libm_alias_float.
28211 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
28212 (log10f): Define using libm_alias_float.
28213 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
28214 (log2f): Define using libm_alias_float.
28215 * math/w_logf_compat.c: Include <libm-alias-float.h>.
28216 (logf): Define using libm_alias_float.
28217 * math/w_powf_compat.c: Include <libm-alias-float.h>.
28218 (powf): Define using libm_alias_float.
28219 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
28220 (remainderf): Define using libm_alias_float.
28221 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
28222 (sinhf): Define using libm_alias_float.
28223 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
28224 (sqrtf): Define using libm_alias_float.
28225 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
28226 (tgammaf): Define using libm_alias_float.
28228 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28230 * include/math.h (roundeven): Change hidden_proto call to
28232 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
28234 [NO_LONG_DOUBLE] (__j0l): New strong alias.
28235 (y0): Rename to __y0 and define as weak alias.
28236 [NO_LONG_DOUBLE] (__y0l): New strong alias.
28237 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
28239 (y0f): Rename to __y0f and define as weak alias.
28240 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
28242 [NO_LONG_DOUBLE] (__j1l): New strong alias.
28243 (y1): Rename to __y1 and define as weak alias.
28244 [NO_LONG_DOUBLE] (__y1l): New strong alias.
28245 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
28247 (y1f): Rename to __y1f and define as weak alias.
28248 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
28250 [NO_LONG_DOUBLE] (__jnl): New strong alias.
28251 (yn): Rename to __yn and define as weak alias.
28252 [NO_LONG_DOUBLE] (__ynl): New strong alias.
28253 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
28255 (ynf): Rename to __ynf and define as weak alias.
28256 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
28257 (fromfp): Define as weak alias.
28258 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
28259 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
28260 (fromfpx): Define as weak alias.
28261 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
28262 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
28263 __getpayload and define as weak alias.
28264 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28265 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
28266 __roundeven and define as weak alias.
28267 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28268 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
28270 (setpayload): Define as weak alias.
28271 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
28272 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
28274 (setpayloadsig): Define as weak alias.
28275 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
28276 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
28277 __totalorder and define as weak alias.
28278 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28279 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
28280 to __totalordermag and define as weak alias.
28281 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28282 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
28283 (ufromfp): Define as weak alias.
28284 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
28285 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
28287 (ufromfpx): Define as weak alias.
28288 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
28289 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
28290 Rename to __getpayload and define as weak alias.
28291 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28292 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
28293 Rename to __roundeven and define as weak alias.
28294 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28295 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
28296 Rename to __totalorder and define as weak alias.
28297 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28298 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
28299 (totalordermag): Rename to __totalordermag and define as weak
28301 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28302 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
28304 (__roundevenl): Likewise.
28305 (__totalorderl): Likewise.
28306 (__totalordermagl): Likewise
28307 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
28309 (fromfpf128): Define as weak alias.
28310 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
28312 (fromfpxf128): Define as weak alias.
28313 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
28315 (setpayloadf128): Define as weak alias.
28316 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
28317 __setpayloadsigf128.
28318 (setpayloadsigf128): Define as weak alias.
28319 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
28321 (ufromfpf128): Define as weak alias.
28322 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
28324 (ufromfpxf128): Define as weak alias.
28325 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
28326 (fromfpf): Define as weak alias.
28327 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
28329 (fromfpxf): Define as weak alias.
28330 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
28331 __getpayloadf and define as weak alias.
28332 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
28333 __roundevenf and define as weak alias.
28334 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
28336 (setpayloadf): Define as weak alias.
28337 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
28339 (setpayloadsigf): Define as weak alias.
28340 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
28341 __totalorderf and define as weak alias.
28342 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
28343 Rename to __totalordermagf and define as weak alias.
28344 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
28346 (ufromfpf): Define as weak alias.
28347 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
28349 (ufromfpxf): Define as weak alias.
28350 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
28352 (fromfpl): Define as weak alias.
28353 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
28355 (fromfpxl): Define as weak alias.
28356 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
28357 to __getpayloadl and define as weak alias.
28358 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
28359 __roundevenl and define as weak alias.
28360 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
28362 (setpayloadl): Define as weak alias.
28363 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
28365 (setpayloadsigl): Define as weak alias.
28366 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
28367 to __totalorderl and define as weak alias.
28368 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
28369 Rename to __totalordermagl and define as weak alias.
28370 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
28372 (ufromfpl): Define as weak alias.
28373 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
28375 (ufromfpxl): Define as weak alias.
28376 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
28378 (fromfpl): Define as weak alias.
28379 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
28381 (fromfpxl): Define as weak alias.
28382 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
28383 Rename to __getpayloadl and define as weak alias.
28384 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
28385 to __roundevenl and define as weak alias. Call __roundeven
28386 instead of roundeven.
28387 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
28389 (setpayloadl): Define as weak alias.
28390 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
28392 (setpayloadsigl): Define as weak alias.
28393 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
28394 Rename to __totalorderl and define as weak alias.
28395 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
28396 Rename to __totalordermagl and define as weak alias.
28397 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
28399 (ufromfpl): Define as weak alias.
28400 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
28402 (ufromfpxl): Define as weak alias.
28403 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
28405 (fromfpl): Define as weak alias.
28406 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
28408 (fromfpxl): Define as weak alias.
28409 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
28410 __getpayloadl and define as weak alias.
28411 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
28412 __roundevenl and define as weak alias.
28413 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
28415 (setpayloadl): Define as weak alias.
28416 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
28418 (setpayloadsigl): Define as weak alias.
28419 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
28420 __totalorderl and define as weak alias.
28421 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
28422 Rename to __totalordermagl and define as weak alias.
28423 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
28425 (ufromfpl): Define as weak alias.
28426 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
28428 (ufromfpxl): Define as weak alias.
28430 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28432 * benchtests/bench-string.h (realloc_bufs): New function.
28433 (test_init): Call it.
28434 * benchtests/bench-memset-large.c (do_test): Likewise.
28435 * benchtests/bench-memset.c (do_test): Likewise.
28437 * benchtests/bench-memset-large.c: Print output in JSON
28439 * benchtests/bench-memset.c: Likewise.
28441 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28444 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
28445 * iconvdata/Makefile: Add IBM858.
28446 * iconvdata/gconv-modules: Likewise.
28447 * iconvdata/tst-tables.sh: Likewise.
28448 * iconvdata/ibm858.c: New file.
28449 * localedata/charmaps/IBM858: Likewise.
28451 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
28454 * locales/niu_NZ (LC_TIME): copy "niu_NU".
28455 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
28457 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28460 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
28461 and add tel_int_fmt.
28463 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28465 * sysdeps/generic/libm-alias-float128.h: New file.
28466 * sysdeps/generic/math-type-macros-float128.h: Include
28467 <libm-alias-float128.h>.
28468 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28470 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28472 * sysdeps/generic/libm-alias-ldouble.h: New file.
28473 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
28474 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
28475 * sysdeps/generic/math-type-macros-ldouble.h: Include
28476 <libm-alias-ldouble.h>.
28477 [!declare_mgen_alias] (declare_mgen_alias): Define to use
28478 libm_alias_ldouble.
28480 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
28482 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
28483 * math/w_exp_compat.c: ... here.
28484 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
28485 * math/w_expf_compat.c: ... here.
28486 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
28487 * math/w_expl_compat.c: ... here.
28488 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
28489 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
28490 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
28491 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28493 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28495 * math/w_scalbln_template.c (strong_alias): Do not undefine and
28497 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
28499 (ldexpl): Only define as compat symbol for libc, not libm.
28500 (scalbnl): Define as compat symbol for libc here.
28501 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
28502 define for [IS_IN (libc)].
28503 (__ldexpl_2): Remove alias.
28504 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
28505 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
28506 name in long_double_symbol call.
28507 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
28508 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28509 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28510 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
28511 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
28513 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
28514 Define as compat symbol.
28516 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28518 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
28519 * sysdeps/unix/sysv/linux/alpha/Makefile
28520 [$(subdir) = csu] (sysdep_routines): Remove rule.
28522 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28524 * sysdeps/generic/libm-alias-double.h: New file.
28525 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
28526 * sysdeps/generic/math-type-macros-double.h: Include
28527 <libm-alias-double.h>.
28528 [declare_mgen_alias] (declare_mgen_alias): Define to use
28530 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
28531 (M_LIBM_NEED_COMPAT): Remove macro.
28532 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
28533 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
28534 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
28536 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28537 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28538 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28539 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28540 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28541 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28542 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28543 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28544 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28545 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28546 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28547 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28548 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28549 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28550 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28551 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28552 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28553 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28554 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28555 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28556 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28557 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28558 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28559 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28560 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28561 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28562 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28563 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
28564 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
28566 (declare_mgen_alias): New macro.
28567 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
28568 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
28569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
28570 (M_LIBM_NEED_COMPAT): Remove macro.
28571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
28572 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
28573 <first-versions.h>.
28574 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
28575 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
28577 2017-09-12 Joseph Myers <joseph@codesourcery.com>
28579 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
28580 (declare_mgen_alias_2): Remove.
28581 * sysdeps/generic/math-type-macros-double.h
28582 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
28584 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
28586 (ldexp): Define with declare_mgen_alias.
28587 (scalbn): Likewise.
28589 2017-09-12 Steve Ellcey <sellcey@cavium.com>
28591 * grp/initgroups.c: Include config.h.
28592 (DEFAULT_CONFIG): New macro.
28593 (internal_getgrouplist): Use DEFAULT_CONFIG.
28594 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28595 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
28596 (DEFAULT_DEFCONFIG): New macro.
28597 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
28598 * nss/grp-lookup.c: Include config.h
28599 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
28600 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
28601 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
28602 * manual/nss.texi: Update default values section.
28604 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
28607 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
28609 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
28610 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28611 Handle MathVec_Prefer_No_AVX512.
28612 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
28613 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
28616 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
28618 * posix/sched_primax.c (__sched_get_priority_max): Add
28620 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
28621 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28622 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28623 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
28624 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
28625 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
28626 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
28627 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
28630 2017-09-11 Joseph Myers <joseph@codesourcery.com>
28632 * sysdeps/generic/libm-alias-float.h: New file.
28633 * sysdeps/generic/math-type-macros-float.h: Include
28634 <libm-alias-float.h>.
28635 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28637 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
28640 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
28641 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
28642 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
28643 (HWCAP_IMPORTANT): Likewise.
28644 (HWCAP_X86_64): New enum.
28645 (HWCAP_X86_AVX512_1): Updated.
28646 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
28647 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
28648 (modules-names): Add x86_64/tst-x86_64mod-1.
28649 (LDFLAGS-tst-x86_64mod-1.so): New.
28650 ($(objpfx)tst-x86_64-1): Likewise.
28651 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
28652 (tst-x86_64-1-clean): Likewise.
28653 * sysdeps/x86_64/tst-x86_64-1.c: New file.
28654 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
28656 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28658 * po/sv.po: Update translations.
28659 * po/fr.po: Likewise.
28661 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28663 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
28665 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
28667 * elf/rtld-Rules: Fix $(error) use.
28669 2017-09-09 Mike FABIAN <mfabian@redhat.com>
28672 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
28673 * locale/iso-639.def: Change “Bengali” to “Bangla”.
28674 * localedata/locales/bn_BD: “Bengali” was still used in some
28675 comments. Change it to “Bangla”.
28677 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
28679 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
28681 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28683 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
28684 thunderx2t99p1 to list of cpu names.
28685 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28686 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
28688 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28690 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
28691 Use strcmp instead of tunable_is_name.
28693 2017-09-08 Joseph Myers <joseph@codesourcery.com>
28695 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28696 (F_GET_RW_HINT): New macro.
28697 [__USE_GNU] (F_SET_RW_HINT): Likewise.
28698 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
28699 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
28700 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
28701 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
28702 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
28703 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
28704 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
28705 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
28707 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28708 (F_ADD_SEALS): New macro.
28709 [__USE_GNU] (F_GET_SEALS): Likewise.
28710 [__USE_GNU] (F_SEAL_SEAL): Likewise.
28711 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
28712 [__USE_GNU] (F_SEAL_GROW): Likewise.
28713 [__USE_GNU] (F_SEAL_WRITE): Likewise.
28715 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28717 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
28718 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
28719 * posix/glob_internal.h (__glob_pattern_type):
28720 * posix/glob.c (glob):
28721 * posix/glob_pattern_p.c (__glob_pattern_p):
28724 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
28725 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28726 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
28727 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
28728 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
28730 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
28731 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
28732 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28733 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28734 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28735 * sysdeps/wordsize-64/glob.c: Likewise.
28736 * sysdeps/wordsize-64/glob64.c: Likewise.
28737 * sysdeps/wordsize-64/globfree.c: Likewise.
28738 * sysdeps/wordsize-64/globfree64.c: Likewise.
28739 * sysdeps/unix/sysv/linux/glob.c: New file.
28740 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
28741 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
28742 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
28743 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28744 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
28745 adds !GLOB_NO_OLD_VERSION as an extra condition.
28746 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
28747 using relative path instead of absolute one.
28748 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
28749 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28750 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28751 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
28752 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
28753 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
28756 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
28757 (glob): Use the same scratch buffer for both getlogin_r and
28758 getpwnam_r. Don’t require preallocation of the login name. This
28759 simplifies storage allocation, and corrects the handling of
28763 * posix/glob.c (glob): Port recent patches to platforms
28764 lacking getpwnam_r.
28765 (glob): Fix longstanding misuse of errno after getpwnam_r, which
28766 returns an error number rather than setting errno.
28768 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
28769 instead of GCC extension.
28770 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
28771 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
28772 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
28776 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
28777 * posix/bug-glob1.c: Remove file.
28778 * posix/tst-glob_symlinks.c: New file.
28779 * posix/glob.c (__lstat64): New macro.
28780 (is_dir): New function.
28781 (glob, glob_in_dir): Match symlinks even if they are dangling.
28782 (link_stat, link_exists_p): Remove. All uses removed.
28786 * posix/glob.c (struct readdir_result): Remove skip_entry member.
28787 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
28792 * posix/Makefile (routines): Add globfree, globfree64, and
28794 * posix/flexmember.h: New file.
28795 * posix/glob_internal.h: Likewise.
28796 * posix/glob_pattern_p.c: Likewise.
28797 * posix/globfree.c: Likewise.
28798 * posix/globfree64.c: Likewise.
28799 * sysdeps/gnu/globfree64.c: Likewise.
28800 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
28801 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28802 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
28803 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28804 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28805 * sysdeps/wordsize-64/globfree.c: Likewise.
28806 * sysdeps/wordsize-64/globfree64.c: Likewise.
28807 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
28808 [NDEBUG): Remove comments.
28809 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
28810 (dirent_type): New type. Use uint_fast8_t not
28811 uint8_t, as C99 does not require uint8_t.
28812 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
28813 (struct readdir_result): Use dirent_type. Do not define skip_entry
28814 unless it is needed; this saves a byte on platforms lacking d_ino.
28815 (readdir_result_type, readdir_result_skip_entry):
28816 New functions, replacing ...
28817 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
28818 these functions, which were removed. This makes the callers
28819 easier to read. All callers changed.
28820 (D_INO_TO_RESULT): Now empty if there is no d_ino.
28821 (size_add_wrapv, glob_use_alloca): New static functions.
28822 (glob, glob_in_dir): Check for size_t overflow in several places,
28823 and fix some size_t checks that were not quite right.
28824 Remove old code using SHELL since Bash no longer
28826 (glob, prefix_array): Separate MS code better.
28827 (glob_in_dir): Remove old Amiga and VMS code.
28828 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
28830 (glob_in_dir): Do not rely on undefined behavior in accessing
28831 struct members beyond their bounds. Use a flexible array member
28833 (link_stat): Rename from link_exists2_p and return -1/0 instead of
28834 0/1. Caller changed.
28835 (glob): Fix memory leaks.
28836 * posix/glob64 (globfree64): Move to separate file.
28837 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
28838 (globfree64): Remove hidden alias.
28839 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
28841 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
28843 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
28845 Move compat code to separate file.
28846 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
28849 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
28851 * resolv/tst-resolv-qtypes.c (domain): Changed to
28852 "const char domain[] =".
28854 2017-09-07 Joseph Myers <joseph@codesourcery.com>
28856 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
28859 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
28860 (TCP_MD5SIG_EXT): Likewise.
28861 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
28862 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
28863 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
28865 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
28867 2017-09-07 Mike FABIAN <mfabian@redhat.com>
28869 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
28871 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
28874 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
28876 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
28878 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
28879 before assuming that the file is empty. Avoid testing buffer content
28882 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28885 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28887 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
28889 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
28891 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
28893 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28895 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
28897 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
28900 2017-09-06 Florian Weimer <fweimer@redhat.com>
28902 * malloc/dynarray_emplace_enlarge.c
28903 (__libc_dynarray_emplace_enlarge): Add missing else.
28905 2017-09-06 Florian Weimer <fweimer@redhat.com>
28908 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
28909 case of failure to obtain the global conf object.
28911 2017-09-06 Florian Weimer <fweimer@redhat.com>
28914 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
28915 dynarray allocation failure.
28917 2017-09-06 Florian Weimer <fweimer@redhat.com>
28919 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
28920 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
28921 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
28923 (response): Call them. Add 'p', '6' flag processing.
28924 (test_reverse): New function.
28925 (test_get2_any): Call it.
28926 (test_no_inet6): Add 'p' test.
28927 (test_inet6): Likewise.
28929 2017-09-06 Florian Weimer <fweimer@redhat.com>
28931 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
28932 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
28934 (test_gai): Adjust query names. Add additional tests.
28935 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
28936 test_get2. Adjust query names. Add additional tests.
28937 (test_no_inet6): New function, extracted from threadfunc.
28938 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
28939 Add additional tests.
28941 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28944 * localedata/unicode-gen/utf8_gen.py: Set the width for
28945 characters with Prepended_Concatenation_Mark property to 1
28946 * localedata/charmaps/UTF-8: Updated using the improved script.
28948 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28951 * localedata/unicode-gen/utf8_gen.py: Improve the script to
28952 use the range notation for all ranges of neighbouring characters
28953 with the same width.
28955 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28957 * sysdeps/generic/math-type-macros-double.h: Include
28958 <math-svid-compat.h>.
28959 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28960 * sysdeps/generic/math-type-macros-float.h: Include
28961 <math-svid-compat.h>.
28962 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28963 * sysdeps/generic/math-type-macros-ldouble.h: Include
28964 <math-svid-compat.h>.
28965 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28966 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
28968 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
28969 * math/w_acosf_compat.c: Likewise.
28970 * math/w_acosh_compat.c: Likewise.
28971 * math/w_acoshf_compat.c: Likewise.
28972 * math/w_acoshl_compat.c: Likewise.
28973 * math/w_acosl_compat.c: Likewise.
28974 * math/w_asin_compat.c: Likewise.
28975 * math/w_asinf_compat.c: Likewise.
28976 * math/w_asinl_compat.c: Likewise.
28977 * math/w_atan2_compat.c: Likewise.
28978 * math/w_atan2f_compat.c: Likewise.
28979 * math/w_atan2l_compat.c: Likewise.
28980 * math/w_atanh_compat.c: Likewise.
28981 * math/w_atanhf_compat.c: Likewise.
28982 * math/w_atanhl_compat.c: Likewise.
28983 * math/w_cosh_compat.c: Likewise.
28984 * math/w_coshf_compat.c: Likewise.
28985 * math/w_coshl_compat.c: Likewise.
28986 * math/w_exp10_compat.c: Likewise.
28987 * math/w_exp10f_compat.c: Likewise.
28988 * math/w_exp10l_compat.c: Likewise.
28989 * math/w_exp2_compat.c: Likewise.
28990 * math/w_exp2f_compat.c: Likewise.
28991 * math/w_exp2l_compat.c: Likewise.
28992 * math/w_fmod_compat.c: Likewise.
28993 * math/w_fmodf_compat.c: Likewise.
28994 * math/w_fmodl_compat.c: Likewise.
28995 * math/w_hypot_compat.c: Likewise.
28996 * math/w_hypotf_compat.c: Likewise.
28997 * math/w_hypotl_compat.c: Likewise.
28998 * math/w_j0_compat.c: Likewise.
28999 * math/w_j0f_compat.c: Likewise.
29000 * math/w_j0l_compat.c: Likewise.
29001 * math/w_j1_compat.c: Likewise.
29002 * math/w_j1f_compat.c: Likewise.
29003 * math/w_j1l_compat.c: Likewise.
29004 * math/w_jn_compat.c: Likewise.
29005 * math/w_jnf_compat.c: Likewise.
29006 * math/w_jnl_compat.c: Likewise.
29007 * math/w_lgamma_r_compat.c: Likewise.
29008 * math/w_lgammaf_r_compat.c: Likewise.
29009 * math/w_lgammal_r_compat.c: Likewise.
29010 * math/w_log10_compat.c: Likewise.
29011 * math/w_log10f_compat.c: Likewise.
29012 * math/w_log10l_compat.c: Likewise.
29013 * math/w_log2_compat.c: Likewise.
29014 * math/w_log2f_compat.c: Likewise.
29015 * math/w_log2l_compat.c: Likewise.
29016 * math/w_log_compat.c: Likewise.
29017 * math/w_logf_compat.c: Likewise.
29018 * math/w_logl_compat.c: Likewise.
29019 * math/w_pow_compat.c: Likewise.
29020 * math/w_powf_compat.c: Likewise.
29021 * math/w_powl_compat.c: Likewise.
29022 * math/w_remainder_compat.c: Likewise.
29023 * math/w_remainderf_compat.c: Likewise.
29024 * math/w_remainderl_compat.c: Likewise.
29025 * math/w_sinh_compat.c: Likewise.
29026 * math/w_sinhf_compat.c: Likewise.
29027 * math/w_sinhl_compat.c: Likewise.
29028 * math/w_sqrt_compat.c: Likewise.
29029 * math/w_sqrtf_compat.c: Likewise.
29030 * math/w_sqrtl_compat.c: Likewise.
29031 * math/w_tgamma_compat.c: Likewise.
29032 * math/w_tgammaf_compat.c: Likewise.
29033 * math/w_tgammal_compat.c: Likewise.
29034 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
29035 [LIBM_SVID_COMPAT].
29036 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
29037 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
29038 [LIBM_SVID_COMPAT].
29039 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
29040 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
29041 [LIBM_SVID_COMPAT].
29042 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
29043 * sysdeps/i386/fpu/w_sqrt.c: New file.
29044 * sysdeps/ia64/fpu/w_acos.c: Likewise.
29045 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
29046 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
29047 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
29048 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
29049 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
29050 * sysdeps/ia64/fpu/w_asin.c: Likewise.
29051 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
29052 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
29053 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
29054 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
29055 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
29056 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
29057 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
29058 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
29059 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
29060 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
29061 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
29062 * sysdeps/ia64/fpu/w_exp.c: Likewise.
29063 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
29064 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
29065 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
29066 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
29067 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
29068 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
29069 * sysdeps/ia64/fpu/w_expf.c: Likewise.
29070 * sysdeps/ia64/fpu/w_expl.c: Likewise.
29071 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
29072 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
29073 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
29074 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
29075 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
29076 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
29077 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
29078 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
29079 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
29080 * sysdeps/ia64/fpu/w_log.c: Likewise.
29081 * sysdeps/ia64/fpu/w_log10.c: Likewise.
29082 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
29083 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
29084 * sysdeps/ia64/fpu/w_log2.c: Likewise.
29085 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
29086 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
29087 * sysdeps/ia64/fpu/w_logf.c: Likewise.
29088 * sysdeps/ia64/fpu/w_logl.c: Likewise.
29089 * sysdeps/ia64/fpu/w_pow.c: Likewise.
29090 * sysdeps/ia64/fpu/w_powf.c: Likewise.
29091 * sysdeps/ia64/fpu/w_powl.c: Likewise.
29092 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
29093 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
29094 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
29095 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
29096 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
29097 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
29098 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
29099 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
29100 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
29101 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
29102 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
29103 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
29104 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
29105 [LIBM_SVID_COMPAT].
29106 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29107 * sysdeps/ieee754/k_standard.c: Likewise.
29108 * sysdeps/ieee754/k_standardf.c: Likewise.
29109 * sysdeps/ieee754/k_standardl.c: Likewise.
29110 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29111 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29112 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29113 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
29114 long_double_symbol call on [LIBM_SVID_COMPAT].
29115 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29116 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29117 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29118 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29119 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29120 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29121 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29122 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29123 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29124 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29125 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29126 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29127 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29128 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29129 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29130 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29131 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
29132 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29133 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29134 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29135 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
29136 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
29138 2017-09-05 Steve Ellcey <sellcey@cavium.com>
29140 * include/shlib-compat.h (TEST_COMPAT): New Macro.
29141 * malloc/tst-mallocstate.c: Convert from test-skeleton
29142 to test-driver. Ifdef code using TEST_COMPAT macro.
29143 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
29144 * math/test-matherr.c: Likewise.
29146 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29149 * debug/pcprofiledump.c (main): Use byte-swapped mask when
29150 comparing word with byte-swapped constant.
29152 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
29155 * locale/iso-639.def: add Miskito.
29156 * localedata/SUPPORTED: Add miq_NI/UTF-8.
29157 * localedata/locales/miq_NI: New file.
29159 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
29162 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
29163 (__mkdir): Likewise.
29164 * io/chmod.c (__chmod): Add libc_hidden_def.
29165 * io/mkdir.c (__mkdir): Likewise.
29166 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
29167 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
29168 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
29169 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
29171 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29173 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
29177 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
29178 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
29180 2017-09-04 Florian Weimer <fweimer@redhat.com>
29182 * math/math.h: Issue warning if log is defined.
29184 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29186 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
29187 kernel version to 4.13.
29189 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29191 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
29192 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
29194 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
29195 just <bits/types.h>.
29196 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
29197 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
29198 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
29199 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
29200 * misc/preadv2.c: Include <errno.h>.
29201 * misc/preadv64v2.c: Include <errno.h>.
29202 * misc/pwritev2.c: Include <errno.h>.
29203 * misc/pwritev64v2.c: Include <errno.h>.
29204 * sysdeps/posix/preadv2.c: Include <errno.h>.
29205 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
29206 Fix <unistd.h> inclusion.
29207 * sysdeps/posix/pwritev2.c: Include <errno.h>.
29208 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
29209 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
29210 __strtoul_internal): New functions.
29211 * sysdeps/posix/pause.c: Include <sigsetops.h>.
29212 * sysdeps/posix/system.c: Include <sigsetops.h>.
29213 * sysdeps/mach/hurd/i386/Makefile
29214 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
29215 [$(subdir) = csu] (sysdep-only-routines): Likewise.
29216 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
29217 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
29218 __feraiseexcept_renamed to feraiseexcept instead of
29219 __GI_feraiseexcept.
29220 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
29221 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
29222 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
29223 RWF_NOWAIT): Define to 0 if undefined already.
29224 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
29226 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
29227 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
29229 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29231 * manual/math.texi (pow10): Do not document.
29232 (pow10f): Likewise.
29233 (pow10l): Likewise.
29234 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
29235 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
29236 * math/libm-test-exp10.inc (pow10_test): Remove.
29237 (do_test): Do not call pow10.
29238 * math/w_exp10_compat.c (pow10): Make into compat symbol.
29239 [NO_LONG_DOUBLE] (pow10l): Likewise.
29240 * math/w_exp10f_compat.c (pow10f): Likewise.
29241 * math/w_exp10l_compat.c (pow10l): Likewise.
29242 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
29243 (pow10): Make into compat symbol.
29244 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
29245 (pow10f): Make into compat symbol.
29246 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
29247 (pow10l): Make into compat symbol.
29248 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
29250 (CFLAGS-nldbl-pow10.c): Remove variable..
29251 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
29252 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
29253 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
29254 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
29255 Undefine and redefine.
29256 (pow10l): Make into compat symbol.
29257 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
29258 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29259 * sysdeps/arm/libm-test-ulps: Likewise.
29260 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
29261 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29262 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29263 * sysdeps/microblaze/libm-test-ulps: Likewise.
29264 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29265 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29266 * sysdeps/nios2/libm-test-ulps: Likewise.
29267 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29268 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29269 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29270 * sysdeps/sh/libm-test-ulps: Likewise.
29271 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29272 * sysdeps/tile/libm-test-ulps: Likewise.
29273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29275 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29277 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
29279 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29281 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
29282 "../ChangeLog.old/ChangeLog.8".
29283 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
29284 "../ChangeLog.old/ChangeLog.14".
29286 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29288 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
29291 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29293 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
29295 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29297 * csu/version.c (banner): Remove "by Roland McGrath et al.".
29298 * nptl/Banner: Remove "by Ulrich Drepper et al.".
29300 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29302 * stdlib/tst-atexit-common.c (do_test): Test support for at least
29303 32 atexit handlers.
29305 2017-09-01 Zack Weinberg <zackw@panix.com>
29307 * math/math.h (HUGE_VAL): Improve commentary.
29309 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29310 Andreas Schwab <schwab@suse.de>
29313 * include/stdio.h (__gen_tempfd): New function.
29314 * stdio-common/Makefile (routines): Add gentempfd.
29315 * stdio-common/gentempfd.c: New file.
29316 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
29317 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
29318 unnamed file first.
29320 2017-09-01 Florian Weimer <fweimer@redhat.com>
29324 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
29325 result to determine success or failure, not the errno value.
29326 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
29327 (tst-nss-files-hosts-erange): Link with -ldl.
29328 * nss/tst-nss-files-hosts-erange.c: New file.
29329 * nss/tst-resolv-basic.c (response): Handle nodata.example.
29330 (do_test): Add NO_DATA tests.
29331 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
29332 (do_test): Call it.
29334 2017-09-01 Florian Weimer <fweimer@redhat.com>
29337 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
29338 coming from gethostbyname2_r.
29340 2017-09-01 Florian Weimer <fweimer@redhat.com>
29342 * support/namespace.h (struct support_chroot_configuration): Add
29344 (struct support_chroot): Add path_hosts, path_host_conf.
29345 * support/support_chroot.c (write_file): New function.
29346 (support_chroot_create): Call it to process /etc/resolv.conf,
29347 /etc/hosts, /etc/host.conf.
29348 (support_chroot_free): Update.
29350 2017-09-01 Florian Weimer <fweimer@redhat.com>
29352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
29353 status indicates it is set.
29355 2017-09-01 Florian Weimer <fweimer@redhat.com>
29358 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
29359 function lookup failures more reliable.
29361 2017-09-01 Florian Weimer <fweimer@redhat.com>
29363 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
29364 (getcanonname): Likewise.
29365 (gaih_inet): Likewise.
29367 2017-09-01 Florian Weimer <fweimer@redhat.com>
29369 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
29370 (getcanonname): Likewise.
29371 (gaih_inet): Likewise.
29373 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29374 Richard Henderson <rth@twiddle.net>
29376 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
29377 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
29378 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
29379 (IREG_SIZE, OREG_SIZE): New macros.
29380 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
29381 (IREG_SIZE, OREG_SIZE): New macros.
29382 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
29383 (IREG_SIZE): New macro.
29384 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
29385 (IREG_SIZE): New macro.
29386 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
29388 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
29389 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29390 (__CONCATX): Handle exceptions correctly on large values that may
29392 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
29393 Initialize if not already set.
29394 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29396 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29398 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
29399 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
29401 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
29403 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
29405 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
29407 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
29409 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
29411 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
29413 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
29414 (NO_CANCELLATION): Likewise.
29415 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
29417 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
29419 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
29421 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
29422 (NO_CANCELLATION): Likewise.
29423 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
29424 (NO_CANCELLATION): Likewise.
29425 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
29427 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
29429 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
29431 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
29433 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
29435 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
29436 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
29438 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29440 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
29443 2017-08-31 Florian Weimer <fweimer@redhat.com>
29445 * include/libc-symbols.h (internal_function): Remove.
29447 2017-08-31 Florian Weimer <fweimer@redhat.com>
29449 * stdlib/fmtmsg.c (internal_addseverity): Remove
29452 2017-08-31 Florian Weimer <fweimer@redhat.com>
29454 * stdio-common/printf_fp.c (group_number): Remove
29456 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
29458 2017-08-31 Florian Weimer <fweimer@redhat.com>
29460 * posix/fnmatch.c (internal_function): Remove definition.
29461 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
29462 * posix/regcomp.c (peek_token, init_word_char)
29463 (duplicate_node_closure, fetch_token, peek_token)
29464 (peek_token_bracket, build_range_exp, build_collating_symbol):
29466 * posix/regex_internal.c (re_string_construct_common)
29467 (create_ci_newstate, create_cd_newstate, re_string_allocate)
29468 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
29469 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
29470 (re_string_translate_buffer, re_string_reconstruct)
29471 (re_string_peek_byte_case, re_string_fetch_byte_case)
29472 (re_string_destruct, re_string_context_at, re_node_set_alloc)
29473 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
29474 (re_node_set_add_intersect, re_node_set_init_union)
29475 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
29476 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
29477 (re_dfa_add_node, calc_state_hash, re_acquire_state)
29478 (re_acquire_state_context): Likewise.
29479 * posix/regex_internal.h (internal_function): Remove definition.
29480 (re_string_realloc_buffers, build_wcs_buffer)
29481 (build_wcs_upper_buffer, build_upper_buffer)
29482 (re_string_translate_buffer, re_string_context_at)
29483 (re_string_char_size_at, re_string_wchar_at)
29484 (re_string_elem_size_at): Likewise.
29485 * posix/regexec.c (match_ctx_init, match_ctx_clean)
29486 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
29487 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
29488 (re_search_internal, re_search_2_stub, re_search_stub)
29489 (re_copy_regs, prune_impossible_nodes, check_matching)
29490 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
29491 (free_fail_stack_return, sift_states_iter_mb)
29492 (sift_states_backward, build_sifted_states)
29493 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
29494 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
29495 (check_subexp_limits, sift_states_bkref, merge_state_array)
29496 (find_recover_state, transit_state, merge_state_with_log)
29497 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
29498 (transit_state_mb, transit_state_bkref, get_subexp)
29499 (get_subexp_sub, find_subexp_node, check_arrival)
29500 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
29501 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
29502 (check_node_accept_bytes, find_collation_sequence_value)
29503 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
29504 (acquire_init_state_context, check_halt_node_context)
29505 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
29506 (sub_epsilon_src_nodes): Likewise.
29507 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
29508 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
29509 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
29510 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
29511 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
29512 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
29513 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
29514 * sysdeps/posix/ttyname.c (getttyname): Likewise.
29515 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
29516 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
29517 (PREADV): Likewise.
29518 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
29519 (PREADV): Likewise.
29520 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
29521 (PWRITEV): Likewise.
29522 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
29523 (PWRITEV): Likewise.
29524 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
29525 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
29527 2017-08-31 Florian Weimer <fweimer@redhat.com>
29529 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
29530 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
29531 Remove internal_function.
29532 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29533 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
29534 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
29535 (__deallocate_stack, __libc_pthread_init)
29536 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
29537 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
29538 (__libc_disable_asynccancel, __librt_disable_asynccancel):
29540 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
29541 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
29542 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
29544 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
29545 (__pthread_mutex_unlock_usercnt): Likewise.
29547 2017-08-31 Florian Weimer <fweimer@redhat.com>
29549 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
29550 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
29551 (fts_safe_changedir): Remove internal_function.
29552 * io/ftw.c (internal_function): Remove definition.
29553 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
29555 2017-08-31 Florian Weimer <fweimer@redhat.com>
29557 * inet/deadline.c (__deadline_current_time)
29558 (__deadline_from_timeval, __deadline_to_ms): Remove
29560 * inet/getnameinfo.c (nrl_domainname): Likewise.
29561 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
29562 * inet/inet6_option.c (add_pad): Likewise.
29563 * inet/net-internal.h (__deadline_current_time)
29564 (__deadline_from_timeval, __deadline_to_ms): Likewise.
29565 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
29566 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
29567 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
29569 2017-08-31 Joseph Myers <joseph@codesourcery.com>
29571 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
29572 include <bits/nan.h>.
29573 * math/Makefile (headers): Remove bits/nan.h.
29574 * bits/nan.h: Remove.
29575 * sysdeps/ieee754/bits/nan.h: Likewise.
29576 * sysdeps/mips/bits/nan.h: Likewise.
29578 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
29579 not include <bits/inf.h>.
29580 * math/Makefile (headers): Remove bits/inf.h.
29581 * bits/inf.h: Remove.
29582 * sysdeps/ieee754/bits/inf.h: Likewise.
29584 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
29585 bits/huge_vall.h or bits/huge_val_flt128.h.
29586 (HUGE_VAL): Define directly here.
29587 [__USE_ISOC99] (HUGE_VALF): Likewise.
29588 [__USE_ISOC99] (HUGE_VALL): Likewise.
29589 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29590 (HUGE_VAL_F128): Likewise.
29591 * math/Makefile (headers): Remove bits/huge_val.h,
29592 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
29593 * bits/huge_val.h: Remove.
29594 * bits/huge_val_flt128.h: Likewise.
29595 * bits/huge_valf.h: Likewise.
29596 * bits/huge_vall.h: Likewise.
29597 * sysdeps/ia64/bits/huge_vall.h: Likewise.
29598 * sysdeps/ieee754/bits/huge_val.h: Likewise.
29599 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
29600 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
29601 * sysdeps/sh/bits/huge_val.h: Likewise.
29602 * sysdeps/sparc/bits/huge_vall.h: Likewise.
29603 * sysdeps/x86/bits/huge_vall.h: Likewise.
29605 2017-08-31 Florian Weimer <fweimer@redhat.com>
29607 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
29609 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
29611 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
29612 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29613 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
29614 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
29615 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29616 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29617 * elf/dl-libc.c (dlerror_run): Likewise.
29618 * elf/dl-load.c (add_name_to_object, decompose_rpath)
29619 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
29620 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
29621 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
29623 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
29624 (_dl_higher_prime_number, _dl_strtoul): Likewise.
29625 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
29626 * elf/dl-profile.c (_dl_start_profile): Likewise.
29627 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
29628 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
29630 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
29631 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
29632 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
29633 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
29634 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
29635 (_dl_allocate_tls_storage): Likewise.
29636 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
29637 (_dl_check_all_versions): Likewise.
29638 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29639 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
29640 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
29641 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29642 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
29643 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
29644 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
29645 internal_function from __dl_start.
29646 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
29647 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29648 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
29649 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
29650 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
29651 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
29652 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
29653 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
29654 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
29655 (_dl_next_ld_env_entry, _dl_important_hwcaps)
29656 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
29657 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
29658 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
29659 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
29660 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
29662 (struct rtld_global_ro): Remove internal_function from the
29663 _dl_lookup_symbol_x member.
29664 (_dl_symbol_value): Remove. No longer defined anywhere.
29665 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
29667 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29668 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29669 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
29670 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
29671 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
29672 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
29673 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
29674 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
29675 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
29676 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29677 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29678 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29680 2017-08-31 Florian Weimer <fweimer@redhat.com>
29682 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
29683 Remove internal_function.
29684 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29686 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29689 2017-08-31 Florian Weimer <fweimer@redhat.com>
29691 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
29692 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
29693 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
29695 2017-08-31 Florian Weimer <fweimer@redhat.com>
29697 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
29698 (__gai_enqueue_request): Remove internal_function.
29699 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
29700 (__gai_remove_request, __gai_notify, __gai_notify_only)
29701 (__gai_sigqueue): Likewise.
29702 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
29703 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29704 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
29705 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29708 2017-08-31 Florian Weimer <fweimer@redhat.com>
29710 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
29711 * include/dirent.h (__opendirat, __getdents, __getdents64)
29712 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
29713 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
29714 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29715 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29717 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
29719 2017-08-31 Florian Weimer <fweimer@redhat.com>
29721 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
29723 (GETCWD_RETURN_TYPE): Likewise.
29725 2017-08-31 Florian Weimer <fweimer@redhat.com>
29727 * include/time.h (__tz_compute, __strptime_internal): Remove
29729 * time/strptime_l.c (__strptime_internal): Likewise.
29730 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
29732 2017-08-31 Florian Weimer <fweimer@redhat.com>
29734 * iconv/gconv.c (__gconv): Remove internal_function.
29735 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
29736 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
29737 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
29738 (__gconv_release_cache): Likewise.
29739 * iconv/gconv_close.c (__gconv_close): Likewise.
29740 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
29741 (read_conf_file, __gconv_get_path): Likewise.
29742 * iconv/gconv_db.c (derivation_lookup, add_derivation)
29743 (__gconv_release_step, gen_steps, increment_counter)
29744 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
29745 (__gconv_close_transform, free_modules_db): Likewise.
29746 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
29748 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
29749 (__gconv_find_transform, __gconv_lookup_cache)
29750 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
29751 (__gconv_close_transform, __gconv_release_cache)
29752 (__gconv_loaded_object, __gconv_release_shlib)
29753 (__gconv_compare_alias): Likewise.
29754 * iconv/gconv_open.c (__gconv_open): Likewise.
29755 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
29756 * iconv/iconvconfig.c (add_module): Likewise.
29757 * intl/dcigettext.c (plural_lookup, guess_category_value)
29758 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
29759 * intl/eval-plural.h (plural_eval): Likewise.
29760 * intl/finddomain.c (_nl_find_domain): Likewise.
29761 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
29762 (_nl_load_domain, _nl_find_msg): Likewise.
29763 (internal_function): Remove definition.
29764 * intl/loadinfo.h (internal_function): Likewise.
29765 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
29767 * intl/localealias.c (internal_function): Remove definition.
29768 (read_alias_file): Remove internal_function.
29769 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
29770 * intl/plural-exp.h (internal_function): Remove definition.
29771 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
29773 * intl/plural.c: Regenerate.
29774 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
29775 * locale/coll-lookup.c (__collidx_table_lookup)
29776 (__collseq_table_lookup): Likewise.
29777 * locale/coll-lookup.h (__collidx_table_lookup)
29778 (__collseq_table_lookup): Likewise.
29779 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
29780 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29781 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
29782 (_nl_unload_locale): Likewise.
29783 * locale/localeinfo.h (struct __locale_data): Remove
29784 internal_function from cleanup member.
29785 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
29786 (_nl_remove_locale, _nl_load_locale_from_archive)
29787 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
29788 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
29789 (_nl_cleanup_time): Remove internal_function.
29790 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
29791 (_nl_parse_alt_digit): Likewise.
29792 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
29793 (_nl_select_era_entry): Likewise.
29794 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
29795 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29796 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29797 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29798 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29800 2017-08-31 Florian Weimer <fweimer@redhat.com>
29802 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
29803 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29804 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
29805 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
29807 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
29808 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
29809 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
29810 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29812 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
29814 2017-08-31 Florian Weimer <fweimer@redhat.com>
29816 * misc/getttyent.c (skip, value): Remove internal_function.
29817 * misc/syslog.c (openlog_internal): Likewise.
29818 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
29820 2017-08-31 Florian Weimer <fweimer@redhat.com>
29822 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
29823 (__nss_rewrite_field): Remove internal_function.
29824 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29825 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29826 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29827 * nss/nsswitch.c (nss_parse_file, nss_getline)
29828 (nss_parse_service_list, nss_new_service): Likewise.
29829 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
29830 * nss/valid_field.c (__nss_valid_field): Likewise.
29831 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29833 2017-08-31 Florian Weimer <fweimer@redhat.com>
29835 * malloc/arena.c (__malloc_fork_lock_parent)
29836 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
29837 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
29838 internal_function from defintions.
29839 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
29840 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
29841 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
29842 internal_function from declarations.
29843 * malloc/malloc.c (internal_function): Do not define.
29844 (mem2mem_check): Remove internal_function from declaration.
29845 (munmap_chunk, mremap_chunk): Remove internal_function.
29846 * malloc/mtrace.c (tr_where): Likewise.
29848 2017-08-31 Florian Weimer <fweimer@redhat.com>
29850 * include/rpc/pmap_clnt.h (__get_socket): Remove
29852 * sunrpc/auth_des.c (synchronize): Likewise.
29853 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
29854 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
29855 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
29856 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
29857 (key_call): Likewise.
29858 * sunrpc/pm_getport.c (__get_socket): Likewise.
29859 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
29860 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
29861 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
29862 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
29863 (invalidate): Likewise.
29864 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
29865 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
29866 (set_input_fragment, get_input_bytes): Likewise.
29868 2017-08-31 Florian Weimer <fweimer@redhat.com>
29870 * malloc/malloc.c (_int_free): Remove locked variable and related
29873 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
29876 * Makerules (build-module-helper-objlist): Filter out
29877 $(elf-objpfx)sofini.os.
29878 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
29881 2017-08-31 Florian Weimer <fweimer@redhat.com>
29883 * libio/fcloseall.c: Assume weak_alias is defined.
29884 * libio/feof.c: Likewise.
29885 * libio/fileno.c: Likewise.
29886 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
29887 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29889 (_IO_file_open): Call __open directly.
29890 (_IO_new_file_sync): Assume ESPIPE is defined.
29891 (_IO_file_seekoff_maybe_mmap): Call __read directly.
29892 (_IO_new_file_write): Call __write directly.
29893 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
29894 * libio/ftello64.c (__ftello64): Assume EIO is defined.
29895 * libio/genops.c: Assume _LIBC is defined.
29896 (save_for_backup): Remove internal_function.
29897 * libio/getc.c: Assume weak_alias is defined.
29898 * libio/getwc.c: Likewise.
29899 * libio/iofclose.c: Assume _LIBC is defined.
29900 * libio/iofdopen.c: Likewise.
29901 (_IO_fcntl): Remove macro definition.
29902 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
29903 Call __fcntl directly.
29904 * libio/iofflush.c: Assume weak_alias is defined.
29905 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
29907 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
29908 * libio/iofgets.c: Likewise.
29909 * libio/iofopen.c: Assume _LIBC is defined.
29910 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
29911 * libio/iofputs.c: Assume weak_alias is defined.
29912 * libio/iofread.c: Likewise.
29913 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
29914 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
29915 * libio/ioftell.c: Assume weak_alias is defined.
29916 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
29917 * libio/iofwide.c: Assume _LIBC is defined.
29918 (_IO_fwide): Drop SHARED conditional because it is implied by
29920 * libio/iofwrite.c: Assume weak_alias is defined.
29921 * libio/iogetdelim.c: Likewise.
29922 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
29923 * libio/iogetwline.c (wmemcpy): Remove macro definition.
29924 (_IO_getwline): Call __wmemcpy directly.
29925 * libio/iopopen.c: Assume _LIBC is defined.
29926 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29927 (_IO_close): Remove macro definitions.
29928 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
29930 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
29932 * libio/ioputs.c: Assume weak_alias is defined.
29933 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
29934 * libio/iosetbuffer.c: Assume weak_alias is defined.
29935 * libio/iosetvbuf.c: Likewise.
29936 * libio/ioungetc.c: Likewise.
29937 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
29938 libc_hidden_def, libc_hidden_weak, NULL are defined.
29939 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
29940 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
29942 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29944 (_IO_old_file_init_internal): Drop SHARED conditional because it
29945 is implied by SHLIB_COMPAT.
29946 (_IO_old_file_fopen): Call __open directly.
29947 (_IO_old_file_sync): Assume ESPIPE is defined.
29948 (_IO_old_file_write): Call __write directly.
29949 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
29950 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
29951 Call __fcntl directly.
29952 * libio/oldiofgetpos.c: Assume weak_alias is defined.
29953 (_IO_old_fgetpos): Assume EIO is defined.
29954 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
29955 (_IO_old_fgetpos64): Assume EIO is defined.
29956 * libio/oldiofsetpos.c: Assume weak_alias is defined.
29957 (_IO_old_fsetpos): Assume EIO is defined.
29958 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
29959 (_IO_old_fsetpos64): Assume EIO is defined.
29960 * libio/oldiopopen.c: Assume _LIBC is defined.
29961 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29962 (_IO_close): Remove macro definitions.
29963 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
29965 (_IO_old_proc_close): Call __close, __waitpid directly.
29966 * libio/put.c: Assume weak_alias is defined.
29967 * libio/stdfiles.c: Assume _LIBC is defined.
29968 * libio/stdio.c: Likewise.
29969 * libio/wfileops.c: Likewise.
29970 (_IO_wfile_sync): Assume ESPIPE is defined.
29971 * libio/wgenops.c: Assume _LIBC is defined.
29972 (save_for_wbackup): Remove internal_function.
29974 2017-08-31 Florian Weimer <fweimer@redhat.com>
29976 * malloc/malloc.c (top_check): Change return type to void. Remove
29978 * malloc/hooks.c (top_check): Likewise.
29979 (malloc_check, realloc_check, memalign_check): Adjust.
29981 2017-08-30 Joseph Myers <joseph@codesourcery.com>
29984 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29985 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
29986 sigcontext and namespace requirements.
29987 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29988 * sysdeps/m68k/sys/ucontext.h: Likewise.
29989 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
29990 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
29991 <bits/sigcontext.h>.
29992 (__ctx): Define earlier.
29993 (mcontext_t): Define structure contents rather than using struct
29995 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
29996 __glibc_reserved1 instead of __reserved.
29997 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
29998 <bits/sigcontext.h>.
29999 (__ctx): Define earlier.
30000 (mcontext_t): Define structure contents rather than using struct
30002 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
30003 mcontext_t instead of struct sigcontext.
30004 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
30005 <bits/sigcontext.h>.
30006 (__ctx): Define earlier.
30007 (mcontext_t): Define structure contents rather than using struct
30009 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
30010 <bits/sigcontext.h>.
30011 (__ctx): Define earlier.
30012 (mcontext_t): Define structure contents rather than using struct
30014 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
30015 mcontext_t instead of struct sigcontext.
30016 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
30017 mcontext_t instead of struct sigcontext.
30018 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
30019 <bits/sigcontext.h>.
30020 (__ctx): New macro.
30021 (struct __ia64_fpreg_mcontext): New type.
30022 (mcontext_t): Define structure contents rather than using struct
30024 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
30025 (uc_sigmask): Define using __ctx.
30026 (uc_stack): Likewise.
30027 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
30028 <bits/sigcontext.h>.
30029 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30030 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
30031 <bits/sigcontext.h>.
30032 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
30033 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
30034 <bits/sigcontext.h>.
30035 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
30036 <bits/sigcontext.h>.
30037 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
30038 <bits/sigcontext.h>.
30039 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
30040 <bits/sigcontext.h>.
30041 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
30042 <bits/sigcontext.h>.
30043 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
30044 <bits/sigcontext.h>.
30045 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
30046 <bits/sigcontext.h>.
30047 (__ctx): Define earlier.
30048 (mcontext_t): Define structure contents rather than using struct
30050 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
30051 <bits/sigcontext.h>. Include <bits/types.h>.
30052 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
30053 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
30054 (test-xfail-XPG42/ucontext.h/conform): Likewise.
30055 (test-xfail-UNIX98/signal.h/conform): Likewise.
30056 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30057 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30058 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30059 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30060 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30061 (test-xfail-POSIX2008/signal.h/conform): Likewise.
30062 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30063 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30064 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30066 2017-08-30 Florian Weimer <fweimer@redhat.com>
30068 * malloc/dynarray_emplace_enlarge.c
30069 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
30070 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
30071 * malloc/tst-dynarray.c (test_long_overflow): New function.
30072 (do_test): Call it.
30074 2017-08-30 Florian Weimer <fweimer@redhat.com>
30076 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
30077 (set_arena_corrupt): Remove definitions.
30078 (mtrim): Do not check for corrupt arena.
30079 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
30082 2017-08-30 Florian Weimer <fweimer@redhat.com>
30085 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
30087 (ptmalloc_init): Do not set or use check_action.
30088 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
30089 call to malloc_printerr. Remove return statement.
30090 (free_check): Likewise. Remove arena unlock.
30091 (top_check): Update comment. Adjust call to malloc_printerr.
30092 Remove heap repair code.
30093 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
30094 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
30095 (sysmalloc): Adjust call to malloc_printerr.
30096 (munmap_chunk, __libc_realloc): Likewise. Remove return
30098 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
30099 Remove errout label and corresponding gotos.
30100 (_int_free): Likewise. Remove arena unlock.
30101 (do_set_mallopt_check): Do not set check_action.
30102 (malloc_printerr): Adjust parameter list. Do not mark arena as
30104 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
30106 * manual/probes.texi (Memory Allocation Probes): Remove
30107 memory_mallopt_check_action.
30109 2017-08-30 Steve Ellcey <sellcey@cavium.com>
30111 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
30112 Use pointer to uint64_t instead of long int for sp.
30114 2017-08-30 Florian Weimer <fweimer@redhat.com>
30117 * malloc/malloc.c (malloc_printerr): Always terminate the process,
30118 without printing a backtrace. Do not leak any information in the
30120 * manual/memory.texi (Heap Consistency Checking): Update.
30121 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
30123 2017-08-30 Florian Weimer <fweimer@redhat.com>
30125 Do not scale NPTL tests with available number of CPUs.
30126 * nptl/tst-cond16.c (count): Set to constant value of 8.
30127 * nptl/tst-cond18.c (count): Likewise.
30129 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30132 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
30133 Define to take a second argument that is a macro that
30134 concatentates a suffix, not the suffix itself.
30135 (__CONCAT_d): New macro.
30136 (__CONCAT_f): Likewise.
30137 (__CONCAT_l): Likewise.
30139 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
30141 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
30144 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30145 Aurelien Jarno <aurelien@aurel32.net>
30146 Maciej W. Rozycki <macro@imgtec.com>
30149 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
30150 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
30151 `mips16-syscall6' and `mips16-syscall7'.
30152 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
30153 (CFLAGS-mips16-syscall7.c): Remove.
30154 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
30155 Remove `__mips16_syscall5', `__mips16_syscall6' and
30156 `__mips16_syscall7'.
30157 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
30158 (__mips16_syscall0): Rename `__mips16_syscall_return' to
30159 `__mips_syscall_return'.
30160 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
30161 (__mips16_syscall1): Likewise.
30162 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
30163 (__mips16_syscall2): Likewise.
30164 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
30165 (__mips16_syscall3): Likewise.
30166 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
30167 (__mips16_syscall4): Likewise.
30168 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
30170 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
30172 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
30174 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
30175 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
30176 `__mips16_syscall5'. Remove prototype.
30177 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
30178 `__mips16_syscall6'. Remove prototype.
30179 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
30180 `__mips16_syscall7'. Remove prototype.
30181 (__nomips16, __mips16_syscall_return): Move to...
30182 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
30183 (__nomips16, __mips_syscall_return): ... here.
30184 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
30185 `__mips16_syscall_return' to `__mips_syscall_return'.
30186 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
30187 `internal_syscall##nr'.
30188 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
30189 `internal_syscall##nr'.
30190 (FORCE_FRAME_POINTER): Remove.
30191 (__mips_syscall5): New prototype.
30192 (internal_syscall5): Rewrite to call `__mips_syscall5'.
30193 (__mips_syscall6): New prototype.
30194 (internal_syscall6): Rewrite to call `__mips_syscall6'.
30195 (__mips_syscall7): New prototype.
30196 (internal_syscall7): Rewrite to call `__mips_syscall7'.
30197 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
30198 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
30199 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
30200 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
30201 (sysdep_routines): Add libc-do-syscall.
30202 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
30203 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
30205 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30208 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
30209 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
30210 (advise_stack_range): New function.
30211 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
30212 stack non required to advise_stack_range at allocatestack.c
30214 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30216 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
30218 2017-08-29 Florian Weimer <fweimer@redhat.com>
30221 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
30222 __end_fct. Mangle __end_fct after setting it to NULL.
30223 * iconv/Makefile (tests): Add tst-gconv-init-failure.
30224 (modules-names, modules-names-tests): Add
30225 tst-gconv-init-failure-mod.
30226 (gconv-modules): New target.
30227 (tst-gconv-init-failure-mod.so): Link against libsupport.
30228 (tst-gconv-init-failure): Depend on gconv-modules,
30229 tst-gconv-init-failure-mod.so.
30230 * iconv/tst-gconv-init-failure-mod.c: New file.
30231 * iconv/tst-gconv-init-failure.c: Likewise.
30232 * iconv/test-gconv-modules: Likewise.
30234 2017-08-29 Florian Weimer <fweimer@redhat.com>
30237 * iconv/gconv_db.c (free_derivation): Remove redundant
30239 (gen_steps): Unconditionally mangle __btowc_fct after
30241 (increment_counter): Likewise. Do not call init_fct for internal
30244 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30247 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30248 (_MSUF_): Remove macro.
30249 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
30251 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30252 (__REDIRFROM_X): New macro.
30253 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
30255 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
30256 (__REDIRTO_X): Likewise.
30257 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
30259 (__MATH_REDIRCALL_2): Likewise.
30260 (__MATH_REDIRCALL_INTERNAL): Likewise.
30261 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30262 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
30263 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
30264 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30265 * math/test-finite-macros.c: New file.
30266 * math/Makefile (tests): Add test-finite-macros.
30267 (CFLAGS-test-finite-macros.c): New variable.
30269 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
30270 Jeff Law <law@redhat.com>
30273 Mangle NULL pointers in iconv/gconv.
30274 * iconv/gconv_cache.c (find_module): Demangle init_fct before
30275 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
30276 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
30277 is non-NULL before demangling the end_fct. Check for NULL
30278 end_fct after demangling.
30279 (__gconv_release_step): Demangle the end_fct before checking
30280 it for NULL. Remove assert on __shlibc_handle != NULL.
30281 (gen_steps): Don't check btowc_fct for NULL before mangling.
30282 Demangle init_fct before checking for NULL.
30283 (increment_counter): Likewise.
30284 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
30285 end_fct for NULL before mangling.
30286 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
30289 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
30292 * locale/iso-639.def: add Morisyen.
30294 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30297 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
30298 (iszero): New C++ implementation that does not use
30299 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
30300 signaling nans are enabled, since __builtin_types_compatible_p
30301 is a C-only feature.
30302 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
30303 defined, include ieee754_float128.h for access to the union and
30304 member ieee854_float128.ieee.
30305 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
30306 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
30307 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30308 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
30309 options of test-math-zero on powerpc64le.
30311 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
30313 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30314 Change double to float.
30316 2017-08-28 Joseph Myers <joseph@codesourcery.com>
30318 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
30320 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
30321 conditional code; define contents only for [LIBM_SVID_COMPAT].
30323 2017-08-28 Florian Weimer <fweimer@redhat.com>
30325 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
30326 (abi-lp64_be-options): Remove.
30327 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
30328 (abi-hard-options): Likewise.
30329 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
30330 (abi-o32_hard-options, abi-o32_soft_2008-options)
30331 (abi-o32_hard_2008-options, abi-n32_soft-options)
30332 (abi-n32_hard-options, abi-n32_soft_2008-options)
30333 (abi-n32_hard_2008-options, abi-n64_soft-options)
30334 (abi-n64_hard-options, abi-n64_soft_2008-options)
30335 (abi-n64_hard_2008-options): Likewise.
30336 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
30337 (abi-64-v1-options, abi-64-v2-options): Likewise.
30338 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
30339 (abi-64-options): Likewise.
30340 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
30341 (abi-64-options): Likewise.
30342 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
30343 (abi-64-options): Likewise.
30344 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
30345 (abi-64-options, abi-x32-options): Likewise.
30347 2017-08-28 Florian Weimer <fweimer@redhat.com>
30349 Store supported list of SYS_* system calls in the source tree.
30350 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
30351 (bits/syscall.h): Generate from list file.
30352 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
30353 [$(subdir) = misc] (tests): Add tst-syscall-list.
30354 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
30355 [$(subdir) = misc] (tst-syscall-list-macros.list)
30356 [$(subdir) = misc] (tst-syscall-list-nr.list)
30357 (tst-syscall-list-sys.list): Helper targets for new
30358 tst-syscall-list test.
30359 [$(subdir) = misc] (tst-syscall-list.out): Run test script
30360 tst-syscall-list.sh.
30361 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
30362 target. Do not include bits/syscall.d.
30363 [$(subdir) = misc] (generated): Do not update.
30364 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
30365 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
30366 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
30367 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
30369 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30371 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
30372 (tst-cxa_atexit, tst-on_exit): Likewise.
30373 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
30374 tst-cxa_atexit, and tst-on_exit.
30375 * stdlib/tst-atexit-common.c: New file.
30376 * stdlib/tst-atexit.c: New file.
30377 * stdlib/tst-at_quick_exit.c: New file.
30378 * stdlib/tst-cxa_atexit.c: New file.
30379 * stdlib/tst-on_exit.c: New file.
30381 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30383 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
30384 * mach/stack_chk_fail_local.c: New file.
30385 * hurd/stack_chk_fail_local.c: New file.
30386 * mach/Machrules ($(interface-library)-routines): Add
30387 stack_chk_fail_local.
30388 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
30389 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
30390 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
30391 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
30392 * hurd/Makefile (CFLAGS-hurdstartup.o,
30393 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
30395 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
30397 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30398 (index_cpu_*, index_arch_*): Removed.
30400 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30402 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
30403 Use uint64_t instead of unsigned long.
30405 2017-08-25 Joseph Myers <joseph@codesourcery.com>
30407 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
30408 [__HAVE_DISTINCT_FLOAT128].
30410 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
30411 of <bits/math-finite.h>.
30412 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
30413 inclusion of <bits/math-finite.h>.
30414 * math/bits/math-finite.h (__REDIRTO_X): Do not define
30415 conditionally on [__MATH_DECLARING_LDOUBLE && defined
30416 __NO_LONG_DOUBLE_MATH].
30417 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
30418 (__MATH_REDIRCALL_2): Likewise.
30419 (__MATH_REDIRCALL_INTERNAL): Likewise.
30420 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30421 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
30422 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
30426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
30428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
30430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
30432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
30434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
30436 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30437 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30438 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30439 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
30441 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
30442 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
30443 w_sqrtf_compat-ppc32.
30445 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30447 * math/math.h [defined __cplusplus] (issignaling): In the long
30448 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
30449 is not defined. Call __issignaling, otherwise.
30451 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30453 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
30454 syscall definitions and replace __builtin_expect with __glibc_likely.
30455 * sysdeps/unix/syscall-template.S: Update comment about cancellable
30457 (SYSCALL_CANCELLABLE): Removedefinition
30458 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
30460 (PSEUDO_END): Likewise.
30461 [IS_IN (libpthread)] (CENABLE): Likewise.
30462 [IS_IN (libpthread)] (CDISABLE): Likewise.
30463 [IS_IN (libc)] (CENABLE): Likewise.
30464 [IS_IN (libc)] (CENABLE): Likewise.
30465 [IS_IN (librt)] (CDISABLE): Likewise.
30466 [IS_IN (librt)] (CDISABLE): Likewise.
30467 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30468 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
30470 (PSEUDO_END): Likewise.
30471 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
30472 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
30473 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30474 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30475 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30476 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30477 (CENABLE): Likewise.
30478 (CDISABLE): Likewise.
30479 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30480 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
30482 (PSEUDO_END): Likewise.
30483 [IS_IN (libpthread)] (CENABLE): Likewise.
30484 [IS_IN (libpthread)] (CDISABLE): Likewise.
30485 [IS_IN (libc)] (CENABLE): Likewise.
30486 [IS_IN (libc)] (CENABLE): Likewise.
30487 [IS_IN (librt)] (CDISABLE): Likewise.
30488 [IS_IN (librt)] (CDISABLE): Likewise.
30489 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30490 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
30492 (PSEUDO_END): Likewise.
30493 [IS_IN (libpthread)] (CENABLE): Likewise.
30494 [IS_IN (libpthread)] (CDISABLE): Likewise.
30495 [IS_IN (libc)] (CENABLE): Likewise.
30496 [IS_IN (libc)] (CENABLE): Likewise.
30497 [IS_IN (librt)] (CDISABLE): Likewise.
30498 [IS_IN (librt)] (CDISABLE): Likewise.
30499 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30500 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
30502 (PSEUDO_END): Likewise.
30503 [IS_IN (libpthread)] (CENABLE): Likewise.
30504 [IS_IN (libpthread)] (CDISABLE): Likewise.
30505 [IS_IN (libc)] (CENABLE): Likewise.
30506 [IS_IN (libc)] (CENABLE): Likewise.
30507 [IS_IN (librt)] (CDISABLE): Likewise.
30508 [IS_IN (librt)] (CDISABLE): Likewise.
30509 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30510 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
30512 (PSEUDO_END): Likewise.
30513 [IS_IN (libpthread)] (CENABLE): Likewise.
30514 [IS_IN (libpthread)] (CDISABLE): Likewise.
30515 [IS_IN (libc)] (CENABLE): Likewise.
30516 [IS_IN (libc)] (CENABLE): Likewise.
30517 [IS_IN (librt)] (CDISABLE): Likewise.
30518 [IS_IN (librt)] (CDISABLE): Likewise.
30519 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30520 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
30522 (PSEUDO_END): Likewise.
30523 [IS_IN (libpthread)] (CENABLE): Likewise.
30524 [IS_IN (libpthread)] (CDISABLE): Likewise.
30525 [IS_IN (libc)] (CENABLE): Likewise.
30526 [IS_IN (libc)] (CENABLE): Likewise.
30527 [IS_IN (librt)] (CDISABLE): Likewise.
30528 [IS_IN (librt)] (CDISABLE): Likewise.
30529 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30530 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
30532 (PSEUDO_END): Likewise.
30533 [IS_IN (libpthread)] (CENABLE): Likewise.
30534 [IS_IN (libpthread)] (CDISABLE): Likewise.
30535 [IS_IN (libc)] (CENABLE): Likewise.
30536 [IS_IN (libc)] (CENABLE): Likewise.
30537 [IS_IN (librt)] (CDISABLE): Likewise.
30538 [IS_IN (librt)] (CDISABLE): Likewise.
30539 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30540 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
30542 (PSEUDO_END): Likewise.
30543 [IS_IN (libpthread)] (CENABLE): Likewise.
30544 [IS_IN (libpthread)] (CDISABLE): Likewise.
30545 [IS_IN (libc)] (CENABLE): Likewise.
30546 [IS_IN (libc)] (CENABLE): Likewise.
30547 [IS_IN (librt)] (CDISABLE): Likewise.
30548 [IS_IN (librt)] (CDISABLE): Likewise.
30549 (SINGLE_THREAD_P): Likewise.
30550 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
30552 (PSEUDO_END): Likewise.
30553 [IS_IN (libpthread)] (CENABLE): Likewise.
30554 [IS_IN (libpthread)] (CDISABLE): Likewise.
30555 [IS_IN (libc)] (CENABLE): Likewise.
30556 [IS_IN (libc)] (CENABLE): Likewise.
30557 [IS_IN (librt)] (CDISABLE): Likewise.
30558 [IS_IN (librt)] (CDISABLE): Likewise.
30559 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30560 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
30562 (PSEUDO_END): Likewise.
30563 [IS_IN (libpthread)] (CENABLE): Likewise.
30564 [IS_IN (libpthread)] (CDISABLE): Likewise.
30565 [IS_IN (libc)] (CENABLE): Likewise.
30566 [IS_IN (libc)] (CENABLE): Likewise.
30567 [IS_IN (librt)] (CDISABLE): Likewise.
30568 [IS_IN (librt)] (CDISABLE): Likewise.
30569 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30570 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
30571 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30572 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
30573 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
30575 (PSEUDO_END): Likewise.
30576 [IS_IN (libpthread)] (CENABLE): Likewise.
30577 [IS_IN (libpthread)] (CDISABLE): Likewise.
30578 [IS_IN (libc)] (CENABLE): Likewise.
30579 [IS_IN (libc)] (CENABLE): Likewise.
30580 [IS_IN (librt)] (CDISABLE): Likewise.
30581 [IS_IN (librt)] (CDISABLE): Likewise.
30582 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30583 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
30585 (PSEUDO_END): Likewise.
30586 [IS_IN (libpthread)] (CENABLE): Likewise.
30587 [IS_IN (libpthread)] (CDISABLE): Likewise.
30588 [IS_IN (libc)] (CENABLE): Likewise.
30589 [IS_IN (libc)] (CENABLE): Likewise.
30590 [IS_IN (librt)] (CDISABLE): Likewise.
30591 [IS_IN (librt)] (CDISABLE): Likewise.
30592 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30593 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
30595 (PSEUDO_END): Likewise.
30596 [IS_IN (libpthread)] (CENABLE): Likewise.
30597 [IS_IN (libpthread)] (CDISABLE): Likewise.
30598 [IS_IN (libc)] (CENABLE): Likewise.
30599 [IS_IN (libc)] (CENABLE): Likewise.
30600 [IS_IN (librt)] (CDISABLE): Likewise.
30601 [IS_IN (librt)] (CDISABLE): Likewise.
30602 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30603 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
30604 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30605 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
30606 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
30608 (PSEUDO_END): Likewise.
30609 [IS_IN (libpthread)] (CENABLE): Likewise.
30610 [IS_IN (libpthread)] (CDISABLE): Likewise.
30611 [IS_IN (libc)] (CENABLE): Likewise.
30612 [IS_IN (libc)] (CENABLE): Likewise.
30613 [IS_IN (librt)] (CDISABLE): Likewise.
30614 [IS_IN (librt)] (CDISABLE): Likewise.
30615 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30616 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
30618 (PSEUDO_END): Likewise.
30619 [IS_IN (libpthread)] (CENABLE): Likewise.
30620 [IS_IN (libpthread)] (CDISABLE): Likewise.
30621 [IS_IN (libc)] (CENABLE): Likewise.
30622 [IS_IN (libc)] (CENABLE): Likewise.
30623 [IS_IN (librt)] (CDISABLE): Likewise.
30624 [IS_IN (librt)] (CDISABLE): Likewise.
30625 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30627 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30629 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
30631 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30633 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30635 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30638 * string/stratcliff.c (do_test): Declare size, nchars, inner,
30639 middle and outer with size_t instead of int. Repleace %d and
30640 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
30641 "MAX (outer, nchars - 64)" to support unsigned outer and
30642 nchars. Also exit loop when outer == 0.
30644 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30646 * include/fcntl.h (__fcntl_nocancel): Remove definition.
30647 * include/signal.h (__sigsuspend_nocancel): Likewise.
30648 * include/time.h (__nanosleep_nocancel): Likewise.
30649 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
30650 * login/utmp_file.c: Include non cancellable syscall header.
30651 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
30654 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30656 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
30657 .byte sequences with AVX512F instructions.
30658 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
30659 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
30660 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30661 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
30663 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30666 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
30667 Steve Ellcey <sellcey@cavium.com>
30669 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
30670 Use PTR_REG macro in cmp instruction.
30672 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30674 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
30675 Change the return type of the ifunc resolver to match the return
30676 type of the target function.
30678 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30680 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
30681 (preadv64): Likewise.
30682 (pwrite64(: Likewise.
30683 (pwritev64): Likewise.
30685 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30686 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
30687 (LOAD_ARGS_0): Likewise.
30688 (LOAD_ARGS_1): Likewise.
30689 (LOAD_ARGS_2): Likewise.
30690 (LOAD_ARGS_3): Likewise.
30691 (LOAD_ARGS_4): Likewise.
30692 (LOAD_ARGS_5): Likewise.
30693 (LOAD_ARGS_6): Likewise.
30694 (LOAD_REGS_0): Likewise.
30695 (LOAD_REGS_1): Likewise.
30696 (LOAD_REGS_2): Likewise.
30697 (LOAD_REGS_3): Likewise.
30698 (LOAD_REGS_4): Likewise.
30699 (LOAD_REGS_5): Likewise.
30700 (LOAD_REGS_6): Likewise.
30701 (ASM_ARGS_0): Likewise.
30702 (ASM_ARGS_1): Likewise.
30703 (ASM_ARGS_2): Likewise.
30704 (ASM_ARGS_3): Likewise.
30705 (ASM_ARGS_4): Likewise.
30706 (ASM_ARGS_5): Likewise.
30707 (ASM_ARGS_6): Likewise.
30708 (LOAD_ARGS_TYPES_1): Likewise.
30709 (LOAD_ARGS_TYPES_2): Likewise.
30710 (LOAD_ARGS_TYPES_3): Likewise.
30711 (LOAD_ARGS_TYPES_4): Likewise.
30712 (LOAD_ARGS_TYPES_5): Likewise.
30713 (LOAD_ARGS_TYPES_6): Likewise.
30714 (LOAD_REGS_TYPES_1): Likewise.
30715 (LOAD_REGS_TYPES_2): Likewise.
30716 (LOAD_REGS_TYPES_3): Likewise.
30717 (LOAD_REGS_TYPES_4): Likewise.
30718 (LOAD_REGS_TYPES_5): Likewise.
30719 (LOAD_REGS_TYPES_6): Likewise.
30720 (TYPEFY): New define.
30721 (ARGIFY): Likewise.
30722 (internal_syscall0): Likewise.
30723 (internal_syscall1): Likewise.
30724 (internal_syscall2): Likewise.
30725 (internal_syscall3): Likewise.
30726 (internal_syscall4): Likewise.
30727 (internal_syscall5): Likewise.
30728 (internal_syscall6): Likewise.
30729 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
30730 (INTERNAL_SYSCALL_NCS): Remove define.
30731 (internal_syscall1): Add define.
30733 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30735 * math/w_remainder_compat.c: Remove duplicate inclusion of
30736 math-svid-compat.h.
30737 * math/w_remainderf_compat.c: Likewise.
30738 * math/w_remainderl_compat.c: Likewise.
30740 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30744 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30747 * math/tgmath.h (__floating_type): Simplify definitions.
30748 (__real_integer_type): New macro.
30749 (__complex_integer_type): Likewise.
30750 (__expr_is_real): Likewise.
30751 (__tgmath_real_type_sub): Update comment to describe handling of
30753 (__tgmath_complex_type_sub): New macro.
30754 (__tgmath_complex_type): Likewise.
30755 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30756 (__TGMATH_CF128): Use __expr_is_real.
30757 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
30759 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30760 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
30761 * math/gen-tgmath-tests.py (Type.create_type): Create complex
30764 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30766 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
30768 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
30770 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
30773 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
30774 nanosleep_not_cancel with __nanosleep_nocancel.
30775 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
30776 (__nanosleep_nocancel): New macro.
30777 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
30779 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
30781 (__nanosleep_nocancel): New prototype.
30783 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
30784 pause_not_cancel with __pause_nocancel.
30785 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
30786 (__pause_nocancel): New macro.
30787 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
30789 (__pause_nocancel): New prototype.
30790 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
30792 2017-08-22 Martin Sebor <msebor@redhat.com>
30794 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
30795 to return a pointer to the same type as the target function.
30797 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30801 * include/printf.h (__printf_fphex): Add attribute_hidden.
30802 (__guess_grouping): New prototype.
30803 * stdio-common/printf_fp.c (__guess_grouping): Removed.
30804 * stdio-common/reg-printf.c (__register_printf_specifier): Add
30805 libc_hidden_proto and libc_hidden_def.
30806 * stdlib/strfmon_l.c (__guess_grouping): Removed.
30807 (__vstrfmon_l): Remove the third argument passed to
30810 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30812 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
30813 definition for issignaling that does not rely on __MATH_TG,
30814 since __MATH_TG uses __builtin_types_compatible_p, which is only
30815 available in C mode.
30816 (CFLAGS-test-math-issignaling.cc): New variable.
30817 * math/Makefile [CXX] (tests): Add test-math-issignaling.
30818 * math/test-math-issignaling.cc: New test for C++ implementation
30819 of type-generic issignaling.
30820 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30821 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
30822 options of test-math-issignaling on powerpc64le.
30824 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30826 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30828 (hidden_proto): Likewise.
30829 (hidden_tls_proto): Likewise.
30830 (__hidden_proto): Likewise.
30832 2017-08-22 Florian Weimer <fweimer@redhat.com>
30834 math: Statically link tests of internal functionality.
30835 * math/Makefile (tests): Remove atest-exp, atest-sincos,
30837 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
30838 (gmp-objs): Remove assignment.
30839 (atest-exp, atest-sincos, atest-exp2): Remove targets.
30841 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30844 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
30846 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
30848 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
30851 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
30852 variable definitions above inclusion of ../Rules.
30854 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30856 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
30857 case calling __builtin_unreachable.
30859 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30861 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
30862 __waitpid_nocancel.
30863 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
30864 (__waitpid_nocancel): New macro.
30865 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
30867 (__waitpid_nocancel): Replace macro with a function.
30868 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
30871 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
30873 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
30874 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
30876 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
30877 __writev_nocancel_nostatus.
30878 (write_call_graph): Likewise.
30879 (write_bb_counts): Likewise.
30880 * resolv/herror.c (herror): Likewise.
30881 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
30883 (__writev_nocancel_nostatus): New macro.
30884 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
30886 (__writev_nocancel_nostatus): New function.
30888 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30891 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30893 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30895 (hidden_proto): Likewise.
30896 (hidden_tls_proto): Likewise.
30897 (__hidden_proto): Likewise.
30900 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
30901 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
30906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
30910 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
30911 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30912 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30913 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30914 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
30915 GLIBC_2.0 sqrtl symbol.
30917 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
30918 [__USE_MISC] (_LIB_VERSION): Likewise.
30919 [__USE_MISC] (struct exception): Likewise.
30920 [__USE_MISC] (matherr): Likewise.
30921 [__USE_MISC] (DOMAIN): Likewise.
30922 [__USE_MISC] (SING): Likewise.
30923 [__USE_MISC] (OVERFLOW): Likewise.
30924 [__USE_MISC] (UNDERFLOW): Likewise.
30925 [__USE_MISC] (TLOSS): Likewise.
30926 [__USE_MISC] (PLOSS): Likewise.
30927 [__USE_MISC] (HUGE): Likewise.
30928 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
30929 * math/math-svid-compat.h: New file.
30930 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
30932 * include/math.h [!_ISOMAC] (__matherr): Remove.
30933 * manual/arith.texi (FP Exceptions): Do not document matherr.
30934 * math/Makefile (tests): Change test-matherr to test-matherr-3.
30935 (tests-internal): New variable.
30936 (install-lib): Do not add libieee.a.
30937 (non-lib.a): Likewise.
30938 (extra-objs): Do not add libieee.a and ieee-math.o.
30939 (CPPFLAGS-s_lib_version.c): Remove variable.
30940 ($(objpfx)libieee.a): Remove rule.
30941 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
30942 * math/ieee-math.c: Remove.
30943 * math/libm-test-support.c (matherr): Remove.
30944 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
30945 and license notices. Include <math-svid-compat.h> and
30947 (matherr): Undefine as macro. Use compat_symbol_reference.
30948 (_LIB_VERSION): Likewise.
30949 * math/test-matherr-2.c: New file.
30950 * math/test-matherr-3.c: Likewise.
30951 * sysdeps/generic/math_private.h (__kernel_standard): Remove
30953 (__kernel_standard_f): Likewise.
30954 (__kernel_standard_l): Likewise.
30955 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
30956 <math_private.h>. Include <math-svid-compat.h>.
30957 (_LIB_VERSION): Undefine as macro.
30958 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
30959 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
30960 [LIBM_SVID_COMPAT], use compat_symbol.
30961 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
30962 <math_private.h>. Include <math-svid-compat.h>.
30963 (matherr): Undefine as macro.
30964 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
30966 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
30967 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
30968 compat_symbol_reference.
30969 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
30970 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
30971 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
30972 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
30973 (MATHERR_D): Remove declaration.
30974 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
30975 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
30976 [LIBM_BUILD] (pmatherrf): Likewise.
30977 [LIBM_BUILD] (pmatherr): Likewise.
30978 [LIBM_BUILD] (pmatherrl): Likewise.
30979 (DOMAIN): Likewise.
30981 (OVERFLOW): Likewise.
30982 (UNDERFLOW): Likewise.
30985 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
30986 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
30988 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
30989 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
30991 * math/lgamma-compat.h: Include <math-svid-compat.h>.
30992 * math/w_acos_compat.c: Likewise.
30993 * math/w_acosf_compat.c: Likewise.
30994 * math/w_acosh_compat.c: Likewise.
30995 * math/w_acoshf_compat.c: Likewise.
30996 * math/w_acoshl_compat.c: Likewise.
30997 * math/w_acosl_compat.c: Likewise.
30998 * math/w_asin_compat.c: Likewise.
30999 * math/w_asinf_compat.c: Likewise.
31000 * math/w_asinl_compat.c: Likewise.
31001 * math/w_atan2_compat.c: Likewise.
31002 * math/w_atan2f_compat.c: Likewise.
31003 * math/w_atan2l_compat.c: Likewise.
31004 * math/w_atanh_compat.c: Likewise.
31005 * math/w_atanhf_compat.c: Likewise.
31006 * math/w_atanhl_compat.c: Likewise.
31007 * math/w_cosh_compat.c: Likewise.
31008 * math/w_coshf_compat.c: Likewise.
31009 * math/w_coshl_compat.c: Likewise.
31010 * math/w_exp10_compat.c: Likewise.
31011 * math/w_exp10f_compat.c: Likewise.
31012 * math/w_exp10l_compat.c: Likewise.
31013 * math/w_exp2_compat.c: Likewise.
31014 * math/w_exp2f_compat.c: Likewise.
31015 * math/w_exp2l_compat.c: Likewise.
31016 * math/w_fmod_compat.c: Likewise.
31017 * math/w_fmodf_compat.c: Likewise.
31018 * math/w_fmodl_compat.c: Likewise.
31019 * math/w_hypot_compat.c: Likewise.
31020 * math/w_hypotf_compat.c: Likewise.
31021 * math/w_hypotl_compat.c: Likewise.
31022 * math/w_j0_compat.c: Likewise.
31023 * math/w_j0f_compat.c: Likewise.
31024 * math/w_j0l_compat.c: Likewise.
31025 * math/w_j1_compat.c: Likewise.
31026 * math/w_j1f_compat.c: Likewise.
31027 * math/w_j1l_compat.c: Likewise.
31028 * math/w_jn_compat.c: Likewise.
31029 * math/w_jnf_compat.c: Likewise.
31030 * math/w_jnl_compat.c: Likewise.
31031 * math/w_lgamma_main.c: Likewise.
31032 * math/w_lgamma_r_compat.c: Likewise.
31033 * math/w_lgammaf_main.c: Likewise.
31034 * math/w_lgammaf_r_compat.c: Likewise.
31035 * math/w_lgammal_main.c: Likewise.
31036 * math/w_lgammal_r_compat.c: Likewise.
31037 * math/w_log10_compat.c: Likewise.
31038 * math/w_log10f_compat.c: Likewise.
31039 * math/w_log10l_compat.c: Likewise.
31040 * math/w_log2_compat.c: Likewise.
31041 * math/w_log2f_compat.c: Likewise.
31042 * math/w_log2l_compat.c: Likewise.
31043 * math/w_log_compat.c: Likewise.
31044 * math/w_logf_compat.c: Likewise.
31045 * math/w_logl_compat.c: Likewise.
31046 * math/w_pow_compat.c: Likewise.
31047 * math/w_powf_compat.c: Likewise.
31048 * math/w_powl_compat.c: Likewise.
31049 * math/w_remainder_compat.c: Likewise.
31050 * math/w_remainderf_compat.c: Likewise.
31051 * math/w_remainderl_compat.c: Likewise.
31052 * math/w_scalb_compat.c: Likewise.
31053 * math/w_scalbf_compat.c: Likewise.
31054 * math/w_scalbl_compat.c: Likewise.
31055 * math/w_sinh_compat.c: Likewise.
31056 * math/w_sinhf_compat.c: Likewise.
31057 * math/w_sinhl_compat.c: Likewise.
31058 * math/w_sqrt_compat.c: Likewise.
31059 * math/w_sqrtf_compat.c: Likewise.
31060 * math/w_sqrtl_compat.c: Likewise.
31061 * math/w_tgamma_compat.c: Likewise.
31062 * math/w_tgammaf_compat.c: Likewise.
31063 * math/w_tgammal_compat.c: Likewise.
31064 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
31065 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31066 * sysdeps/ieee754/k_standard.c: Likewise.
31067 * sysdeps/ieee754/k_standardf.c: Likewise.
31068 * sysdeps/ieee754/k_standardl.c: Likewise.
31069 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31070 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31071 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31072 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31073 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31074 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31075 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31076 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
31077 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31082 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
31083 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31084 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31085 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31087 2017-08-21 Florian Weimer <fweimer@redhat.com>
31090 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
31091 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
31092 Move before inclusion of ../Rules.
31094 2017-08-21 Florian Weimer <fweimer@redhat.com>
31097 * assert/assert.h (assert): Use static_cast (bool) for C++.
31098 Use the ternary operator in the warning branch for GNU C.
31099 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
31100 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
31101 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
31102 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
31103 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
31105 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31108 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31109 (__syscall_clock_gettime): Add attribute_hidden.
31110 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
31111 (__start_context): Likewise.
31113 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31115 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31117 (hidden_proto): Likewise.
31118 (hidden_tls_proto): Likewise.
31119 (__hidden_proto): Likewise.
31121 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31123 * include/libc-symbols.h (attribute_hidden): Enable hidden
31124 visibility in libc.a compiled with PIE.
31126 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31129 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
31130 Add attribute_hidden.
31132 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31135 * Makerules (all-nonlib): Add $(others-extras).
31136 * catgets/Makefile (others-extras): New.
31137 * elf/Makefile (others-extras): Likewise.
31138 * nss/Makefile (others-extras): Likewise.
31140 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31143 * csu/libc-start.c (__libc_multiple_libcs): Removed.
31144 * elf/dl-open.c: Include <libc-internal.h>.
31145 (__libc_multiple_libcs): Removed.
31146 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
31148 * include/libc-internal.h (__libc_multiple_libcs): New.
31149 * misc/sbrk.c: Include <libc-internal.h>.
31150 (__libc_multiple_libcs): Removed.
31152 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31155 * grp/initgroups.c (__nss_group_database): Removed.
31156 (__nss_initgroups_database): Likewise.
31157 * nscd/gai.c (__nss_hosts_database): Likewise.
31158 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
31159 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
31160 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
31161 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
31162 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
31163 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
31165 * nss/nsswitch.c (__nss_database_custom): Define only if
31166 USE_NSCD is defined.
31167 (__nss_configure_lookup): Use __nss_database_custom only if
31168 USE_NSCD is defined.
31169 * nss/nsswitch.h (__nss_database_custom): Declare only if
31170 USE_NSCD is defined. Add attribute_hidden.
31171 (__nss_setent): Add attribute_hidden.
31172 (__nss_endent): Likewise.
31173 (__nss_getent_r): Likewise.
31174 (__nss_getent): Likewise.
31175 (DEFINE_DATABASE): Declare __nss_##arg##_database.
31177 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31180 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
31181 libc_hidden_proto and libc_hidden_def.
31183 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31186 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
31187 Add libc_hidden_proto.
31188 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
31189 Add libc_hidden_def.
31191 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31194 * gmon/Makefile (routines): Remove bb_init_func and
31196 (elide-routines.os): Removed.
31197 * gmon/bb_exit_func.c: Likewise.
31198 * gmon/bb_init_func.c: Likewise.
31199 * include/sys/gmon.h (__bb): Likewise.
31200 (__bb_init_func): Likewise.
31201 (__bb_exit_func): Likewise.
31202 * sysdeps/alpha/bb_init_func.S: Likewise.
31204 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31206 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
31207 * include/setjmp.h (____longjmp_chk): Here. Add
31210 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
31213 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
31215 (__strspn_sse2): Likewise.
31217 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31219 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
31220 (close_not_cancel_no_status): Likewise.
31221 (__close_nocancel): New macro.
31222 (__close_nocancel_nostatus): Likewise.
31223 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
31225 (close_not_cancel): Likewise.
31226 (close_not_cancel_no_status): Likewise.
31227 (__close_nocancel): New prototype.
31228 (__close_nocancel_nostatus): New function.
31229 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
31230 * catgets/open_catalog.c (__open_catalog): Replace
31231 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
31232 * gmon/gmon.c (write_gmon): Likewise.
31233 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31234 * intl/loadmsgcat.c (close): Likewise.
31235 * io/ftw.c (open_dir_stream): Likewise.
31236 (ftw_startup): Likewise.
31237 * libio/fileops.c (_IO_file_open): Likewise.
31238 (_IO_file_close_mmap): Likewise.
31239 (_IO_file_close): Likewise.
31240 * libio/iopopen.c (_IO_dup2): Likewise.
31241 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31242 * locale/loadlocale.c (_nl_load_locale): Likewise.
31243 * login/utmp_file.c (pututline_file): Likewise.
31244 (endutent_file): Likewise.
31245 * misc/daemon.c (daemon): Likewise.
31246 * nscd/nscd_getai.c (__nscd_getai): Likewise.
31247 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31248 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31249 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31250 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31251 * nscd/nscd_helper.c (open_socket): Likewise.
31252 (__nscd_open_socket): Likewise.
31253 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31254 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
31255 (__nscd_innetgr): Likewise.
31256 * nss/nss_db/db-open.c (internal_setent): Likewise.
31257 * resolv/res-close.c (__res_iclose): Likewise.
31258 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
31259 * sysdeps/posix/closedir.c (__closedir): Likewise.
31260 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
31261 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31262 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31263 (opendir_tail): Likewise.
31264 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31265 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
31266 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31267 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31268 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31269 (gethostid): Likewise.
31270 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31271 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31273 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31274 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
31275 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31276 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31278 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
31279 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
31280 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31282 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
31283 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31285 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31287 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31288 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31289 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31292 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
31293 (openat_not_cancel_3): Likewise.
31294 (openat64_not_cancel_3): Likewise).
31295 (openat_not_cancel_3): Likewise).
31296 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
31298 (openat_not_cancel_3): Likewise.
31299 (openat64_not_cancel): Likewise.
31300 (openat64_not_cancel_3): Likewise.
31301 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
31302 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
31303 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
31304 __open{64}_nocancel.
31305 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31306 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31307 * sysdeps/posix/opendir.c (__opendirat): Likewise.
31309 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31312 * include/argz.h (__argz_create_sep): New function prototype.
31313 (__argz_append): Likewise.
31314 (__argz_add): Likewise.
31315 (__argz_add_sep): Likewise.
31316 (__argz_delete): Likewise.
31317 (__argz_insert): Likewise.
31318 (__argz_replace): Likewise.
31319 * string/argz.h (__argz_create_sep): Removed.
31320 (__argz_append): Likewise.
31321 (__argz_add): Likewise.
31322 (__argz_add_sep): Likewise.
31323 (__argz_delete): Likewise.
31324 (__argz_insert): Likewise.
31325 (__argz_replace): Likewise.
31327 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31329 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
31330 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
31331 (GNU_PROPERTY_STACK_SIZE): Likewie.
31332 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
31333 (GNU_PROPERTY_LOPROC): Likewise.
31334 (GNU_PROPERTY_HIPROC): Likewise.
31335 (GNU_PROPERTY_LOUSER): Likewise.
31336 (GNU_PROPERTY_HIUSER): Likewise.
31337 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
31338 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
31339 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
31340 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
31341 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
31342 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
31343 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
31344 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
31345 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
31346 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
31347 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
31348 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
31349 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
31350 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
31351 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
31352 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
31353 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
31354 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
31355 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
31356 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
31357 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
31358 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
31359 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
31361 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31363 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
31366 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31369 * math/math.h (isinf): Check if in C or C++ mode before using
31370 __builtin_types_compatible_p, since this is a C mode feature.
31372 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31374 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
31375 (__write_nocancel): New macro.
31376 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
31377 Rewrite as a function prototype.
31378 (write_not_cancel): Remove macro.
31379 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
31380 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
31381 (write_gmon): Likewise.
31382 * libio/fileops.c (_IO_new_file_write): Likewise.
31383 * login/utmp_file.c (pututline_file): Likewise.
31384 (updwtmp_file): Likewise.
31385 * stdio-common/psiginfo.c (psiginfo): Likewise.
31386 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31387 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31388 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31390 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31393 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
31394 (__read_nocancel): New macro.
31395 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31397 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
31399 (__read_nocancel): New prototype.
31400 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
31401 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
31402 with __read_nocancel.
31403 * intl/loadmsgcat.c (read): Likewise.
31404 * libio/fileops.c (_IO_file_read): Likewise.
31405 * locale/loadlocale.c (_nl_load_locale): Likewise.
31406 * login/utmp_file.c (getutent_r_file): Likewise.
31407 (internal_getut_r): Likewise.
31408 (getutline_r_file): Likewise.
31409 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31410 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31411 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31412 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31414 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
31415 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31416 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31418 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31420 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31422 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31424 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31426 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31429 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
31430 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
31433 2017-08-17 DJ Delorie <dj@redhat.com>
31435 * bug17079.c: Update to new test harness.
31436 * test-digits-dots.c: Likewise.
31437 * test-netdb.c: Likewise.
31438 * tst-field.c: Likewise.
31439 * tst-nss-getpwent.c: Likewise.
31440 * tst-nss-static.c: Likewise.
31441 * tst-nss-test1.c: Likewise.
31442 * tst-nss-test2.c: Likewise.
31443 * tst-nss-test3.c: Likewise.
31444 * tst-nss-test4.c: Likewise.
31445 * tst-nss-test5.c: Likewise.
31447 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31449 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
31450 (open_not_cancel_2): Likewise.
31451 (open_nocancel): New macro.
31452 (open64_nocancel): Likewise.
31453 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
31454 (open_not_cancel_2): Likewise.
31455 (__open_nocancel): New prototype.
31456 (__open64_nocancel): Likewise.
31457 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31459 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
31460 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
31461 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
31462 with __open_nocancel.
31463 * csu/check_fds.c (check_one_fd): Likewise.
31464 * gmon/gmon.c (write_gmon): Likewise.
31465 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
31466 * intl/loadmsgcat.c (open): Likewise.
31467 * libio/fileops.c (_IO_file_open): Likewise.
31468 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31469 * locale/loadlocale.c (_nl_load_locale): Likewise.
31470 * login/utmp_file.c (setutent_file): Likewise.
31471 * misc/daemon.c (daemon): Likewise.
31472 * nss/nss_db/db-open.c (internal_setent): Likewise.
31473 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31474 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
31475 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31476 (__opendir): Likewise.
31477 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31478 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31479 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31480 (gethostid): Likewise.
31481 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31482 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31484 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31485 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
31486 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31487 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31489 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31491 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31493 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31495 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31497 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31499 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31500 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31502 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
31504 * benchtests/bench-skeleton.c (main): Add support for
31505 latency benchmarking.
31506 * benchtests/scripts/bench.py: Add support for latency benchmarking.
31508 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
31510 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
31511 the startup object.
31513 2017-08-17 Florian Weimer <fweimer@redhat.com>
31515 * include/sys/socket.h (__opensock): Remove internal_function.
31516 * socket/opensock.c (__opensock): Likewise.
31517 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
31519 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31522 * signal/bits/types/__sigval_t.h: New file.
31523 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
31524 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
31525 and define sigval_t using __sigval_t.
31526 * include/bits/types/__sigval_t.h: New file.
31527 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
31528 instead of <bits/types/__sigval_t.h>.
31529 (struct sigevent): Use __sigval_t instead of sigval_t.
31530 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
31531 instead of <bits/types/__sigval_t.h>.
31532 (siginfo_t): Use __sigval_t instead of sigval_t.
31533 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
31534 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31535 (struct sigevent): Use __sigval_t instead of sigval_t.
31536 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
31537 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31538 (siginfo_t): Use __sigval_t instead of sigval_t.
31539 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
31541 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31543 * NEWS: Remove "[Add new features here]" for 2.27.
31545 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31547 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
31550 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31552 * NEWS: Mention x86-64 FMA optimization.
31554 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31557 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31559 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
31560 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
31561 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
31563 2017-08-16 Andreas Schwab <schwab@suse.de>
31567 * elf/ldd.bash.in: Never run file directly.
31569 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
31572 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
31573 (L(SP_INF_0)): Likewise.
31575 2017-08-15 Florian Weimer <fweimer@redhat.com>
31577 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
31580 2017-08-15 Florian Weimer <fweimer@redhat.com>
31582 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
31583 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
31584 BROKEN_THREAD_SIGNALS code.
31585 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
31586 request_list): Remove caller_pid member used for
31587 BROKEN_THREAD_SIGNALS.
31588 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
31589 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31590 Remove BROKEN_THREAD_SIGNALS support.
31591 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
31592 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
31594 2017-08-15 Florian Weimer <fweimer@redhat.com>
31596 * gmon/Makefile (tests): Add tst-gmon.
31597 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
31599 (tests-special): Add tst-gmon-prof.out.
31600 (tst-gmon.out): Depend on clean-tst-gmon-data.
31601 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
31602 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
31603 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
31605 * aclocal.m4 (GPROF): Set and substitute.
31606 * config.amke.in (GPROF): Set.
31607 * configure: Regenerate.
31609 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
31611 * elf/elf.h A (NT_PPC_TAR): New macro.
31612 (NT_PPC_PPR): Likewise.
31613 (NT_PPC_DSCR): Likewise.
31614 (NT_PPC_EBB): Likewise.
31615 (NT_PPC_PMU): Likewise.
31616 (NT_PPC_TM_CGPR): Likewise.
31617 (NT_PPC_TM_CFPR): Likewise.
31618 (NT_PPC_TM_CVMX): Likewise.
31619 (NT_PPC_TM_CVSX): Likewise.
31620 (NT_PPC_TM_SPR): Likewise.
31621 (NT_PPC_TM_CTAR): Likewise.
31622 (NT_PPC_TM_CPPR): Likewise.
31623 (NT_PPC_TM_CDSCR): Likewise.
31625 2017-08-15 Florian Weimer <fweimer@redhat.com>
31627 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
31628 regparm (2) instead of internal_function.
31629 (_MCOUNT_DECL): Adjust.
31631 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31633 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
31634 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31636 2017-08-14 Joseph Myers <joseph@codesourcery.com>
31638 * conform/data/sys/wait.h-data (si_value): Do not expect for
31641 2017-08-14 Florian Weimer <fweimer@redhat.com>
31644 NSS: Create stubs for accidentally exported lookup functions.
31645 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
31646 Remove declaration.
31647 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
31648 (ether_hostton): Call __nss_ethers_lookup2 instead.
31649 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
31650 (ether_ntohost): Call __nss_ethers_lookup2 instead.
31651 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
31652 (setup): Call __nss_netgroup_lookup2 instead.
31653 * nss/Makefile (routines): Add compat-lookup.
31654 * nss/Versions (GLIBC_2.27): Add symbol version.
31655 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
31656 (DB_COMPAT_FCT): Remove.
31657 * nss/compat-lookup.c: New file.
31658 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
31659 from databases.def.
31660 * nss/service-lookup.c (NO_COMPAT): Remove definition.
31661 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
31662 (netname2user): Call __nss_publickey_lookup2 instead.
31663 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
31664 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
31667 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31668 Sergei Trofimovich <slyfox@inbox.ru>
31671 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
31672 Rename to MMAP2_PAGE_UNIT.
31673 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
31674 __OFF_T_MATCHES_OFF64_T is not defined.
31675 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
31677 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
31678 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
31680 2017-08-14 Florian Weimer <fweimer@redhat.com>
31682 i386: Do not set internal_function.
31683 * config.h.in (USE_REGPARMS, internal_function): Remove.
31684 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
31685 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
31687 2017-08-14 Florian Weimer <fweimer@redhat.com>
31689 * elf/dl-init.c (_dl_init): Remove internal_function.
31690 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
31691 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
31693 2017-08-14 Florian Weimer <fweimer@redhat.com>
31695 * elf/rtld.c (_dl_start): Remove internal_function.
31696 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
31699 2017-08-14 Florian Weimer <fweimer@redhat.com>
31701 * elf/dl-fini.c (_dl_fini): Remove internal_function
31702 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31704 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
31706 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
31707 (bit_cpu_SHSTK): Likewise.
31708 (index_cpu_IBT): Likewise.
31709 (index_cpu_SHSTK): Likewise.
31710 (reg_IBT): Likewise.
31711 (reg_SHSTK): Likewise.
31712 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31713 Handle index_cpu_IBT and index_cpu_SHSTK.
31715 2017-08-14 Mike FABIAN <mfabian@redhat.com>
31718 * po/fr.po: Fix spelling mistake.
31720 2017-08-13 Florian Weimer <fweimer@redhat.com>
31722 * elf/dl-addr.c (_dl_addr): Remove internal_function.
31723 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
31724 (_dl_catch_error, _dl_receive_error): Likewise.
31725 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
31726 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
31727 (_dl_deallocate_tls): Likewise.
31728 * include/dlfcn.h (_dl_addr): Likewise.
31729 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
31730 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
31731 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
31734 2017-08-13 Florian Weimer <fweimer@redhat.com>
31736 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
31737 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
31739 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
31741 2017-08-13 Florian Weimer <fweimer@redhat.com>
31743 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
31745 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
31746 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
31747 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
31748 internal_function from _dl_make_stack_executable_hook member.
31749 (_dl_make_stack_executable): Remove internal_function.
31750 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
31752 * sysdeps/unix/sysv/linux/dl-execstack.c
31753 (_dl_make_stack_executable): Likewise.
31755 2017-08-13 Florian Weimer <fweimer@redhat.com>
31757 * sysdeps/unix/sysv/linux/netlinkaccess.h
31758 (__netlink_assert_response): Remove internal_function.
31759 * sysdeps/unix/sysv/linux/netlink_assert_response.c
31760 (__netlink_assert_response): Likewise.
31762 2017-08-13 Florian Weimer <fweimer@redhat.com>
31764 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
31766 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
31768 2017-08-13 Florian Weimer <fweimer@redhat.com>
31770 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
31772 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
31773 * inet/netgroup.h (__internal_setnetgrent)
31774 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31775 * inet/getnetgrent_r.c (__internal_setnetgrent)
31776 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31777 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
31778 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
31779 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
31780 * nss/nsswitch.h (db_lookup_function): Likewise.
31782 2017-08-13 Florian Weimer <fweimer@redhat.com>
31784 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
31785 Remove internal_function.
31786 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
31787 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
31788 message argument on the stack.
31789 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
31792 2017-08-12 Mike FABIAN <mfabian@redhat.com>
31794 Adapt test case data to the changes in the thousands
31798 * localedata/tst-langinfo.sh: Adapt test case data.
31799 * stdlib/tst-strfmon_l.c: Likewise.
31800 * stdlib/tst-strtod4.c: Likewise.
31801 * stdlib/tst-strtod5i.c: Likewise.
31803 2017-08-11 Florian Weimer <fweimer@redhat.com>
31806 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
31807 Suppress pedantic warning resulting from statement expression.
31808 (__ASSERT_FUNCTION): Add missing __extension__.
31810 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31812 * benchtests/bench-memmove-large.c: Print output in JSON
31814 * benchtests/bench-memmove.c: Likewise.
31816 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
31817 * benchtests/bench-memchr.c (do_one_test): Likewise.
31818 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
31819 * benchtests/bench-memcpy.c (do_one_test): Likewise.
31820 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
31821 * benchtests/bench-memmove.c (do_one_test): Likewise.
31822 * benchtests/bench-memset-large.c (do_one_test): Likewise.
31823 * benchtests/bench-memset.c (do_one_test): Likewise.
31824 * benchtests/bench-string.h (test_init): Remove memsets.
31826 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31829 (Computing the Width of an Integer Data Type): Rename section to
31830 "Width of an Integer Type". Remove inaccurate statement regarding
31831 lack of C language facilities for determining width of integer
31832 types, and reorder content to improve flow and context of
31835 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31837 * lang.texi (va_copy): Change standard from ISO to C99.
31838 (__va_copy): Add standard and header annotation.
31839 Update description for clarity of origins and current use.
31841 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31844 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
31845 xssqrtqp requires operands to be in Vector Registers
31846 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
31847 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
31848 (__ieee754_sqrtf128): Likewise.
31850 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
31852 * sysdeps/aarch64/memcmp.S (memcmp):
31853 Rewrite of optimized memcmp.
31855 2017-08-10 Florian Weimer <fweimer@redhat.com>
31857 Introduce ld.so exceptions.
31858 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
31859 (_dl_exception_create, _dl_exception_create_format)
31860 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
31861 (_dl_catch_exception): Declare.
31862 (_dl_catch_error): Update comment.
31863 * elf/dl-error-skeleton.c (struct catch): Replace objname,
31864 errstring, malloced members with exception member.
31865 (_dl_out_of_memory): Remove.
31866 (fatal_error): New function, extracted from _dl_signal_error.
31867 (_dl_signal_exception, _dl_signal_cexception): New functions.
31868 (_dl_signal_error): Call _dl_exception_create to allocate an
31870 (_dl_catch_exception): New function, based on _dl_catch_error.
31871 (_dl_catch_error): Implement using _dl_catch_exception.
31872 * elf/dl-exception.c: New file.
31873 * elf/Makefile (dl-routines): Add dl-exception.
31874 (elide-routines.os): Likewise.
31875 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
31876 _dl_exception_create_format, _dl_exception_free.
31877 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
31878 _dl_signal_exception.
31879 * elf/dl-lookup.c (make_string): Remove.
31880 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
31881 _dl_signal_cexception, _dl_exception_free.
31882 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
31883 _dl_signal_exception.
31884 * elf/dl-sym.c (do_sym): Likewise.
31885 * elf/dl-version.c (make_string): Remove.
31886 (match_symbol): Use _dl_exception_create_format,
31887 _dl_signal_cexception, _dl_exception_free.
31888 (_dl_check_map_versions): Likewise.
31889 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
31890 _dl_catch_exception.
31891 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
31892 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
31893 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
31894 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
31895 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
31896 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
31897 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
31898 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
31900 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
31901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
31903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
31905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
31907 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
31908 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
31909 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
31911 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
31913 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
31915 2017-08-10 Florian Weimer <fweimer@redhat.com>
31917 * inet/net-internal.h (__inet6_scopeid_pton): Remove
31918 attribute_hidden, internal_function.
31919 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
31922 2017-08-10 Florian Weimer <fweimer@redhat.com>
31924 * malloc/malloc.c (get_max_fast): Reimplement as an inline
31925 function which calls __builtin_unreachable.
31927 2017-08-10 Mike FABIAN <mfabian@redhat.com>
31929 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
31930 Indian monetary formatting
31931 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
31934 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
31936 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
31937 Fix typo in comment.
31940 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
31941 PTRACE_SEIZE_DEVEL): Remove.
31942 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
31943 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31944 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31945 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31946 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31948 2017-08-09 Joseph Myers <joseph@codesourcery.com>
31950 * posix/bits/types.h (__qaddr_t): Remove.
31953 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
31954 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31956 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
31957 (ucontext_t): Use __ctx with uc_flags.
31958 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
31959 (__ctxt): Likewise.
31960 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31962 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
31963 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31965 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
31966 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31968 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
31970 (ucontext_t): Use __ctx with uc_flags.
31971 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
31972 (ucontext_t): Use __ctx with uc_flags.
31973 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
31974 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
31975 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
31976 (ucontext_t): Use __ctx with uc_flags.
31977 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
31978 undefine further down.
31979 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31981 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
31982 undefine further down.
31983 (ucontext_t): Use __ctx with uc_flags.
31984 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
31985 undefine further down.
31986 (ucontext_t): Use __ctx with uc_flags.
31987 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
31988 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
31989 Rename uc_pad to __glibc_reserved1.
31990 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
31991 undefine further down.
31992 (ucontext_t): Use __ctx with uc_flags.
31993 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
31995 (ucontext_t): Use __ctx with uc_flags.
31996 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
31997 __ctx with uc_flags.
31998 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
31999 (ucontext_t): Use __ctx with uc_flags.
32000 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
32001 __ctx with uc_flags.
32003 2017-08-09 Florian Weimer <fweimer@redhat.com>
32006 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
32007 before early return.
32009 2017-08-09 Andreas Schwab <schwab@suse.de>
32012 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
32016 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
32017 tst-compat-forwarder.
32018 (modules-names): Add tst-compat-forwarder-mod.
32019 ($(objpfx)tst-compat-forwarder): Depend on
32020 $(objpfx)tst-compat-forwarder-mod.so.
32021 * nptl/tst-compat-forwarder.c: New file.
32022 * nptl/tst-compat-forwarder-mod.c: New file.
32024 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
32026 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
32029 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
32030 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
32032 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
32034 (__libc_ifunc_impl_list): Add __memcpy_falkor.
32035 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
32036 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
32037 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32039 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
32042 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32045 * manual/setjmp.texi (getcontex): Document uc_stack value
32046 compatibility differences.
32048 2017-08-08 Joseph Myers <joseph@codesourcery.com>
32050 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
32051 (old_malloc_hook): Likewise.
32052 (old_memalign_hook): Likewise.
32053 (old_realloc_hook): Likewise.
32054 (struct hdr): Likewise.
32056 (freehook): Likewise.
32057 (mallochook): Likewise.
32058 (memalignhook): Likewise.
32059 (reallochook): Likewise.
32060 (mprobe): Likewise.
32061 * malloc/mtrace.c (mallwatch): Likewise.
32062 (tr_old_free_hook): Likewise.
32063 (tr_old_malloc_hook): Likewise.
32064 (tr_old_realloc_hook): Likewise.
32065 (tr_old_memalign_hook): Likewise.
32066 (tr_where): Likewise.
32067 (lock_and_info): Likewise.
32068 (tr_freehook): Likewise.
32069 (tr_mallochook): Likewise.
32070 (tr_reallochook): Likewise.
32071 (tr_memalignhook): Likewise.
32072 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
32073 * misc/mmap.c (__mmap): Likewise.
32074 * misc/mmap64.c (__mmap64): Likewise.
32075 * misc/mprotect.c (__mprotect): Likewise.
32076 * misc/msync.c (msync): Likewise.
32077 * misc/munmap.c (__munmap): Likewise.
32078 * posix/posix_madvise.c (posix_madvise): Likewise.
32079 * socket/send.c (__send): Likewise.
32080 * socket/sendto.c (__sendto): Likewise.
32081 * socket/setsockopt.c (__setsockopt): Likewise.
32082 * string/memcmp.c (__ptr_t): Remove macro.
32083 (MEMCMP): Use void * instead of ptr_t.
32084 * string/memrchr.c (__ptr_t): Remove macro.
32085 (__memrchr): Use void * instead of ptr_t.
32086 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
32087 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32088 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32089 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
32090 * sysdeps/mach/msync.c (msync): Likewise.
32091 * sysdeps/mach/munmap.c (__munmap): Likewise.
32092 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
32094 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32095 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
32096 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
32097 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
32098 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
32099 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32100 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
32101 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
32103 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32104 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
32105 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
32106 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
32107 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
32108 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
32109 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
32110 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
32111 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
32113 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
32114 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
32115 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
32116 (MEMCMP): Use void * instead of ptr_t.
32117 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
32118 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
32120 2017-08-08 Florian Weimer <fweimer@redhat.com>
32122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
32125 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
32128 * csu/libc-tls.c: Include <startup.h> first.
32129 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
32130 * elf/dl-tunables.c: Include <startup.h> first.
32131 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
32132 * sysdeps/generic/startup.h: New file.
32133 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
32134 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
32135 (I386_USE_SYSENTER): New. Defined to 0.
32137 2017-08-08 Andreas Schwab <schwab@suse.de>
32140 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
32141 * nptl/pt-system.c (system): Likewise.
32143 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32146 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
32148 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
32149 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
32150 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
32151 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
32152 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
32153 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
32154 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
32156 2017-08-07 Joseph Myers <joseph@codesourcery.com>
32159 * bits/sigaction.h (struct sigaction): Define sa_handler and
32160 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
32161 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32162 [__USE_XOPEN_EXTENDED].
32163 (SA_RESTART): Likewise.
32164 (SA_NODEFER): Likewise.
32165 (SA_RESETHAND): Likewise.
32166 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
32167 (struct sigaction): Define sa_handler and sa_sigaction using union
32168 also for [__USE_XOPEN_EXTENDED].
32169 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32170 [__USE_XOPEN_EXTENDED].
32171 (SA_RESTART): Likewise.
32172 (SA_NODEFER): Likewise.
32173 (SA_RESETHAND): Likewise.
32174 * sysdeps/unix/sysv/linux/bits/sigaction.h
32175 (struct sigaction): Define sa_handler and sa_sigaction using union
32176 also for [__USE_XOPEN_EXTENDED].
32177 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32178 [__USE_XOPEN_EXTENDED].
32179 (SA_RESTART): Likewise.
32180 (SA_NODEFER): Likewise.
32181 (SA_RESETHAND): Likewise.
32182 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
32183 (struct sigaction): Define sa_handler and sa_sigaction using union
32184 also for [__USE_XOPEN_EXTENDED].
32185 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32186 [__USE_XOPEN_EXTENDED].
32187 (SA_RESTART): Likewise.
32188 (SA_NODEFER): Likewise.
32189 (SA_RESETHAND): Likewise.
32190 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
32191 (struct sigaction): Define sa_handler and sa_sigaction using union
32192 also for [__USE_XOPEN_EXTENDED].
32193 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32194 [__USE_XOPEN_EXTENDED].
32195 (SA_RESTART): Likewise.
32196 (SA_NODEFER): Likewise.
32197 (SA_RESETHAND): Likewise.
32198 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32199 (struct sigaction): Define sa_handler and sa_sigaction using union
32200 also for [__USE_XOPEN_EXTENDED].
32201 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32202 [__USE_XOPEN_EXTENDED].
32203 (SA_RESTART): Likewise.
32204 (SA_NODEFER): Likewise.
32205 (SA_RESETHAND): Likewise.
32206 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32207 (struct sigaction): Define sa_handler and sa_sigaction using union
32208 also for [__USE_XOPEN_EXTENDED].
32209 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32210 [__USE_XOPEN_EXTENDED].
32211 (SA_RESTART): Likewise.
32212 (SA_NODEFER): Likewise.
32213 (SA_RESETHAND): Likewise.
32214 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32215 (struct sigaction): Define sa_handler and sa_sigaction using union
32216 also for [__USE_XOPEN_EXTENDED].
32217 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32218 [__USE_XOPEN_EXTENDED].
32219 (SA_RESTART): Likewise.
32220 (SA_NODEFER): Likewise. Define directly rather than as alias.
32221 (SA_RESETHAND): Likewise.
32222 (SA_INTERRUPT): Define only for [__USE_MISC].
32223 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
32224 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
32226 (SA_STACK): Define only for [__USE_MISC].
32227 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
32228 (struct sigaction): Define sa_handler and sa_sigaction using union
32229 also for [__USE_XOPEN_EXTENDED].
32230 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32231 [__USE_XOPEN_EXTENDED].
32232 (SA_RESTART): Likewise.
32233 (SA_NODEFER): Likewise.
32234 (SA_RESETHAND): Likewise.
32235 (SA_NOPTRACE): Define only for [__USE_MISC].
32237 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
32238 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
32239 (struct catalog_info): Likewise.
32240 * inet/htontest.c (lo): Likewise.
32242 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32243 * inet/inet_net.c (inet_network): Likewise.
32244 * inet/inet_netof.c (inet_netof): Likewise.
32245 * inet/rcmd.c (__ivaliduser): Likewise.
32246 (iruserok): Likewise.
32247 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
32248 * locale/programs/locale-spec.c (locale_special): Likewise.
32249 * nis/nis_findserv.c (struct findserv_req): Likewise.
32250 (__nis_findfastest_with_timeout): Likewise.
32251 * nss/test-netdb.c (test_network): Likewise.
32252 * resolv/inet_neta.c (inet_neta): Likewise.
32253 * resolv/ns_date.c (ns_datetosecs): Likewise.
32254 (SECS_PER_DAY): Likewise.
32255 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
32257 * resolv/res_comp.c (__putlong): Likewise.
32258 (__putshort): Likewise.
32259 (_getlong): Likewise.
32260 (_getshort): Likewise.
32261 * resolv/res_debug.c (p_time): Likewise.
32262 (precsize_ntoa): Likewise.
32263 (precsize_aton): Likewise.
32264 (latlon2ul): Likewise.
32265 (loc_aton): Likewise.
32266 (loc_ntoa): Likewise.
32267 * resolv/res_hconf.c (struct netaddr): Likewise.
32268 (_res_hconf_reorder_addrs): Likewise.
32269 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
32270 (clnttcp_control): Likewise.
32271 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32272 (clntudp_control): Likewise.
32273 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
32274 (clntunix_control): Likewise.
32275 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
32276 * sunrpc/rpc/auth.h (union des_block): Likewise.
32277 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
32278 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
32279 (xdrrec_create): Likewise.
32280 (xdrrec_endofrecord): Likewise.
32281 (flush_out): Likewise.
32282 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
32283 (xdrstdio_putlong): Likewise.
32284 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
32287 * misc/sys/cdefs.h (__long_double_t): Remove.
32288 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
32289 instead of __long_double_t,
32290 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
32292 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
32294 * benchtests/scripts/compare_strings.py: Avoid display error when
32295 running on a text terminal.
32297 * benchtests/scripts/compare_strings.py (main): Add an
32298 optional -base option.
32299 (process_results): New argument base_func.
32301 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
32303 * benchtests/bench-memcpy-large.c (test_name): Likewise.
32304 * benchtests/bench-memcpy-random.c (test_name): Likewise.
32306 2017-08-07 Andreas Schwab <schwab@suse.de>
32308 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
32309 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32310 * intl/Makefile ($(objpfx)tst-gettext.out)
32311 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
32312 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
32313 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32314 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32315 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
32316 * posix/Makefile ($(objpfx)globtest.out)
32317 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
32318 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
32319 ($(objpfx)tst-printf.out): Likewise.
32320 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
32321 ($(objpfx)tst-setcontext3.out): Likewise.
32323 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
32325 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32326 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
32327 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
32328 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
32329 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
32331 (CFLAGS-doasin-fma.c): New.
32332 (CFLAGS-dosincos-fma.c): Likewise.
32333 (CFLAGS-e_asin-fma.c): Likewise.
32334 (CFLAGS-e_atan2-fma.c): Likewise.
32335 (CFLAGS-e_exp-fma.c): Likewise.
32336 (CFLAGS-e_log-fma.c): Likewise.
32337 (CFLAGS-e_pow-fma.c): Likewise.
32338 (CFLAGS-halfulp-fma.c): Likewise.
32339 (CFLAGS-mpa-fma.c): Likewise.
32340 (CFLAGS-mpatan-fma.c): Likewise.
32341 (CFLAGS-mpatan2-fma.c): Likewise.
32342 (CFLAGS-mpexp-fma.c): Likewise.
32343 (CFLAGS-mplog-fma.c): Likewise.
32344 (CFLAGS-mpsqrt-fma.c): Likewise.
32345 (CFLAGS-mptan-fma.c): Likewise.
32346 (CFLAGS-s_atan-fma.c): Likewise.
32347 (CFLAGS-sincos32-fma.c): Likewise.
32348 (CFLAGS-slowexp-fma.c): Likewise.
32349 (CFLAGS-slowpow-fma.c): Likewise.
32350 (CFLAGS-s_sin-fma.c): Likewise.
32351 (CFLAGS-s_tan-fma.c): Likewise.
32352 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
32353 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
32354 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
32355 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
32356 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
32357 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
32358 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
32359 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
32360 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
32361 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
32362 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
32363 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
32364 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
32365 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
32366 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
32367 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
32368 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
32369 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
32370 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
32371 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
32372 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
32373 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
32374 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
32375 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
32376 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32377 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32378 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32379 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32380 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32381 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32382 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32384 2017-08-04 Joseph Myers <joseph@codesourcery.com>
32386 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
32387 (min_of_type_f): New macro.
32388 (min_of_type_): Likewise.
32389 (min_of_type_l): Likewise.
32390 (min_of_type_f128): Likewise.
32391 (min_of_type): Define using __MATH_TG and taking an expression
32393 (math_check_force_underflow): Pass expression instead of type to
32395 (math_check_force_underflow_nonneg): Likewise.
32397 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32399 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32400 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
32401 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
32403 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32405 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32406 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
32407 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
32408 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
32409 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
32410 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
32411 memcpy_chk-nonshared, mempcpy_chk-nonshared,
32412 memmove_chk-nonshared and memset_chk-nonshared
32413 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
32414 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
32415 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
32416 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
32417 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
32418 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
32419 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
32420 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
32421 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
32422 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
32423 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
32424 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
32425 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
32426 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
32427 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
32428 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
32429 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
32430 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
32431 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
32432 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
32433 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
32434 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
32435 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
32436 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
32437 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
32438 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
32439 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
32440 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
32441 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
32442 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
32443 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
32444 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
32445 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
32446 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32447 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32448 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
32449 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
32450 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
32451 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
32452 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
32453 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
32454 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
32455 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
32456 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
32457 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
32458 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
32459 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
32460 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
32461 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
32462 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
32463 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
32464 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
32465 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
32466 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
32467 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
32468 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
32469 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
32470 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
32471 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
32472 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
32473 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
32474 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
32475 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
32476 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
32477 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
32478 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
32479 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
32480 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
32481 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
32482 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
32483 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
32484 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32485 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32486 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32487 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32488 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32489 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32490 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32491 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32492 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32493 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32494 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32495 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32496 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32497 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32498 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32499 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32500 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32501 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32502 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32503 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32504 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32505 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32506 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32507 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32508 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32509 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32510 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32511 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32512 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32513 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32514 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32515 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32516 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32517 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32518 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32519 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32520 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32522 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32524 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
32525 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
32526 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
32527 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
32528 svml_d_log2_core-sse2, svml_d_log4_core-sse,
32529 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
32530 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
32531 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
32532 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
32533 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
32534 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
32535 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
32536 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
32537 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
32538 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
32539 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
32540 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
32541 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
32542 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
32543 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
32544 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
32545 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
32546 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
32547 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
32548 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
32549 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
32550 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
32551 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
32552 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
32553 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
32554 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
32555 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
32556 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
32557 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
32558 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
32559 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
32560 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
32561 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
32562 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
32563 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
32564 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
32565 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
32566 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
32567 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
32568 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
32569 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
32570 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
32571 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
32572 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
32573 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
32574 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
32575 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
32576 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
32577 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
32578 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
32579 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
32580 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
32581 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
32582 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
32584 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
32585 Don't include <sysdep.h> nor <init-arch.h>.
32586 (_ZGVbN2v_cos): Removed.
32587 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
32589 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
32590 Don't include <sysdep.h> nor <init-arch.h>.
32591 (_ZGVdN4v_cos): Removed.
32592 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
32594 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
32595 Don't include <sysdep.h> nor <init-arch.h>.
32596 (_ZGVeN8v_cos): Removed.
32597 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
32599 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
32600 Don't include <sysdep.h> nor <init-arch.h>.
32601 (_ZGVbN2v_exp): Removed.
32602 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
32604 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
32605 Don't include <sysdep.h> nor <init-arch.h>.
32606 (_ZGVdN4v_exp): Removed.
32607 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
32609 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
32610 Don't include <sysdep.h> nor <init-arch.h>.
32611 (_ZGVeN8v_exp): Removed.
32612 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
32614 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
32615 Don't include <sysdep.h> nor <init-arch.h>.
32616 (_ZGVbN2v_log): Removed.
32617 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
32619 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
32620 Don't include <sysdep.h> nor <init-arch.h>.
32621 (_ZGVdN4v_log): Removed.
32622 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
32624 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
32625 Don't include <sysdep.h> nor <init-arch.h>.
32626 (_ZGVeN8v_log): Removed.
32627 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
32629 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
32630 Don't include <sysdep.h> nor <init-arch.h>.
32631 (_ZGVbN2vv_pow): Removed.
32632 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
32634 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
32635 Don't include <sysdep.h> nor <init-arch.h>.
32636 (_ZGVdN4vv_pow): Removed.
32637 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
32639 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
32640 Don't include <sysdep.h> nor <init-arch.h>.
32641 (_ZGVeN8vv_pow): Removed.
32642 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
32644 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
32645 Don't include <sysdep.h> nor <init-arch.h>.
32646 (_ZGVbN2v_sin): Removed.
32647 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
32649 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
32650 Don't include <sysdep.h> nor <init-arch.h>.
32651 (_ZGVbN4v_sin): Removed.
32652 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
32654 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
32655 Don't include <sysdep.h> nor <init-arch.h>.
32656 (_ZGVbN8v_sin): Removed.
32657 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
32659 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
32660 Don't include <sysdep.h> nor <init-arch.h>.
32661 (_ZGVbN2vvv_sincos): Removed.
32662 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
32664 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
32665 Don't include <sysdep.h> nor <init-arch.h>.
32666 (_ZGVdN4vvv_sincos): Removed.
32667 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
32669 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
32670 Don't include <sysdep.h> nor <init-arch.h>.
32671 (_ZGVeN8vvv_sincos): Removed.
32672 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
32674 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
32675 Don't include <sysdep.h> nor <init-arch.h>.
32676 (_ZGVeN16v_cosf): Removed.
32677 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
32679 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
32680 Don't include <sysdep.h> nor <init-arch.h>.
32681 (_ZGVbN4v_cosf): Removed.
32682 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
32684 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
32685 Don't include <sysdep.h> nor <init-arch.h>.
32686 (_ZGVdN8v_cosf): Removed.
32687 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
32689 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
32690 Don't include <sysdep.h> nor <init-arch.h>.
32691 (_ZGVeN16v_expf): Removed.
32692 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
32694 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
32695 Don't include <sysdep.h> nor <init-arch.h>.
32696 (_ZGVbN4v_expf): Removed.
32697 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
32699 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
32700 Don't include <sysdep.h> nor <init-arch.h>.
32701 (_ZGVdN8v_expf): Removed.
32702 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
32704 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
32705 Don't include <sysdep.h> nor <init-arch.h>.
32706 (_ZGVeN16v_logf): Removed.
32707 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
32709 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
32710 Don't include <sysdep.h> nor <init-arch.h>.
32711 (_ZGVbN4v_logf): Removed.
32712 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
32714 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
32715 Don't include <sysdep.h> nor <init-arch.h>.
32716 (_ZGVdN8v_logf): Removed.
32717 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
32719 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
32720 Don't include <sysdep.h> nor <init-arch.h>.
32721 (_ZGVeN16vv_powf): Removed.
32722 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
32724 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
32725 Don't include <sysdep.h> nor <init-arch.h>.
32726 (_ZGVbN4vv_powf): Removed.
32727 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
32729 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
32730 Don't include <sysdep.h> nor <init-arch.h>.
32731 (_ZGVdN8vv_powf): Removed.
32732 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
32734 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
32735 Don't include <sysdep.h> nor <init-arch.h>.
32736 (_ZGVeN16vvv_sincosf): Removed.
32737 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
32739 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
32740 Don't include <sysdep.h> nor <init-arch.h>.
32741 (_ZGVbN4vvv_sincosf): Removed.
32742 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
32744 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
32745 Don't include <sysdep.h> nor <init-arch.h>.
32746 (_ZGVdN8vvv_sincosf): Removed.
32747 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
32749 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
32750 Don't include <sysdep.h> nor <init-arch.h>.
32751 (_ZGVeN16v_sinf): Removed.
32752 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
32754 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
32755 Don't include <sysdep.h> nor <init-arch.h>.
32756 (_ZGVbN4v_sinf): Removed.
32757 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
32759 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
32760 Don't include <sysdep.h> nor <init-arch.h>.
32761 (_ZGVdN8v_sinf): Removed.
32763 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32765 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32766 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
32767 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
32768 s_rint-sse4_1 and s_rintf-sse4_1.
32769 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
32770 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
32771 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
32772 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
32773 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
32774 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
32775 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
32776 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
32777 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
32778 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
32779 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
32780 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32782 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
32783 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
32784 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32785 (__ceilf): Removed.
32786 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
32787 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
32788 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32789 (__floor): Removed.
32790 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
32791 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
32792 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32793 (__floorf): Removed.
32794 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
32795 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
32796 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32797 (__nearbyint): Removed.
32798 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
32799 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
32800 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32801 (__nearbyintf): Removed.
32802 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
32803 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
32804 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32806 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
32807 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
32808 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32809 (__rintf): Removed.
32811 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32813 * sysdeps/i386/start.S (_start): Check Check PIC instead of
32814 SHARED. Avoid dynamic relocation against main in static PIE.
32816 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32819 * elf/Makefile (CFLAGS-tst-prelink.c): New.
32820 (LDFLAGS-tst-prelink): Likewise.
32822 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32824 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
32825 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
32826 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
32827 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
32828 (INTERNAL_SYSCALL_NCS): Likewise.
32829 (LOADARGS_1): Likewise.
32830 (LOADARGS_5): Likewise.
32831 (RESTOREARGS_1): Likewise.
32832 (RESTOREARGS_5): Likewise.
32834 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32836 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
32837 (MEMPCPY_SYMBOL): Likewise.
32838 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32839 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
32840 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
32842 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32843 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
32845 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
32846 (__hidden_ver1): Don't use in libc.a.
32847 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
32848 (__mempcpy): Don't create a weak alias in libc.a.
32849 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
32851 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
32852 (__hidden_ver1): Don't use in libc.a.
32854 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32856 * config.make.in (have-insert): New.
32857 * configure.ac (libc_cv_insert): New. Set to yes if linker
32858 supports INSERT in linker script.
32859 (AC_SUBST(libc_cv_insert): New.
32860 * configure: Regenerated.
32861 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
32862 if $(have-insert) == yes.
32864 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32866 * elf/Makefile (tests): Add vismain only if
32867 $(have-protected-data) == yes.
32868 (tests-pie): Likewise.
32870 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32873 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
32874 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
32876 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32879 * sysdeps/i386/i586/memset.S
32880 (__memset_zero_constant_len_parameter): Removed.
32881 * sysdeps/i386/i686/memset.S
32882 (__memset_zero_constant_len_parameter): Likewise.
32883 * sysdeps/i386/i686/multiarch/memset_chk.S
32884 (__memset_zero_constant_len_parameter): Likewise.
32885 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
32888 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32890 * stdlib/getentropy.c (getentropy): Change return type to int.
32892 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32894 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
32896 2017-08-03 Joseph Myers <joseph@codesourcery.com>
32898 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
32900 * math/s_nexttowardf.c (__nexttowardf): Likewise.
32901 * sysdeps/generic/math_private.h (ieee_double_shape_type):
32903 (ieee_float_shape_type): Likewise.
32904 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
32905 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
32906 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
32907 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32908 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
32909 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
32910 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
32911 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32912 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
32914 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32915 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
32916 (__ieee754_yn): Likewise.
32917 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32918 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32919 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
32921 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32922 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
32923 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
32924 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
32925 (__erfc): Likewise.
32926 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
32927 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
32928 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
32929 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
32930 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
32931 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
32933 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
32934 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
32935 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
32936 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
32937 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32938 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
32939 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
32940 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
32941 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
32942 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
32943 (__issignaling): Likewise.
32944 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
32945 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
32946 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
32948 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32949 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32950 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
32951 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
32953 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
32955 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
32956 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
32957 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
32958 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
32959 (__erfcf): Likewise.
32960 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
32961 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
32962 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
32963 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
32965 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
32966 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
32968 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
32969 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
32970 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
32971 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
32972 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
32973 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32974 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
32975 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
32977 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
32979 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
32981 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
32982 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
32984 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
32986 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32987 (__ieee754_ynl): Likewise.
32988 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
32989 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
32991 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
32993 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
32994 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
32995 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32997 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
32998 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
32999 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
33000 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
33001 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
33002 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
33003 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
33004 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
33006 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
33007 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
33008 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
33010 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
33011 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
33012 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
33013 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
33014 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
33015 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33017 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33019 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33021 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33023 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
33024 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33025 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33026 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
33027 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
33028 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
33029 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
33031 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33033 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33034 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33036 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
33037 (__ieee754_remainderl): Likewise.
33038 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33039 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33040 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33041 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33043 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33044 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33046 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33047 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
33048 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
33049 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
33050 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33051 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33053 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
33054 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
33055 (__ieee754_y0l): Likewise.
33058 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33059 (__ieee754_y1l): Likewise.
33062 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33063 (__ieee754_ynl): Likewise.
33064 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
33065 (__ieee754_lgammal_r): Likewise.
33066 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
33068 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
33069 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
33070 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
33071 (__erfcl): Likewise.
33072 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
33073 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
33075 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
33076 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
33077 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
33078 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
33079 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
33080 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33081 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33083 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
33084 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33085 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
33086 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
33087 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33089 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
33090 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
33092 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
33093 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
33094 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
33095 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33096 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
33098 2017-08-03 Florian Weimer <fweimer@redhat.com>
33101 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
33102 on memory allocation failure.
33104 2017-08-03 Alan Modra <amodra@gmail.com>
33106 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
33107 tst-tlsopt-powerpc.c with function name change and no test harness.
33108 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
33109 Call tls_get_addr_opt_test.
33110 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
33111 (modules-names): Add mod-tlsopt-powerpc.
33112 (mod-tlsopt-powerpc.so-no-z-defs): Define.
33113 (tst-tlsopt-powerpc): Depend on .so.
33114 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
33115 define. Expand use in TLS_GD and TLS_LD.
33117 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33119 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
33121 * sysdeps/posix/shm_open.c: Include <pthread.h>.
33123 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33126 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
33127 comparing size with that of double.
33128 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33129 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33130 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33131 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33132 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33133 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
33134 unsigned __int128 types.
33136 2017-08-02 Steve Ellcey <sellcey@cavium.com>
33138 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
33139 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
33140 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
33141 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
33142 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
33144 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33146 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
33148 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33150 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
33152 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33153 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33154 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33155 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33156 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33157 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33158 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33160 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33163 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
33164 bit-field expressions passed to sizeof or typeof.
33165 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33166 (__TGMATH_F128): Likewise.
33167 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33168 (__TGMATH_CF128): Likewise.
33169 (__TGMATH_UNARY_REAL_ONLY): Likewise.
33170 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
33171 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
33172 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
33173 (__TGMATH_BINARY_REAL_ONLY): Likewise.
33174 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33175 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33176 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33177 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33178 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
33179 (__TGMATH_UNARY_REAL_IMAG): Likewise.
33180 (__TGMATH_UNARY_IMAG): Likewise.
33181 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
33182 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33183 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
33185 (define_vars_for_type): Handle bit_field type specially.
33186 (Tests.__init__): Declare structure with bit-field element.
33188 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33191 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
33192 (MEMCPY_CHK): Define only if SHARED is defined.
33193 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
33195 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
33198 See ChangeLog.18 for earlier changes.