1 2019-03-12 Florian Weimer <fweimer@redhat.com>
4 resolv: Enable full ICMP errors for UDP DNS sockets
5 * resolv/res_enable_icmp.c: New file.
6 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
7 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
8 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
11 2019-03-11 Mao Han <han_mao@c-sky.com>
13 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
14 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
16 2019-03-11 Mao Han <han_mao@c-sky.com>
18 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
19 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
20 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
22 2019-03-11 Mao Han <han_mao@c-sky.com>
24 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
26 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
29 2019-03-11 Mao Han <han_mao@c-sky.com>
31 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
32 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
35 2019-03-08 Mike FABIAN <mfabian@redhat.com>
38 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
39 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
41 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
42 * localedata/unicode-gen/PropList.txt: Likewise.
43 * localedata/unicode-gen/UnicodeData.txt: Likewise.
44 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
45 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
46 * localedata/charmaps/UTF-8: Regenerate.
47 * localedata/locales/i18n_ctype: Likewise.
48 * localedata/locales/tr_TR: Likewise.
49 * localedata/locales/translit_circle: Likewise.
50 * localedata/locales/translit_cjk_compat: Likewise.
51 * localedata/locales/translit_combining: Likewise.
52 * localedata/locales/translit_compat: Likewise.
53 * localedata/locales/translit_font: Likewise.
54 * localedata/locales/translit_fraction: Likewise.
56 2019-03-07 Joseph Myers <joseph@codesourcery.com>
58 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
60 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
61 (setitimer_locked): Likewise.
62 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
63 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
64 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
65 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
66 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
67 (PPC_CPU_SUPPORTED): Likewise.
68 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
69 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
70 (stat_overflow): Likewise.
71 (statfs_overflow): Likewise.
72 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
73 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
74 (eq_ttyname_r): Likewise.
75 (run_chroot_tests): Likewise.
77 2019-03-07 Florian Weimer <fweimer@redhat.com>
79 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
82 2019-03-07 Martin Liska <mliska@suse.cz>
84 * math/Makefile: Change location where math-vector-fortran.h is
86 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
87 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
88 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
89 * scripts/check-installed-headers.sh: Skip Fortran header files.
90 * scripts/check-wrapper-headers.py: Likewise.
92 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
94 * nptl/nptl-init.c (__have_futex_clock_realtime,
95 __have_futex_clock_realtime): Remove definition.
96 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
97 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
98 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
99 __ASSUME_FUTEX_CLOCK_REALTIME support.
100 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
101 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
102 * sysdeps/unix/sysv/linux/kernel-features.h
103 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
104 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
107 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
109 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
110 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
111 __GI___wcscpy and wcscpy.
113 2019-03-04 Florian Weimer <fweimer@redhat.com>
115 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
117 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
120 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
122 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
123 * sysdeps/s390/s390-32/sysdep.h: Likewise.
125 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
128 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
129 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
131 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
133 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
136 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
137 (do_test_call_varg): Likewise.
138 (do_test_call_rarg): Likewise.
139 * sysdeps/ieee754/ldbl-opt/Makefile
140 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
142 ($(objpfx)tst-nldbl-warn.c): New rule.
143 ($(objpfx)tst-nldbl-error.c): Likewise.
144 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
147 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
150 * include/bits/error-ldbl.h: New file.
151 * include/error.h: Include stdarg.h. Declare internal functions
152 __error_internal and __error_at_line_internal.
153 * misc/Makefile (headers): Add bits/error-ldbl.h.
154 * misc/bits/error-ldbl.h: New file.
155 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
156 avoid the inclusion of bits/error.h.
157 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
158 and __nldbl_error_at_line.
159 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
160 (__nldbl_error, __ndlbl_error_at_line): New functions.
161 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
162 Redirect error and error_at_line.
163 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
172 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
173 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
174 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
176 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
179 * include/bits/err-ldbl.h: New file.
180 * include/err.h: Add prototypes for the internal functions:
181 __vwarnx_internal and __vwarn_internal.
182 * misc/Makefile (headers): Add bits/err-ldbl.h.
183 * misc/bits/err-ldbl.h: New file.
184 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
185 defined, i.e.: when -mlong-double-64 is in use.
186 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
187 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
188 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
189 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
190 (VA_CALL): New macro.
191 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
192 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
194 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
195 declare prototypes for the new functions.
196 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
205 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
206 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
207 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
209 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
211 * sysdeps/ieee754/ldbl-opt/Makefile
212 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
213 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
214 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
216 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
219 * argp/Makefile (headers): Add bits/argp-ldbl.h.
220 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
221 * argp/bits/argp-ldbl.h: New file.
222 * include/argp.h: Include stdarg.h. Add prototypes for internal
223 functions: __argp_error_internal and __argp_failure_internal.
224 * include/bits/argp-ldbl.h: New file.
225 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
226 __nldbl_argp_error and __nldbl_argp_failure.
227 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
228 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
229 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
230 Redirect argp_error and argp_failure calls.
231 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
240 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
241 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
242 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
244 2019-03-01 Florian Weimer <fweimer@redhat.com>
247 * elf/tst-big-note-lib.S: Create a syntactically valid note.
248 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
249 code, to avoid creating an ABI tag note.
250 (modules-names-nobuild): Add tst-big-note-lib.
252 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
254 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
255 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
257 2019-03-01 Florian Weimer <fweimer@redhat.com>
260 * sysdeps/unix/sysv/linux/netlink_assert_response.c
261 (__netlink_assert_response): Add additional missing newlines.
263 2019-02-28 Joseph Myers <joseph@codesourcery.com>
265 * sysdeps/powerpc/powerpc32/dl-machine.c
266 (__elf_machine_fixup_plt): Use space before '('.
267 (__process_machine_rela): Likewise.
268 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
270 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
272 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
274 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
277 (check_result): Likewise.
278 (check_excepts): Likewise.
279 (check_op): Likewise.
281 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
282 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
284 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
287 (__makecontext): Likewise.
288 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
291 2019-02-28 Florian Weimer <fweimer@redhat.com>
294 elf: Add test with a local IFUNC resolver.
295 * elf/ifuncmain9.c: New file.
296 * elf/ifuncmain9pic.c: Likewise.
297 * elf/ifuncmain9picstatic.c: Likewise.
298 * elf/ifuncmain9pie.c: Likewise.
299 * elf/ifuncmain9static.c: Likewise.
300 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
301 ifuncmain9static, ifuncmain9picstatic.
302 * elf/Makefile [multi-arch && build-shared] (tests-internal):
303 Add ifuncmain9, ifuncmain9pic.
304 * elf/Makefile [multi-arch && build-shared && have-fpie]
305 (ifunc-pie-tests): Add ifuncmain9pie.
306 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
307 (CFLAGS-ifuncmain9picstatic.c): Likewise.
308 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
310 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
312 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
313 * configure: Regenerated.
314 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
316 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
318 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
319 symbol as __wcspcy instead of wcscpy.
321 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
323 * include/stdio.h (__renameat2): New hidden prototype.
324 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
325 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
326 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
327 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
329 2019-02-27 Joseph Myers <joseph@codesourcery.com>
331 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
334 * benchtests/bench-strcpy.c (do_test): Use space before '('.
335 * benchtests/bench-string.h (cmdline_process_function): Likewise.
336 * benchtests/bench-strlen.c (do_test): Likewise.
337 (test_main): Likewise.
338 * catgets/gencat.c (read_old): Likewise.
339 * elf/cache.c (load_aux_cache): Likewise.
340 * iconvdata/bug-iconv8.c (do_test): Likewise.
341 * math/test-tgmath-ret.c (do_test): Likewise.
342 * nis/nis_call.c (rec_dirsearch): Likewise.
343 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
344 * nptl/tst-audit-threads.c (do_test): Likewise.
345 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
346 * nss/nss_test1.c (init): Likewise.
347 * nss/test-netdb.c (test_hosts): Likewise.
348 * posix/execvpe.c (maybe_script_execute): Likewise.
349 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
350 * stdio-common/tst-printf.c (do_test): Likewise.
351 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
352 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
353 * stdlib/qsort.c (STACK_SIZE): Likewise.
354 * stdlib/test-canon.c (do_test): Likewise.
355 * stdlib/tst-swapcontext1.c (do_test): Likewise.
356 * string/memcmp.c (OPSIZ): Likewise.
357 * string/test-strcpy.c (do_test): Likewise.
358 (do_random_tests): Likewise.
359 * string/test-strlen.c (do_test): Likewise.
360 (test_main): Likewise.
361 * string/test-strrchr.c (do_test): Likewise.
362 (do_random_tests): Likewise.
363 * string/tester.c (test_memrchr): Likewise.
364 (test_memchr): Likewise.
365 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
366 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
367 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
368 (read_encoded_value_with_base): Likewise.
369 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
370 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
371 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
372 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
373 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
374 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
376 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
378 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
379 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
380 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
382 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
384 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
386 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
388 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
389 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
390 (FP_XSTATE_MAGIC2_SIZE): Likewise.
391 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
392 * time/test_time.c (main): Likewise.
394 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
396 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
398 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
401 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
404 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
406 * include/wchar.h (__wcscpy): New prototype.
407 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
408 (__wcscpy): Route internal symbol to generic implementation.
409 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
410 Add internal __wcscpy alias.
411 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
412 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
413 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
414 * wcsmbs/wcscpy.c (wcscpy): Add
415 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
416 use generic implementation.
417 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
419 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
422 * sysdeps/m68k/wcpcpy.c: Remove file.
423 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
425 2019-02-26 Joseph Myers <joseph@codesourcery.com>
427 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
428 than after operators.
429 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
430 * sysdeps/mach/hurd/getcwd.c
431 (__hurd_canonicalize_directory_name_internal): Likewise.
432 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
433 (pthread_mutex_consistent): Likewise.
434 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
436 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
437 (__pthread_mutex_transfer_np): Likewise.
438 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
439 (__pthread_mutex_unlock): Likewise.
440 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
441 (mtx_owned_p): Likewise.
442 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
443 (pthread_mutexattr_getrobust): Likewise.
444 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
445 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
447 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
448 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
449 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
450 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
451 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
452 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
453 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
455 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
457 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
458 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
459 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
460 (____longjmp_chk): Likewise.
461 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
463 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
464 (INTERNAL_SYSCALL): Likewise.
465 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
466 (INTERNAL_SYSCALL): Likewise.
467 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
468 (__get_clockfreq_via_cpuinfo): Likewise.
470 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
472 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
473 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
474 (WORD_COPY_BWD): Likewise.
475 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
476 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
478 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
479 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
481 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
483 2019-02-25 Joseph Myers <joseph@codesourcery.com>
485 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
486 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
487 rather than after operators.
488 * elf/cache.c (print_cache): Likewise.
489 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
490 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
491 * hurd/hurdinit.c (_hurd_setproc): Likewise.
492 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
493 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
494 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
495 (reauth_proc): Likewise.
496 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
497 (__file_name_split_at): Likewise.
498 (__directory_name_split_at): Likewise.
499 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
500 * hurd/port2fd.c (_hurd_port2fd): Likewise.
501 * iconv/gconv_dl.c (do_print): Likewise.
502 * inet/netinet/in.h (struct sockaddr_in): Likewise.
503 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
504 * locale/setlocale.c (new_composite_name): Likewise.
505 * malloc/memusagestat.c (main): Likewise.
506 * misc/fstab.c (fstab_convert): Likewise.
507 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
509 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
510 (getgrent_next_file): Likewise.
511 (internal_getgrnam_r): Likewise.
512 (internal_getgrgid_r): Likewise.
513 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
515 (internal_getgrent_r): Likewise.
516 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
517 (getpwent_next_nss): Likewise.
518 (getpwent_next_file): Likewise.
519 (internal_getpwnam_r): Likewise.
520 (internal_getpwuid_r): Likewise.
521 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
523 (getspent_next_nss): Likewise.
524 (internal_getspnam_r): Likewise.
525 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
526 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
527 * string/strchr.c (STRCHR): Likewise.
528 * string/strchrnul.c (STRCHRNUL): Likewise.
529 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
530 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
531 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
532 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
533 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
535 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
536 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
537 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
538 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
539 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
540 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
541 (open_file): Likewise.
542 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
543 (pthread_mutexattr_setprotocol): Likewise.
544 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
545 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
546 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
547 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
548 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
550 (elf_machine_rela): Likewise.
551 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
552 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
553 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
554 * sysdeps/posix/rename.c (rename): Likewise.
555 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
556 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
557 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
558 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
559 * sysdeps/unix/grantpt.c (grantpt): Likewise.
560 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
561 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
563 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
565 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
566 * time/tzfile.c (__tzfile_compute): Likewise.
568 2019-02-22 Joseph Myers <joseph@codesourcery.com>
570 * benchtests/bench-memmem.c (simple_memmem): Break lines before
571 rather than after operators.
572 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
573 * crypt/md5.c (md5_finish_ctx): Likewise.
574 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
575 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
576 * elf/cache.c (load_aux_cache): Likewise.
577 * elf/dl-load.c (open_verify): Likewise.
578 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
579 * elf/readelflib.c (process_elf_file): Likewise.
580 * elf/rtld.c (dl_main): Likewise.
581 * elf/sprof.c (generate_call_graph): Likewise.
582 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
583 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
584 * hurd/dtable.c (reauth_dtable): Likewise.
585 * hurd/getdport.c (__getdport): Likewise.
586 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
587 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
588 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
590 * hurd/hurdioctl.c (fioctl): Likewise.
591 * hurd/hurdselect.c (_hurd_select): Likewise.
592 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
593 (STOPSIGS): Likewise.
594 * hurd/hurdstartup.c (_hurd_startup): Likewise.
595 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
596 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
597 * hurd/msgportdemux.c (msgport_server): Likewise.
598 * hurd/setauth.c (_hurd_setauth): Likewise.
599 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
600 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
601 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
602 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
603 * login/tst-utmp.c (do_check): Likewise.
604 (simulate_login): Likewise.
605 * mach/lowlevellock.h (lll_lock): Likewise.
606 (lll_trylock): Likewise.
607 * math/test-fenv.c (ALL_EXC): Likewise.
608 * math/test-fenvinline.c (ALL_EXC): Likewise.
609 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
610 * nis/nis_call.c (__do_niscall3): Likewise.
611 * nis/nis_callback.c (cb_prog_1): Likewise.
612 * nis/nis_defaults.c (searchaccess): Likewise.
613 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
614 * nis/nis_ismember.c (internal_ismember): Likewise.
615 * nis/nis_local_names.c (nis_local_principal): Likewise.
616 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
617 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
619 * nis/ypclnt.c (yp_match): Likewise.
620 (yp_first): Likewise.
622 (yp_master): Likewise.
623 (yp_order): Likewise.
624 * nscd/hstcache.c (cache_addhst): Likewise.
625 * nscd/initgrcache.c (addinitgroupsX): Likewise.
626 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
627 (internal_getpwuid_r): Likewise.
628 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
629 * posix/glob.h (__GLOB_FLAGS): Likewise.
630 * posix/regcomp.c (peek_token): Likewise.
631 (peek_token_bracket): Likewise.
632 (parse_expression): Likewise.
633 * posix/regexec.c (sift_states_iter_mb): Likewise.
634 (check_node_accept_bytes): Likewise.
635 * posix/tst-spawn3.c (do_test): Likewise.
636 * posix/wordexp-test.c (testit): Likewise.
637 * posix/wordexp.c (parse_tilde): Likewise.
638 (exec_comm): Likewise.
639 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
640 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
641 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
642 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
643 * stdio-common/tst-fileno.c (do_test): Likewise.
644 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
645 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
646 * stdlib/strtod_l.c (round_and_return): Likewise.
647 (____STRTOF_INTERNAL): Likewise.
648 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
649 * string/strcspn.c (STRCSPN): Likewise.
650 * string/test-memmem.c (simple_memmem): Likewise.
651 * termios/tcsetattr.c (tcsetattr): Likewise.
652 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
653 * time/asctime.c (asctime_internal): Likewise.
654 * time/strptime_l.c (__strptime_internal): Likewise.
655 * time/sys/time.h (timercmp): Likewise.
656 * time/tzfile.c (__tzfile_compute): Likewise.
658 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
661 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
663 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
665 * argp/argp-help.c (__argp_error_internal): New function,
666 renamed from __argp_error, but that takes a 'mode_flags'
667 parameter to control the format of long double parameters.
668 (__argp_error): Converted into a call __argp_error_internal.
669 (__argp_failure_internal): New function, renamed from
670 __argp_failure, but that takes a 'mode_flags' parameter.
671 (__argp_failure): Converted into a call __argp_failure_internal.
672 * misc/err.c (__vwarnx_internal): New function, renamed from
673 vwarnx, but that takes a 'mode_flags' parameter.
674 (vwarnx): Converted into a call to __vwarnx_internal.
675 (__vwarn_internal): New function, renamed from vwarn, but that
676 takes a 'mode_flags' parameter.
677 (vwarn): Converted into a call to __vwarn_internal.
678 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
679 call to __vfxprintf with 'mode_flags'.
680 (__error_internal): New function, renamed from error, but that
681 takes a 'mode_flags' parameter.
682 (error): Converted into a call to __error_internal.
683 (__error_at_line_internal): New function, renamed from
684 error_at_line, but that takes a 'mode_flags' parameter.
685 (error_at_line): Converted into a call to
686 __error_at_line_internal.
687 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
688 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
691 2019-02-20 Martin Liska <mliska@suse.cz>
693 * math/Makefile: Install math-vector-fortran.h.
694 * bits/math-vector-fortran.h: New file.
695 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
697 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
699 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
700 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
702 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
704 * nptl/pthread_mutex_trylock.c: Fix comment.
706 2019-02-19 Carlos O'Donell <carlos@redhat.com>
708 * nptl/pthread_tryjoin.c: Fix comment.
710 2019-02-18 Joseph Myers <joseph@codesourcery.com>
713 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
714 after R_SPARC_H34 case.
716 2019-02-18 Florian Weimer <fweimer@redhat.com>
718 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
719 (getanswer): Do not call Dprintf.
720 (res_gethostbyname2_context): Likewise.
721 (res_gethostbyaddr_context): Likewise.
723 2019-02-18 Florian Weimer <fweimer@redhat.com>
725 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
727 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
729 * libio/stdfiles.c: Update comment.
730 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
731 set _IO_stdin, _IO_stdout, _IO_stderr.
732 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
733 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
735 (_IO_deallocate_file): New inline function.
736 * libio/iolibio.h (_IO_vprintf): Remove definition.
737 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
738 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
739 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
741 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
742 __builtin_expect. Use _IO_legacy_file.
744 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
746 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
747 Initialize ctid with a known value and remove update of ctid
749 (wait_tid): Adjust arguments and call futex_wait with ctid_val
750 as assumed current value of ctid_ptr.
752 2019-02-15 Florian Weimer <fweimer@redhat.com>
754 Check that non-sysdeps headers have wrapper headers.
755 * scripts/check-wrapper-headers.py: New file.
756 * Makefile (tests-special): Add check-wrapper-headers.out.
757 (check-wrapper-headers.out): New target.
758 * Rules (tests-special): Add check-wrapper-headers.out.
759 (check-wrapper-headers.out): New target.
761 2019-02-15 Florian Weimer <fweimer@redhat.com>
763 Add missing header wrappers under include/.
764 * include/ar.h: New file.
765 * include/bits/mqueue2.h: Likewise.
766 * include/bits/stdio.h: Likewise.
767 * include/bits/stdio2.h: Likewise.
768 * include/fstab.h: Likewise.
769 * include/fts.h: Likewise.
770 * include/lastlog.h: Likewise.
771 * include/netinet/icmp6.h: Likewise.
772 * include/netinet/igmp.h: Likewise.
773 * include/netinet/ip6.h: Likewise.
774 * include/re_comp.h: Likewise.
775 * include/regexp.h: Likewise.
776 * include/rpcsvc/bootparam.h: Likewise.
777 * include/rpcsvc/yp_prot.h: Likewise.
778 * include/sys/random.h: Likewise.
779 * include/sys/stropts.h: Likewise.
780 * include/sys/ttychars.h: Likewise.
781 * include/sys/vfs.h: Likewise.
782 * include/wait.h: Likewise.
784 2019-02-15 Florian Weimer <fweimer@redhat.com>
786 * nptl_db/proc_service.h: Move to ...
787 * sysdeps/nptl/proc_service.h: ... here.
788 * nptl_db/thread_db.h: Move to ...
789 * sysdeps/nptl/thread_db.h: ... here.
790 * nptl/descr.h: Include <thread_db.h>.
792 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
794 * io/Makefile (tests): Add tst-lockf.
795 * io/lockf.c (lockf): Use __fcntl and only define for
796 !__OFF_T_MATCHES_OFF64_T.
797 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
798 __OFF_T_MATCHES_OFF64_T case.
799 * io/tst-lockf.c: New file.
800 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
801 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
802 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
803 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
804 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
806 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
807 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
808 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
810 2019-02-15 Florian Weimer <fweimer@redhat.com>
813 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
814 pd->result after the thread descriptor has been freed.
816 2019-02-15 Joseph Myers <joseph@codesourcery.com>
818 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
819 from function return type.
821 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
823 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
825 * scripts/test_printers_common.py: Set TERM to a known harmless
828 2019-02-14 Joseph Myers <joseph@codesourcery.com>
830 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
831 (xdr_u_int): Likewise.
832 (xdr_enum): Likewise.
833 (xdr_bytes): Reword fall-through comment.
834 (xdr_string): Likewise.
836 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
839 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
840 (tests): Add tst-join8 tst-join9.
841 * nptl/lll_timedwait_tid.c: Remove file.
842 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
843 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
844 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
845 * nptl/pthread_join_common.c (timedwait_tid): New function.
846 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
848 * nptl/tst-join5.c (thread_join): New function.
849 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
851 * nptl/tst-join8.c: New file.
852 * nptl/tst-join9.c: Likewise.
853 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
854 lll_futex_timed_wait_cancel): Add generic macros.
855 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
857 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
858 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
859 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
860 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
862 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
864 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
865 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
866 (lll_futex_timed_wait_cancel): New macro.
868 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
870 * benchtests/Makefile: Add malloc-simple benchmark.
871 * benchtests/bench-malloc-simple.c: New benchmark.
873 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
875 * benchtests/bench-memmove.c (do_one_test): Remove unused
878 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
882 2019-01-13 Jim Wilson <jimw@sifive.com>
885 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
886 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
888 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
890 * nptl/Makefile (tests): Add tst-unwind-thread.
891 (CFLAGS-tst-unwind-thread.c): Define.
892 * nptl/tst-unwind-thread.c: New file.
893 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
896 2019-02-13 Joseph Myers <joseph@codesourcery.com>
898 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
900 * nis/nis_call.c (__do_niscall3): Likewise.
902 * catgets/gencat.c (normalize_line): Use braces around empty
904 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
905 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
906 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
907 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
908 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
909 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
910 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
913 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
916 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
918 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
919 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
920 * benchtests/bench-strchr.c (stupid_strchr): Remove.
921 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
922 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
923 * benchtests/bench-strlen.c (builtin_strlen): Remove.
924 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
925 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
926 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
927 * benchtests/bench-strspn.c (stupid_strspn): Remove.
928 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
929 * benchtests/bench-bcopy.c: Delete file.
930 * benchtests/bench-bzero.c: Likewise.
931 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
932 (simple_memccpy): Remove.
933 (generic_memccpy): Add function.
934 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
935 * benchtests/bench-memmove.c (simple_bcopy): Remove.
936 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
937 (generic_mempcpy): Add new function.
938 * benchtests/bench-memset.c (simple_bzero): Remove.
939 (builtin_bzero): Remove.
940 (builtin_memset): Remove.
941 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
942 (generic_rawmemchr): Add new function.
944 2019-02-12 Florian Weimer <fweimer@redhat.com>
946 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
948 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
951 * elf/Makefile (tests): Add tst-audit13.
952 (modules-names): Add tst-audit13mod1.
953 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
955 * elf/tst-audit13.c: New file.
956 * elf/tst-audit13mod1.c: Likewise.
958 2019-02-12 Florian Weimer <fweimer@redhat.com>
961 * elf/rtld.c (unload_audit_module): New function.
962 (report_audit_module_load_error): Likewise.
963 (load_audit_module): Likewise. Extracted from dl_main. Call
964 _dl_close if the laversion symbol cannot be found. Use early
965 returns for error handling. Add malloc error check. Check for a
966 zero return value from la_version. Remove spurious comment about
967 static TLS initialization. Remove useless casts.
968 (notify_audit_modules_of_loaded_object): New function. Extracted
970 (load_audit_module): Likewise.
971 (dl_main): Call load_audit_modules.
973 2019-02-12 Joseph Myers <joseph@codesourcery.com>
975 * elf/dl-exception.c (_dl_exception_create_format): Add
976 fall-through comments.
977 * elf/ldconfig.c (parse_conf_include): Likewise.
978 * elf/rtld.c (print_statistics): Likewise.
979 * locale/programs/charmap.c (parse_charmap): Likewise.
980 * misc/mntent_r.c (__getmntent_r): Likewise.
981 * posix/wordexp.c (parse_arith): Likewise.
982 (parse_backtick): Likewise.
983 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
984 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
985 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
987 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
989 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
990 Use float instead of double.
992 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
994 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
996 2019-02-08 Joseph Myers <joseph@codesourcery.com>
998 * sysdeps/powerpc/bits/mathinline.h: Remove.
1000 2019-02-08 Florian Weimer <fweimer@redhat.com>
1002 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
1003 * math/bits/math-finite.h: Move to ...
1004 * bits/math-finite.h: ... here.
1006 2019-02-08 Florian Weimer <fweimer@redhat.com>
1008 * sysdeps/generic/bits/unistd_ext.h: Move to ...
1009 * bits/unistd_ext.h: here.
1011 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
1014 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
1015 * nss/tst-nss-files-hosts-long.c: New file.
1016 * nss/tst-nss-files-hosts-long.root: New directory.
1017 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
1018 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
1020 2019-02-08 Florian Weimer <fweimer@redhat.com>
1022 * include/bits/unistd_ext.h: Remove file.
1023 * posix/bits/unistd_ext.h: Move to ...
1024 * sysdeps/generic/bits/unistd_ext.h: ... here.
1026 2019-02-08 Florian Weimer <fweimer@redhat.com>
1028 * include/bits/unistd_ext.h: New file.
1030 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
1032 * time/tst-strftime2.c: Use array_length macros instead of magic
1035 2019-02-08 Florian Weimer <fweimer@redhat.com>
1038 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
1040 * nptl/register-atfork.c (__run_fork_handlers): Only perform
1041 locking if the new do_locking argument is true.
1042 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
1043 __run_fork_handlers.
1045 2019-02-08 Florian Weimer <fweimer@redhat.com>
1048 Linux: Add gettid system call wrapper.
1049 * posix/Makefile (headers): Add bits/unistd_ext.h.
1050 * posix/bits/unistd_ext.h: New file.
1051 * posix/unistd.h: Include it.
1052 * manual/process.texi (Process Identification): Document gettid.
1053 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
1054 tst-gettid, tst-gettid-kill.
1055 (tst-gettid): Link with $(shared-thread-library).
1056 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
1057 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
1058 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
1059 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
1060 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
1061 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1063 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1065 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1066 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1068 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1070 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1072 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1074 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1076 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1078 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1080 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1081 (GLIBC_2.30): Likewise.
1082 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1083 (GLIBC_2.30): Likewise.
1084 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1085 (GLIBC_2.30): Likewise.
1086 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1087 (GLIBC_2.30): Likewise.
1088 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1091 (GLIBC_2.30): Likewise.
1092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1093 (GLIBC_2.30): Likewise.
1094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1095 (GLIBC_2.30): Likewise.
1096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1097 (GLIBC_2.30): Likewise.
1098 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1100 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1102 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1104 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1105 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1107 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1109 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1111 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1113 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
1115 2019-02-07 Florian Weimer <fweimer@redhat.com>
1117 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
1118 compatibility symbols.
1120 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
1123 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1124 Add compiler barriers and comments.
1126 2019-02-07 Florian Weimer <fweimer@redhat.com>
1128 * include/array_length.h (array_length): Do not use a statement
1129 expression and _Static_assert, so that array_length can be used at
1130 file scope and as a constant expression.
1132 2019-02-07 Florian Weimer <fweimer@redhat.com>
1134 * support/xdlfcn.h (xdlmopen): Declare.
1135 * support/xdlmopen.c: New file.
1136 * support/Makefile (libsupport-routines): Add xdlmopen.
1138 2019-02-06 Joseph Myers <joseph@codesourcery.com>
1140 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
1141 before return type, without separate inline.
1142 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
1143 * elf/dl-tunables.h (tunable_is_name): Likewise.
1144 * malloc/malloc.c (do_set_trim_threshold): Likewise.
1145 (do_set_top_pad): Likewise.
1146 (do_set_mmap_threshold): Likewise.
1147 (do_set_mmaps_max): Likewise.
1148 (do_set_mallopt_check): Likewise.
1149 (do_set_perturb_byte): Likewise.
1150 (do_set_arena_test): Likewise.
1151 (do_set_arena_max): Likewise.
1152 (do_set_tcache_max): Likewise.
1153 (do_set_tcache_count): Likewise.
1154 (do_set_tcache_unsorted_limit): Likewise.
1155 * nis/nis_subr.c (count_dots): Likewise.
1156 * nptl/allocatestack.c (advise_stack_range): Likewise.
1157 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
1159 (reduce_sincos): Likewise.
1160 (do_sincos): Likewise.
1161 * sysdeps/unix/sysv/linux/x86/elision-conf.c
1162 (do_set_elision_enable): Likewise.
1163 (TUNABLE_CALLBACK_FNDECL): Likewise.
1165 2019-02-06 Florian Weimer <fweimer@redhat.com>
1167 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
1168 (xdlsym): Use dlerror to detect a NULL symbol.
1170 2019-02-06 Florian Weimer <fweimer@redhat.com>
1172 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
1174 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1176 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1178 * libio/tst-bz24153.c (wide): Use wide char format specifier.
1180 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1182 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
1183 __wmemcmp and weak alias to wmemcmp.
1185 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1188 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
1189 TLS_TCB_AT_TP tls variant.
1190 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
1191 Add alignment checks.
1192 * support/Makefile (libsupport-routines): Add xposix_memalign and
1194 * support/support.h: Add xposix_memalign.
1195 * support/xthread.h: Add xpthread_attr_setstack.
1196 * support/xposix_memalign.c: New File.
1197 * support/xpthread_attr_setstack.c: Likewise.
1199 2019-02-05 Florian Weimer <fweimer@redhat.com>
1202 arm: Use "nr" constraint for Systemtap probes, to avoid the
1203 compiler using memory operands for constants, due to the "o"
1204 alternative in the default "nor" constraint.
1205 * include/stap-probe.h [USE_STAP_PROBE]: Include
1206 <stap-probe-machine.h>
1207 * sysdeps/generic/stap-probe-machine.h: New file.
1208 * sysdeps/arm/stap-probe-machine.h: Likewise.
1210 2019-02-04 Joseph Myers <joseph@codesourcery.com>
1212 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
1213 with 0, not tcache->entries[tc_idx].
1215 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
1218 2019-02-04 Andreas Schwab <schwab@suse.de>
1222 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
1223 looking up collating elements match against (wide) character
1224 sequence instead of name. Correct alignment adjustment.
1225 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
1226 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
1227 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
1228 (LOCALES): Add cs_CZ.ISO-8859-2.
1229 * posix/tst-fnmatch4.c: New file.
1230 * posix/tst-fnmatch5.c: New file.
1231 * include/wchar.h (__wmemcmp): Declare.
1232 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
1233 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
1234 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1235 * sysdeps/s390/wmemcmp.c: Likewise.
1237 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
1241 * NEWS: Updated for CVE-2019-7309.
1242 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
1243 upper 32 bits of RDX register for x32. Use unsigned Jcc
1244 instructions, instead of signed.
1245 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
1246 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
1248 2019-02-04 Florian Weimer <fweimer@redhat.com>
1250 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
1251 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
1252 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
1254 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
1255 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
1256 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
1257 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
1259 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
1261 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
1263 (posix_spawn_file_actions_addopen): Likewise.
1264 (posix_spawn_file_actions_addclose): Likewise.
1265 (posix_spawn_file_actions_adddup2): Likewise.
1266 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
1268 (posix_spawn_file_actions_addfchdir_np): Likewise.
1270 2019-02-04 David Newall <glibc@davidnewall.com>
1272 elf: Implement --preload option for the dynamic linker.
1273 * elf/rtld.c (preloadarg): New variable.
1274 (handle_preload_list): Pass through “where” argument to
1276 (dl_main): Handle "--preload" and add second call to
1277 handle_preload_list.
1278 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
1279 (tst-rtld-preload-OBJS): Set variable.
1280 (tst-rtld-preload.out): New target.
1281 * elf/tst-rtld-preload.sh: New file.
1283 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
1285 * Makefile (testrun.sh): Exit in case of incorrect argument.
1287 2019-02-04 Florian Weimer <fweimer@redhat.com>
1289 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
1292 2019-02-03 Florian Weimer <fweimer@redhat.com>
1294 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
1295 implicit overflow checks.
1297 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
1299 * stdlib/isomac.c: Include <unistd.h>.
1301 2019-02-03 Florian Weimer <fweimer@redhat.com>
1303 * include/time.h (__tzfile_default): Use int, not long int, for
1305 * time/tzfile.c (struct ttinfo): Change type of the offset member
1307 (__tzfile_read): Remove useless cast.
1308 (__tzfile_default): Adjust prototype.
1309 * time/tzset.c (tz_rule): Change type of the offset member to int.
1310 (parse_offset): Change the type of the sign variable to int.
1312 2019-02-03 Florian Weimer <fweimer@redhat.com>
1315 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
1316 * libio/getchar.c (getchar): Likewise.
1317 * libio/getchar_u.c (getchar_unlocked): Likewise.
1318 * libio/getwchar.c (getwchar): Likewise.
1319 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1320 * libio/iogets.c (_IO_gets): Likewise.
1321 * libio/vscanf.c (_IO_vscanf): Likewise.
1322 * libio/vwscanf.c (__vwscanf): Likewise.
1323 * libio/tst-bz24153.c: New file.
1324 * libio/Makefile (tests): Add it.
1326 2019-02-02 Florian Weimer <fweimer@redhat.com>
1329 * manual/resource.texi (Basic Scheduling Functions): Add
1330 portability note. Change process to task throughout the section.
1331 Remove incorrect comment about sched_yield as it affects
1332 tasks/threads, not entire processes.
1333 * sysdeps/unix/sysv/linux/bits/posix_opt.h
1334 (_POSIX_PRIORITY_SCHEDULING): Update comment.
1336 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1338 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
1339 * configure: Regenerated.
1340 * manual/install.texi (Tools for Compilation): Update minimum GCC
1342 * INSTALL: Regenerated.
1344 2019-02-01 Florian Weimer <fweimer@redhat.com>
1346 * support/support_test_compare_string.c
1347 (support_test_compare_string): Use "string" in error message.
1348 * support/tst-test_compare_string.c (do_test): Adjust.
1350 2019-02-01 Florian Weimer <fweimer@redhat.com>
1352 * support/support_format_address_family.c
1353 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
1355 2019-02-01 Florian Weimer <fweimer@redhat.com>
1357 * manual/socket.texi (Internet Address Formats): Clarify the byte
1358 order of struct sockaddr_in, struct sockaddr_in6. Document
1359 sin6_flowinfo and sin6_scope_id.
1361 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
1363 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
1364 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
1365 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
1366 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
1367 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
1368 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
1370 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1372 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
1373 [!MEMCHR](MEMCHR): Set to __memchr.
1374 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1375 Add memchr_generic and memchr_nosimd.
1376 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1377 (__libc_ifunc_impl_list): Add memchr ifuncs.
1378 * sysdeps/aarch64/multiarch/memchr.c: New file.
1379 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
1380 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
1382 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1384 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1386 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1387 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
1388 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
1389 Add IS_EMAG check for ifunc dispatch.
1390 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
1391 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
1393 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1395 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
1396 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1398 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
1401 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
1403 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
1405 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
1407 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
1408 syscall-template file.
1410 2019-01-31 Carlos O'Donell <carlos@redhat.com>
1411 Torvald Riegel <triegel@redhat.com>
1412 Rik Prohaska <prohaska7@gmail.com>
1415 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
1416 tst-rwlock-trywrlock-stall.
1417 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1418 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
1419 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
1420 Set __wrphase_fute to 1 only if we started the write phase.
1421 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
1422 * nptl/tst-rwlock-trywrlock-stall.c: New file.
1423 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
1424 * support/xpthread_rwlock_destroy.c: New file.
1425 * support/xthread.h: Declare xpthread_rwlock_destroy.
1427 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1429 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1432 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1435 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
1436 * libio/fileops.c (_IO_new_file_underflow): Likewise
1437 * libio/wfileops.c (_IO_wfile_underflow): Likewise
1438 * libio/putchar.c (putchar): Likewise.
1439 * libio/putchar_u.c (putchar_unlocked): Likewise.
1440 * libio/putwchar.c (putchar): Likewise.
1441 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1442 * libio/tst-bz24051.c: New test.
1443 * libio/Makefile (tests): Add tst-bz24051
1445 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
1447 regex: fix read overrun [BZ #24114]
1448 Problem found by AddressSanitizer, reported by Hongxu Chen in:
1449 https://debbugs.gnu.org/34140
1450 * posix/regexec.c (proceed_next_node):
1451 Do not read past end of input buffer.
1453 2019-01-31 Florian Weimer <fweimer@redhat.com>
1456 * nss/nss_files/files-alias.c (get_next_alias): Handle
1457 continuation line without newline at the end.
1458 * nss/tst-nss-files-alias-truncated.c: New file.
1459 * nss/Makefile [$(build-shared)] (tests): Add
1460 tst-nss-files-alias-truncated.
1461 (tst-nss-files-alias-truncated): Link with libnss_files.so.
1462 * support/namespace.h (struct support_chroot_configuration): Add
1464 (struct support_chroot): Add path_aliases member.
1465 * support/support_chroot.c (support_chroot_create): Handle
1467 (support_chroot_free): Free path_aliases.
1469 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1471 * version.h (RELEASE): Set to "development".
1472 (VERSION): Set to "2.29.9000".
1473 * NEWS: Add section for 2.30.
1475 * version.h (RELEASE): Set to "stable".
1476 (VERSION): Set to "2.29".
1477 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
1479 * NEWS: Add the list of bugs fixed in 2.29.
1480 * manual/contrib.texi: Update contributors list with some more
1482 * manual/install.texi: Update latest versions of packages
1484 * INSTALL: Regenerated.
1486 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
1488 * po/be.po: Update translations.
1489 * po/bg.po: Likewise.
1490 * po/ca.po: Likewise.
1491 * po/cs.po: Likewise.
1492 * po/da.po: Likewise.
1493 * po/de.po: Likewise.
1494 * po/el.po: Likewise.
1495 * po/eo.po: Likewise.
1496 * po/es.po: Likewise.
1497 * po/fi.po: Likewise.
1498 * po/fr.po: Likewise.
1499 * po/gl.po: Likewise.
1500 * po/hr.po: Likewise.
1501 * po/hu.po: Likewise.
1502 * po/ia.po: Likewise.
1503 * po/id.po: Likewise.
1504 * po/it.po: Likewise.
1505 * po/ja.po: Likewise.
1506 * po/ko.po: Likewise.
1507 * po/lt.po: Likewise.
1508 * po/nb.po: Likewise.
1509 * po/nl.po: Likewise.
1510 * po/pl.po: Likewise.
1511 * po/pt_BR.po: Likewise.
1512 * po/ru.po: Likewise.
1513 * po/rw.po: Likewise.
1514 * po/sk.po: Likewise.
1515 * po/sl.po: Likewise.
1516 * po/sv.po: Likewise.
1517 * po/tr.po: Likewise.
1518 * po/uk.po: Likewise.
1519 * po/vi.po: Likewise.
1520 * po/zh_CN.po: Likewise.
1521 * po/zh_TW.po: Likewise.
1523 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
1526 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
1527 of $f3 register on $y_is_neg path.
1529 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
1532 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
1533 sigaltstack.ss_flags.
1535 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
1538 * manual/time.texi (strftime): Document "%Ey".
1539 * time/strftime_l.c (__strftime_internal): Set the default width
1540 padding with zero of "%Ey" to 2.
1543 * manual/time.texi (strftime): Document "%EC" and "%EY".
1544 * time/Makefile (tests): Add tst-strftime2.
1545 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
1546 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
1547 override padding for "%Ey".
1548 If an optional flag ('_' or '-') is specified to "%EY", interpret the
1549 "%Ey" in the subformat as if decorated with that flag.
1550 * time/tst-strftime2.c: New file.
1552 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1554 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
1558 * elf/Makefile (tests): Add tst-audit13.
1559 (modules-names): Add tst-audit13mod1.
1560 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1562 * elf/rtld.c (dl_main): Handle invalid audit module version.
1563 * elf/tst-audit13.c: New file.
1564 * elf/tst-audit13mod1.c: Likewise.
1566 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1568 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
1569 returned by __hurd_at_flags.
1570 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
1571 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
1572 directly instead of __hurd_file_name_lookup.
1574 2019-01-21 Joseph Myers <joseph@codesourcery.com>
1576 * scripts/build-many-glibcs.py (Context.checkout): Default
1577 binutils version to 2.32 branch.
1579 2019-01-21 Florian Weimer <fweimer@redhat.com>
1583 resolv: Reject trailing characters in host names
1584 * include/arpa/inet.h (__inet_aton_exact): Declare.
1585 (inet_aton): Remove hidden prototype. No longer used internally.
1586 * nscd/gai.c (__inet_aton): Do not define.
1587 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
1588 * nss/digits_dots.c (__inet_aton): Likewise.
1589 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
1590 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
1591 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
1592 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
1593 (tst-resolv-trailing): Likewise.
1594 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
1596 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
1597 Make static. Add endp parameter.
1598 (__inet_aton_exact): New function.
1599 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
1600 (__inet_addr): Call inet_aton_end.
1601 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
1602 not just IPv6. Call __inet_aton_exact.
1603 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
1604 (tests): Make const. Add additional test cases with trailing
1606 (do_test): Use array_length.
1607 * resolv/tst-inet_aton_exact.c: New file.
1608 * resolv/tst-resolv-trailing.c: Likewise.
1609 * resolv/tst-resolv-nondecimal.c: Likewise.
1610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
1612 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1616 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
1617 Clear the upper 32 bits of RSI register.
1618 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
1619 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
1620 and tst-size_t-wcsnlen.
1621 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
1622 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
1624 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1628 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
1629 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1630 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1631 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
1632 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
1634 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1638 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
1639 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1640 * sysdeps/x86_64/strcmp.S: Likewise.
1641 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
1642 tst-size_t-strncmp and tst-size_t-wcsncmp.
1643 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
1644 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
1645 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
1647 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1651 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
1652 RDX_LP for length. Clear the upper 32 bits of RDX register.
1653 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
1654 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
1655 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
1656 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
1658 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1662 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
1663 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
1664 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
1665 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
1667 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1671 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
1672 length. Clear the upper 32 bits of RDX register.
1673 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1674 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1676 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1678 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
1680 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
1682 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1686 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
1687 length. Clear the upper 32 bits of RDX register.
1688 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1689 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1690 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
1692 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
1693 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
1695 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1699 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
1700 upper 32 bits of RDX register.
1701 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1702 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
1704 * sysdeps/x86_64/x32/test-size_t.h: New file.
1705 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
1706 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
1708 2019-01-18 Florian Weimer <fweimer@redhat.com>
1711 resolv: Do not send queries for non-host-names in nss_dns.
1712 * resolv/nss_dns/dns-host.c (check_name): New function.
1713 (_nss_dns_gethostbyname2_r): Use it.
1714 (_nss_dns_gethostbyname_r): Likewise.
1715 (_nss_dns_gethostbyname4_r): Likewise.
1717 2019-01-21 Florian Weimer <fweimer@redhat.com>
1719 * resolv/inet_addr.c: Reformat to GNU style.
1720 (__inet_addr, __inet_aton): Update comment.
1722 2019-01-18 Florian Weimer <fweimer@redhat.com>
1724 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
1725 ("malloc: Use current (C11-style) atomics for fastbin access").
1726 This commit introduces a substantial performance regression on
1728 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
1729 (REMOVE_FB): Define.
1730 (_int_malloc): Use it and reindent.
1731 (_int_free): Use CAS loop with
1732 catomic_compare_and_exchange_val_rel.
1733 (malloc_consolidate): Use atomic_exchange_acq.
1736 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
1738 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
1740 (LDFLAGS-tst-minsigstksz-2): Likewise.
1741 (LDFLAGS-tst-minsigstksz-3): Likewise.
1742 (LDFLAGS-tst-minsigstksz-3a): Likewise.
1743 (LDFLAGS-tst-minsigstksz-4): Likewise.
1745 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
1747 * manual/time.texi (strftime): Fix the wording to "alternative" rather
1750 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
1752 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
1754 2019-01-16 Zack Weinberg <zackw@panix.com>
1756 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
1757 (xget_sigstack_location): New test support functions.
1758 * support/xsigstack.c: New file, implementing them.
1759 * support/tst-xsigstack.c: New test for them.
1760 * support/Makefile: Update.
1762 * signal/tst-minsigstksz-1.c
1763 * signal/tst-minsigstksz-2.c
1764 * signal/tst-minsigstksz-3.c
1765 * signal/tst-minsigstksz-3a.c
1766 * signal/tst-minsigstksz-4.c: New tests.
1767 * signal/Makefile: Run them.
1769 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
1771 * po/libc.pot: Regenerate.
1773 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1775 * math/libm-test-fma.inc (fma_test_data): Set
1776 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
1778 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1780 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
1781 (do_test): Changed __vector __int128_t to __vector unsigned int.
1783 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1785 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1786 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
1787 stpcpy-avx2 and stpncpy-avx2.
1788 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
1789 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
1790 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
1792 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
1793 ifunc-strcpy.h}: rename header for a more generic name.
1794 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
1795 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
1796 AVX unaligned load is fast and vzeroupper is preferred.
1797 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
1798 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
1799 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
1800 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
1801 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
1802 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
1804 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
1806 * argp/argp-help.c: Fix typo in comment.
1807 * misc/sys/cdefs.h: Likewise.
1808 * posix/regexec.c (sift_states_iter_mb): Likewise.
1809 * socket/sockatmark.c: Likewise.
1810 * socket/sys/socket.h: Likewise.
1811 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1812 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1813 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1814 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1815 * sysdeps/unix/sockatmark.c: Likewise.
1816 * time/strptime_l.c: Likewise.
1818 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1820 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
1821 missing space after the cast of "_NL_CURRENT".
1823 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1825 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
1826 ifdef to fix read of VSCR.
1827 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
1828 tst-ucontext-ppc64-vscr.c to test list.
1829 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
1831 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
1833 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
1836 2019-01-09 Jim Wilson <jimw@sifive.com>
1838 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
1840 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
1842 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
1843 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
1844 __memcpy_falkor for ares.
1845 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
1847 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1850 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
1853 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1854 4_FP_W_TYPEs are used for IEEE quad precision.
1855 * soft-fp/extendhftf2.c: Likewise.
1856 * soft-fp/extendsftf2.c: Likewise.
1857 * soft-fp/extendxftf2.c: Likewise.
1858 * soft-fp/trunctfdf2.c: Likewise.
1859 * soft-fp/trunctfhf2.c: Likewise.
1860 * soft-fp/trunctfsf2.c: Likewise.
1861 * soft-fp/trunctfxf2.c: Likewise.
1862 * sysdeps/alpha/ots_cvttx.c: Likewise.
1863 * sysdeps/alpha/ots_cvtxt.c: Likewise.
1864 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
1865 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
1866 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
1867 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
1868 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
1869 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
1870 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
1871 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
1872 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
1873 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
1874 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
1875 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
1876 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
1877 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
1878 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
1879 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
1881 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1884 * Makeconfig: Build libm with -fno-math-errno but build the remaining
1885 code with -fmath-errno.
1886 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
1887 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
1888 * string/test-strerror-errno.c: New file.
1890 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1893 * localedata/locales/en_US (date_fmt): Add, set to
1894 "%a %d %b %Y %r %Z".
1896 2019-01-07 Florian Weimer <fweimer@redhat.com>
1899 * manual/arith.texi (Math Error Reporting): Use @code{errno}
1900 instead of @var{errno}.
1901 (Parsing of Integers): Likewise.
1902 (Parsing of Floats): Likewise.
1903 * manual/filesys.texi (Working with Directory Trees): Likewise.
1904 (Temporary Files): Likewise.
1905 * manual/job.texi (Terminal Access Functions): Likewise.
1906 * manual/llio.texi (Synchronizing I/O): Likewise.
1907 * manual/math.texi (SVID Random): Likewise.
1908 * manual/message.texi (The catgets Functions): Likewise.
1909 (Translation with gettext): Likewise.
1910 (Locating gettext catalog): Likewise.
1911 (Charset conversion in gettext): Likewise.
1912 * manual/nss.texi (NSS Module Function Internals): Likewise.
1913 * manual/search.texi (Hash Search Function): Likewise.
1914 * manual/setjmp.texi (System V contexts): Likewise.
1915 * manual/time.texi (Sleeping): Likewise.
1916 * manual/users.texi (Lookup User): Likewise.
1917 (Lookup Group): Likewise.
1919 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1921 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
1924 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
1927 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
1928 __builtin_unreachable for default case in switch.
1929 (__ieee754_yn): Likewise.
1930 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1931 (__ieee754_ynl): Likewise.
1932 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1933 (__ieee754_ynl): Likewise.
1934 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1935 (__ieee754_ynl): Likewise.
1937 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1939 * manual/maint.texi: Use @{ and @}.
1941 2019-01-04 Florian Weimer <fweimer@redhat.com>
1943 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
1945 (do_in_chroot_1): Call it.
1947 Improve error reporting in case it is not possible to create a
1948 collision for the PTY name required by the test.
1950 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1952 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
1953 lll_wait_tid with timeout.
1954 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
1955 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
1956 futex_reltimed_wait_cancelable for cancelabla mode.
1957 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
1958 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
1960 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
1961 * sysdeps/posix/waitid.c (__sigwait): Likewise.
1962 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
1963 SYSCALL_CANCEL_NCS): New macro.
1964 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
1965 (lll_timedwait_tid): Remove macro.
1966 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
1968 (lll_timedwait_tid): Likewise.
1969 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
1971 (lll_timedwait_tid): Likewise.
1972 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
1974 (lll_timedwait_tid): Likewise.
1975 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
1976 Use INTERNAL_SYSCALL_CANCEL.
1977 * sysdeps/unix/sysv/linux/futex-internal.h
1978 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
1979 instead of __pthread_{enable,disable}_asynccancel.
1980 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1981 (lll_futex_wait_cancel): New macro.
1983 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1984 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1986 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1987 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1989 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
1990 in backtrace analysis.
1991 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
1993 (tf_send): Likewise.
1995 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
1996 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
1997 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
1998 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
1999 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2000 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2001 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
2002 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
2003 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
2004 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
2005 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
2006 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
2008 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
2009 tst-cancel-wrappers.sh.
2010 (generated): Remove tst-cancel-wrappers.out.
2011 (tst-cancel-wrappers.out): Remove rule.
2012 * nptl/tst-cancel-wrappers.sh: Remove file.
2014 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
2016 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
2017 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2020 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2023 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
2024 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
2025 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
2026 close-on-exec reset for adddup2 file action.
2027 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2029 2019-01-03 Zack Weinberg <zackw@panix.com>
2031 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
2032 parameter. Only use deprecated scanf when __USE_GNU is defined
2033 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
2034 than 201103L, whichever is relevant for the language being compiled.
2036 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
2037 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
2038 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
2039 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
2040 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
2044 * libio/iovswscanf.c
2049 * stdio-common/fscanf.c
2050 * stdio-common/scanf.c
2051 * stdio-common/vfscanf.c
2052 * stdio-common/vfwscanf.c
2053 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2054 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
2055 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
2056 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
2057 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
2058 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
2059 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
2060 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
2061 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
2062 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
2063 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
2064 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
2065 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
2066 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
2067 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
2069 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
2070 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
2071 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
2073 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
2074 with a preprocessor macro.
2076 * stdio-common/bug21.c, stdio-common/scanf14.c:
2077 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
2078 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2079 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
2080 to xscanf, xfscanf, xsscanf.
2082 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
2083 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2084 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
2085 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
2087 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
2088 override feature selection macros or provide definitions of u_char etc.
2089 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
2090 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
2091 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
2094 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2096 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2097 bits/termios-misc.h.
2098 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
2099 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2100 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2101 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2102 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
2103 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
2105 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
2106 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2107 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
2108 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
2109 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
2110 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
2112 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
2113 (sysdep_headers): Add termios-misc.h.
2115 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
2116 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2117 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2119 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2121 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
2122 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
2123 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
2124 TCSAFLUSH): Move to termios-tcflow.h.
2125 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2126 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2127 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2128 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2130 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2132 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
2133 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
2134 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
2135 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
2136 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
2137 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
2138 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
2139 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
2141 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2142 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2143 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2144 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2146 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2148 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
2149 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
2150 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
2151 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
2152 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
2154 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2155 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2156 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2157 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2160 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2162 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
2163 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
2164 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
2165 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
2166 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
2167 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
2168 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
2169 __MAX_BAUD): Move to termios-baud.h.
2170 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
2171 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
2172 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2173 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2174 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2176 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2178 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
2179 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
2180 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
2181 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
2182 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
2183 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
2185 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
2186 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
2188 [USE_MISC] (XTABS): Likewise.
2189 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2190 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2191 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2192 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
2194 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2196 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
2197 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
2198 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
2199 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
2200 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
2201 IUTF8): Move to termios-c_iflag.h.
2202 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2203 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2204 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2205 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2207 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2209 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
2210 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
2211 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
2212 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
2213 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
2214 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
2215 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
2216 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
2217 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2218 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2219 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2220 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2222 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
2223 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
2224 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
2225 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
2226 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2228 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
2230 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
2232 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
2234 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
2236 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
2238 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
2239 _HAVE_C_OSPEED): Define.
2240 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
2241 _HAVE_C_OSPEED): Likewise.
2242 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
2243 _HAVE_C_OSPEED): Likewise.
2244 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
2245 (cfsetospeed): Check for define value instead of existence.
2246 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
2247 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2248 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
2249 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2250 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
2253 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
2255 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2256 (TIOCSER_TEMT): Likewise.
2257 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
2258 (TEOCSER_TEMT): Likewise.
2260 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
2263 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
2265 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2267 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2269 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2271 * sysdeps/htl/pt-barrierattr-setpshared.c
2272 (pthread_barrierattr_setpshared): Add stub warning.
2273 * sysdeps/htl/pt-condattr-setpshared.c
2274 (pthread_condattr_setpshared): Likewise.
2275 * sysdeps/htl/pt-mutexattr-setpshared.c
2276 (pthread_mutexattr_setpshared): Likewise.
2277 * sysdeps/htl/pt-rwlockattr-setpshared.c
2278 (pthread_rwlockattr_setpshared): Likewise.
2279 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
2280 (pthread_mutexattr_setpshared): Likewise.
2282 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2284 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
2285 constants to match with Linux 4.20.
2287 * sysdeps/mips/mips32/libm-test-ulps: Update.
2288 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2290 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
2293 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
2294 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
2295 than __typeof (...) for the a_ptr variable.
2297 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2299 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
2300 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
2301 * libio/Makefile (tests): Add tst-sprintf-ub and
2303 (CFLAGS-tst-sprintf-ub.c): New variable.
2304 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
2305 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
2306 destination buffer and check for overflows in fortified mode.
2307 * libio/libioP.h (PRINTF_CHK): New macro.
2308 * libio/tst-sprintf-chk-ub.c: New file.
2309 * libio/tst-sprintf-ub.c: Likewise.
2311 2019-01-02 Florian Weimer <fweimer@redhat.com>
2314 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
2317 2019-01-02 Florian Weimer <fweimer@redhat.com>
2319 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
2321 2019-01-01 Joseph Myers <joseph@codesourcery.com>
2323 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
2326 * sysdeps/unix/sysv/linux/netpacket/packet.h
2327 (PACKET_IGNORE_OUTGOING): New macro.
2329 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
2332 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2334 (riscv_flush_icache): New syscall.
2336 * manual/texinfo.tex: Update to version 2018-12-28.17 with
2337 trailing whitespace removed.
2338 * scripts/config.guess: Update to version 2019-01-01.
2339 * scripts/config.sub: Update to version 2019-01-01.
2340 * scripts/move-if-change: Update from gnulib.
2342 * NEWS: Update copyright dates.
2343 * catgets/gencat.c (print_version): Likewise.
2344 * csu/version.c (banner): Likewise.
2345 * debug/catchsegv.sh: Likewise.
2346 * debug/pcprofiledump.c (print_version): Likewise.
2347 * debug/xtrace.sh (do_version): Likewise.
2348 * elf/ldconfig.c (print_version): Likewise.
2349 * elf/ldd.bash.in: Likewise.
2350 * elf/pldd.c (print_version): Likewise.
2351 * elf/sotruss.sh: Likewise.
2352 * elf/sprof.c (print_version): Likewise.
2353 * iconv/iconv_prog.c (print_version): Likewise.
2354 * iconv/iconvconfig.c (print_version): Likewise.
2355 * locale/programs/locale.c (print_version): Likewise.
2356 * locale/programs/localedef.c (print_version): Likewise.
2357 * login/programs/pt_chown.c (print_version): Likewise.
2358 * malloc/memusage.sh (do_version): Likewise.
2359 * malloc/memusagestat.c (print_version): Likewise.
2360 * malloc/mtrace.pl: Likewise.
2361 * manual/libc.texinfo: Likewise.
2362 * nptl/version.c (banner): Likewise.
2363 * nscd/nscd.c (print_version): Likewise.
2364 * nss/getent.c (print_version): Likewise.
2365 * nss/makedb.c (print_version): Likewise.
2366 * posix/getconf.c (main): Likewise.
2367 * scripts/test-installation.pl: Likewise.
2368 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2370 * All files with FSF copyright notices: Update copyright dates
2371 using scripts/update-copyrights.
2372 * locale/programs/charmap-kw.h: Regenerated.
2373 * locale/programs/locfile-kw.h: Likewise.
2375 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2377 * timezone/zdump.c: Update from tzcode 2018i.
2378 * timezone/zic.c: Likewise.
2380 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
2382 regex: improve Gnulib port to AIX
2383 From the glibc point of view, this removes duplicate macro
2384 definitions and is obviously safe.
2385 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
2386 * posix/regex_internal.h:
2387 (__attribute__, __attribute_warn_unused_result__):
2388 Remove; already defined elsewhere.
2390 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
2393 * malloc/malloc.c (_int_realloc): Always call memcpy for the
2394 copying operation. (ncopies had the wrong type, resulting in an
2395 integer wraparound and too few elements being copied.)
2397 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
2400 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
2401 <asm/syscalls.h> exists with __has_include__ before including it.
2403 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2405 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2408 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
2410 * hurd/lookup-retry: Include <unistd.h>.
2411 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
2412 Release it on return. Handle "pid" magical lookup retry.
2414 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2417 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
2418 (t_fmt_ampm): Likewise.
2419 * localedata/locales/aa_ER (t_fmt): Likewise.
2420 (t_fmt_ampm): Likewise.
2421 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
2422 (t_fmt_ampm): Likewise.
2423 * localedata/locales/aa_ET (t_fmt): Likewise.
2424 (t_fmt_ampm): Likewise.
2425 * localedata/locales/am_ET (t_fmt): Likewise.
2426 (t_fmt_ampm): Likewise.
2427 * localedata/locales/byn_ER (t_fmt): Likewise.
2428 (t_fmt_ampm): Likewise.
2429 * localedata/locales/om_ET (t_fmt): Likewise.
2430 (t_fmt_ampm): Likewise.
2431 * localedata/locales/sid_ET (t_fmt): Likewise.
2432 (t_fmt_ampm): Likewise.
2433 * localedata/locales/so_DJ (t_fmt): Likewise.
2434 (t_fmt_ampm): Likewise.
2435 * localedata/locales/so_ET (t_fmt): Likewise.
2436 (t_fmt_ampm): Likewise.
2437 * localedata/locales/so_SO (t_fmt): Likewise.
2438 (t_fmt_ampm): Likewise.
2439 * localedata/locales/ti_ER (t_fmt): Likewise.
2440 (t_fmt_ampm): Likewise.
2441 * localedata/locales/ti_ET (t_fmt): Likewise.
2442 (t_fmt_ampm): Likewise.
2443 * localedata/locales/tig_ER (t_fmt): Likewise.
2444 (t_fmt_ampm): Likewise.
2445 * localedata/locales/wal_ET (t_fmt): Likewise.
2446 (t_fmt_ampm): Likewise.
2448 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
2449 * localedata/locales/ar_IN (t_fmt): Likewise.
2450 * localedata/locales/bhb_IN (t_fmt): Likewise.
2451 * localedata/locales/bho_IN (t_fmt): Likewise.
2452 * localedata/locales/bi_VU (t_fmt): Likewise.
2453 * localedata/locales/bn_BD (t_fmt): Likewise.
2454 * localedata/locales/bn_IN (t_fmt): Likewise.
2455 * localedata/locales/brx_IN (t_fmt): Likewise.
2456 * localedata/locales/doi_IN (t_fmt): Likewise.
2457 * localedata/locales/en_HK (t_fmt): Likewise.
2458 (t_fmt_ampm): Likewise.
2459 * localedata/locales/en_IN (t_fmt): Likewise.
2460 * localedata/locales/en_PH (t_fmt): Likewise.
2461 * localedata/locales/gu_IN (t_fmt): Likewise.
2462 * localedata/locales/hi_IN (t_fmt): Likewise.
2463 * localedata/locales/hif_FJ (t_fmt): Likewise.
2464 * localedata/locales/hne_IN (t_fmt): Likewise.
2465 * localedata/locales/kn_IN (t_fmt): Likewise.
2466 * localedata/locales/kok_IN (t_fmt): Likewise.
2467 * localedata/locales/ks_IN (t_fmt): Likewise.
2468 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
2469 * localedata/locales/mag_IN (t_fmt): Likewise.
2470 * localedata/locales/mai_IN (t_fmt): Likewise.
2471 * localedata/locales/mjw_IN (t_fmt): Likewise.
2472 * localedata/locales/ml_IN (t_fmt): Likewise.
2473 * localedata/locales/mni_IN (t_fmt): Likewise.
2474 * localedata/locales/mr_IN (t_fmt): Likewise.
2475 * localedata/locales/ms_MY (t_fmt): Likewise.
2476 * localedata/locales/pa_IN (t_fmt): Likewise.
2477 * localedata/locales/raj_IN (t_fmt): Likewise.
2478 * localedata/locales/sa_IN (t_fmt): Likewise.
2479 * localedata/locales/sat_IN (t_fmt): Likewise.
2480 * localedata/locales/sd_IN (t_fmt): Likewise.
2481 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
2482 * localedata/locales/tcy_IN (t_fmt): Likewise.
2483 * localedata/locales/the_NP (t_fmt): Likewise.
2484 * localedata/locales/to_TO (t_fmt): Likewise.
2485 * localedata/locales/ur_IN (t_fmt): Likewise.
2487 * localedata/locales/hif_FJ (d_t_fmt): Set to
2488 "%A %d %b %Y %I:%M:%S %p".
2489 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
2491 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
2492 * localedata/locales/ar_BH (t_fmt): Likewise.
2493 * localedata/locales/ar_DZ (t_fmt): Likewise.
2494 * localedata/locales/ar_EG (t_fmt): Likewise.
2495 * localedata/locales/ar_IQ (t_fmt): Likewise.
2496 * localedata/locales/ar_JO (t_fmt): Likewise.
2497 * localedata/locales/ar_KW (t_fmt): Likewise.
2498 * localedata/locales/ar_LB (t_fmt): Likewise.
2499 * localedata/locales/ar_LY (t_fmt): Likewise.
2500 * localedata/locales/ar_OM (t_fmt): Likewise.
2501 * localedata/locales/ar_QA (t_fmt): Likewise.
2502 * localedata/locales/ar_SD (t_fmt): Likewise.
2503 * localedata/locales/ar_SS (t_fmt): Likewise.
2504 * localedata/locales/ar_SY (t_fmt): Likewise.
2505 * localedata/locales/ar_TN (t_fmt): Likewise.
2506 * localedata/locales/ar_YE (t_fmt): Likewise.
2508 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
2509 (t_fmt_ampm): Likewise.
2510 * localedata/locales/gez_ET (t_fmt): Likewise.
2511 (t_fmt_ampm): Likewise.
2513 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
2514 (t_fmt_ampm): Likewise.
2515 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
2517 * localedata/locales/zh_HK (t_fmt):
2518 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
2520 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
2521 because this locale does not use the 12-hour clock.
2522 (t_fmt): Set to "%Z %H:%M:%S".
2523 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
2525 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
2526 because this locale does not use the 12-hour clock.
2527 (t_fmt): Set to "%H:%M:%S %Z".
2528 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
2530 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
2531 because this locale does not use the 12-hour clock.
2532 (t_fmt): Set to "%T".
2533 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
2534 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
2536 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
2537 because this locale does not use the 12-hour clock.
2538 (t_fmt): Set to "%H:%M:%S %Z".
2539 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
2541 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
2542 because this locale does not use the 12-hour clock.
2543 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
2544 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
2546 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2550 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
2551 (t_fmt_ampm): Likewise.
2552 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
2553 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
2554 (d_fmt): Set to "%-d.%-m.%y".
2556 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2558 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
2559 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
2560 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
2562 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2563 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
2564 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
2566 * support/blob_repeat.c (check_mul_overflow_size_t,
2567 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
2569 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
2571 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
2573 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
2575 regex: simplify Gnulib port
2576 This simplifies the code, by removing stuff intended for porting
2577 to Gnulib but no longer needed there.
2578 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
2579 uses of libc_hidden_def, weak_alias.
2580 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
2581 _Restrict_ except for public-facing headers.
2582 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
2583 Remove; already defined elsewhere.
2584 * posix/regex.c, posix/regex_internal.h:
2585 Use __GNUC_PREREQ instead of rolling our own.
2586 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
2588 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
2590 * benchtests/bench-strlen.c (generic_strlen): New function.
2591 (memchr_strlen): New function.
2593 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2595 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
2596 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2597 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
2599 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2601 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2603 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2605 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
2606 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
2607 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
2608 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
2609 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
2610 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
2611 <sysdeps/ieee754/flt-32/s_sincosf.c>.
2613 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2616 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
2617 PLT reference in libc.so.
2618 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
2619 _Q_lltoq and _Q_qtod PLT references in libc.so.
2621 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2623 * benchtests/bench-memchr.c: Cleanup defines.
2624 * benchtests/bench-memcmp.c: Likewise.
2625 * benchtests/bench-memset.c: Likewise.
2626 * benchtests/bench-memset-large.c: Likewise.
2627 * benchtests/bench-memset-walk.c: Likewise.
2628 * benchtests/bench-stpcpy.c: Likewise.
2629 * benchtests/bench-stpncpy.c: Likewise.
2630 * benchtests/bench-strcat.c: Likewise.
2631 * benchtests/bench-strchr.c: Likewise.
2632 * benchtests/bench-strcmp.c: Likewise.
2633 * benchtests/bench-strcpy.c: Likewise.
2634 * benchtests/bench-strcspn.c: Likewise.
2635 * benchtests/bench-string.h: Likewise.
2636 * benchtests/bench-strlen.c: Likewise.
2637 * benchtests/bench-strncat.c: Likewise.
2638 * benchtests/bench-strncmp.c: Likewise.
2639 * benchtests/bench-strncpy.c: Likewise.
2640 * benchtests/bench-strnlen.c: Likewise.
2641 * benchtests/bench-strpbrk.c: Likewise.
2642 * benchtests/bench-strrchr.c: Likewise.
2643 * benchtests/bench-strspn.c: Likewise.
2645 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2647 * stdlib/longlong.h: Update from GCC.
2650 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
2651 * configure: Regenerated.
2652 * manual/install.texi (Tools for Compilation): Update minimum GCC
2654 * INSTALL: Regenerated.
2656 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
2658 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
2660 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
2662 * malloc/malloc.c (mremap_chunk): Additional checks.
2664 2018-12-21 Mao Han <han_mao@c-sky.com>
2666 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
2667 * scripts/build-many-glibcs.py: Add C-SKY targets.
2668 * sysdeps/csky/Implies: New file.
2669 * sysdeps/csky/Makefile: Likewise.
2670 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
2671 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
2672 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
2673 * sysdeps/csky/abiv2/memcmp.S: Likewise.
2674 * sysdeps/csky/abiv2/memcpy.S: Likewise.
2675 * sysdeps/csky/abiv2/memmove.S: Likewise.
2676 * sysdeps/csky/abiv2/memset.S: Likewise.
2677 * sysdeps/csky/abiv2/setjmp.S: Likewise.
2678 * sysdeps/csky/abiv2/start.S: Likewise.
2679 * sysdeps/csky/abiv2/strcmp.S: Likewise.
2680 * sysdeps/csky/abiv2/strcpy.S: Likewise.
2681 * sysdeps/csky/abiv2/strlen.S: Likewise.
2682 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
2683 * sysdeps/csky/abort-instr.h: Likewise.
2684 * sysdeps/csky/atomic-machine.h: Likewise.
2685 * sysdeps/csky/bits/endian.h: Likewise.
2686 * sysdeps/csky/bits/fenv.h: Likewise.
2687 * sysdeps/csky/bits/link.h: Likewise.
2688 * sysdeps/csky/bits/setjmp.h: Likewise.
2689 * sysdeps/csky/bsd-_setjmp.S: Likewise.
2690 * sysdeps/csky/bsd-setjmp.S: Likewise.
2691 * sysdeps/csky/configure: Likewise.
2692 * sysdeps/csky/configure.ac: Likewise.
2693 * sysdeps/csky/dl-machine.h: Likewise.
2694 * sysdeps/csky/dl-procinfo.c: Likewise.
2695 * sysdeps/csky/dl-procinfo.h: Likewise.
2696 * sysdeps/csky/dl-sysdep.h: Likewise.
2697 * sysdeps/csky/dl-tls.h: Likewise.
2698 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
2699 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
2700 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
2701 * sysdeps/csky/fpu/fegetenv.c: Likewise.
2702 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
2703 * sysdeps/csky/fpu/fegetmode.c: Likewise.
2704 * sysdeps/csky/fpu/fegetround.c: Likewise.
2705 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
2706 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
2707 * sysdeps/csky/fpu/fenv_private.h: Likewise.
2708 * sysdeps/csky/fpu/fesetenv.c: Likewise.
2709 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
2710 * sysdeps/csky/fpu/fesetmode.c: Likewise.
2711 * sysdeps/csky/fpu/fesetround.c: Likewise.
2712 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
2713 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
2714 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
2715 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
2716 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
2717 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
2718 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
2719 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
2720 * sysdeps/csky/fpu_control.h: Likewise.
2721 * sysdeps/csky/gccframe.h: Likewise.
2722 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
2723 * sysdeps/csky/ldsodefs.h: Likewise.
2724 * sysdeps/csky/libc-tls.c: Likewise.
2725 * sysdeps/csky/linkmap.h: Likewise.
2726 * sysdeps/csky/machine-gmon.h: Likewise.
2727 * sysdeps/csky/memusage.h: Likewise.
2728 * sysdeps/csky/nofpu/Implies: Likewise.
2729 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
2730 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
2731 * sysdeps/csky/nptl/Makefile: Likewise.
2732 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
2733 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
2734 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
2735 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
2736 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
2737 * sysdeps/csky/nptl/tls.h: Likewise.
2738 * sysdeps/csky/preconfigure: Likewise.
2739 * sysdeps/csky/sfp-machine.h: Likewise.
2740 * sysdeps/csky/sotruss-lib.c: Likewise.
2741 * sysdeps/csky/stackinfo.h: Likewise.
2742 * sysdeps/csky/sysdep.h: Likewise.
2743 * sysdeps/csky/tininess.h: Likewise.
2744 * sysdeps/csky/tst-audit.h: Likewise.
2745 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
2746 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
2747 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
2748 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
2749 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2750 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
2751 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2752 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
2753 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
2754 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
2755 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
2756 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
2757 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
2758 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
2759 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
2760 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
2761 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
2762 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
2763 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
2764 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
2765 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
2766 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
2767 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
2768 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2769 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
2770 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
2771 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
2772 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
2773 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
2774 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
2775 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
2776 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
2777 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
2778 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
2779 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
2780 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2781 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
2782 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
2783 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
2784 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
2785 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
2786 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
2787 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
2788 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
2790 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2792 * include/time.h (__difftime64): Add.
2793 * time/difftime.c (subtract): convert to 64-bit time.
2794 * time/difftime.c (__difftime64): Add.
2795 * time/difftime.c (__difftime): Wrap around __difftime64.
2797 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2799 * manual/examples/add.c: Remove redundant "if not".
2800 * manual/examples/argp-ex1.c: Likewise.
2801 * manual/examples/argp-ex2.c: Likewise.
2802 * manual/examples/argp-ex3.c: Likewise.
2803 * manual/examples/argp-ex4.c: Likewise.
2804 * manual/examples/atexit.c: Likewise.
2805 * manual/examples/db.c: Likewise.
2806 * manual/examples/dir.c: Likewise.
2807 * manual/examples/dir2.c: Likewise.
2808 * manual/examples/execinfo.c: Likewise.
2809 * manual/examples/filecli.c: Likewise.
2810 * manual/examples/filesrv.c: Likewise.
2811 * manual/examples/fmtmsgexpl.c: Likewise.
2812 * manual/examples/genpass.c: Likewise.
2813 * manual/examples/inetcli.c: Likewise.
2814 * manual/examples/inetsrv.c: Likewise.
2815 * manual/examples/isockad.c: Likewise.
2816 * manual/examples/longopt.c: Likewise.
2817 * manual/examples/memopen.c: Likewise.
2818 * manual/examples/memstrm.c: Likewise.
2819 * manual/examples/mkdirent.c: Likewise.
2820 * manual/examples/mkfsock.c: Likewise.
2821 * manual/examples/mkisock.c: Likewise.
2822 * manual/examples/mygetpass.c: Likewise.
2823 * manual/examples/pipe.c: Likewise.
2824 * manual/examples/popen.c: Likewise.
2825 * manual/examples/rprintf.c: Likewise.
2826 * manual/examples/search.c: Likewise.
2827 * manual/examples/select.c: Likewise.
2828 * manual/examples/setjmp.c: Likewise.
2829 * manual/examples/sigh1.c: Likewise.
2830 * manual/examples/sigusr.c: Likewise.
2831 * manual/examples/stpcpy.c: Likewise.
2832 * manual/examples/strdupa.c: Likewise.
2833 * manual/examples/strftim.c: Likewise.
2834 * manual/examples/subopt.c: Likewise.
2835 * manual/examples/swapcontext.c: Likewise.
2836 * manual/examples/termios.c: Likewise.
2837 * manual/examples/testopt.c: Likewise.
2838 * manual/examples/testpass.c: Likewise.
2839 * manual/examples/timeval_subtract.c: Likewise.
2841 2018-12-19 Joseph Myers <joseph@codesourcery.com>
2843 * sysdeps/x86/fpu/math_private.h: New file.
2844 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
2846 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
2851 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2853 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
2854 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
2855 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
2856 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
2858 (_dl_show_auxv): Give a special treatment to
2859 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
2860 and AT_L3_CACHEGEOMETRY.
2861 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
2862 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
2863 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
2864 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
2866 2018-12-19 Andreas Schwab <schwab@suse.de>
2868 * nscd/connections.c (check_use): Don't abort on invalid len.
2870 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
2872 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
2873 values in the 64bit value cases.
2875 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2881 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
2887 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
2890 (__gmtime64_r): Add.
2892 (__gmtime64_r): Add.
2893 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2899 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2902 (__localtime64_r): Add.
2904 (__localtime64_r): Add.
2905 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
2907 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2909 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
2910 kernel_sigction definition.
2912 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
2914 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
2916 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
2917 __syscall_rt_sigaction.
2918 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
2919 (kernel_sigaction): Use Linux generic defintion.
2921 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
2922 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
2923 (__syscall_rt_sigaction): Remove implementation.
2924 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
2926 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
2927 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
2928 INTERNAL_SYSCALL): Remove definitions.
2929 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
2930 action and signal set size.
2931 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
2932 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
2934 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2935 James Clarke <jrtc27@jrtc27.com>
2938 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
2939 Define if SA_RESTORER is defined.
2940 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
2941 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
2943 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
2944 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
2946 (HAS_SA_RESTORER): Define.
2947 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
2948 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
2949 (HAS_SA_RESTORER): Define.
2950 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
2951 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
2952 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
2953 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
2954 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2956 2018-12-18 Joseph Myers <joseph@codesourcery.com>
2958 * sysdeps/unix/sysv/linux/kernel-features.h
2959 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
2960 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2961 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
2962 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2963 (__ASSUME_ST_INO_64_BIT): Likewise.
2964 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2965 <kernel-features.h>.
2966 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2967 Remove conditional code.
2968 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2969 <kernel-features.h>.
2970 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2971 Remove conditional code.
2972 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
2973 <kernel-features.h>.
2974 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2975 Remove conditional code.
2976 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
2977 <kernel-features.h>.
2978 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
2979 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
2981 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2983 * sysdeps/s390/multiarch/ifunc-resolve.h
2984 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
2985 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
2986 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
2987 Delete macro definition.
2988 (s390_libc_ifunc_init): Rename to
2989 s390_libc_ifunc_expr_stfle_init.
2990 * sysdeps/s390/bzero: Use
2991 s390_libc_ifunc_expr_stfle_init instead of
2992 s390_libc_ifunc_init.
2993 * sysdeps/s390/memcmp.c: Likewise.
2994 * sysdeps/s390/memcpy.c: Likewise.
2995 * sysdeps/s390/mempcpy.c: Likewise.
2996 * sysdeps/s390/memset.c: Likewise.
2998 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3000 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
3001 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
3003 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3005 * sysdeps/s390/multiarch/Makefile
3006 (sysdep_routines): Remove wmemcmp variants.
3007 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
3008 * sysdeps/s390/multiarch/ifunc-impl-list.c
3009 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
3010 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
3011 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
3012 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
3013 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
3014 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
3015 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
3016 * sysdeps/s390/ifunc-wmemcmp.h: New file.
3018 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3020 * sysdeps/s390/multiarch/Makefile
3021 (sysdep_routines): Remove wmemset variants.
3022 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
3023 * sysdeps/s390/multiarch/ifunc-impl-list.c
3024 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
3025 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
3026 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
3027 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
3028 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
3029 * sysdeps/s390/multiarch/wmemset.c: Move to ...
3030 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
3031 * sysdeps/s390/ifunc-wmemset.h: New file.
3033 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3035 * sysdeps/s390/multiarch/Makefile
3036 (sysdep_routines): Remove wmemchr variants.
3037 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
3038 * sysdeps/s390/multiarch/ifunc-impl-list.c
3039 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
3040 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
3041 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
3042 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
3043 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
3044 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
3045 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
3046 * sysdeps/s390/ifunc-wmemchr.h: New file.
3048 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3050 * sysdeps/s390/multiarch/Makefile
3051 (sysdep_routines): Remove wcscspn variants.
3052 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
3053 * sysdeps/s390/multiarch/ifunc-impl-list.c
3054 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
3055 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
3056 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
3057 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
3058 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
3059 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
3060 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
3061 * sysdeps/s390/ifunc-wcscspn.h: New file.
3063 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3065 * sysdeps/s390/multiarch/Makefile
3066 (sysdep_routines): Remove wcspbrk variants.
3067 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
3068 * sysdeps/s390/multiarch/ifunc-impl-list.c
3069 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
3070 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
3071 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
3072 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
3073 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
3074 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
3075 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
3076 * sysdeps/s390/ifunc-wcspbrk.h: New file.
3078 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3080 * sysdeps/s390/multiarch/Makefile
3081 (sysdep_routines): Remove wcsspn variants.
3082 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
3083 * sysdeps/s390/multiarch/ifunc-impl-list.c
3084 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
3085 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
3086 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
3087 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
3088 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
3089 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
3090 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
3091 * sysdeps/s390/ifunc-wcsspn.h: New file.
3093 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3095 * sysdeps/s390/multiarch/Makefile
3096 (sysdep_routines): Remove wcsrchr variants.
3097 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
3098 * sysdeps/s390/multiarch/ifunc-impl-list.c
3099 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
3100 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
3101 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
3102 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
3103 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
3104 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
3105 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
3106 * sysdeps/s390/ifunc-wcsrchr.h: New file.
3108 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3110 * sysdeps/s390/multiarch/Makefile
3111 (sysdep_routines): Remove wcschrnul variants.
3112 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
3113 * sysdeps/s390/multiarch/ifunc-impl-list.c
3114 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
3115 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
3116 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
3117 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
3118 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
3119 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
3120 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
3121 * sysdeps/s390/ifunc-wcschrnul.h: New file.
3123 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3125 * sysdeps/s390/multiarch/Makefile
3126 (sysdep_routines): Remove wcschr variants.
3127 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
3128 * sysdeps/s390/multiarch/ifunc-impl-list.c
3129 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
3130 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
3131 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
3132 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
3133 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
3134 * sysdeps/s390/multiarch/wcschr.c: Move to ...
3135 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
3136 * sysdeps/s390/ifunc-wcschr.h: New file.
3138 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3140 * sysdeps/s390/multiarch/Makefile
3141 (sysdep_routines): Remove wcsncmp variants.
3142 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
3143 * sysdeps/s390/multiarch/ifunc-impl-list.c
3144 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
3145 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
3146 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
3147 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
3148 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
3149 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
3150 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
3151 * sysdeps/s390/ifunc-wcsncmp.h: New file.
3153 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3155 * sysdeps/s390/multiarch/Makefile
3156 (sysdep_routines): Remove wcscmp variants.
3157 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
3158 * sysdeps/s390/multiarch/ifunc-impl-list.c
3159 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
3160 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
3161 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
3162 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
3163 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
3164 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
3165 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
3166 * sysdeps/s390/ifunc-wcscmp.h: New file.
3168 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3170 * sysdeps/s390/multiarch/Makefile
3171 (sysdep_routines): Remove wcsncat variants.
3172 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
3173 * sysdeps/s390/multiarch/ifunc-impl-list.c
3174 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
3175 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
3176 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
3177 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
3178 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
3179 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
3180 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
3181 * sysdeps/s390/ifunc-wcsncat.h: New file.
3183 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3185 * sysdeps/s390/multiarch/Makefile
3186 (sysdep_routines): Remove wcscat variants.
3187 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
3188 * sysdeps/s390/multiarch/ifunc-impl-list.c
3189 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
3190 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
3191 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
3192 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
3193 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
3194 * sysdeps/s390/multiarch/wcscat.c: Move to ...
3195 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
3196 * sysdeps/s390/ifunc-wcscat.h: New file.
3198 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3200 * sysdeps/s390/multiarch/Makefile
3201 (sysdep_routines): Remove wcpncpy variants.
3202 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
3203 * sysdeps/s390/multiarch/ifunc-impl-list.c
3204 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
3205 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
3206 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
3207 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
3208 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
3209 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
3210 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
3211 * sysdeps/s390/ifunc-wcpncpy.h: New file.
3213 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3215 * sysdeps/s390/multiarch/Makefile
3216 (sysdep_routines): Remove wcsncpy variants.
3217 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
3218 * sysdeps/s390/multiarch/ifunc-impl-list.c
3219 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
3220 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
3221 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
3222 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
3223 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
3224 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
3225 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
3226 * sysdeps/s390/ifunc-wcsncpy.h: New file.
3228 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3230 * sysdeps/s390/multiarch/Makefile
3231 (sysdep_routines): Remove wcpcpy variants.
3232 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
3233 * sysdeps/s390/multiarch/ifunc-impl-list.c
3234 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
3235 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
3236 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
3237 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
3238 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
3239 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
3240 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
3241 * sysdeps/s390/ifunc-wcpcpy.h: New file.
3243 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3245 * sysdeps/s390/multiarch/Makefile
3246 (sysdep_routines): Remove wcscpy variants.
3247 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
3248 * sysdeps/s390/multiarch/ifunc-impl-list.c
3249 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
3250 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
3251 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
3252 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
3253 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
3254 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
3255 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
3256 * sysdeps/s390/ifunc-wcscpy.h: New file.
3258 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3260 * sysdeps/s390/multiarch/Makefile
3261 (sysdep_routines): Remove wcsnlen variants.
3262 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
3263 * sysdeps/s390/multiarch/ifunc-impl-list.c
3264 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
3265 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
3266 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
3267 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
3268 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
3269 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
3270 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
3271 * sysdeps/s390/ifunc-wcsnlen.h: New file.
3273 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3275 * sysdeps/s390/multiarch/Makefile
3276 (sysdep_routines): Remove wcslen variants.
3277 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
3278 * sysdeps/s390/multiarch/ifunc-impl-list.c
3279 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
3280 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
3281 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
3282 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
3283 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
3284 * sysdeps/s390/multiarch/wcslen.c: Move to ...
3285 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
3286 * sysdeps/s390/ifunc-wcslen.h: New file.
3288 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3290 * sysdeps/s390/multiarch/Makefile
3291 (sysdep_routines): Remove memrchr variants.
3292 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
3293 * sysdeps/s390/multiarch/ifunc-impl-list.c
3294 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
3295 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
3296 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
3297 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
3298 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
3299 * sysdeps/s390/multiarch/memrchr.c: Move to ...
3300 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
3301 * sysdeps/s390/ifunc-memrchr.h: New file.
3303 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3305 * sysdeps/s390/multiarch/Makefile
3306 (sysdep_routines): Remove memccpy variants.
3307 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
3308 * sysdeps/s390/multiarch/ifunc-impl-list.c
3309 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
3310 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
3311 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
3312 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
3313 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
3314 * sysdeps/s390/multiarch/memccpy.c: Move to ...
3315 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
3316 * sysdeps/s390/ifunc-memccpy.h: New file.
3318 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3320 * sysdeps/s390/multiarch/Makefile
3321 (sysdep_routines): Remove rawmemchr variants.
3322 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
3323 * sysdeps/s390/multiarch/ifunc-impl-list.c
3324 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
3325 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
3326 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
3327 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
3328 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
3329 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
3330 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
3331 * sysdeps/s390/ifunc-rawmemchr.h: New file.
3333 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3335 * sysdeps/s390/multiarch/Makefile
3336 (sysdep_routines): Remove memchr variants.
3337 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
3338 * sysdeps/s390/multiarch/ifunc-impl-list.c
3339 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
3340 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
3341 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
3342 * sysdeps/s390/multiarch/memchr.c: Move to ...
3343 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
3344 * sysdeps/s390/ifunc-memchr.h: New file.
3345 * sysdeps/s390/s390-64/memchr.S: Move to ...
3346 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
3347 for 31/64bit and ifunc handling.
3348 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
3349 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
3350 * sysdeps/s390/s390-32/memchr.S: Likewise.
3352 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3354 * sysdeps/s390/multiarch/Makefile
3355 (sysdep_routines): Remove strcspn variants.
3356 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
3357 * sysdeps/s390/multiarch/ifunc-impl-list.c
3358 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
3359 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
3360 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
3361 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
3362 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
3363 * sysdeps/s390/multiarch/strcspn.c: Move to ...
3364 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
3365 * sysdeps/s390/ifunc-strcspn.h: New file.
3367 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3369 * sysdeps/s390/multiarch/Makefile
3370 (sysdep_routines): Remove strpbrk variants.
3371 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
3372 * sysdeps/s390/multiarch/ifunc-impl-list.c
3373 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
3374 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
3375 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
3376 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
3377 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
3378 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
3379 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
3380 * sysdeps/s390/ifunc-strpbrk.h: New file.
3382 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3384 * sysdeps/s390/multiarch/Makefile
3385 (sysdep_routines): Remove strspn variants.
3386 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
3387 * sysdeps/s390/multiarch/ifunc-impl-list.c
3388 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
3389 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
3390 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
3391 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
3392 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
3393 * sysdeps/s390/multiarch/strspn.c: Move to ...
3394 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
3395 * sysdeps/s390/ifunc-strspn.h: New file.
3397 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3399 * sysdeps/s390/multiarch/Makefile
3400 (sysdep_routines): Remove strrchr variants.
3401 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
3402 * sysdeps/s390/multiarch/ifunc-impl-list.c
3403 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
3404 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
3405 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
3406 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
3407 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
3408 * sysdeps/s390/multiarch/strrchr.c: Move to ...
3409 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
3410 * sysdeps/s390/ifunc-strrchr.h: New file.
3412 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3414 * sysdeps/s390/multiarch/Makefile
3415 (sysdep_routines): Remove strchrnul variants.
3416 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
3417 * sysdeps/s390/multiarch/ifunc-impl-list.c
3418 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
3419 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
3420 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
3421 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
3422 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
3423 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
3424 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
3425 * sysdeps/s390/ifunc-strchrnul.h: New file.
3427 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3429 * sysdeps/s390/multiarch/Makefile
3430 (sysdep_routines): Remove strchr variants.
3431 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
3432 * sysdeps/s390/multiarch/ifunc-impl-list.c
3433 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
3434 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
3435 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
3436 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
3437 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
3438 * sysdeps/s390/multiarch/strchr.c: Move to ...
3439 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
3440 * sysdeps/s390/ifunc-strchr.h: New file.
3442 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3444 * sysdeps/s390/multiarch/Makefile
3445 (sysdep_routines): Remove strncmp variants.
3446 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
3447 * sysdeps/s390/multiarch/ifunc-impl-list.c
3448 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
3449 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
3450 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
3451 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
3452 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
3453 * sysdeps/s390/multiarch/strncmp.c: Move to ...
3454 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
3455 * sysdeps/s390/ifunc-strncmp.h: New file.
3457 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3459 * sysdeps/s390/multiarch/Makefile
3460 (sysdep_routines): Remove strcmp variants.
3461 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
3462 * sysdeps/s390/multiarch/ifunc-impl-list.c
3463 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
3464 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
3465 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
3466 * sysdeps/s390/multiarch/strcmp.c: Move to ...
3467 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
3468 * sysdeps/s390/ifunc-strcmp.h: New file.
3469 * sysdeps/s390/s390-64/strcmp.S: Move to ...
3470 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
3471 for 31/64bit and ifunc handling.
3472 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
3473 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3474 * sysdeps/s390/s390-32/strcmp.S: Likewise.
3476 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3478 * sysdeps/s390/multiarch/Makefile
3479 (sysdep_routines): Remove strncat variants.
3480 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
3481 * sysdeps/s390/multiarch/ifunc-impl-list.c
3482 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
3483 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
3484 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
3485 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
3486 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
3487 * sysdeps/s390/multiarch/strncat.c: Move to ...
3488 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
3489 * sysdeps/s390/ifunc-strncat.h: New file.
3491 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3493 * sysdeps/s390/multiarch/Makefile
3494 (sysdep_routines): Remove strcat variants.
3495 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
3496 * sysdeps/s390/multiarch/ifunc-impl-list.c
3497 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
3498 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
3499 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
3500 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
3501 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
3502 * sysdeps/s390/multiarch/strcat.c: Move to ...
3503 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
3504 * sysdeps/s390/ifunc-strcat.h: New file.
3506 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3508 * sysdeps/s390/multiarch/Makefile
3509 (sysdep_routines): Remove stpncpy variants.
3510 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
3511 * sysdeps/s390/multiarch/ifunc-impl-list.c
3512 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
3513 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
3514 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
3515 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
3516 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
3517 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
3518 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
3519 * sysdeps/s390/ifunc-stpncpy.h: New file.
3521 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3523 * sysdeps/s390/multiarch/Makefile
3524 (sysdep_routines): Remove strncpy variants.
3525 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
3526 * sysdeps/s390/multiarch/ifunc-impl-list.c
3527 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
3528 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
3529 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
3530 * sysdeps/s390/multiarch/strncpy.c: Move to ...
3531 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
3532 * sysdeps/s390/ifunc-strncpy.h: New file.
3533 * sysdeps/s390/s390-64/strncpy.S: Move to ...
3534 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
3535 and adjust ifunc handling.
3536 * sysdeps/s390/s390-32/strncpy.S: Move to ...
3537 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
3538 and adjust ifunc handling.
3539 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
3540 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3542 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3544 * sysdeps/s390/multiarch/Makefile
3545 (sysdep_routines): Remove stpcpy variants.
3546 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
3547 * sysdeps/s390/multiarch/ifunc-impl-list.c
3548 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
3549 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
3550 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
3551 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
3552 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
3553 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
3554 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
3555 * sysdeps/s390/ifunc-stpcpy.h: New file.
3557 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3559 * sysdeps/s390/multiarch/Makefile
3560 (sysdep_routines): Remove strcpy variants.
3561 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
3562 * sysdeps/s390/multiarch/ifunc-impl-list.c
3563 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
3564 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
3565 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
3566 * sysdeps/s390/multiarch/strcpy.c: Move to ...
3567 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
3568 * sysdeps/s390/ifunc-strcpy.h: New file.
3569 * sysdeps/s390/s390-64/strcpy.S: Move to ...
3570 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
3571 for 31/64bit and ifunc handling.
3572 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
3573 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3574 * sysdeps/s390/s390-32/strcpy.S: Likewise.
3576 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3578 * sysdeps/s390/multiarch/Makefile
3579 (sysdep_routines): Remove strnlen variants.
3580 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
3581 * sysdeps/s390/multiarch/ifunc-impl-list.c
3582 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
3583 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
3584 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
3585 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
3586 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
3587 * sysdeps/s390/multiarch/strnlen.c: Move to ...
3588 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
3589 * sysdeps/s390/ifunc-strnlen.h: New file.
3591 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3593 * sysdeps/s390/multiarch/Makefile
3594 (sysdep_routines): Remove strlen variants.
3595 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
3596 * sysdeps/s390/multiarch/ifunc-impl-list.c
3597 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
3598 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
3599 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
3600 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
3601 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
3602 * sysdeps/s390/multiarch/strlen.c: Move to ...
3603 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
3604 * sysdeps/s390/ifunc-strlen.h: New file.
3606 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3608 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
3609 * sysdeps/s390/multiarch/ifunc-impl-list.c
3610 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
3611 * sysdeps/s390/ifunc-memmem.h: New file.
3612 * sysdeps/s390/memmem.c: Likewise.
3613 * sysdeps/s390/memmem-c.c: Likewise.
3614 * sysdeps/s390/memmem-vx.c: Likewise.
3616 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3618 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
3619 * sysdeps/s390/multiarch/ifunc-impl-list.c
3620 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
3621 * sysdeps/s390/ifunc-strstr.h: New file.
3622 * sysdeps/s390/strstr.c: Likewise.
3623 * sysdeps/s390/strstr-c.c: Likewise.
3624 * sysdeps/s390/strstr-vx.c: Likewise.
3626 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3628 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
3629 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
3630 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
3631 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
3633 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
3634 * sysdeps/s390/memmove-c.c: New file.
3635 * sysdeps/s390/memmove.c: Likewise.
3636 * sysdeps/s390/multiarch/ifunc-impl-list.c
3637 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
3639 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3641 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
3642 * sysdeps/s390/configure.ac: Add check for z13 support.
3643 * sysdeps/s390/configure: Regenerated.
3645 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3647 * sysdeps/s390/memcopy.h: New file.
3649 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3651 * sysdeps/s390/s390-32/bcopy.S: Remove.
3652 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3654 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3656 * sysdeps/s390/ifunc-memcpy.h: New File.
3657 * sysdeps/s390/memcpy.S: Move to ...
3658 * sysdeps/s390/memcpy-z900.S ... here.
3659 Move implementations from memcpy-s390x.s to here.
3660 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
3661 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3662 Remove memcpy/mempcpy variants.
3663 * sysdeps/s390/Makefile (sysdep_routines):
3664 Add memcpy/mempcpy variants.
3665 * sysdeps/s390/multiarch/ifunc-impl-list.c
3666 (__libc_ifunc_impl_list): Adjust ifunc variants for
3668 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
3670 * sysdeps/s390/memcpy.c: ... here.
3671 Adjust ifunc variants for memcpy.
3672 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
3673 * sysdeps/s390/mempcpy.c: ... here.
3674 Adjust ifunc variants for mempcpy.
3675 * sysdeps/s390/mempcpy.S: Delete file.
3677 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3679 * sysdeps/s390/s390-64/memcpy.S: Move to ...
3680 * sysdeps/s390/memcpy.S: ... here.
3681 Adjust to be usable for 31/64bit.
3682 * sysdeps/s390/s390-32/memcpy.S: Delete File.
3683 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
3684 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
3685 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3686 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
3687 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
3688 Adjust to be usable for 31/64bit.
3689 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
3690 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
3691 * sysdeps/s390/multiarch/memcpy.c: ... here.
3692 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
3694 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3696 * sysdeps/s390/ifunc-memcmp.h: New File.
3697 * sysdeps/s390/memcmp.S: Move to ...
3698 * sysdeps/s390/memcmp-z900.S ... here.
3699 Move implementations from memcmp-s390x.s to here.
3700 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
3701 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3702 Remove memcmp variants.
3703 * sysdeps/s390/Makefile (sysdep_routines):
3704 Add memcmp variants.
3705 * sysdeps/s390/multiarch/ifunc-impl-list.c
3706 (__libc_ifunc_impl_list): Adjust ifunc variants for
3708 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
3710 * sysdeps/s390/memcmp.c: ... here.
3711 Adjust ifunc variants for memcmp.
3713 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3715 * sysdeps/s390/s390-64/memcmp.S: Move to ...
3716 * sysdeps/s390/memcmp.S: ... here.
3717 Adjust to be usable for 31/64bit.
3718 * sysdeps/s390/s390-32/memcmp.S: Delete File.
3719 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
3720 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3722 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3723 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
3724 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
3725 Adjust to be usable for 31/64bit.
3726 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
3727 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
3728 * sysdeps/s390/multiarch/memcmp.c: ... here.
3729 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
3731 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3733 * sysdeps/s390/s390-32/bzero.S: Delete file.
3734 * sysdeps/s390/s390-64/bzero.S: Likewise.
3735 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
3736 * sysdeps/s390/bzero.c: New file.
3737 * sysdeps/s390/memset-z900.S: Add bzero entry points.
3738 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
3739 * sysdeps/s390/multiarch/ifunc-impl-list.c
3740 (__libc_ifunc_impl_list): Add bzero ifunc variants.
3742 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3744 * sysdeps/s390/ifunc-memset.h: New File.
3745 * sysdeps/s390/memset.S: Move to ...
3746 * sysdeps/s390/memset-z900.S ... here.
3747 Move implementations from memset-s390x.s to here.
3748 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
3749 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3750 Remove memset variants.
3751 * sysdeps/s390/Makefile (sysdep_routines):
3752 Add memset variants.
3753 * sysdeps/s390/multiarch/ifunc-impl-list.c
3754 (__libc_ifunc_impl_list): Adjust ifunc variants for
3756 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
3758 * sysdeps/s390/memset.c: ... here.
3759 Adjust ifunc variants for memset.
3761 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3763 * sysdeps/s390/s390-64/memset.S: Move to ...
3764 * sysdeps/s390/memset.S: ... here.
3765 Adjust to be usable for 31/64bit.
3766 * sysdeps/s390/s390-32/memset.S: Delete File.
3767 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
3768 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3770 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3771 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
3772 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
3773 Adjust to be usable for 31/64bit.
3774 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
3775 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
3776 * sysdeps/s390/multiarch/memset.c: ... here.
3777 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
3779 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3781 * sysdeps/s390/multiarch/ifunc-resolve.h
3782 (s390_libc_ifunc_init, s390_libc_ifunc,
3783 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
3785 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3787 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
3788 * sysdeps/s390/configure.ac: Add check for z10 support.
3789 * sysdeps/s390/configure: Regenerated.
3791 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
3793 * sysdeps/i386/atomic-machine.h: Merged with ...
3794 * sysdeps/x86_64/atomic-machine.h: To ...
3795 * sysdeps/x86/atomic-machine.h: This. New file.
3797 2018-12-18 Florian Weimer <fweimer@redhat.com>
3799 Rewrite locale/gen-translit.pl in Python.
3800 * locale/Makefile (generated): Add C-translit.h.
3801 (before-compile): Add $(objpfx)C-translit.h.
3802 (C-translit.h): Move to $(objpfx). Create target directory.
3803 Build using Python script.
3804 * locale/gen-translit.py: New file.
3805 * locale/gen-translit.pl: Remove file.
3806 * locale/C-translit.h.in: Change comment character to '#' for
3807 easier parsing without a C preprocessor.
3808 * locale/C-translit.h: Remove generated file.
3809 * manual/install.texi (Tools for Compilation): Do not mention
3811 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3812 Remove locale/C-translit.h.
3813 * scripts/update-copyrights: Likewise.
3814 * INSTALL: Regenerate.
3816 2018-12-18 Florian Weimer <fweimer@redhat.com>
3819 * localedata/locales/bi_VU: Remove executable bit from file.
3821 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
3824 (__localtime64): Add.
3825 * manual/maint.texi: Document Y2038 symbol handling.
3827 (__localtime64): Add.
3828 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
3830 2018-12-17 Joseph Myers <joseph@codesourcery.com>
3832 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
3835 * scripts/glibcextract.py (compare_macro_consts): Take parameters
3836 to allow extra macros from first or second sources.
3837 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
3838 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3839 (tests-special): Add $(objpfx)tst-mman-consts.out.
3840 ($(objpfx)tst-mman-consts.out): New makefile target.
3842 2018-12-17 Mao Han <han_mao@c-sky.com>
3844 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
3845 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
3846 without stat64 system call support.
3847 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
3848 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
3849 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3850 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
3851 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
3852 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
3853 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
3854 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
3855 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
3856 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
3857 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
3859 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
3861 regex: fix storage-exhaustion error
3863 * posix/regexec.c (get_subexp):
3864 Do not continue if storage is exhausted.
3866 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
3868 regex: fix heap-use-after-free error
3870 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
3871 https://debbugs.gnu.org/32592
3872 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
3873 call extend_buffers which reallocates the re_string_t internal buffer.
3874 Local variable 'buf' was not updated in such case, resulting in
3876 * posix/regexec.c (get_subexp): Update 'buf' after call to
3879 2018-12-15 Florian Weimer <fweimer@redhat.com>
3881 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
3882 (minimum_stride_size): Use it.
3883 (support_blob_repeat_allocate): Likewise.
3885 2018-12-14 Joseph Myers <joseph@codesourcery.com>
3887 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
3892 2018-12-14 Florian Weimer <fweimer@redhat.com>
3894 * manual/process.texi (Process Creation Concepts): Remove
3895 documentation of process (ID) lifetime. List more process
3896 creation functions. Reference Process Identification section.
3897 (Process Identification): Add information about process ID
3898 lifetime. Describe Linux thread/task IDs.
3899 * manual/signal.texi (Signaling Another Process): Mention that the
3900 signal is always sent to the process.
3902 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3904 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
3905 and tst-ldbl-efgcvt.
3906 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
3907 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
3908 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
3909 (fcvt_tests, output_error, output_r_error, do_test): Use the
3910 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
3911 select the type of floating-point variables and arguments; to
3912 produce extra tests for double and conversion specifiers for
3913 printf; and to set the names of called functions.
3914 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
3915 in tst-efgcvt-template.c.
3916 * misc/tst-ldbl-efgcvt.c: Likewise.
3918 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
3920 * nss/Makefile (tst-nss-test3.out): New rule.
3922 2018-12-13 Joseph Myers <joseph@codesourcery.com>
3924 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
3927 2018-12-13 fanjinke <fanjinke@hygon.cn>
3929 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
3932 2018-12-13 Andreas Schwab <schwab@suse.de>
3935 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
3936 (__pthread_rwlock_rdlock_full): Update expected value for
3937 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
3938 * nptl/tst-rwlock-pwn.c: New file.
3939 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3941 2018-12-12 Joseph Myers <joseph@codesourcery.com>
3943 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
3946 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3948 * benchtests/scripts/compare_bench.py (do_compare): write to
3949 stderr in casestat is not present.
3950 * benchtests/scripts/compare_bench.py (plot_graphs): write to
3951 stderr in case timings field is not present. Also string showing
3952 the output filename goes into the stderr.
3954 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3956 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
3957 and ZeroDivisorError exceptions.
3958 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
3959 argument to loop through user provided statistics.
3960 * benchtests/scripts/compare_bench.py (main): Include the --stats
3963 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3965 * benchtests/scripts/compare_bench.py (compare_runs): Continue
3968 2018-12-12 Florian Weimer <fweimer@redhat.com>
3970 * sysdeps/posix/timespec_get.c: Add missing “any later version”
3971 clause to copyright header.
3973 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3976 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
3977 registers saved in the stack frame.
3978 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
3979 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
3981 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3983 * include/bits/monetary-ldbl.h: New file.
3984 * include/bits/printf-ldbl.h: Likewise.
3985 * include/bits/stdio-ldbl.h: Likewise.
3986 * include/bits/stdlib-ldbl.h: Likewise.
3987 * include/bits/syslog-ldbl.h: Likewise.
3988 * include/bits/wchar-ldbl.h: Likewise.
3990 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3992 * libio/libio.h: Remove redirection for _IO_vfprintf.
3994 2018-12-11 Andreas Schwab <schwab@suse.de>
3996 * Makerules: Remove all references to abilist-pattern.
3997 (update-all-abi): Simplify find expression.
3999 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4002 * math/auto-libm-test-in: Add new test case.
4003 * math/auto-libm-test-out-pow: Regenerated.
4004 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
4006 2018-12-10 DJ Delorie <dj@redhat.com>
4009 * support/test-container.c: Move postclean step to before we
4012 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4014 * scripts/gen-as-const.py (main): Handle --python option.
4015 * scripts/gen-py-const.awk: Remove.
4016 * Makerules (py-const-script): Use gen-as-const.py.
4017 ($(py-const)): Likewise.
4018 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
4019 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
4020 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
4021 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
4022 ~PTHREAD_MUTEX_NO_ELISION_NP.
4023 * manual/README.pretty-printers: Update reference to
4026 * scripts/glibcextract.py: New file.
4027 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
4028 or tempfile. Import glibcexctract.
4029 (compute_c_consts): Remove. Moved to glibcextract.py.
4030 (gen_test): Update reference to compute_c_consts.
4032 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
4033 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
4034 * sysdeps/unix/sysv/linux/Makefile
4035 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
4036 Redirect stderr as well as stdout.
4038 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
4041 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
4042 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
4043 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
4044 ALWAYS_USE_VSYSCALL.
4045 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
4046 ALWAYS_USE_VSYSCALL.
4047 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
4048 ALWAYS_USE_VSYSCALL.
4050 2018-12-10 Florian Weimer <fweimer@redhat.com>
4053 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
4054 offset instead of count for clarity. Fix typo in comment.
4055 (__old_getdents64): Keep track of previous offset. Use it to call
4057 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
4058 that d_off is never zero.
4060 2018-12-10 Andreas Schwab <schwab@suse.de>
4062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
4063 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
4064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
4065 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
4066 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
4068 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4070 * timezone/private.h: Update from tzcode 2018g.
4071 * timezone/tzfile.h: Likewise.
4072 * timezone/tzselect.ksh: Likewise.
4073 * timezone/zdump.c: Likewise.
4074 * timezone/zic.c: Likewise.
4076 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4079 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
4080 (do_test): Adjust buffer size and fix format.
4082 2018-12-07 DJ Delorie <dj@redhat.com>
4085 * malloc/tst-tcfree3.c: New.
4086 * malloc/Makefile: Add it.
4088 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4090 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
4092 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4094 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
4095 used as a mask for the mode argument of __vfscanf_internal and
4096 __vfwscanf_internal.
4097 * stdio-common/vfscanf-internal.c
4098 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
4099 (__strtof128_internal): Define to __wcstof128_internal.
4100 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
4101 __strtof128_internal or __wcstof128_internal when the format of
4102 long double is the same as _Float128.
4104 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
4106 * include/unistd.h (__confstr): Add prototype and hidden prototype.
4107 * posix/confstr.c (confstr): Rename to __confstr.
4108 (__confstr): Add hidden def.
4109 (confstr): Add weak alias for __confstr.
4110 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
4113 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4115 * NEWS: Mention getcpu.
4116 * include/sched.h (__getcpu): New libc_hidden_proto.
4117 * manual/resource.texi: Document getcpu.
4118 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
4119 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
4120 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
4121 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4122 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4123 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4124 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4125 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4126 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4127 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4128 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4129 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4130 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4132 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4133 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4134 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4143 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4144 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4145 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4146 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4147 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4148 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4149 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4150 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4151 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
4152 * sysdeps/unix/sysv/linux/getcpu.c: New file.
4153 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
4156 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4158 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
4160 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
4162 2018-12-07 Florian Weimer <fweimer@redhat.com>
4165 * posix/Makefile (routines): Add spawn_faction_addfchdir.
4166 * posix/Versions (GLIBC_2.29): Export
4167 posix_spawn_file_actions_addfchdir_np.
4168 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
4169 * posix/spawn_faction_destroy.c
4170 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
4171 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
4172 and the field action.fchdir_action.
4173 * posix/tst-spawn-chdir.c (add_chdir): New function.
4174 (do_test): Add do_fchdir loop. Call add_chdir.
4175 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
4176 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4177 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4178 posix_spawn_file_actions_addfchdir_np.
4179 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4181 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4183 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4184 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4186 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4188 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4190 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4192 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4194 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4196 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4197 (GLIBC_2.29): Likewise.
4198 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4199 (GLIBC_2.29): Likewise.
4200 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4201 (GLIBC_2.29): Likewise.
4202 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4203 (GLIBC_2.29): Likewise.
4204 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4207 (GLIBC_2.29): Likewise.
4208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4209 (GLIBC_2.29): Likewise.
4210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4211 (GLIBC_2.29): Likewise.
4212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4213 (GLIBC_2.29): Likewise.
4214 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4216 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4218 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4220 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4221 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4223 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4225 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4227 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4230 2018-12-06 Joseph Myers <joseph@codesourcery.com>
4232 * manual/texinfo.tex: Update to version 2018-09-21.20 with
4233 trailing whitespace removed.
4234 * scripts/config.guess: Update to version 2018-11-28.
4235 * scripts/config.sub: Update to version 2018-11-28.
4236 * scripts/install-sh: Update to version 2018-03-11.20.
4237 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
4238 * scripts/move-if-change: Update to version 2018-03-07 03:47.
4240 2018-12-07 Florian Weimer <fweimer@redhat.com>
4244 * inet/tst-if_index-long.c: New file.
4245 * inet/Makefile (tests): Add tst-if_index-long.
4247 2018-12-07 Florian Weimer <fweimer@redhat.com>
4249 * support/check.h (support_record_failure_is_failed): Declare.
4250 * support/descriptors.h: New file.
4251 * support/support_descriptors.c: Likewise.
4252 * support/tst-support_descriptors.c: Likewise.
4253 * support/support_record_failure.c
4254 (support_record_failure_is_failed): New function.
4255 * support/Makefile (libsupport-routines): Add support_descriptors.
4256 (tests): Add tst-support_descriptors.
4258 2018-12-05 Zack Weinberg <zackw@panix.com>
4259 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4261 * stdio-common/vfprintf-internal.c
4262 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
4263 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
4264 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
4265 and __no_long_double.
4266 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
4267 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
4268 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
4269 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
4270 and __nldbl_*syslog* functions.
4271 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
4272 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
4273 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
4274 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
4275 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
4276 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
4277 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
4278 (__nldbl_vwprintf, __nldbl_wprintf):
4279 Directly call the appropriate __v*printf_internal routine, passing
4280 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
4282 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
4283 (__nldbl___printf_chk, __nldbl___snprintf_chk)
4284 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
4285 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
4286 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
4287 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4288 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
4289 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
4290 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
4291 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
4292 Likewise, and also pass PRINTF_FORTIFY when appropriate.
4293 (__nldbl_syslog, __nldbl_vsyslog):
4294 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
4295 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4297 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4300 2018-12-05 Zack Weinberg <zackw@panix.com>
4301 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4304 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
4305 Moved here from debug/vsprintf_chk.c.
4306 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
4307 and completion logic for the strfile to match exactly what
4308 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
4309 _IO_str_init_static_internal instead of maxlen-1.
4310 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4311 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
4312 __vsprintf_internal.
4314 * debug/vsprintf_chk.c (__vsprintf_chk)
4315 * debug/sprintf_chk.c (__sprintf_chk):
4316 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
4317 'flags' argument is positive, and slen as maxlen. No need to lock
4318 the FILE and/or construct a temporary FILE. Minimize and normalize
4319 header inclusions and variable names. Do not libc_hidden_def anything.
4321 * debug/asprintf_chk.c (__asprintf_chk)
4322 * debug/dprintf_chk.c (__dprintf_chk)
4323 * debug/fprintf_chk.c (__fprintf_chk)
4324 * debug/fwprintf_chk.c (__fwprintf_chk)
4325 * debug/printf_chk.c (__printf_chk)
4326 * debug/snprintf_chk.c (__snprintf_chk)
4327 * debug/swprintf_chk.c (__swprintf_chk)
4328 * debug/vasprintf_chk.c (__vasprintf_chk)
4329 * debug/vdprintf_chk.c (__vdprintf_chk)
4330 * debug/vfprintf_chk.c (__vfprintf_chk)
4331 * debug/vfwprintf_chk.c (__vfwprintf_chk)
4332 * debug/vprintf_chk.c (__vprintf_chk)
4333 * debug/vsnprintf_chk.c (__vsnprintf_chk)
4334 * debug/vswprintf_chk.c (__vswprintf_chk)
4335 * debug/vwprintf_chk.c (__vwprintf_chk)
4336 * debug/wprintf_chk.c (__wprintf_chk):
4337 Directly call the corresponding vxxprintf_internal function, passing
4338 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
4339 the FILE and/or construct a temporary FILE. Minimize and normalize
4340 header inclusions and variable names. Do not libc_hidden_def anything.
4342 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
4343 __obstack_vprintf_internal.
4344 (__obstack_vprintf_chk): Convert into a wrapper that calls
4345 __obstack_vprintf_internal (these two functions already had the
4346 same code) and move to new file...
4347 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
4349 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
4350 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
4351 * debug/Makefile (routines): Add vobprintf_chk.
4353 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4354 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4355 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
4356 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4357 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
4358 (__nldbl___obstack_vfprintf_chk):
4359 Directly call the corresponding vxxprintf_internal function,
4360 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
4361 duplicate comparison of slen with 0 or maxlen from the corresponding
4362 non-__nldbl function.
4364 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
4365 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
4366 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
4367 Remove libc_hidden_proto.
4369 * stdio-common/vfprintf-internal.c
4370 (__vfprintf_internal, __vfwprintf_internal):
4371 Do not check _IO_FLAGS2_FORTIFY.
4372 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
4373 * libio/libioP.h: Update prototype of __vsprintf_internal and add
4374 a comment explaining why it has the maxlen argument.
4375 (_IO_acquire_lock_clear_flags2_fct): Remove.
4376 (_IO_acquire_lock_clear_flags2): Remove.
4377 (_IO_release_lock): Remove conditional statement which will
4379 (_IO_acquire_lock): Remove variable which is now unused.
4380 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4381 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4383 * stdio-common/Makefile (tests): Add tst-bz11319 and
4384 tst-bz11319-fortify2.
4385 (CFLAGS-tst-bz11319-fortify2.c): New macro.
4386 * stdio-common/tst-bz11319-fortify2.c: New file.
4387 * stdio-common/tst-bz11319.c: Likewise.
4389 2018-12-05 Zack Weinberg <zackw@panix.com>
4390 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4392 * misc/syslog.c: Include libioP.h, not iolibio.h.
4393 (__vsyslog_internal): New function with the former body of
4394 __vsyslog_chk; takes mode_flags argument same as
4395 __v*printf_internal. Call __vfprintf_internal directly.
4397 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
4398 Remove libc_hidden_def.
4399 (__syslog, __syslog_chk): Use __vsyslog_internal.
4400 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
4402 * include/sys/syslog.h: Add multiple inclusion guard.
4403 Add prototype for __vsyslog_internal.
4404 Remove declaration and libc_hidden_proto for __vsyslog_chk.
4406 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
4407 Use __vsyslog_internal.
4409 2018-12-05 Zack Weinberg <zackw@panix.com>
4410 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4412 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
4413 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
4414 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
4416 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
4417 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
4419 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
4420 Include wctype.h here if COMPILE_WPRINTF is defined.
4421 Define __vfprintf_internal or __vfwprintf_internal, depending
4423 Temporarily, on entry to this function, update mode_flags
4424 according to the environmental settings corresponding to
4425 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
4426 Throughout, check mode_flags instead of __ldbl_is_dbl and
4427 _IO_FLAGS2_FORTIFY on the destination FILE.
4428 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
4429 Include vfprintf-internal.c. Don't include wctype.h.
4430 * stdio-common/vfprintf.c: New file. Just define __vfprintf
4431 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
4433 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
4434 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
4436 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
4438 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
4439 and add mode_flags argument; use __vfprintf_internal.
4440 (__vdprintf): New function. Alias vdprintf to this.
4441 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
4442 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
4443 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
4444 (__obstack_printf): Use __obstack_printf_internal.
4445 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
4446 public aliases __vsnprintf and vsnprintf.
4447 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
4449 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
4450 public aliases _IO_vsprintf and vsprintf.
4451 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
4452 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
4453 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
4454 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
4455 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
4457 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
4458 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
4459 * stdio-common/fprintf.c, stdio-common/fxprintf.c
4460 * stdio-common/printf.c: Use __vfprintf_internal.
4462 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
4463 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
4464 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
4466 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
4467 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
4468 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
4469 __vfwprintf_internal.
4471 * libio/libio.h: Remove libc_hidden_proto and declaration for
4473 Remove declaration of _IO_vfwprintf.
4474 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
4476 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
4478 * include/stdio.h: Add prototype for __vasprintf.
4479 (__vsnprintf): Remove declaration, because there are no more
4481 * include/wchar.h (__vfwprintf, __vswprintf): Remove
4482 declaration, because there are no more internal calls.
4484 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
4485 __vsnprintf_internal, instead of _IO_vsnprintf.
4486 * argp/argp-help.c (__argp_error, __argp_failure): Use
4487 __vasprintf_internal, instead of _IO_vasprintf.
4488 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
4489 redefine, because there are no more internal calls.
4491 2018-12-05 Zack Weinberg <zackw@panix.com>
4492 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4494 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
4495 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
4496 Include libio/strfile.h instead of libioP.h.
4497 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
4498 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
4499 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
4500 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
4501 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
4502 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
4503 necessary. Do not set __no_long_double. Normalize variable names.
4504 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
4505 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
4506 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
4507 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
4508 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
4509 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
4510 Call __vfscanf_internal / __vfwscanf_internal directly, passing
4511 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
4512 Do not set __no_long_double. Normalize variable names.
4514 2018-12-05 Zack Weinberg <zackw@panix.com>
4515 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4517 * stdio-common/isoc99_scanf.c
4518 * stdio-common/isoc99_fscanf.c
4519 * stdio-common/isoc99_sscanf.c
4520 * stdio-common/isoc99_vscanf.c
4521 * stdio-common/isoc99_vfscanf.c
4522 * stdio-common/isoc99_vsscanf.c
4523 * wcsmbs/isoc99_wscanf.c
4524 * wcsmbs/isoc99_fwscanf.c
4525 * wcsmbs/isoc99_swscanf.c
4526 * wcsmbs/isoc99_vwscanf.c
4527 * wcsmbs/isoc99_vfwscanf.c
4528 * wcsmbs/isoc99_vswscanf.c:
4529 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
4530 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
4531 No need to lock and unlock the FILE passed to that function.
4533 * stdio-common/vfscanf-internal.c
4534 (__vfscanf_internal, __vfwscanf_internal):
4535 Don't look at _IO_FLAGS2_SCANF_STD.
4536 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
4537 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
4538 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
4540 2018-12-05 Zack Weinberg <zackw@panix.com>
4541 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4543 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
4544 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
4545 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
4546 * libio/strfile.h: Add multiple inclusion guard.
4547 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
4549 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
4550 consistency with the other version of this file.
4551 (ldbl_compat_symbol): New macro.
4552 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
4555 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
4556 Define __vfscanf_internal or __vfwscanf_internal, depending on
4557 COMPILE_WSCANF; don't define any other public symbols.
4558 Remove errval and code to set errp.
4559 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
4560 as the mode_flags argument.
4561 (encode_error, conv_error, input_error): Don't set errval.
4562 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
4563 Include vfscanf-internal.c.
4564 * stdio-common/vfscanf.c: New file defining the public entry
4565 point vfscanf, which calls __vfscanf_internal.
4566 * stdio-common/vfwscanf.c: New file defining the public entry
4567 point vfwscanf, which calls __vfwscanf_internal.
4569 * stdio-common/iovfscanf.c: New file.
4570 * stdio-common/iovfwscanf.c: Likewise.
4572 * stdio-common/Makefile (routines): Add vfscanf-internal,
4573 vfwscanf-internal, iovfscanf, iovfwscanf.
4574 * stdio-common/Versions: Mention GLIBC_2.29, so that
4575 it can be used in SHLIB_COMPAT expressions.
4576 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
4577 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
4578 Call __vfscanf_internal, instead of _IO_vfscanf.
4579 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
4581 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
4584 * libio/iovsscanf.c: Clean up includes, when possible. Use
4585 _IO_strfile_read or _IO_strfile_readw, when needed. Call
4586 __vfscanf_internal or __vfwscanf_internal directly.
4587 * libio/iovswscanf.c: Likewise.
4588 * libio/swscanf.c: Likewise.
4589 * libio/vscanf.c: Likewise.
4590 * libio/vwscanf.c: Likewise.
4591 * libio/wscanf.c: Likewise.
4592 * stdio-common/isoc99_fscanf.c: Likewise.
4593 * stdio-common/isoc99_scanf.c: Likewise.
4594 * stdio-common/isoc99_sscanf.c: Likewise.
4595 * stdio-common/isoc99_vfscanf.c: Likewise.
4596 * stdio-common/isoc99_vscanf.c: Likewise.
4597 * stdio-common/isoc99_vsscanf.c: Likewise.
4598 * stdio-common/scanf.c: Likewise.
4599 * stdio-common/sscanf.c: Likewise.
4600 * wcsmbs/isoc99_fwscanf.c: Likewise.
4601 * wcsmbs/isoc99_swscanf.c: Likewise.
4602 * wcsmbs/isoc99_vfwscanf.c: Likewise.
4603 * wcsmbs/isoc99_vswscanf.c: Likewise.
4604 * wcsmbs/isoc99_vwscanf.c: Likewise.
4605 * wcsmbs/isoc99_wscanf.c: Likewise.
4607 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
4610 (__tz_compute): Replace time_t with __time64_t.
4611 (__tz_convert): Replace time_t* with __time64_t.
4612 (__offtime): Replace time_t* with __time64_t.
4614 (__gmtime_r): Adjust call to __tz_convert.
4617 (__localtime_r): Likewise.
4618 (localtime): Likewise.
4619 * time/offtime.c: Replace time_t with __time64_t.
4620 * time/tzset.c: Likewise.
4622 2018-12-04 Joseph Myers <joseph@codesourcery.com>
4624 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
4625 dynamic linker unless [$(run-built-tests) = yes].
4627 2018-12-03 DJ Delorie <dj@delorie.com>
4629 * support/test-container.c (check_for_unshare_hints): New.
4630 (main): Call it if unshare fails. Add support for "su" scriptlet
4633 2018-12-03 Joseph Myers <joseph@codesourcery.com>
4635 * scripts/gen-as-const.py (compute_c_consts): Take an argument
4636 'START' to indicate that start text should be output.
4637 (gen_test): Likewise.
4638 (main): Generate 'START' for first symbol or '--' line, or at end
4639 of input if not previously generated.
4641 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
4644 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
4645 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
4646 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
4647 ALWAYS_USE_VSYSCALL.
4649 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4652 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
4655 2018-12-03 Carlos O'Donell <carlos@redhat.com>
4658 * locale/programs/localedef.c: Declare boolean hard_links default true.
4659 (options): Add --no-hard-links option.
4660 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
4661 * locale/programs/localedef.h: Declare prototype for hard_links.
4662 * locale/programs/locfile.c (write_locale_data): Don't use hard
4663 links if hard_links is false.
4665 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
4667 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
4669 (__cache_sysconf): Likewise.
4670 (init_cacheinfo): Likewise.
4671 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
4672 populate COMMON_CPUID_INDEX_80000007 and
4673 COMMON_CPUID_INDEX_80000008.
4674 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
4675 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
4676 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
4677 (init_cpu_features): Use _Static_assert on
4678 index_arch_Fast_Unaligned_Load.
4679 __get_cpuid_registers and __get_arch_feature. Updated for
4680 cpu_features_basic. Set stepping in cpu_features.
4681 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
4682 (FEATURE_INDEX_2): New.
4683 (FEATURE_INDEX_MAX): Changed to enum.
4684 (COMMON_CPUID_INDEX_D_ECX_1): New.
4685 (COMMON_CPUID_INDEX_80000007): Likewise.
4686 (COMMON_CPUID_INDEX_80000008): Likewise.
4687 (cpuid_registers): Likewise.
4688 (cpu_features_basic): Likewise.
4689 (CPU_FEATURE_USABLE): Likewise.
4690 (bit_arch_XXX_Usable): Likewise.
4691 (cpu_features): Use cpuid_registers and cpu_features_basic.
4692 (bit_arch_XXX): Reweritten.
4693 (bit_cpu_XXX): Likewise.
4694 (index_cpu_XXX): Likewise.
4695 (reg_XXX): Likewise.
4696 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
4698 (CHECK_CPU_FEATURE): New.
4699 (CHECK_CPU_FEATURE_USABLE): Likewise.
4700 (cpu_kinds): Likewise.
4701 (do_test): Print vendor, family, model and stepping. Check
4702 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
4703 (TEST_FUNCTION): Removed.
4704 Include <support/test-driver.c> instead of
4705 "../../test-skeleton.c".
4706 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
4707 Check POPCNT instead of POPCOUNT.
4708 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
4710 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4712 * scripts/gen-as-const.py (main): Avoid emitting empty line when
4713 there is no element in `consts'.
4715 2018-12-01 Florian Weimer <fweimer@redhat.com>
4717 * support/support_capture_subprocess.c
4718 (support_capture_subprocess): Check that pipe descriptors have
4719 expected values. Close original pipe descriptors in subprocess.
4721 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4724 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
4725 attr with __pthread_default_barrierattr.
4726 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
4727 attr with __pthread_default_condattr.
4728 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
4729 attr with __pthread_default_mutexattr.
4730 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
4731 attr with __pthread_default_rwlockattr.
4733 2018-12-01 Kemi Wang <kemi.wang@intel.com>
4735 * manual/tunables.texi (POSIX Thread Tunables): New node.
4736 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
4737 * nptl/nptl-init.c: Include pthread_mutex_conf.h
4738 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
4739 __pthread_tunables_init.
4740 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
4741 (max_adaptive_count): Define.
4742 * nptl/pthread_mutex_conf.c: New file.
4743 * nptl/pthread_mutex_conf.h: New file.
4744 * sysdeps/generic/adaptive_spin_count.h: New file.
4745 * sysdeps/nptl/dl-tunables.list: New file.
4746 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4747 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
4748 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
4751 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4754 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
4755 * stdlib/on_exit.c (__on_exit): Likewise.
4756 * stdlib/Makefile (tests): Add tst-bz20544.
4757 * stdlib/tst-bz20544.c: New test.
4759 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
4762 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
4763 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
4766 2018-11-30 Florian Weimer <fweimer@redhat.com>
4768 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
4769 Extend error logging.
4770 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
4773 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4775 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
4776 __sigismember instead of sigismember.
4777 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
4778 cancel_handler): New definitions.
4779 (do_system): Use posix_spawn instead of fork and execl and remove
4781 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
4782 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
4783 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
4784 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4785 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4786 * sysdeps/unix/sysv/linux/system.c: Likewise.
4790 * NEWS: Add new semantic for atfork with popen and system.
4791 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
4794 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4797 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
4798 modification order when accessing reloc_result->addr.
4799 * include/link.h (reloc_result): Add field init.
4800 * nptl/Makefile (tests): Add tst-audit-threads.
4801 (modules-names): Add tst-audit-threads-mod1 and
4802 tst-audit-threads-mod2.
4803 Add rules to build tst-audit-threads.
4804 * nptl/tst-audit-threads-mod1.c: New file.
4805 * nptl/tst-audit-threads-mod2.c: Likewise.
4806 * nptl/tst-audit-threads.c: Likewise.
4807 * nptl/tst-audit-threads.h: Likewise.
4809 2018-11-30 Joseph Myers <joseph@codesourcery.com>
4811 * scripts/gen-as-const.py: New file.
4812 * scripts/gen-as-const.awk: Remove.
4813 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
4815 ($(objpfx)test-as-const-%.c): Likewise.
4817 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4819 * elf/dl-exception.c: Include <_itoa.h>.
4821 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
4823 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
4824 returned by __f_setlk.
4826 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4827 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4829 * elf/Makefile (tests-internal): Add tst-create_format1.
4830 * elf/dl-exception.c (_dl_exception_create_format): Support
4832 * elf/tst-create_format1.c: New file.
4834 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
4836 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
4837 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
4839 * argp/argp-help.c (__argp_failure): Likewise.
4841 2018-11-29 Mao Han <han_mao@c-sky.com>
4843 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
4844 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
4845 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
4846 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
4847 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
4848 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
4849 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
4850 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
4851 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
4852 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
4853 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
4854 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
4855 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
4856 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
4857 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
4858 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
4859 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
4860 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
4861 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
4862 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
4863 (R_CKCORE_TLS_TPOFF32): New defines.
4865 2018-11-29 Florian Weimer <fweimer@redhat.com>
4867 * posix/Makefile (before-compile): Remove testcases.h and
4869 (generated): Add testcases.h and ptestcases.h.
4870 (testcases.h, ptestcases.h): Move to $(objpfx).
4871 (runtests.o): Add dependency on testcases.h.
4872 (runptests.o): Add dependency on ptestcases.h.
4873 * posix/testcases.h, posix/ptestcases.h: Remove files.
4874 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
4875 not touch posix/testcases.h and posix/ptestcases.h.
4877 2018-11-28 Florian Weimer <fweimer@redhat.com>
4879 support: Add signal support to support_capture_subprocess_check.
4880 * support/capture_subprocess.h (support_capture_subprocess_check):
4881 Adjust comment and rename parameter.
4882 * support/support_capture_subprocess_check.c
4883 (print_actual_status): New function.
4884 (support_capture_subprocess_check): Support negative
4885 status_or_signal. Call print_actual_status.
4886 * support/tst-support_capture_subprocess.c (do_test): Call
4887 support_capture_subprocess_check.
4888 * libio/tst-vtables-common.c (termination_status)
4889 (init_termination_status): Remove.
4890 (check_for_termination): Adjust support_capture_subprocess_check
4892 (do_test): Remove call to init_termination_status.
4894 2018-11-28 Joseph Myers <joseph@codesourcery.com>
4896 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
4897 source directory instead of a copy.
4898 (CommandList.create_copy_dir): Remove.
4900 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
4902 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4904 2018-11-28 Florian Weimer <fweimer@redhat.com>
4906 * support/support.h (support_quote_string): Do not use str
4909 2018-11-27 Joseph Myers <joseph@codesourcery.com>
4911 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
4912 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
4914 2018-11-27 Florian Weimer <fweimer@redhat.com>
4916 * support/support.h (support_quote_string): Declare.
4917 * support/support_quote_string.c: New file.
4918 * support/tst-support_quote_string.c: Likewise.
4919 * support/Makefile (libsupport-routines): Add
4920 support_quote_string.
4921 (tests): Add tst-support_quote_string.
4923 2018-11-27 Florian Weimer <fweimer@redhat.com>
4927 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
4928 descriptor leak in case of ENODEV error.
4930 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
4933 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
4934 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
4935 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
4937 2018-11-26 Carlos O'Donell <carlos@redhat.com>
4939 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
4940 Error for unknown lines.
4942 2018-11-26 Joseph Myers <joseph@codesourcery.com>
4944 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4945 Touch additional files.
4947 2018-11-26 Florian Weimer <fweimer@redhat.com>
4950 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
4953 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
4956 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
4957 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
4958 SHARED. Include sysdep.h.
4959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
4960 ALWAYS_USE_VSYSCALL.
4961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
4962 ALWAYS_USE_VSYSCALL.
4964 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
4967 * nptl/Makefile (tests-static): Add tst-cond11-static.
4969 * nptl/tst-cond11-static.c: New File.
4970 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
4971 tst-affinity-static.
4973 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
4975 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
4976 (USE_VSYSCALL): Likewise.
4977 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
4978 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
4980 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
4982 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
4985 2018-11-23 Joseph Myers <joseph@codesourcery.com>
4988 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4989 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
4992 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
4994 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
4995 (tst-cet-legacy-1a-ARGS): New.
4996 ($(objpfx)tst-cet-legacy-1a): New target.
4997 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
4999 2018-11-22 Joseph Myers <joseph@codesourcery.com>
5001 * conform/conformtest.py (CompileSubTest.__init__): Set
5002 self.run_early to False.
5003 (ExecuteSubTest.__init__): Likewise.
5004 (HeaderTests.run): Try running all non-optional, non-XFAILed
5005 compilation tests in a single execution of the compiler.
5007 * conform/conformtest.py (CompileSubTest): New class.
5008 (ExecuteSubTest): Likewise.
5009 (ElementTest.run): Rename to gen_subtests. Append tests to
5010 self.subtests instead of running them.
5011 (ConstantTest.run): Likewise.
5012 (SymbolTest.run): Likewise.
5013 (TypeTest.run): Likewise.
5014 (TagTest.run): Likewise.
5015 (FunctionTest.run): Likewise.
5016 (VariableTest.run): Likewise.
5017 (MacroFunctionTest.run): Likewise.
5018 (MacroStrTest.run): Likewise.
5019 (HeaderTests.handle_test_line): Generate subtests for tests.
5020 (HeaderTests.run): Run subtests for tests.
5022 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5024 * math/Versions (GLIBC_2.29): Add pow.
5025 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
5027 * math/w_pow.c: New file.
5028 * sysdeps/i386/fpu/w_pow.c: New file.
5029 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
5030 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
5031 and add necessary aliases.
5032 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
5033 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
5034 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5035 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5036 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5037 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5038 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5039 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5040 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5041 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5042 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5043 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5044 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5045 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5046 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5051 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5052 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5053 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5054 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5055 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5056 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5057 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5058 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
5060 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
5061 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
5062 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
5064 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5066 * math/Versions (GLIBC_2.29): Add log2.
5067 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
5069 * math/w_log2.c: New file.
5070 * sysdeps/i386/fpu/w_log2.c: New file.
5071 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
5072 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
5073 and add necessary aliases.
5074 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
5075 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
5076 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5077 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5078 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5079 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5080 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5081 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5082 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5083 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5084 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5085 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5086 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5087 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5088 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5093 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5094 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5095 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5096 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5097 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5098 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5099 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5101 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5103 * math/Versions (GLIBC_2.29): Add log.
5104 * math/w_log_compat.c (__log_compat): Change to versioned compat
5106 * math/w_log.c: New file.
5107 * sysdeps/i386/fpu/w_log.c: New file.
5108 * sysdeps/ia64/fpu/e_log.S: Update.
5109 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
5110 and add necessary aliases.
5111 * sysdeps/ieee754/dbl-64/w_log.c: New file.
5112 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
5113 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5114 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5115 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5116 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5117 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5118 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5119 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5120 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5121 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5122 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5123 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5124 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5125 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5130 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5131 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5132 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5133 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5134 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5135 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5136 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5137 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
5139 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
5140 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
5141 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
5142 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
5144 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5146 * math/Versions (GLIBC_2.29): Add exp and exp2.
5147 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
5148 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
5149 * math/w_exp_compat.c (__exp_compat): Likewise.
5150 * math/w_exp.c: New file.
5151 * math/w_exp2.c: New file.
5152 * sysdeps/i386/fpu/w_exp.c: New file.
5153 * sysdeps/i386/fpu/w_exp2.c: New file.
5154 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
5155 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
5156 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
5157 and add necessary aliases.
5158 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
5159 and add necessary aliases.
5160 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
5161 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
5162 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
5163 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
5164 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5165 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5166 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5167 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5168 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5169 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5170 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5171 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5172 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5173 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5174 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5175 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5176 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5181 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5182 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5183 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5184 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5185 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5186 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5187 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5188 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
5189 (__ieee754_exp): Rename to __exp.
5190 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
5191 (__ieee754_exp): Rename to __exp.
5192 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
5193 (__ieee754_exp): Rename to __exp.
5194 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
5196 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
5198 2018-11-20 DJ Delorie <dj@redhat.com>
5200 * malloc/malloc.c (tcache_entry): Add key field.
5201 (tcache_put): Set it.
5202 (tcache_get): Likewise.
5203 (_int_free): Check for double free in tcache.
5204 * malloc/tst-tcfree1.c: New.
5205 * malloc/tst-tcfree2.c: New.
5206 * malloc/Makefile: Run the new tests.
5207 * manual/probes.texi: Document memory_tcache_double_free probe.
5209 * dlfcn/dlerror.c (check_free): Prevent double frees.
5211 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
5213 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
5215 2018-11-20 Joseph Myers <joseph@codesourcery.com>
5217 * conform/conformtest.py (ElementTest.run): Use unique identifiers
5218 in tests. Use names for format arguments.
5219 (ConstantTest.run): Likewise.
5220 (SymbolTest.run): Likewise.
5221 (TypeTest.run): Likewise.
5222 (TagTest.run): Likewise.
5223 (FunctionTest.run): Likewise.
5224 (VariableTest.run): Likewise.
5225 (MacroFunctionTest.run): Likewise.
5226 (MacroStrTest.run): Likewise.
5227 (HeaderTests.__init__): Set self.num_tests.
5228 (HeaderTests.handle_test_line): Set test.num. Increment
5231 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5233 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
5234 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
5237 2018-11-19 Mao Han <han_mao@c-sky.com>
5239 * scripts/config.guess: Update to version 2018-08-29.
5240 * scripts/config.sub: Update to version 2018-08-29.
5242 2018-11-19 Florian Weimer <fweimer@redhat.com>
5244 support: Print timestamps in timeout handler.
5245 * support/support_test_main.c (print_timestamp): New function.
5246 (signal_handler): Use it to print the termination time and the
5247 time of the last write to standard output.
5249 2018-11-16 Zack Weinberg <zackw@panix.com>
5250 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5252 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
5253 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
5255 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
5256 and add flags argument. Check flags instead of __ldbl_is_dbl when
5257 deciding whether to set is_long_double.
5258 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
5259 passing zero for flags argument.
5260 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
5262 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5263 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
5264 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
5265 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
5266 variable names. Remove libc_hidden_def/libc_hidden_proto from
5267 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
5268 longer called from within the library.
5269 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
5270 for __nldbl___vstrfmon_l, declare it explicitly.
5272 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
5274 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
5276 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
5278 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
5279 F_SETLK64, F_SETLKW64, respectively.
5280 * sysdeps/mach/hurd/f_setlk.c: New file.
5281 * sysdeps/mach/hurd/f_setlk.h: New file.
5282 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
5284 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
5285 (__libc_fcntl): Move non-flock operations to...
5286 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
5287 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
5289 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
5291 mktime: DEBUG_MKTIME cleanup
5292 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
5293 And it’s no longer needed now that glibc and Gnulib both have
5294 their own testing mechanisms for mktime.
5295 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
5297 mktime: fix non-EOVERFLOW errno handling
5299 mktime was not properly reporting failures when the underlying
5300 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
5301 them like EOVERFLOW failures, and set errno to EOVERFLOW.
5302 The problem could happen on non-glibc platforms, with Gnulib.
5303 * time/mktime.c (guess_time_tm): Remove, replacing with ...
5304 (tm_diff): ... this simpler function, which does not change errno.
5305 All callers changed to deal with errno themselves.
5306 (ranged_convert, __mktime_internal): Return failure immediately if
5307 the underlying function reports any failure other than EOVERFLOW.
5308 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
5311 mktime: fix bug with Y2038 DST transition
5313 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
5314 mishandle a DST transition that jumps over the Y2038 boundary.
5315 No such DST transitions are known so this is only a theoretical
5316 bug, but we might as well do things right.
5318 mktime: make more room for overflow
5320 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
5321 This is so that we can add tm_diff results to a previous guess,
5322 which will be useful in a later patch.
5324 mktime: simplify offset guess
5326 * time/mktime.c (__mktime_internal): Omit excess precision.
5328 mktime: new test for mktime failure
5330 Based on a test suggested by Albert Aribaud in:
5331 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
5332 * time/Makefile (tests): Add bug-mktime4.
5333 * time/bug-mktime4.c: New file.
5335 mktime: fix EOVERFLOW bug
5337 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
5338 Include libc-config.h, not config.h, for __set_errno.
5339 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
5341 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
5343 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
5344 __attribute_copy__ to copy attributes from name. Drop static qualifier
5345 to avoid warnings about leaf attribute not having effect on static
5348 2018-11-13 Florian Weimer <fweimer@redhat.com>
5350 * malloc/malloc.c (fastbin_push_entry): New function.
5351 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
5352 (REMOVE_FB): Remove macro.
5353 (_int_malloc): Use fastbin_pop_entry and reindent.
5354 (_int_free): Use fastbin_push_entry.
5355 (malloc_consolidate): Use atomic_exchange_acquire.
5357 2018-11-13 Joseph Myers <joseph@codesourcery.com>
5359 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
5360 alias attribute, not with strong_alias.
5362 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
5363 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
5364 with additional parameter thread.
5365 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
5366 in terms of __hidden_ver2.
5367 (hidden_tls_def): New macro.
5368 (libc_hidden_tls_def): Likewise.
5369 (rtld_hidden_tls_def): Likewise.
5370 (libm_hidden_tls_def): Likewise.
5371 (libmvec_hidden_tls_def): Likewise.
5372 (libresolv_hidden_tls_def): Likewise.
5373 (librt_hidden_tls_def): Likewise.
5374 (libdl_hidden_tls_def): Likewise.
5375 (libnss_files_hidden_tls_def): Likewise.
5376 (libnsl_hidden_tls_def): Likewise.
5377 (libnss_nisplus_hidden_tls_def): Likewise.
5378 (libutil_hidden_tls_def): Likewise.
5379 (libutil_hidden_tls_def): Likweise.
5380 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
5381 libc_hidden_tls_def.
5382 (__sim_disabled_exceptions_thread): Likewise.
5383 (__sim_round_mode_thread): Likewise.
5385 * sysdeps/sparc/sparc-ifunc.h [SHARED]
5386 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
5387 copy attributes from name.
5389 2018-11-12 Joseph Myers <joseph@codesourcery.com>
5391 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
5392 Use __attribute_copy__ to copy attributes from name.
5394 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
5395 with __hidden_ver1 call.
5396 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
5397 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
5398 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
5399 (__cosf): Do not declare here.
5400 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
5401 (__sincosf): Do not declare here.
5402 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
5403 (__sinf): Do not declare here.
5405 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
5406 (__BIG_ENDIAN): Likewise.
5407 (__BYTE_ORDER): Likewise.
5408 (strong_alias): Likewise.
5409 (_strong_alias): Likewise.
5411 2018-11-12 Florian Weimer <fweimer@redhat.com>
5413 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
5414 function. Move after the definition of in_smallbin_range. Do not
5415 use __builtin_expect for paths that lead to a noreturn function.
5416 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
5417 because it is unclear whether this is in fact an unlikely
5419 (_int_malloc, _int_free): Adjust.
5420 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
5422 * malloc/arena.c (heap_trim): Likewise.
5424 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5426 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
5427 it, free it if needed.
5428 (reauthenticate): Test and use ccwdir.
5429 (child_init_port): In non-resetids case, test and use ccwdir.
5430 (child_chdir): New nested function to set ccwdir.
5431 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
5432 * hurd/hurd/port.h (_hurd_port_move): New function.
5433 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
5434 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
5435 * hurd/Versions (_hurd_port_move): Export function.
5436 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
5438 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
5439 of dtablesize for allocating dtable_cloexec.
5441 2018-11-09 Martin Sebor <msebor@redhat.com>
5443 * include/libc-symbols.h (__attribute_copy__): Define macro unless
5444 it's already defined.
5445 (_strong_alias): Use __attribute_copy__.
5446 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
5447 * misc/sys/cdefs.h (__attribute_copy__): New macro.
5448 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
5449 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
5450 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
5451 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
5452 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
5453 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
5454 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
5455 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
5456 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
5457 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
5458 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
5459 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
5460 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
5461 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
5462 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
5463 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
5464 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
5466 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5468 * misc/tst-efgcvt.c: Include support/check.h and
5469 support/test-driver.c. Do not include test-skeleton.c.
5470 (error_count): Remove.
5471 (output_error): Replace increments to error_count with calls to
5472 support_record_failure.
5473 (output_r_error): Likewise.
5474 (special): Likewise.
5475 (do_test): Unconditionally return zero.
5476 (TEST_FUNCTION): Remove.
5478 2018-11-09 Joseph Myers <joseph@codesourcery.com>
5480 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
5482 ($(linknamespace-header-tests)): Likewise.
5484 * conform/conformtest.py: New file.
5485 * conform/conformtest.pl: Remove.
5486 * conform/GlibcConform.pm: Likewise.
5487 * conform/glibcconform.py (KEYWORDS_C90): New constant.
5488 (KEYWORDS_C99): Likewise.
5489 (KEYWORDS): Likewise.
5490 * conform/Makefile ($(conformtest-header-tests)): Use
5491 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
5492 option. Use --header instead of --headers.
5493 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
5495 * conform/data/spawn.h-data: Likewise.
5496 * conform/data/fcntl.h-data (openat): Add space after function
5498 * conform/data/wchar.h-data (wcscasecmp): Likewise.
5499 (wcscasecmp_l): Likewise.
5500 * conform/data/termios.h-data (c_cc): Add space after element
5503 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5505 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
5506 instead of manually comparing and reporting mismatching strings.
5507 * misc/tst-ldbl-error.c (do_one_test): Likewise.
5508 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5510 2018-11-08 Joseph Myers <joseph@codesourcery.com>
5512 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
5513 __ASSUME_SOCKETCALL.
5514 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5515 (__ASSUME_SOCKETCALL): Remove.
5516 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5517 (__ASSUME_SOCKETCALL): Likewise.
5518 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5519 (__ASSUME_SOCKETCALL): Likewise.
5520 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5521 (__ASSUME_SOCKETCALL): Likewise.
5522 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5523 (__ASSUME_SOCKETCALL): Likewise.
5524 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5525 (__ASSUME_SOCKETCALL): Likewise.
5526 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5527 (__ASSUME_SOCKETCALL): Likewise.
5529 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
5532 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
5533 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
5534 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
5535 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
5536 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
5539 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
5542 * resolv/tst-resolv-network.c: Add test for getnetbyname.
5544 2018-11-07 Joseph Myers <joseph@codesourcery.com>
5547 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5548 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5549 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5550 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5552 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5554 * support/support_test_compare_string.c
5555 (support_test_compare_string): Fix printf format.
5557 2018-11-07 Florian Weimer <fweimer@redhat.com>
5559 Implement TEST_COMPARE_STRING.
5560 * support/check.h (TEST_COMPARE_STRING): Define.
5561 (support_test_compare_string): Declare.
5562 * support/Makefile (libsupport-routines): Add
5563 support_test_compare_string.
5564 (tests): Add tst-test_compare_string.
5565 * support/support_test_compare_string.c: New file.
5566 * support/tst-test_compare_string.c: Likewise.
5568 2018-11-07 Andreas Schwab <schwab@suse.de>
5571 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
5572 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
5575 2018-11-06 Joseph Myers <joseph@codesourcery.com>
5578 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5579 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
5580 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
5581 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
5584 2018-11-06 Florian Weimer <fweimer@redhat.com>
5587 * posix/Makefile (routines): Add spawn_faction_addchdir.
5588 (tests): Add tst-spawn-chdir.
5589 * posix/Versions (GLIBC_2.29): Add
5590 posix_spawn_file_actions_addchdir_np.
5591 * posix/spawn_faction_addchdir.c: New file.
5592 * posix/spawn_faction_destroy.c
5593 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
5594 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
5595 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
5597 * posix/tst-spawn-chdir.c: New file.
5598 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
5599 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5600 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5601 posix_spawn_file_actions_addchdir_np.
5602 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5604 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5606 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5607 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5609 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5611 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5613 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5615 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5617 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5619 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5620 (GLIBC_2.29): Likewise.
5621 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5622 (GLIBC_2.29): Likewise.
5623 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5624 (GLIBC_2.29): Likewise.
5625 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5626 (GLIBC_2.29): Likewise.
5627 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5630 (GLIBC_2.29): Likewise.
5631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5632 (GLIBC_2.29): Likewise.
5633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5634 (GLIBC_2.29): Likewise.
5635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5636 (GLIBC_2.29): Likewise.
5637 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5639 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5641 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5643 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5644 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5646 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5648 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5650 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5653 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5655 * misc/Makefile (tests): Add tst-ldbl-error.
5656 * misc/tst-ldbl-error.c: New file.
5658 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5660 * misc/Makefile (tests): Add tst-ldbl-warn.
5661 * misc/tst-ldbl-warn.c: New file.
5663 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5665 * argp/Makefile (tests): Add tst-ldbl-argp.
5666 * argp/tst-ldbl-argp.c: New file.
5668 2018-11-05 Arjun Shankar <arjun@redhat.com>
5670 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
5671 __gconv_path_elem and call __gconv_get_path unconditionally.
5673 2018-11-05 Andreas Schwab <schwab@suse.de>
5676 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
5677 creating the first helper thread failed.
5679 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5681 * sysdeps/mach/hurd/msync.c: New file.
5683 2018-11-02 Florian Weimer <fweimer@redhat.com>
5685 * support/shell-container.c (copy_func): Call
5686 support_copy_file_range instead of copy_file_range to support
5687 cross-device copies.
5689 2018-11-02 Florian Weimer <fweimer@redhat.com>
5691 * support/test-container.c: Include <libc-pointer-arith.h> for
5694 2018-11-01 Zong Li <zong@andestech.com>
5696 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
5697 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
5698 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
5699 (__FP_FRAC_SET_8): Add implementation for RV32 use.
5701 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
5702 variable to avoid overlap arguments.
5704 2018-11-01 Joseph Myers <joseph@codesourcery.com>
5706 * posix/bug-regex22.c (main): Use puts with distinct error
5707 messages for unexpected success of re_compile_pattern, not printf
5708 with NULL argument to %s.
5710 * stdio-common/bug22.c: Include <libc-diag.h>.
5711 (do_test): Disable -Wformat-overflow= warnings around fprintf
5712 calls outputting more than INT_MAX characters.
5713 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
5714 around printf call with NULL %s argument.
5717 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
5718 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
5720 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5721 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5722 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5723 (__ASSUME_SENDTO_SYSCALL): Likewise.
5724 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5725 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
5727 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5728 (__ASSUME_CONNECT_SYSCALL): Likewise.
5729 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5730 (__ASSUME_RECVFROM_SYSCALL): Likewise.
5731 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
5733 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
5735 [__LINUX_KERNEL_VERSION >= 0x040400]
5736 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5737 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
5740 (setsockopt): Likewise.
5742 2018-11-01 Fredrik Noring <noring@nocrew.org>
5744 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
5745 with the ISA override.
5747 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
5749 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
5752 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
5754 * manual/errno.texi (EIEIO): Document how translators should
5755 translate the error message.
5756 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
5757 printing trailing whitespaces refused by git.
5758 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
5759 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5760 * hurd/Makefile (user-interfaces): Add pci.
5762 2018-10-30 Joseph Myers <joseph@codesourcery.com>
5764 * conform/linknamespace.py: New file.
5765 * conform/linknamespace.pl: Remove file.
5766 * conform/Makefile ($(linknamespace-header-tests)): Use
5767 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
5770 2018-10-30 Florian Weimer <fweimer@redhat.com>
5772 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
5775 2018-10-30 Florian Weimer <fweimer@redhat.com>
5777 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
5779 2018-10-30 Florian Weimer <fweimer@redhat.com>
5781 * stdlib/tst-strtod-overflow.c (do_test): Switch to
5782 support_blob_repeat.
5784 2018-10-30 Florian Weimer <fweimer@redhat.com>
5786 Avoid spurious test failures in stdlib/test-bz22786.
5787 * support/Makefile (libsupport-routines): Add blob_repeat.
5788 (tests): Add tst-support_blob_repeat.
5789 * support/blob_repeat.h: New file.
5790 * support/blob_repeat.c: Likewise.
5791 * support/tst-support_blob_repeat.c: Likewise.
5792 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
5793 support_blob_repeat_allocate.
5795 2018-10-30 Andreas Schwab <schwab@suse.de>
5798 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
5799 Don't use tail call.
5800 * elf/tst-unwind-main.c: New file.
5801 * elf/Makefile (tests): Add tst-unwind-main.
5802 (CFLAGS-tst-unwind-main.c): Define.
5804 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
5807 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
5809 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
5811 2018-10-29 Joseph Myers <joseph@codesourcery.com>
5813 * conform/glibcconform.py: Do not import shutil.
5814 (list_exported_functions): Use tempfile.TemporaryDirectory instead
5817 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
5818 critic_missing for versions before 3.4.
5819 * configure: Regenerated.
5820 * manual/install.texi (Tools for Compilation): Document
5821 requirement for Python to build glibc.
5822 * INSTALL: Regenerated.
5823 * Rules [PYTHON]: Make code unconditional.
5824 * benchtests/Makefile [PYTHON]: Likewise.
5825 * conform/Makefile [PYTHON]: Likewise.
5826 * manual/Makefile [PYTHON]: Likewise.
5827 * math/Makefile [PYTHON]: Likewise.
5829 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5831 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
5832 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
5833 answer to interrupt_operation, return EIEIO instead of EINTR.
5834 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
5835 _hurd_intr_rpc_msg_about_to global point to start of controlled
5836 assembly snippet. Make it check canceled flag.
5837 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
5838 the _hurd_intr_rpc_msg_about_to point.
5839 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
5840 issue, remove cancel flag check.
5842 2018-10-26 Joseph Myers <joseph@codesourcery.com>
5844 * scripts/build-many-glibcs.py: Remove compatibility for missing
5845 os.cpu_count and re.fullmatch.
5847 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5850 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
5851 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
5852 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
5854 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5856 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
5859 2018-10-25 Florian Weimer <fweimer@redhat.com>
5863 XFAIL siginfo_t si_band conform test on sparc64.
5864 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
5865 (__SI_BAND_TYPE): Only override long int default type on sparc64.
5866 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5867 (conformtest-xfail-conds): Add sparc64-linux.
5868 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
5870 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
5872 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5874 * elf/elf.h (NT_MIPS_DSP): New macro.
5875 (NT_MIPS_FP_MODE): Likewise.
5877 2018-10-25 Zong Li <zong@andestech.com>
5879 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
5880 name by adding the file extension (.so).
5882 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
5884 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
5885 (test-xfail-ISO11/threads.h/linknamespace,
5886 test-xfail-ISO11/threads.h/conform): Add.
5888 2018-10-24 Joseph Myers <joseph@codesourcery.com>
5890 * math/gen-libm-test.py: Import os.
5891 (ALL_FLOATS_MANUAL): New constant.
5892 (ALL_FLOATS_SUFFIX): Likewise.
5893 (Ulps.all_functions): New function.
5894 (real_all_ulps): Likewise.
5895 (generate_err_table_sub): Likewise.
5896 (generate_err_table): Likewise.
5897 (main): Handle -s and -m options.
5898 * manual/libm-err-tab.pl: Remove.
5899 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
5900 instead of libm-err-tab.pl.
5901 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
5903 * manual/install.texi (Tools for Compilation): Document
5904 requirement for Python to build manual.
5905 * INSTALL: Regenerated.
5907 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5909 * bits/time64.h: New file.
5910 * include/time.h: Replace internal_time_t with __time64_t.
5911 * posix/bits/types (__time64_t): Add.
5912 * stdlib/Makefile: Add bits/time64.h to includes.
5913 * time/tzfile.c: Replace internal_time_t with __time64_t.
5915 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5917 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
5918 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
5919 __posix_spawn_file_actions_init, __posix_spawnattr_init,
5920 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
5921 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
5923 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
5924 * posix/spawn_faction_addclose.c
5925 (__posix_spawn_file_actions_addclose): Add hidden definition.
5926 * posix/spawn_faction_adddup2.c
5927 (__posix_spawn_file_actions_adddup2): Likewise.
5928 * posix/spawn_faction_destroy.c
5929 (__posix_spawn_file_actions_destroy): Likewise.
5930 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
5932 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
5933 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
5934 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
5936 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
5937 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
5940 2018-10-24 Andreas Schwab <schwab@suse.de>
5943 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
5945 * elf/cache.c (print_cache): Likewise.
5947 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5949 * bits/timesize.h: New file.
5950 * stdlib/Makefile (headers): Add bits/timesize.h.
5951 * sysdeps/unix/sysv/linux/bits/msq-pad.h
5952 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
5953 * sysdeps/unix/sysv/linux/bits/sem-pad.h
5954 (__SEM_PAD_AFTER_TIME): Likewise.
5955 * sysdeps/unix/sysv/linux/bits/shm-pad.h
5956 (__SHM_PAD_AFTER_TIME): Likewise.
5957 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
5958 (__MSQ_PAD_BEFORE_TIME): Likewise.
5959 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
5960 (__SEM_PAD_BEFORE_TIME): Likewise.
5961 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
5962 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5963 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
5964 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
5965 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
5966 (__MSQ_PAD_BEFORE_TIME): Likewise.
5967 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
5968 (__SEM_PAD_BEFORE_TIME): Likewise.
5969 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
5970 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5971 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
5972 (__MSQ_PAD_BEFORE_TIME): Likewise.
5973 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
5974 (__SEM_PAD_BEFORE_TIME): Likewise.
5975 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
5976 (__SHM_PAD_BEFORE_TIME): Likewise.
5977 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
5978 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5979 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
5981 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
5983 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
5984 USE_RDTSCP is defined.
5985 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
5986 USE_RDTSCP is defined.
5988 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5990 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
5994 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
5995 independently of other flags.
5997 2018-10-23 Florian Weimer <fweimer@redhat.com>
5999 * time/tst-mktime2.c (N_STRINGS): Remove.
6000 (set_timezone): New function.
6001 (spring_forward_gap): Call it. Use FAIL_EXIT1.
6002 (mktime_test1): Report localtime failure and check errno value.
6004 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
6005 (do_test): Remove alarm call. Use set_timezone and array_length.
6007 2018-10-23 Andreas Schwab <schwab@suse.de>
6009 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
6010 (__start_context): Use END instead of PSEUDO_END.
6012 2018-10-22 Joseph Myers <joseph@codesourcery.com>
6014 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6017 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6021 * wcsmbs/c32rtomb.c: New file.
6022 * wcsmbs/mbrtoc32.c: Likewise.
6023 * wcsmbs/tst-c32-state.c: Likewise.
6024 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
6025 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
6026 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
6027 (tests): Add tst-c32-state.
6028 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
6031 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
6033 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
6034 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
6036 2018-10-19 Joseph Myers <joseph@codesourcery.com>
6039 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
6040 pair and return 0 in that case, and use saved character to
6041 interpret following character.
6042 * wcsmbs/tst-c16-surrogate.c: New file.
6043 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
6044 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
6045 Depend on $(gen-locales)
6047 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
6050 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
6051 (struct siginfo_t): Use correct type for si_band.
6053 2018-10-19 Florian Weimer <fweimer@redhat.com>
6056 * resource/bits/types/struct_rusage.h (struct rusage): Update
6057 comment on struct. Remove extraneous field comment.
6059 2018-10-18 David S. Miller <davem@davemloft.net>
6061 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
6062 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
6063 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
6064 sysdep_routines in subdir elf.
6065 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
6066 version for __vdso_clock_gettime.
6067 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
6069 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6070 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6072 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6074 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
6076 * sysdeps/i386/init-arch.h: Removed.
6077 * sysdeps/i386/i586/init-arch.h: Likewise.
6078 * sysdeps/i386/i686/init-arch.h: Likewise.
6079 * sysdeps/i386/i686/hp-timing.h: Likewise.
6080 * sysdeps/x86_64/hp-timing.h: Likewise.
6081 * sysdeps/i386/isa.h: New file.
6082 * sysdeps/i386/i586/isa.h: Likewise.
6083 * sysdeps/i386/i686/isa.h: Likewise.
6084 * sysdeps/x86_64/isa.h: Likewise.
6085 * sysdeps/x86/hp-timing.h: New file.
6086 * sysdeps/x86/init-arch.h: Include <isa.h>.
6088 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6090 * math/libm-test-pow.inc (pow_test_data): Do not allow
6091 divide-by-zero exception for pow(+/- 0, -Inf).
6093 2018-10-17 Zack Weinberg <zackw@panix.com>
6095 * manual/job.texi (Job Control is Optional): Remove node, as
6096 job control has not been optional in quite some time.
6097 (Job Control): Mention briefly that systems older than
6098 POSIX.1-2001 might not support job control.
6099 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
6100 defined on systems conforming to POSIX.1-2001.
6102 2018-10-17 Arjun Shankar <arjun@redhat.com>
6105 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
6107 * (__gconv_read_conf): Mark function static.
6108 * (once): New static variable.
6109 * (__gconv_load_conf): New function.
6110 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
6111 * iconv/gconv_db.c (once): Remove static variable.
6112 * (__gconv_compare_alias): Use __gconv_load_conf instead of
6114 * (__gconv_find_transform): Likewise.
6115 * iconv/tst-iconv-mt.c: New test.
6116 * iconv/Makefile: Add tst-iconv_mt.
6118 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6120 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6122 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
6123 (shmatt_t): Define as __syscall_ulong_t.
6124 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
6125 and [__SHM_PAD_AFTER_TIME].
6126 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
6127 Define shm_segsz and associated padding based on
6128 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
6129 Use __syscall_ulong_t instead of unsigned long int.
6130 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
6132 [__USE_MISC] (struct shm_info): Likewise.
6133 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
6134 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
6135 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
6136 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
6137 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
6138 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6139 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
6140 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
6141 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6142 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6143 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6145 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6147 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
6148 (SHMLBA): Remove macro.
6149 (__getpagesize): Remove function declaration.
6150 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
6152 (SHMLBA): Remove macro.
6153 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
6155 (SHMLBA): Remove macro.
6156 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
6158 (SHMLBA): Remove macro.
6159 (__getpagesize): Remove function declaration.
6160 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
6162 (SHMLBA): Remove macro.
6163 (__getshmlba): Remove function declaration.
6164 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
6165 (SHMLBA): Remove macro.
6166 (__getpagesize): Remove function declaration.
6167 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
6168 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
6169 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6170 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
6171 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
6172 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
6173 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
6174 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
6175 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
6176 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
6178 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
6181 * nptl/tst-mutex10.c: New File.
6182 * nptl/Makefile (tests): Add tst-mutex10.
6183 (tst-mutex10-ENV): New variable.
6184 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
6185 Ensure that elision path is used if elision is available.
6186 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
6188 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
6190 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
6191 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
6192 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
6193 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
6195 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
6196 (__pthread_mutex_cond_lock_adjust): Likewise.
6197 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6199 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
6200 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6201 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6202 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
6204 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6205 Use atomic_load_relaxed and atomic_store_relaxed.
6206 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
6207 Use atomic_store_relaxed.
6209 2018-10-17 Andreas Schwab <schwab@suse.de>
6211 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
6212 * crypt/badsalttest.c (TIMEOUT): Likewise.
6213 * crypt/sha256c-test.c (TIMEOUT): Likewise.
6214 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
6215 * io/test-lfs.c (TIMEOUT): Likewise.
6216 * libio/tst-atime.c (TIMEOUT): Likewise.
6217 * localedata/tst-leaks.c (TIMEOUT): Likewise.
6218 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
6219 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
6220 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
6221 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
6222 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
6223 * nptl/tst-cond11.c (TIMEOUT): Likewise.
6224 * nptl/tst-cond14.c (TIMEOUT): Likewise.
6225 * nptl/tst-cond15.c (TIMEOUT): Likewise.
6226 * nptl/tst-cond24.c (TIMEOUT): Likewise.
6227 * nptl/tst-cond25.c (TIMEOUT): Likewise.
6228 * nptl/tst-kill2.c (TIMEOUT): Likewise.
6229 * nptl/tst-kill3.c (TIMEOUT): Likewise.
6230 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
6231 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
6232 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
6233 * nptl/tst-once2.c (TIMEOUT): Likewise.
6234 * nptl/tst-once3.c (TIMEOUT): Likewise.
6235 * nptl/tst-once4.c (TIMEOUT): Likewise.
6236 * nptl/tst-robust8.c (TIMEOUT): Likewise.
6237 * nptl/tst-robust9.c (TIMEOUT): Likewise.
6238 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
6239 * nptl/tst-sem14.c (TIMEOUT): Likewise.
6240 * nptl/tst-sem6.c (TIMEOUT): Likewise.
6241 * nptl/tst-signal3.c (TIMEOUT): Likewise.
6242 * nptl/tst-spin4.c (TIMEOUT): Likewise.
6243 * nptl/tst-tls3.c (TIMEOUT): Likewise.
6244 * nptl/tst-tls4.c (TIMEOUT): Likewise.
6245 * posix/tst-chmod.c (TIMEOUT): Likewise.
6246 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
6247 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
6248 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
6249 * posix/tst-regex2.c (TIMEOUT): Likewise.
6250 * posix/tst-waitid.c (TIMEOUT): Likewise.
6251 * rt/tst-aio.c (TIMEOUT): Likewise.
6252 * rt/tst-aio10.c (TIMEOUT): Likewise.
6253 * rt/tst-aio4.c (TIMEOUT): Likewise.
6254 * rt/tst-aio5.c (TIMEOUT): Likewise.
6255 * rt/tst-aio6.c (TIMEOUT): Likewise.
6256 * rt/tst-aio64.c (TIMEOUT): Likewise.
6257 * rt/tst-aio7.c (TIMEOUT): Likewise.
6258 * rt/tst-aio9.c (TIMEOUT): Likewise.
6259 * rt/tst-clock.c (TIMEOUT): Likewise.
6260 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
6261 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
6262 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
6263 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
6264 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
6265 * rt/tst-timer4.c (TIMEOUT): Likewise.
6266 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
6267 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
6268 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
6269 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
6270 * time/tst-ftime.c (TIMEOUT): Likewise.
6271 * timezone/tst-tzset.c (TIMEOUT): Likewise.
6273 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
6275 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
6276 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
6279 2018-10-15 Joseph Myers <joseph@codesourcery.com>
6281 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6283 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
6284 instead of <bits/wordsize.h>.
6285 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
6286 and [__SEM_PAD_AFTER_TIME].
6287 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
6288 __syscall_ulong_t instead of unsigned long int.
6289 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
6290 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
6291 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
6292 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
6293 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
6294 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
6295 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
6296 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
6297 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6298 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6299 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6301 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
6303 regex: simplify by using intprops.h
6305 * posix/regex_internal.h [_LIBC]: Include intprops.h.
6306 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
6307 intprops.h defines them.
6309 regex: __builtin_expect → __glibc_unlikely
6311 This refactoring was prompted by a problem when the regex code is
6312 used as part of Gnulib and when the builder’s compiler does not grok
6313 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
6314 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
6315 Although this refactoring does not fix the problem directly,
6316 we might as well have Gawk use the now-preferred glibc style for when
6317 __builtin_expect is unavailable.
6318 * posix/regex_internal.h (BE): Remove.
6319 All uses replaced by __glibc_unlikely or __glibc_likely.
6321 2018-10-11 Joseph Myers <joseph@codesourcery.com>
6323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6325 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
6326 instead of <bits/wordsize.h>.
6327 (msgqnum_t): Define as __syscall_ulong_t.
6328 (msglen_t): Likewise.
6329 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
6330 and [__MSQ_PAD_AFTER_TIME].
6331 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
6332 __syscall_ulong_t instead of unsigned long int.
6333 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
6334 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
6335 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
6336 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
6337 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
6338 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
6339 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
6340 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
6341 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6342 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6343 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6345 2018-10-10 Joseph Myers <joseph@codesourcery.com>
6347 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
6348 (struct shmid_ds): Condition padding after time fields on
6350 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
6351 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
6352 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6354 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
6355 (struct semid_ds): Condition padding after time fields on
6357 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
6358 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
6359 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
6360 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6362 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
6363 (struct msqid_ds): Condition padding after time fields on
6365 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
6366 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
6367 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
6368 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6370 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6372 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
6374 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6376 * libio/tst-readline.c (TIMEOUT): Define.
6378 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
6380 mktime fix for Gnulib + coreutils
6382 This fix affects only Gnulib. Problem discovered when
6383 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
6385 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
6386 Do not define since it is not used. Defining an unused static
6387 function prompts a warning from GCC when Coreutils is configured
6388 with --enable-gcc-warnings.
6390 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6392 * benchtests/scripts/compare_bench.py (main): set float type on
6395 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
6398 * localedata/locales/kl_GL (mon): Update, the relative case.
6399 (alt_mon): Add, fill with month names in the nominative case.
6400 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
6401 (d_fmt): Set to "%b %d %Y".
6403 2018-10-04 Joseph Myers <joseph@codesourcery.com>
6405 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
6406 <bits/mman-linux.h>.
6407 (PROT_READ): Don't define here.
6408 (PROT_WRITE): Likewise.
6409 (PROT_EXEC): Likewise.
6410 (PROT_NONE): Likewise.
6411 (PROT_GROWSDOWN): Likewise.
6412 (PROT_GROWSUP): Likewise.
6413 (MAP_SHARED): Likewise.
6414 (MAP_PRIVATE): Likewise.
6415 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
6416 [__USE_MISC] (MAP_FILE): Likewise.
6417 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
6418 [__USE_MISC] (MAP_ANON): Likewise.
6419 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
6420 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
6421 (MCL_CURRENT): Likewise.
6422 (MCL_FUTURE): Likewise.
6423 (MCL_ONFAULT): Likewise.
6424 [__USE_MISC] (MADV_NORMAL): Likewise.
6425 [__USE_MISC] (MADV_RANDOM): Likewise.
6426 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
6427 [__USE_MISC] (MADV_WILLNEED): Likewise.
6428 [__USE_MISC] (MADV_DONTNEED): Likewise.
6429 [__USE_MISC] (MADV_FREE): Likewise.
6430 [__USE_MISC] (MADV_REMOVE): Likewise.
6431 [__USE_MISC] (MADV_DONTFORK): Likewise.
6432 [__USE_MISC] (MADV_DOFORK): Likewise.
6433 [__USE_MISC] (MADV_HWPOISON): Likewise.
6434 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
6435 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
6436 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
6437 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
6438 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
6439 (__MAP_ANONYMOUS): New macro.
6440 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
6441 <bits/mman-linux.h> inclusion.
6442 (MAP_FIXED): Likewise.
6443 (MS_SYNC): Likewise.
6444 (MS_ASYNC): Likewise.
6445 (MS_INVALIDATE): Likewise.
6446 [__USE_MISC] (MADV_MERGEABLE): Likewise.
6447 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
6448 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
6449 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
6450 [__USE_MISC] (MADV_DONTDUMP): Likewise.
6451 [__USE_MISC] (MADV_DODUMP): Likewise.
6452 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
6453 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
6456 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
6458 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
6459 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
6460 Add test-nldbl-redirect.
6461 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
6462 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
6463 $(objpfx)libnldbl_nonshared.a.
6465 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
6467 * support/support.h (support_objdir_elf_ldso): New variable.
6468 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
6469 * support/Makefile (CFLAGS-support_paths.c): Add definition
6470 for OBJDIR_ELF_LDSO_PATH.
6471 * support/test-container.c (main): Search for the ld.so
6472 which is also used by the testsuite.
6474 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
6477 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
6478 should be "sap" rather than "sab".
6479 (day): Fix spelling of Sunday, should be "sapaat" rather than
6482 2018-10-02 Joseph Myers <joseph@codesourcery.com>
6484 * math/libm-test-fma.inc (fma_test_data): Add more tests.
6486 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
6489 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
6490 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
6491 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
6493 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6495 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
6497 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
6499 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
6501 (CFLAGS-elision-unlock.c): Likewise.
6502 (CFLAGS-elision-timed.c): Likewise.
6503 (CFLAGS-elision-trylock.c): Likewise.
6504 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
6506 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6509 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
6510 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
6511 new fd_to_filename interface.
6512 * libio/freopen64.c (freopen64): Likewise.
6513 * libio/tst-memstream.h: New file.
6514 * libio/tst-memstream4.c: Likewise.
6515 * libio/tst-wmemstream4.c: Likewise.
6516 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
6517 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
6518 and remove internal dynamic allocation.
6520 2018-10-01 Joseph Myers <joseph@codesourcery.com>
6522 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6523 (MREMAP_MAYMOVE): Do not define here.
6524 [__USE_GNU] (MREMAP_FIXED): Likewise.
6525 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
6526 (MREMAP_MAYMOVE): Define here instead.
6527 [__USE_GNU] (MREMAP_FIXED): Likewise.
6528 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
6529 (MREMAP_MAYMOVE): Remove.
6530 [__USE_GNU] (MREMAP_FIXED): Likewise.
6532 2018-09-28 Joseph Myers <joseph@codesourcery.com>
6534 * math/fromfp.h: Do not include <math_private.h>.
6535 * math/s_cacosh_template.c: Likewise.
6536 * math/s_casin_template.c: Likewise.
6537 * math/s_casinh_template.c: Likewise.
6538 * math/s_ccos_template.c: Likewise.
6539 * math/s_cproj_template.c: Likewise.
6540 * math/s_fdim_template.c: Likewise.
6541 * math/s_fmaxmag_template.c: Likewise.
6542 * math/s_fminmag_template.c: Likewise.
6543 * math/s_iseqsig_template.c: Likewise.
6544 * math/s_ldexp_template.c: Likewise.
6545 * math/s_nextdown_template.c: Likewise.
6546 * math/w_log1p_template.c: Likewise.
6547 * math/w_scalbln_template.c: Likewise.
6548 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6549 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6550 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6551 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6552 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
6553 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
6554 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
6555 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
6556 * sysdeps/i386/fpu/s_atanl.c: Likewise.
6557 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
6558 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
6559 * sysdeps/i386/fpu/s_fdim.c: Likewise.
6560 * sysdeps/i386/fpu/s_logbl.c: Likewise.
6561 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6562 * sysdeps/i386/fpu/s_significandl.c: Likewise.
6563 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
6564 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
6565 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6566 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6567 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6568 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6569 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6570 * sysdeps/ieee754/k_standardf.c: Likewise.
6571 * sysdeps/ieee754/k_standardl.c: Likewise.
6572 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6573 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6574 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
6575 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6576 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6577 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6578 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6579 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6580 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6581 * sysdeps/ieee754/s_signgam.c: Likewise.
6582 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6583 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
6584 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
6585 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6586 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6587 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6588 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6589 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6590 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6591 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6592 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6593 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6594 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6595 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6596 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6597 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6598 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6599 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6600 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6601 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6602 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6603 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6604 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6605 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6606 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6607 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6608 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6609 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6610 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6611 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6612 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6613 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6614 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6615 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6616 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6617 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6618 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
6620 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6622 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
6625 * sysdeps/i386/dl-cet.c: Removed.
6626 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
6628 (_dl_runtime_profile_shstk): Likewise.
6629 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
6630 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
6632 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6635 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
6636 do_test_with_invalid_iov): New tests.
6637 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
6638 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
6639 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
6641 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6642 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6643 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6645 2018-09-27 Joseph Myers <joseph@codesourcery.com>
6647 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6648 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
6649 (MATH_REDIRECT_BINARY_ARGS): New macro.
6650 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6651 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
6652 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
6654 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
6655 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6656 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
6657 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6658 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6659 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6660 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
6665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
6667 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
6668 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
6669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
6671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
6673 * sysdeps/generic/math_private_calls.h
6674 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
6675 Do not declare and define as an inline function.
6676 * math/divtc3.c (__divtc3): Use copysign functions instead of
6677 __copysign variants.
6678 * math/multc3.c (__multc3): Likewise.
6679 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
6680 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
6681 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6682 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6684 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6685 (__ieee754_yn): Likewise.
6686 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6687 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
6688 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6689 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6690 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
6692 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
6693 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6695 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6697 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6699 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6700 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6702 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6703 (__ieee754_ynf): Likewise.
6704 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6705 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6706 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6707 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6709 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6710 (__ieee754_ynl): Likewise.
6711 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6712 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6713 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6715 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6716 (__ieee754_ynl): Likewise.
6717 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
6718 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6719 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6720 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6722 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6724 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
6725 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6726 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
6727 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6728 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6730 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6731 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
6732 using MATH_REDIRECT.
6733 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
6735 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
6736 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6737 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6738 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
6739 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6740 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6741 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
6743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
6744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
6745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
6746 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6747 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6748 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6749 (round): Redirect to __round.
6750 (__roundl): Call round instead of __round.
6751 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
6753 [_ARCH_PWR5X] (__roundf): Likewise.
6754 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
6755 functions instead of __round variants.
6756 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6757 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6759 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6761 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6763 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
6764 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
6766 (__ieee754_expl): Call roundl instead of __roundl.
6768 2018-09-27 Andreas Schwab <schwab@suse.de>
6771 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
6772 (do_test): Make st1 static.
6774 2018-09-26 Andreas Schwab <schwab@suse.de>
6777 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
6778 * elf/Makefile (tests): Add tst-unwind-ctor.
6779 (modules-names): Add tst-unwind-ctor-lib.
6780 ($(objpfx)tst-unwind-ctor): Depend on
6781 $(objpfx)tst-unwind-ctor-lib.so.
6783 2018-09-26 Joseph Myers <joseph@codesourcery.com>
6785 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
6786 file. Most contents moved from ....
6787 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
6788 and include <bits/mman-map-flags-generic.h>.
6789 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6790 (sysdep_headers): Add bits/mman-map-flags-generic.h.
6791 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
6792 <bits/mman-map-flags-generic.h>.
6793 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
6794 macros defined in <bits/mman-map-flags-generic.h>.
6795 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
6796 <bits/mman-map-flags-generic.h>.
6797 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
6798 defined in <bits/mman-map-flags-generic.h>.
6800 2018-09-26 Andreas Schwab <schwab@suse.de>
6802 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
6805 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
6806 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6807 Fangrui Song <maskray@google.com>
6810 * config.make.in (have-textrel_ifunc): New define.
6811 * configure.ac: Add check if linker supports textrel relocation with
6813 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
6815 (CFLAGS-tst-ifunc-textrel.c): New rule.
6816 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
6817 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
6818 * elf/tst-ifunc-textrel.c: New file.
6820 2018-09-25 Joseph Myers <joseph@codesourcery.com>
6822 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6823 <bits/procfs-prregset.h>.
6824 (prgregset_t): Define using __prgregset_t.
6825 (prfpregset_t): Define using __prfpregset_t.
6826 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6827 (sysdep_headers): Add bits/procfs-prregset.h.
6828 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
6829 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
6830 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
6831 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
6833 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6834 <bits/procfs-id.h> and <bits/procfs-extra.h>.
6835 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
6837 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6838 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
6839 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
6840 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
6841 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
6842 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
6843 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
6844 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
6845 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
6846 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
6847 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
6848 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
6849 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
6850 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
6851 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
6852 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
6853 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
6854 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
6855 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
6856 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
6857 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
6858 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
6859 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6860 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
6862 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
6863 AArch64 version. Include <bits/procfs.h>.
6864 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6865 (sysdep_headers): Add bits/procfs.h.
6866 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
6867 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
6868 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
6869 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
6870 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
6871 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
6872 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
6873 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
6874 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
6875 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
6876 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
6877 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
6878 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
6879 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
6880 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
6881 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6882 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
6884 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6886 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
6889 2018-09-25 Arjun Shankar <arjun@redhat.com>
6891 * iconv/gconv_int.h (__gconv_path_elem): Remove.
6892 (__gconv_max_path_elem_len): Likewise.
6893 (__gconv_nmodules): Likewise.
6894 (__gconv_get_path): Likewise.
6895 (path_elem): Move to ...
6896 * iconv/gconv_conf.c: ... here.
6897 (__gconv_get_path): Mark function static.
6898 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
6899 * iconv/gconv_open.c: ... here.
6901 2018-09-24 Andreas Schwab <schwab@suse.de>
6903 * scripts/haveversions.awk: New file.
6904 * Makerules ($(common-objpfx)Versions.def)
6905 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6906 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6908 * Makeconfig ($(common-objpfx)Versions.def)
6909 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6910 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6912 ($(common-objpfx)Versions.mk): New rule. Include it.
6913 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
6914 Emit error if build-obsolete-nsl = yes.
6915 * manual/install.texi (Configuring and compiling): Describe
6916 --enable-obsolete-nsl as unavaiable after version 2.28.
6917 * INSTALL: Regenerate.
6919 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6921 * NEWS: Add note about new TLE support on powerpc64le.
6922 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
6923 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
6925 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
6926 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
6927 * sysdeps/powerpc/powerpc32/sysdep.h,
6928 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
6929 ABORT_TRANSACTION): Remove macros.
6930 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
6931 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
6932 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
6933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
6934 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6935 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
6937 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
6939 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
6942 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
6943 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
6944 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
6945 which is the same as in it_IT.
6946 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
6947 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
6949 2018-09-20 Joseph Myers <joseph@codesourcery.com>
6951 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6952 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
6953 using MATH_REDIRECT.
6954 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
6956 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
6957 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6958 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
6959 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6960 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6961 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
6963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
6964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
6965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
6966 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6967 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6968 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
6969 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
6970 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
6971 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
6972 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
6973 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6974 (ceil): Redirect to __ceil.
6975 (floor): Redirect to __floor.
6976 (trunc): Redirect to __trunc.
6977 (__truncl): Call trunc instead of __trunc.
6978 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
6980 [_ARCH_PWR5X] (__truncf): Likewise.
6981 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
6982 trunc functions instead of __trunc variants.
6983 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6985 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6987 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6989 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6992 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
6993 [__i586__ || __pentium__].
6994 [__i486__]: Handle explicitly.
6995 (HAS_CPUID): Define to 1 if above macros are undefined.
6996 (HAS_I586): Likewise.
6997 (HAS_I686): Likewise.
6999 2018-09-20 Florian Weimer <fweimer@redhat.com>
7001 * misc/tst-gethostid.c: New file.
7002 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
7003 (tst-gethostid): Link with -ldl.
7005 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
7007 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
7008 value from gethostbyname_r.
7010 2018-09-19 Carlos O'Donell <carlos@redhat.com>
7012 * stdlib/tst-setcontext9.c (f1): Rename to...
7014 (f1b): New function implementing lower half of f1 in alternate stack.
7016 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
7018 Fix mktime localtime offset confusion
7020 * include/time.h (__mktime_internal): The localtime offset is now
7021 of type long int instead of time_t. This is the longstanding type
7022 in glibc, and it is more than enough to represent difference
7023 between localtime and gmtime even if it is 32 bits and time_t is
7024 64. Changing it now will let us avoid an unnecessary change when
7025 time_t is widened to 64 bits on 32-bit platforms.
7026 * time/mktime-internal.h (mktime_offset_t): Now long int.
7028 Merge mktime, timegm from upstream Gnulib
7029 [BZ #23603][BZ #16346]
7030 This fixes some obscure problems with integer overflow.
7031 Although it looks scary, it is almost all a byte-for-byte copy
7032 from Gnulib, and the Gnulib code has been tested reasonably well.
7033 * include/intprops.h: New file, copied from Gnulib.
7034 * include/verify.h, time/mktime-internal.h:
7035 New tiny files, simplified from Gnulib.
7036 * time/mktime.c: Copy from Gnulib. This has the following changes:
7037 Do not include config.h if DEBUG_MKTIME is nonzero.
7038 Include stdbool.h, intprops.h, verify.h.
7039 Include string.h only if needed.
7040 Include stdlib.h on MS-Windows.
7041 Include mktime-internal.h.
7042 (DEBUG_MKTIME): Default to 0, and simplify later uses.
7043 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
7044 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
7045 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
7046 simplify later conditionals; default the others to zero. Use
7047 these conditionals to express only the code needed on the current
7048 platform. In uses of these conditionals, explicitly spell out how
7049 _LIBC affects things, so it’s easier to review from a glibc
7051 (WRAPV): Remove; no longer needed now that we have
7052 systematic overflow checking.
7053 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
7054 compartmentalize tzset issues. Move system-dependent tzsettish
7055 code here from mktime.
7056 (verify): Remove; now done by verify.h. All uses changed.
7057 (long_int): Use a more-conservative definition, to avoid
7059 (SHR): Remove, replacing with ...
7060 (shr): New function, which means we needn’t worry about side
7061 effects in args, and conversion analysis is simpler.
7062 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
7063 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
7064 (time_t_avg, time_t_add_ok): Remove.
7065 (mktime_min, mktime_max): New constants.
7066 (leapyear, isdst_differ): Use bool for booleans.
7067 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
7068 Use long_int, not time_t, for mktime differences.
7069 (long_int_avg): New function, replacing time_t_avg.
7070 INT_ADD_WRAPV replaces time_t_add_ok.
7071 (guess_time_tm): 6th arg is now long_int, not time_t const *.
7073 (convert_time): New function.
7074 (ranged_convert): Use it.
7075 (__mktime_internal): Last arg now points to mktime_offset_t, not
7076 time_t. All uses changed. This is a no-op on glibc, where
7077 mktime_offset_t is always time_t. Use int, not time_t, for UTC
7078 offset guess. Directly check for integer overflow instead of
7079 using a heuristic that works only 99.9...% of the time.
7080 Access *OFFSET only once, to avoid an unlikely race if the
7081 compiler delays a load and if this cascades into a signed integer
7083 (mktime): Move tzsettish code to my_tzset, and move
7084 localtime_offset to within mktime so that it doesn’t
7085 need a separate ifdef.
7086 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
7087 instead of localtime.
7088 * time/timegm.c: Copy from Gnulib. This has the following changes:
7089 Include mktime-internal.h.
7090 [!_LIBC]: Include config.h and time.h. Do not include
7091 timegm.h or time_r.h. Make __mktime_internal a macro,
7092 and include mktime-internal.h to get its declaration.
7093 (timegm): Temporary is now mktime_offset_t, not time_t.
7094 This affects only Gnulib.
7096 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
7099 * string/test-strstr.c (pr23637): New function.
7100 (test_main): Add tests with longer needles.
7101 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
7102 * string/strstr.c (AVAILABLE): Likewise.
7104 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7106 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
7108 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7110 * NEWS: Mention pow improvements.
7111 * math/Makefile (type-double-routines): Add e_pow_log_data.
7112 * sysdeps/generic/math_private.h (__exp1): Remove.
7113 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
7114 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
7115 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
7117 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
7118 (exp_inline): Remove.
7119 (__ieee754_exp): Only single double input is handled.
7120 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
7121 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
7122 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
7123 (__pow_log_data): Define.
7124 * sysdeps/ieee754/dbl-64/upow.h: Remove.
7125 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
7126 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
7127 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
7129 (CFLAGS-e_pow-fma4.c): Likewise.
7131 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
7133 Simplify tzfile fstat failure code
7135 * time/tzfile.c (__tzfile_read): Simplify slightly.
7137 Fix tzfile low-memory assertion failure
7139 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
7140 when registering time zone abbreviations.
7142 2018-09-18 Joseph Myers <joseph@codesourcery.com>
7144 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
7145 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
7146 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7147 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7148 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
7149 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
7150 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
7151 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7152 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7154 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
7156 (__ceill): Call ceil instead of __ceil.
7157 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
7159 (__floorl): Call floor instead of __floor.
7161 2018-09-17 Joseph Myers <joseph@codesourcery.com>
7163 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7164 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
7165 using MATH_REDIRECT.
7166 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
7168 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
7169 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7170 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7171 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
7172 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7173 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7174 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7175 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
7176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
7177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
7178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
7179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
7180 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7181 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7182 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7183 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7184 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7185 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7186 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
7188 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
7189 functions instead of __ceil variants.
7190 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7191 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7193 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7195 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7196 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7198 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7199 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7202 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
7204 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
7205 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
7206 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
7207 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
7208 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
7209 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
7210 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
7211 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
7212 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
7213 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
7214 (ILL_BADIADDR): Remove constant.
7215 (TRAP_BRANCH): Likewise.
7216 (TRAP_HWBKPT): Likewise.
7218 2018-09-14 Joseph Myers <joseph@codesourcery.com>
7221 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
7222 Remove [_MIPS_SIM = _ABIN32] conditional case.
7223 (struct elf_prpsinfo): Likewise.
7226 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
7227 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
7228 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
7230 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
7231 elf_prpsinfo): Likewise.
7232 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
7233 elf_prpsinfo): Likewise.
7234 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
7237 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7238 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
7239 using MATH_REDIRECT.
7240 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
7242 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
7243 * sysdeps/alpha/fpu/s_rint.c: Likewise.
7244 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
7245 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7246 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7247 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7248 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
7249 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7250 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7251 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7252 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
7253 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
7254 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
7255 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7256 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7257 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7258 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7259 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
7260 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7263 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7264 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7265 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7266 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7267 * sysdeps/x86_64/fpu/math_private.h: Remove file.
7268 * math/e_scalb.c (invalid_fn): Use rint functions instead of
7270 * math/e_scalbf.c (invalid_fn): Likewise.
7271 * math/e_scalbl.c (invalid_fn): Likewise.
7272 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7274 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7276 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7277 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
7278 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7280 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7282 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7284 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
7285 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
7287 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7288 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
7290 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7291 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
7292 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7293 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
7294 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7295 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
7296 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7297 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
7298 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7299 && !NO_MATH_REDIRECT] (floor): Likewise.
7300 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
7302 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
7303 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7304 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7305 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
7306 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7307 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7308 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7309 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
7311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
7312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
7313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
7314 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7315 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7316 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7317 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7318 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7319 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7320 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
7322 [_ARCH_PWR5X] (__floorf): Likewise.
7323 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
7325 [__SSE4_1__] (__floorf): Likewise.
7326 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
7327 instead of __floor variants.
7328 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
7329 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
7330 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
7331 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
7332 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
7333 * math/w_tgamma_compat.c (__tgamma): Likewise.
7334 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
7335 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
7336 * math/w_tgammal_compat.c (__tgammal): Likewise.
7337 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
7338 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7340 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7341 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
7342 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7343 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7345 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7346 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
7348 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7349 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
7351 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7352 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
7354 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7355 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7356 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7357 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
7358 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7359 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7361 2018-09-12 Joseph Myers <joseph@codesourcery.com>
7363 * elf/Makefile (modules-names-tests): New variable.
7365 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7367 * NEWS: Mention log2 improvements.
7368 * math/Makefile (type-double-routines): Add e_log2_data.
7369 * sysdeps/i386/fpu/e_log2_data.c: New file.
7370 * sysdeps/ia64/fpu/e_log2_data.c: New file.
7371 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
7372 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
7373 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
7374 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
7375 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
7377 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7379 * NEWS: Mention log improvement.
7380 * math/Makefile (type-double-routines): Add e_log_data.
7381 * sysdeps/i386/fpu/e_log_data.c: New file.
7382 * sysdeps/ia64/fpu/e_log_data.c: New file.
7383 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
7384 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
7385 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
7386 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
7387 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
7388 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
7390 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
7391 Xuepeng Guo <xuepeng.guo@intel.com>
7394 * sysdeps/i386/start.S: Include <sysdep.h>
7395 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
7396 enabled. Add cfi_undefined (eip).
7398 2018-09-11 Joseph Myers <joseph@codesourcery.com>
7400 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
7402 (EXTRACT_WORDS64): Likewise.
7403 (INSERT_WORDS64): Likewise.
7404 (GET_FLOAT_WORD): Likewise.
7405 (SET_FLOAT_WORD): Likewise.
7407 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
7409 (Config.build_gcc): Use --disable-libsanitizer for first GCC
7410 build, but not for second build if --full-gcc. Use
7411 --enable-languages=all for second build if --full-gcc.
7412 (get_parser): Add --full-gcc option.
7413 (main): Update call to Context.
7415 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
7418 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
7419 Single Quotation Mark).
7420 (thousands_sep): Likewise.
7421 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
7422 * localedata/locales/it_IT (thousands_sep): Use ".".
7423 (grouping): Use "3;3".
7425 2018-09-10 Joseph Myers <joseph@codesourcery.com>
7427 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7428 x86_64 and i686 configs using --enable-obsolete-rpc
7429 --enable-obsolete-nsl.
7431 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7433 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7435 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7437 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
7438 Increment size of new_argv by one.
7440 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
7443 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
7444 * localedata/locales/ar_IN (d_fmt): Likewise.
7445 * localedata/locales/bhb_IN (d_fmt): Likewise.
7446 * localedata/locales/bho_IN (d_fmt): Likewise.
7447 * localedata/locales/bn_BD (d_fmt): Likewise.
7448 * localedata/locales/bn_IN (d_fmt): Likewise.
7449 * localedata/locales/doi_IN (d_fmt): Likewise.
7450 * localedata/locales/gu_IN (d_fmt): Likewise.
7451 * localedata/locales/hi_IN (d_fmt): Likewise.
7452 * localedata/locales/hne_IN (d_fmt): Likewise.
7453 * localedata/locales/kn_IN (d_fmt): Likewise.
7454 * localedata/locales/mag_IN (d_fmt): Likewise.
7455 * localedata/locales/mai_IN (d_fmt): Likewise.
7456 * localedata/locales/mjw_IN (d_fmt): Likewise.
7457 * localedata/locales/ml_IN (d_fmt): Likewise.
7458 * localedata/locales/mni_IN (d_fmt): Likewise.
7459 * localedata/locales/mr_IN (d_fmt): Likewise.
7460 * localedata/locales/pa_IN (d_fmt): Likewise.
7461 * localedata/locales/raj_IN (d_fmt): Likewise.
7462 * localedata/locales/sat_IN (d_fmt): Likewise.
7463 * localedata/locales/sd_IN (d_fmt): Likewise.
7464 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
7465 * localedata/locales/ta_IN (d_fmt): Likewise.
7466 * localedata/locales/ta_LK (d_fmt): Likewise.
7467 * localedata/locales/tcy_IN (d_fmt): Likewise.
7468 * localedata/locales/ur_IN (d_fmt): Likewise.
7470 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
7471 * localedata/locales/ks_IN (d_fmt): Likewise.
7472 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
7474 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
7475 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
7476 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
7477 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
7479 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
7481 * NEWS: Mention exp and exp2 improvements.
7482 * math/Makefile (libm-support): Remove t_exp.
7483 (type-double-routines): Add math_err and e_exp_data.
7484 * sysdeps/aarch64/libm-test-ulps: Update.
7485 * sysdeps/arm/libm-test-ulps: Update.
7486 * sysdeps/i386/fpu/e_exp_data.c: New file.
7487 * sysdeps/i386/fpu/math_err.c: New file.
7488 * sysdeps/i386/fpu/t_exp.c: Remove.
7489 * sysdeps/ia64/fpu/e_exp_data.c: New file.
7490 * sysdeps/ia64/fpu/math_err.c: New file.
7491 * sysdeps/ia64/fpu/t_exp.c: Remove.
7492 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
7493 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
7494 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
7495 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
7496 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
7497 * sysdeps/ieee754/dbl-64/math_config.h: New file.
7498 * sysdeps/ieee754/dbl-64/math_err.c: New file.
7499 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
7500 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
7501 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
7502 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
7503 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
7504 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
7505 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
7506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7507 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7509 2018-09-05 Joseph Myers <joseph@codesourcery.com>
7511 * sysdeps/alpha/fpu/math_private.h: Remove.
7513 * sysdeps/generic/math_private.h
7514 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
7515 Move this inline function ....
7516 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
7517 * include/math.h [!_ISOMAC]: To here....
7519 2018-09-04 Joseph Myers <joseph@codesourcery.com>
7521 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
7523 [!FE_HAVE_ROUNDING_MODES]: And this code ....
7524 * include/fenv.h [!_ISOMAC]: ... to here.
7525 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
7526 (feraiseexcept): Likewise.
7527 * math/fromfp.h: Do not include <fenv_private.h>.
7528 * math/s_cexp_template.c: Likewise.
7529 * math/s_csin_template.c: Likewise.
7530 * math/s_csinh_template.c: Likewise.
7531 * math/s_ctan_template.c: Likewise.
7532 * math/s_ctanh_template.c: Likewise.
7533 * math/s_iseqsig_template.c: Likewise.
7534 * math/w_acos_compat.c: Likewise.
7535 * math/w_acosf_compat.c: Likewise.
7536 * math/w_acosl_compat.c: Likewise.
7537 * math/w_asin_compat.c: Likewise.
7538 * math/w_asinf_compat.c: Likewise.
7539 * math/w_asinl_compat.c: Likewise.
7540 * math/w_j0_compat.c: Likewise.
7541 * math/w_j0f_compat.c: Likewise.
7542 * math/w_j0l_compat.c: Likewise.
7543 * math/w_j1_compat.c: Likewise.
7544 * math/w_j1f_compat.c: Likewise.
7545 * math/w_j1l_compat.c: Likewise.
7546 * math/w_jn_compat.c: Likewise.
7547 * math/w_jnf_compat.c: Likewise.
7548 * math/w_log10_compat.c: Likewise.
7549 * math/w_log10f_compat.c: Likewise.
7550 * math/w_log10l_compat.c: Likewise.
7551 * math/w_log2_compat.c: Likewise.
7552 * math/w_log2f_compat.c: Likewise.
7553 * math/w_log2l_compat.c: Likewise.
7554 * math/w_log_compat.c: Likewise.
7555 * math/w_logf_compat.c: Likewise.
7556 * math/w_logl_compat.c: Likewise.
7557 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7558 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7559 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7560 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7561 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7562 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7563 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7564 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7565 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7566 * sysdeps/ieee754/k_standardl.c: Likewise.
7567 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7568 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7569 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7570 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7571 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7572 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7573 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7574 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7575 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7576 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7577 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7578 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7579 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7580 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7581 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7582 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7583 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7584 * math/w_ilogb_template.c: Include <fenv.h> instead of
7586 * math/w_llogb_template.c: Likewise.
7587 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7588 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7590 2018-09-03 Joseph Myers <joseph@codesourcery.com>
7592 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
7593 * math/fromfp.h: Include <fenv_private.h>.
7594 * math/math-narrow.h: Likewise.
7595 * math/s_cexp_template.c: Likewise.
7596 * math/s_csin_template.c: Likewise.
7597 * math/s_csinh_template.c: Likewise.
7598 * math/s_ctan_template.c: Likewise.
7599 * math/s_ctanh_template.c: Likewise.
7600 * math/s_iseqsig_template.c: Likewise.
7601 * math/w_acos_compat.c: Likewise.
7602 * math/w_acosf_compat.c: Likewise.
7603 * math/w_acosl_compat.c: Likewise.
7604 * math/w_asin_compat.c: Likewise.
7605 * math/w_asinf_compat.c: Likewise.
7606 * math/w_asinl_compat.c: Likewise.
7607 * math/w_ilogb_template.c: Likewise.
7608 * math/w_j0_compat.c: Likewise.
7609 * math/w_j0f_compat.c: Likewise.
7610 * math/w_j0l_compat.c: Likewise.
7611 * math/w_j1_compat.c: Likewise.
7612 * math/w_j1f_compat.c: Likewise.
7613 * math/w_j1l_compat.c: Likewise.
7614 * math/w_jn_compat.c: Likewise.
7615 * math/w_jnf_compat.c: Likewise.
7616 * math/w_llogb_template.c: Likewise.
7617 * math/w_log10_compat.c: Likewise.
7618 * math/w_log10f_compat.c: Likewise.
7619 * math/w_log10l_compat.c: Likewise.
7620 * math/w_log2_compat.c: Likewise.
7621 * math/w_log2f_compat.c: Likewise.
7622 * math/w_log2l_compat.c: Likewise.
7623 * math/w_log_compat.c: Likewise.
7624 * math/w_logf_compat.c: Likewise.
7625 * math/w_logl_compat.c: Likewise.
7626 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7627 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7628 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7629 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7630 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7631 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7632 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7633 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7634 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7635 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7636 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7637 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7638 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
7639 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
7640 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7641 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7642 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7643 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7644 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7645 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7646 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7647 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7648 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7649 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7650 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7651 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7652 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7653 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7654 * sysdeps/ieee754/float128/float128_private.h: Likewise.
7655 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7656 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7657 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7658 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7659 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7660 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7661 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7662 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7663 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7664 * sysdeps/ieee754/k_standardl.c: Likewise.
7665 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7666 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7667 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7668 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7669 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7670 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7671 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7672 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7673 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7674 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7675 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7676 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7677 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7678 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7679 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7680 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7681 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7682 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7683 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7684 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7685 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7686 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7687 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7688 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7689 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7690 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7691 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7692 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7693 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7694 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7695 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7696 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7697 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7698 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7699 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7700 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7701 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7702 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7703 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7704 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7705 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7706 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7707 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7708 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7709 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7710 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7711 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7712 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7713 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7714 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7715 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7716 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7717 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7718 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7719 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7720 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7721 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7722 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7723 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7724 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7725 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7726 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7727 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7728 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7729 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7730 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7731 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7732 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7733 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7734 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7735 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7737 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7740 * include/stdio.h (__libc_fatal): Mention newline in comment.
7741 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
7742 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
7743 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7744 * nss/nsswitch.c (__nss_next2): Likewise.
7745 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
7746 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
7747 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
7748 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7749 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
7750 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
7751 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
7752 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
7753 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
7754 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
7755 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
7756 * sysdeps/unix/sysv/linux/netlink_assert_response.c
7757 (__netlink_assert_response): Likewise.
7759 2018-08-31 Joseph Myers <joseph@codesourcery.com>
7761 * conform/glibcconform.py: New file.
7762 * conform/list-header-symbols.py: Likewise.
7763 * conform/list-header-symbols.pl: Remove.
7764 * conform/Makefile (tests-special): Only add linknamespace tests
7766 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
7768 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
7771 * support/Makefile (libsupport-routines): Add
7772 support_copy_file_range and xcopy_file_range.
7773 * support/support.h: Include <sys/types.h>.
7774 (support_copy_file_range): New prototype.
7775 * support/support_copy_file_range.c: New file. Copied and
7776 modified from io/copy_file_range-compat.c.
7777 * support/test-container.c (copy_one_file): Call xcopy_file_rang
7778 instead of copy_file_range.
7779 * support/xcopy_file_range.c: New file.
7780 * support/xunistd.h (xcopy_file_range): New prototype.
7782 2018-08-30 Carlos O'Donell <carlos@redhat.com>
7784 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
7785 xpthread_create and xpthread_join.
7787 2018-08-30 Florian Weimer <fweimer@redhat.com>
7789 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
7791 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
7793 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
7796 2018-08-29 Joseph Myers <joseph@codesourcery.com>
7798 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
7799 and minus_oflow as non-finite.
7801 2018-08-28 Joseph Myers <joseph@codesourcery.com>
7803 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
7804 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
7805 moved to fenv_private.h except for ...
7806 (TOINT_INTRINSICS): Kept in math_private.h.
7807 (roundtoint): Likewise.
7808 (converttoint): Likewise.
7809 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
7810 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7811 * sysdeps/arm/math_private.h: Remove.
7812 * sysdeps/generic/fenv_private.h: New file. Contents moved from
7814 * sysdeps/generic/math_private.h: ... this file. Include
7815 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
7816 Include <fenv_private.h>. Remove functions and macros moved to
7818 * sysdeps/i386/fpu/math_private.h: Remove.
7819 * sysdeps/mips/math_private.h: Move to ....
7820 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
7821 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
7822 [__mips_hard_float] conditional. Include next <fenv_private.h>.
7823 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
7824 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7825 * sysdeps/powerpc/fpu/math_private.h: Do not include
7827 * sysdeps/riscv/rvf/math_private.h: Move to ....
7828 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
7829 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
7831 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
7832 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7833 * sysdeps/sparc/fpu/math_private.h: Remove.
7834 * sysdeps/i386/fpu/fenv_private.h: Move to ....
7835 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
7836 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
7838 * sysdeps/x86_64/fpu/math_private.h: Do not include
7839 <sysdeps/i386/fpu/fenv_private.h>.
7841 2018-08-28 Florian Weimer <fweimer@redhat.com>
7844 * posix/tst-regcomp-truncated.c: New file.
7845 * posix/Makefile (tests): Add it.
7846 (tst-regcomp-truncated.out): Depend on generated locales.
7848 2018-08-28 Florian Weimer <fweimer@redhat.com>
7850 * support/test-container.c (main): Treat unshare failure with
7851 EPERM as an unsupported test.
7853 2018-08-28 Florian Weimer <fweimer@redhat.com>
7856 nscd: Fix use-after-free in addgetnetgrentX and its callers.
7857 * nscd/netgroupcache.c
7858 (addgetnetgrentX): Add tofreep parameter. Do not free
7859 heap-allocated buffer.
7860 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
7861 (addgetnetgrentX_ignore): New function.
7862 (addgetnetgrent): Call it.
7863 (readdgetnetgrent): Likewise.
7865 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7867 * string/memmem.c: Use memcmp for first match.
7869 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7872 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
7874 2018-08-27 DJ Delorie <dj@redhat.com>
7876 * support/Makefile (others): Don't list programs explicitly as a
7877 dependency of "others".
7879 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7881 * sysdeps/generic/math-tests-trap-force.h: New file.
7882 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
7883 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
7884 * sysdeps/powerpc/math-tests.h: Remove file.
7885 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
7887 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
7888 Torvald Riegel <triegel@redhat.com>
7891 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
7892 Update r to include the set wake-request flag if waiters are
7893 remaining after spinning.
7895 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7897 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
7899 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
7902 regex: fix uninitialized memory access
7903 I introduced this bug into gnulib in commit
7904 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
7905 eventually it was merged into glibc. The bug was found by
7906 project-repo <bugs@feusi.co> and reported here:
7907 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
7908 Diagnosis and draft fix reported by Assaf Gordon here:
7909 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
7910 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
7911 * posix/regex_internal.c (build_wcs_upper_buffer):
7912 Fix bug when mbrtowc returns 0.
7914 2018-08-24 Carlos O'Donell <carlos@redhat.com>
7916 * po/be.po: Update translation.
7918 2018-08-24 DJ Delorie <dj@delorie.com>
7920 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
7923 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7926 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
7927 create temporary files in source tree.
7929 2018-08-24 Joseph Myers <joseph@codesourcery.com>
7931 * sysdeps/generic/math-tests-trap.h: New file.
7932 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
7933 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
7934 * sysdeps/aarch64/math-tests.h: Remove file.
7935 * sysdeps/arm/math-tests.h: Likewise.
7936 * sysdeps/riscv/math-tests.h: Likewise.
7937 * sysdeps/aarch64/math-tests-trap.h: New file.
7938 * sysdeps/arm/math-tests-trap.h: Likewise.
7939 * sysdeps/riscv/math-tests-trap.h: Likewise.
7941 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
7943 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
7944 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
7945 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
7946 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
7947 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
7948 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
7949 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7950 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
7951 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
7952 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7953 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7954 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7955 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7956 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
7957 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
7958 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
7959 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7960 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7962 2018-08-23 Joseph Myers <joseph@codesourcery.com>
7964 * sysdeps/generic/math-tests-exceptions.h: New file.
7965 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
7966 (EXCEPTION_TESTS_float): Do not define here.
7967 (EXCEPTION_TESTS_double): Likewise.
7968 (EXCEPTION_TESTS_long_double): Likewise.
7969 (EXCEPTION_TESTS_float128): Likewise.
7970 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
7972 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
7973 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
7974 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
7975 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
7976 * sysdeps/mips/math-tests.h: Likewise.
7977 * sysdeps/nios2/math-tests.h: Likewise.
7978 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7979 (EXCEPTION_TESTS_float): Do not define here.
7980 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
7981 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
7982 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
7984 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7986 * NEWS: Move optimized sinf entry to 2.29.
7988 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7990 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
7992 2018-08-22 DJ Delorie <dj@redhat.com>
7994 * Makefile (testroot.pristine): New rules to initialize the
7995 test-in-container "testroot".
7996 * Makerules (all-testsuite): Add tests-container.
7997 * Rules (tests-expected): Add tests-container.
7998 (binaries-all-tests): Likewise.
7999 (tests-container): New, run these tests in the testroot container.
8000 * support/Makefile (others): Add *-container, support_paths.c,
8001 xmkdirp, and links-dso-program.
8002 * support/links-dso-program-c.c: New.
8003 * support/links-dso-program.cc: New.
8004 * support/test-container.c: New.
8005 * support/shell-container.c: New.
8006 * support/echo-container.c: New.
8007 * support/true-container.c: New.
8008 * support/xmkdirp.c: New.
8009 * support/xsymlink.c: New.
8010 * support/support_paths.c: New.
8011 * support/support.h: Add support paths prototypes.
8012 * support/xunistd.h: Add xmkdirp () and xsymlink ().
8014 * nss/tst-nss-test3.c: Convert to test-in-container.
8015 * nss/tst-nss-test3.root/: New.
8017 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
8019 regex: port Gnulib code to z/OS POSIX environment
8020 Problem reported by Arnold Robbins in:
8021 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
8022 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
8025 2018-08-22 Joseph Myers <joseph@codesourcery.com>
8027 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
8028 (ROUNDING_TESTS_double): Remove.
8029 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
8030 (ROUNDING_TESTS_double): Remove.
8031 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
8032 (ROUNDING_TESTS_double): Remove.
8033 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
8034 (ROUNDING_TESTS_float): Remove.
8035 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
8036 (ROUNDING_TESTS_float): Remove.
8037 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
8038 (ROUNDING_TESTS_float): Remove.
8039 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
8041 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8042 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8044 * sysdeps/generic/math-tests-rounding.h: New file.
8045 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
8046 (ROUNDING_TESTS_float): Do not define here.
8047 (ROUNDING_TESTS_double): Likewise.
8048 (ROUNDING_TESTS_long_double): Likewise.
8049 (ROUNDING_TESTS_float128): Likewise.
8050 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
8051 (ROUNDING_TESTS_double): Undefine before defining.
8052 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
8053 (ROUNDING_TESTS_double): Undefine before defining.
8054 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
8055 (ROUNDING_TESTS_double): Undefine before defining.
8056 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
8057 (ROUNDING_TESTS_float): Undefine before defining.
8058 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
8059 (ROUNDING_TESTS_float): Undefine before defining.
8060 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
8061 (ROUNDING_TESTS_float): Undefine before defining.
8062 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
8063 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
8065 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
8066 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
8067 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
8068 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8069 (ROUNDING_TESTS_float): Do not define here.
8070 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
8071 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
8072 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
8073 (ROUNDING_TESTS_float): Likewise.
8074 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
8075 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
8076 * sysdeps/mips/math-tests.h [__mips_soft_float]
8077 (ROUNDING_TESTS_float): Likewise.
8078 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
8079 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
8080 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
8081 (ROUNDING_TESTS_double): Likewise.
8082 (ROUNDING_TESTS_long_double): Likewise.
8084 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
8086 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
8087 (PF_XDP): New macro.
8088 (AF_XDP): New macro.
8089 (SOL_XDP): New macro.
8091 2018-08-21 Joseph Myers <joseph@codesourcery.com>
8093 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
8094 (TCP_INQ): Likewise.
8095 (TCP_CM_INQ): Likewise.
8096 (TCP_REPAIR_ON): Likewise.
8097 (TCP_REPAIR_OFF): Likewise.
8098 (TCP_REPAIR_OFF_NO_WP): Likewise.
8099 (struct tcp_zerocopy_receive): New type.
8101 2018-08-21 Florian Weimer <fweimer@redhat.com>
8103 * support/support.h (support_descriptor_supports_holes): Declare.
8104 * support/Makefile (libsupport-routines): Add
8105 support_descriptor_supports_holes.
8106 * support/support_descriptor_supports_holes.c: New file.
8107 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
8108 and stop testing if holes are not supported.
8109 * io/test-lfs.c (do_prepare): Likewise.
8110 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
8112 * timezone/tst-tzset.c (create_tz_file): Likewise.
8113 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
8115 (do_prepare): Set it.
8116 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
8118 2018-08-21 Florian Weimer <fweimer@redhat.com>
8121 * Makeconfig (+cflags): Do not sort (and deduplicate).
8123 2018-08-21 Florian Weimer <fweimer@redhat.com>
8125 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
8126 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
8128 2018-08-20 Florian Weimer <fweimer@redhat.com>
8130 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
8131 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
8133 2018-08-20 Joseph Myers <joseph@codesourcery.com>
8135 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
8136 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
8137 and ssi_arch members.
8139 * elf/elf.c (NT_VMCOREDD): New macro.
8140 (AT_MINSIGSTKSZ): Likewise.
8142 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8144 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8145 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
8146 s_cosf-ppc64 and s_cosf-power8.
8147 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
8148 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8149 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8150 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
8154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
8155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8157 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
8158 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8160 2018-08-17 Florian Weimer <fweimer@redhat.com>
8162 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8164 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
8166 * malloc/malloc.c (_int_malloc): Additional binning code checks.
8168 2018-08-16 Florian Weimer <fweimer@redhat.com>
8170 * configure.ac: Add --with-nonshared-cflags option.
8171 * config.make.in (extra-nonshared-cflags): Set variable.
8172 * Makeconfig (CFLAGS-.oS): Use it.
8173 * manual/install.texi (Configuring and compiling): Document
8174 --with-nonshared-cflags.
8175 * configure: Regenerate.
8176 * INSTALL: Likewise.
8178 2018-08-16 Florian Weimer <fweimer@redhat.com>
8180 * Makeconfig (ASFLAGS): Always append required assembler flags.
8182 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
8184 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
8185 (malloc_consolidate): Likewise.
8187 2018-08-16 Pochang Chen <johnchen902@gmail.com>
8189 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
8191 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8193 * benchtests/bench-strlen.c (do_test): Allocate buffers before
8196 * benchtests/bench-strlen.c: Print performance numbers in json.
8198 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8200 * sysdeps/powerpc/powerpc64/multiarch/Makefile
8201 (sysdep_routines): Build strcmp-power9 and strncmp-power9
8202 only for little endian.
8203 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8204 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
8205 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
8206 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
8207 Add check for little endian.
8208 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8209 (__strcmp_power9): Add check for little endian.
8210 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
8211 Add check for little endian.
8212 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8213 (__strncmp_power9): Add check for little endian.
8214 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
8215 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
8216 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
8217 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
8218 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
8220 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
8222 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
8223 [!STRLEN](STRLEN): Set to __strlen.
8224 * sysdeps/aarch64/multiarch/strlen.c: New file.
8225 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
8226 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
8227 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8228 (__libc_ifunc_impl_list): Add strlen.
8229 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8230 strlen_generic and strlen_asimd.
8232 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8234 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
8235 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
8236 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8238 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8240 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
8242 2018-08-14 Florian Weimer <fweimer@redhat.com>
8245 * include/stdio.h (__vfxprintf): Declare.
8246 * stdio-common/fxprintf.c (__vfxprintf): New function.
8247 (__fxprintf): Call it.
8248 * misc/err.c (convert_and_print): Remove function.
8249 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
8250 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
8251 * misc/Makefile (tests): Add tst-warn-wide.
8252 * misc/tst-warn-wide.c: New file.
8254 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
8255 Szabolcs Nagy <szabolcs.nagy@arm.com>
8257 * NEWS: Mention sinf, cosf, sincosf.
8258 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
8259 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
8260 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
8261 constants rather than including generic sincosf.h.
8262 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
8263 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
8264 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
8265 (reduced_cos): Remove.
8266 (sinf_poly): New function.
8267 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
8269 2018-08-14 Florian Weimer <fweimer@redhat.com>
8273 * nss/nss_files/files-alias.c (get_next_alias): During :include:
8274 processing, bail out if no room, and close the stream before
8276 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
8277 (tst-nss-files-alias-leak): Link with libdl.
8278 (tst-nss-files-alias-leak.out): Depend on nss_files.
8280 * nss/tst-nss-files-alias-leak.c: New file.
8282 2018-08-14 Florian Weimer <fweimer@redhat.com>
8284 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
8285 server_user, stat_user.
8287 2018-08-13 Joseph Myers <joseph@codesourcery.com>
8289 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8291 (io_pgetevents): New syscall.
8294 * manual/install.texi (Configuring and compiling): Do not list
8295 tools used for testing pretty printers here.
8296 (Tools for Compilation): List Python, PExpect and GDB here.
8297 Update descriptions of uses of Perl and Python.
8298 * INSTALL: Regenerate.
8300 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8303 2018-08-13 Florian Weimer <fweimer@redhat.com>
8305 * misc/error.c (error): Add missing va_end call.
8306 (error_at_line): Likewise.
8308 2018-08-13 Florian Weimer <fweimer@redhat.com>
8310 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
8312 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8314 * benchtests/scripts/benchout.schema.json (properties): Add
8317 * benchtests/bench-skeleton.c (main): Add duration and
8318 iterations attributes.
8320 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
8322 regex: Gnulib unibyte RRI uses bytes not chars
8323 Adjust the non-glibc code to agree with what Gawk needs for
8324 rational range interpretation (RRI) for regular expression ranges.
8325 In unibyte locales, Gawk wants ranges to use the underlying byte
8326 rather than the character code point. This change does not affect
8328 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
8329 In unibyte locales, use the byte value rather than
8330 running it through btowc.
8332 2018-08-10 Joseph Myers <joseph@codesourcery.com>
8334 * sysdeps/generic/math-tests-snan.h: New file.
8335 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
8336 (SNAN_TESTS_float): Do not define here.
8337 (SNAN_TESTS_double): Likewise.
8338 (SNAN_TESTS_long_double): Likewise.
8339 (SNAN_TESTS_float128): Likewise.
8340 * sysdeps/i386/fpu/math-tests-snan.h: New file.
8341 * sysdeps/i386/fpu/math-tests.h: Remove file.
8342 * sysdeps/ia64/math-tests-snan.h: New file.
8343 * sysdeps/ia64/math-tests.h: Remove file.
8344 * sysdeps/x86/math-tests.h: Likewise.
8345 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
8347 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8348 Szabolcs Nagy <szabolcs.nagy@arm.com>
8350 * math/Makefile: Add s_sincosf_data.c.
8351 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
8352 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
8353 (sincosf_poly): Likewise.
8354 (reduce_small): Likewise.
8355 (reduce_large): Likewise.
8356 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
8357 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
8358 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
8359 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
8361 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8362 Szabolcs Nagy <szabolcs.nagy@arm.com>
8364 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
8365 (converttoint): Use lround.
8366 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
8367 document the semantics when TOINT_INTRINSICS is set.
8368 (converttoint): Likewise.
8369 (TOINT_RINT): Remove.
8370 (TOINT_SHIFT): Remove.
8371 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
8374 2018-08-10 Florian Weimer <fweimer@redhat.com>
8377 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
8379 (__old_getdents64): Use getdents64. Convert entries without
8381 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
8382 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
8383 tst-readdir64-compat.
8385 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8387 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
8390 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8392 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
8393 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
8394 code to s390x-mcount.h and #include it.
8395 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
8396 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8399 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8401 * stdlib/Versions: Remove __fentry__.
8402 * sysdeps/i386/Versions: Add __fentry__.
8403 * sysdeps/x86_64/Versions: Add __fentry__.
8405 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8407 * sysdeps/s390/Makefile: Register the new tests.
8408 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
8409 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
8410 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
8411 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
8412 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
8413 * sysdeps/s390/tst-dl-runtime.c: New file.
8415 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8417 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8420 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8422 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8425 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8427 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8430 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8432 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8435 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8437 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8438 Use symbolic offsets for stack variables.
8440 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8442 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8443 Use symbolic offsets for stack variables.
8445 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8447 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8448 Use symbolic offsets for stack variables.
8450 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8452 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8453 Use symbolic offsets for stack variables.
8455 2018-08-09 Joseph Myers <joseph@codesourcery.com>
8457 * math/gen-libm-test.py: New file.
8458 * math/gen-libm-test.pl: Remove.
8459 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
8460 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
8462 ($(libm-test-c-noauto-obj)): Likewise.
8463 ($(libm-test-c-auto-obj)): Likewise.
8464 ($(libm-test-c-narrow-obj)): Likewise.
8465 (regen-ulps): Likewise.
8466 * math/README.libm-test: Update references to gen-libm-test.pl.
8467 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
8468 referencing gen-libm-test.pl.
8469 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
8470 * math/libm-test-support.c: Likewise.
8471 * math/libm-test-support.h: Likewise.
8472 * sysdeps/generic/libm-test-ulps: Likewise.
8474 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8476 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
8479 2018-08-08 Joseph Myers <joseph@codesourcery.com>
8481 * math/libm-test-nextdown.inc (do_test): Move comment to ....
8482 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
8484 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8486 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
8488 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
8489 __pthread_setspecific): Add hidden proto.
8490 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
8491 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
8493 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8495 * benchtests/bench-string.h (buf1_size, buf2_size): New
8497 (init_sizes): New function.
8498 (test_init): Use it.
8499 (alloc_buf, exit_error): New functions.
8500 (alloc_bufs): Use ALLOC_BUF.
8501 (realloc_bufs): Remove.
8502 * benchtests/bench-memcmp.c (do_test): Adjust.
8503 * benchtests/bench-memset-large.c (do_test): Likewise.
8504 * benchtests/bench-memset-walk.c (do_test): Likewise.
8505 * benchtests/bench-memset.c (do_test): Likewise.
8506 * benchtests/bench-strncmp.c (do_test): Likewise.
8508 2018-08-06 Andreas Schwab <schwab@suse.de>
8510 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
8511 of CONST_THREAD_AREA.
8513 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
8515 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
8516 (STATE_SAVE_MASK): Likewise.
8517 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
8518 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
8519 (STATE_SAVE_MASK): Likewise.
8520 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
8521 instead of <cpu-features.h>.
8523 2018-08-03 DJ Delorie <dj@redhat.com>
8525 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
8526 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
8528 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
8530 2018-08-03 Joseph Myers <joseph@codesourcery.com>
8532 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
8534 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
8535 * math/libm-test-logb.inc (logb_test_data): Likewise.
8537 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
8539 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
8540 * string/strstr.c (AVAILABLE): Likewise.
8542 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8544 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
8546 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
8547 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
8548 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
8550 2018-08-03 Carlos O'Donell <carlos@redhat.com>
8552 * po/be.po: Update translation.
8554 * po/be.po: Update translation.
8556 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8558 * sysdeps/x86/cpu-features-offsets.sym
8559 (rtld_global_ro_offsetof): Removed.
8560 (CPU_FEATURES_SIZE): Likewise.
8561 (CPUID_OFFSET): Likewise.
8562 (CPUID_SIZE): Likewise.
8563 (CPUID_EAX_OFFSET): Likewise.
8564 (CPUID_EBX_OFFSET): Likewise.
8565 (CPUID_ECX_OFFSET): Likewise.
8566 (CPUID_EDX_OFFSET): Likewise.
8567 (FAMILY_OFFSET): Likewise.
8568 (MODEL_OFFSET): Likewise.
8569 (FEATURE_OFFSET): Likewise.
8570 (FEATURE_SIZ): Likewise.
8571 (COMMON_CPUID_INDEX_1): Likewise.
8572 (COMMON_CPUID_INDEX_7): Likewise.
8573 (FEATURE_INDEX_1): Likewise.
8574 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
8576 2018-08-02 Carlos O'Donell <carlos@redhat.com>
8578 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
8579 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
8580 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
8581 (install-locales): Depend on install-locale-archive.
8582 (install-locale-archive): Define.
8583 (install-locale-files): Define.
8584 (build-one-locale): Define macro.
8585 * manual/install.texi (Running make install): Document.
8586 * manual/INSTALL: Regenerate.
8588 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8590 * benchtests/scripts/compare_strings.py: Import traceback.
8591 (parse_file): Pretty-print error.
8593 * NEWS: Mention the change.
8594 * elf/dl-tunables.list: Rename tune namespace to cpu.
8595 * sysdeps/powerpc/dl-tunables.list: Likewise.
8596 * sysdeps/x86/dl-tunables.list: Likewise.
8597 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
8599 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
8600 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
8601 * manual/README.tunables: Likewise.
8602 * manual/tunables.texi: Likewise.
8603 * sysdeps/powerpc/cpu-features.c: Likewise.
8604 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8605 (init_cpu_features): Likewise.
8606 * sysdeps/x86/cpu-features.c: Likewise.
8607 * sysdeps/x86/cpu-features.h: Likewise.
8608 * sysdeps/x86/cpu-tunables.c: Likewise.
8609 * sysdeps/x86_64/Makefile: Likewise.
8610 * sysdeps/x86/dl-cet.c: Likewise.
8612 2018-08-02 Joseph Myers <joseph@codesourcery.com>
8615 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
8616 [__mips_hard_float].
8617 (FE_UNDERFLOW): Likewise.
8618 (FE_OVERFLOW): Likewise.
8619 (FE_DIVBYZERO): Likewise.
8620 (FE_INVALID): Likewise.
8621 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
8622 (FE_TOWARDZERO): Define only if [__mips_hard_float].
8623 (FE_UPWARD): Likewise.
8624 (FE_DOWNWARD): Likewise.
8625 (__FE_UNDEFINED): Define if [!__mips_hard_float]
8626 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
8627 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
8628 [__mips_hard_float].
8629 (FP_ROUNDMODE): Likewise.
8630 (FP_RND_NEAREST): Likewise.
8631 (FP_RND_ZERO): Likewise.
8632 (FP_RND_PINF): Likewise.
8633 (FP_RND_MINF): Likewise.
8634 (FP_EX_INVALID): Likewise.
8635 (FP_EX_OVERFLOW): Likewise.
8636 (FP_EX_UNDERFLOW): Likewise.
8637 (FP_EX_DIVZERO): Likewise.
8638 (FP_EX_INEXACT): Likewise.
8639 (FP_INIT_ROUNDMODE): Likewise.
8640 * sysdeps/mips/nofpu/fesetenv.c: New file.
8641 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
8643 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8645 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
8646 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
8647 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
8648 conditional on [FE_UPWARD].
8650 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
8652 regex: fix memory leak in Gnulib
8653 Problem and fix reported by Assaf Gordon in:
8654 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
8655 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
8656 range_ends members too, as they are defined in 'struct
8657 re_charset_t' even if not _LIBC. This affects only Gnulib.
8659 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
8661 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
8663 (get_common_indices): This.
8664 (init_cpu_features): Updated.
8666 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8668 * sysdeps/generic/math-tests-snan-payload.h: New file.
8669 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
8670 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
8671 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
8672 * sysdeps/generic/math-tests.h: Include
8673 <math-tests-snan-payload.h>.
8674 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8675 * sysdeps/hppa/math-tests.h: Remove file.
8676 * sysdeps/mips/math-tests.h [!__mips_nan2008]
8677 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8678 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
8681 * sysdeps/generic/math-tests-snan-cast.h: New file.
8682 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
8683 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
8684 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
8685 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
8687 2018-08-01 Carlos O'Donel <carlos@redhat.com>
8689 * version.h (RELEASE): Set to "development".
8690 (VERSION): Set to "2.28.9000".
8691 * NEWS (2.29): New section.
8693 * version.h (RELEASE): Set to "stable".
8694 (VERSION): Set to "2.28".
8695 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
8696 * NEWS: Add the list of bugs fixed in 2.28.
8698 * po/ca.po: Update to latest version.
8699 * po/cs.po: Likewise
8700 * po/da.po: Likewise
8701 * po/el.po: Likewise
8702 * po/eo.po: Likewise
8703 * po/es.po: Likewise
8704 * po/fi.po: Likewise
8705 * po/fr.po: Likewise
8706 * po/gl.po: Likewise
8707 * po/hu.po: Likewise
8708 * po/ia.po: Likewise
8709 * po/id.po: Likewise
8710 * po/it.po: Likewise
8711 * po/ja.po: Likewise
8712 * po/ko.po: Likewise
8713 * po/lt.po: Likewise
8714 * po/nb.po: Likewise
8715 * po/nl.po: Likewise
8716 * po/pt_BR.po: Likewise
8717 * po/ru.po: Likewise
8718 * po/rw.po: Likewise
8719 * po/sk.po: Likewise
8720 * po/sl.po: Likewise
8721 * po/tr.po: Likewise
8722 * po/zh_CN.po: Likewise
8723 * po/zh_TW.po: Likewise
8725 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8727 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
8729 (init): ... before initializing libpthread.
8731 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
8732 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
8733 (__mach_setup_tls): ... new function.
8734 (mach_setup_tls): New alias.
8735 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
8736 __mach_setup_thread.
8737 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
8738 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
8739 * mach/Versions [libc] (mach_setup_tls): Add symbol.
8740 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
8742 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8744 * manual/install.texi: Update versions.
8745 * INSTALL: Regenerate.
8747 * manual/contrib.texi (Contributors): Update contributions.
8749 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8751 * po/be.po: Update translations.
8753 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8755 * sysdeps/sh/libm-test-ulps: Update.
8757 2018-07-30 Carlos O'Donell <carlos@redhat.com>
8759 * po/bg.po: Update translations.
8760 * po/de.po: Likewise.
8761 * po/hr.po: Likewise.
8762 * po/pt_BR.po: Likewise.
8763 * po/sv.po: Likewise.
8764 * po/vi.po: Likewise.
8766 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8769 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8770 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
8771 (CFLAGS-tst-cet-property-1.o): New.
8772 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
8773 ($(objpfx)tst-cet-property-2): Likewise.
8774 ($(objpfx)tst-cet-property-2.out): Likewise.
8775 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
8776 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
8777 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
8778 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
8779 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
8781 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8784 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
8786 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8788 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
8789 __sbrk): Do not set attribute_hidden.
8790 * sysdeps/mach/hurd/not-errno.h: New file.
8791 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8792 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
8794 2018-07-27 Carlos O'Donell <carlos@redhat.com>
8796 * po/uk.po: Update translations.
8797 * po/cs.po: Likewise.
8798 * po/pl.po: Likewise.
8800 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
8802 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
8803 parse beyond the note end.
8805 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8807 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
8808 kernel does not support OFD locks.
8809 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
8811 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8813 * sysdeps/mach/hurd/Versions (libc): Make __access and
8814 __access_noerrno external so they can override the ld symbols.
8815 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
8816 __writev, __open64, __access_noerrno extern so they can be overrided.
8817 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
8818 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8820 2018-07-26 Carlos O'Donell <carlos@redhat.com>
8822 * po/libc.pot: Regenerate.
8824 2018-07-26 Joseph Myers <joseph@codesourcery.com>
8826 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
8828 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8831 * sysdeps/x86/cpu-features.c (get_extended_indices): New
8833 (init_cpu_features): Call get_extended_indices for both Intel
8835 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
8836 Remove "for AMD" comment.
8838 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8841 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
8842 COMMON_CPUID_INDEX_80000001.
8844 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
8846 * string/tst-xbzero-opt.c (use_test_buffer): New function.
8847 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
8849 2018-07-26 Florian Weimer <fweimer@redhat.com>
8851 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
8852 aliases for symbols not in the implementation namespace.
8854 2018-07-25 Carlos O'Donell <carlos@redhat.com>
8857 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
8858 lowercase in LATIN script.
8859 * localedata/Makefile (test-input): Add en_US.UTF-8.
8860 * localedata/en_US.UTF-8.in: New file.
8861 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
8862 and restore old tests.
8863 * posix/tst-regexloc.c (do_test): Add back range expression test.
8865 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8867 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
8869 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8871 * nptl/threads.h: Move to ...
8872 * sysdeps/nptl/threads.h: ... here.
8873 * sysdeps/hurd/stdc-predef.h: New file.
8875 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8877 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8878 tst-cet-setcontext-1 if CET is enabled.
8879 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
8880 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
8882 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8884 * include/threads.h: Move to ...
8885 * sysdeps/nptl/threads.h: ... here.
8886 * sysdeps/htl/threads.h: New file.
8887 * conform/Makefile (linknamespace-libs-ISO11): Use
8888 static-thread-library instead of linking libpthread.
8889 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
8891 2018-07-25 Florian Weimer <fweimer@redhat.com>
8893 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
8894 nanoseconds into seconds.
8895 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
8896 (do_test): Likewise.
8897 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
8898 (do_test): Likewise. Avoid nanosecond overflow and spurious
8899 timeouts due to system load.
8900 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
8901 (child_wait): Increment it.
8902 (do_test): Wait as long as necessary until all expected threads
8905 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
8906 H.J. Lu <hongjiu.lu@intel.com>
8908 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
8910 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
8911 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
8912 (__push___start_context): New.
8913 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
8915 (__getcontext): Record the current shadow stack base. Save the
8916 caller's shadow stack pointer and base.
8917 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
8918 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
8919 (__push___start_context): New prototype.
8920 (__makecontext): Call __push___start_context to allocate a new
8921 shadow stack, push __start_context onto the new stack as well
8922 as the new shadow stack.
8923 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
8925 (__setcontext): Restore the target shadow stack.
8926 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
8928 (__swapcontext): Record the current shadow stack base. Save
8929 the caller's shadow stack pointer and base. Restore the target
8931 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8932 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
8933 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
8935 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8937 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
8938 tst-setcontext8 and tst-setcontext9.
8939 * stdlib/tst-setcontext6.c: New file.
8940 * stdlib/tst-setcontext7.c: Likewise.
8941 * stdlib/tst-setcontext8.c: Likewise.
8942 * stdlib/tst-setcontext9.c: Likewise.
8944 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8946 * stdlib/Makefile ((tests): Add tst-setcontext5.
8947 * stdlib/tst-setcontext5.c: New file.
8949 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8951 * stdlib/Makefile (tests): Add tst-setcontext4.
8952 * stdlib/tst-setcontext4.c: New file.
8954 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8956 * stdlib/Makefile (tests): Add tst-swapcontext1.
8957 * stdlib/tst-swapcontext1.c: New test.
8959 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8961 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
8962 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
8963 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
8964 and tst-cet-legacy-4c.
8965 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
8966 and tst-cet-legacy-mod-4.
8967 (CFLAGS-tst-cet-legacy-2.c): New.
8968 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
8969 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
8970 (CFLAGS-tst-cet-legacy-3.c): Likewise.
8971 (CFLAGS-tst-cet-legacy-4.c): Likewise.
8972 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
8973 ($(objpfx)tst-cet-legacy-1): Likewise.
8974 ($(objpfx)tst-cet-legacy-2): Likewise.
8975 ($(objpfx)tst-cet-legacy-2.out): Likewise.
8976 ($(objpfx)tst-cet-legacy-2a): Likewise.
8977 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
8978 ($(objpfx)tst-cet-legacy-4): Likewise.
8979 ($(objpfx)tst-cet-legacy-4.out): Likewise.
8980 ($(objpfx)tst-cet-legacy-4a): Likewise.
8981 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
8982 (tst-cet-legacy-4a-ENV): Likewise.
8983 ($(objpfx)tst-cet-legacy-4b): Likewise.
8984 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
8985 (tst-cet-legacy-4b-ENV): Likewise.
8986 ($(objpfx)tst-cet-legacy-4c): Likewise.
8987 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
8988 (tst-cet-legacy-4c-ENV): Likewise.
8989 * sysdeps/x86/tst-cet-legacy-1.c: New file.
8990 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
8991 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
8992 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
8993 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
8994 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
8995 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
8996 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
8997 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
8998 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
8999 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
9001 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9003 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9004 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9006 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9007 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9010 2018-07-25 Andreas Schwab <schwab@suse.de>
9013 * locale/weightwc.h (findidx): Handle the case where usrc is a
9014 prefix of cp but one character too short.
9016 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9018 * NEWS: Add ISO C threads addition.
9020 2018-07-24 Florian Weimer <fweimer@redhat.com>
9022 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9023 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
9024 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
9027 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9029 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
9030 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
9031 <sys/prctl.h> and <asm/prctl.h>.
9032 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
9033 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
9035 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
9036 ARCH_CET_LEGACY_BITMAP.
9037 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
9038 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
9039 * sysdeps/x86/libc-start.c: Include <startup.h>.
9041 2018-07-24 Florian Weimer <fweimer@redhat.com>
9043 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
9044 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
9046 2018-07-24 Rical Jasan <rj@2c3t.io>
9047 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9048 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9051 * manual/debug.texi: Update adjacent chapter name.
9052 * manual/probes.texi: Likewise.
9053 * manual/threads.texi (ISO C Threads): New section.
9054 (POSIX Threads): Convert to a section.
9056 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9057 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9060 * nptl/Makefile (tests): Add new test files.
9061 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
9062 * nptl/tst-cnd-basic.c: Likewise.
9063 * nptl/tst-cnd-broadcast.c: Likewise.
9064 * nptl/tst-cnd-timedwait.c: Likewise.
9065 * nptl/tst-mtx-basic.c: Likewise.
9066 * nptl/tst-mtx-recursive.c: Likewise.
9067 * nptl/tst-mtx-timedlock.c: Likewise.
9068 * nptl/tst-mtx-trylock.c: Likewise.
9069 * nptl/tst-thrd-basic.c: Likewise.
9070 * nptl/tst-thrd-detach.c: Likewise.
9071 * nptl/tst-thrd-sleep.c: Likewise.
9072 * nptl/tst-tss-basic.c: Likewise.
9074 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9077 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9078 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
9080 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9081 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9082 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9083 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9084 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9085 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9086 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9087 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9088 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9089 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9090 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9091 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9099 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9100 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9101 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9102 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9103 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9104 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9105 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9106 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9107 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
9108 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
9109 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
9110 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
9111 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
9113 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9114 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9115 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9116 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9117 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9118 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9119 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9120 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9121 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9122 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9123 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9124 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9131 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9132 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9133 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9134 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9135 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9136 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9137 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9138 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9141 * conform/data/threads.h-data (thread_local): New macro.
9142 (TSS_DTOR_ITERATIONS): Likewise.
9144 (tss_dtor_t): Likewise.
9145 (tss_create): New function.
9146 (tss_get): Likewise.
9147 (tss_set): Likewise.
9148 (tss_delete): Likewise.
9149 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
9150 tss_get, and tss_set objects.
9151 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9152 * nptl/tss_create.c: New file.
9153 * nptl/tss_delete.c: Likewise.
9154 * nptl/tss_get.c: Likewise.
9155 * nptl/tss_set.c: Likewise.
9156 * sysdeps/nptl/threads.h (thread_local): New define.
9157 (TSS_DTOR_ITERATIONS): Likewise.
9158 (tss_t): New typedef.
9159 (tss_dtor_t): Likewise.
9160 (tss_create): New prototype.
9161 (tss_get): Likewise.
9162 (tss_set): Likewise.
9163 (tss_delete): Likewise.
9166 * conform/data/threads.h-data (cnd_t): New type.
9167 (cnd_init): New function.
9168 (cnd_signal): Likewise.
9169 (cnd_broadcast): Likewise.
9170 (cnd_wait): Likewise.
9171 (cnd_timedwait): Likewise.
9172 (cnd_destroy): Likewise.
9173 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
9174 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
9176 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9177 * nptl/cnd_broadcast.c: New file.
9178 * nptl/cnd_destroy.c: Likewise.
9179 * nptl/cnd_init.c: Likewise.
9180 * nptl/cnd_signal.c: Likewise.
9181 * nptl/cnd_timedwait.c: Likewise.
9182 * nptl/cnd_wait.c: Likewise.
9183 * sysdeps/nptl/threads.h (cnd_t): New type.
9184 (cnd_init): New prototype.
9185 (cnd_signa): Likewise.
9186 (cnd_broadcast): Likewise.
9187 (cnd_wait): Likewise.
9188 (cnd_timedwait): Likewise.
9189 (cnd_destroy): Likewise.
9192 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
9193 (once_flag): New type.
9194 (call_once): New function.
9195 * nptl/Makefile (libpthread-routines): Add call_once object.
9196 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
9197 * nptl/call_once.c: New file.
9198 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
9199 (once_flag): New type.
9200 (call_once): New prototype.
9203 * conform/data/threads.h-data (mtx_plain): New constant.
9204 (mtx_recursive): Likewise.
9205 (mtx_timed): Likewise.
9207 (mtx_init): New function.
9208 (mtx_lock): Likewise.
9209 (mtx_timedlock): Likewise.
9210 (mtx_trylock): Likewise.
9211 (mtx_unlock): Likewise.
9212 (mtx_destroy): Likewise.
9213 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
9214 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
9215 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
9216 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
9217 * nptl/mtx_destroy.c: New file.
9218 * nptl/mtx_init.c: Likewise.
9219 * nptl/mtx_lock.c: Likewise.
9220 * nptl/mtx_timedlock.c: Likewise.
9221 * nptl/mtx_trylock.c: Likewise.
9222 * nptl/mtx_unlock.c: Likewise.
9223 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
9224 (mtx_recursive): Likewise.
9225 (mtx_timed): Likewise.
9227 (mtx_init): New prototype.
9228 (mtx_lock): Likewise.
9229 (mtx_timedlock): Likewise.
9230 (mtx_trylock): Likewise.
9231 (mtx_unlock): Likewise.
9232 (mtx_destroy): Likewise.
9235 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
9236 (linknamespace-libs-ISO11): Add libpthread.a.
9237 * conform/data/threads.h-data: New file: add C11 thrd_* types and
9239 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
9240 * nptl/Makefile (headers): Add threads.h.
9241 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
9242 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
9244 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
9245 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
9246 thrd_join, thrd_sleep, and thrd_yield symbols.
9247 * nptl/descr.h (struct pthread): Add c11 field.
9248 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
9249 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
9250 routine with expected function prototype.
9251 (__pthread_create_2_1): Add C11 threads check based on attribute
9253 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
9254 * nptl/thrd_create.c: New file.
9255 * nptl/thrd_current.c: Likewise.
9256 * nptl/thrd_detach.c: Likewise.
9257 * nptl/thrd_equal.c: Likewise.
9258 * nptl/thrd_exit.c: Likewise.
9259 * nptl/thrd_join.c: Likewise.
9260 * nptl/thrd_priv.h: Likewise.
9261 * nptl/thrd_sleep.c: Likewise.
9262 * nptl/thrd_yield.c: Likewise.
9263 * include/threads.h: Likewise.
9265 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9267 * bits/indirect-return.h: New file.
9268 * misc/sys/cdefs.h (__glibc_has_attribute): New.
9269 * sysdeps/x86/bits/indirect-return.h: Likewise.
9270 * stdlib/Makefile (headers): Add bits/indirect-return.h.
9271 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
9272 (swapcontext): Add __INDIRECT_RETURN.
9273 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
9274 (prepare_test_buffer): Use it.
9276 2018-07-24 Andreas Schwab <schwab@suse.de>
9279 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
9280 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
9282 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9284 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
9285 Redefine if shadow stack is enabled.
9286 (SYSCALL_ERROR_LABEL): Likewise.
9287 (__vfork): Pop shadow stack and jump back to to caller directly
9288 when shadow stack is in use.
9289 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
9290 Redefine if shadow stack is enabled.
9291 (SYSCALL_ERROR_LABEL): Likewise.
9292 (__vfork): Pop shadow stack and jump back to to caller directly
9293 when shadow stack is in use.
9295 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9297 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
9300 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
9303 2018-07-20 Joseph Myers <joseph@codesourcery.com>
9305 * scripts/build-many-glibcs.py (Context.checkout): Default
9306 binutils version to 2.31 branch.
9308 2018-07-20 Zong Li <zong@andestech.com>
9310 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
9311 URL of gcc's tarball.
9313 2018-07-20 Florian Weimer <fweimer@redhat.com>
9316 * posix/regcomp.c (build_equiv_class): When comparing weights, do
9317 not compare an extra byte after the end of the weights.
9319 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9321 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
9323 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
9325 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
9326 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
9327 * scripts/check-execstack.awk: Consider `xfail' variable containing a
9328 list of libraries whose stack executability is expected.
9329 * elf/Makefile ($(objpfx)check-execstack.out): Pass
9330 $(check-execstack-xfail) to check-execstack.awk through `xfail'
9332 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
9333 libc.so libpthread.so.
9335 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
9337 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
9339 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
9341 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
9343 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
9345 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9347 * benchtests/scripts/compare_bench.py (__main__): use the argparse
9348 library to improve command line parsing.
9349 (__main__): make schema file as optional parameter (--schema),
9350 defaulting to benchtests/scripts/benchout.schema.json.
9351 (main): move out of the parsing stuff to __main_ and leave it
9352 only as caller of main comparison functions.
9354 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
9356 * NEWS: Add a note for Intel CET status.
9357 * manual/install.texi: Likewise.
9358 * INSTALL: Regenerated.
9360 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
9363 * localedata/locales/oc_FR (mon): Rename to...
9364 (alt_mon): This, then update October (typo fix).
9365 (mon): New content (genitive case, month names preceded by
9369 * localedata/locales/oc_FR (abday): Update all items.
9370 (day): Update Wednesday and Saturday (typo fixes).
9371 (abmon): Update all items, except May.
9372 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
9373 (LC_IDENTIFICATION): Bump the revision number and date.
9374 Keep the "category" entries in alphabetic order.
9375 (LC_ADDRESS): Remove no longer needed comment.
9376 (LC_COLLATE): Use “copy "ca_ES"”.
9377 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
9380 2018-07-18 Joseph Myers <joseph@codesourcery.com>
9382 * grp/tst_fgetgrent.c: Include <unistd.h>.
9383 (main): Use mkstemp instead of tmpnam.
9384 * io/test-utime.c (main): Likewise.
9385 * posix/annexc.c (macrofile): Change to modifiable array.
9386 (main): Remove macrofile here.
9387 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9389 (check_header): Do not remove macrofile here.
9390 * posix/bug-getopt1.c: Include <stdlib.h>.
9391 (do_test): Use mkstemp instead of tmpnam.
9392 * posix/bug-getopt2.c: Include <stdlib.h>.
9393 (do_test): Use mkstemp instead of tmpnam.
9394 * posix/bug-getopt3.c: Include <stdlib.h>.
9395 (do_test): Use mkstemp instead of tmpnam.
9396 * posix/bug-getopt4.c: Include <stdlib.h>.
9397 (do_test): Use mkstemp instead of tmpnam.
9398 * posix/bug-getopt5.c: Include <stdlib.h>.
9399 (do_test): Use mkstemp instead of tmpnam.
9400 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
9401 (main): Use mkstemp instead of tmpnam.
9402 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
9403 (main): Use mkstemp instead of tmpnam.
9404 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
9405 (main): use mkstemp instead of tmpnam.
9406 * stdlib/isomac.c (macrofile): Change to modifiable array.
9407 (main): Remove macrofile here.
9408 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9410 (check_header): Do not remove macrofile here.
9412 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9414 * manual/tunables.texi: Document glibc.tune.x86_ibt and
9415 glibc.tune.x86_shstk.
9417 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9419 * NEWS: Mention --enable-cet.
9420 * manual/install.texi: Document --enable-cet.
9421 * INSTALL: Regenerated.
9423 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9425 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
9426 Add _CET_NOTRACK before indirect jump to jump table.
9428 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9430 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
9431 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9434 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9436 * sysdeps/i386/i686/multiarch/strcat-sse2.S
9437 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9440 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9442 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
9443 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9446 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9448 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
9449 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9452 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9454 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
9455 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9457 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
9459 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9461 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
9462 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9465 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9467 * sysdeps/i386/i686/multiarch/memset-sse2.S
9468 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9471 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9473 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
9474 indirect jump to jump table.
9476 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9478 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
9479 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9483 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9485 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
9486 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9490 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9492 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9493 _CET_NOTRACK before indirect jump to jump table.
9495 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9497 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
9498 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9501 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9503 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
9504 indirect jump to jump table.
9506 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
9509 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
9510 (LOCALES): Likewise.
9511 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
9512 * localedata/locales/sah_RU: New file.
9513 * localedata/sah_RU.UTF-8.in: New file.
9515 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9517 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
9519 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9520 _CET_ENDBR to indirect jump targets and adjust jump destination
9522 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
9524 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9525 _CET_ENDBR to indirect jump targets and adjust jump destination
9527 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
9529 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
9530 _CET_ENDBR to indirect jump targets and adjust jump destination
9533 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9535 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9538 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9540 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
9542 (_dl_tlsdesc_undefweak): Likewise.
9543 (_dl_tlsdesc_dynamic): Likewise.
9544 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
9545 (_dl_tlsdesc_resolve_rel): Likewise.
9546 (_dl_tlsdesc_resolve_rela): Likewise.
9547 (_dl_tlsdesc_resolve_hold): Likewise.
9548 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
9549 (_dl_tlsdesc_undefweak): Likewise.
9550 (_dl_tlsdesc_dynamic): Likewise.
9551 (_dl_tlsdesc_resolve_rela): Likewise.
9552 (_dl_tlsdesc_resolve_hold): Likewise.
9554 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9556 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
9558 * sysdeps/x86_64/crti.S (_init): Likewise.
9561 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
9564 * localedata/locales/os_RU (mon): Rename to...
9566 (mon): Import from CLDR (genitive case).
9568 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9570 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
9571 cet-tunables.h> when CET is enabled.
9573 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
9576 * configure.ac: Add --enable-cet.
9577 * configure: Regenerated.
9578 * elf/Makefille (all-built-dso): Add a comment.
9579 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
9580 Include <dl-prop.h>.
9581 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
9583 * elf/dl-open.c: Include <dl-prop.h>.
9584 (dl_open_worker): Call _dl_open_check.
9585 * elf/rtld.c: Include <dl-prop.h>.
9586 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
9588 * sysdeps/generic/dl-prop.h: New file.
9589 * sysdeps/i386/dl-cet.c: Likewise.
9590 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
9591 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
9592 * sysdeps/x86/cet-tunables.h: Likewise.
9593 * sysdeps/x86/check-cet.awk: Likewise.
9594 * sysdeps/x86/configure: Likewise.
9595 * sysdeps/x86/configure.ac: Likewise.
9596 * sysdeps/x86/dl-cet.c: Likewise.
9597 * sysdeps/x86/dl-procruntime.c: Likewise.
9598 * sysdeps/x86/dl-prop.h: Likewise.
9599 * sysdeps/x86/libc-start.h: Likewise.
9600 * sysdeps/x86/link_map.h: Likewise.
9601 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
9603 (_dl_runtime_profile): Likewise.
9604 (_dl_runtime_resolve_shstk): New.
9605 (_dl_runtime_profile_shstk): Likewise.
9606 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
9608 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
9609 (CFLAGS-.os): Likewise.
9610 (CFLAGS-.op): Likewise.
9611 (CFLAGS-.oS): Likewise.
9612 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
9614 (tests-special): Add $(objpfx)check-cet.out.
9615 (cet-built-dso): New.
9616 (+$(cet-built-dso:=.note)): Likewise.
9617 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
9618 ($(objpfx)check-cet.out): New.
9619 (generated): Add check-cet.out.
9620 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
9622 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
9623 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9624 (init_cpu_features): Call get_cet_status to check CET status
9625 and update dl_x86_feature_1 with CET status. Call
9626 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
9627 (set_x86_shstk). Disable and lock CET in libc.a.
9628 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
9629 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
9630 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9631 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
9632 (_CET_ENDBR): Define if not defined.
9633 (ENTRY): Add _CET_ENDBR.
9634 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
9636 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
9638 (_dl_runtime_profile): Likewise.
9640 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
9643 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
9644 restore r2 on longjmp.
9645 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
9647 Added rules to build test tst-setjmp-bug21895-static.
9648 Added module setjmp-bug21895 and rules to build a shared object from it.
9649 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
9650 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
9652 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
9654 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
9655 * benchtests/bench-strstr.c: Likewise.
9656 * string/memmem.c (FASTSEARCH): Define.
9657 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
9658 Add support for FASTSEARCH.
9659 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
9660 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
9661 (FASTSEARCH): Define.
9662 * string/test-strcasestr.c: Rename __strnlen to strnlen.
9663 * string/test-strstr.c: Likewise.
9665 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
9667 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
9668 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
9670 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
9671 H.J. Lu <hongjiu.lu@intel.com>
9673 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
9674 (__longjmp): Restore shadow stack pointer if shadow stack is
9675 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9676 isn't defined for __longjmp_cancel.
9677 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
9678 (_setjmp): Save shadow stack pointer if shadow stack is enabled
9679 and SHADOW_STACK_POINTER_OFFSET is defined.
9680 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
9681 (setjmp): Save shadow stack pointer if shadow stack is enabled
9682 and SHADOW_STACK_POINTER_OFFSET is defined.
9683 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
9684 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9685 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9686 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
9688 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9689 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9690 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
9691 Remove jmp_buf-ssp.sym.
9692 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9694 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9695 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9696 * sysdeps/x86/Makefile (gen-as-const-headers): Add
9698 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
9699 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
9700 (__longjmp): Restore shadow stack pointer if shadow stack is
9701 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9702 isn't defined for __longjmp_cancel.
9703 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
9704 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9705 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9707 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
9710 * nptl/pthread_create.c: Include <tls-setup.h>.
9711 (__pthread_create_2_1): Call tls_setup_tcbhead.
9712 * sysdeps/generic/tls-setup.h: New file.
9713 * sysdeps/x86/nptl/tls-setup.h: Likewise.
9714 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
9715 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
9717 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
9719 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9720 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
9721 (X86_FEATURE_1_SHSTK): Likewise.
9722 (CET_ENABLED): Likewise.
9723 (IBT_ENABLED): Likewise.
9724 (SHSTK_ENABLED): Likewise.
9726 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
9729 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
9730 (LOCALES): Likewise.
9731 * localedata/dsb_DE.UTF-8.in: New file.
9732 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
9734 2018-07-12 Florian Weimer <fweimer@redhat.com>
9736 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
9737 __mprotect, not mprotect.
9739 2018-07-11 Florian Weimer <fweimer@redhat.com>
9741 * io/Makefile (headers): Add bits/statx.h.
9743 2018-07-10 Mike FABIAN <mfabian@redhat.com>
9745 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
9746 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
9748 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
9749 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
9752 2018-07-10 Florian Weimer <fweimer@redhat.com>
9754 * io/Makefile (routines): Add statx.
9755 (tests-internal): Add tst-statx.
9756 * io/Versions (GLIBC_2.28): Export statx.
9757 * io/bits/statx.h: New file.
9758 * io/sys/stat.h [__USE_GNU]: Include it.
9759 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
9760 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
9762 * io/statx.c: New file.
9763 * io/statx_generic.: Likewise.
9764 * io/tst-statx.: Likewise.
9765 * include/bits/statx.h: Likewise.
9766 * sysdeps/unix/sysv/linux/kernel-features.h
9767 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
9768 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9769 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
9770 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
9772 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9773 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
9774 * sysdeps/unix/sysv/linux/statx.c: New file.
9775 * manual/filesys.texi: Note that statx is undocumented.
9776 * sysdeps/**/libc*.abilist: Update.
9778 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9780 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
9781 a kernel issue which lead to test failure in some cases.
9783 2018-07-10 Florian Weimer <fweimer@redhat.com>
9786 * posix/regexec.c (check_node_accept_bytes): When comparing
9787 weights, do not compare an extra byte after the end of the
9790 2018-07-10 Florian Weimer <fweimer@redhat.com>
9792 * libio/readline.c: Fix copyright year.
9793 * libio/tst-readline.c Likewise.
9794 * nss/tst-nss-files-hosts-getent.c: Likewise.
9796 2018-07-06 Florian Weimer <fweimer@redhat.com>
9799 * nss/nss_files/files-XXX.c (internal_getent): Use
9800 __libc_readline_unlocked. Seek back to the start of the line if
9801 parsing failes with ERANGE.
9802 (get_contents_ret, get_contents): Remove.
9803 * nss/tst-nss-files-hosts-getent.c: New file.
9804 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
9805 (tst-nss-files-hosts-getent): Link with -ldl.
9807 2018-07-06 Florian Weimer <fweimer@redhat.com>
9809 * include/stdio.h (__libc_readline_unlocked): Declare.
9810 (__ftello64, __fseeko64): Declare aliases.
9811 * libio/readline.c: New file.
9812 * libio/tst-readline.c: Likewise.
9813 (routines): Add readline.
9814 (tests-internal): Add tst-readlime.
9815 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
9816 __libc_readline_unlocked.
9817 * libio/fseeko.c (__fseeko): Rename from fseeko.
9818 (fseeko): Add alias.
9819 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
9820 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
9821 (fseeko64): Add alias.
9822 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
9823 * libio/ftello64.c (__ftello64): Rename from ftello64.
9824 (ftello64): Add alias.
9826 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9828 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
9831 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9833 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
9834 Use dl_hwcap without masking.
9835 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
9838 2018-07-06 Florian Weimer <fweimer@redhat.com>
9840 * conform/conformtest.pl (checknamespace): Escape literal braces
9841 in regular expressions.
9843 2018-07-06 Amit Pawar <amit.pawar@amd.com>
9845 * sysdeps/x86/cpu-features.c (get_common_indeces):
9846 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
9847 * sysdeps/x86/cpu-features.c (init_cpu_features):
9848 AVX_Fast_Unaligned_Load is disabled for Excavator core.
9850 2018-07-05 Florian Weimer <fweimer@redhat.com>
9852 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
9854 (CFLAGS-elf-init.oS): Likewise.
9856 2018-07-05 Florian Weimer <fweimer@redhat.com>
9857 Carlos O'Donell <carlos@redhat.com>
9859 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
9860 $(no-stack-protector). stack_chk_fail_local.c can be compiled
9861 with stack protector enabled because there is no risk of infinite
9864 2018-07-05 Maciej W. Rozycki <macro@mips.com>
9868 * libc-abis (ABSOLUTE): New ABI.
9869 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
9870 * NEWS: Mention the new ABI.
9872 2018-07-05 Florian Weimer <fweimer@redhat.com>
9875 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
9876 (RENAME_WHITEOUT): Define.
9877 [__USE_GNU] (renameat2): Declare.
9878 * stdio-common/Makefile (routines): Add renameat2.
9879 (tests): Add tst-renameat2.
9880 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
9881 * stdio-common/renameat2.c: New file.
9882 * stdio-common/tst-renameat2.c: Likewise.
9883 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
9884 * manual/filesys.texi (Temporary Files): Note that renameat2 is
9886 * sysdeps/unix/sysv/linux/kernel-features.h
9887 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
9888 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9889 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9890 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9891 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9892 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9893 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
9894 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9895 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
9896 * include/stdio.h (__renameat): Add alias for renameat.
9897 * stdio-common/renameat.c (__renameat): Rename from renameat.
9898 Add hidden definition and alias.
9899 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9900 * sysdeps/mach/hurd/renameat.c: Likewise.
9901 * sysdeps/**/libc*.abilist: Add renameat2.
9903 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9905 * posix/bug-regex33.c: Fix build after regex sync.
9907 2018-07-04 Carlos O'Donell <carlos@redhat.com>
9910 * localedata/tst-langinfo-setlocale.c: New file.
9911 * localedata/tst-langinfo-setlocale-static.c: New file.
9912 * localedata/tst-langinfo-newlocale.c: New file.
9913 * localedata/tst-langinfo-newlocale-static.c: New file.
9914 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
9915 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
9916 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
9917 (tests-static): Remove tst-langinfo-static. Add
9918 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
9919 (tests-special): Remove $(objpfx)tst-langinfo.out,
9920 $(objpfx)tst-langinfo-static.out. Add
9921 $(objpfx)tst-langinfo-setlocale.out,
9922 $(objpfx)tst-langinfo-newlocale.out,
9923 $(objpfx)tst-langinfo-setlocale-static.out,
9924 $(objpfx)tst-langinfo-newlocale-static.out.
9925 ($(objpfx)tst-langinfo.out): Remove.
9926 ($(objpfx)tst-langinfo-static.out): Remove.
9927 ($(objpfx)tst-langinfo-newlocale.out): New target.
9928 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
9929 (test-xfail-tst-langinfo-newlocale-static): Add.
9930 ($(objpfx)tst-langinfo-setlocale.out): New target.
9931 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
9932 * localedata/tst-langinfo.c: Call test_locale.
9933 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
9936 2018-07-04 Florian Weimer <fweimer@redhat.com>
9938 testrun.sh: Implement --tool=strace, --tool=valgrind
9939 * Makefile (testrun-script): Define variable.
9940 (testrun.sh): Use variable.
9941 * manual/install.texi (Tools for Compilation): make 4.0 or later
9943 * configure.ac: Check for make 4.0 or later.
9944 * INSTALL: Regenerate.
9945 * configure: Likewise.
9947 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9953 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
9954 * posix/PCRE.tests: Remove invalid test.
9955 * posix/bug-regex28.c: Fix expected values for used syntax.
9956 * posix/bug-regex37.c: New file.
9957 * posix/bug-regex38.c: Likewise.
9958 * posix/regcomp.c: Sync with gnulib.
9959 * posix/regex.c: Likewise.
9960 * posix/regex.h: Likewise.
9961 * posix/regex_internal.c: Likewise.
9962 * posix/regex_internal.h: Likewise.
9963 * posix/regexec.c: Likewise.
9965 2018-06-26 Mike FABIAN <mfabian@redhat.com>
9968 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
9969 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
9970 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
9971 * localedata/unicode-gen/PropList.txt: likewise.
9972 * localedata/unicode-gen/UnicodeData.txt: likewise.
9973 * localedata/charmaps/UTF-8: Regenerate.
9974 * localedata/locales/i18n_ctype: likewise.
9975 * localedata/locales/tr_TR: likewise.
9976 * localedata/locales/translit_circle: likewise.
9977 * localedata/locales/translit_cjk_compat: likewise.
9978 * localedata/locales/translit_combining: likewise.
9979 * localedata/locales/translit_compat: likewise.
9980 * localedata/locales/translit_font: likewise.
9981 * localedata/locales/translit_fraction: likewise.
9983 2018-07-03 Florian Weimer <fweimer@redhat.com>
9986 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
9987 * stdio-common/tst-printf.sh: Adjust expected output.
9990 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9992 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
9995 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9997 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
9998 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
9999 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
10000 * stdio-common/tst-printfsz-islongdouble.c: New file.
10001 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
10002 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
10003 [subdir == stdio-common] (routines): Add ieee128-printf_size.
10004 [subdir == stdio-common] (tests-internal): Add
10005 test-printf-size-ieee128, and test-printf-size-ibm128.
10006 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
10007 (CFLAGS-test-printf-size-ibm128.c): New variables.
10008 [subdir == stdio-common] (tests-special): Add
10009 $(objpfx)test-printf-size-ieee128.out and
10010 $(objpfx)test-printf-size-ibm128.out.
10011 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
10012 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
10013 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
10014 __printf_sizeieee128.
10015 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
10017 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
10019 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
10022 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10024 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
10025 (exp2f_inline): Likewise.
10026 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
10027 (__math_uflowf): Likewise.
10028 (__math_may_uflowf): Likewise.
10029 (__math_divzerof): Likewise.
10030 (__math_invalidf): Likewise.
10031 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
10032 (__math_oflowf): Likewise.
10033 (__math_uflowf): Likewise.
10034 (__math_may_uflowf): Likewise.
10035 (__math_divzerof): Likewise.
10036 (__math_invalidf): Likewise.
10038 2018-06-29 DJ Delorie <dj@redhat.com>
10039 Carlos O'Donell <carlos@redhat.com>
10042 * include/libc-symbols.h: Comment the freeres framework.
10043 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
10044 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
10045 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
10046 * dlfcn/dlerror.c: Include libc-symbols.h
10047 (__dlerror_main_freeres): New function.
10048 * dlfcn/dlfreeres.c: New file.
10049 * dlfcn/sdlfreeres.c: New file.
10050 * include/dlfcn.h: Declare __dlerror_main_freeres.
10051 * malloc/set-freeres.c: Declare __libdl_freeres, and
10052 __libpthread_freeres.
10053 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
10054 the releavant libraries are loaded.
10055 * malloc/thread-freeres.c: Add comments.
10056 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
10057 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
10058 * nptl/allocatestack.c (__nptl_free_stacks): New function.
10059 (__free_stacks): Rename to...
10060 (free_stacks): ...this. Mark static.
10061 (queue_stack): Call free_stacks.
10062 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
10063 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
10064 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
10065 ptr_freeres element from struct.
10066 (pthread_functions): Remove .ptr_freeres from struct initializer.
10067 [SHARED] (nptl_freeres): Remove.
10068 * nptl/nptlfreeres.c: New file.
10070 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
10071 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
10073 (__free_stacks): Rename to...
10074 (__nptl_stacks_freeres): ...this.
10075 (__shm_directory_freeres): Declare.
10076 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
10077 (__nptl_unwind_freeres): ...this.
10078 * resolv/res-close.c: Add comment.
10079 * resolv/resolv_conf.c: Include libc-symbols.h.
10080 * string/strerror_l.c: Include libc-symbols.h.
10081 * sunrpc/rpc_thread.c: Include libc-symbols.h.
10082 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
10083 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
10084 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
10086 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10088 * stdlib/tst-strfmon_l.c: Add tests for long double.
10090 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
10093 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
10094 * localedata/locales/dsb_DE: New file.
10096 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10099 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
10101 (alt_mon): New entry, import from CLDR (nominative case).
10103 2018-06-29 Sylvain Lesage <severo@rednegra.net>
10106 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
10108 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
10110 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10111 Use vector registers.
10113 * sysdeps/aarch64/multiarch/memmove_falkor.S
10114 (__memcpy_falkor): Use vector registers.
10116 2018-06-29 Martin Sebor <msebor@redhat.com>
10118 * manual/stdio.texi (Customizing Printf): Mention interaction
10119 with GCC built-ins.
10121 2018-06-29 Maciej W. Rozycki <macro@mips.com>
10124 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
10125 `st_value' is 0 if `st_shndx' is SHN_ABS.
10126 * elf/tst-absolute-zero.c: New file.
10127 * elf/tst-absolute-zero-lib.c: New file.
10128 * elf/tst-absolute-zero-lib.lds: New file.
10129 * elf/Makefile (tests): Add `tst-absolute-zero'.
10130 (modules-names): Add `tst-absolute-zero-lib'.
10131 (LDLIBS-tst-absolute-zero-lib.so): New variable.
10132 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
10133 ($(objpfx)tst-absolute-zero: New dependency.
10135 2018-06-29 Zack Weinberg <zackw@panix.com>
10137 * configure.ac: New command-line option --disable-crypt.
10138 Force --disable-nss-crypt when --disable-crypt is given, with a
10139 warning if it was explicitly enabled.
10140 * configure: Regenerate.
10141 * config.make.in: New boolean substitution variable $(build-crypt).
10142 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
10143 when $(build-crypt).
10144 * manual/install.texi: Document --disable-crypt.
10145 * INSTALL: Regenerate.
10147 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
10148 which is never set.
10149 * conform/Makefile: Only include libcrypt.a in
10150 linknamespace-libs-xsi and linknamespace-libs-XPG4
10151 when $(build-crypt).
10152 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
10153 USE_CRYPT to 1 when $(build-crypt).
10154 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
10155 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
10156 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
10158 2018-06-29 Zack Weinberg <zackw@panix.com>
10160 * crypt/crypt.h, posix/unistd.h: Update comments and
10161 prototypes for crypt and crypt_r.
10163 * manual/crypt.texi (Cryptographic Functions): New initial
10165 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
10166 (Unpredictable Bytes): Improve initial exposition. Clarify error
10167 behavior of getentropy and getrandom.
10168 * manual/examples/genpass.c: Generate a salt using getentropy
10169 instead of the current time. Use hash $5$ (SHA-2-256).
10170 * manual/examples/testpass.c: Demonstrate validation against
10171 hashes generated with three different one-way functions.
10173 * manual/intro.texi: crypt.texi does not need an overview
10176 * manual/nss.texi, manual/memory.texi, manual/socket.texi
10177 * manual/terminal.texi: Consistently refer to "passphrases"
10178 * instead of "passwords", and to the "user database" instead
10179 * of the "password database".
10180 * manual/users.texi: Similarly. Add notes about how actual
10181 passphrase hashes are now stored in the shadow database.
10182 Remove 20-year-old junk todo note.
10184 2018-06-29 Zack Weinberg <zackw@panix.com>
10186 * manual/crypt.texi: Use a normal top-level @node declaration.
10187 Move most of the introductory text to the 'crypt' section.
10188 Move the example programs below the @deftypefun for 'crypt_r'.
10189 Move the 'getpass' section...
10190 * manual/terminal.texi: ...here.
10192 2018-06-29 Zack Weinberg <zackw@panix.com>
10193 Florian Weimer <fweimer@redhat.com>
10195 * posix/unistd.h: Do not declare encrypt.
10196 (_XOPEN_CRYPT): Remove macro definition.
10197 (crypt): Declare only for _USE_MISC.
10198 * stdlib/stdlib.h: Do not declare setkey.
10199 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
10200 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
10202 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
10203 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
10204 into compat symbols. Don't define initial_perm if it's not
10206 * crypt/cert.c: Link explicitly with the expected versions for
10207 setkey and encrypt. If they are not available at all, mark
10208 the test as unsupported.
10210 * sunrpc/des_crypt.c: Unconditionally block linkage with
10211 cbc_crypt and ecb_crypt for new binaries.
10212 * sunrpc/des_soft.c: Unconditionally block linkage with
10213 des_setparity for new binaries.
10215 * manual/crypt.texi: Remove the entire "DES Encryption"
10216 section. Also remove the paragraph talking about FIPS 140-2
10217 from the introduction.
10218 * manual/string.texi (strfry, memfrob): Revise. Recommend use
10219 of libgcrypt for "real" encryption, not DES.
10220 * manual/conf.texi (Constants for Sysconf): Mention that
10221 _XOPEN_CRYPT is no longer impelemented.
10223 * conform/data/unistd.h-data: Remove crypt function declaration.
10225 2018-06-29 Florian Weimer <fweimer@redhat.com>
10228 * malloc/hooks.c: Update comments on restoring of dumped heaps.
10229 (disallow_malloc_check): Remove variable.
10230 (__malloc_check_init): Adjust.
10231 (malloc_set_state): Update comment.
10232 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
10235 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10238 * localedata/locales/ast_ES (mon): Rename to...
10240 (mon): Import from CLDR (genitive case).
10242 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
10243 Jakub Sitnicki <jkbs@redhat.com>
10246 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
10247 on NLM_F_DUMP_INTR.
10249 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10251 * manual/llio.texi: Remove spurious space.
10253 2018-06-28 Florian Weimer <fweimer@redhat.com>
10256 * time/bits/types/struct_timespec.h: Change header inclusion guard to
10259 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10261 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
10262 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
10263 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
10264 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
10265 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
10266 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
10267 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
10269 2018-06-27 Maciej W. Rozycki <macro@mips.com>
10272 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
10273 Copy and null-terminate entries that are not terminated, in
10274 addition to empty ones.
10276 2018-06-27 Florian Weimer <fweimer@redhat.com>
10279 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
10280 (extend_alloca_account): Remove.
10281 * manual/stdio.texi (Variable Arguments Output): Update comment.
10283 2018-06-27 Joseph Myers <joseph@codesourcery.com>
10285 * nptl/sockperf.c: Remove file.
10287 2018-06-27 Florian Weimer <fweimer@redhat.com>
10290 * elf/dl-deps.c (_dl_map_object_deps): Use struct
10291 scratch_buffer instead of extend_alloca.
10293 2018-06-27 Florian Weimer <fweimer@redhat.com>
10296 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
10297 scratch_buffer instead of extend_alloca. Update comments.
10299 2018-06-27 Florian Weimer <fweimer@redhat.com>
10302 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
10303 instead of extend_alloca.
10305 2018-06-26 Joseph Myers <joseph@codesourcery.com>
10308 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
10309 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
10311 * scripts/test-installation.pl: Put temporary files in build
10312 directory, not /tmp.
10313 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
10314 (CFLAGS-bug4.c): Likewise.
10315 (CFLAGS-bug5.c): Likewise.
10316 (CFLAGS-test-fseek.c): Likewise.
10317 (CFLAGS-test-popen.c): Likewise.
10318 (CFLAGS-test_rdwr.c): Likewise.
10319 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
10321 * stdio-common/bug4.c (main): Likewise.
10322 * stdio-common/bug5.c (main): Likewise.
10323 * stdio-common/test-fseek.c (TESTFILE): Likewise.
10324 * stdio-common/test-popen.c (do_test): Likewise.
10325 * stdio-common/test_rdwr.c (main): Likewise.
10327 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
10329 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
10330 (sem_open): Set sem.newsem.pad to zero for valgrind.
10332 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10335 * NEWS: Mention fcntl64 addition.
10336 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
10337 * login/utmp_file.c: Likewise.
10338 * sysdeps/posix/fdopendir.c: Likewise.
10339 * sysdeps/posix/opendir.c: Likewise.
10340 * sysdeps/unix/pt-fcntl.c: Likewise.
10341 * include/fcntl.h (__libc_fcntl64, __fcntl64,
10342 __fcntl64_nocancel_adjusted): New prototype.
10343 (__fcntl_nocancel_adjusted): Remove prototype.
10344 * io/Makefile (routines): Add fcntl64.
10345 (CFLAGS-fcntl64.c): New rule.
10346 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
10347 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
10348 * io/fcntl.h (fcntl64): Add prototype and redirect if
10349 __USE_FILE_OFFSET64 is defined.
10350 * io/fcntl64.c: New file.
10351 * manual/llio.text: Add a note for which commands fcntl acts a
10352 cancellation point.
10353 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
10354 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
10355 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
10357 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
10358 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
10360 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
10361 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
10362 to __fcntl64_nocancel.
10363 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
10364 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
10365 to __fcntl64_nocancel.
10366 * sysdeps/generic/not-cancel.h: Likewise.
10367 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
10368 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
10369 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10370 (fcntl64): New symbol.
10371 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10372 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10373 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10376 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10377 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10378 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10379 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10380 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10381 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
10382 fcntl64): Likewise.
10383 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10384 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
10385 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10386 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10387 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10388 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10389 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10390 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10391 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10396 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10397 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10398 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10400 2018-06-26 Florian Weimer <fweimer@redhat.com>
10402 Run thread shutdown functions in an explicit order.
10403 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
10405 (__libc_thread_freeres): Call thread shutdown functions
10407 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
10408 * include/string.h (__strerror_thread_freeres): Declare.
10409 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
10410 arena_thread_freeres. No longer static. Remove thread shutdown
10412 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
10414 * resolv/res-close.c (__res_thread_freeres): Renamed from
10415 res_thread_freeres. No longer static. Remove thread shutdown
10417 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
10418 * resolv/resolv_conf.c (freeres): Remove incorrect section
10419 attribute and use libc_freeres_fn.
10420 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
10421 strerror_thread_freeres. No longer static. Remove thread
10422 shutdown hook registration.
10423 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
10424 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
10425 shutdown hook registration.
10426 * Makerules (shlib.lds): Do not provide section boundary symbols
10427 for __libc_thread_subfreeres.
10428 * manual/memory.texi (Basic Allocation): Update comment.
10430 2018-06-26 Florian Weimer <fweimer@redhat.com>
10432 Remove always-defined _RPC_THREAD_SAFE_ macro.
10433 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
10434 Do not define _RPC_THREAD_SAFE_.
10435 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
10437 * sunrpc/clnt_perr.c: Likewise.
10438 * sunrpc/clnt_raw.c: Likewise.
10439 * sunrpc/clnt_simp.c: Likewise.
10440 * sunrpc/key_call.c: Likewise.
10441 * sunrpc/rpc_common.c: Likewise.
10442 * sunrpc/rpc_main.c: Likewise.
10443 * sunrpc/rpc_thread.c: Likewise.
10444 * sunrpc/svc.c: Likewise.
10445 * sunrpc/svc_raw.c: Likewise.
10446 * sunrpc/svc_simple.c: Likewise.
10447 * sumrpc/svcauth_des.c: Likewise.
10449 2018-06-26 Florian Weimer <fweimer@redhat.com>
10451 * libio/Makefile (tests-internal): Add tst-vtables,
10452 tst-vtables-interposed.
10453 * libio/tst-vtables.c: New file.
10454 * libio/tst-vtables-common.c: Likewise.
10455 * libio/tst-vtables-interposed.c: Likewise.
10457 2018-06-26 Florian Weimer <fweimer@redhat.com>
10459 * support/support_test_main.c (support_test_main): Only call
10460 setvbuf if not disables.
10461 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
10462 * support/test-driver.h (struct test_config): Add no_setvbuf member.
10464 2018-06-26 Florian Weimer <fweimer@redhat.com>
10467 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
10469 2018-06-25 Florian Weimer <fweimer@redhat.com>
10472 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10473 Use struct scratch_buffer instead of extend_alloca.
10475 2018-06-25 Florian Weimer <fweimer@redhat.com>
10478 * nss/getent.c (initgroups_keys): Use dynarray instead of
10481 2018-06-25 Florian Weimer <fweimer@redhat.com>
10484 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
10485 Use struct scratch_buffer instead of extend_alloca.
10487 2018-06-25 Florian Weimer <fweimer@redhat.com>
10490 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
10491 back to malloc directly, without stack allocations.
10493 2018-06-25 Florian Weimer <fweimer@redhat.com>
10496 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
10499 2018-06-25 Florian Weimer <fweimer@redhat.com>
10502 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
10504 * nscd/hstcache.c (addhstbyX): Likewise.
10505 * nscd/pwdcache.c (addpwbyX): Likewise.
10506 * nscd/servicescache.c (addservbyX): Likewise.
10508 2018-06-25 Florian Weimer <fweimer@redhat.com>
10511 * nscd/connections.c (read_cmdline): New function.
10512 (restart): Use it. Update comment.
10514 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10517 * localedata/locales/csb_PL (mon): Rename to...
10519 (abmon): Rename to...
10520 (ab_alt_mon): This.
10521 (mon): Add with proper genitive forms, copy from Wikipedia.
10524 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10527 * localedata/locales/csb_PL (mon): Fix typos:
10528 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
10529 (yesstr): Add, value is "jo".
10530 (nostr): Add, value is "nié".
10532 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10534 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
10535 all log1p and significand functions on m680x0.
10536 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
10537 of s_significand.c..
10538 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10539 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
10540 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
10541 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
10542 s_log1p.c and include it..
10544 2018-06-21 Vincent Chen <vincentc@andestech.com>
10546 * elf/elf.h (R_NDS32_NONE): New define.
10547 (R_NDS32_32_RELA): Likewise.
10548 (R_NDS32_COPY): Likewise.
10549 (R_NDS32_GLOB_DAT): Likewise.
10550 (R_NDS32_JUMP_SLOT): Likewise.
10551 (R_NDS32_RELATIVE): Likewise.
10552 (R_NDS32_TLS_TPOFF): Likewise.
10553 (R_NDS32_TLS_DESC): Likewise.
10555 2018-06-21 Mark Wielaard <mark@klomp.org>
10557 * elf/elf.h (R_BPF_MAP_FD): Removed.
10558 (R_BPF_64_64, R_BPF_64_32): New.
10560 2018-06-21 Florian Weimer <fweimer@redhat.com>
10563 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
10564 Renamed from libc_feholdsetround_ctx.
10565 (default_libc_feresetround_ctx): Renamed from
10566 libc_feresetround_ctx.
10567 (default_libc_feholdsetround_noex_ctx): Renamed from
10568 libc_feholdsetround_noex_ctx.
10569 (default_libc_feresetround_noex_ctx): Renamed from
10570 libc_feresetround_noex_ctx.
10571 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
10572 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
10573 forwardning to the old implementations under the new names.
10574 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
10575 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
10576 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
10577 (libc_feresetround_ctx): Forward to default implements for i386
10578 and MATH_SET_BOTH_ROUNDING_MODES.
10579 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
10580 Add -DMATH_SET_BOTH_ROUNDING_MODES.
10582 2018-06-20 Joseph Myers <joseph@codesourcery.com>
10584 * string/tst-cmp.c: Include <libc-diag.h>.
10585 (strncmp_max): Disable -Wstringop-overflow= around call to
10587 (strncasecmp_max): Disable -Wstringop-overflow= around call to
10590 * string/bug-strpbrk1.c: Include <libc-diag.h>.
10591 (main): Disable -Wunused-value around call to strpbrk.
10592 * string/bug-strspn1.c: Include <libc-diag.h>.
10593 (main): Disable -Wunused-value around call to strspn.
10595 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10596 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10598 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
10599 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
10601 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10603 * math/Makefile (libm-calls): Move s_significandF to...
10604 (gen-libm-calls): ... here.
10605 * math/s_significand_template.c: New file.
10606 * math/s_significand.c: Removed.
10607 * math/s_significandf.c: Removed.
10608 * math/s_significandl.c: Removed.
10609 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
10610 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
10612 * math/e_exp2_template.c (declare_mgen_finite_alias,
10613 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
10614 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
10615 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
10617 2018-06-20 Florian Weimer <fweimer@redhat.com>
10619 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
10621 2018-06-19 Joseph Myers <joseph@codesourcery.com>
10624 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
10625 floating-point number to strtod functions rather than possibly
10626 negating result of those functions.
10627 * stdio-common/tst-scanf-round.c: New file.
10628 * stdio-common/Makefile (tests): Add tst-scanf-round.
10629 ($(objpfx)tst-scanf-round): Depend on $(libm).
10631 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10633 * sysdeps/mach/hurd/localplt.data: Move to...
10634 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
10635 R_386_GLOB_DAT like on Linux i386.
10637 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10639 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
10640 (SHM_STAT_ANY): New macro.
10641 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
10642 (SHM_STAT_ANY): Likewise.
10643 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
10644 (SHM_STAT_ANY): Likewise.
10645 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
10646 (SHM_STAT_ANY): Likewise.
10647 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
10648 (SHM_STAT_ANY): Likewise.
10649 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
10650 (SHM_STAT_ANY): Likewise.
10651 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
10652 (SHM_STAT_ANY): Likewise.
10653 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
10654 (SHM_STAT_ANY): Likewise.
10655 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
10656 (SHM_STAT_ANY): Likewise.
10657 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
10658 (SHM_STAT_ANY): Likewise.
10659 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
10660 (SHM_STAT_ANY): Likewise.
10661 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
10662 (SHM_STAT_ANY): Likewise.
10664 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
10665 (SEM_STAT_ANY): New macro.
10666 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
10667 (SEM_STAT_ANY): Likewise.
10668 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
10669 (SEM_STAT_ANY): Likewise.
10670 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
10671 (SEM_STAT_ANY): Likewise.
10672 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
10673 (SEM_STAT_ANY): Likewise.
10674 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
10675 (SEM_STAT_ANY): Likewise.
10676 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
10677 (SEM_STAT_ANY): Likewise.
10678 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
10679 (SEM_STAT_ANY): Likewise.
10680 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
10681 (SEM_STAT_ANY): Likewise.
10682 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
10683 (SEM_STAT_ANY): Likewise.
10685 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
10686 (MSG_STAT_ANY): New macro.
10687 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
10688 (MSG_STAT_ANY): Likewise.
10689 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
10690 (MSG_STAT_ANY): Likewise.
10691 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
10692 (MSG_STAT_ANY): Likewise.
10693 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
10694 (MSG_STAT_ANY): Likewise.
10695 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
10696 (MSG_STAT_ANY): Likewise.
10697 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
10698 (MSG_STAT_ANY): Likewise.
10699 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
10700 (MSG_STAT_ANY): Likewise.
10701 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
10702 (MSG_STAT_ANY): Likewise.
10703 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
10704 (MSG_STAT_ANY): Likewise.
10706 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10707 (MAP_TYPE): Change value to 0x2b.
10709 2018-06-18 Florian Weimer <fweimer@redhat.com>
10712 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
10713 socket with SOCK_CLOEXEC.
10715 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10718 * sysdeps/powerpc/powerpc64/le/Makefile
10719 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
10720 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
10721 (gnulib-tests): Also add $(f128-loader-link) for
10722 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
10724 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10726 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
10727 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
10729 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
10730 (sendfile64): New strong alias.
10731 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
10732 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
10733 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
10734 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
10736 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
10737 ___pthread_get_cleanup_stack.
10738 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
10739 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
10740 * mach/shortcut.awk: Make syscall stubs include
10741 <mach-shortcuts-hidden.h> and add hidden definition.
10742 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
10743 (__mach_msg): Add hidden prototype.
10744 * mach/msg.c: Include <mach.h>.
10745 (__mach_msg): Add hidden definition.
10746 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
10747 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
10748 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
10749 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
10750 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
10751 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
10752 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
10753 prototype and definition.
10754 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
10755 hidden target for _hurd_self_sigstate.
10757 2018-06-15 Joseph Myers <joseph@codesourcery.com>
10760 * stdlib/tst-strtod-nan-sign-main.c: New file.
10761 * stdlib/tst-strtod-nan-sign.c: Likewise.
10762 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
10763 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
10764 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
10765 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
10766 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
10768 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
10771 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
10774 2018-06-14 Florian Weimer <fweimer@redhat.com>
10777 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
10778 that the result stays within the ISO-8859-1 range.
10779 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
10780 characters are defined in IBM273.
10782 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10784 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
10785 __mach_task_self): Remove attribute_hidden.
10787 2018-06-14 Joseph Myers <joseph@codesourcery.com>
10789 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
10790 ignore -Wrestrict for one test.
10792 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
10793 Szabolcs Nagy <szabolcs.nagy@arm.com>
10795 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
10797 2018-06-14 Florian Weimer <fweimer@redhat.com>
10799 * scripts/update-abilist.sh: Accept empty list of files to patch.
10801 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
10803 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
10804 test-xfail-check-abi-libmachuser): Add.
10805 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
10806 __libc_read and __libc_write to __read and __write.
10807 * sysdeps/hurd/include/hurd/port.h: New file.
10808 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
10809 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
10810 __thread_switch, __evc_wait): Move declarations to...
10811 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
10813 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
10814 use PLT to call _hurd_self_sigstate.
10816 2018-06-13 Joseph Myers <joseph@codesourcery.com>
10819 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
10820 MAX_EXP as overflowing.
10821 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
10823 (round_str): Output also whether result overflows in each rounding
10825 * stdlib/tst-strtod-round-data: Add more tests.
10826 * stdlib/tst-strtod-round-data.h: Regenerated.
10827 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
10828 (TEST): Handle extra arguments for overflow flags.
10829 (struct test_overflow): New type.
10830 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
10831 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
10832 (test_in_one_mode): Take argument with overflow information.
10833 (do_test): Update calls to test_in_one_mode.
10835 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10837 * elf/dl-load (_dl_dst_substitute): Correct comment.
10838 (_dl_dst_count): Likewise.
10840 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
10841 lll_futex_timed_wait.
10843 2018-06-12 Joseph Myers <joseph@codesourcery.com>
10846 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
10848 * math/test-nan-const.c: New file.
10849 * math/Makefile (tests): Add test-nan-const.
10850 (CFLAGS-test-nan-const.c): New variable.
10852 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10854 * benchtests/scripts/compare_strings.py (process_results): Add
10855 funcs argument. Compare only functions which are selected.
10856 (main): Check if base function is among selected functions.
10857 Pass selected functions to process_results.
10858 (__main__): Add -f/--functions argument.
10860 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
10861 Hongbo Zhang <hongbo.zhang@linaro.org>
10863 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
10864 __memcpy_falkor for phecda core.
10865 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
10866 __memmove_falkor for phecda core.
10867 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
10868 __memset_falkor for phecda core.
10869 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
10871 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
10872 macro to identify phecda core.
10874 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10875 Andreas Schwab <schwab@suse.de>
10876 Dmitry V. Levin <ldv@altlinux.org>
10877 Florian Weimer <fweimer@redhat.com>
10884 * elf/dl-dst.h: Remove DL_DST_COUNT.
10885 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
10886 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
10887 (is_dst): Comment. Support ELF gABI.
10888 (_dl_dst_count): Comment. Simplify and count DSTs.
10889 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
10890 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
10893 2018-06-12 Zack Weinberg <zackw@panix.com>
10895 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
10896 * sysdeps/unix/sysv/linux/dl-sysdep.c
10897 Include not-cancel.h. Use __close_nocancel instead of __close,
10898 __open64_nocancel instead of __open, __read_nocancel instead of
10899 __libc_read, and __write_nocancel instead of __libc_write.
10901 * csu/check_fds.c (check_one_fd)
10902 * sysdeps/posix/fdopendir.c (__fdopendir)
10903 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
10904 instead of __fcntl and/or __libc_fcntl.
10906 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
10907 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
10908 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
10909 Use __open64_nocancel instead of __open_nocancel.
10911 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
10912 hidden_proto declarations to the end and issue them if either
10913 IS_IN(libc) or IS_IN(rtld).
10914 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
10915 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
10916 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
10917 read_nocancel, waitpid_nocancel, write_nocancel.
10919 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
10920 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
10921 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
10923 * nptl/pt-fcntl.c: New file.
10924 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
10925 (libpthread-routines): Add pt-fcntl.
10926 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
10927 (__libc_fcntl): Remove attribute_hidden.
10928 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
10929 __fcntl_nocancel_adjusted, not fcntl_common.
10930 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
10931 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
10932 to fcntl_nocancel.c.
10933 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
10934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
10935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10936 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
10938 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
10939 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
10940 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
10941 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
10942 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
10943 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
10944 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
10945 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
10946 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
10947 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
10948 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
10949 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
10950 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
10951 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
10952 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
10953 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
10954 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
10955 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
10956 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
10957 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
10959 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
10960 libpthread-routines.
10961 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
10964 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
10965 __libc_read, and __write instead of __libc_write. Define
10966 __open64 in addition to __open.
10968 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10972 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
10973 to _private_tm[3] and add __glibc_reserved2.
10974 Add _Static_assert of offset of __private_ss == 0x30.
10975 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
10976 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
10978 2018-06-12 Florian Weimer <fweimer@redhat.com>
10980 x86: Make strncmp usable from rtld.
10981 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
10982 __strncmp_ia32 if in libc (and not in rtld).
10983 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
10984 strncmp if not in libc (and not to __strncmp_sse2).
10986 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
10989 * localedata/locales/gd_GB (mon): Rename to...
10991 (mon): Import from CLDR (genitive case).
10992 * localedata/locales/hsb_DE (mon): Rename to...
10994 (mon): Import from CLDR (genitive case).
10995 * localedata/locales/wa_BE (mon): Rename to...
10997 (mon): Add, fill with the proper genitive forms, but CLDR data
10998 is incomplete; completed according to the comments in this file.
10999 (d_t_fmt): Do not use "di" before the month name, no longer needed.
11001 * localedata/locales/wa_BE (country_name): Reword
11002 "Beljike" -> "Beldjike".
11004 2018-06-11 Joseph Myers <joseph@codesourcery.com>
11007 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
11008 cases of non-finite arguments.
11009 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11011 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
11014 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
11016 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11019 * include/unistd.h (__execvpex): New prototype.
11020 * posix/Makefile (tests): Add tst-spawn4.
11021 (tests-internal): Add tst-spawn4-compat.
11022 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
11023 * posix/tst-spawn4-compat.c: New file.
11024 * posix/tst-spawn4.c: Likewise.
11025 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
11026 binaries as shell scripts.
11027 * sysdeps/posix/spawni.c (__spawni): Likewise.
11029 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
11032 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
11033 ($(all-built-dso:=.dynsym): New target.
11034 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
11035 ($(objpfx)check-initfini.out): New target.
11036 (generated): Add check-initfini.out.
11037 * scripts/check-initfini.awk: New file.
11038 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
11040 * sysdeps/alpha/crti.S (_init): Mark as hidden.
11042 * sysdeps/arm/crti.S (_init): Mark as hidden.
11044 * sysdeps/hppa/crti.S (_init): Mark as hidden.
11046 * sysdeps/i386/crti.S (_init): Mark as hidden.
11048 * sysdeps/ia64/crti.S (_init): Mark as hidden.
11050 * sysdeps/m68k/crti.S (_init): Mark as hidden.
11052 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
11054 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
11056 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
11058 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
11060 * sysdeps/nios2/crti.S (_init): Mark as hidden.
11062 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
11064 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
11066 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
11068 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
11070 * sysdeps/sh/crti.S (_init): Mark as hidden.
11072 * sysdeps/sparc/crti.S (_init): Mark as hidden.
11074 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
11077 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11079 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
11080 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
11081 and TF redirection to KFtype and KF only when the default
11082 long double type is not the IEEE 128-bit floating point type.
11084 2018-06-05 Joseph Myers <joseph@codesourcery.com>
11086 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
11088 (HWCAP_USCAT): Likewise.
11089 (HWCAP_ILRCPC): Likewise.
11090 (HWCAP_FLAGM): Likewise.
11091 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11093 (_dl_aarch64_cap_flags): Add new flag names.
11095 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
11096 (MAP_FIXED_NOREPLACE): New macro.
11097 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
11098 (MAP_FIXED_NOREPLACE): Likewise.
11099 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
11100 (MAP_FIXED_NOREPLACE): Likewise.
11101 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11102 (MAP_FIXED_NOREPLACE): Likewise.
11103 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
11104 (MAP_FIXED_NOREPLACE): Likewise.
11105 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
11106 (MAP_FIXED_NOREPLACE): Likewise.
11107 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
11108 (MAP_FIXED_NOREPLACE): Likewise.
11109 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
11110 (MAP_FIXED_NOREPLACE): Likewise.
11111 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
11112 (MAP_FIXED_NOREPLACE): Likewise.
11113 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
11114 (MAP_FIXED_NOREPLACE): Likewise.
11115 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
11116 (MAP_FIXED_NOREPLACE): Likewise.
11117 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
11118 (MAP_FIXED_NOREPLACE): Likewise.
11119 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
11120 (MAP_FIXED_NOREPLACE): Likewise.
11121 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
11122 (MAP_FIXED_NOREPLACE): Likewise.
11123 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
11124 (MAP_FIXED_NOREPLACE): Likewise.
11126 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11129 2018-06-04 Joseph Myers <joseph@codesourcery.com>
11131 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11134 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11136 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
11138 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
11140 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11142 * benchtests/scripts/compare_string.py: (process_results) Catch
11143 exception in non-existent base_func and catch exception in
11144 non-existent attribute.
11145 (parse_file) Catch exception if input file does not exist.
11147 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11149 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
11150 options to avoid diff calculation and omit header, respectively.
11151 (main): process --no-diff and --no-header
11153 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11154 H.J. Lu <hongjiu.lu@intel.com>
11156 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11157 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
11159 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11160 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
11161 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
11162 and __wcsncmp_sse2.
11163 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
11164 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
11165 AVX unaligned load is fast and vzeroupper is preferred.
11166 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
11167 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
11168 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
11169 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
11170 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
11171 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
11172 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
11173 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
11174 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
11175 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
11178 2018-06-01 Florian Weimer <fweimer@redhat.com>
11180 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
11181 configuring with --disable-multi-arch, building with
11182 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
11185 2018-06-01 Florian Weimer <fweimer@redhat.com>
11187 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
11188 results from building with “-march=x86-64 -mtune=generic
11189 -mfpmath=sse” and running on a Haswell-era CPU.
11191 2018-06-01 Joseph Myers <joseph@codesourcery.com>
11194 * soft-fp/sqrttf2.c: Remove file.
11195 * soft-fp/sqrtdf2.c: Move to ....
11196 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
11198 (__sqrtdf2): Make conditional on
11199 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11201 * soft-fp/sqrtsf2.c: Move to ....
11202 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
11204 (__sqrtsf2): Make conditional on
11205 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11207 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
11208 (gcc-double-routines): Remove sqrtdf2.
11209 (gcc-quad-routines): Remove sqrttf2.
11210 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11211 Do not filter out sqrtsf2 and sqrtdf2.
11212 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11213 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
11215 2018-06-01 Florian Weimer <fweimer@redhat.com>
11217 * sysdeps/generic/libcidn.abilist: Remove file.
11219 2018-06-01 Florian Weimer <fweimer@redhat.com>
11222 * libio/strfile.h (struct _IO_str_fields): Rename members to
11223 discourage their use and add comment.
11224 (_IO_STR_DYNAMIC): Remove unused macro.
11225 * libio/strops.c (_IO_str_init_static_internal): Do not use
11226 callback pointers. Call malloc and free.
11227 (_IO_str_overflow): Do not use callback pointers. Call malloc
11229 (enlarge_userbuf): Likewise.
11230 (_IO_str_finish): Call free.
11231 * libio/wstrops.c (_IO_wstr_init_static): Initialize
11232 _allocate_buffer_unused.
11233 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
11235 (enlarge_userbuf): Likewise.
11236 (_IO_wstr_finish): Call free.
11237 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
11238 _allocate_buffer_unused, _free_buffer_unused.
11239 * libio/memstream.c (__open_memstream): Likewise.
11240 * libio/vasprintf.c (_IO_vasprintf): Likewise.
11241 * libio/wmemstream.c (open_wmemstream): Likewise.
11243 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
11245 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
11248 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11250 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
11251 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
11252 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
11254 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
11256 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
11258 2018-05-29 Florian Weimer <fweimer@redhat.com>
11260 * support/Makefile (libsupport-routines): Add
11261 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
11262 xpthread_barrierattr_setpshared.
11263 * support/xpthread_barrierattr_destroy.c: New file.
11264 * support/xpthread_barrierattr_init.c: Likewise.
11265 * support/xpthread_barrierattr_setpshared.c: Likewise.
11267 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
11270 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
11271 _r_debug and update DT_DEBUG for debugger.
11273 2018-05-29 Florian Weimer <fweimer@redhat.com>
11275 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
11276 (tst-strtod5i.out): Likewise.
11278 2018-05-25 Joseph Myers <joseph@codesourcery.com>
11280 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
11281 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
11282 (sparc64-quad-routines): New variable. Moved from ....
11283 [$(subdir) = soft-fp] (sysdep_routines): Add
11284 $(sparc64-quad-routines). Moved from ....
11285 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
11286 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
11287 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
11289 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
11290 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
11291 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
11292 * sysdeps/sparc/sparc64/qp_add.c: ... here.
11293 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
11294 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
11295 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
11296 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
11297 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
11298 * sysdeps/sparc/sparc64/qp_div.c: ... here.
11299 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
11300 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
11301 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
11302 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
11303 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
11304 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
11305 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
11306 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
11307 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
11308 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
11309 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
11310 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
11311 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
11312 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
11313 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
11314 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
11315 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
11316 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
11317 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
11318 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
11319 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
11320 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
11321 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
11322 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
11323 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
11324 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
11325 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
11326 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
11327 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
11328 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
11329 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
11330 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
11331 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
11332 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
11333 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
11334 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
11335 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
11336 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
11337 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
11338 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
11339 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
11340 * sysdeps/sparc/sparc64/qp_util.c: ... here.
11341 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
11342 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
11343 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
11344 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
11345 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
11346 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
11348 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
11349 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
11350 (sparc32-quad-routines): New variable. Moved from ....
11351 [$(subdir) = soft-fp] (sysdep_routines): Add
11352 $(sparc32-quad-routines). Moved from ....
11353 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
11354 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
11356 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
11357 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
11358 * sysdeps/sparc/sparc32/q_add.c: ... here.
11359 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
11360 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
11361 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
11362 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
11363 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
11364 * sysdeps/sparc/sparc32/q_div.c: ... here.
11365 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
11366 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
11367 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
11368 * sysdeps/sparc/sparc32/q_feq.c: ... here.
11369 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
11370 * sysdeps/sparc/sparc32/q_fge.c: ... here.
11371 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
11372 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
11373 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
11374 * sysdeps/sparc/sparc32/q_fle.c: ... here.
11375 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
11376 * sysdeps/sparc/sparc32/q_flt.c: ... here.
11377 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
11378 * sysdeps/sparc/sparc32/q_fne.c: ... here.
11379 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
11380 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
11381 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
11382 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
11383 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
11384 * sysdeps/sparc/sparc32/q_mul.c: ... here.
11385 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
11386 * sysdeps/sparc/sparc32/q_neg.c: ... here.
11387 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
11388 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
11389 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
11390 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
11391 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
11392 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
11393 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
11394 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
11395 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
11396 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
11397 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
11398 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
11399 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
11400 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
11401 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
11402 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
11403 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
11404 * sysdeps/sparc/sparc32/q_sub.c: ... here.
11405 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
11406 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
11407 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
11408 * sysdeps/sparc/sparc32/q_util.c: ... here.
11409 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
11410 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
11411 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
11412 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
11414 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11415 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11417 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
11418 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
11419 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
11420 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
11422 2018-05-24 Joseph Myers <joseph@codesourcery.com>
11424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
11426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11428 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
11429 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
11431 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11434 * math/math.h [C++] (iseqsig): Fix parameter type for the long
11437 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11439 * sysdeps/sh/Implies: Remove sh/soft-fp.
11440 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
11441 * sysdeps/sh/sfp-machine.h: ... here.
11443 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11445 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11446 (__mempcpy_erms): Skip zero length.
11447 (__memmove_erms): Likewise.
11448 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11449 (__memset_erms): Likewise.
11451 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11453 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
11454 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11455 Add functions moved from ....
11456 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
11457 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
11458 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
11460 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
11461 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
11462 * sysdeps/alpha/e_sqrtl.c: ... here.
11463 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
11464 * sysdeps/alpha/local-soft-fp.h: ... here.
11465 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
11466 * sysdeps/alpha/ots_add.c: ... here.
11467 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
11468 * sysdeps/alpha/ots_cmp.c: ... here.
11469 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
11470 * sysdeps/alpha/ots_cmpe.c: ... here.
11471 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
11472 * sysdeps/alpha/ots_cvtqux.c: ... here.
11473 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
11474 * sysdeps/alpha/ots_cvtqx.c: ... here.
11475 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
11476 * sysdeps/alpha/ots_cvttx.c: ... here.
11477 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
11478 * sysdeps/alpha/ots_cvtxq.c: ... here.
11479 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
11480 * sysdeps/alpha/ots_cvtxt.c: ... here.
11481 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
11482 * sysdeps/alpha/ots_div.c: ... here.
11483 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
11484 * sysdeps/alpha/ots_mul.c: ... here.
11485 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
11486 * sysdeps/alpha/ots_nintxq.c: ... here.
11487 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
11488 * sysdeps/alpha/ots_sub.c: ... here.
11489 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
11490 * sysdeps/alpha/sfp-machine.h: ... here.
11492 2018-05-23 Florian Weimer <fweimer@redhat.com>
11500 Switch to extern IDNA implementation (libidn2).
11501 * libidn: Remove subdirectory.
11502 * LICENSES: Do not mention licensing conditions for the removed
11504 * config.h.in (HAVE_LIBIDN): Remove.
11505 * include/dlfcn.h (__libc_dlopen): Update comment.
11506 * include/idna.h: Remove file.
11507 * inet/Makefile (routines): Add idna.
11508 (tests-static, tests-internal): Add tst-idna_name_classify.
11509 (LOCALES): Generate locales for tests.
11510 (tst-idna_name_classify.out): Depend on generated locales.
11511 * inet/idna_name_classify.c: New file.
11512 * inet/tst-idna_name_classify.c: Likewise.
11513 * inet/net-internal.h (__idna_to_dns_encoding)
11514 (__idna_from_dns_encoding): Declare.
11515 * inet/net-internal.h (enum idna_name_classification): Define.
11516 (__idna_name_classify): Declare.
11517 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
11518 __idna_from_dns_encoding.
11519 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
11520 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
11521 name as a fallback in case of encoding errors.
11522 (getnameinfo): Use DEPRECATED_NI_IDN.
11523 * inet/idna.c: New file.
11524 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
11525 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
11526 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
11527 (modules-names): Add tst-no-libidn2.
11528 (extra-test-objs): Add tst-no-libidn2.os.
11529 (LDFLAGS-tst-no-libidn2.so): Set soname.
11530 (LOCALES): Set, and generate locales.
11531 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
11532 (tst-resolv-ai_idn-latin1): Likewise.
11533 (tst-resolv-ai_idn-nolibidn2): Likewise.
11534 (tst-resolv-ai_idn.out): Depend on locales.
11535 (tst-resolv-ai_idn-latin1.out): Depend on locales.
11536 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
11538 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
11539 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
11540 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
11541 * resolv/tst-resolv-ai_idn.c: New file.
11542 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
11543 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
11544 * resolv/tst-no-libidn2.c: Likewise.
11545 * support/support_format_addrinfo.c (format_ai_flags): Do not
11546 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
11547 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
11548 (gaih_inet): Call __idna_to_dns_encoding and
11549 __idna_from_dns_encoding, and use the original (punycode) name if
11550 __idna_from_dns_encoding fails due to an encoding error.
11551 (getaddrinfo): Use DEPRECATED_AI_IDN.
11552 * sysdeps/unix/inet/Subdirs (libidn): Remove.
11553 * sysdeps/unix/inet/configure: Remove file.
11554 * sysdeps/unix/inet/configure.ac: Likewise.
11556 2018-05-23 Florian Weimer <fweimer@redhat.com>
11558 Implement allocate_once.
11559 * include/allocate_once.h: New file.
11560 * misc/allocate_once.c: Likewise.
11561 * misc/tst-allocate_once.c: Likewise.
11562 * misc/Makefile (routines): Add allocate_once.
11563 (tests-internal): Add tst-allocate_once.
11564 (generated): Add tst-allocate_once.mtrace,
11565 tst-allocate_once-mem.out.
11566 (tests-special): Add tst-allocate_once-mem.out.
11567 (tst-allocate_once-ENV): Set MALLOC_TRACE.
11568 (tst-allocate_once-mem.out): Call mtrace.
11569 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
11571 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11574 * string/test-memcpy.c (do_test1): New function.
11575 (test_main): Call it.
11577 2018-05-23 Andreas Schwab <schwab@suse.de>
11581 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
11582 (L(preloop_large)): Save initial destination pointer in %r11 and
11583 use it instead of %rax after the loop.
11584 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
11586 2018-05-22 Joseph Myers <joseph@codesourcery.com>
11588 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
11589 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
11590 -I../soft-fp. Moved from ....
11591 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
11592 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
11593 * sysdeps/aarch64/e_sqrtl.c: ... here.
11594 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
11595 * sysdeps/aarch64/sfp-machine.h: ... here.
11597 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
11598 -Wmaybe-uninitialized around access to fq[0].
11599 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11603 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
11604 aliases for non-libc case of versioned symbols.
11605 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
11606 (llseek): Define as compat symbol if
11607 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
11609 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
11610 Make into a compat symbol, disabled for minimum symbol version
11611 GLIBC_2.28 and later.
11612 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
11614 2018-05-22 Florian Weimer <fweimer@redhat.com>
11616 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
11617 not add -mpreferred-stack-boundary=4.
11618 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
11619 (stack-align-test-flags): Likewise.
11620 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
11622 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
11623 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
11624 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
11625 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
11626 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
11627 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
11628 (CFLAGS-tst-align2.c): Likewise.
11630 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11632 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
11633 (index_arch_Prefer_FSRM): Likewise.
11634 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11635 Also check Prefer_FSRM.
11636 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
11637 Also return OPTIMIZE (erms) for Prefer_FSRM.
11639 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11641 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
11642 (index_cpu_FSRM): Likewise.
11643 (reg_FSRM): Likewise.
11645 2018-05-18 Joseph Myers <joseph@codesourcery.com>
11647 * math/gen-tgmath-tests.py: Import sys.
11648 (Tests.__init__): Initialize macros_seen.
11649 (Tests.add_tests): Add macro to macros_seen. Only generate tests
11650 if requested to do so for this macro.
11651 (Tests.add_all_tests): Take argument for macro for which to
11653 (Tests.check_macro_list): New function.
11654 (main): Handle check-list argument and argument specifying macro
11655 for which to generate tests.
11656 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
11657 [PYTHON] (tgmath3-macro-tests): Likewise.
11658 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
11659 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
11660 not test-tgmath3.c.
11661 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
11662 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
11664 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
11665 [PYTHON] ($(foreach
11666 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
11668 [PYTHON] (tests-special): Add
11669 $(objpfx)test-tgmath3-macro-list.out.
11670 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
11672 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
11673 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
11677 * time/tzset.c (SECSPERDAY): Cast to time_t.
11678 * time/tst-y2039.c: New file.
11679 * time/Makefile (tests): Add tst-y2039.
11681 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11683 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11684 (PREFETCH_ONE_SET): Remove duplicate line.
11686 2018-05-17 Florian Weimer <fweimer@redhat.com>
11688 * sysdeps/generic/math-type-macros-double.h: Include
11689 <math-nan-payload-double.h> after <libm-alias-double.h>.
11690 * sysdeps/generic/math-type-macros-float.h: Include
11691 <math-nan-payload-float.h> after <libm-alias-float.h>.
11692 * sysdeps/generic/math-type-macros-float128.h: Include
11693 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
11694 * sysdeps/generic/math-type-macros-ldouble.h: Include
11695 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
11697 2018-05-17 Andreas Schwab <schwab@suse.de>
11699 * resolv/res_send.c (__res_context_send): Don't set errno when
11700 returing error after malloc failure.
11702 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
11704 * nptl/allocatestack.c (allocate_stack): Remove the
11705 !__ASSUME_PRIVATE_FUTEX paths.
11706 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
11707 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11709 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
11710 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11711 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11712 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11713 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
11714 !__ASSUME_PRIVATE_FUTEX path.
11715 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
11716 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
11717 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11718 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
11719 !__ASSUME_PRIVATE_FUTEX macros.
11720 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11721 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11722 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11723 * sysdeps/unix/sysv/linux/kernel-features.h
11724 (__ASSUME_PRIVATE_FUTEX): Removed.
11726 2018-05-17 Joseph Myers <joseph@codesourcery.com>
11728 * math/Makefile (libm-narrow-fns): Add div.
11729 (libm-test-funcs-narrow): Likewise.
11730 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
11731 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
11732 * math/gen-auto-libm-tests.c (test_functions): Add div.
11733 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
11734 (NARROW_DIV_ROUND_TO_ODD): Likewise.
11735 (NARROW_DIV_TRIVIAL): Likewise.
11736 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
11738 (__ddivl): Likewise.
11739 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
11741 (CFLAGS-nldbl-ddiv.c): New variable.
11742 (CFLAGS-nldbl-fdiv.c): Likewise.
11743 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11745 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
11747 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
11748 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
11749 * math/auto-libm-test-in: Add tests of div.
11750 * math/auto-libm-test-out-narrow-div: New generated file.
11751 * math/libm-test-narrow-div.inc: New file.
11752 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
11753 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
11754 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
11755 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
11756 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
11757 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
11758 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
11759 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
11760 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
11761 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
11762 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
11763 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
11764 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
11765 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
11766 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
11767 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
11768 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
11769 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
11770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11771 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11772 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11773 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11774 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11775 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11776 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11777 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11778 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11779 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11780 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11781 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11782 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11783 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11788 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11789 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11790 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11791 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11792 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11793 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11794 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11795 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11797 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11800 * nscd/nscd-client.h (sendfileall): Remove prototype.
11801 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
11802 (handle_request): Use writeall instead of sendfileall.
11803 * nscd/aicache.c (addhstaiX): Likewise.
11804 * nscd/grpcache.c (cache_addgr): Likewise.
11805 * nscd/hstcache.c (cache_addhst): Likewise.
11806 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11807 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
11808 * nscd/pwdcache.c (cache_addpw): Likewise.
11809 * nscd/servicescache.c (cache_addserv): Likewise.
11810 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
11811 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
11812 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
11815 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
11817 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
11818 Include <string/strncat.c>.
11819 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
11821 (__GI___strncat): New hidden alias.
11823 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11825 * sysdeps/mips/mips32/libm-test-ulps: Update.
11826 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11828 2018-05-16 Florian Weimer <fweimer@redhat.com>
11830 * support/Makefile (libsupport-routines): Add support_quote_blob,
11831 support_test_compare_blob.
11832 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
11833 * support/check.h (TEST_COMPARE_BLOB): Define.
11834 (support_test_compare_blob): Declare.
11835 * support/support.h (support_quote_blob): Declare.
11836 * support/support_quote_blob.c: New file.
11837 * support/support_test_compare_blob.c: Likewise.
11838 * support/tst-support_quote_blob.c: Likewise.
11839 * support/tst-test_compare_blob.c: Likewise.
11841 2018-05-16 Florian Weimer <fweimer@redhat.com>
11843 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
11844 of <strtod_nan_double.h>.
11845 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
11846 instead of SET_MANTISSA.
11847 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
11848 of include <strtod_nan_float.h>.
11849 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
11850 instead of <strtod_nan_ldouble.h>.
11851 * stdlib/strtod_nan_double.h: Move to ...
11852 * sysdeps/generic/math-nan-payload-double.h: ... here.
11853 (FLOAT): Remove definition.
11854 (SET_MANTISSA): Rename to ...
11855 (SET_NAN_PAYLOAD): ... this.
11856 * stdlib/strtod_nan_float.h: Move to ...
11857 * sysdeps/generic/math-nan-payload-float.h: ... here.
11858 (FLOAT): Remove definition.
11859 (SET_MANTISSA): Rename to ...
11860 (SET_NAN_PAYLOAD): ... this.
11861 * sysdeps/generic/math-type-macros-double.h: Include
11862 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
11863 instead of <math-svid-compat.h>.
11864 * sysdeps/generic/math-type-macros-float.h: Include
11865 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
11866 instead of <math-svid-compat.h>.
11867 * sysdeps/generic/math-type-macros-float128.h: Include
11868 <math-nan-payload-float128.h>.
11869 * sysdeps/generic/math-type-macros-ldouble.h: Include
11870 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
11871 instead of <math-svid-compat.h>.
11872 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
11873 check for definition.
11874 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
11875 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
11876 Include <ieee754_float128.h>.
11877 (FLOAT): Remove definition.
11878 (SET_MANTISSA): Rename to ...
11879 (SET_NAN_PAYLOAD): ... this.
11880 * sysdeps/ieee754/float128/strtof128_nan.c: Include
11881 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
11882 Do not include <float128_private.h>.
11883 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
11884 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
11885 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
11886 (FLOAT): Remove definition.
11887 (SET_MANTISSA): Rename to ...
11888 (SET_NAN_PAYLOAD): ... this.
11889 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
11890 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
11891 (FLOAT): Remove definition.
11892 (SET_MANTISSA): Rename to ...
11893 (SET_NAN_PAYLOAD): ... this.
11894 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
11895 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
11896 (FLOAT): Remove definition.
11897 (SET_MANTISSA): Rename to ...
11898 (SET_NAN_PAYLOAD): ... this.
11899 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
11900 of "../stdlib/strtod_nan_double.h".
11901 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
11902 of "../stdlib/strtod_nan_float.h".
11903 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
11904 instead of "../stdlib/strtod_nan_ldouble.h".
11905 * manual/arith.texi (Parsing of Floats): Adjust comment.
11907 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11909 * math/Makefile (libm-narrow-fns): Add mul.
11910 (libm-test-funcs-narrow): Likewise.
11911 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
11912 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
11913 * math/gen-auto-libm-tests.c (test_functions): Add mul.
11914 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
11915 (NARROW_MUL_ROUND_TO_ODD): Likewise.
11916 (NARROW_MUL_TRIVIAL): Likewise.
11917 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
11918 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
11920 (__dmull): Likewise.
11921 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
11923 (CFLAGS-nldbl-dmul.c): New variable.
11924 (CFLAGS-nldbl-fmul.c): Likewise.
11925 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11927 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
11929 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
11930 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
11931 * math/auto-libm-test-in: Add tests of mul.
11932 * math/auto-libm-test-out-narrow-mul: New generated file.
11933 * math/libm-test-narrow-mul.inc: New file.
11934 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
11935 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
11936 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
11937 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
11938 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
11939 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
11940 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
11941 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
11942 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
11943 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
11944 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
11945 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
11946 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
11947 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
11948 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
11949 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
11950 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
11951 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
11952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11953 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11954 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11955 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11956 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11957 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11958 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11959 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11960 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11961 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11962 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11963 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11964 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11965 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11970 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11971 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11972 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11973 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11974 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11975 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11976 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11977 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11979 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11981 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11982 with *%eax in call.
11984 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11986 * sysdeps/i386/ldsodefs.h: Removed.
11987 * sysdeps/x86_64/ldsodefs.h: Moved to ...
11988 * sysdeps/x86/ldsodefs.h: This.
11989 (La_i86_regs): New.
11990 (La_i86_retval): Likewise.
11991 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
11992 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
11994 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11996 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
11999 2018-05-13 Alan Modra <amodra@gmail.com>
12001 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
12002 R_PARISC_TLS_DTPOFF32 reloc addend.
12004 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12006 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
12007 * math/math.h: Restrict the prototype definition for the functions
12008 issignaling(_Float128) and iszero(_Float128); and template
12009 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
12010 __HAVE_FLOAT128_UNLIKE_LDBL.
12011 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
12012 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
12013 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
12014 __f128() constants; define the type _Float128 as long double;
12015 and reuse long double in __CFLOAT128.
12017 2018-05-11 Joseph Myers <joseph@codesourcery.com>
12019 * sysdeps/generic/math_private.h: Do not include
12021 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
12023 * math/fromfp.h: Include <math-barriers.h>.
12024 * math/math-narrow.h: Likewise.
12025 * math/s_nextafter.c: Likewise.
12026 * math/s_nexttowardf.c: Likewise.
12027 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12028 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12029 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12030 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12031 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12032 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12033 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12034 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12035 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12036 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12037 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12038 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12039 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12040 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12041 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12042 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12043 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12044 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12045 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12046 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12047 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12048 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12049 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12050 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12051 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12052 * sysdeps/ieee754/k_standardl.c: Likewise.
12053 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12054 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12055 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12056 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12057 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12058 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12059 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12060 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12061 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12062 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12063 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12064 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12065 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12066 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12067 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12068 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12069 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12070 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12071 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12072 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12073 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
12074 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
12076 2018-05-11 Florian Weimer <fweimer@redhat.com>
12078 Use 64-bit epoch values in the time zone file parser.
12079 * include/time.h (internal_time_t): Define.
12080 (__tzfile_compute): Use it.
12081 * time/tzfile.c (struct leap): Use internal_time_t for epoch
12083 (transitions): Switch to internal_time_t.
12084 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
12086 (__tzfile_compute): Use internal_time_t for timer argument. Check
12087 for truncation before calling __offtime.
12089 2018-05-11 Florian Weimer <fweimer@redhat.com>
12092 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
12093 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
12095 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
12096 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
12097 export without --enable-obsolete-rpc.
12098 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
12099 symbol. This should not have been exported, ever.
12101 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
12104 * localedata/locales/gd_GB (abmon): Fix typo in May:
12105 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
12107 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12109 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12110 Use multiple registers to copy data in loop tail.
12112 * sysdeps/aarch64/multiarch/memmove_falkor.S
12113 (__memmove_falkor): Use multiple registers to move data in
12116 2018-05-10 Joseph Myers <joseph@codesourcery.com>
12118 * math/math-underflow.h: New file.
12119 * sysdeps/generic/math_private.h: Do not include <float.h>.
12120 (fabs_tg): Remove macro. Moved to math-underflow.h.
12121 (min_of_type_f): Likewise.
12122 (min_of_type_): Likewise.
12123 (min_of_type_l): Likewise.
12124 (min_of_type_f128): Likewise.
12125 (min_of_type): Likewise.
12126 (math_check_force_underflow): Likewise.
12127 (math_check_force_underflow_nonneg): Likewise.
12128 (math_check_force_underflow_complex): Likewise.
12129 * math/e_exp2_template.c: Include <math-underflow.h>.
12130 * math/k_casinh_template.c: Likewise.
12131 * math/s_catan_template.c: Likewise.
12132 * math/s_catanh_template.c: Likewise.
12133 * math/s_ccosh_template.c: Likewise.
12134 * math/s_cexp_template.c: Likewise.
12135 * math/s_clog10_template.c: Likewise.
12136 * math/s_clog_template.c: Likewise.
12137 * math/s_csin_template.c: Likewise.
12138 * math/s_csinh_template.c: Likewise.
12139 * math/s_csqrt_template.c: Likewise.
12140 * math/s_ctan_template.c: Likewise.
12141 * math/s_ctanh_template.c: Likewise.
12142 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12143 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12144 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12145 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12146 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12147 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12148 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12149 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12150 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12151 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12152 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12153 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12154 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12155 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12156 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12157 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12158 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12159 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12160 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12161 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12162 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12163 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12164 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12165 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12166 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12167 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12168 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12169 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12170 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12171 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12172 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12173 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12174 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12175 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12176 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12177 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12178 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12179 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12180 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12181 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12182 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12183 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12184 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12185 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12186 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12187 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12188 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12189 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12190 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12191 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12192 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12193 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12194 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12195 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12196 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12197 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12198 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12199 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12200 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12201 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12202 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12203 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12204 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12205 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12206 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12207 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12208 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12209 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12210 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12211 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12212 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12213 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12214 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12215 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
12216 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12217 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12218 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12219 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12220 * sysdeps/x86/fpu/powl_helper.c: Likewise.
12221 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
12222 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
12223 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12224 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12225 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12227 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12229 * sysdeps/generic/math-barriers.h: New file.
12230 * sysdeps/generic/math_private.h [!math_opt_barrier]
12231 (math_opt_barrier): Move to math-barriers.h.
12232 [!math_opt_barrier] (math_force_eval): Likewise.
12233 * sysdeps/aarch64/fpu/math-barriers.h: New file.
12234 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
12236 (math_force_eval): Likewise.
12237 * sysdeps/alpha/fpu/math-barriers.h: New file.
12238 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
12240 (math_force_eval): Likewise.
12241 * sysdeps/x86/fpu/math-barriers.h: New file.
12242 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
12244 (math_force_eval): Likewise.
12245 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
12246 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
12247 multiple-include guard for rename.
12248 * sysdeps/powerpc/fpu/math-barriers.h: New file.
12249 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
12251 (math_force_eval): Likewise.
12253 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
12257 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
12259 * stdlib/Makefile (test-bz22786): New test.
12260 * stdlib/test-bz22786.c: New test.
12262 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12264 * include/math-narrow-eval.h: New file. Contents moved from ....
12265 * sysdeps/generic/math_private.h: ... here.
12266 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
12267 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12268 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
12269 * stdlib/strtod_l.c: Likewise.
12270 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12271 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12272 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12273 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12274 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12275 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12276 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12277 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12278 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12279 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12280 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12281 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12282 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12283 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12284 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12285 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12286 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12287 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12288 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12289 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12290 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12291 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12292 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12293 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12294 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12295 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12296 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12297 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12298 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12300 2018-05-08 Andreas Schwab <schwab@suse.de>
12302 * sysdeps/nptl/internaltypes.h: Fix comment.
12304 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
12306 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12307 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
12310 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12312 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
12313 of I into loop header.
12314 * benchtests/bench-memmove-walk.c
12315 (test_main): Likewise.
12317 2018-05-07 Alexandre Oliva <oliva@gnu.org>
12320 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12321 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12323 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12326 * elf/dl-load.c (open_verify): Fix stack overflow.
12327 * elf/Makefile (tst-big-note): New test.
12328 * elf/tst-big-note-lib.S: New.
12329 * elf/tst-big-note.c: New.
12331 2018-05-04 Joseph Myers <joseph@codesourcery.com>
12333 * scripts/abilist.awk: Ignore absolute symbols.
12334 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
12335 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
12336 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
12337 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
12338 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
12339 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
12340 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12341 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
12342 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
12343 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
12344 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
12345 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
12346 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12347 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
12348 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
12349 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12350 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
12351 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
12352 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12353 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
12354 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12355 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
12356 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
12357 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
12358 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
12359 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12360 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
12361 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
12362 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12363 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
12364 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
12365 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12366 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
12367 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12368 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
12369 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
12370 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
12371 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
12372 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12373 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
12374 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
12375 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12376 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
12377 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
12378 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12379 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
12380 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12381 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
12382 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
12383 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
12384 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
12385 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12386 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
12387 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
12388 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12389 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
12390 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
12391 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12392 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
12393 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12394 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
12395 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
12396 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
12397 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
12398 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12399 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
12400 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
12401 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12402 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
12403 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
12404 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12405 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
12406 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12407 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
12408 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
12409 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
12410 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
12411 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12412 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
12413 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
12414 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12415 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
12416 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
12417 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12418 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
12419 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12420 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
12421 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
12422 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
12423 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
12424 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12425 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12427 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
12428 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12429 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
12430 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
12431 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12432 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
12433 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12434 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
12435 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
12436 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
12437 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
12438 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12439 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12441 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
12442 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12443 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
12444 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
12445 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12446 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
12447 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12448 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
12449 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
12450 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
12451 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
12452 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12453 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
12454 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
12455 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12456 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
12457 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
12458 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12459 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
12460 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12461 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
12462 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
12463 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
12464 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
12465 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12466 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12467 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12469 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
12470 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
12471 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
12472 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
12473 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12474 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
12475 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
12476 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
12477 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
12478 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
12479 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
12480 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
12481 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
12482 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12483 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
12484 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
12485 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
12486 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
12487 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12488 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12490 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
12491 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
12492 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
12493 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12494 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
12495 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12496 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
12497 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
12498 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
12499 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12500 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12501 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
12502 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12503 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12504 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
12505 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12506 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
12507 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
12508 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12509 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
12510 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
12511 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12512 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
12513 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12514 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
12515 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
12516 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
12517 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
12518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
12524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
12525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
12526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
12527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
12531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
12532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
12535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
12547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
12548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
12553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
12554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
12555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
12559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
12560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
12568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
12569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
12570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
12577 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12578 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
12580 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12581 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12582 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
12583 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12584 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12585 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12586 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12587 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
12588 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12589 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
12590 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12591 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
12592 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12593 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12595 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12596 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
12597 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
12598 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12599 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
12600 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12601 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
12602 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
12603 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
12604 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
12605 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12606 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12608 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12609 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
12610 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
12611 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12612 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
12613 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12614 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
12615 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
12616 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
12617 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
12618 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12619 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
12620 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
12621 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12622 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
12623 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
12624 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12625 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
12626 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12627 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
12628 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
12629 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
12630 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
12631 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12632 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12634 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
12635 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12636 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
12637 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
12638 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12639 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
12640 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12641 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
12642 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
12643 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
12644 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
12645 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12646 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12648 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
12649 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12650 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
12651 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
12652 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12653 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
12654 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12655 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
12656 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
12657 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
12658 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
12659 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12660 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
12661 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
12662 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12663 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
12664 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
12665 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12666 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
12667 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12668 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
12669 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
12670 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
12671 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
12672 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12673 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12674 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
12675 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
12676 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12677 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
12678 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
12679 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12680 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
12681 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12682 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
12683 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
12684 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
12685 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
12687 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
12690 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
12691 Use atomic_load_acquire to load __tid.
12693 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12695 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
12696 Restore the pointer into %rdx, after syscall and use %rdx,
12697 instead of %rsi, to restore context.
12699 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12701 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
12702 Pop the pointer into %rdx after syscall and use %rdx, instead
12703 of %rsi, to restore context.
12705 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12707 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
12708 handlers after setjmp.
12709 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
12711 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
12712 <libc-pointer-arith.h>.
12713 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
12714 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
12715 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
12716 _JUMP_BUF_SIGSET_BITS_PER_WORD.
12717 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
12718 * sysdeps/x86/__longjmp_cancel.S: New file.
12719 * sysdeps/x86/longjmp.c: Likewise.
12720 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
12722 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12724 * NEWS: Add ustat.h deprecation entry.
12725 * bits/ustat.h: Remove file.
12726 * misc/sys/ustat.h: Likewise.
12727 * misc/ustat.h: Likewise.
12728 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
12729 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
12730 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
12731 compatibility mode.
12732 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
12733 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
12734 generic Linux implementation.
12736 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12738 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
12739 * math/w_expl_compat.c: Likewise.
12740 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
12742 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12744 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12746 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12748 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
12749 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
12750 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
12752 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
12753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12754 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12755 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
12756 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
12759 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12761 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
12763 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
12764 * math/w_asin_template.c: Likewise.
12765 * math/w_atanh_template.c: Likewise.
12767 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12769 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
12770 to powerpc/powerpc64/be for big-endian.
12771 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
12774 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
12775 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
12776 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
12777 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
12778 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12779 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
12780 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
12781 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
12782 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
12783 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12784 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
12785 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
12786 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
12787 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
12788 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
12789 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
12790 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
12791 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
12792 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
12793 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
12794 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
12795 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12796 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
12797 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
12798 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
12799 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12800 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
12801 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
12802 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
12803 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12804 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12805 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12807 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
12808 adjusted to imply powerpc64 and older processors on powerpc64/be.
12809 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
12810 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
12811 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
12812 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
12813 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
12814 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
12815 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
12816 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
12817 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
12818 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
12819 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
12820 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
12821 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
12822 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
12823 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
12824 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
12825 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
12826 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
12827 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
12828 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
12829 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
12830 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
12831 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
12832 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
12833 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
12834 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
12835 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
12836 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
12837 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
12838 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
12839 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
12841 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
12842 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
12843 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
12844 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
12846 * sysdeps/powerpc/powerpc64/be/Implies: New file.
12847 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
12848 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
12849 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
12851 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
12852 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
12853 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
12854 * sysdeps/powerpc/powerpc64le/configure: Likewise.
12855 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
12856 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
12857 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
12858 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
12859 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
12860 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
12861 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
12863 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
12864 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
12865 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
12866 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
12867 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
12868 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
12869 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
12870 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
12871 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
12872 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
12873 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
12875 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
12876 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
12877 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
12878 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
12879 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
12880 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
12881 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
12882 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
12883 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
12884 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
12885 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
12886 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
12888 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
12889 and adjusted to imply olders processors.
12890 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
12891 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
12892 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
12893 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
12894 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
12895 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
12896 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
12897 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
12898 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
12899 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
12900 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
12902 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
12904 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
12905 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
12907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
12909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
12910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
12912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
12914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
12916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
12918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
12919 powerpc64 and adjusted.
12920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
12921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
12922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
12925 2018-04-27 Joseph Myers <joseph@codesourcery.com>
12927 * sysdeps/tile: Remove.
12928 * sysdeps/unix/sysv/linux/tile: Likewise.
12929 * README (tilegx-*-linux-gnu): Remove from list of supported
12931 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
12932 contribution of support for generic Linux kernel syscall
12934 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
12935 tilegx configurations.
12936 (Config.install_linux_headers): Do not handle tile.
12937 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
12939 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
12940 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
12941 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12942 conditional undefine and redefine.
12943 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
12945 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12946 conditional undefine and redefine.
12948 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
12950 * signal/tst-sigaction.c: New file to test BZ #23069.
12951 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
12953 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12956 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
12957 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
12958 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
12959 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
12961 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12963 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
12964 _DIRENT_MATCHES_DIRENT64 is not defined.
12965 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
12966 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
12968 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
12969 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
12971 2018-04-25 Joseph Myers <joseph@codesourcery.com>
12973 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
12974 version to GCC 8 branch.
12976 2018-04-24 Joseph Myers <joseph@codesourcery.com>
12978 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
12979 (check_no_hidden): Use type of original function when declaring
12982 * sysdeps/unix/sysv/linux/sys/ptrace.h
12983 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
12984 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
12985 (struct __ptrace_seccomp_metadata): New type.
12986 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12987 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12988 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
12989 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12990 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
12991 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12992 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12993 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12994 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12995 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12996 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12997 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12998 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
12999 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13000 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
13001 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13003 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13005 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
13007 * dirent/versionsort.c (versionsort): Likewise.
13008 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
13009 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
13010 * dirent/versionsort64.c (versionsort64): Likewise.
13011 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
13012 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
13013 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
13014 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
13015 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
13016 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
13017 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
13018 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
13019 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
13020 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
13021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
13022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
13023 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
13024 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
13026 2018-04-23 Joseph Myers <joseph@codesourcery.com>
13028 * elf/elf.h (NT_PPC_PKEY): New macro.
13030 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
13033 * localedata/locales/hr_HR: fix thousands_sep and
13036 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13038 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
13039 (XTABS): Define to TAB3.
13041 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13043 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13045 * dirent/scandir-tail-common.c: New file.
13046 * dirent/scandir-tail.c: Use scandir-tail-common.c.
13047 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
13048 * dirent/scandir.c: Use scandir-tail-common.c.
13049 * dirent/scandirat.c: Likewise.
13050 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
13051 * dirent/scandir64.c (scandir64): Always build and alias to scandir
13052 if _DIRENT_MATCHES_DIRENT64 is defined.
13053 * dirent/scandirat64.c (scandirat64): Likewise.
13054 * include/dirent.h (__scandir_tail): Only define iff
13055 _DIRENT_MATCHES_DIRENT64 is not defined.
13056 (__scandir64_tail): Define regardless.
13057 (__scandirat, scandirat64): Remove libc_hidden_proto.
13058 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
13059 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
13060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
13061 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
13062 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13063 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
13064 * sysdeps/unix/sysv/linux/scandir64.c: New file.
13066 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13068 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
13070 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13072 (_dl_aarch64_cap_flags): Add asimdfhm.
13074 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
13076 * sysdeps/nios2/libm-test-ulps: Update.
13078 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13080 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
13081 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
13083 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
13085 (_DIRENT_MATCHES_DIRENT64): Undef
13086 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
13087 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
13088 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
13089 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
13090 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
13091 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
13092 use getdents64 syscalls as base.
13093 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
13094 symbol if required.
13095 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
13096 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
13097 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
13098 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
13099 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
13100 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
13101 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
13102 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
13103 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13104 (__get_clockfreq_via_proc_openprom): Use __getdents64.
13105 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
13107 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13109 * scripts/test_printers_common.py (init_test): Disable lock elision.
13111 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13113 * math/test-tgmath.c (count_double, count_float,
13114 count_ldouble, count_cdouble, count_cfloat,
13115 count_cldouble): Use volatile int.
13117 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13119 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
13120 (conformtest-xfail-conds): Add i386-gnu.
13121 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
13123 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
13124 ipc_perm.cuid, ipc_perm.cgid): Likewise.
13125 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
13126 msqid_ds.msg_lrpid): Likewise.
13127 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
13129 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
13130 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
13131 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
13132 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
13134 (struct statvfs64): Likewise.
13135 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
13137 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
13138 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
13139 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
13140 instead of wait_queue.
13141 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
13142 instead of vm_area_struct.
13143 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
13144 struct sched_param definition to it.
13145 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13146 * bits/types/struct_sched_param.h: New file.
13147 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
13148 <bits/types/struct_sched_param.h> instead of <sched.h>.
13149 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
13150 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
13151 generic version but include <bits/pthreadtypes.h> to make struct
13152 sigevent's sigev_notify_attributes field a pthread_attr_t*.
13153 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
13155 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
13156 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
13157 [__USE_XOPEN] (OFDEL): New macro.
13158 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
13159 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
13160 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
13162 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
13163 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
13164 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
13166 * sysdeps/i386/sys/ucontext.h: Likewise.
13167 * sysdeps/m68k/sys/ucontext.h: Likewise.
13168 * sysdeps/mips/sys/ucontext.h: Likewise.
13169 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
13170 * sysdeps/mach/hurd/i386/Makefile
13171 (test-xfail-POSIX/fcntl.h/conform): Add.
13172 (test-xfail-POSIX/signal.h/conform): Add.
13173 (test-xfail-POSIX/semaphore.h/conform): Add.
13174 (test-xfail-POSIX/regex.h/conform): Add.
13175 (test-xfail-POSIX/aio.h/conform): Add.
13176 (test-xfail-POSIX/mqueue.h/conform): Add.
13177 (test-xfail-POSIX/sys/types.h/conform): Add.
13178 (test-xfail-UNIX98/fcntl.h/conform): Add.
13179 (test-xfail-UNIX98/netdb.h/conform): Add.
13180 (test-xfail-UNIX98/signal.h/conform): Add.
13181 (test-xfail-UNIX98/semaphore.h/conform): Add.
13182 (test-xfail-UNIX98/regex.h/conform): Add.
13183 (test-xfail-UNIX98/aio.h/conform): Add.
13184 (test-xfail-UNIX98/ftw.h/conform): Add.
13185 (test-xfail-UNIX98/mqueue.h/conform): Add.
13186 (test-xfail-UNIX98/netinet/in.h/conform): Add.
13187 (test-xfail-UNIX98/sys/wait.h/conform): Add.
13188 (test-xfail-UNIX98/sys/sem.h/conform): Add.
13189 (test-xfail-UNIX98/sys/uio.h/conform): Add.
13190 (test-xfail-UNIX98/sys/socket.h/conform): Add.
13191 (test-xfail-UNIX98/sys/types.h/conform): Add.
13192 (test-xfail-UNIX98/stdlib.h/conform): Add.
13193 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
13194 (test-xfail-POSIX2008/fcntl.h/conform): Add.
13195 (test-xfail-POSIX2008/netdb.h/conform): Add.
13196 (test-xfail-POSIX2008/signal.h/conform): Add.
13197 (test-xfail-POSIX2008/semaphore.h/conform): Add.
13198 (test-xfail-POSIX2008/regex.h/conform): Add.
13199 (test-xfail-POSIX2008/aio.h/conform): Add.
13200 (test-xfail-POSIX2008/mqueue.h/conform): Add.
13201 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
13202 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
13203 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
13204 (test-xfail-POSIX2008/sys/types.h/conform): Add.
13205 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
13206 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
13207 (test-xfail-XOPEN2K/netdb.h/conform): Add.
13208 (test-xfail-XOPEN2K/signal.h/conform): Add.
13209 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
13210 (test-xfail-XOPEN2K/regex.h/conform): Add.
13211 (test-xfail-XOPEN2K/aio.h/conform): Add.
13212 (test-xfail-XOPEN2K/ftw.h/conform): Add.
13213 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
13214 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
13215 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
13216 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
13217 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
13218 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
13219 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
13220 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
13221 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
13222 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
13223 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
13224 (test-xfail-XOPEN2K8/signal.h/conform): Add.
13225 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
13226 (test-xfail-XOPEN2K8/regex.h/conform): Add.
13227 (test-xfail-XOPEN2K8/aio.h/conform): Add.
13228 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
13229 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
13230 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
13231 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
13232 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
13233 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
13234 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
13235 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
13236 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
13237 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
13238 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
13240 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
13241 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
13243 2018-04-18 Joseph Myers <joseph@codesourcery.com>
13245 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
13246 --enable-obsolete for powerpc-linux-gnuspe.
13248 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13250 * conform/data/sys/un.h-data: Allow sun_ prefix.
13251 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
13253 * sysdeps/mach/include/mach.h: Likewise.
13254 * sysdeps/mach/include/mach/mig_support.h: Likewise.
13255 * sysdeps/mach/include/mach_error.h: Likewise.
13257 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13259 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
13260 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
13261 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
13262 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
13264 2018-04-16 Andreas Schwab <schwab@suse.de>
13267 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
13269 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13271 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
13272 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
13274 2018-04-12 DJ Delorie <dj@redhat.com>
13276 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13279 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13281 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
13282 (struct kernel_sigaction): Use the same definition on 31bit as is used
13285 2018-04-09 Florian Weimer <fweimer@redhat.com>
13288 * resolv/res_send.c (send_dg): Use designated initializers instead
13289 of assignment to zero-initialize other fields of struct mmsghdr.
13291 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13293 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
13294 __READDIR_ALIAS): Undefine after usage.
13295 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
13296 __READDIR_R_ALIAS): Likewise.
13297 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
13298 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
13299 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
13300 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
13301 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
13302 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
13303 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13304 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13305 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
13306 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
13307 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
13308 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
13309 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13310 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
13311 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
13312 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
13313 * sysdeps/unix/sysv/linux/readdir.c: New file.
13314 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
13315 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
13316 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
13318 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13320 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
13322 * manual/charset.texi (Converting a Character): Fix typo.
13324 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13328 * sysdeps/arm/libm-test-ulps: Update.
13330 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
13331 as base implementation.
13332 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13333 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13334 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13335 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13336 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13337 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
13338 remove unrequired definitions and update comments.
13339 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
13340 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
13341 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
13342 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
13343 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
13344 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
13345 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
13346 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
13347 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
13348 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
13349 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
13350 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13351 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13352 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
13353 and RESET_SA_RESTORER hooks.
13355 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
13357 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13359 2018-04-05 Florian Weimer <fweimer@redhat.com>
13361 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
13362 integer overflow, memory leak on error, and indeterminate errno
13363 value. Add a null wide character to terminate the result string.
13364 * manual/charset.texi (Converting a Character): Mention embedded
13365 null bytes in the mbrtowc input string. Explain what happens in
13366 the -2 result case. Do not claim that mbrtowc is simple or
13367 obvious to use. Adjust the description of the code example. Use
13368 @code, not @var, for concrete variables.
13370 2018-04-05 Florian Weimer <fweimer@redhat.com>
13372 * manual/examples/mbstouwcs.c: New file.
13373 * manual/charset.texi (Converting a Character): Include it.
13375 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13377 * include/dirent.h (dirfd): Add hidden proto.
13378 * dirent/dirfd.c (dirfd): Add hidden def.
13379 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
13380 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
13382 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13384 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
13385 sin, cos and sincos to 1 ULP.
13387 2018-04-04 Maciej W. Rozycki <macro@mips.com>
13390 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
13392 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
13393 * elf/tst-absolute-sym.c: New file.
13394 * elf/tst-absolute-sym-lib.c: New file.
13395 * elf/tst-absolute-sym-lib.lds: New file.
13396 * elf/Makefile (tests): Add `tst-absolute-sym'.
13397 (modules-names): Add `tst-absolute-sym-lib'.
13398 (LDLIBS-tst-absolute-sym-lib.so): New variable.
13399 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
13400 ($(objpfx)tst-absolute-sym): New dependency.
13403 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
13405 (SYMBOL_ADDRESS): New macro.
13406 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
13407 SYMBOL_ADDRESS for symbol address calculation.
13408 * elf/dl-runtime.c (_dl_fixup): Likewise.
13409 (_dl_profile_fixup): Likewise.
13410 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
13411 * elf/rtld.c (dl_main): Likewise.
13412 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
13413 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
13414 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
13415 (elf_machine_rela): Likewise.
13416 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
13417 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
13418 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13419 (elf_machine_rela): Likewise.
13420 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13421 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
13422 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
13423 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13425 (elf_machine_reloc): Likewise.
13426 (elf_machine_got_rel): Likewise.
13427 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
13428 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
13429 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13431 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13433 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
13434 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13436 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13438 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13439 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13441 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13443 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
13444 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13446 2018-04-04 Zack Weinberg <zackw@panix.com>
13448 * sysdeps/generic/internal-signals.h: Include signal.h,
13449 sigsetops.h, and stdbool.h.
13450 (__libc_signal_block_all): Actually block all signals.
13451 (__libc_signal_block_app): Likewise.
13452 (__libc_signal_restore_set): Actually restore the signal mask.
13454 2018-04-04 Florian Weimer <fweimer@redhat.com>
13456 inet: Actually build and run tst-deadline.
13457 * inet/Makefile (tests-internal): Add tst-deadline and do not
13458 overwrite the variable.
13459 (tests-static-internal): Remove variable.
13461 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
13464 * bits/uio-ext.h (RWF_APPEND): New.
13465 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
13466 * manual/llio.texi: Document RWF_APPEND.
13467 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
13468 (RWF_SUPPORTED): Add RWF_APPEND.
13470 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13473 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
13474 check for internal nptl signals.
13475 * nptl/sigaction.c (__sigaction): Likewise.
13476 * signal/sigaddset.c (sigaddset): Likewise.
13477 * signal/sigdelset.c (sigdelset): Likewise.
13478 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13479 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
13481 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
13482 to filter out internal nptl signals.
13483 * signal/tst-sigset.c (do_test): Check ech signal indidually and
13484 also check realtime signals using standard macros.
13485 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
13486 __is_internal_signal, __libc_signal_block_all,
13487 __libc_signal_block_app, __libc_signal_restore_set): New functions.
13488 * sysdeps/nptl/sigfillset.c: Remove file.
13489 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
13490 Change return to bool.
13491 (__clear_internal_signals): Remove SIGTIMER clean since it is
13492 equal to SIGCANEL on Linux.
13493 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
13494 signal set was constructed using standard functions.
13496 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13498 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
13499 ifname is too long.
13500 * hurd/hurdsig.c (interrupted_reply_port_location): Use
13501 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
13502 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
13504 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
13505 * signal/sigaddset.c: Include <sigsetopts.h>.
13506 * signal/sigdelset.c: Likewise.
13508 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13510 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
13512 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
13513 logic as sin and cos.
13515 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13517 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
13518 inputs. Return correct sign.
13519 (do_sincos): Remove small input check before do_sin, let do_sin set
13524 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13526 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
13527 (do_cos_slow): Likewise.
13528 (do_sin_slow): Likewise.
13529 (reduce_and_compute): Likewise.
13534 (sloww1): Likewise.
13535 (sloww2): Likewise.
13537 (bslow1): Likewise.
13538 (bslow2): Likewise.
13539 (cslow2): Likewise.
13541 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13543 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
13544 (do_cos): Remove corp parameter and calculations.
13545 (do_sin): Likewise.
13546 (do_sincos): Remove cor variable.
13547 (__sin): Use do_sincos for huge inputs.
13549 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13550 (reduce_and_compute_sincos): Remove unused function.
13552 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13554 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
13555 reduce_sincos, improve accuracy to 136 bits.
13556 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
13557 (__sin): Use improved reduction and simplified do_sincos calculation.
13559 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13561 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13563 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
13564 (do_sincos_2): Likewise.
13565 (__sin): Remove middle range reduction case.
13567 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
13570 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13572 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
13573 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
13576 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
13578 2018-04-03 Joseph Myers <joseph@codesourcery.com>
13580 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13583 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13585 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
13586 Remove definitions.
13587 (opendir_oflags): Use O_DIRECTORY regardless.
13588 (__opendir, __opendirat): Remove need_isdir_precheck usage.
13589 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
13591 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13593 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
13594 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
13596 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
13597 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
13598 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
13599 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
13600 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
13601 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
13603 * htl/Makefile: Bump licence to LGPL 2.1+.
13604 * htl/alloca_cutoff.c: Likewise.
13605 * htl/cthreads-compat.c: Likewise.
13606 * htl/lockfile.c: Likewise.
13607 * htl/pt-alloc.c: Likewise.
13608 * htl/pt-cancel.c: Likewise.
13609 * htl/pt-cleanup.c: Likewise.
13610 * htl/pt-create.c: Likewise.
13611 * htl/pt-dealloc.c: Likewise.
13612 * htl/pt-detach.c: Likewise.
13613 * htl/pt-exit.c: Likewise.
13614 * htl/pt-getattr.c: Likewise.
13615 * htl/pt-initialize.c: Likewise.
13616 * htl/pt-internal.h: Likewise.
13617 * htl/pt-join.c: Likewise.
13618 * htl/pt-self.c: Likewise.
13619 * htl/pt-setcancelstate.c: Likewise.
13620 * htl/pt-setcanceltype.c: Likewise.
13621 * htl/pt-sigmask.c: Likewise.
13622 * htl/pt-spin-inlines.c: Likewise.
13623 * htl/pt-testcancel.c: Likewise.
13624 * htl/pt-yield.c: Likewise.
13625 * htl/tests/test-1.c: Likewise.
13626 * htl/tests/test-10.c: Likewise.
13627 * htl/tests/test-11.c: Likewise.
13628 * htl/tests/test-12.c: Likewise.
13629 * htl/tests/test-13.c: Likewise.
13630 * htl/tests/test-14.c: Likewise.
13631 * htl/tests/test-15.c: Likewise.
13632 * htl/tests/test-16.c: Likewise.
13633 * htl/tests/test-17.c: Likewise.
13634 * htl/tests/test-2.c: Likewise.
13635 * htl/tests/test-3.c: Likewise.
13636 * htl/tests/test-4.c: Likewise.
13637 * htl/tests/test-5.c: Likewise.
13638 * htl/tests/test-6.c: Likewise.
13639 * htl/tests/test-7.c: Likewise.
13640 * htl/tests/test-8.c: Likewise.
13641 * htl/tests/test-9.c: Likewise.
13642 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
13643 * sysdeps/htl/bits/cancelation.h: Likewise.
13644 * sysdeps/htl/bits/pthread-np.h: Likewise.
13645 * sysdeps/htl/bits/pthread.h: Likewise.
13646 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
13647 * sysdeps/htl/bits/semaphore.h: Likewise.
13648 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
13649 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
13650 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
13651 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
13652 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
13653 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
13654 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
13655 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
13656 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
13657 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
13658 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
13659 * sysdeps/htl/old_pt-atfork.c: Likewise.
13660 * sysdeps/htl/pt-atfork.c: Likewise.
13661 * sysdeps/htl/pt-attr-destroy.c: Likewise.
13662 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
13663 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
13664 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
13665 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
13666 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
13667 * sysdeps/htl/pt-attr-getscope.c: Likewise.
13668 * sysdeps/htl/pt-attr-getstack.c: Likewise.
13669 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
13670 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
13671 * sysdeps/htl/pt-attr-init.c: Likewise.
13672 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
13673 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
13674 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
13675 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
13676 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
13677 * sysdeps/htl/pt-attr-setscope.c: Likewise.
13678 * sysdeps/htl/pt-attr-setstack.c: Likewise.
13679 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
13680 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
13681 * sysdeps/htl/pt-attr.c: Likewise.
13682 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
13683 * sysdeps/htl/pt-barrier-init.c: Likewise.
13684 * sysdeps/htl/pt-barrier-wait.c: Likewise.
13685 * sysdeps/htl/pt-barrier.c: Likewise.
13686 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
13687 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
13688 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
13689 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
13690 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
13691 * sysdeps/htl/pt-cond-destroy.c: Likewise.
13692 * sysdeps/htl/pt-cond-init.c: Likewise.
13693 * sysdeps/htl/pt-cond-signal.c: Likewise.
13694 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
13695 * sysdeps/htl/pt-cond-wait.c: Likewise.
13696 * sysdeps/htl/pt-cond.c: Likewise.
13697 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
13698 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
13699 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
13700 * sysdeps/htl/pt-condattr-init.c: Likewise.
13701 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
13702 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
13703 * sysdeps/htl/pt-destroy-specific.c: Likewise.
13704 * sysdeps/htl/pt-equal.c: Likewise.
13705 * sysdeps/htl/pt-getconcurrency.c: Likewise.
13706 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
13707 * sysdeps/htl/pt-getschedparam.c: Likewise.
13708 * sysdeps/htl/pt-getspecific.c: Likewise.
13709 * sysdeps/htl/pt-init-specific.c: Likewise.
13710 * sysdeps/htl/pt-key-create.c: Likewise.
13711 * sysdeps/htl/pt-key-delete.c: Likewise.
13712 * sysdeps/htl/pt-key.h: Likewise.
13713 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
13714 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
13715 * sysdeps/htl/pt-mutex-init.c: Likewise.
13716 * sysdeps/htl/pt-mutex-lock.c: Likewise.
13717 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
13718 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
13719 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
13720 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
13721 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
13722 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
13723 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
13724 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
13725 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
13726 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
13727 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
13728 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
13729 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
13730 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
13731 * sysdeps/htl/pt-mutexattr.c: Likewise.
13732 * sysdeps/htl/pt-once.c: Likewise.
13733 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
13734 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
13735 * sysdeps/htl/pt-rwlock-init.c: Likewise.
13736 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
13737 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
13738 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
13739 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
13740 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
13741 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
13742 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
13743 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
13744 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
13745 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
13746 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
13747 * sysdeps/htl/pt-setconcurrency.c: Likewise.
13748 * sysdeps/htl/pt-setschedparam.c: Likewise.
13749 * sysdeps/htl/pt-setschedprio.c: Likewise.
13750 * sysdeps/htl/pt-setspecific.c: Likewise.
13751 * sysdeps/htl/pt-spin.c: Likewise.
13752 * sysdeps/htl/pt-startup.c: Likewise.
13753 * sysdeps/htl/pthread.h: Likewise.
13754 * sysdeps/htl/sem-close.c: Likewise.
13755 * sysdeps/htl/sem-destroy.c: Likewise.
13756 * sysdeps/htl/sem-getvalue.c: Likewise.
13757 * sysdeps/htl/sem-init.c: Likewise.
13758 * sysdeps/htl/sem-open.c: Likewise.
13759 * sysdeps/htl/sem-post.c: Likewise.
13760 * sysdeps/htl/sem-timedwait.c: Likewise.
13761 * sysdeps/htl/sem-trywait.c: Likewise.
13762 * sysdeps/htl/sem-unlink.c: Likewise.
13763 * sysdeps/htl/sem-wait.c: Likewise.
13764 * sysdeps/hurd/htl/pt-kill.c: Likewise.
13765 * sysdeps/i386/htl/pt-machdep.h: Likewise.
13766 * sysdeps/mach/htl/pt-block.c: Likewise.
13767 * sysdeps/mach/htl/pt-spin.c: Likewise.
13768 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
13769 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
13770 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
13771 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
13772 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
13773 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
13774 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
13775 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
13776 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
13777 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
13778 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
13779 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
13780 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
13781 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
13782 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
13783 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
13784 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
13785 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
13786 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
13787 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
13788 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
13789 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
13790 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
13791 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
13792 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
13793 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
13794 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
13795 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
13796 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
13797 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
13798 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
13799 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
13800 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
13801 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
13802 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
13803 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
13804 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
13805 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
13806 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
13807 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
13808 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
13809 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
13810 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
13812 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
13813 * README: Remove the mention of out-of-tree patches needed for
13816 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
13817 (UTIME_NOW, UTIME_OMIT): Define macros.
13819 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
13820 instead of pthread_detach.
13821 (__cthread_fork): Call __pthread_create instead of pthread_create.
13822 (__cthread_keycreate): Call __pthread_key_create instead of
13823 pthread_key_create.
13824 (__cthread_getspecific): Call __pthread_getspecific instead of
13825 pthread_getspecific.
13826 (__cthread_setspecific): Call __pthread_setspecific instead of
13827 pthread_setspecific.
13828 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
13829 __pthread_mutex_unlock instead of pthread_mutex_lock and
13830 pthread_mutex_unlock.
13831 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
13832 ___pthread_get_cleanup_stack.
13833 (__pthread_get_cleanup_stack): New strong alias.
13834 * htl/pt-create.c: Include <pthreadP.h>.
13835 (entry_point): Call __pthread_exit instead of pthread_exit.
13836 (pthread_create): Rename to __pthread_create.
13837 (pthread_create): New strong alias.
13838 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
13839 (pthread_detach): New strong alias.
13840 (__pthread_detach): Call __pthread_cond_broadcast instead of
13841 pthread_cond_broadcast.
13842 * htl/pt-exit.c: Include <pthreadP.h>.
13843 (__pthread_exit): Call __pthread_setcancelstate and
13844 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
13845 __pthread_get_cleanup_stack.
13846 * htl/pt-testcancel.c: Include <pthreadP.h>.
13847 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
13848 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
13849 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
13850 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
13851 pthread_attr_getstacksize.
13852 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
13853 Rename to __pthread_attr_getstackaddr.
13854 (pthread_attr_getstackaddr): New strong alias.
13855 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
13856 Rename to __pthread_attr_getstacksize.
13857 (pthread_attr_getstacksize): New strong alias.
13858 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
13859 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
13860 (pthread_attr_setstack): New strong alias.
13861 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
13862 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
13863 pthread_attr_getstacksize, pthread_attr_setstacksize and
13864 pthread_attr_setstackaddr.
13865 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
13866 Rename to __pthread_attr_setstackaddr.
13867 (pthread_attr_setstackaddr): New strong alias.
13868 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
13869 Rename to __pthread_attr_setstacksize.
13870 (pthread_attr_setstacksize): New strong alias.
13871 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
13872 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
13874 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
13875 (__pthread_key_create): New hidden def.
13876 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
13877 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
13878 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
13879 __pthread_exit, __pthread_key_create, __pthread_getspecific,
13880 __pthread_setspecific, __pthread_setcancelstate,
13881 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
13882 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
13883 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
13885 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
13886 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
13887 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
13888 (pthread_attr_setstackaddr): New strong alias.
13889 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
13890 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
13891 (pthread_attr_setstacksize): New strong alias.
13892 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
13893 (call_exit): Call __pthread_exit instead of pthread_exit.
13894 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
13895 (_pthread_mutex_init): New hidden definition.
13896 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
13897 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
13898 instead of pthread_attr_init and pthread_attr_setstack.
13900 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
13901 __vm_deallocate instead of vm_allocate and vm_deallocate.
13902 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
13904 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
13906 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
13908 * hurd/siginfo.c: Include <libioP.h>.
13909 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
13910 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
13912 * mach/devstream.c: Include <libioP.h>.
13913 (dealloc_ref): Call __mach_port_deallocate instead of
13914 mach_port_deallocate.
13915 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
13916 Call __mach_port_deallocate instead of mach_port_deallocate.
13917 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
13919 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
13921 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
13922 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
13923 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
13925 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
13927 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
13928 instead of sysconf.
13929 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
13930 __clock_gettime instead of clock_gettime.
13931 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
13932 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13933 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
13934 * sysdeps/unix/bsd/stty.c (stty): Likewise.
13935 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
13937 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
13938 __clock_gettime and __nanosleep instead of clock_gettime and
13940 * hurd/catch-signal.c (hurd_catch_signal): Rename to
13941 __hurd_catch_signal.
13942 (hurd_catch_signal): New strong alias.
13943 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
13944 __hurd_catch_signal instead of hurd_catch_signal.
13945 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
13946 * hurd/hurdexec.c (_hurd_init): Add hidden def.
13947 * hurd/hurdinit.c (_hurd_init): Add hidden def.
13948 * hurd/hurdsig.c: Include <mach/mig_support.h>.
13949 (_hurd_thread_sigstate): Add hidden def.
13950 (_hurd_internal_post_signal): Use __mutex_unlock instead of
13952 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
13953 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
13954 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
13955 __hurd_file_name_path_lookup.
13956 (hurd_file_name_path_lookup): New strong alias.
13957 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
13958 hurd_file_name_path_lookup.
13959 * mach/errstring.c (mach_error_type): Add hidden def.
13960 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
13961 * mach/mutex-init.c (__mutex_init): Add hidden def.
13962 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
13963 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
13964 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
13965 * sysdeps/mach/hurd/getcwd.c
13966 (_hurd_canonicalize_directory_name_internal): Rename to
13967 __hurd_canonicalize_directory_name_internal.
13968 (_hurd_canonicalize_directory_name_internal): New strong alias.
13969 (__canonicalize_directory_name_internal, __getcwd): Call
13970 __hurd_canonicalize_directory_name_internal instead of
13971 _hurd_canonicalize_directory_name_internal.
13972 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
13973 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
13975 * sysdeps/hurd/include/hurd.h: New file.
13976 * sysdeps/hurd/include/hurd/fd.h: New file.
13977 * sysdeps/hurd/include/hurd/signal.h: New file.
13978 * sysdeps/mach/include/lock-intern.h: New file.
13979 * sysdeps/mach/include/mach.h: New file.
13980 * sysdeps/mach/include/mach/mig_support.h: New file.
13981 * sysdeps/mach/include/mach_error.h: New file.
13982 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
13984 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
13985 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
13986 _HEADER_H_HIDDEN_DEF macro.
13987 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
13988 _hurd_fd_error_signal): Add hidden prototype.
13989 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
13991 * libio/iolibio.h (_IO_puts): New hidden prototype.
13992 * libio/ioputs.c (_IO_puts): New hidden def.
13993 * sysdeps/mach/hurd/localplt.data: New file.
13995 2018-04-02 Agustina Arzille <avarzille@riseup.net>
13996 Amos Jeffries <squid3@treenet.co.nz>
13997 David Michael <fedora.dm0@gmail.com>
13998 Marco Gerards <marco@gnu.org>
13999 Marcus Brinkmann <marcus@gnu.org>
14000 Neal H. Walfield <neal@gnu.org>
14001 Pino Toscano <toscano.pino@tiscali.it>
14002 Richard Braun <rbraun@sceen.net>
14003 Roland McGrath <roland@gnu.org>
14004 Samuel Thibault <samuel.thibault@ens-lyon.org>
14005 Thomas DiModica <ricinwich@yahoo.com>
14006 Thomas Schwinge <tschwinge@gnu.org>
14008 * htl: New directory.
14009 * sysdeps/htl: New directory.
14010 * sysdeps/hurd/htl: New directory.
14011 * sysdeps/i386/htl: New directory.
14012 * sysdeps/mach/htl: New directory.
14013 * sysdeps/mach/hurd/htl: New directory.
14014 * sysdeps/mach/hurd/i386/htl: New directory.
14015 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
14016 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
14017 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
14019 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14021 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
14022 signals in thread created for runing timers.
14024 2018-04-01 Florian Weimer <fweimer@redhat.com>
14026 * support/support_format_addrinfo.c (support_format_addrinfo):
14027 Include unknown error number in formatted result.
14029 2018-03-29 Florian Weimer <fweimer@redhat.com>
14031 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
14034 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14036 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
14037 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
14038 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14039 (__ASSUME_CLONE_BACKWARDS): Define.
14041 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
14044 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
14045 early when linux sentinel value is set.
14047 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14049 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
14051 2018-03-27 Andreas Schwab <schwab@suse.de>
14054 * resolv/res_send.c (__res_context_send): Return ENOMEM if
14055 allocation of private copy of nsaddr_list fails.
14057 2018-03-26 Joseph Myers <joseph@codesourcery.com>
14060 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
14061 * sysdeps/unix/sysv/linux/umount.c: ... here.
14062 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
14063 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
14064 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
14065 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
14066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
14067 * sysdeps/unix/sysv/linux/umount.S: Likewise.
14068 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
14070 2018-03-26 Andreas Schwab <schwab@suse.de>
14072 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
14073 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
14074 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
14075 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
14076 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
14077 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
14078 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
14079 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
14080 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
14081 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
14082 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
14083 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
14084 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
14085 (R_RISCV_NUM): Define.
14087 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14089 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
14090 TLS declaration of errno.
14091 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
14093 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
14094 (ARCH_SETUP_TLS): Likewise.
14095 * sysdeps/mach/hurd/libc-start.h: New file copied from
14096 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
14097 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
14098 instead of __libc_setup_tls.
14099 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
14100 __libc_setup_tls before initializing libpthread and running _hurd_init
14101 which starts the signal thread.
14102 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
14104 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14106 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
14109 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
14110 after it is defined.
14112 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
14113 Max Horn <max@quendi.de>
14117 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
14119 * string/test-memmove.c (do_test2): New testcase.
14121 2018-03-22 Joseph Myers <joseph@codesourcery.com>
14123 * sysdeps/generic/frame.h: Remove file.
14124 * sysdeps/arm/frame.h: Likewise.
14125 * sysdeps/hppa/frame.h: Likewise.
14126 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
14128 (GET_FRAME): Likewise.
14129 (GET_STACK): Likewise.
14130 (CALL_SIGHANDLER): Likewise.
14131 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
14133 (GET_FRAME): Likewise.
14134 (GET_STACK): Likewise.
14135 (CALL_SIGHANDLER): Likewise.
14136 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
14137 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14138 (GET_FRAME): Likewise.
14139 (GET_STACK): Likewise.
14140 (CALL_SIGHANDLER): Likewise.
14141 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
14142 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14143 (GET_FRAME): Likewise.
14144 (GET_STACK): Likewise.
14145 (ADVANCE_STACK_FRAME): Likewise.
14146 (CALL_SIGHANDLER): Likewise.
14147 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
14148 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14149 (GET_FRAME): Likewise.
14150 (GET_STACK): Likewise.
14151 (CALL_SIGHANDLER): Likewise.
14152 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
14153 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14154 (GET_FRAME): Likewise.
14155 (GET_STACK): Likewise.
14156 (CALL_SIGHANDLER): Likewise.
14157 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
14158 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14159 (GET_FRAME): Likewise.
14160 (GET_STACK): Likewise.
14161 (CALL_SIGHANDLER): Likewise.
14162 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
14163 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14164 (GET_FRAME): Likewise.
14165 (GET_STACK): Likewise.
14166 (CALL_SIGHANDLER): Likewise.
14167 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
14168 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14169 (GET_FRAME): Likewise.
14170 (GET_STACK): Likewise.
14171 (CALL_SIGHANDLER): Likewise.
14172 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
14173 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14174 (GET_FRAME): Likewise.
14175 (GET_STACK): Likewise.
14176 (CALL_SIGHANDLER): Likewise.
14177 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
14178 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14179 (GET_FRAME): Likewise.
14180 (GET_STACK): Likewise.
14181 (CALL_SIGHANDLER): Likewise.
14182 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
14183 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14184 (GET_FRAME): Likewise.
14185 (GET_STACK): Likewise.
14186 (CALL_SIGHANDLER): Likewise.
14187 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
14188 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14189 (GET_FRAME): Likewise.
14190 (GET_STACK): Likewise.
14191 (CALL_SIGHANDLER): Likewise.
14192 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
14193 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14194 (FIRST_FRAME_POINTER): Likewise.
14195 (ADVANCE_STACK_FRAME): Likewise.
14196 (GET_STACK): Likewise.
14197 (GET_FRAME): Likewise.
14198 (CALL_SIGHANDLER): Likewise.
14199 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
14200 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14201 (ADVANCE_STACK_FRAME): Likewise.
14202 (GET_STACK): Likewise.
14203 (GET_FRAME): Likewise.
14204 (CALL_SIGHANDLER): Likewise.
14205 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
14206 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14207 (GET_FRAME): Likewise.
14208 (GET_STACK): Likewise.
14209 (CALL_SIGHANDLER): Likewise.
14210 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
14211 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14212 (GET_FRAME): Likewise.
14213 (GET_STACK): Likewise.
14214 (CALL_SIGHANDLER): Likewise.
14216 2018-03-21 Joseph Myers <joseph@codesourcery.com>
14218 * sysdeps/x86_64/backtrace.c: Move to ....
14219 * debug/backtrace.c: ... here.
14220 * sysdeps/aarch64/backtrace.c: Remove file.
14221 * sysdeps/alpha/backtrace.c: Likewise.
14222 * sysdeps/hppa/backtrace.c: Likewise.
14223 * sysdeps/ia64/backtrace.c: Likewise.
14224 * sysdeps/mips/backtrace.c: Likewise.
14225 * sysdeps/nios2/backtrace.c: Likewise.
14226 * sysdeps/riscv/backtrace.c: Likewise.
14227 * sysdeps/sh/backtrace.c: Likewise.
14228 * sysdeps/tile/backtrace.c: Likewise.
14230 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14233 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
14236 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
14239 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
14240 possibly overflowing computations.
14242 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14244 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
14245 values from Linux-specific section now that it is in the GNU section.
14246 * sysdeps/gnu/errlist.c: Regenerate.
14248 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14250 * math/Makefile (libm-narrow-fns): Add sub.
14251 (libm-test-funcs-narrow): Likewise.
14252 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
14253 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
14254 * math/gen-auto-libm-tests.c (test_functions): Add sub.
14255 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
14256 (NARROW_SUB_ROUND_TO_ODD): Likewise.
14257 (NARROW_SUB_TRIVIAL): Likewise.
14258 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
14260 (__dsubl): Likewise.
14261 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
14263 (CFLAGS-nldbl-dsub.c): New variable.
14264 (CFLAGS-nldbl-fsub.c): Likewise.
14265 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14267 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
14269 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
14270 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
14271 * math/auto-libm-test-in: Add tests of sub.
14272 * math/auto-libm-test-out-narrow-sub: New generated file.
14273 * math/libm-test-narrow-sub.inc: New file.
14274 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14275 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
14276 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
14277 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
14278 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
14279 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
14280 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
14281 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
14282 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
14283 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
14284 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
14285 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
14286 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
14287 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
14288 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
14289 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
14290 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
14291 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
14292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14293 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14294 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14295 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14296 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14297 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14298 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14299 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14300 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14301 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14302 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14303 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14304 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14305 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14310 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14311 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14312 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14313 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14314 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14315 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14316 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14317 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14318 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14319 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14321 2018-03-19 Joseph Myers <joseph@codesourcery.com>
14324 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
14326 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
14328 * benchtests/bench-timing.h (attribute_hidden): Undefine.
14330 2018-03-18 Richard Braun <rbraun@sceen.net>
14332 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
14335 2018-03-18 Agustina Arzille <avarzille@riseup.net>
14337 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
14338 (__libc_cleanup_fct): Define function.
14339 (__libc_cleanup_region_start, __libc_cleanup_region_end,
14340 __libc_cleanup_end): Rewrite implementation using
14341 __attribute__ ((__cleanup__)).
14342 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
14343 * hurd/Makefile (routines): Add hurdlock.
14344 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
14346 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
14347 * hurd/hurdpid.c: Include <lowlevellock.h>
14348 (_S_msg_proc_newids): Use lll_wait to synchronize.
14349 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
14350 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
14351 * mach/Makefile (lock-headers): Remove machine-lock.h.
14352 * mach/lock-intern.h: Include <lowlevellock.h> instead of
14354 (__spin_lock_t): New type.
14355 (__SPIN_LOCK_INITIALIZER): New macro.
14356 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
14357 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
14358 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
14359 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
14360 (__mutex_init): Initialize with lll.
14361 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
14362 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
14364 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14365 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
14366 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
14367 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
14368 (__setpgid): Use lll for synchronization.
14369 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
14370 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
14371 instead of <cthreads.h>.
14372 (_IO_lock_inexpensive): New macro
14373 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
14374 (__libc_lock_self0): New declaration.
14375 (__libc_lock_owner_self): New macro.
14376 (__libc_key_t): Remove type.
14377 (_LIBC_LOCK_INITIALIZER): New macro.
14378 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
14379 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
14380 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
14381 __libc_lock_define_initialized_recursive,
14382 __rtld_lock_define_initialized_recursive,
14383 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
14384 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
14385 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
14386 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
14387 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
14388 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
14389 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
14391 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
14392 * hurd/hurdlock.c: New file.
14393 * hurd/hurdlock.h: New file.
14394 * mach/lowlevellock.h: New file
14396 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14398 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
14399 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
14400 when opening a symlink with O_NOFOLLOW.
14401 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
14402 path when flags contains O_NOFOLLOW.
14403 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
14404 if flags contains O_DIRECTORY and the result is a directory.
14405 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
14406 oneself when the pointer given in D is nul (as set by ext2fs).
14407 * sysdeps/mach/hurd/mlockall.c: New file.
14408 * sysdeps/mach/hurd/munlockall.c: New file.
14410 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14412 * hurd/hurdsig.c: Include <pthread.h>.
14413 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
14414 get the signal thread stack layout.
14415 * hurd/Makefile (headers): Remove threadvar.h.
14416 (inline-headers): Remove threadvar.h.
14417 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
14418 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
14419 __hurd_threadvar_max, __hurd_errno_location.
14420 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
14421 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
14422 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
14423 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
14424 unless TLS is not initialized yet, in which case we do not need a
14425 critical section yet anyway.
14426 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
14428 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
14430 (__hurd_threadvar_index): Remove enum.
14431 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
14432 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
14434 (__hurd_reply_port0): New variable declaration.
14435 (__hurd_local_reply_port): New macro.
14436 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
14437 (interrupted_reply_port_location): Add thread_t parameter. Use it
14438 with THREAD_TCB to access thread-local variables.
14439 (_hurdsig_abort_rpcs): Pass ss->thread to
14440 interrupted_reply_port_location.
14441 (_hurd_internal_post_signal): Likewise.
14442 (_hurdsig_init): Use presence of cthread_fork instead of
14443 __hurd_threadvar_stack_mask to start signal thread by hand.
14444 Remove signal thread threadvar initialization.
14445 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
14446 * hurd/sigunwind.c: Include <hurd/threadvar.h>
14447 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
14449 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
14451 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
14452 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
14453 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
14454 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
14455 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
14456 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
14457 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
14459 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
14460 <hurd/threadvar.h>.
14461 [IS_IN(rtld)] (rtld_errno): New variable.
14462 [IS_IN(rtld)] (__errno_location): New weak function.
14463 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
14464 * sysdeps/mach/hurd/errno.c: Remove file.
14465 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
14466 (__fork): Remove THREADVAR_SPACE macro and its use.
14467 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
14469 (init): Do not initialize threadvar.
14470 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
14472 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
14473 __hurd_local_reply_port instead of threadvar.
14474 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
14475 _hurd_sigstate fields.
14476 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
14477 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
14478 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
14479 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
14480 instead of threadvar.
14481 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
14482 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
14483 (use_threadvar, global_reply_port): Remove variables.
14484 (__hurd_reply_port0): New variable.
14485 (__mig_get_reply_port): Use __hurd_local_reply_port and
14486 __hurd_reply_port0 instead of threadvar.
14487 (__mig_dealloc_reply_port): Likewise.
14488 (__mig_init): Do not initialize threadvar.
14489 * sysdeps/mach/hurd/profil.c: Fix comment.
14490 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
14491 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
14492 cthread_keycreate, cthread_getspecific, cthread_setspecific to
14493 __cthread_fork, __cthread_detach, __pthread_getattr_np,
14494 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
14495 __cthread_setspecific.
14496 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
14497 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
14498 __cthread_t instead of cthread_fork, cthread_detach,
14499 pthread_getattr_np, pthread_attr_getstack.
14500 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
14501 __cthread_keycreate.
14502 (cthread_getspecific): Rename to __cthread_getspecific.
14503 (cthread_setspecific): Rename to __cthread_setspecific.
14504 (__libc_getspecific): Use __cthread_getspecific instead of
14505 cthread_getspecific.
14506 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
14507 __cthread_keycreate instead of cthread_keycreate.
14508 (__libc_setspecific): Use __cthread_setspecific instead of
14509 cthread_setspecific.
14510 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
14512 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
14513 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
14514 testing whether it is defined.
14516 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14518 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
14520 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
14521 * sysdeps/mach/i386/thread_state.h
14522 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
14524 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
14526 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
14528 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
14529 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
14531 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
14533 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
14534 descriptor instead of creating a new one.
14535 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
14537 * mach/setup-thread.c: Include <ldsodefs.h>.
14538 (__mach_setup_thread): Call _dl_allocate_tls, pass
14539 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
14540 MACHINE_THREAD_STATE_FLAVOR, before getting
14541 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
14542 MACHINE_THREAD_STATE_FLAVOR with the result.
14543 * hurd/hurdfault.c (_hurdsig_fault_init): Call
14544 MACHINE_THREAD_STATE_FIX_NEW.
14545 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
14546 too. Add original thread parameter.
14548 2018-03-16 Joseph Myers <joseph@codesourcery.com>
14550 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
14551 Remove inline function.
14553 * sysdeps/i386/fpu/libm-test-ulps: Update.
14554 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14556 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
14558 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
14561 2018-03-15 Joseph Myers <joseph@codesourcery.com>
14563 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
14564 (__sincos_code): Remove define and undefine.
14565 [__FAST_MATH__] (__sincos): Remove inline function.
14566 [__FAST_MATH__] (__sincosf): Remove inline function.
14567 [__FAST_MATH__] (__sincosl): Remove inline function.
14568 (__atan2l): Remove inline functions.
14569 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
14570 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
14572 (floor): Remove inline function.
14574 [__FAST_MATH__] (__ldexp_code): Remove macro.
14575 [__FAST_MATH__] (ldexp): Remove inline function.
14576 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
14577 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
14578 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
14579 [__USE_ISOC99] (__lrint_code): Remove macro.
14580 [__USE_ISOC99] (__llrint_code): Likewise.
14581 [__USE_ISOC99] (lrintf): Remove inline function.
14582 [__USE_ISOC99] (lrint): Likewise.
14583 [__USE_ISOC99] (lrintl): Likewise.
14584 [__USE_ISOC99] (llrint): Likewise.
14585 [__USE_ISOC99] (llrintf): Likewise.
14586 [__USE_ISOC99] (llrintl): Likewise.
14588 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14590 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
14591 (__ieee754_sqrtf): Remove.
14592 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
14593 (__ieee754_sqrtf): Remove.
14594 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
14595 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14596 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
14597 (__ieee754_sqrtf): Remove.
14598 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
14599 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
14602 (__ieee754_sqrt): Remove.
14603 (__ieee754_sqrtf): Remove.
14604 (__ieee754_sqrtl): Remove.
14605 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14606 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
14607 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
14608 (__ieee754_sqrtf): Remove.
14609 (__ieee754_sqrtl): Remove.
14611 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14613 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
14614 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14615 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14616 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
14617 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
14618 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14619 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14620 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14622 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
14623 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
14624 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14625 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14626 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
14627 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
14628 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14629 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
14630 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14631 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14632 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
14633 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14634 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
14635 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
14636 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
14637 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14638 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14639 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14640 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
14641 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
14642 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14643 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14644 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
14645 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
14646 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
14647 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
14648 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14649 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14650 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
14651 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14652 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14653 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
14654 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14655 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
14656 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14657 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14658 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
14659 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
14660 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14661 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
14663 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14665 * include/math.h (sqrt): Declare with asm redirect.
14668 (sqrtf128): Likewise.
14669 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
14670 nonlib and libnldbl with -fmath-errno.
14671 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
14672 * math/w_sqrt_template.c: Likewise.
14673 * math/w_sqrtf_compat.c: Likewise.
14674 * math/w_sqrtl_compat.c: Likewise.
14675 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
14676 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
14677 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
14680 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14682 * benchtests/Makefile: Define _ISOMAC.
14683 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
14684 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
14685 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
14686 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
14687 * benchtests/bench-timing.h: Define attribute_hidden.
14689 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14691 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
14694 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14697 * localedata/locales/cs_CZ (mon): Rename to...
14699 (mon): Import from CLDR (genitive case).
14701 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14704 * localedata/locales/el_CY (abmon): Rename to...
14705 (ab_alt_mon): This.
14706 (abmon): Import from CLDR (abbreviated genitive case).
14707 * localedata/locales/el_GR (abmon): Rename to...
14708 (ab_alt_mon): This.
14709 (abmon): Import from CLDR (abbreviated genitive case).
14711 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14714 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
14716 2018-03-15 Robert Buj <robert.buj@gmail.com>
14719 * localedata/locales/ca_ES (abmon): Rename to...
14720 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14721 (mon): Rename to...
14723 (abmon): Import from CLDR (genitive case, month names preceded by
14726 (abday): Synchronize with CLDR.
14727 (d_t_fmt): Likewise.
14731 (LC_TIME): Improve indentation.
14732 (LC_TELEPHONE): Likewise.
14733 (LC_NAME): Likewise.
14734 (LC_ADDRESS): Likewise.
14736 2018-03-14 Joseph Myers <joseph@codesourcery.com>
14738 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
14739 (lrintf): Remove definitions used only with old GCC.
14740 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
14741 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
14742 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
14743 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
14744 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
14745 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
14746 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
14747 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
14748 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
14749 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
14750 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
14751 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
14752 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
14753 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
14754 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
14755 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
14756 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
14757 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
14758 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
14759 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
14760 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
14761 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
14762 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
14763 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
14764 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
14765 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
14766 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
14767 [__FAST_MATH__] (__M_SQRT2): Remove macro.
14769 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
14771 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
14772 instruction to unbreak builds with binutils 2.26 and older.
14774 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
14776 * sysdeps/aarch64/strncmp.S (count): New macro.
14777 (strncmp): Store misaligned length in SRC1 in COUNT.
14778 (mutual_align): Adjust.
14779 (misaligned8): Load dword at a time when it is safe.
14781 2018-03-12 Zack Weinberg <zackw@panix.com>
14785 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
14786 if the _IO_EOF_SEEN bit is already set; update commentary.
14787 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
14788 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
14790 * support/support_openpty.c, support/tty.h: New files.
14791 * support/Makefile (libsupport-routines): Add support_openpty.
14793 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
14795 * libio/Makefile (tests): Add tst-fgetc-after-eof.
14796 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
14798 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
14800 * po/pt_BR.po: Update translations.
14802 2018-03-12 David Michael <fedora.dm0@gmail.com>
14804 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
14805 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
14806 get a port to the startup server.
14808 2018-03-11 Zack Weinberg <zackw@panix.com>
14810 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
14811 before nldbl-compat.h.
14813 2018-03-10 Zack Weinberg <zackw@panix.com>
14815 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
14816 math.h or math_private.h.
14818 * sysdeps/alpha/fpu/s_isnan.c
14819 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
14820 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
14821 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
14822 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
14823 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
14824 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
14825 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
14826 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
14827 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
14828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
14829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
14830 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
14831 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
14832 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
14833 Include math_private.h.
14835 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
14836 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
14837 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
14838 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
14839 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
14840 * sysdeps/powerpc/power7/fpu/s_logb.c:
14841 Include math.h and math_private.h.
14843 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
14844 uses of $at in .set noat / .set at.
14846 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
14848 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
14849 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
14850 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
14851 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
14854 2018-03-09 Florian Weimer <fweimer@redhat.com>
14856 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
14859 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
14862 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
14863 Add nop before __startcontext, add explaining comments.
14865 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14868 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
14870 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
14871 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
14872 Do not build hardware transactional code for __SPE__.
14873 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14874 (__lll_trylock_elision): Likewise.
14875 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14876 (__lll_unlock_elision): Likewise.
14878 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
14879 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
14880 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
14881 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
14882 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
14883 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
14884 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
14885 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
14886 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
14887 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
14888 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
14889 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
14890 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
14891 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
14892 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
14893 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
14894 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
14895 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
14896 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
14897 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
14898 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
14899 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14900 (__ASSUME_CLONE_BACKWARDS): Define.
14901 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
14902 __clone2 if __NR_clone2 is defined.
14903 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14904 (__ASSUME_CLONE_BACKWARDS): Likewise.
14905 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14906 (__ASSUME_CLONE_BACKWARDS): Likewise.
14907 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14908 (__ASSUME_CLONE2): Likewise.
14909 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14910 (__ASSUME_CLONE_BACKWARDS3): Likewise.
14911 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
14912 variants and the define architecture can use.
14913 (__ASSUME_CLONE_DEFAULT): Define as default.
14914 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14915 (__ASSUME_CLONE_BACKWARDS): Likewise.
14916 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14917 (__ASSUME_CLONE_BACKWARDS): Likewise.
14918 * sysdeps/unix/sysv/linux/s390/kernel-features.h
14919 (__ASSUME_CLONE_BACKWARDS2): Likewise.
14921 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
14923 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
14925 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
14928 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
14929 (do_test_limit): Likewise.
14931 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
14932 for every implementation.
14933 (do_test): Likewise.
14935 * benchtests/bench-strncmp.c: Convert output to json.
14937 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14939 * io/futimens.c: Add missing start-of-file descriptive comment.
14940 * io/utime.c: Likewise.
14941 * misc/futimesat.c: Likewise.
14942 * misc/utimes.c: Likewise.
14943 * sysdeps/mach/hurd/futimesat.c: Likewise.
14944 * sysdeps/mach/hurd/utimes.c: Likewise.
14945 * sysdeps/posix/utime.c: Likewise.
14946 * sysdeps/posix/utimes.c: Likewise.
14947 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
14948 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14949 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
14950 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
14952 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14954 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
14956 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
14957 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
14958 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
14959 (__futimens): Move implementation to...
14960 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
14961 utime_tvalue_from_tspec): ... new helper functions.
14962 (hurd_futimens): New function.
14963 * sysdeps/mach/hurd/futimesat.c: New file.
14964 * sysdeps/mach/hurd/utimensat.c: New file.
14966 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
14968 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
14969 UTIME_OMIT): New macros.
14970 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
14971 before reverting to converting time spec to time value and calling
14973 * sysdeps/mach/hurd/utime-helper.c: New file.
14974 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
14975 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
14976 reverting to utime_tvalue_from_tval and __file_utimes.
14977 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
14978 (__lutimes): Just call hurd_futimens after lookup.
14979 * sysdeps/mach/hurd/utimes.c: Likewise.
14981 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14983 * bits/sigaction.h: Add include guard.
14984 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
14985 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
14986 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
14987 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
14988 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
14989 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
14990 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
14991 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
14992 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
14994 2018-03-05 Joseph Myers <joseph@codesourcery.com>
14996 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
14997 -Wmaybe-uninitialized for -Os.
14998 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
15001 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15003 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
15004 __INO_T_MATCHES_INO64_T is defined.
15005 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
15006 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
15008 * dirent/alphasort64.c: Likewise.
15009 * dirent/scandir.c: Likewise.
15010 * dirent/scandir64-tail.c: Likewise.
15011 * dirent/scandir64.c: Likewise.
15012 * dirent/scandirat.c: Likewise.
15013 * dirent/scandirat64.c: Likewise.
15014 * dirent/versionsort.c: Likewise.
15015 * dirent/versionsort64.c: Likewise.
15016 * include/dirent.h: Likewise.
15018 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
15019 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
15020 for socketpair endpoint.
15021 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
15022 WRITE_BUFFER_SIZE as buffer size for sending socket.
15023 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
15024 issue on system where send is implemented with sendto syscall.
15025 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
15026 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
15027 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
15028 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
15031 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
15032 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
15033 sa_restorer for vDSO case.
15034 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
15036 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15038 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
15039 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
15040 * hurd/hurd/ioctl.h: Include <mach/port.h>
15041 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
15042 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
15043 <mach/mach_types.h> and <mach/message.h>.
15044 (headers): Move mach/param.h to bits/mach/param.h.
15045 * sysdeps/mach/i386/mach/param.h: Move file to ...
15046 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
15047 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
15049 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
15050 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
15051 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
15052 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
15053 trivial, for C++ conformity.
15054 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
15055 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
15056 Process mig output through $(migheadersed).
15057 * hurd/Makefile (migheadersed): Define variable.
15058 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
15059 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
15061 * hurd/hurd.h: Include <bits/types/sigset_t.h>
15062 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
15063 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
15064 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
15065 <bits/types/sigset_t.h>.
15066 [!defined __USE_GNU]: Do not #error out.
15067 (struct hurd_sigstate): Use _NSIG instead of NSIG.
15068 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
15069 Include <stddef.h> and <bits/types/sigset_t.h>
15070 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
15071 instead of sighandler_t.
15072 * stdlib/errno.h (error_t): Move definition to...
15073 * bits/types/error_t.h: ... new header.
15074 * stdlib/Makefile (headers): Add bits/types/error_t.h.
15075 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
15076 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
15077 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
15078 * hurd/hurd.h: Include <bits/types/error_t.h>
15079 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
15080 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
15081 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
15082 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
15083 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
15084 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
15085 * sysdeps/mach/hurd/futimens.c: New file.
15087 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
15090 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
15091 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
15092 * nscd/gai.c (__nss_hosts_database): Readd definition.
15093 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
15094 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
15095 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
15097 2018-03-02 Joseph Myers <joseph@codesourcery.com>
15099 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
15100 (ifunc_one): Likewise.
15102 2018-03-01 DJ Delorie <dj@delorie.com>
15105 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
15108 2018-03-01 Maciej W. Rozycki <macro@mips.com>
15110 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
15111 `match_pid' parameter.
15112 (td_ta_thr_iter): Update accordingly.
15114 2018-03-01 Florian Weimer <fweimer@redhat.com>
15116 * nptl/Makefile (install-lib-ldscripts): Remove.
15117 (install): Remove rule.
15118 ($(inst_libdir)/libpthread.so): Likewise.
15120 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15123 * localedata/locales/an_ES: update month and day names,
15124 improve d_fmt, improve postal_fmt, add country_post,
15127 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15129 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
15130 Ukrainian instead of Bulgarian.
15132 2018-03-01 Florian Weimer <fweimer@redhat.com>
15134 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
15137 2018-03-01 Florian Weimer <fweimer@redhat.com>
15139 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
15140 * nptl/Makefile (routines): Add pthread_atfork.
15141 (static-only-routines): Set to pthread_atfork.
15142 (libpthread-routines): Remove pthread_atfork.
15143 (libpthread-static-only-routines): Remove.
15144 (install): Update comment.
15145 (libpthread.so): Do not install libpthread_nonshared.a.
15146 (tests): Do not link with libpthread_nonshared.a.
15147 (generated): Remove libpthread_nonshared.a.
15148 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
15149 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
15150 with libpthread_nonshared.a.
15152 2018-02-28 Joseph Myers <joseph@codesourcery.com>
15155 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
15156 (libc_feholdexcept_setroundf128): New macro.
15157 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
15160 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
15162 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
15163 * include/inttypes.h: New file.
15165 2018-02-27 Joseph Myers <joseph@codesourcery.com>
15167 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
15168 -Os in two more places.
15170 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15172 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
15173 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
15174 be sorted correctly at the moment because of a bug.
15176 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15178 [BZ #22550] - es_ES locale (and other es_* locales): collation should
15179 treat ñ as a primary different character, sync the collation
15180 for Spanish with CLDR.
15181 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
15182 * localedata/Makefile: Add new test files.
15183 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
15184 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
15186 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
15187 * localedata/am_ET.UTF-8.in: New test file.
15188 * localedata/az_AZ.UTF-8.in: Likewise.
15189 * localedata/be_BY.UTF-8.in: Likewise.
15190 * localedata/ber_DZ.UTF-8.in: Likewise.
15191 * localedata/ber_MA.UTF-8.in: Likewise.
15192 * localedata/bg_BG.UTF-8.in: Likewise.
15193 * localedata/br_FR.UTF-8.in: Likewise.
15194 * localedata/cmn_TW.UTF-8.in: Likewise.
15195 * localedata/crh_UA.UTF-8.in: Likewise.
15196 * localedata/csb_PL.UTF-8.in: Likewise.
15197 * localedata/cv_RU.UTF-8.in: Likewise.
15198 * localedata/cy_GB.UTF-8.in: Likewise.
15199 * localedata/dz_BT.UTF-8.in: Likewise.
15200 * localedata/eo.UTF-8.in: Likewise.
15201 * localedata/es_ES.UTF-8.in: Likewise.
15202 * localedata/fa_IR.UTF-8.in: Likewise.
15203 * localedata/fi_FI.UTF-8.in: Likewise.
15204 * localedata/fil_PH.UTF-8.in: Likewise.
15205 * localedata/fur_IT.UTF-8.in: Likewise.
15206 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
15207 * localedata/ha_NG.UTF-8.in: Likewise.
15208 * localedata/ig_NG.UTF-8.in: Likewise.
15209 * localedata/ik_CA.UTF-8.in: Likewise.
15210 * localedata/kk_KZ.UTF-8.in: Likewise.
15211 * localedata/ku_TR.UTF-8.in: Likewise.
15212 * localedata/ky_KG.UTF-8.in: Likewise.
15213 * localedata/ln_CD.UTF-8.in: Likewise.
15214 * localedata/mi_NZ.UTF-8.in: Likewise.
15215 * localedata/ml_IN.UTF-8.in: Likewise.
15216 * localedata/mn_MN.UTF-8.in: Likewise.
15217 * localedata/mr_IN.UTF-8.in: Likewise.
15218 * localedata/mt_MT.UTF-8.in: Likewise.
15219 * localedata/nb_NO.UTF-8.in: Likewise.
15220 * localedata/om_KE.UTF-8.in: Likewise.
15221 * localedata/os_RU.UTF-8.in: Likewise.
15222 * localedata/ps_AF.UTF-8.in: Likewise.
15223 * localedata/ro_RO.UTF-8.in: Likewise.
15224 * localedata/ru_RU.UTF-8.in: Likewise.
15225 * localedata/sc_IT.UTF-8.in: Likewise.
15226 * localedata/se_NO.UTF-8.in: Likewise.
15227 * localedata/sq_AL.UTF-8.in: Likewise.
15228 * localedata/sv_SE.UTF-8.in: Likewise.
15229 * localedata/szl_PL.UTF-8.in: Likewise.
15230 * localedata/tg_TJ.UTF-8.in: Likewise.
15231 * localedata/tk_TM.UTF-8.in: Likewise.
15232 * localedata/tt_RU.UTF-8.in: Likewise.
15233 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
15234 * localedata/ug_CN.UTF-8.in: Likewise.
15235 * localedata/uz_UZ.UTF-8.in: Likewise.
15236 * localedata/vi_VN.UTF-8.in: Likewise.
15237 * localedata/yi_US.UTF-8.in: Likewise.
15238 * localedata/yo_NG.UTF-8.in: Likewise.
15239 * localedata/zh_CN.UTF-8.in: Likewise.
15240 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
15241 file and fix bugs in the collation.
15242 * localedata/locales/az_AZ: Likewise.
15243 * localedata/locales/be_BY: Likewise.
15244 * localedata/locales/ber_DZ: Likewise.
15245 * localedata/locales/ber_MA: Likewise.
15246 * localedata/locales/bg_BG: Likewise.
15247 * localedata/locales/br_FR: Likewise.
15248 * localedata/locales/br_FR@euro: Likewise.
15249 * localedata/locales/ca_ES: Likewise.
15250 * localedata/locales/cns11643_stroke: Likewise.
15251 * localedata/locales/crh_UA: Likewise.
15252 * localedata/locales/cs_CZ: Likewise.
15253 * localedata/locales/csb_PL: Likewise.
15254 * localedata/locales/cv_RU: Likewise.
15255 * localedata/locales/cy_GB: Likewise.
15256 * localedata/locales/da_DK: Likewise.
15257 * localedata/locales/dz_BT: Likewise.
15258 * localedata/locales/en_CA: Likewise.
15259 * localedata/locales/eo: Likewise.
15260 * localedata/locales/es_CU: Likewise.
15261 * localedata/locales/es_EC: Likewise.
15262 * localedata/locales/es_ES: Likewise.
15263 * localedata/locales/es_US: Likewise.
15264 * localedata/locales/et_EE: Likewise.
15265 * localedata/locales/fa_IR: Likewise.
15266 * localedata/locales/fi_FI: Likewise.
15267 * localedata/locales/fil_PH: Likewise.
15268 * localedata/locales/fur_IT: Likewise.
15269 * localedata/locales/gez_ER@abegede: Likewise.
15270 * localedata/locales/ha_NG: Likewise.
15271 * localedata/locales/hr_HR: Likewise.
15272 * localedata/locales/hsb_DE: Likewise.
15273 * localedata/locales/hu_HU: Likewise.
15274 * localedata/locales/ig_NG: Likewise.
15275 * localedata/locales/ik_CA: Likewise.
15276 * localedata/locales/is_IS: Likewise.
15277 * localedata/locales/iso14651_t1_pinyin: Likewise.
15278 * localedata/locales/kk_KZ: Likewise.
15279 * localedata/locales/ku_TR: Likewise.
15280 * localedata/locales/ky_KG: Likewise.
15281 * localedata/locales/ln_CD: Likewise.
15282 * localedata/locales/lt_LT: Likewise.
15283 * localedata/locales/lv_LV: Likewise.
15284 * localedata/locales/mi_NZ: Likewise.
15285 * localedata/locales/ml_IN: Likewise.
15286 * localedata/locales/mn_MN: Likewise.
15287 * localedata/locales/mr_IN: Likewise.
15288 * localedata/locales/mt_MT: Likewise.
15289 * localedata/locales/nb_NO: Likewise.
15290 * localedata/locales/om_KE: Likewise.
15291 * localedata/locales/os_RU: Likewise.
15292 * localedata/locales/pl_PL: Likewise.
15293 * localedata/locales/ps_AF: Likewise.
15294 * localedata/locales/ro_RO: Likewise.
15295 * localedata/locales/ru_RU: Likewise.
15296 * localedata/locales/ru_UA: Likewise.
15297 * localedata/locales/sc_IT: Likewise.
15298 * localedata/locales/se_NO: Likewise.
15299 * localedata/locales/si_LK: Likewise.
15300 * localedata/locales/sq_AL: Likewise.
15301 * localedata/locales/sv_FI: Likewise.
15302 * localedata/locales/sv_FI@euro: Likewise.
15303 * localedata/locales/sv_SE: Likewise.
15304 * localedata/locales/szl_PL: Likewise.
15305 * localedata/locales/tg_TJ: Likewise.
15306 * localedata/locales/ti_ER: Likewise.
15307 * localedata/locales/tk_TM: Likewise.
15308 * localedata/locales/tl_PH: Likewise.
15309 * localedata/locales/tr_TR: Likewise.
15310 * localedata/locales/tt_RU: Likewise.
15311 * localedata/locales/tt_RU@iqtelif: Likewise.
15312 * localedata/locales/ug_CN: Likewise.
15313 * localedata/locales/uk_UA: Likewise.
15314 * localedata/locales/uz_UZ: Likewise.
15315 * localedata/locales/uz_UZ@cyrillic: Likewise.
15316 * localedata/locales/vi_VN: Likewise.
15317 * localedata/locales/yi_US: Likewise.
15318 * localedata/locales/yo_NG: Likewise.
15320 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15322 * gen-locales.mk: Make test files which contain @ modifiers in their
15324 * localedata/gen-locale.sh: Likewise.
15326 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15328 * posix/tst-fnmatch.input: Fix results for range expressions
15330 * posix/tst-regexloc.c: Do not use a range expression for
15331 de_DE.ISO-8859-1 locale.
15333 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15335 * posix/bug-regex5.c: Fix test case because with the new
15336 iso14651_t1_common file, the da_DK locale now has 6 collating elements
15337 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
15340 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15342 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
15343 downloaded from ISO, the collation order of @-. and space has changed.
15344 Therefore, this test file needed to be adapted.
15345 * localedata/fr_CA.UTF-8.in: Likewise.
15346 * localedata/fr_FR.UTF-8.in: Likewise.
15347 * localedata/uk_UA.UTF-8.in: Likewise.
15349 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15351 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
15352 order of ȥ in the new iso14651_t1_common file.
15353 * localedata/pl_PL.UTF-8.in: Likewise.
15355 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15357 * localedata/locales/iso14651_t1_common: Add sections for various
15358 scripts to the iso14651_t1_common file.
15360 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15362 * localedata/locales/iso14651_t1_common: Use the code point of a
15363 character in the fourth collation level instead of IGNORE for all
15364 entries which have IGNORE on all 4 levels.
15366 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15368 * localedata/locales/iso14651_t1_common: Add some convenient collation
15369 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
15370 rules similar to those in CLDR.
15372 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15374 * localedata/locales/iso14651_t1_common: The new version of this
15375 file downloaded from ISO contained several syntax errors which
15376 are fixed by this patch.
15378 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15380 * localedata/locales/iso14651_t1_common: replace all <U.....>
15381 with <U000.....> because glibc understands only 4 digit or 8 digit
15383 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15385 * localedata/locales/iso14651_t1_common: Necessary changes
15386 to make the file downloaded from ISO usable by glibc.
15388 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15391 * localedata/locales/iso14651_t1_common: Update file to
15392 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
15394 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15396 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
15397 of <nptl/pthreadP.h>
15398 (thread_attr_compare): Move function to...
15399 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
15400 * sysdeps/nptl/timer_routines.h: ... new header.
15401 * sysdeps/mach/hurd/gai_misc.h: New file.
15403 2018-02-26 Joseph Myers <joseph@codesourcery.com>
15405 * string/strcoll_l.c: Include <libc-diag.h>.
15406 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
15407 declarations of seq1 and seq2.
15410 * stdlib/atoi.c (atoi): Use libc_hidden_def.
15411 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
15413 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
15417 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
15418 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
15419 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
15420 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
15421 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
15422 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
15424 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15426 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
15427 macros used in __ptrace_request.
15429 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
15432 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
15434 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
15435 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
15436 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
15439 2018-02-23 Joseph Myers <joseph@codesourcery.com>
15442 * ctype/ctype.c (tolower): Use libc_hidden_def.
15443 (toupper): Likewise.
15444 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
15445 [!_ISOMAC] (toupper): Likewise.
15447 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15449 * localedata/Makefile: Remove --quiet argument when
15452 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15455 * localedata/locales/pt_BR (LC_TIME): use / instead of -
15457 * localedata/locales/pt_PT (LC_TIME): likewise
15459 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15462 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
15463 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
15464 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
15466 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15470 * nptl/Makefile (routines): Remove unregister-atfork.
15471 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
15472 (fork_handler_alloc): Remove function.
15473 (fork_handlers, fork_handler_init): New variables.
15474 (__fork_lock): Rename to atfork_lock.
15475 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
15476 to use a dynamic array to add/remove atfork handlers.
15477 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15478 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
15479 Remove declaration.
15480 (fork_handler): Remove next, refcntr, and need_signal member.
15481 (__run_fork_handler_type): New enum.
15482 (__run_fork_handlers): New prototype.
15483 * nptl/register-atfork.c: Remove file.
15484 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
15486 * sysdeps/nptl/nptl-signals.h: Move to ...
15487 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
15489 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
15490 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
15491 unnecessary check for SIGTIMER.
15492 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
15493 remove unnecessary removal of SIGTIMER.
15494 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
15495 include-signals.h rename.
15496 * nptl/pthreadP.h: Likewise.
15497 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
15498 __is_internal_signal instead of __nptl_is_internal_signal.
15500 2018-02-22 Andrew Waterman <andrew@sifive.com>
15503 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
15504 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
15505 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
15506 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
15508 2018-02-22 DJ Delorie <dj@delorie.com>
15510 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
15512 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
15514 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
15515 do_misaligned, not misaligned8.
15517 2018-02-22 Steve Ellcey <sellcey@cavium.com>
15519 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
15520 Add memcpy_thunderx2.
15521 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15523 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
15524 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
15525 and IS_THUNDERX2PA checks.
15526 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
15527 Use macro to set name appropriately.
15528 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
15529 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
15530 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
15532 (IS_THUNDERX2): New macro.
15534 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
15536 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15538 2018-02-21 Zack Weinberg <zackw@panix.com>
15540 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
15541 Define here, unconditionally.
15542 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
15543 * libio/libioP.h: Remove #if 0 blocks.
15544 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
15545 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
15546 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
15548 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
15549 Assume weak_alias is always defined.
15551 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
15552 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
15553 Remove #if 0 and #ifdef TODO blocks.
15554 Assume text_set_element is always defined.
15556 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
15557 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
15558 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
15560 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
15561 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
15562 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
15563 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
15564 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
15565 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
15566 Reformat bit flags for _flags field to make occupancy clearer.
15568 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
15569 Keep definitions consistent with those in libio/libio.h.
15571 * libio/libio.h (_IO_file_flags): Remove macro.
15572 All uses changed to _flags.
15574 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
15575 (__HAVE_COLUMN, _IO_BE): Don't define.
15576 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
15577 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
15578 * libio/libioP.h (EOF): Don't define.
15579 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
15580 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
15581 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
15582 testing _IO_UNIFIED_JUMPTABLES.
15584 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
15585 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
15586 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
15587 (_IO_size_t): Delete; all uses changed to size_t.
15588 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
15589 (_IO_off_t): Delete; all uses changed to off_t.
15590 (_IO_off64_t): Delete; all uses changed to off64_t.
15591 (_IO_pid_t): Delete; all uses changed to pid_t.
15592 (_IO_uid_t): Delete; all uses changed to uid_t.
15593 (_IO_wint_t): Delete; all uses changed to wint_t.
15594 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
15595 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
15596 (_IO_cookie_io_functions_t): Delete; all uses changed to
15597 cookie_io_functions_t.
15598 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
15599 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
15600 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
15601 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
15603 * libio/iofopncook.c: Remove unnecessary forward declarations.
15604 * libio/iolibio.h: Correct outdated commentary.
15605 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
15606 * stdio-common/fxprintf.c (__fxprintf_nocancel):
15607 Remove unnecessary casts.
15608 * stdio-common/getline.c: Use _IO_getdelim directly.
15609 Don't redefine ssize_t.
15610 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
15611 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
15612 Remove outdated comments.
15613 * stdio-common/vfscanf.c: Don't redefine va_list.
15615 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
15616 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
15617 Remove preprocessor conditionals on _LIBC and __USE_GNU,
15618 which are always true, and __cplusplus, which is always false.
15620 2018-02-21 Joseph Myers <joseph@codesourcery.com>
15624 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
15625 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
15626 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
15627 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
15629 [!_ISOMAC] (putc_unlocked): Likewise.
15630 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
15631 define inline if [__USE_EXTERN_INLINES].
15632 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
15637 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
15638 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
15639 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
15640 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
15641 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
15643 * time/tzfile.c (__tzfile_read): Likewise.
15645 2018-02-21 Mike FABIAN <mfabian@redhat.com>
15648 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
15650 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15652 * io/fcntl.h: Fix a typo in a comment.
15654 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15657 * include/features.h: Add _ISOC11_SOURCE to test for whether to
15658 define _DEFAULT_SOURCE.
15659 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
15661 2018-02-21 Florian Weimer <fweimer@redhat.com>
15664 * elf/cache.c (save_cache): Call fsync on temporary file before
15666 (save_aux_cache): Call fdatasync on temporary file before renaming
15669 2018-02-21 Florian Weimer <fweimer@redhat.com>
15672 * include/caller.h: Remove file.
15673 * elf/dl-caller.c: Likewise.
15674 * elf/Makefile (dl-routines): Remove dl-caller.
15675 (shared-only-routines): Do not add dl-caller.
15676 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
15678 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
15680 (dl_open_worker): Do not call __check_caller.
15681 (_dl_open): Do not set caller_dl_open member.
15682 * elf/rtld.c (_rtld_global_ro): Do not initialize
15683 _dl_check_caller member.
15684 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
15685 _dl_check_caller member.
15686 (_dl_check_caller): Remove declaration.
15687 * sysdeps/unix/sysv/linux/dl-execstack.c
15688 (_dl_make_stack_executable): Do not call __check_caller.
15690 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
15692 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
15693 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
15695 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15697 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
15700 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15703 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
15704 of 199606L, 200112L, and 200809L.
15705 (_XOPEN_SOURCE): Document special values of 600 and 700.
15706 (_ISOC11_SOURCE): Document macro.
15707 (_ATFILE_SOURCE): Likewise.
15708 (_FORTIFY_SOURCE): Likewise.
15710 2018-02-19 Joseph Myers <joseph@codesourcery.com>
15714 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
15715 and define as weak alias of __ferror_unlocked. Use
15717 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
15719 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
15720 function if [__USE_EXTERN_INLINES].
15721 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
15724 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
15727 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
15729 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15732 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
15733 the GLIBC_2.1 version.
15735 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15738 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
15739 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
15740 intl/tst-gettext-de.po from po/de.po by removing the
15741 POT-Creation-Date line.
15742 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
15744 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
15747 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15749 * mach/Makefile (headers): Add mach/param.h.
15750 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
15751 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
15752 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
15753 (__ptsname_r): Move implementation to...
15754 (__ptsname_internal): ... new function. Add filling the STP
15757 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
15759 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
15762 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
15764 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
15767 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15769 * nptl/Makefile (tst-mutex8-ENV): Delete.
15770 * nptl/tst-mutex8.c (check_type):
15771 Add runtime check if mutex will be elided.
15773 2018-02-15 Joseph Myers <joseph@codesourcery.com>
15777 * manual/install.texi (Configuring and compiling): Describe
15778 passing CC and CFLAGS on configure command line, not as
15779 environment variables. Use @code markup on those variables.
15780 Specify what options go in CC and what go in CFLAGS. Note the
15781 requirement to compile with optimization.
15782 * INSTALL: Regenerated.
15785 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
15786 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
15787 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
15788 __sigprocmask instead of sigprocmask.
15789 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
15791 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
15792 __sigsetjmp and sigprocmask.
15795 * include/argz.h (argz_next): Use libc_hidden_proto.
15796 (__argz_next): Likewise.
15797 * string-argz-next.c (__argz_next): Use libc_hidden_def.
15798 (argz_next): Use libc_hidden_weak.
15801 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
15803 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
15807 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
15809 * libio/iofputs.c (fputs): Use libc_hidden_weak.
15813 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
15814 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
15815 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
15816 (__feof_unlocked): New declaration, and inline function if
15817 [__USE_EXTERN_INLINES].
15818 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
15819 instead of feof_unlocked.
15820 * intl/localealias.c [_LIBC] (FEOF): Likewise.
15821 * nss/nsswitch.c (nss_parse_file): Likewise.
15822 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
15824 * time/getdate.c (__getdate_r): Likewise.
15825 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
15826 Define as macro to call __feof_unlocked.
15828 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15830 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
15832 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15834 * math/Makefile: Remove mpexp.c and mplog.c
15835 * sysdeps/i386/fpu/mpexp.c: Delete file.
15836 * sysdeps/i386/fpu/mplog.c: Likewise.
15837 * sysdeps/ia64/fpu/mpexp.c: Likewise.
15838 * sysdeps/ia64/fpu/mplog.c: Likewise.
15839 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
15840 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
15841 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
15842 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15843 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
15844 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
15845 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
15846 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
15847 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
15848 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15849 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
15850 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
15851 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15852 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
15853 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
15854 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15856 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15858 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15860 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15862 * sysdeps/sh/libm-test-ulps: Update.
15864 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15866 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
15869 2018-02-12 Zack Weinberg <zackw@panix.com>
15872 * posix/sys/types.h: Don't include sys/sysmacros.h.
15873 * misc/sys/sysmacros.h: Remove the conditional deprecation
15874 warnings for the macros defined by this header.
15876 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15878 * manual/probes.texi: Remove slowexp probes.
15879 * math/Makefile: Remove slowexp.
15880 * sysdeps/generic/math_private.h (__slowexp): Remove.
15881 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
15882 document error bounds.
15883 * sysdeps/i386/fpu/slowexp.c: Remove.
15884 * sysdeps/ia64/fpu/slowexp.c: Remove.
15885 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
15886 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
15887 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
15888 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
15889 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
15890 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
15891 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
15892 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
15893 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
15894 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
15895 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
15897 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
15900 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
15901 * benchtests/pow-inputs: Update comment for slow path cases.
15902 * manual/probes.texi (slowpow_p10): Delete removed probe.
15903 (slowpow_p10): Likewise.
15904 * math/Makefile: Remove halfulp.c and slowpow.c.
15905 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
15906 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
15907 (__halfulp): Remove.
15908 (__slowpow): Remove.
15909 * sysdeps/i386/fpu/halfulp.c: Delete file.
15910 * sysdeps/i386/fpu/slowpow.c: Likewise.
15911 * sysdeps/ia64/fpu/halfulp.c: Likewise.
15912 * sysdeps/ia64/fpu/slowpow.c: Likewise.
15913 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
15914 improve comments and add error analysis.
15915 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
15916 (power1): Remove function:
15917 (log1): Remove error argument, add error analysis.
15918 (my_log2): Remove function.
15919 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
15920 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15921 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
15922 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
15923 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
15924 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
15925 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
15926 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
15927 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
15928 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
15929 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
15930 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15931 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
15932 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15934 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
15936 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
15937 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
15939 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
15942 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
15943 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
15944 and PTRACE_SETHBPREGS.
15946 2018-02-10 Zack Weinberg <zackw@panix.com>
15949 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
15951 * malloc/tst-malloc-stats-cancellation.c: New test case.
15952 * malloc/Makefile: Add new test case.
15954 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
15956 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
15958 2018-02-10 Joseph Myers <joseph@codesourcery.com>
15960 * math/Makefile (libm-narrow-fns): Add add.
15961 (libm-test-funcs-narrow): Likewise.
15962 * math/Versions (GLIBC_2.28): Add narrowing add functions.
15963 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
15964 * math/gen-auto-libm-tests.c (test_functions): Add add.
15965 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
15966 (NARROW_ADD_ROUND_TO_ODD): Likewise.
15967 (NARROW_ADD_TRIVIAL): Likewise.
15968 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
15970 (__daddl): Likewise.
15971 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
15973 (CFLAGS-nldbl-dadd.c): New variable.
15974 (CFLAGS-nldbl-fadd.c): Likewise.
15975 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15977 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
15979 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
15980 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
15981 * math/auto-libm-test-in: Add tests of add.
15982 * math/auto-libm-test-out-narrow-add: New generated file.
15983 * math/libm-test-narrow-add.inc: New file.
15984 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15985 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
15986 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
15987 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
15988 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
15989 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
15990 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
15991 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
15992 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
15993 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
15994 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
15995 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
15996 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
15997 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
15998 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
15999 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
16000 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
16001 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
16002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16003 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16004 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16005 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16006 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16007 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16008 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16009 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16010 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16011 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16012 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16013 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16014 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16015 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16020 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16021 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16022 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16023 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16024 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16025 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16026 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16027 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16028 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16029 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16031 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
16032 (f128-pairs): New variable.
16033 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
16034 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
16036 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
16037 Also make tests add $(f128-loader-link) to gnulib-tests.
16039 2018-02-09 DJ Delorie <dj@redhat.com>
16042 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
16043 64-bit ELF type for 64-bit ELF objects.
16045 2018-02-09 Joseph Myers <joseph@codesourcery.com>
16047 * math/libm-test-driver.c (snan_tests_arg): New variable.
16048 * math/libm-test-support.h (snan_tests_arg): New declaration.
16049 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
16051 * math/Makefile (test-type-pairs): New variable.
16052 (test-type-pairs-f64xf128-yes): Likewise.
16053 (tests): Add test-narrow-macros.
16054 (libm-test-funcs-narrow): New variable.
16055 (libm-test-c-narrow): Likewise.
16056 (generated): Add $(libm-test-c-narrow).
16057 (libm-tests-base-narrow): New variable.
16058 (libm-tests-narrow): Likewise.
16059 (libm-tests): Add $(libm-tests-narrow).
16060 (libm-tests-for-type): Handle $(libm-tests-narrow).
16061 (libm-test-c-narrow-obj): New variable.
16062 ($(libm-test-c-narrow-obj)): New rule.
16063 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
16064 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
16065 $(o-iterator) to set dependencies and CFLAGS.
16066 * math/gen-auto-libm-tests.c: Document use for narrowing
16068 (output_for_one_input_case): Take argument NARROW.
16069 (generate_output): Likewise. Update call to
16070 output_for_one_input_case.
16071 (main): Take --narrow option. Update call to generate_output.
16072 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
16073 (apply_lit): Update call to _apply_lit.
16074 (apply_arglit): New function.
16075 (parse_args): Handle "a" arguments.
16076 (parse_auto_input): Handle format names using ":".
16077 * math/README.libm-test: Document "a" parameter type.
16078 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
16079 (ARG_TYPE_TRUE_MIN): Likewise.
16080 (ARG_TYPE_MAX): Likwise.
16081 (ARG_MIN_EXP): Likewise.
16082 (ARG_MAX_EXP): Likewise.
16083 (ARG_MANT_DIG): Likewise.
16084 (TEST_COND_arg_ibm128): Likewise.
16085 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
16086 (TEST_COND_arg_fmt): New macro.
16087 (init_max_error): Update prototype.
16088 * math/libm-test-support.c (test_ibm128): New variable.
16089 (init_max_error): Take argument testing_ibm128 and set test_ibm128
16090 instead of using [TEST_COND_ibm128] conditional.
16091 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
16092 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
16093 [TEST_NARROW] (TEST_MSG): New definition.
16094 (arg_plus_zero): New macro.
16095 (arg_minus_zero): Likewise.
16096 (arg_plus_infty): Likewise.
16097 (arg_minus_infty): Likewise.
16098 (arg_qnan_value_pl): Likewise.
16099 (arg_qnan_value): Likewise.
16100 (arg_snan_value_pl): Likewise.
16101 (arg_snan_value): Likewise.
16102 (arg_max_value): Likewise.
16103 (arg_min_value): Likewise.
16104 (arg_min_subnorm_value): Likewise.
16105 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
16106 (RUN_TEST_LOOP_aa_f): New macro.
16107 (TEST_SUFF): New macro.
16108 (TEST_SUFF_STR): Likewise.
16109 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
16110 (TEST_COND_any_ibm128): New macro.
16111 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
16112 this_func. Update call to init_max_error.
16113 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
16114 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
16115 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
16116 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
16117 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
16118 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
16119 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
16120 * math/test-math-scalar.h (TEST_NARROW): Likewise.
16121 * math/test-math-vector.h (TEST_NARROW): Likewise.
16122 * math/test-arg-double.h: New file.
16123 * math/test-arg-float128.h: Likewise.
16124 * math/test-arg-float32x.h: Likewise.
16125 * math/test-arg-float64.h: Likewise.
16126 * math/test-arg-float64x.h: Likewise.
16127 * math/test-arg-ldouble.h: Likewise.
16128 * math/test-math-narrow.h: Likewise.
16129 * math/test-narrow-macros.c: Likewise.
16130 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
16131 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
16132 test-narrow-macros-ldbl-64.
16133 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
16135 * math/bits/mathcalls-narrow.h: New file.
16136 * include/bits/mathcalls-narrow.h: Likewise.
16137 * math/math-narrow.h: Likewise.
16138 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
16139 (__MATHCALL_NARROW_ARGS_2): Likewise.
16140 (__MATHCALL_NARROW_ARGS_3): Likewise.
16141 (__MATHCALL_NARROW_NORMAL): Likewise.
16142 (__MATHCALL_NARROW_REDIR): Likewise.
16143 (__MATHCALL_NARROW): Likewise.
16144 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
16145 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
16147 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16148 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
16149 (libm-narrow-fns): New variable.
16150 (libm-narrow-types-basic): Likewise.
16151 (libm-narrow-types-ldouble-yes): Likewise.
16152 (libm-narrow-types-float128-yes): Likewise.
16153 (libm-narrow-types-float128-alias-yes): Likewise.
16154 (libm-narrow-types): Likewise.
16155 (libm-routines): Add narrowing functions.
16156 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
16157 (libc_feholdexcept_setroundf128): New macro.
16158 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
16159 * sysdeps/ieee754/float128/float128_private.h: Include
16160 <math/math-narrow.h>.
16161 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
16162 Undefine and redefine.
16163 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
16164 (libm_alias_float_ldouble): Undefine and redefine.
16165 (libm_alias_double_ldouble): Likewise.
16167 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
16169 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
16171 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
16174 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
16176 * manual/creature.texi: Convert references to gcc.info to gcc.
16177 * manual/stdio.texi: Likewise.
16178 * manual/string.texi: Likewise.
16180 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16183 * posix/bits/types.h (__int_least8_t): New typedef.
16184 (__uint_least8_t): Likewise.
16185 (__int_least16_t): Likewise.
16186 (__uint_least16_t): Likewise.
16187 (__int_least32_t): Likewise.
16188 (__uint_least32_t): Likewise.
16189 (__int_least64_t): Likewise.
16190 (__uint_least64_t): Likewise.
16191 * sysdeps/generic/stdint.h (int_least8_t): Define using
16193 (int_least16_t): Define using __int_least16_t.
16194 (int_least32_t): Define using __int_least32_t.
16195 (int_least64_t): Define using __int_least64_t.
16196 (uint_least8_t): Define using __uint_least8_t.
16197 (uint_least16_t): Define using __uint_least16_t.
16198 (uint_least32_t): Define using __uint_least32_t.
16199 (uint_least64_t): Define using __uint_least64_t.
16200 * wcsmbs/uchar.h: Include <bits/types.h>.
16201 (char16_t): Define using __uint_least16_t conditional only on
16203 (char32_t): Define using __uint_least32_t conditional only on
16205 * wcsmbs/test-char-types.c: New file.
16206 * wcsmbs/Makefile (tests): Add test-char-types.
16208 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
16211 2018-02-07 Zack Weinberg <zackw@panix.com>
16213 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
16214 Delete all contents except for definitions of _G_HAVE_MMAP and
16215 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
16216 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
16217 sysdeps/unix/sysv/linux/_G_config.h. Make same content
16220 * libio/libio.h: Don't include bits/_G_config.h here.
16221 Include stddef.h with __need_wchar_t defined. Include
16222 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
16223 Define _IO_iconv_t here, directly.
16224 Don't define _IO_HAVE_ST_BLKSIZE.
16225 * libio/libioP.h: Include _G_config.h here. Move include of
16226 shlib-compat.h up with rest of includes. Simplify conditionals
16227 controlling definition of _IO_JUMPS_OFFSET.
16229 * csu/init.c: Remove always-true #if around entire file.
16230 Don't include stdio.h. Set _IO_stdin_used to hardwired
16231 constant 0x20001, and update commentary.
16232 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
16233 Replace all uses of _G_va_list with __gnuc_va_list.
16234 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
16235 instead of #if _IO_HAVE_ST_BLKSIZE.
16236 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
16237 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
16240 * libio/bits/libio.h: Move back to libio/libio.h and adjust
16241 multiple-include guard to match.
16242 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
16244 Remove preprocessor conditionals that are always true and/or
16245 redundant to other preprocessor conditionals in the same nest.
16246 Include shlib-compat.h unconditionally.
16247 Error out if _LIBC is not defined, or if _ISOMAC is defined,
16248 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
16249 defined after including stdio.h.
16250 Use __BEGIN_DECLS/__END_DECLS.
16252 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
16253 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
16254 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
16256 2018-02-07 Zack Weinberg <zackw@panix.com>
16258 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
16259 New single-type headers split from _G_config.h.
16260 * libio/bits/types/cookie_io_functions_t.h
16261 * libio/bits/types/struct_FILE.h
16262 New single-type headers split from libio.h.
16264 * libio/Makefile: Install the above new headers. Don't install
16265 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
16267 * libio/_G_config.h, libio/libio.h: Delete file.
16269 * libio/bits/libio.h: Remove improper-inclusion guard.
16270 Include stdio.h and don't repeat anything that it does.
16271 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
16272 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
16273 __io_read_fn as cookie_read_function_t,
16274 __io_write_fn as cookie_write_function_t,
16275 __io_seek_fn as cookie_seek_function_t,
16276 __io_close_fn as cookie_close_function_t,
16277 and _IO_cookie_io_functions_t as cookie_io_functions_t.
16278 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
16279 here, in the "compatibility defines" section. Remove an #if 0
16280 block. Use the "body" macros from bits/types/struct_FILE.h to
16281 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
16282 and _IO_ferror_unlocked.
16283 Move prototypes of __uflow and __overflow...
16285 * libio/stdio.h: ...here. Don't include bits/libio.h.
16286 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
16287 directly from stdarg.h. Include bits/types/__fpos_t.h,
16288 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
16289 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
16290 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
16291 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
16292 cookie_io_functions_t, not _IO_cookie_io_functions_t;
16293 __ssize_t, not _IO_ssize_t. Unconditionally define
16294 BUFSIZ as 8192 and EOF as (-1).
16296 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
16297 macros from bits/types/struct_FILE.h instead of _IO_* macros
16298 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
16299 instead of _IO_ssize_t.
16300 * libio/bits/stdio2.h: Similarly.
16302 * libio/iolibio.h: Add multiple-include guard.
16303 Include bits/libio.h after stdio.h.
16304 * libio/libioP.h: Add multiple-include guard.
16305 Include stdio.h and bits/libio.h before iolibio.h.
16307 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
16308 * include/bits/types/cookie_io_functions_t.h
16309 * include/bits/types/struct_FILE.h: New wrappers.
16311 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
16312 Get definitions of _G_fpos_t and _G_fpos64_t from
16313 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
16314 respectively. Remove improper-inclusion guards.
16316 * conform/data/stdio.h-data: Update expectations of va_list.
16317 * scripts/check-installed-headers.sh: Remove special case for
16318 libio.h and _G_config.h.
16320 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16324 * include/sys/sysmacros.h [!_ISOMAC]
16325 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
16326 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
16327 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
16328 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
16330 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
16331 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
16333 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
16334 Undefine and redefine to add use __gnu_dev_ prefix.
16335 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
16337 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
16338 and define as hidden inline function.
16339 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
16341 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
16343 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
16344 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
16345 (gnu_dev_minor): Likewise.
16346 (gnu_dev_makedev): Likewise.
16347 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
16349 * posix/wordexp.c (exec_comm_child): Likewise.
16350 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
16351 instead of minor and __gnu_dev_major instead of major.
16352 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
16353 __gnu_dev_major instead of major.
16354 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
16355 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
16356 instead of gnu_dev_minor.
16357 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
16358 (SLAVE_P): Likewise.
16359 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
16360 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
16364 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
16366 * locale/weightwc.h (findidx): Likewise.
16368 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
16370 * manual/probes.texi (slowlog): Delete documentation of removed probe.
16371 (slowlog_inexact): Likewise
16372 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
16373 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
16375 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
16378 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
16379 missing second underscore to parameter name.
16381 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16387 * bits/byteswap.h: Update file comment. Do not include
16388 <bits/byteswap-16.h>.
16389 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
16391 (__bswap_16): Define as inline function.
16392 (__bswap_constant_32): Reformat definition.
16393 (__bswap_32): Always define as inline function, not macro, using
16394 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
16395 otherwise __bswap_constant_32.
16396 (__bswap_constant_64): Reformat definition. Do not use
16397 __extension__ here.
16398 (__bswap_64): Always define as inline function, not macro. Use
16399 __extension__ on function definition. Use __builtin_bswap64 if
16400 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
16401 * string/test-endian-file-scope.c: New file.
16402 * string/test-endian-sign-conversion.c: Likewise.
16403 * string/Makefile (headers): Remove bits/byteswap-16.h.
16404 (tests): Add test-endian-file-scope and
16405 test-endian-sign-conversion.
16406 (CFLAGS-test-endian-sign-conversion.c): New variable.
16407 * bits/byteswap-16.h: Remove file.
16408 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
16409 * sysdeps/ia64/bits/byteswap.h: Likewise.
16410 * sysdeps/m68k/bits/byteswap.h: Likewise.
16411 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16412 * sysdeps/s390/bits/byteswap.h: Likewise.
16413 * sysdeps/tile/bits/byteswap.h: Likewise.
16414 * sysdeps/x86/bits/byteswap-16.h: Likewise.
16415 * sysdeps/x86/bits/byteswap.h: Likewise.
16418 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
16419 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
16420 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
16421 199901L] (__restrict): Define to restrict.
16424 * string/testcopy.c: Include <support/support.h>. Do not include
16425 <malloc.h>. Use <support/test-driver.c>.
16426 (main): Rename to do_test. Make static. Use xmalloc instead of
16430 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
16431 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
16432 (SSIZE_MAX): Define to INT_MAX.
16433 * posix/test-ssize-max.c: New file.
16434 * posix/Makefile (tests): Add test-ssize-max.
16437 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
16438 <support/support.h>. Do not include <malloc.h>.
16439 (query_auxv): Use xmalloc instead of malloc.
16442 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
16443 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
16446 2018-02-06 Florian Weimer <fweimer@redhat.com>
16449 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16450 Use scratch_buffer instead of extend_alloca.
16452 2018-02-06 Zack Weinberg <zackw@panix.com>
16454 * libio/stdio.h: Don't define getc or putc as macros.
16455 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
16456 not _IO_getc and _IO_putc.
16458 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
16459 * stdio-common/tstgetln.c: Don't redefine ssize_t.
16461 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16463 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
16464 (TCP_FASTOPEN_NO_COOKIE): Likewise.
16466 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
16469 * elf/elf.h (NT_PRFPREG): New macro.
16470 (NT_S390_VXRS_LOW): Likewise.
16471 (NT_S390_VXRS_HIGH): Likewise.
16472 (NT_S390_GS_CB): Likewise.
16473 (NT_S390_GS_BC): Likewise.
16474 (NT_S390_RI_CB): Likewise.
16476 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16477 (MAP_SYNC): New macro.
16478 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
16480 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16481 (MAP_SYNC): Likewise.
16482 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16483 (MAP_SYNC): Likewise.
16484 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16485 (MAP_SYNC): Likewise.
16486 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16487 (MAP_SYNC): Likewise.
16488 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16489 (MAP_SYNC): Likewise.
16490 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16491 (MAP_SYNC): Likewise.
16492 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
16494 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
16497 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
16498 (MAP_SHARED_VALIDATE): New macro.
16499 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16500 (MAP_SHARED_VALIDATE): Likewise.
16502 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16504 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
16505 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
16506 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16508 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16510 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
16511 (DT_NUM): Updated to 35.
16513 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16515 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
16516 __builtin_expect with __glibc_likely and __glibc_unlikely.
16517 (elf_machine_rela): Likewise.
16518 (elf_machine_lazy_rel): Likewise.
16520 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16522 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
16523 __builtin_expect with __glibc_likely and __glibc_unlikely.
16524 (elf_machine_lazy_rel): Likewise.
16526 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16529 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
16531 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
16533 2018-02-05 Andreas Schwab <schwab@suse.de>
16536 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
16539 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16541 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
16542 not check against PTHREAD_STACK_MIN.
16544 2018-02-02 Sean McKean <smckean83@gmail.com>
16547 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
16549 2018-02-02 Florian Weimer <fweimer@redhat.com>
16552 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
16553 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16554 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16555 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
16556 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16557 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16558 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16559 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
16560 * manual/llio.texi (Scatter-Gather): Mention offset -1.
16561 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
16562 * misc/tst-preadvwritev2.c (do_test): Call it.
16563 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
16565 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16567 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
16569 * benchtests/bench-memcmp.c: Print json instead of plain text.
16571 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
16574 2018-02-01 Joseph Myers <joseph@codesourcery.com>
16576 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16578 (s390_sthyi): New syscall.
16580 * sysdeps/generic/ldbl-classify-compat.h: New file.
16581 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
16582 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
16583 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
16584 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
16585 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
16586 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
16587 * sysdeps/ieee754/dbl-64/s_finite.c: Include
16588 <ldbl-classify-compat.h>.
16589 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16590 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
16591 <ldbl-classify-compat.h>.
16592 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16593 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
16594 <ldbl-classify-compat.h>.
16595 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16596 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
16597 <ldbl-classify-compat.h>.
16598 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16599 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
16600 <ldbl-classify-compat.h>.
16601 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16602 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
16603 <ldbl-classify-compat.h>.
16604 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16605 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
16606 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16607 * sysdeps/m68k/coldfire/math_private.h: Remove file.
16608 * sysdeps/microblaze/math_private.h: Likewise.
16609 * sysdeps/nios2/math_private.h: Likewise.
16610 * sysdeps/sh/math_private.h: Likewise.
16612 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
16613 * sysdeps/m68k/coldfire/math_private.h: ... here.
16614 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
16615 * sysdeps/tile/math_private.h: Likewise.
16616 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
16618 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
16621 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
16623 (libc_fetestexcept): Likewise.
16624 (libc_feupdateenv_test): Likewise.
16625 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
16626 (libc_fetestexcept): Likewise.
16627 (libc_feupdateenv_test): Likewise.
16628 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
16629 (libc_fetestexcept): Likewise.
16630 (libc_feupdateenv_test): Likewise.
16631 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
16632 (libc_fetestexcept): Likewise.
16633 (libc_feupdateenv_test): Likewise.
16635 * sysdeps/generic/math_private.h
16636 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
16637 New inline function.
16638 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
16641 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
16642 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
16643 * sysdeps/generic/math_private.h
16644 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
16646 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
16648 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
16650 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
16652 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
16654 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
16656 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
16657 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
16658 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
16659 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
16660 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
16661 (__fegetenv): Likewise.
16662 (fesetenv): Likewise.
16663 (__fesetenv): Likewise.
16664 (feupdateenv): Likewise.
16665 (__feupdateenv): Likewise.
16666 (fegetround): Likewise.
16667 (__fegetround): Likewise.
16668 (fesetround): Likewise.
16669 (__fesetround): Likewise.
16671 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
16672 (feraiseexcept): New macro.
16673 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
16674 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
16676 (__feraiseexcept): Likewise.
16677 (feclearexcept): Likewise.
16678 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
16679 (__feraiseexcept): Likewise.
16680 (feclearexcept): Likewise.
16681 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
16682 (__feraiseexcept): Likewise.
16683 (feclearexcept): Likewise.
16684 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
16685 (__feraiseexcept): Likewise.
16686 (feclearexcept): Likewise.
16687 (fetestexcept): Likewise.
16689 * sysdeps/m68k/coldfire/math-tests.h: New file.
16691 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
16692 * sysdeps/m68k/bits/fenv.h: ... here.
16693 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
16695 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
16697 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
16699 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
16701 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
16703 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
16705 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
16706 (__FE_UNDEFINED): New enum constant.
16707 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
16709 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
16711 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
16713 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
16714 to match generic bits/fenv.h.
16715 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
16718 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
16720 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
16721 * soft-fp/half.h (union _FP_UNION_H): Likewise.
16722 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
16723 * soft-fp/single.h (union _FP_UNION_S): Likewise.
16725 2018-02-01 Carlos O'Donell <carlos@redhat.com>
16726 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
16727 Joseph Myers <joseph@codesourcery.com>
16730 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
16731 (__log1p): Disable -Wmaybe-uninitialized for -Os around
16732 computation using c.
16733 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
16734 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
16735 computation using c.
16737 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16739 * version.h (RELEASE): Set to "development".
16740 (VERSION): Set to "2.27.9000".
16741 * NEWS (2.28): New section.
16743 * version.h (RELEASE): Set to "stable".
16744 (VERSION): Set to "2.27".
16745 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
16747 * NEWS: Add the list of bugs fixed in 2.27.
16749 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16751 * stdlib/test-atexit-race-common.c (do_test): Check stack size
16752 against PTHREAD_STACK_MIN.
16754 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16756 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
16758 (Rafal Luzynski, Andreas Schwab): Update.
16760 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
16763 * NEWS: List the languages which actually use the alternative
16764 months feature in this release. Also explain that "alt_mon" and
16765 "ab_alt_mon" are optional.
16767 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
16770 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
16772 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
16774 * manual/install.texi (Tools for Compilation): Update the newest
16775 versions of gcc, binutils, texinfo, gawk, bison, and sed.
16776 * INSTALL: Regenerated.
16778 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16780 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
16781 instead of __builtin_expect.
16783 2018-01-30 Florian Weimer <fweimer@redhat.com>
16785 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
16787 * nss/tst-nss-getpwent.c (do_test): Likewise.
16789 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
16792 * localedata/locales/hr_HR (mon): Rename to...
16794 (mon): Import from CLDR (genitive case).
16795 (d_t_fmt): Update the comment.
16797 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
16799 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
16800 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
16801 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
16803 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16805 * mach/Versions: Fix version when __mach_host_self_ was added.
16806 * hurd/Versions: Fix version when _hurd_exec_paths was added.
16807 * sysdeps/mach/hurd/i386/ld.abilist: New file.
16808 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
16809 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
16810 * sysdeps/mach/hurd/i386/libc.abilist: New file.
16811 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
16812 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
16813 * sysdeps/mach/hurd/i386/libm.abilist: New file.
16814 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
16815 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
16816 * sysdeps/mach/hurd/i386/librt.abilist: New file.
16817 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
16818 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
16819 || to respect codestyle.
16820 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
16821 (do_test_bz20181): Rename accordingly.
16822 * malloc/malloc.c: Include <assert.h>.
16823 (assert): Do not define.
16824 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
16825 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
16826 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
16827 * sysdeps/mach/hurd/hp-timing.h: New file.
16828 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
16830 2018-01-29 Darius Rad <darius@bluespec.com>
16832 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
16834 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
16836 * sysdeps/init_array/crti.S (.section .init_array): Add
16837 PREINIT_FUNCTION when defined.
16838 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
16839 * config.h.in: Regenerate.
16840 * manual/platform.texi: Add RISC-V documenation for
16841 __riscv_flush_icache.
16842 * sysdeps/riscv/__longjmp.S: New file.
16843 * sysdeps/riscv/backtrace.c: Likewise.
16844 * sysdeps/riscv/bits/endian.h: Likewise.
16845 * sysdeps/riscv/bits/setjmp.h: Likewise.
16846 * sysdeps/riscv/bits/wordsize.h: Likewise.
16847 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
16848 * sysdeps/riscv/bsd-setjmp.c: Likewise.
16849 * sysdeps/riscv/dl-trampoline.S: Likewise.
16850 * sysdeps/riscv/gccframe.h: Likewise.
16851 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
16852 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
16853 * sysdeps/riscv/machine-gmon.h: Likewise.
16854 * sysdeps/riscv/memusage.h: Likewise.
16855 * sysdeps/riscv/setjmp.S: Likewise.
16856 * sysdeps/riscv/sys/asm.h: Likewise.
16857 * sysdeps/riscv/tls-macros.h: Likewise.
16858 * sysdeps/riscv/dl-tls.h: New file.
16859 * sysdeps/riscv/libc-tls.c: Likewise.
16860 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
16861 * sysdeps/riscv/nptl/tls.h: Likewise.
16862 * sysdeps/riscv/stackinfo.h: Likewise.
16863 * sysdeps/riscv/bits/fenv.h: New file.
16864 * sysdeps/riscv/e_sqrtl.c: Likewise.
16865 * sysdeps/riscv/fpu_control.h: Likewise.
16866 * sysdeps/riscv/math-tests.h: Likewise.
16867 * sysdeps/riscv/nofpu/Implies: Likewise.
16868 * sysdeps/riscv/sfp-machine.h: Likewise.
16869 * sysdeps/riscv/tininess.h: Likewise.
16870 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
16871 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
16872 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
16873 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
16874 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
16875 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
16876 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
16877 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
16878 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
16879 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
16880 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
16881 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
16882 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
16883 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
16884 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
16885 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
16886 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
16887 * sysdeps/riscv/rvd/s_finite.c: Likewise.
16888 * sysdeps/riscv/rvd/s_fma.c: Likewise.
16889 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
16890 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
16891 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
16892 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
16893 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
16894 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
16895 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
16896 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
16897 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
16898 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
16899 * sysdeps/riscv/rvf/fegetround.c: Likewise.
16900 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
16901 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
16902 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
16903 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
16904 * sysdeps/riscv/rvf/fesetround.c: Likewise.
16905 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
16906 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
16907 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
16908 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
16909 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
16910 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
16911 * sysdeps/riscv/rvf/math_private.h: Likewise.
16912 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
16913 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
16914 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
16915 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
16916 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
16917 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
16918 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
16919 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
16920 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
16921 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
16922 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
16923 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
16924 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
16925 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
16926 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
16927 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
16928 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
16929 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
16930 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
16931 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
16932 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
16933 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16934 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
16935 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
16936 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
16937 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
16938 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
16939 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
16940 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
16941 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
16942 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
16943 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
16944 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
16945 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
16946 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
16947 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
16948 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
16949 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
16950 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
16951 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
16952 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
16953 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
16954 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
16955 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
16956 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
16957 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
16958 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
16959 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
16960 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
16961 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
16962 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
16963 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
16964 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
16965 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
16966 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
16967 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
16968 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
16969 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
16970 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
16971 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
16972 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16973 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16974 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16975 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16976 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16977 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16978 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16979 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16980 * sysdeps/riscv/Implies: New file.
16981 * sysdeps/riscv/Makefile: Likewise.
16982 * sysdeps/riscv/configure: Likewise.
16983 * sysdeps/riscv/configure.ac: Likewise.
16984 * sysdeps/riscv/nptl/Makefile: Likewise.
16985 * sysdeps/riscv/preconfigure: Likewise.
16986 * sysdeps/riscv/rv64/Implies-after: Likewise.
16987 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
16988 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
16989 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
16990 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
16991 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
16992 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
16993 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
16994 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
16995 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
16996 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
16997 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
16998 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
16999 (Config): Likewise.
17001 2018-01-29 Florian Weimer <fweimer@redhat.com>
17004 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
17005 libnsl_hidden_proto.
17006 * include/rpcsvc/yp.h (yp_xdrall): Declare with
17007 libnsl_hidden_proto.
17008 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
17009 * nis/Makefile (libnsl-routines): Add nss-default only for
17010 build-obsolete-nsl.
17011 * nis/nis_defaults.c (__nis_default_ttl): Add
17012 libnsl_hidden_nolink_def.
17013 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
17015 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
17016 * nis/ypclnt.c (yp_maplist): Likewise.
17018 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
17020 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17021 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
17023 2018-01-29 Joseph Myers <joseph@codesourcery.com>
17025 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
17026 clean -dxfq for git updates when replacing sources.
17028 * scripts/build-many-glibcs.py (Config.build_gcc): Use
17029 --disable-libcilkrts unconditionally, not just for the final GCC
17032 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17035 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17038 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
17041 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17044 * localedata/locales/be_BY (mon): Rename to...
17045 (alt_mon): This, then synchronize with CLDR (nominative case).
17046 (abmon): Rename to...
17047 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17048 (mon): Import from CLDR (genitive case).
17050 * localedata/locales/be_BY@latin (mon): Rename to...
17052 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
17054 * localedata/locales/be_BY@latin (lang_name): Reworded to
17055 "biełaruskaja mova".
17057 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17060 * localedata/locales/el_CY (mon): Renamed to...
17062 (mon): Import from CLDR (genitive case).
17063 * localedata/locales/el_GR: Likewise.
17065 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17068 * localedata/locales/ru_RU (mon): Rename to...
17070 (abmon): Rename to...
17071 (ab_alt_mon): This.
17072 (mon): Import from CLDR (genitive case).
17073 (abmon): Copy from the old content except the 5th month which is
17074 now in the genitive case, even when abbreviated.
17075 * localedata/locales/ru_UA: Likewise.
17076 * time/tst-strptime.c (day_tests): Add an actual example of
17077 a difference between %b and %Ob in Russian.
17079 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17081 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
17082 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
17084 * resolv/res-close.c: Include <stdlib.h>.
17085 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
17086 <sys/wait.h>, <time.h>, <sys/uio.h>.
17087 (NOT_CANCEL_H): Add inclusion guard.
17088 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
17089 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
17090 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
17092 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
17093 vm_address_t * to ElfW(Addr) * for dl_main parameter.
17094 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
17096 * sysdeps/pthread/timer_create.c (timer_create): Do not use
17097 timer_ptr2id to cast struct timer_node * to void *.
17098 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
17099 --disable-libcilkrts to gcc configure.
17100 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
17101 and make them the default for now.
17102 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
17103 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
17104 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
17105 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
17106 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
17108 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
17109 __task_terminate would ever return successfully.
17110 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
17112 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
17113 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
17114 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
17115 critical section to make code simpler and avoid warning.
17116 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
17117 critical section to make code simpler and avoid warning.
17118 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
17119 const char * instead of char *.
17120 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
17121 __hurd_file_name_split, hurd_file_name_split,
17122 __hurd_directory_name_split, hurd_directory_name_split,
17123 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
17124 hurd_file_name_path_lookup): Make lookup function parameter take a
17125 const char *name instead of char *name.
17126 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
17127 __hurd_directory_name_split): Likewise.
17128 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
17129 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
17130 * sysdeps/mach/hurd/check_native.c: New file.
17131 * sysdeps/mach/hurd/check_pf.c: New file.
17132 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
17133 (__freeifaddrs): Define macro to freeifaddrs.
17134 * sysdeps/mach/hurd/libhurduser.abilist: New file.
17135 * sysdeps/mach/libmachuser.abilist: New file.
17136 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
17137 (do_test_bz20181): Rename accordingly.
17138 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
17139 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
17141 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
17142 version only if __USE_EXTERN_INLINES is defined.
17143 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
17144 __hurd_sockfail): Likewise.
17145 (_hurd_fd_get): Always declare functions, and provide inline versions
17146 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
17147 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
17148 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
17149 _hurd_port_set): Always declare functions, and provide inline versions
17150 only if __USE_EXTERN_INLINES and _LIBC are defined and
17152 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
17153 _hurd_critical_section_unlock): Likewise.
17154 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
17155 * __hurd_threadvar_location): Likewise.
17156 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
17157 _hurd_userlink_clear): Likewise.
17158 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
17159 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
17160 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
17161 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
17162 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
17163 __spin_lock_locked): Likewise.
17164 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
17165 __spin_lock_locked): Likewise.
17166 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
17167 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
17168 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
17169 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
17170 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
17171 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
17172 _POSIX_NO_TRUNC): Define to 0.
17173 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
17174 check size against PTHREAD_STACK_MIN.
17175 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
17176 IS_IN(libpthread)]: Include <sigsetops.h>.
17177 * mach/Makefile (user-interfaces): Add mach/gnumach.
17178 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
17179 * sysdeps/mach/configure (mach_interface_list): Regenerate.
17180 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
17181 instead of invalid -1.
17182 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
17183 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
17184 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
17187 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
17189 * hurd/fcntl-internal.h: New file.
17191 2018-01-27 James Clarke <jrtc27@jrtc27.com>
17193 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17195 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17197 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
17200 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
17201 Build only shared objects.
17203 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17205 * README: Update for hppa.
17207 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17209 * sysdeps/sparc/fpu/libm-test-ulps: Update
17210 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
17212 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17216 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17219 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17220 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17221 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17222 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17225 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17228 * bits/types/__cancel_jmp_buf_tag.h: New file.
17229 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17230 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17231 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17232 * nptl/Makefile (headers): Add
17233 bits/types/__cancel_jmp_buf_tag.h.
17234 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17235 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17236 * sysdeps/nptl/pthread.h: Include
17237 <bits/types/__cancel_jmp_buf_tag.h>.
17238 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17240 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17242 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
17245 * localedata/locales/uk_UA (mon): Renamed to...
17247 (alt_digits): "0" removed and then renamed to...
17249 (date_fmt): Definition changed not to use the alternative
17252 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
17254 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
17255 FLAG_RISCV_FLOAT_ABI_DOUBLE.
17256 * elf/elf.h (EF_RISCV_RVC): New define.
17257 (EF_RISCV_FLOAT_ABI): Likewise.
17258 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
17259 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
17260 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17261 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
17262 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
17264 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17266 2018-01-25 Andreas Schwab <schwab@suse.de>
17268 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
17270 * sysdeps/gnu/configure: Regenerate.
17271 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17272 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17274 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17275 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17276 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
17277 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17278 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17280 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17282 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
17283 URL, and run autoconf, make it the default for now.
17285 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17287 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17288 soft-float ColdFire configuration.
17290 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
17291 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
17292 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
17294 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
17297 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
17299 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
17301 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
17304 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
17305 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
17306 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
17309 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17312 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
17313 Rename to __reserved and add comment.
17314 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
17315 Rename to __reserved.
17317 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17319 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17320 i686-gnu configurations.
17321 (Context.run_builds): Include mig, gnumach and hurd in components
17323 (Context.checkout): Add mig, gnumach and hurd to components.
17324 (Context.checkout_tar): Add URL mappings for mig, gnumach and
17326 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
17327 (Config.build): Install gnumach headers, build mig and install
17328 hurd headers for 'gnu' OS.
17329 (Config.install_gnumach_headers): New function.
17330 (Config.install_hurd_headers): Likewise.
17331 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
17332 when building for 'gnu' OS.
17334 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
17336 * manual/tunables.texi (Hardware Capability Tunables): Fix
17339 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
17341 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
17342 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
17343 (ALTMON_11, ALTMON_12): Improve documentation.
17344 * manual/time.texi (strftime): Likewise.
17346 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17349 * localedata/locales/pl_PL: Alternative month names added,
17350 primary month names are genitive now.
17351 * time/tst-strptime.c (day_tests): Actually use a genitive case
17352 of a month name in Polish language.
17354 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17357 * manual/locale.texi: Document ALTMON_1..12 constants for
17358 nl_langinfo. Specify when to use ALTMON instead of MON.
17359 * manual/time.texi (strftime, strptime): Document GNU extension
17360 permitting O modifier with %B and %b. Specify when to use
17363 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17366 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
17367 names, define them as the same as abbreviated month names explicitly.
17368 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
17369 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
17370 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
17371 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
17372 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
17373 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
17374 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
17375 _NL_WABALTMON_12): New enum constants.
17376 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
17377 wab_alt_mon, and ab_alt_mon_defined members.
17378 (time_output): Output ab_alt_mon and wab_alt_mon members.
17379 (time_read): Read them, initialize them as copies of abmon and wabmon
17380 respectively if they are missing, initialize ab_alt_mon_defined.
17381 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
17382 * locale/programs/locfile-kw.h: Regenerate.
17383 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
17384 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
17386 * time/strftime_l.c (a_altmonth, aam_len): New macros.
17387 [!COMPILE_WIDE] (ABALTMON_1): New macro.
17388 (__strftime_internal): Handle %Ob and %Oh formats.
17389 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
17390 (__strptime_internal): Handle %Ob and %Oh formats.
17391 * time/tst-strptime.c (day_tests): Add more tests to parse different
17392 forms of month names including the new %Ob format specifier.
17394 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17397 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
17398 define them as the same as primary full month names explicitly.
17399 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
17400 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
17401 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
17402 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
17403 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
17404 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
17405 _NL_WALTMON_12): New enum constants.
17406 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
17407 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
17409 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
17410 walt_mon, and alt_mon_defined members.
17411 (time_output): Output alt_mon and walt_mon members.
17412 (time_read): Read them, initialize them as copies of mon and wmon
17413 respectively if they are missing, initialize alt_mon_defined.
17414 * locale/programs/locfile-kw.gperf (alt_mon): Define.
17415 * locale/programs/locfile-kw.h: Regenerate.
17416 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
17417 * localedata/tst-langinfo.c (map): Add tests for the new constants
17418 ALTMON_1 .. ALTMON_12.
17419 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
17421 * time/strftime_l.c (f_altmonth): New macro.
17422 (__strftime_internal): Handle %OB format.
17423 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
17424 (__strptime_internal): Handle %OB format.
17425 * time/tst-strptime.c (day_tests): Add tests to parse different forms
17426 of month names including the new %OB format specifier.
17428 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17431 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
17432 from ABORT_TRANSACTION.
17433 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
17434 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
17435 ABORT_TRANSACTION_IMPL): Likewise.
17436 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
17437 Linux code, but remove the code that aborts transactions.
17439 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17441 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
17443 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
17445 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
17446 in date: "2004-14-09" should be "2004-09-14".
17447 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
17448 "2003-15-09" should be "2003-09-15".
17450 2018-01-18 Arjun Shankar <arjun@redhat.com>
17456 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
17458 (_int_memalign): check for integer overflow before calling
17460 * malloc/tst-malloc-too-large.c: New test.
17461 * malloc/Makefile: Add tst-malloc-too-large.
17463 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
17465 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
17466 in date: "2017-24-07" should be "2017-07-24".
17467 * localedata/locales/mai_IN: Likewise.
17468 * localedata/locales/mai_NP: Likewise.
17470 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
17472 * po/ru.po: Update translations.
17474 2018-01-17 Joseph Myers <joseph@codesourcery.com>
17477 * sysdeps/hppa/backtrace.c: New file.
17479 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
17482 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
17483 align La_x86_64_retval to VEC_SIZE.
17485 2018-01-16 Joseph Myers <joseph@codesourcery.com>
17487 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
17488 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
17490 2018-01-16 Florian Weimer <fweimer@redhat.com>
17492 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
17493 Move tst-thread-exit-clobber ...
17494 [$(CXX)] (tests-unsupported): ... to here.
17496 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17498 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
17499 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
17500 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17501 (_dl_aarch64_cap_flags): Update.
17502 (_DL_HWCAP_COUNT): Update.
17504 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17506 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
17507 (_DL_HWCAP_LAST): Remove.
17508 (_DL_HWCAP_COUNT): Move to ...
17509 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17510 (_DL_HWCAP_COUNT): ... here.
17512 2018-01-16 Florian Weimer <fweimer@redhat.com>
17514 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
17515 mode with GNU extensions.
17517 2018-01-15 Alan Hayward <alan.hayward@arm.com>
17519 * elf/elf.h (NT_ARM_SVE): Define.
17521 2018-01-15 Florian Weimer <fweimer@redhat.com>
17524 * nptl/tst-minstack-throw.cc: New file.
17525 * nptl/Makefile (tests): Add tst-minstack-throw.
17526 (LDLIBS-tst-minstack-throw): Link with libstdc++.
17527 [!CXX] (tests-unsupported): Add tst-minstack-throw.
17529 2018-01-15 Joseph Myers <joseph@codesourcery.com>
17531 * scripts/build-many-glibcs.py (Context.checkout): Default
17532 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
17535 2018-01-13 Carlos O'Donell <carlos@redhat.com>
17538 * elf/elf.h (DF_1_STUB): Define.
17539 (DF_1_PIE): Define.
17541 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17544 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
17545 Do not add 0.5 to integer or out-of-range arguments.
17547 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17549 * po/bg.po: Update translations.
17550 * po/cs.po: Likewise.
17551 * po/de.po: Likewise.
17552 * po/ko.po: Likewise.
17553 * po/pl.po: Likewise.
17554 * po/sv.po: Likewise.
17555 * po/uk.po: Likewise.
17556 * po/vi.po: Likewise.
17558 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17560 * aarch64/start.S (_start): Use __wrap_main.
17561 (__wrap_main): New local symbol.
17563 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17567 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
17568 generic_getcwd if the path returned by getcwd syscall is not absolute.
17569 * io/tst-getcwd-abspath.c: New test.
17570 * io/Makefile (tests): Add tst-getcwd-abspath.
17572 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
17574 * malloc/malloc.c (malloc_consolidate): Add size check.
17576 2018-01-12 Florian Weimer <fweimer@redhat.com>
17578 * support/write_message.c (write_message): Preserve errno.
17579 * support/check.c (print_failure): Likewise.
17580 * support/support_test_verify_impl.c (support_test_verify_impl):
17582 * support/support_test_compare_failure.c
17583 (support_test_compare_failure): Likewise.
17585 2018-01-12 Florian Weimer <fweimer@redhat.com>
17588 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
17589 Prevent installation of libnsl.so.
17590 (libnsl-inhibit-o): Do not build (or install) static libraries.
17592 2018-01-12 Egmont Koblinger <egmont@gmail.com>
17595 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
17596 before the day number which may produce a double space.
17597 (date_fmt): Likewise.
17599 2018-01-12 Joseph Myers <joseph@codesourcery.com>
17601 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
17602 instead of fegetenv.
17604 2018-01-11 Joseph Myers <joseph@codesourcery.com>
17607 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
17608 comment to say exceptions are discarded.
17609 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
17611 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
17614 2018-01-11 Florian Weimer <fweimer@redhat.com>
17616 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
17619 2018-01-11 Florian Weimer <fweimer@redhat.com>
17622 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
17623 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
17625 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17628 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
17629 negative arguments in test for NaN or infinity argument.
17631 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
17633 * po/libc.pot: Regenerate.
17635 2018-01-10 Florian Weimer <fweimer@redhat.com>
17638 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
17639 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
17641 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17643 * hurd/hurd/fd.h: Include <fcntl.h>
17644 (__hurd_at_flags): New function.
17645 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
17646 with call to __hurd_at_flags.
17647 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
17648 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
17650 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
17651 (__access_noerrno): Use __faccessat_common instead of access_common.
17652 (__access): Likewise.
17653 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
17654 with a call to __faccessat.
17655 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
17656 (__faccessat_common): ... this. Move implementation of __access into it when
17657 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
17658 reauthenticate_cwdir_at helper to implement AT mechanism.
17659 (__faccessat_noerrno): New function, just calls __faccessat_common.
17660 (__faccessat): New function, just calls __faccessat_common.
17661 (faccessat): Define weak alias.
17663 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17666 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17667 (CFLAGS-s_fmaxmagl.c): New variable.
17668 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
17671 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
17672 long int for arguments of possibly overflowing addition or
17674 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17676 2018-01-09 Joseph Myers <joseph@codesourcery.com>
17679 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17680 (CFLAGS-e_remainderl.c): New variable.
17683 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
17685 (CFLAGS-s_cacoshl.c): Likewise.
17686 (CFLAGS-s_casinhl.c): Likewise.
17687 (CFLAGS-s_catanl.c): Likewise.
17688 (CFLAGS-s_catanhl.c): Likewise.
17689 (CFLAGS-s_cexpl.c): Likewise.
17690 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
17691 (CFLAGS-s_csinhl.c): Likewise.
17692 (CFLAGS-s_clogl.c): Likewise.
17693 (CFLAGS-s_clog10l.c): Likewise.
17694 (CFLAGS-s_csinl.c): Likewise.
17695 (CFLAGS-s_csqrtl.c): Likewise.
17697 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
17698 2017-01-09 Svante Signell <svante.signell@gmail.com>
17700 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
17701 (_hurd_exec_paths): New function.
17702 * hurd/hurd.h (_hurd_exec): Deprecate function.
17703 (_hurd_exec_paths): Declare function.
17704 * hurd/Versions: Export _hurd_exec_paths.
17705 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
17706 (__execve): Use __getcwd to build absolute path, and use
17707 _hurd_exec_paths instead of _hurd_exec.
17708 * sysdeps/mach/hurd/spawni.c: Likewise.
17709 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
17712 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
17714 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
17715 test instead of failing in case of ENOENT returned by posix_openpt.
17717 2018-01-08 Florian Weimer <fweimer@redhat.com>
17719 resolv: Support binary labels in test framework.
17720 * support/resolv_test.c (struct to_be_freed): Remove.
17721 (struct compressed_name): New.
17722 (allocate_compressed_name, ascii_tolower)
17723 (compare_compressed_name): New functions.
17724 (struct resolv_response_builder): Update type of
17725 compression_offsets for use with tsearch. Rempve to_be_freed.
17726 (response_push_pointer_to_free): Remove function.
17727 (resolv_response_add_name): Rewrite using struct compressed_name
17728 and tsearch instead of hsearch_r.
17729 (response_builder_allocate): Remove initialization of
17730 compression_offsets.
17731 (response_builder_free): Update for removal of to_be_freed. Use
17732 tdestroy instead of hdestroy_r.
17733 * resolv/Makefile (tests): Add tst-resolv-binary.
17734 (tst-resolv-binary): Link with -lresolv -lpthread.
17736 2018-01-08 Florian Weimer <fweimer@redhat.com>
17738 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
17739 time. Pass positive flag instead of negative flag to
17740 support_test_compare_failure.
17741 (support_test_compare_failure): Change negative parameter to
17743 * support/support_test_compare_failure.c (report)
17744 (support_test_compare_failure): Likewise.
17745 * support/tst-test_compare.c (return_ssize_t, return_int): New.
17746 (do_test): Check int/size_t, ssize_t/size_t comparisons.
17748 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
17751 * nptl/descr.h (stackblock, stackblock_size): Update comments.
17752 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
17753 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
17755 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17757 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
17759 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17760 Add s_sincosf-sse2 and s_sincosf-fma.
17761 (CFLAGS-s_sincosf-fma.c): New.
17762 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
17763 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
17764 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
17765 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
17766 __sincosf is defined.
17768 2018-01-08 Florian Weimer <fweimer@redhat.com>
17770 * nptl/tst-thread-exit-clobber.cc: New file.
17771 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
17773 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
17774 (tests): Add tst-thread-exit-clobber.
17775 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
17777 2018-01-08 Florian Weimer <fweimer@redhat.com>
17779 * support/check.h (support_static_assert): Define.
17780 (TEST_COMPARE): Use it.
17782 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
17784 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
17785 [!__RLIM_T_MATCHES_RLIM64_T]
17786 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
17787 __getrlimit64. Add libc_hidden_weak.
17789 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
17791 * elf/elf.h (R_RISCV_NONE): New define.
17792 (R_RISCV_32): Likewise.
17793 (R_RISCV_64): Likewise.
17794 (R_RISCV_RELATIVE): Likewise.
17795 (R_RISCV_COPY): Likewise.
17796 (R_RISCV_JUMP_SLOT): Likewise.
17797 (R_RISCV_TLS_DTPMOD32): Likewise.
17798 (R_RISCV_TLS_DTPMOD64): Likewise.
17799 (R_RISCV_TLS_DTPREL32): Likewise.
17800 (R_RISCV_TLS_DTPREL64): Likewise.
17801 (R_RISCV_TLS_TPREL32): Likewise.
17802 (R_RISCV_TLS_TPREL64): Likewise.
17803 * Makerules (make-link-multidir): Make directories before linking into
17805 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
17807 (VDSO_HASH_LINUX_4_15): Likewise.
17808 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
17809 in subdirectories of lib.
17810 * nptl/Makefile (/librt.so): Always depend on
17811 "$(shared-thread-library)".
17813 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17815 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
17816 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
17817 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
17819 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
17820 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
17822 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
17823 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
17824 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
17825 * sysdeps/gnu/glob-lstat-compat.c: New file.
17826 * sysdeps/gnu/glob64-lstat-compat.c: New file.
17827 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
17829 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17831 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
17832 Reserve 16 chars to reloc_addr before calling _itoa_word.
17834 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17837 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
17838 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
17840 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
17841 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
17843 * resource/tst-getrlimit.c: Add copyright header.
17845 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17846 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17848 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17849 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
17850 Define __GI_getrlimit64 as weak alias of __getrlimit64.
17851 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
17853 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17854 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
17855 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
17856 RLIM64_INFINITY): Fix values to match the kernel ones.
17857 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
17858 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
17859 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
17860 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
17861 getrlimit64@@GLIBC_2_27.
17862 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
17864 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
17865 getrlimit, setrlimit, getrlimit64 and setrlimit64.
17866 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
17867 setrlimit, getrlimit64 and setrlimit64.
17869 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17872 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
17873 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
17875 2018-01-04 Joseph Myers <joseph@codesourcery.com>
17877 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
17878 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
17879 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
17881 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17885 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
17886 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
17890 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
17891 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
17892 * sysdeps/alpha/fpu/s_floor.c: Likewise.
17893 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
17895 2018-01-04 Florian Weimer <fweimer@redhat.com>
17898 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17899 Align the stack before calling exit.
17900 * stdlib/tst-makecontext-align.c: New file.
17901 * stdlib/Makefile (tests): Add tst-makecontext-align.
17903 2018-01-04 Florian Weimer <fweimer@redhat.com>
17905 Add support for calling dlvsym from libc.so.
17906 * include/dlfcn.h (__libc_dlvsym): Declare.
17907 * elf/Makefile (tests-static-internal): Add
17908 tst-libc_dlvsym-static.
17909 (tests-internal): Add tst-libc_dlvsym.
17910 (modules-names): Add tst-libc_dlvsym-dso.
17911 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
17912 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
17913 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
17914 object tst-libc_dlvsym-dso.so needs to be built before running
17916 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
17917 * elf/Versions: Export __libc_dlvsym.
17918 * elf/dl-libc.c (struct do_dlvsym_args): New.
17919 (do_dlvsym, __libc_dlvsym): New functions.
17920 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
17921 (_dl_open_hook2): New variable.
17922 (__libc_register_dl_open_hook): Set it.
17923 * elf/tst-libc_dlvsym-dso.c: New file.
17924 * elf/tst-libc_dlvsym-static.c: Likewise.
17925 * elf/tst-libc_dlvsym.c: Likewise.
17926 * elf/tst-libc_dlvsym.h: Likewise.
17928 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17930 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
17931 include <sys/mount.h>.
17933 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
17935 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
17936 Add __NO_MATH_ERRNO__ check.
17938 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17940 * sysdeps/mips/mips32/libm-test-ulps: Update.
17941 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17943 2018-01-02 Florian Weimer <fweimer@redhat.com>
17945 * misc/tst-pselect.c: Add copyright header.
17947 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17949 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
17951 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
17953 (settrlimit): Rename into setrlimit.
17954 (__sttrlimit): Rename into __setrlimit.
17956 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
17957 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
17958 never defined in that case.
17960 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17962 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
17964 * sysdeps/arm/libm-test-ulps: Update.
17966 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
17967 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
17969 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17971 * NEWS: Add cosf and sincosf to list of optimized functions.
17973 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17976 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
17977 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
17978 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
17979 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
17981 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
17984 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
17986 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
17987 making a copy of it.
17989 2018-01-01 Joseph Myers <joseph@codesourcery.com>
17991 * manual/texinfo.tex: Update to version 2017-12-26.21 with
17992 trailing whitespace removed.
17993 * scripts/config.guess: Update to version 2018-01-01.
17994 * scripts/config.sub: Update to version 2018-01-01.
17995 * scripts/move-if-change: Update from gnulib.
17997 * NEWS: Update copyright dates.
17998 * catgets/gencat.c (print_version): Likewise.
17999 * csu/version.c (banner): Likewise.
18000 * debug/catchsegv.sh: Likewise.
18001 * debug/pcprofiledump.c (print_version): Likewise.
18002 * debug/xtrace.sh (do_version): Likewise.
18003 * elf/ldconfig.c (print_version): Likewise.
18004 * elf/ldd.bash.in: Likewise.
18005 * elf/pldd.c (print_version): Likewise.
18006 * elf/sotruss.sh: Likewise.
18007 * elf/sprof.c (print_version): Likewise.
18008 * iconv/iconv_prog.c (print_version): Likewise.
18009 * iconv/iconvconfig.c (print_version): Likewise.
18010 * locale/programs/locale.c (print_version): Likewise.
18011 * locale/programs/localedef.c (print_version): Likewise.
18012 * login/programs/pt_chown.c (print_version): Likewise.
18013 * malloc/memusage.sh (do_version): Likewise.
18014 * malloc/memusagestat.c (print_version): Likewise.
18015 * malloc/mtrace.pl: Likewise.
18016 * manual/libc.texinfo: Likewise.
18017 * nptl/version.c (banner): Likewise.
18018 * nscd/nscd.c (print_version): Likewise.
18019 * nss/getent.c (print_version): Likewise.
18020 * nss/makedb.c (print_version): Likewise.
18021 * posix/getconf.c (main): Likewise.
18022 * scripts/test-installation.pl: Likewise.
18023 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18025 * All files with FSF copyright notices: Update copyright dates
18026 using scripts/update-copyrights.
18027 * locale/programs/charmap-kw.h: Regenerated.
18028 * locale/programs/locfile-kw.h: Likewise.
18030 2017-12-31 Zack Weinberg <zackw@panix.com>
18032 * libio/bits/libio-ldbl.h: Correct check for improper
18033 inclusion. Add own multiple include guard.
18035 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
18036 Dmitry V. Levin <ldv@altlinux.org>
18040 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
18041 string token expansion. Check for NULL pointer or empty string possibly
18042 returned by expand_dynamic_string_token.
18043 (decompose_rpath): Check for empty path after dynamic string
18046 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
18049 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
18051 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
18052 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
18053 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
18054 and PTRACE_SYSCALL.
18055 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
18056 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18057 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18058 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18059 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18060 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18062 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
18063 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18064 __ptrace_peeksiginfo_flags, ptrace): Move to ...
18065 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
18066 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18067 bits/ptrace-shared.h.
18068 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
18069 <bits/ptrace-shared.h>.
18070 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18071 __ptrace_peeksiginfo_flags, ptrace): Remove.
18072 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18073 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18074 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18075 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18076 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18078 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18081 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
18082 end of the loop. Improve comments.
18084 2017-12-29 Zack Weinberg <zackw@panix.com>
18087 * manual/errno.texi (Checking for Errors): Explicitly say that errno
18088 might be set on success.
18090 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18093 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
18094 is unchanged on success.
18096 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
18098 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
18100 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
18101 expand_dynamic_string_token): Likewise.
18102 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
18105 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
18108 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
18109 is set and name contains ':', and all code depending on these checks.
18111 2017-12-24 Zack Weinberg <zackw@panix.com>
18113 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
18114 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
18116 * libio/libio.h: Rename the original version of this file to
18117 libio/bits/libio.h. Error out if not included by stdio.h or the
18119 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
18120 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
18121 if not included by bits/libio.h or the stub _G_config.h.
18122 * sysdeps/unix/sysv/linux/_G_config.h: Move to
18123 sysdeps/unix/sysv/linux/bits. Error out if not included by
18124 bits/libio.h or the stub _G_config.h.
18125 * libio/stdio.h: Include bits/libio.h, not libio.h.
18126 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
18127 well as libio.h and _G_config.h.
18129 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
18130 * libio/strfile.h, stdio-common/vfscanf.c
18131 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
18132 Include stdio.h, not _G_config.h nor libio.h.
18133 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
18134 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
18136 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
18138 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
18141 * stdlib/getrandom.c (getrandom): Fix comment.
18142 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
18144 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
18147 * manual/arith.texi (strtoul): Fix a typo.
18150 * manual/arith.texi (finite): Fix the description of the return
18153 2017-12-22 Eric Blake <ebb9@byu.net>
18155 Avoid gcc warnings on cygwin
18156 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
18157 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
18158 Avoid unused variable.
18160 2017-12-22 Florian Weimer <fweimer@redhat.com>
18162 * io/Makefile (routines): Add copy_file_range.
18163 (tests): Add tst-copy_file_range.
18164 (tests-static, tests-internal): Add tst-copy_file_range-compat.
18165 * io/Versions (GLIBC_2.27): Export copy_file_range.
18166 * io/copy_file_range-compat.c: New file.
18167 * io/copy_file_range.c: Likewise.
18168 * io/tst-copy_file_range-compat.c: Likewise.
18169 * io/tst-copy_file_range.c: Likewise.
18170 * manual/llio.texi (Copying File Data): New section.
18171 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
18172 * support/Makefile (libsupport-routines): Add support-xfstat,
18173 xftruncate, xlseek.
18174 * support/support-xfstat.c: New file.
18175 * support/xftruncate.c: Likewise.
18176 * support/xlseek.c: Likewise.
18177 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
18178 * sysdeps/unix/sysv/linux/**.abilist: Update.
18179 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
18181 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18183 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18184 disable-multi-arch variant to aarch64-linux-gnu.
18186 2017-12-20 Joseph Myers <joseph@codesourcery.com>
18188 * manual/texinfo.tex: Update to version 2017-12-18.20 with
18189 trailing whitespace removed.
18190 * scripts/config.guess: Update to version 2017-12-17.
18191 * scripts/config.sub: Update to version 2017-11-23.
18192 * scripts/install-sh: Update to version 2017-09-23.17.
18193 * scripts/move-if-change: Update to version 2017-09-13 06:45.
18195 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18197 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
18198 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18199 * sysdeps/tile/_mcount.S (__mcount): Likewise.
18200 * sysdeps/tile/crti.S (_init, _fini): Likewise.
18201 * sysdeps/tile/crtn.S: Likewise.
18202 * sysdeps/tile/dl-start.S (_start): Likewise.
18203 * sysdeps/tile/dl-trampoline.S: Likewise.
18204 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
18205 * sysdeps/tile/start.S (_start): Likewise.
18206 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
18207 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
18208 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
18209 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
18210 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
18211 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
18212 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
18214 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
18216 * sysdeps/tile/preconfigure: Remove tilegx folder.
18217 * sysdeps/tile/tilegx/Implies: Move definitions to ...
18218 * sysdeps/tile/Implies: ... here.
18219 * sysdeps/tile/tilegx/Makefile: Move rules to ...
18220 * sysdeps/tile/Makefile: ... here.
18221 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
18222 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
18223 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
18224 * sysdeps/tile/bits/wordsize.h: ... here.
18225 * sysdeps/tile/tilegx/*: Move to ...
18226 * sysdeps/tile/*: ... here.
18227 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
18228 * sysdeps/tile/tilegx32/Implies: ... here.
18229 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
18230 * sysdeps/tile/tilegx64/Implies: ... here.
18231 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
18233 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18234 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
18235 * sysdeps/unix/sysv/linux/tile/*: ... here.
18236 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
18237 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
18238 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
18239 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
18241 * README: Remove tilepro-*-linux-gnu from supported architecture.
18242 * scripts/build-many-glibcs.py: Likewise.
18243 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18244 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
18245 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
18246 elf_machine_matches_host, elf_machine_dynamic,
18247 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
18248 howto, elf_machine_rela): Likewise.
18249 * sysdeps/tile/dl-start.S (_start): Likewise.
18250 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
18251 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
18252 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
18253 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
18254 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
18255 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18257 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
18258 * sysdeps/tile/preconfigure: Likewise.
18259 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
18260 POINTER_CHK_GUARD): Likewise.
18261 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
18262 * sysdeps/tile/start.S (_start): Likewise.
18263 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
18265 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
18266 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
18268 * sysdeps/unix/sysv/linux/tile/bits/environments.h
18269 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
18270 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
18272 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
18273 * sysdeps/tile/tilepro/Implies: Remove file.
18274 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
18275 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
18276 * sysdeps/tile/tilepro/memchr.c: Likewise.
18277 * sysdeps/tile/tilepro/memcpy.S: Likewise.
18278 * sysdeps/tile/tilepro/memset.c: Likewise.
18279 * sysdeps/tile/tilepro/memusage.h: Likewise.
18280 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
18281 * sysdeps/tile/tilepro/strchr.c: Likewise.
18282 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
18283 * sysdeps/tile/tilepro/strlen.c: Likewise.
18284 * sysdeps/tile/tilepro/strrchr.c: Likewise.
18285 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
18286 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
18287 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
18288 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
18289 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
18290 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18292 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
18293 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18294 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
18295 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
18296 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18297 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
18298 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
18299 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
18300 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
18301 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
18302 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
18303 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
18304 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
18305 tilepro mention in comment.
18307 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
18308 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
18309 * nptl/pthread_join_common.c: New file: common function used on
18310 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
18311 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
18312 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
18313 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18314 (cleanup): Move definition to pthread_join_common.c.
18315 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
18316 Remove superflous checks.
18317 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
18320 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18322 * sysdeps/aarch64/libm-test-ulps: Update.
18324 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18326 * sysdeps/aarch64/memset.S (MEMSET): Define.
18328 2017-12-20 Florian Weimer <fweimer@redhat.com>
18331 nptl: Provide full implementation of pthread_self in libc.so.
18332 * nptl/Makefile (routines): Add pthread_self.
18333 (libpthread-routines): Replace pthread_self with
18334 compat-pthread_self.
18335 * nptl/forward.c (pthread_self): Remove.
18336 * nptl/nptl-init.c (pthread_functions): Do not initialize
18338 * nptl/pthread_self.c (pthread_self): Remove weak alias.
18339 * nptl/compat-pthread_self.c: New file.
18340 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
18341 Remove ptr_pthread_self.
18343 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
18345 * posix/regcomp.c: Fix spelling in comments.
18346 * posix/regex.h: Likewise.
18347 * posix/regex_internal.c: Likewise.
18348 * posix/regexec.c: Likewise.
18350 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18353 * math/Makefile [C++] (tests): Add test for iseqsig.
18354 * math/math.h [C++] (iseqsig): New implementation, which does
18355 not rely on __MATH_TG/__builtin_types_compatible_p.
18356 * math/test-math-iseqsig.cc: New file.
18357 * sysdeps/powerpc/powerpc64le/Makefile
18358 (CFLAGS-test-math-iseqsig.cc): New variable.
18360 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
18362 * elf/dl-load.c (is_trusted_path): Remove.
18363 (fillin_rpath): Remove check_trusted argument and its use,
18364 all callers changed.
18366 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18369 * Makeconfig (link-pie-before-libc): Replace -pie with
18370 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
18371 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
18372 (tst-dlopen-aout-no-pie): New.
18373 (LDFLAGS-tst-prelink): Removed.
18374 (tst-prelink-no-pie): New.
18375 (LDFLAGS-tst-main1): Removed.
18376 (tst-main1-no-pie): New.
18377 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
18378 (tst-gmon-no-pie): New.
18380 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18382 * manual/install.texi: Document that --enable-static-pie
18384 * INSTALL: Regenerated.
18386 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
18389 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
18392 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18396 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18398 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18400 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18402 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18403 <errno.h>. Include "eexp.tbl".
18404 (half): New constant.
18406 (__ieee754_exp): Rewrite.
18407 (__slowexp): Remove prototype.
18408 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18409 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18410 * sysdeps/i386/fpu/slowexp.c: Likewise.
18411 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18412 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18413 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18414 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18415 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18416 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18417 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18419 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18420 (CPPFLAGS-slowexp.c): Remove variable.
18421 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18422 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18423 (CFLAGS-slowexp-fma.c): Remove variable.
18424 (CFLAGS-slowexp-fma4.c): Likewise.
18425 (CFLAGS-slowexp-avx.c): Likewise.
18426 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18428 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18429 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18430 * math/Makefile (type-double-routines): Remove slowexp.
18431 * manual/probes.texi (slowexp_p6): Remove.
18432 (slowexp_p32): Likewise.
18434 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18436 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
18439 * lib/glob.c (glob): Do not pass NULL to mempcpy.
18441 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18443 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18445 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18447 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18448 <errno.h>. Include "eexp.tbl".
18449 (half): New constant.
18451 (__ieee754_exp): Rewrite.
18452 (__slowexp): Remove prototype.
18453 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18454 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18455 * sysdeps/i386/fpu/slowexp.c: Likewise.
18456 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18457 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18458 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18459 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18460 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18461 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18462 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18464 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18465 (CPPFLAGS-slowexp.c): Remove variable.
18466 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18467 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18468 (CFLAGS-slowexp-fma.c): Remove variable.
18469 (CFLAGS-slowexp-fma4.c): Likewise.
18470 (CFLAGS-slowexp-avx.c): Likewise.
18471 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18473 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18474 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18475 * math/Makefile (type-double-routines): Remove slowexp.
18476 * manual/probes.texi (slowexp_p6): Remove.
18477 (slowexp_p32): Likewise.
18479 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18480 James Clarke <jrtc27@jrtc27.com>
18483 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
18486 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18489 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
18492 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18495 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18496 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18497 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18498 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18501 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18504 * bits/types/__cancel_jmp_buf_tag.h: New file.
18505 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18506 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18507 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18508 * nptl/Makefile (headers): Add
18509 bits/types/__cancel_jmp_buf_tag.h.
18510 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18511 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18512 * sysdeps/nptl/pthread.h: Include
18513 <bits/types/__cancel_jmp_buf_tag.h>.
18514 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18516 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18518 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18520 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18521 --enable-static-pie variants to x86_64, x32 and i686.
18523 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18526 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
18527 argument for attrubutes. All callers changed.
18528 (__inline_mathop1): Likewise. All callers changed.
18529 (__inline_mathop): Likewise. All callers changed.
18530 [__USE_MISC] (scalbn): Use __inline_forward instead of
18531 __inline_forward_c.
18532 [__USE_ISOC99] (scalbln): Likewise.
18533 [__USE_ISOC99] (nearbyint): Likewise.
18534 [__USE_ISOC99] (lrint): Likewise.
18535 [__USE_MISC] (scalbnf): Likewise.
18536 [__USE_ISOC99] (scalblnf): Likewise.
18537 [__USE_ISOC99] (nearbyintf): Likewise.
18538 [__USE_ISOC99] (lrintf): Likewise.
18539 [__USE_MISC] (scalbnl): Likewise.
18540 [__USE_ISOC99] (scalblnl): Likewise.
18541 [__USE_ISOC99] (nearbyintl): Likewise.
18542 [__USE_ISOC99] (lrintl): Likewise.
18543 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
18544 __inline_mathop and __m81_defun changed.
18546 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
18547 CPU or FPU for ARM hard-float configurations.
18549 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18551 * nptl/tst-attr3.c: Include <libc-diag.h>.
18552 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
18554 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
18556 * string/tester.c (test_strncat): Also disable -Warray-bounds
18557 warnings for two tests.
18559 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18562 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
18563 $(cc-pie-default) == yes.
18564 * config.make.in (cc-pie-default): New.
18565 * configure.ac (libc_cv_pie_default): Renamed to ...
18566 (libc_cv_cc_pie_default): This.
18567 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
18568 * configure: Regenerated.
18570 2017-12-18 Florian Weimer <fweimer@redhat.com>
18573 ld.so: Harden dl-libc/libdl hooks.
18574 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
18575 (rtld_active): New function.
18576 * dlfcn/dladdr.c (__dladdr): Call it.
18577 * dlfcn/dladdr1.c (__dladdr1): Likewise.
18578 * dlfcn/dlclose.c (__dlcose): Likewise.
18579 * dlfcn/dlerror.c (__dlerror): Likewise.
18580 * dlfcn/dlinfo.c (__dlinfo): Likewise.
18581 * dlfcn/dlmopen.c (__dlmopen): Likewise.
18582 * dlfcn/dlopen.c (__dlopen): Likewise.
18583 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18584 * dlfcn/dlsym.c (__dlsym): Likewise.
18585 * dlfcn/dlvsym.c (__dlvsym): Likewise.
18586 * libio/vtables.c (_IO_vtable_check): Likewise.
18587 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
18588 (__libc_dlclose): Likewise.
18589 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
18592 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18595 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
18596 buffers for readlink input and output.
18598 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
18601 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
18602 inhibit_stack_protector.
18605 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
18606 inhibit_stack_protector.
18608 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
18611 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
18612 code and invocation.
18614 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18616 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
18618 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
18621 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
18623 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18625 * sysdeps/s390/fpu/libm-test-ulps: Update.
18627 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18631 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18633 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
18634 constants to s_sincosf.h file.
18635 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18636 * sysdeps/ieee754/flt-32/s_sincosf.c: New
18638 * sysdeps/ieee754/flt-32/s_sincosf.h:
18641 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18644 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
18647 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
18650 * INSTALL: Regenerated.
18651 * Makeconfig (real-static-start-installed-name): New.
18652 (pic-default): Updated for --enable-static-pie.
18653 (pie-default): New for --enable-static-pie.
18654 (default-pie-ldflag): Likewise.
18655 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
18656 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
18657 Replace $(static-start-installed-name) with
18658 $(real-static-start-installed-name).
18659 (+prectorT): Updated for --enable-static-pie.
18660 (+postctorT): Likewise.
18661 (CFLAGS-.o): Add $(pie-default).
18662 (CFLAGS-.op): Likewise.
18663 * NEWS: Mention --enable-static-pie.
18664 * config.h.in (ENABLE_STATIC_PIE): New.
18665 * configure.ac (--enable-static-pie): New configure option.
18666 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
18667 (have-static-pie): Likewise.
18668 Enable static PIE if linker supports --no-dynamic-linker.
18669 (ENABLE_STATIC_PIE): New AC_DEFINE.
18670 (enable-static-pie): New LIBC_CONFIG_VAR.
18671 * configure: Regenerated.
18672 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
18673 gr$(start-installed-name) for --enable-static-pie.
18674 (extra-objs): Likewise.
18675 (install-lib): Likewise.
18676 (extra-objs): Add static-reloc.o and static-reloc.os
18677 ($(objpfx)$(start-installed-name)): Also depend on
18678 $(objpfx)static-reloc.o.
18679 ($(objpfx)r$(start-installed-name)): New.
18680 ($(objpfx)g$(start-installed-name)): Also depend on
18681 $(objpfx)static-reloc.os.
18682 ($(objpfx)gr$(start-installed-name)): New.
18683 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
18685 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
18687 * csu/static-reloc.c: New file.
18688 * elf/Makefile (routines): Add dl-reloc-static-pie.
18689 (elide-routines.os): Likewise.
18690 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
18691 (tst-tls1-static-non-pie-no-pie): New.
18692 * elf/dl-reloc-static-pie.c: New file.
18693 * elf/dl-support.c (_dl_get_dl_main_map): New function.
18694 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
18695 STATIC_PIE_BOOTSTRAP.
18696 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18697 * gmon/Makefile (tests): Add tst-gmon-static-pie.
18698 (tests-static): Likewise.
18699 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
18700 (tst-gmon-static-no-pie): New.
18701 (CFLAGS-tst-gmon-static-pie.c): Likewise.
18702 (CRT-tst-gmon-static-pie): Likewise.
18703 (tst-gmon-static-pie-ENV): Likewise.
18704 (tests-special): Likewise.
18705 ($(objpfx)tst-gmon-static-pie.out): Likewise.
18706 (clean-tst-gmon-static-pie-data): Likewise.
18707 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
18708 * gmon/tst-gmon-static-pie.c: New file.
18709 * manual/install.texi: Document --enable-static-pie.
18710 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
18711 (_dl_get_dl_main_map): Likewise.
18712 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
18713 * sysdeps/x86_64/configure.ac: Likewise.
18714 * sysdeps/i386/configure: Regenerated.
18715 * sysdeps/x86_64/configure: Likewise.
18716 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
18717 (ASFLAGS-.op): Likewise.
18719 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18721 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
18722 * posix/tst-mmap-offset.c (fname): Use /tmp.
18723 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
18725 2017-12-15 Steve Ellcey <sellcey@cavium.com>
18727 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
18729 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
18731 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
18734 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18736 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18737 --with-float=hard for arm-linux-gnueabihf configurations.
18740 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
18741 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
18742 ($(mo-installed)): Use $(objpfx)%.mo.
18743 (realclean): Remove rule.
18745 * po/Makefile (linguas): Remove rule and dependencies.
18746 (linguas.mo): Likewise.
18747 (.PHONY): Do not depend on linguas and linguas.mo.
18748 (podir): Remove variable.
18749 (pofiles): Likewise.
18750 [$(pofiles)] (%.po): Remove rule.
18752 * sysdeps/sparc/sparc32/Makefile
18753 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
18754 start-of-line whitespace in argument of echo.
18755 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
18756 with whitespace. Generate __wrap_.udiv alias.
18757 * sysdeps/sparc/sparc32/rem.S: Regenerated.
18758 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18759 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18760 * sysdeps/sparc/sparc32/urem.S: Likewise.
18762 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18764 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
18765 for aligned inputs.
18767 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18769 * benchtests/bench-strcmp.c: Print output in JSON format.
18771 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
18773 2017-12-14 Florian Weimer <fweimer@redhat.com>
18777 * elf/dl-load.c (_dl_init_paths): Compute number of components in
18778 the expanded path string.
18780 2017-12-14 Florian Weimer <fweimer@redhat.com>
18784 * elf/dl-load.c (system_dirs): Update comment.
18785 (nsystem_dirs_len): Use array_length.
18786 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
18788 2017-12-14 Florian Weimer <fweimer@redhat.com>
18790 Simplify compiling most of support/ outside of glibc.
18791 * support/check_addrinfo.c: Include <string.h>.
18792 * support/check_dns_packet.c: Likewise.
18793 * support/check_hostent.c: Likewise.
18794 * support/support_can_chroot.c: Include <support/xunistd.h>.
18795 * support/support_format_addrinfo.c: Include <stdlib.h>
18796 * support/support_format_dns_packet.c: Include <stdbool.h>.
18797 * support/support_format_hostent.c: Include <stdlib.h>.
18798 * support/support_format_netent.c: Likewise.
18799 * support/support_write_string.c: Include <support/xunistd.h>.
18800 * support/xdlfcn.c: Include <stddef.h>.
18802 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
18804 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
18806 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18807 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18809 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18810 (sysdeps_routines): Add memset-niagara7.
18811 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
18813 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
18815 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
18816 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18817 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
18818 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
18819 Add niagara7 option.
18820 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
18823 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18824 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
18825 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
18827 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
18829 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
18830 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
18831 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18832 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
18833 and __memmove_niagara7.
18834 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
18835 Add niagara7 option.
18836 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
18837 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
18838 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
18839 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
18840 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
18842 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
18844 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
18845 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
18846 * sysdeps/sparc/sparc64/memmove.S: Likewise.
18847 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
18849 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
18850 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
18851 _dl_sparc_cap_flags array.
18852 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
18854 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18856 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
18857 time whenever possible.
18859 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18861 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
18862 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
18864 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18866 * soft-fp/fmadf4.c: Move to ....
18867 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
18868 * soft-fp/fmasf4.c: Move to ....
18869 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
18870 * soft-fp/fmatf4.c: Move to ....
18871 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
18872 * sysdeps/ieee754/soft-fp/Makefile: New file.
18873 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
18874 * sysdeps/arm/preconfigure: Regenerated.
18875 * sysdeps/arm/nofpu/Implies: New file.
18876 * sysdeps/arm/s_fma.c: Remove file.
18877 * sysdeps/arm/s_fmaf.c: Likewise.
18878 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
18879 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
18880 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
18881 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
18882 * sysdeps/microblaze/s_fma.c: Remove file.
18883 * sysdeps/microblaze/s_fmaf.c: Likewise.
18884 * sysdeps/mips/mips32/nofpu/Implies: New file.
18885 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
18886 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
18887 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
18888 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
18889 * sysdeps/mips/ieee754/s_fma.c: Remove file.
18890 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
18891 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
18893 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
18894 * sysdeps/nios2/s_fma.c: Remove file.
18895 * sysdeps/nios2/s_fmaf.c: Likewise.
18896 * sysdeps/sh/nofpu/Implies: New file.
18897 * sysdeps/sh/s_fma.c: Remove file.
18898 * sysdeps/sh/s_fmaf.c: Likewise.
18899 * sysdeps/tile/Implies: Add ieee754/soft-fp.
18900 * sysdeps/tile/s_fma.c: Remove file.
18901 * sysdeps/tile/s_fmaf.c: Likewise.
18903 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
18905 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18906 Add s_cosf-sse2 and s_cosf-fma.
18907 (CFLAGS-s_cosf-fma.c): New.
18908 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
18909 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
18910 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
18912 2017-12-12 Steve Ellcey <sellcey@cavium.com>
18914 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
18916 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18918 * libio/Makefile (tests): Add tst-bz22415.
18919 (tst-bz22415-ENV): New rule.
18920 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
18921 (tests-special): Add tst-bz22415-mem.out.
18922 ($(objpfx)tst-bz22415-mem.out): New rule.
18923 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
18924 in case of a successful seek operation.
18925 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18926 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
18927 buffer is required.
18928 * libio/tst-bz22415.c: New test.
18930 * sysdeps/ia64/fpu/libm-test-ulps: Update.
18932 2017-12-12 James Clarke <jrtc27@jrtc27.com>
18934 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
18935 __IPC_64 to 0 to avoid IPC_64 being set.
18937 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18940 * math/bits/mathcalls.h (nextafter): Remove const.
18941 (nexttoward): Likewise.
18943 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18945 * configure.ac (--with-fp): Remove configure option.
18946 (with_fp_cond): New variable.
18947 (libc_cv_with_fp): New configure test. Use this variable instead
18949 * configure: Regenerated.
18950 * config.make.in (with-fp): Use @libc_cv_with_fp@.
18951 * manual/install.texi (Configuring and compiling): Remove
18953 * INSTALL: Regenerated.
18954 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
18955 * sysdeps/mips/preconfigure (with_fp_cond): Define.
18956 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
18957 * sysdeps/sh/preconfigure (with_fp_cond): Define.
18958 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
18959 use --without-fp to configure glibc.
18961 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
18963 * manual/locale.texi (nl_langinfo): Fix a typo.
18965 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
18968 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
18970 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18972 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
18973 (CFLAGS-argp-parse.c): Likewise.
18974 (CFLAGS-argp-fmtstream.c): Likewise.
18975 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
18976 (CPPFLAGS-sha512-crypt.c): Likewise.
18977 (CPPFLAGS-md5-crypt.c): Likewise.
18978 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
18979 (CFLAGS-stack_chk_fail_local.c): Likewise.
18980 (CFLAGS-backtrace.c): Likewise.
18981 (CFLAGS-sprintf_chk.c): Likewise.
18982 (CFLAGS-snprintf_chk.c): Likewise.
18983 (CFLAGS-vsprintf_chk.c): Likewise.
18984 (CFLAGS-vsnprintf_chk.c): Likewise.
18985 (CFLAGS-asprintf_chk.c): Likewise.
18986 (CFLAGS-vasprintf_chk.c): Likewise.
18987 (CFLAGS-obprintf_chk.c): Likewise.
18988 (CFLAGS-dprintf_chk.c): Likewise.
18989 (CFLAGS-vdprintf_chk.c): Likewise.
18990 (CFLAGS-printf_chk.c): Likewise.
18991 (CFLAGS-fprintf_chk.c): Likewise.
18992 (CFLAGS-vprintf_chk.c): Likewise.
18993 (CFLAGS-vfprintf_chk.c): Likewise.
18994 (CFLAGS-gets_chk.c): Likewise.
18995 (CFLAGS-fgets_chk.c): Likewise.
18996 (CFLAGS-fgets_u_chk.c): Likewise.
18997 (CFLAGS-fread_chk.c): Likewise.
18998 (CFLAGS-fread_u_chk.c): Likewise.
18999 (CFLAGS-swprintf_chk.c): Likewise.
19000 (CFLAGS-vswprintf_chk.c): Likewise.
19001 (CFLAGS-wprintf_chk.c): Likewise.
19002 (CFLAGS-fwprintf_chk.c): Likewise.
19003 (CFLAGS-vwprintf_chk.c): Likewise.
19004 (CFLAGS-vfwprintf_chk.c): Likewise.
19005 (CFLAGS-fgetws_chk.c): Likewise.
19006 (CFLAGS-fgetws_u_chk.c): Likewise.
19007 (CFLAGS-read_chk.c): Likewise.
19008 (CFLAGS-pread_chk.c): Likewise.
19009 (CFLAGS-pread64_chk.c): Likewise.
19010 (CFLAGS-recv_chk.c): Likewise.
19011 (CFLAGS-recvfrom_chk.c): Likewise.
19012 (CFLAGS-tst-longjmp_chk.c): Likewise.
19013 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
19014 (CFLAGS-tst-longjmp_chk2.c): Likewise.
19015 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
19016 (CFLAGS-tst-longjmp_chk3.c): Likewise.
19017 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19018 (CFLAGS-tst-chk1.c): Likewise.
19019 (CFLAGS-tst-chk2.c): Likewise.
19020 (CFLAGS-tst-chk3.c): Likewise.
19021 (CFLAGS-tst-chk4.cc): Likewise.
19022 (CFLAGS-tst-chk5.cc): Likewise.
19023 (CFLAGS-tst-chk6.cc): Likewise.
19024 (CFLAGS-tst-lfschk1.c): Likewise.
19025 (CFLAGS-tst-lfschk2.c): Likewise.
19026 (CFLAGS-tst-lfschk3.c): Likewise.
19027 (CFLAGS-tst-lfschk4.cc): Likewise.
19028 (CFLAGS-tst-lfschk5.cc): Likewise.
19029 (CFLAGS-tst-lfschk6.cc): Likewise.
19030 (CFLAGS-tst-ssp-1.c): Likewise.
19031 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
19032 (CFLAGS-scandir64.c): Likewise.
19033 (CFLAGS-scandir-tail.c): Likewise.
19034 (CFLAGS-scandir64-tail.c): Likewise.
19035 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
19036 (CFLAGS-dl-tunables.c): Likewise.
19037 (CFLAGS-dl-runtime.c): Likewise.
19038 (CFLAGS-dl-lookup.c): Likewise.
19039 (CFLAGS-dl-iterate-phdr.c): Likewise.
19040 (CFLAGS-vismain.c): Likewise.
19041 (CFLAGS-tst-linkall-static.c): Likewise.
19042 (CFLAGS-tst-linkall-static.c): Likewise.
19043 (CPPFLAGS-dl-load.c): Likewise.
19044 (CFLAGS-ldconfig.c): Likewise.
19045 (CFLAGS-dl-cache.c): Likewise.
19046 (CFLAGS-cache.c): Likewise.
19047 (CFLAGS-rtld.c): Likewise.
19048 (CFLAGS-multiload.c): Likewise.
19049 (CFLAGS-filtmod1.c): Likewise.
19050 (CFLAGS-tst-align.c): Likewise.
19051 (CFLAGS-tst-align2.c): Likewise.
19052 (CFLAGS-tst-alignmod.c): Likewise.
19053 (CFLAGS-tst-alignmod2.c): Likewise.
19054 (CPPFLAGS-tst-execstack.c): Likewise.
19055 (CFLAGS-tst-ptrguard1-static.c): Likewise.
19056 (CFLAGS-tst-latepthreadmod.c): Likewise.
19057 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
19058 (CFLAGS-getgrnam_r.c): Likewise.
19059 (CFLAGS-getgrent_r.c): Likewise.
19060 (CFLAGS-getgrent.c): Likewise.
19061 (CFLAGS-fgetgrent.c): Likewise.
19062 (CFLAGS-fgetgrent_r.c): Likewise.
19063 (CFLAGS-putgrent.c): Likewise.
19064 (CFLAGS-initgroups.c): Likewise.
19065 (CFLAGS-getgrgid.c): Likewise.
19066 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
19067 (CFLAGS-getsgent.c): Likewise.
19068 (CFLAGS-fgetsgent.c): Likewise.
19069 (CFLAGS-fgetsgent_r.c): Likewise.
19070 (CFLAGS-putsgent.c): Likewise.
19071 (CFLAGS-getsgnam.c): Likewise.
19072 (CFLAGS-getsgnam_r.c): Likewise.
19073 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
19074 (CFLAGS-iconv_charmap.c): Likewise.
19075 (CFLAGS-dummy-repertoire.c): Likewise.
19076 (CFLAGS-charmap.c): Likewise.
19077 (CFLAGS-linereader.c): Likewise.
19078 (CFLAGS-simple-hash.c): Likewise.
19079 (CFLAGS-gconv_conf.c): Likewise.
19080 (CFLAGS-iconvconfig.c): Likewise.
19081 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19082 (CFLAGS-gethstbyad.c): Likewise.
19083 (CFLAGS-gethstbynm_r.c): Likewise.
19084 (CFLAGS-gethstbynm.c): Likewise.
19085 (CFLAGS-gethstbynm2_r.c): Likewise.
19086 (CFLAGS-gethstbynm2.c): Likewise.
19087 (CFLAGS-gethstent_r.c): Likewise.
19088 (CFLAGS-gethstent.c): Likewise.
19089 (CFLAGS-rcmd.c): Likewise.
19090 (CFLAGS-getnetbynm_r.c): Likewise.
19091 (CFLAGS-getnetbynm.c): Likewise.
19092 (CFLAGS-getnetbyad_r.c): Likewise.
19093 (CFLAGS-getnetbyad.c): Likewise.
19094 (CFLAGS-getnetent_r.c): Likewise.
19095 (CFLAGS-getnetent.c): Likewise.
19096 (CFLAGS-getaliasent_r.c): Likewise.
19097 (CFLAGS-getaliasent.c): Likewise.
19098 (CFLAGS-getrpcent_r.c): Likewise.
19099 (CFLAGS-getrpcent.c): Likewise.
19100 (CFLAGS-getservent_r.c): Likewise.
19101 (CFLAGS-getservent.c): Likewise.
19102 (CFLAGS-getprtent_r.c): Likewise.
19103 (CFLAGS-getprtent.c): Likewise.
19104 (CFLAGS-either_ntoh.c): Likewise.
19105 (CFLAGS-either_hton.c): Likewise.
19106 (CFLAGS-getnetgrent.c): Likewise.
19107 (CFLAGS-getnetgrent_r.c): Likewise.
19108 (CFLAGS-tst-checks-posix.c): Likewise.
19109 (CFLAGS-tst-sockaddr.c): Likewise.
19110 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
19111 (CFLAGS-tst-translit.c): Likewise.
19112 (CFLAGS-tst-gettext2.c): Likewise.
19113 (CFLAGS-tst-codeset.c): Likewise.
19114 (CFLAGS-tst-gettext3.c): Likewise.
19115 (CFLAGS-tst-gettext4.c): Likewise.
19116 (CFLAGS-tst-gettext5.c): Likewise.
19117 (CFLAGS-tst-gettext6.c): Likewise.
19118 * io/Makefile (CFLAGS-open.c): Likewise.
19119 (CFLAGS-open64.c): Likewise.
19120 (CFLAGS-creat.c): Likewise.
19121 (CFLAGS-creat64.c): Likewise.
19122 (CFLAGS-fcntl.c): Likewise.
19123 (CFLAGS-poll.c): Likewise.
19124 (CFLAGS-ppoll.c): Likewise.
19125 (CFLAGS-lockf.c): Likewise.
19126 (CFLAGS-statfs.c): Likewise.
19127 (CFLAGS-fstatfs.c): Likewise.
19128 (CFLAGS-statvfs.c): Likewise.
19129 (CFLAGS-fstatvfs.c): Likewise.
19130 (CFLAGS-fts.c): Likewise.
19131 (CFLAGS-fts64.c): Likewise.
19132 (CFLAGS-ftw.c): Likewise.
19133 (CFLAGS-ftw64.c): Likewise.
19134 (CFLAGS-lockf.c): Likewise.
19135 (CFLAGS-posix_fallocate.c): Likewise.
19136 (CFLAGS-posix_fallocate64.c): Likewise.
19137 (CFLAGS-fallocate.c): Likewise.
19138 (CFLAGS-fallocate64.c): Likewise.
19139 (CFLAGS-read.c): Likewise.
19140 (CFLAGS-write.c): Likewise.
19141 (CFLAGS-test-stat.c): Likewise.
19142 (CFLAGS-test-lfs.c): Likewise.
19143 * libio/Makefile (CFLAGS-fileops.c): Likewise.
19144 (CFLAGS-fputc.c): Likewise.
19145 (CFLAGS-fputwc.c): Likewise.
19146 (CFLAGS-freopen64.c): Likewise.
19147 (CFLAGS-freopen.c): Likewise.
19148 (CFLAGS-fseek.c): Likewise.
19149 (CFLAGS-fseeko64.c): Likewise.
19150 (CFLAGS-fseeko.c): Likewise.
19151 (CFLAGS-ftello64.c): Likewise.
19152 (CFLAGS-ftello.c): Likewise.
19153 (CFLAGS-fwide.c): Likewise.
19154 (CFLAGS-genops.c): Likewise.
19155 (CFLAGS-getc.c): Likewise.
19156 (CFLAGS-getchar.c): Likewise.
19157 (CFLAGS-getwc.c): Likewise.
19158 (CFLAGS-getwchar.c): Likewise.
19159 (CFLAGS-iofclose.c): Likewise.
19160 (CFLAGS-iofflush.c): Likewise.
19161 (CFLAGS-iofgetpos64.c): Likewise.
19162 (CFLAGS-iofgetpos.c): Likewise.
19163 (CFLAGS-iofgets.c): Likewise.
19164 (CFLAGS-iofgetws.c): Likewise.
19165 (CFLAGS-iofputs.c): Likewise.
19166 (CFLAGS-iofputws.c): Likewise.
19167 (CFLAGS-iofread.c): Likewise.
19168 (CFLAGS-iofsetpos64.c): Likewise.
19169 (CFLAGS-iofsetpos.c): Likewise.
19170 (CFLAGS-ioftell.c): Likewise.
19171 (CFLAGS-iofwrite.c): Likewise.
19172 (CFLAGS-iogetdelim.c): Likewise.
19173 (CFLAGS-iogetline.c): Likewise.
19174 (CFLAGS-iogets.c): Likewise.
19175 (CFLAGS-iogetwline.c): Likewise.
19176 (CFLAGS-ioputs.c): Likewise.
19177 (CFLAGS-ioseekoff.c): Likewise.
19178 (CFLAGS-ioseekpos.c): Likewise.
19179 (CFLAGS-iosetbuffer.c): Likewise.
19180 (CFLAGS-iosetvbuf.c): Likewise.
19181 (CFLAGS-ioungetc.c): Likewise.
19182 (CFLAGS-ioungetwc.c): Likewise.
19183 (CFLAGS-oldfileops.c): Likewise.
19184 (CFLAGS-oldiofclose.c): Likewise.
19185 (CFLAGS-oldiofgetpos64.c): Likewise.
19186 (CFLAGS-oldiofgetpos.c): Likewise.
19187 (CFLAGS-oldiofsetpos64.c): Likewise.
19188 (CFLAGS-oldiofsetpos.c): Likewise.
19189 (CFLAGS-peekc.c): Likewise.
19190 (CFLAGS-putc.c): Likewise.
19191 (CFLAGS-putchar.c): Likewise.
19192 (CFLAGS-putwc.c): Likewise.
19193 (CFLAGS-putwchar.c): Likewise.
19194 (CFLAGS-rewind.c): Likewise.
19195 (CFLAGS-wfileops.c): Likewise.
19196 (CFLAGS-wgenops.c): Likewise.
19197 (CFLAGS-oldiofopen.c): Likewise.
19198 (CFLAGS-iofopen.c): Likewise.
19199 (CFLAGS-iofopen64.c): Likewise.
19200 (CFLAGS-oldtmpfile.c): Likewise.
19201 (CFLAGS-tst_putwc.c): Likewise.
19202 * locale/Makefile (CFLAGS-md5.c): Likewise.
19203 (CFLAGS-charmap.c): Likewise.
19204 (CFLAGS-locfile.c): Likewise.
19205 (CFLAGS-charmap-dir.c): Likewise.
19206 * login/Makefile (CFLAGS-grantpt.c): Likewise.
19207 (CFLAGS-getpt.c): Likewise.
19208 (CFLAGS-pt_chown.c): Likewise.
19209 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
19210 (CFLAGS-obstack.c): Likewise.
19211 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
19212 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
19213 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
19214 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
19215 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
19216 (CFLAGS-test-tgmath.c): Likewise.
19217 (CFLAGS-test-tgmath2.c): Likewise.
19218 (CFLAGS-test-tgmath-ret.c): Likewise.
19219 (CFLAGS-test-powl.c): Likewise.
19220 (CFLAGS-test-snan.c): Likewise.
19221 (CFLAGS-test-signgam-finite.c): Likewise.
19222 (CFLAGS-test-signgam-finite-c99.c): Likewise.
19223 (CFLAGS-test-signgam-finite-c11.c): Likewise.
19224 (CFLAGS-test-signgam-uchar.c): Likewise.
19225 (CFLAGS-test-signgam-uchar-init.c): Likewise.
19226 (CFLAGS-test-signgam-uchar-static.c): Likewise.
19227 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19228 (CFLAGS-test-signgam-uint.c): Likewise.
19229 (CFLAGS-test-signgam-uint-init.c): Likewise.
19230 (CFLAGS-test-signgam-uint-static.c): Likewise.
19231 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19232 (CFLAGS-test-signgam-ullong.c): Likewise.
19233 (CFLAGS-test-signgam-ullong-init.c): Likewise.
19234 (CFLAGS-test-signgam-ullong-static.c): Likewise.
19235 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19236 (CFLAGS-test-math-cxx11.cc): Likewise.
19237 (CFLAGS-test-math-isinff.cc): Likewise.
19238 (CFLAGS-test-math-iszero.cc): Likewise.
19239 (CFLAGS-test-math-issignaling.cc): Likewise.
19240 (CFLAGS-test-math-iscanonical.cc): Likewise.
19241 (CFLAGS-test-iszero-excess-precision.c): Likewise.
19242 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
19243 (CFLAGS-test-flt-eval-method.c): Likewise.
19244 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
19245 (CFLAGS-test-finite-macros.c): Likewise.
19246 * misc/Makefile (CFLAGS-select.c): Likewise.
19247 (CFLAGS-tsearch.c): Likewise.
19248 (CFLAGS-lsearch.c): Likewise.
19249 (CFLAGS-pselect.c): Likewise.
19250 (CFLAGS-readv.c): Likewise.
19251 (CFLAGS-writev.c): Likewise.
19252 (CFLAGS-preadv.c): Likewise.
19253 (CFLAGS-preadv64.c): Likewise.
19254 (CFLAGS-pwritev.c): Likewise.
19255 (CFLAGS-pwritev64.c): Likewise.
19256 (CFLAGS-preadv2.c): Likewise.
19257 (CFLAGS-preadv64v2.c): Likewise.
19258 (CFLAGS-pwritev2.c): Likewise.
19259 (CFLAGS-pwritev64v2.c): Likewise.
19260 (CFLAGS-usleep.c): Likewise.
19261 (CFLAGS-syslog.c): Likewise.
19262 (CFLAGS-error.c): Likewise.
19263 (CFLAGS-getpass.c): Likewise.
19264 (CFLAGS-mkstemp.c): Likewise.
19265 (CFLAGS-mkstemp64.c): Likewise.
19266 (CFLAGS-getsysstats.c): Likewise.
19267 (CFLAGS-getusershell.c): Likewise.
19268 (CFLAGS-err.c): Likewise.
19269 (CFLAGS-tst-tsearch.c): Likewise.
19270 (CFLAGS-msync.c): Likewise.
19271 (CFLAGS-fdatasync.c): Likewise.
19272 (CFLAGS-fsync.c): Likewise.
19273 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
19274 (CFLAGS-unwind.c): Likewise.
19275 (CFLAGS-unwind-forcedunwind.c): Likewise.
19276 (CFLAGS-pthread_cancel.c): Likewise.
19277 (CFLAGS-pthread_setcancelstate.c): Likewise.
19278 (CFLAGS-pthread_setcanceltype.c): Likewise.
19279 (CFLAGS-cancellation.c): Likewise.
19280 (CFLAGS-libc-cancellation.c): Likewise.
19281 (CFLAGS-pthread_exit.c): Likewise.
19282 (CFLAGS-forward.c): Likewise.
19283 (CFLAGS-pthread_testcancel.c): Likewise.
19284 (CFLAGS-pthread_join.c): Likewise.
19285 (CFLAGS-pthread_timedjoin.c): Likewise.
19286 (CFLAGS-pthread_once.c): Likewise.
19287 (CFLAGS-pthread_cond_wait.c): Likewise.
19288 (CFLAGS-sem_wait.c): Likewise.
19289 (CFLAGS-sem_timedwait.c): Likewise.
19290 (CFLAGS-fcntl.c): Likewise.
19291 (CFLAGS-lockf.c): Likewise.
19292 (CFLAGS-pread.c): Likewise.
19293 (CFLAGS-pread64.c): Likewise.
19294 (CFLAGS-pwrite.c): Likewise.
19295 (CFLAGS-pwrite64.c): Likewise.
19296 (CFLAGS-wait.c): Likewise.
19297 (CFLAGS-waitpid.c): Likewise.
19298 (CFLAGS-sigwait.c): Likewise.
19299 (CFLAGS-msgrcv.c): Likewise.
19300 (CFLAGS-msgsnd.c): Likewise.
19301 (CFLAGS-tcdrain.c): Likewise.
19302 (CFLAGS-open.c): Likewise.
19303 (CFLAGS-open64.c): Likewise.
19304 (CFLAGS-pause.c): Likewise.
19305 (CFLAGS-recv.c): Likewise.
19306 (CFLAGS-send.c): Likewise.
19307 (CFLAGS-accept.c): Likewise.
19308 (CFLAGS-sendto.c): Likewise.
19309 (CFLAGS-connect.c): Likewise.
19310 (CFLAGS-recvfrom.c): Likewise.
19311 (CFLAGS-recvmsg.c): Likewise.
19312 (CFLAGS-sendmsg.c): Likewise.
19313 (CFLAGS-close.c): Likewise.
19314 (CFLAGS-read.c): Likewise.
19315 (CFLAGS-write.c): Likewise.
19316 (CFLAGS-nanosleep.c): Likewise.
19317 (CFLAGS-sigsuspend.c): Likewise.
19318 (CFLAGS-msync.c): Likewise.
19319 (CFLAGS-fdatasync.c): Likewise.
19320 (CFLAGS-fsync.c): Likewise.
19321 (CFLAGS-pt-system.c): Likewise.
19322 (CFLAGS-tst-cleanup2.c): Likewise.
19323 (CFLAGS-tst-cleanupx2.c): Likewise.
19324 (CFLAGS-flockfile.c): Likewise.
19325 (CFLAGS-ftrylockfile.c): Likewise.
19326 (CFLAGS-funlockfile.c): Likewise.
19327 (CFLAGS-tst-initializers1.c): Likewise.
19328 (CFLAGS-tst-initializers1-c89.c): Likewise.
19329 (CFLAGS-tst-initializers1-c99.c): Likewise.
19330 (CFLAGS-tst-initializers1-c11.c): Likewise.
19331 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
19332 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
19333 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19334 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
19335 (CFLAGS-nscd_getgr_r.c): Likewise.
19336 (CFLAGS-nscd_gethst_r.c): Likewise.
19337 (CFLAGS-nscd_getai.c): Likewise.
19338 (CFLAGS-nscd_initgroups.c): Likewise.
19339 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
19340 (CFLAGS-pause.c): Likewise.
19341 (CFLAGS-pread.c): Likewise.
19342 (CFLAGS-pread64.c): Likewise.
19343 (CFLAGS-pwrite.c): Likewise.
19344 (CFLAGS-pwrite64.c): Likewise.
19345 (CFLAGS-sleep.c): Likewise.
19346 (CFLAGS-wait.c): Likewise.
19347 (CFLAGS-waitid.c): Likewise.
19348 (CFLAGS-waitpid.c): Likewise.
19349 (CFLAGS-getopt.c): Likewise.
19350 (CFLAGS-wordexp.c): Likewise.
19351 (CFLAGS-sysconf.c): Likewise.
19352 (CFLAGS-pathconf.c): Likewise.
19353 (CFLAGS-fpathconf.c): Likewise.
19354 (CFLAGS-spawn.c): Likewise.
19355 (CFLAGS-spawnp.c): Likewise.
19356 (CFLAGS-spawni.c): Likewise.
19357 (CFLAGS-glob.c): Likewise.
19358 (CFLAGS-glob64.c): Likewise.
19359 (CFLAGS-getconf.c): Likewise.
19360 (CFLAGS-nanosleep.c): Likewise.
19361 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
19362 (CFLAGS-getpwent.c): Likewise.
19363 (CFLAGS-getpw.c): Likewise.
19364 (CFLAGS-fgetpwent_r.c): Likewise.
19365 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
19366 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
19367 (CFLAGS-mq_timedreceive.c): Likewise.
19368 (CFLAGS-mq_timedsend.c): Likewise.
19369 (CFLAGS-clock_nanosleep.c): Likewise.
19370 (CFLAGS-librt-cancellation.c): Likewise.
19371 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
19372 (CFLAGS-getspent.c): Likewise.
19373 (CFLAGS-fgetspent.c): Likewise.
19374 (CFLAGS-fgetspent_r.c): Likewise.
19375 (CFLAGS-putspent.c): Likewise.
19376 (CFLAGS-getspnam.c): Likewise.
19377 (CFLAGS-getspnam_r.c): Likewise.
19378 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
19379 (CFLAGS-sigsuspend.c): Likewise.
19380 (CFLAGS-sigtimedwait.c): Likewise.
19381 (CFLAGS-sigwait.c): Likewise.
19382 (CFLAGS-sigwaitinfo.c): Likewise.
19383 (CFLAGS-sigreturn.c): Likewise.
19384 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19385 (CFLAGS-vfwprintf.c): Likewise.
19386 (CFLAGS-tmpfile.c): Likewise.
19387 (CFLAGS-tmpfile64.c): Likewise.
19388 (CFLAGS-tempname.c): Likewise.
19389 (CFLAGS-psignal.c): Likewise.
19390 (CFLAGS-vprintf.c): Likewise.
19391 (CFLAGS-cuserid.c): Likewise.
19392 (CFLAGS-errlist.c): Likewise.
19393 (CFLAGS-siglist.c): Likewise.
19394 (CFLAGS-scanf15.c): Likewise.
19395 (CFLAGS-scanf17.c): Likewise.
19396 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
19397 (CFLAGS-msort.c): Likewise.
19398 (CFLAGS-qsort.c): Likewise.
19399 (CFLAGS-system.c): Likewise.
19400 (CFLAGS-fmtmsg.c): Likewise.
19401 (CFLAGS-strfmon.c): Likewise.
19402 (CFLAGS-strfmon_l.c): Likewise.
19403 (CFLAGS-strfromd.c): Likewise.
19404 (CFLAGS-strfromf.c): Likewise.
19405 (CFLAGS-strfroml.c): Likewise.
19406 (CFLAGS-tst-bsearch.c): Likewise.
19407 (CFLAGS-tst-qsort.c): Likewise.
19408 (CFLAGS-tst-makecontext2.c): Likewise.
19409 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
19410 (CFLAGS-xnlm_prot.c): Likewise.
19411 (CFLAGS-xrstat.c): Likewise.
19412 (CFLAGS-xyppasswd.c): Likewise.
19413 (CFLAGS-xklm_prot.c): Likewise.
19414 (CFLAGS-xrex.c): Likewise.
19415 (CFLAGS-xsm_inter.c): Likewise.
19416 (CFLAGS-xmount.c): Likewise.
19417 (CFLAGS-xrusers.c): Likewise.
19418 (CFLAGS-xspray.c): Likewise.
19419 (CFLAGS-xnfs_prot.c): Likewise.
19420 (CFLAGS-xrquota.c): Likewise.
19421 (CFLAGS-xkey_prot.c): Likewise.
19422 (CFLAGS-auth_unix.c): Likewise.
19423 (CFLAGS-key_call.c): Likewise.
19424 (CFLAGS-pmap_rmt.c): Likewise.
19425 (CFLAGS-clnt_perr.c): Likewise.
19426 (CFLAGS-openchild.c): Likewise.
19427 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
19428 (CFLAGS-msgsnd.c): Likewise.
19429 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
19430 * time/Makefile (CFLAGS-tzfile.c): Likewise.
19431 (CFLAGS-tzset.c): Likewise.
19432 (CFLAGS-getdate.c): Likewise.
19433 (CFLAGS-test_time.c): Likewise.
19434 (CPPFLAGS-tst-tzname.c): Likewise.
19435 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
19436 (CFLAGS-zic.c): Likewise.
19437 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
19438 (CFLAGS-wcswidth.c): Likewise.
19439 (CFLAGS-wcstol.c): Likewise.
19440 (CFLAGS-wcstoul.c): Likewise.
19441 (CFLAGS-wcstoll.c): Likewise.
19442 (CFLAGS-wcstoull.c): Likewise.
19443 (CFLAGS-wcstod.c): Likewise.
19444 (CFLAGS-wcstold.c): Likewise.
19445 (CFLAGS-wcstof128.c): Likewise.
19446 (CFLAGS-wcstof.c): Likewise.
19447 (CFLAGS-wcstol_l.c): Likewise.
19448 (CFLAGS-wcstoul_l.c): Likewise.
19449 (CFLAGS-wcstoll_l.c): Likewise.
19450 (CFLAGS-wcstoull_l.c): Likewise.
19451 (CFLAGS-wcstod_l.c): Likewise.
19452 (CFLAGS-wcstold_l.c): Likewise.
19453 (CFLAGS-wcstof128_l.c): Likewise.
19454 (CFLAGS-wcstof_l.c): Likewise.
19455 (CPPFLAGS-tst-wchar-h.c): Likewise.
19456 (CPPFLAGS-wcstold_l.c): Likewise.
19458 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
19460 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
19462 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19463 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19465 * manual/tunables.texi (Hardware Capability Tunables): Document
19466 glibc.tune.cached_memopt.
19467 * sysdeps/powerpc/cpu-features.c: New file.
19468 * sysdeps/powerpc/cpu-features.h: New file.
19469 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
19470 _dl_powerpc_cpu_features.
19471 * sysdeps/powerpc/dl-tunables.list: New file.
19472 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
19473 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19474 (INIT_ARCH): Initialize use_aligned_memopt.
19475 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
19476 IS_IN(rtld))]: Restrict dl_platform_init availability and
19477 initialize CPU features used by tunables.
19478 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
19479 Add memcpy-power8-cached.
19480 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
19481 __memcpy_power8_cached.
19482 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19483 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
19486 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19488 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
19489 (CFLAGS-noinl-tester.c): Likewise.
19490 (CFLAGS-tst-strlen.c): Likewise.
19491 (CFLAGS-stratcliff.c): Likewise.
19492 (CFLAGS-test-ffs.c): Likewise.
19493 (CFLAGS-tst-inlcall.c): Likewise.
19494 (CFLAGS-tst-xbzero-opt.c): Likewise.
19495 (CFLAGS-memcpy.c): Likewise.
19496 (CFLAGS-wordcopy.c): Likewise.
19498 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19500 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
19501 Store r15 on stack and add cfi rule.
19502 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19505 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
19508 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
19511 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19513 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19514 Add s_sinf-sse2 and s_sinf-fma.
19515 (CFLAGS-s_sinf-fma.c): New.
19516 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
19517 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
19518 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
19520 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19522 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
19524 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19527 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
19528 part of result to imaginary part of argument if it is zero and the
19529 real part of the argument is not finite.
19530 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
19531 of result to real part of argument if it is zero and the imaginary
19532 part of the argument is not finite.
19534 2017-12-07 Mike FABIAN <mfabian@redhat.com>
19537 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
19538 and to the list of locales to be built for testing.
19539 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
19540 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
19541 and build the collation rules upon that.
19543 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19545 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
19546 * manual/math.texi (Mathematics): Document support for _Float32.
19547 * math/Makefile (test-types): Add float32.
19548 * math/Versions (GLIBC_2.27): Add _Float32 functions.
19549 * stdlib/Versions (GLIBC_2.27): Likewise.
19550 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19551 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19552 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19553 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19554 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19555 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19556 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19557 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19558 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19559 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19560 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19561 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19562 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19563 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19564 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19565 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19566 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19567 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19568 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19569 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19570 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19571 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19573 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19574 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19575 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19576 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19577 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19595 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19596 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19597 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19598 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19599 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19600 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19601 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19602 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19603 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19604 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19613 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19614 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19615 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19616 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19617 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19618 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19619 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19620 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19622 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19624 * stdlib/strtof.c: Include <bits/floatn.h>
19625 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
19626 and later undefine as macro. Define as weak alias if
19628 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
19629 and later undefine as macro. Define as weak alias if
19631 * stdlib/strtof_l.c: Include <bits/floatn.h>
19632 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
19633 and later undefine as macro. Define as weak alias if
19635 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
19636 and later undefine as macro. Define as weak alias if
19639 * stdlib/strfromf.c: Include <bits/floatn.h>.
19640 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
19641 and later undefine as macro and define as weak alias.
19643 * math/test-float32.h: New file.
19645 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
19646 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
19647 (libm_alias_float_other_r): Create f32 alias.
19648 (libm_alias_float_r): Use semicolon before call to
19649 libm_alias_float_other_r.
19651 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
19652 second argument to libm_alias_float_other.
19653 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
19654 second argument to libm_alias_float_other.
19655 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
19656 argument to libm_alias_float_other.
19659 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
19660 real part of result for argument 0 + i * NaN.
19661 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
19662 results for tests of 0 + i * NaN.
19664 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19666 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19668 2017-12-06 David S. Miller <davem@davemloft.net>
19670 * sysdeps/sparc/fpu/libm-test-ulps: Update
19671 exp_{downward,towardzero,upward} ulps.
19673 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19675 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
19678 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
19680 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
19682 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
19684 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
19687 2017-12-06 Mike FABIAN <mfabian@redhat.com>
19690 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
19691 and to the list of locales to be built for testing.
19692 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
19693 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
19694 and build the collation rules upon that.
19696 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19698 * NEWS: Add sinf to list of optimized functions.
19700 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19702 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
19703 (__HAVE_FLOAT32X): Likewise.
19704 * manual/math.texi (Mathematics): Document support for _Float64
19706 * math/Makefile (test-types): Add float64 and float32x.
19707 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
19709 * stdlib/Versions (GLIBC_2.27): Likewise.
19710 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19711 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19712 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19713 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19714 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19715 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19716 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19717 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19718 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19719 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19720 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19721 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19722 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19723 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19724 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19725 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19726 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19727 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19728 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19729 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19730 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19731 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19733 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19734 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19735 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19736 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19737 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19754 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19755 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19756 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19757 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19758 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19759 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19760 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19761 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19762 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19763 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19772 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19773 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19774 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19775 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19776 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19777 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19778 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19779 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19781 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19783 * bits/floatn-common.h: Include <bits/long-double.h>.
19784 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19785 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
19786 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19787 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
19788 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19789 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
19790 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19791 (__builtin_huge_valf64): Use __builtin_huge_vall.
19792 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19793 (__builtin_inff64): Use __builtin_infl.
19794 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19795 (__builtin_nanf64): Use __builtin_nanl.
19796 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19797 (__builtin_nansf64): Use __builtin_nansl.
19799 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
19800 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19801 Carlos O'Donnell <carlos@redhat.com>
19803 * elf/dl-tunables.list: Add elision parameters.
19804 * manual/tunables.texi: Add entries about elision tunable.
19805 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
19806 Add callback functions to dynamically enable/disable elision.
19807 Add multiple callbacks functions to set elision parameters.
19808 Deleted __libc_enable_secure check.
19809 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
19810 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
19811 * configure: Regenerated.
19812 * configure.ac: Option enable_lock_elision was deleted.
19813 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
19814 * config.make.in: Remove references to enable_lock_elision.
19815 * manual/install.texi: Elision configure option was removed.
19816 * INSTALL: Regenerated to remove enable_lock_elision.
19818 Disable elision so it can verify error case for destroying a mutex.
19819 * sysdeps/powerpc/nptl/elide.h:
19820 Cleanup ENABLE_LOCK_ELISION check.
19821 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
19822 * sysdeps/s390/configure: Regenerated.
19823 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
19824 * nptl/tst-mutex8.c:
19825 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
19826 * sysdeps/powerpc/powerpc32/sysdep.h:
19827 Deleted all ENABLE_LOCK_ELISION checks.
19828 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19829 * sysdeps/powerpc/sysdep.h: Likewise.
19830 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
19831 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
19832 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19833 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19834 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19835 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
19836 enable-lock-elision.
19838 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19840 * stdlib/strtod.c: Include <bits/floatn.h>.
19841 (BUILD_DOUBLE): New macro.
19842 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19843 (strtof64): Define and later undefine as macro. Define as weak
19844 alias if [!USE_WIDE_CHAR].
19845 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19846 (wcstof64): Define and later undefine as macro. Define as weak
19847 alias if [USE_WIDE_CHAR].
19848 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19849 (strtof32x): Define and later undefine as macro. Define as weak
19850 alias if [!USE_WIDE_CHAR].
19851 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19852 (wcstof32x): Define and later undefine as macro. Define as weak
19853 alias if [USE_WIDE_CHAR].
19854 * stdlib/strtod_l.c: Include <bits/floatn.h>.
19855 (BUILD_DOUBLE): New macro.
19856 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19857 (strtof64_l): Define and later undefine as macro. Define as weak
19858 alias if [!USE_WIDE_CHAR].
19859 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19860 (wcstof64_l): Define and later undefine as macro. Define as weak
19861 alias if [USE_WIDE_CHAR].
19862 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19863 (strtof32x_l): Define and later undefine as macro. Define as weak
19864 alias if [!USE_WIDE_CHAR].
19865 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19866 (wcstof32x_l): Define and later undefine as macro. Define as weak
19867 alias if [USE_WIDE_CHAR].
19869 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19871 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
19872 (reduced): Use ones as double instead of integer.
19874 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
19876 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
19878 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19880 * stdlib/strfromd.c: Include <bits/floatn.h>.
19881 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
19882 and later undefine as macro and define as weak alias.
19883 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
19886 * math/test-float32x.h: New file.
19887 * math/test-float64.h: Likewise.
19889 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
19890 (libm_alias_double_other_r_f64): New macro.
19891 (libm_alias_double_other_r_f32x): Likewise.
19892 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19893 libm_alias_double_other_r_f32x.
19894 (libm_alias_double_r): Use semicolon before call to
19895 libm_alias_double_other_r.
19896 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
19898 (libm_alias_double_other_r_f64): New macro.
19899 (libm_alias_double_other_r_f32x): Likewise.
19900 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19901 libm_alias_double_other_r_f32x.
19903 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
19905 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
19907 (SINF_FUNC): Likewise. Replace floor with simple casts.
19909 2017-12-05 Mike FABIAN <mfabian@redhat.com>
19912 * localedata/Makefile: Add et_EE.UTF-8 to test-input
19913 and to the list of locales to be built for testing.
19914 * localedata/et_EE.UTF-8.in: New file for testing the collation.
19915 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
19916 and build the collation rules upon that.
19918 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
19920 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
19921 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
19922 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
19923 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
19924 instead of __insn__xxx.
19925 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
19926 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
19927 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
19928 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
19929 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
19930 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
19932 2017-12-05 Florian Weimer <fweimer@redhat.com>
19934 Linux: Implement interfaces for memory protection keys
19935 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
19937 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
19938 * support/xunistd.h (xsysconf): Declare.
19939 * support/xraise.c: New file.
19940 * support/xsigaction.c: Likewise.
19941 * support/xsignal.c: Likewise.
19942 * support/xsysconf.c: Likewise.
19943 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
19944 pkey_set, pkey_get, pkey_mprotect.
19945 [misc] (tests): Add tst-pkey.
19946 (tst-pkey): Link with -lpthread.
19947 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
19948 pkey_free, pkey_set, pkey_get, pkey_mprotect.
19949 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
19950 (PKEY_DISABLE_WRITE): Define.
19951 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
19953 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
19954 (SEGV_PKUERR): Add.
19955 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
19956 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
19957 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
19958 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
19960 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
19961 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
19962 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
19963 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
19964 * sysdeps/unix/sysv/linux/**.abilist: Update.
19966 2017-12-05 Florian Weimer <fweimer@redhat.com>
19968 * support/tst-test_compare.c (subprocess): Use long long instead
19969 of long argument for consistent type width across 32-bit and
19970 64-bit architectures.
19971 (do_test): Adjust expected output.
19973 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19975 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
19976 (cosf): Define using libm_alias_float.
19977 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
19978 (fabsf): Define using libm_alias_float.
19979 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
19980 (fmaf): Define using libm_alias_float.
19981 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
19982 (rintf): Define using libm_alias_float.
19983 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
19984 (sinf): Define using libm_alias_float.
19985 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
19986 <libm-alias-float.h>.
19987 (modff): Define using libm_alias_float.
19988 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
19989 <libm-alias-float.h>.
19990 (logbf): Define using libm_alias_float.
19991 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
19992 <libm-alias-float.h>.
19993 (ceilf): Define using libm_alias_float.
19994 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19995 <libm-alias-float.h>.
19996 (copysignf): Define using libm_alias_float.
19997 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
19998 <libm-alias-float.h>.
19999 (floorf): Define using libm_alias_float.
20000 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20001 <libm-alias-float.h>.
20002 (llrintf): Define using libm_alias_float.
20003 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20004 <libm-alias-float.h>.
20005 (llroundf): Define using libm_alias_float.
20006 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20007 <libm-alias-float.h>.
20008 (lrintf): Define using libm_alias_float.
20009 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20010 <libm-alias-float.h>.
20011 (lroundf): Define using libm_alias_float.
20012 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
20013 <libm-alias-float.h>.
20014 (nearbyintf): Define using libm_alias_float.
20015 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
20016 <libm-alias-float.h>.
20017 (rintf): Define using libm_alias_float.
20018 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
20019 <libm-alias-float.h>.
20020 (roundf): Define using libm_alias_float.
20021 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
20022 <libm-alias-float.h>.
20023 (truncf): Define using libm_alias_float.
20024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
20025 Include <libm-alias-float.h>.
20026 (ceilf): Define using libm_alias_float.
20027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
20028 Include <libm-alias-float.h>.
20029 (copysignf): Define using libm_alias_float.
20030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
20031 Include <libm-alias-float.h>.
20032 (floorf): Define using libm_alias_float.
20033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
20034 Include <libm-alias-float.h>.
20035 (llrintf): Define using libm_alias_float.
20036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
20037 Include <libm-alias-float.h>.
20038 (llroundf): Define using libm_alias_float.
20039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
20040 Include <libm-alias-float.h>.
20041 (logbf): Define using libm_alias_float.
20042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
20043 Include <libm-alias-float.h>.
20044 (lrintf): Define using libm_alias_float.
20045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
20046 Include <libm-alias-float.h>.
20047 (lroundf): Define using libm_alias_float.
20048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
20049 Include <libm-alias-float.h>.
20050 (modff): Define using libm_alias_float.
20051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
20052 Include <libm-alias-float.h>.
20053 (roundf): Define using libm_alias_float.
20054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
20055 Include <libm-alias-float.h>.
20056 (truncf): Define using libm_alias_float.
20057 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
20058 <libm-alias-float.h>.
20059 (llrintf): Define using libm_alias_float.
20060 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20061 <libm-alias-float.h>.
20062 (llroundf): Define using libm_alias_float.
20063 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
20064 <libm-alias-float.h>.
20065 (ceilf): Define using libm_alias_float.
20066 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
20067 <libm-alias-float.h>.
20068 (floorf): Define using libm_alias_float.
20069 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20070 <libm-alias-float.h>.
20071 (llroundf): Define using libm_alias_float.
20072 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20073 <libm-alias-float.h>.
20074 (lroundf): Define using libm_alias_float.
20075 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
20076 <libm-alias-float.h>.
20077 (roundf): Define using libm_alias_float.
20078 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
20079 <libm-alias-float.h>.
20080 (truncf): Define using libm_alias_float.
20081 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20082 <libm-alias-float.h>.
20083 (copysignf): Define using libm_alias_float.
20084 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
20085 <libm-alias-float.h>.
20086 (llrintf): Define using libm_alias_float.
20087 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20088 <libm-alias-float.h>.
20089 (llroundf): Define using libm_alias_float.
20090 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20091 <libm-alias-float.h>.
20092 (lrintf): Define using libm_alias_float.
20093 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20094 <libm-alias-float.h>.
20095 (lroundf): Define using libm_alias_float.
20096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
20097 <libm-alias-float.h>.
20098 (ceilf): Define using libm_alias_float.
20099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
20100 <libm-alias-float.h>.
20101 (copysignf): Define using libm_alias_float.
20102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
20103 <libm-alias-float.h>.
20104 (cosf): Define using libm_alias_float.
20105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
20106 <libm-alias-float.h>.
20107 (floorf): Define using libm_alias_float.
20108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
20109 <libm-alias-float.h>.
20110 (llrintf): Define using libm_alias_float.
20111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
20112 <libm-alias-float.h>.
20113 (llroundf): Define using libm_alias_float.
20114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
20115 <libm-alias-float.h>.
20116 (logbf): Define using libm_alias_float.
20117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
20118 <libm-alias-float.h>.
20119 (modff): Define using libm_alias_float.
20120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
20121 <libm-alias-float.h>.
20122 (roundf): Define using libm_alias_float.
20123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
20124 <libm-alias-float.h>.
20125 (sinf): Define using libm_alias_float.
20126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
20127 <libm-alias-float.h>.
20128 (truncf): Define using libm_alias_float.
20129 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
20130 <libm-alias-float.h>.
20131 (ceilf): Define using libm_alias_float.
20132 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20133 <libm-alias-float.h>.
20134 (copysignf): Define using libm_alias_float.
20135 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
20136 <libm-alias-float.h>.
20137 (floorf): Define using libm_alias_float.
20138 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20139 <libm-alias-float.h>.
20140 (llrintf): Define using libm_alias_float.
20141 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
20142 <libm-alias-float.h>.
20143 (llroundf): Define using libm_alias_float.
20144 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
20145 <libm-alias-float.h>.
20146 (nearbyintf): Define using libm_alias_float.
20147 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
20148 <libm-alias-float.h>.
20149 (rintf): Define using libm_alias_float.
20150 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
20151 <libm-alias-float.h>.
20152 (roundf): Define using libm_alias_float.
20153 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
20154 <libm-alias-float.h>.
20155 (truncf): Define using libm_alias_float.
20156 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
20157 <libm-alias-float.h>.
20158 (ceilf): Define using libm_alias_float.
20159 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
20160 <libm-alias-float.h>.
20161 (floorf): Define using libm_alias_float.
20162 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20163 <libm-alias-float.h>.
20164 (llroundf): Define using libm_alias_float.
20165 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
20166 <libm-alias-float.h>.
20167 (roundf): Define using libm_alias_float.
20168 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
20169 <libm-alias-float.h>.
20170 (truncf): Define using libm_alias_float.
20171 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20172 <libm-alias-float.h>.
20173 (copysignf): Define using libm_alias_float.
20174 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20175 <libm-alias-float.h>.
20176 (llrintf): Define using libm_alias_float.
20177 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20178 <libm-alias-float.h>.
20179 (llroundf): Define using libm_alias_float.
20180 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
20181 <libm-alias-float.h>.
20182 (cosf): Define using libm_alias_float.
20183 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20184 <libm-alias-float.h>.
20185 (llrintf): Define using libm_alias_float.
20186 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20187 <libm-alias-float.h>.
20188 (llroundf): Define using libm_alias_float.
20189 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
20190 <libm-alias-float.h>.
20191 (sinf): Define using libm_alias_float.
20193 2017-12-04 Florian Weimer <fweimer@redhat.com>
20195 * support/check.h (TEST_COMPARE): Define.
20196 (support_test_compare_failure): Declare.
20197 * support/Makefile (libsupport-routines): Add
20198 support_test_compare_failure.
20199 (tests): Add tst-test_compare.
20200 * support /support_test_compare_failure.c: New file.
20201 * support/tst-test_compare.c: Likewise.
20203 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20206 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
20207 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
20208 available, this rewrite of the collation rules does reproduce
20209 the test file in the same order.
20211 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20214 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
20215 digraphs in the month and day names. Using single code points for
20216 digraphs is deprecated. While there are dedicated Unicode
20217 codepoints, for the digraphs, these are included for backwards
20218 compatibility and modern texts use a sequence of Basic Latin
20219 characters. See: https://www.unicode.org/faq/ligature_digraph.html
20220 This makes the month and day names agree exactly with CLDR now,
20221 CLDR does not use the single code points for the digraphs either.
20223 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
20225 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
20227 2017-12-04 Joseph Myers <joseph@codesourcery.com>
20229 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
20232 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
20234 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
20235 Define only for libc.so.
20237 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
20239 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20240 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
20241 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
20242 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
20243 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20245 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20248 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
20250 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
20253 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
20254 PREINIT_FUNCTION_WEAK is nonzero.
20255 (gmon_initializer): New function. Put procedure label for it in
20256 .init_array section.
20257 (_init): Don't call PREINIT_FUNCTION.
20258 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
20259 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
20260 value when map argument is null.
20262 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
20263 depi instruction from PIC pc-relative sequence.
20264 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
20265 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
20266 (elf_machine_load_address): Likewise.
20267 (elf_machine_runtime_setup): Likewise.
20269 2017-12-02 Joseph Myers <joseph@codesourcery.com>
20271 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
20272 <libm-alias-double.h>.
20273 (logb): Define using libm_alias_double.
20274 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20275 <libm-alias-double.h>.
20276 (copysign): Define using libm_alias_double.
20277 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
20278 <libm-alias-double.h>.
20279 (llrint): Define using libm_alias_double.
20280 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
20281 <libm-alias-double.h>.
20282 (llround): Define using libm_alias_double.
20283 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20284 <libm-alias-double.h>.
20285 (lrint): Define using libm_alias_double.
20286 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20287 <libm-alias-double.h>.
20288 (lround): Define using libm_alias_double.
20289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20290 Include <libm-alias-double.h>.
20291 (copysign): Define using libm_alias_double.
20292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
20293 Include <libm-alias-double.h>.
20294 (llrint): Define using libm_alias_double.
20295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
20296 Include <libm-alias-double.h>.
20297 (llround): Define using libm_alias_double.
20298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
20299 <libm-alias-double.h>.
20300 (logb): Define using libm_alias_double.
20301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
20302 Include <libm-alias-double.h>.
20303 (lrint): Define using libm_alias_double.
20304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
20305 Include <libm-alias-double.h>.
20306 (lround): Define using libm_alias_double.
20307 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
20308 <libm-alias-double.h>.
20309 (llrint): Define using libm_alias_double.
20310 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20311 <libm-alias-double.h>.
20312 (llround): Define using libm_alias_double.
20313 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20314 <libm-alias-double.h>.
20315 (llround): Define using libm_alias_double.
20316 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20317 <libm-alias-double.h>.
20318 (lround): Define using libm_alias_double.
20319 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20320 <libm-alias-double.h>.
20321 (copysign): Define using libm_alias_double.
20322 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
20323 <libm-alias-double.h>.
20324 (llrint): Define using libm_alias_double.
20325 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20326 <libm-alias-double.h>.
20327 (llround): Define using libm_alias_double.
20328 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20329 <libm-alias-double.h>.
20330 (lrint): Define using libm_alias_double.
20331 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20332 <libm-alias-double.h>.
20333 (lround): Define using libm_alias_double.
20334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
20335 <libm-alias-double.h>.
20336 (copysign): Define using libm_alias_double.
20337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
20338 <libm-alias-double.h>.
20339 (llrint): Define using libm_alias_double.
20341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
20342 <libm-alias-double.h>.
20343 (llround): Define using libm_alias_double.
20344 (lround): Likewise.
20345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
20346 <libm-alias-double.h>.
20347 (logb): Define using libm_alias_double.
20348 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20349 <libm-alias-double.h>.
20350 (copysign): Define using libm_alias_double.
20351 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20352 <libm-alias-double.h>.
20353 (llrint): Define using libm_alias_double.
20355 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
20356 <libm-alias-double.h>.
20357 (llround): Define using libm_alias_double.
20358 (lround): Likewise.
20359 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20360 <libm-alias-double.h>.
20361 (llround): Define using libm_alias_double.
20362 (lround): Likewise.
20363 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20364 <libm-alias-double.h>.
20365 (copysign): Define using libm_alias_double.
20366 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20367 <libm-alias-double.h>.
20368 (llrint): Define using libm_alias_double.
20370 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20371 <libm-alias-double.h>.
20372 (llround): Define using libm_alias_double.
20373 (lround): Likewise.
20374 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20375 <libm-alias-double.h>.
20376 (llrint): Define using libm_alias_double.
20378 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20379 <libm-alias-double.h>.
20380 (llround): Define using libm_alias_double.
20381 (lround): Likewise.
20383 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20386 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
20387 compat symbol based on llround.
20389 * sysdeps/powerpc/power7/fpu/s_logb.c
20390 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
20391 symbol based on __logb, not on logb.
20392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
20393 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
20395 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20397 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
20398 (rint): Define using libm_alias_double.
20399 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
20400 <libm-alias-double.h>.
20401 (modf): Define using libm_alias_double.
20402 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
20403 <libm-alias-double.h>.
20404 (ceil): Define using libm_alias_double.
20405 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
20406 <libm-alias-double.h>.
20407 (floor): Define using libm_alias_double.
20408 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
20409 <libm-alias-double.h>.
20410 (nearbyint): Define using libm_alias_double.
20411 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
20412 <libm-alias-double.h>.
20413 (rint): Define using libm_alias_double.
20414 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
20415 <libm-alias-double.h>.
20416 (round): Define using libm_alias_double.
20417 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
20418 <libm-alias-double.h>.
20419 (trunc): Define using libm_alias_double.
20420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
20421 <libm-alias-double.h>.
20422 (ceil): Define using libm_alias_double.
20423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
20424 Include <libm-alias-double.h>.
20425 (floor): Define using libm_alias_double.
20426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
20427 <libm-alias-double.h>.
20428 (modf): Define using libm_alias_double.
20429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
20430 Include <libm-alias-double.h>.
20431 (round): Define using libm_alias_double.
20432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
20433 Include <libm-alias-double.h>.
20434 (trunc): Define using libm_alias_double.
20435 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
20436 <libm-alias-double.h>.
20437 (ceil): Define using libm_alias_double.
20438 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
20439 <libm-alias-double.h>.
20440 (floor): Define using libm_alias_double.
20441 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
20442 <libm-alias-double.h>.
20443 (round): Define using libm_alias_double.
20444 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
20445 <libm-alias-double.h>.
20446 (trunc): Define using libm_alias_double.
20447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
20448 <libm-alias-double.h>.
20449 (ceil): Define using libm_alias_double.
20450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
20451 <libm-alias-double.h>.
20452 (floor): Define using libm_alias_double.
20453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
20454 <libm-alias-double.h>.
20455 (modf): Define using libm_alias_double.
20456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
20457 <libm-alias-double.h>.
20458 (round): Define using libm_alias_double.
20459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
20460 <libm-alias-double.h>.
20461 (trunc): Define using libm_alias_double.
20462 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
20463 <libm-alias-double.h>.
20464 (ceil): Define using libm_alias_double.
20465 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
20466 <libm-alias-double.h>.
20467 (floor): Define using libm_alias_double.
20468 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
20469 <libm-alias-double.h>.
20470 (nearbyint): Define using libm_alias_double.
20471 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
20472 <libm-alias-double.h>.
20473 (rint): Define using libm_alias_double.
20474 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
20475 <libm-alias-double.h>.
20476 (round): Define using libm_alias_double.
20477 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
20478 <libm-alias-double.h>.
20479 (trunc): Define using libm_alias_double.
20480 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
20481 <libm-alias-double.h>.
20482 (ceil): Define using libm_alias_double.
20483 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
20484 <libm-alias-double.h>.
20485 (floor): Define using libm_alias_double.
20486 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
20487 <libm-alias-double.h>.
20488 (round): Define using libm_alias_double.
20489 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
20490 <libm-alias-double.h>.
20491 (trunc): Define using libm_alias_double.
20493 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
20494 (fabs): Define using libm_alias_double.
20495 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
20496 (fma): Define using libm_alias_double.
20497 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
20498 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
20499 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
20500 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
20502 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20504 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
20506 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
20507 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
20508 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
20511 due redirect macro.
20513 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
20515 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
20517 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20519 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
20520 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
20521 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
20522 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
20524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20525 (libm-sysdep_routines): Add s_nearbyintf-generic and
20526 s_nearbyint-generic.
20527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
20529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
20530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
20532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
20534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
20536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20540 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
20541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
20543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
20544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
20546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
20547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
20548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20551 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
20552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
20554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
20555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
20557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
20558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
20559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
20561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20562 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
20563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
20565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
20566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
20568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
20569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
20570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20573 (sysdep_calls): New rule.
20574 (sysdep_routines): Use sysdep_calls as base.
20575 (libm-sysdep_routines): Add generic rule for symbols shared with
20576 libc. Add s_copysign-generic and s_copysign-generic objects.
20577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
20579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
20580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
20582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
20583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
20584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
20586 2017-12-01 Mike FABIAN <mfabian@redhat.com>
20589 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
20590 the list of locales to be built for testing.
20591 * localedata/is_IS.UTF-8.in: New file.
20592 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
20595 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20597 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
20598 <libm-alias-float.h>.
20599 (fabsf): Define using libm_alias_float.
20601 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20603 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
20605 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20607 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
20608 <libm-alias-float.h>.
20609 (fabsf): Define using libm_alias_float.
20610 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
20611 <libm-alias-float.h>.
20612 (lrintf): Define using libm_alias_float.
20613 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
20614 <libm-alias-float.h>.
20615 (rintf): Define using libm_alias_float.
20617 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
20618 <libm-alias-double.h>.
20619 (fabs): Define using libm_alias_double.
20620 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
20621 <libm-alias-double.h>.
20622 (lrint): Define using libm_alias_double.
20623 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
20624 <libm-alias-double.h>.
20625 (rint): Define using libm_alias_double.
20627 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
20628 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
20629 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
20630 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
20631 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
20632 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
20633 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
20634 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
20635 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
20636 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
20637 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
20638 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
20639 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
20640 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
20641 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
20642 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
20643 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
20644 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
20646 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
20647 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
20648 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
20650 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
20651 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
20652 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
20654 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
20655 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
20656 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
20657 s_expm1_template.c.
20658 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
20659 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
20660 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
20662 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
20663 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
20664 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
20665 s_floor_template.c.
20666 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
20667 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
20668 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
20669 s_frexp_template.c.
20670 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
20671 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
20672 s_lrint_template.c.
20673 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
20674 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
20675 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
20677 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
20678 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
20679 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
20680 s_nearbyint_template.c.
20681 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
20682 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
20683 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
20684 s_remquo_template.c.
20685 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
20686 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
20687 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
20689 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
20690 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
20691 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
20693 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
20694 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
20695 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
20696 s_sincos_template.c.
20697 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
20698 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
20699 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
20701 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
20702 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
20703 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
20705 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
20706 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
20707 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
20708 s_trunc_template.c.
20709 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
20710 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
20711 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
20712 s_atan.c instead of including s_atan.c.
20713 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
20714 s_atanf.c instead of including s_atanf.c.
20715 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
20716 s_atanl.c instead of including s_atanl.c.
20717 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
20718 instead of s_atan.c.
20719 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
20720 instead of s_atanf.c.
20721 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
20722 instead of s_atanl.c.
20724 * scripts/update-copyrights: Do not handle intl/plural.c
20727 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
20730 * configure.ac (BISON): Require to be present.
20731 * configure: Regenerated.
20732 * intl/Makefile (generated): Add plural.c.
20733 [$(BISON) != no]: Make code unconditional.
20734 (plural.c): Change rule to $(objpfx)plural.c.
20735 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
20736 * intl/plural.c: Remove.
20737 * manual/install.texi (Tools for Compilation): Document bison as
20739 * INSTALL: Regenerated.
20741 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20743 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
20744 <libm-alias-double.h>.
20745 (llrint): Define using libm_alias_double.
20746 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
20747 <libm-alias-float.h>.
20748 (llrintf): Define using libm_alias_float.
20749 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
20750 <libm-alias-ldouble.h>.
20751 (llrintl): Define using libm_alias_ldouble.
20753 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
20754 declare_mgen_alias instead of weak_alias.
20755 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
20756 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
20757 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
20759 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20761 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20763 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
20764 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
20765 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
20767 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20768 Add submul_1-generic.
20769 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
20770 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
20771 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
20773 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20774 Add addmul_1-generic.
20775 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
20776 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
20777 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
20779 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20781 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
20782 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
20783 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
20785 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20787 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
20788 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
20789 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
20791 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20793 According to CLDR, collation rules for Serbian and Bosnian
20794 should be the same as for Croatian.
20797 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
20798 and to the list of locales to be built for testing.
20799 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20800 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20801 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
20802 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
20804 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20806 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
20807 to make test case pass.
20808 * localedata/hr_HR.UTF-8.in: Add more test strings.
20810 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20812 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
20814 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20816 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
20817 the list of locales to built for testing.
20818 * localedata/hr_HR.UTF-8.in: New file.
20820 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20823 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
20825 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
20826 CLDR (except use ligatures for the digraphs, CLDR does not use
20827 the ligatures), add first_workday, some fixes in the date and time
20829 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
20831 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
20832 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
20833 Add int_p_cs_precedes and int_n_cs_precedes.
20834 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
20835 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
20837 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
20838 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
20840 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
20841 and lang_lib. Change postal_fmt.
20843 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20845 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
20847 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20848 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
20849 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20850 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
20851 * sysdeps/generic/setjmpP.h: New file.
20852 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
20853 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
20854 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
20855 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
20856 Add jmp_buf-ssp.sym.
20857 (tests): Add tst-saved_mask-1.
20859 2017-11-30 Arjun Shankar <arjun@redhat.com>
20863 * malloc/malloc.c (__libc_malloc): Use checked_request2size
20864 instead of request2size.
20866 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
20869 (__lllrint): Remove alias.
20870 (lllrint): Likewise.
20871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
20872 (__lllrintf): Likewise.
20873 (lllrintf): Likewise.
20875 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
20876 <libm-alias-float.h>.
20877 (copysignf): Define using libm_alias_float.
20878 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
20879 <libm-alias-float.h>.
20880 (fabsf): Define using libm_alias_float.
20881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20882 Include <libm-alias-float.h>.
20883 (copysignf): Define using libm_alias_float.
20884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
20885 <libm-alias-float.h>.
20886 (fabsf): Define using libm_alias_float.
20887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
20888 <libm-alias-float.h>.
20889 (fdimf): Define using libm_alias_float.
20890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
20891 <libm-alias-float.h>.
20892 (fmaf): Define using libm_alias_float.
20893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
20894 <libm-alias-float.h>.
20895 (llrintf): Define using libm_alias_float.
20896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20897 Include <libm-alias-float.h>.
20898 (nearbyintf): Define using libm_alias_float.
20899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
20900 <libm-alias-float.h>.
20901 (rintf): Define using libm_alias_float.
20902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
20903 <libm-alias-float.h>.
20904 (llrintf): Define using libm_alias_float.
20905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
20906 <libm-alias-float.h>.
20907 (lrintf): Define using libm_alias_float.
20908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
20909 <libm-alias-float.h>.
20910 (nearbyintf): Define using libm_alias_float.
20911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
20912 <libm-alias-float.h>.
20913 (rintf): Define using libm_alias_float.
20914 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
20915 <libm-alias-float.h>.
20916 (ceilf): Define using libm_alias_float.
20917 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
20918 <libm-alias-float.h>.
20919 (floorf): Define using libm_alias_float.
20920 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
20921 <libm-alias-float.h>.
20922 (fmaf): Define using libm_alias_float.
20923 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
20924 <libm-alias-float.h>.
20925 (lrintf): Define using libm_alias_float.
20926 (llrintf): Likewise.
20927 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
20928 <libm-alias-float.h>.
20929 (nearbyintf): Define using libm_alias_float.
20930 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
20931 <libm-alias-float.h>.
20932 (rintf): Define using libm_alias_float.
20933 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
20934 <libm-alias-float.h>.
20935 (truncf): Define using libm_alias_float.
20936 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
20937 <libm-alias-float.h>.
20938 (copysignf): Define using libm_alias_float.
20939 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
20940 <libm-alias-float.h>.
20941 (fabsf): Define using libm_alias_float.
20942 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
20943 <libm-alias-float.h>.
20944 (lrintf): Define using libm_alias_float.
20945 (llrintf): Likewise.
20946 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
20947 <libm-alias-float.h>.
20948 (nearbyintf): Define using libm_alias_float.
20949 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
20950 <libm-alias-float.h>.
20951 (rintf): Define using libm_alias_float.
20953 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20955 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
20956 <libm-alias-double.h>.
20957 (copysign): Define using libm_alias_double.
20958 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
20959 <libm-alias-double.h>.
20960 (fabs): Define using libm_alias_double.
20961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20962 Include <libm-alias-double.h>.
20963 (copysign): Define using libm_alias_double.
20964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
20965 <libm-alias-double.h>.
20966 (fabs): Define using libm_alias_double.
20967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
20968 <libm-alias-double.h>.
20969 (fdim): Define using libm_alias_double.
20970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
20971 <libm-alias-double.h>.
20972 (fma): Define using libm_alias_double.
20973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
20974 <libm-alias-double.h>.
20975 (llrint): Define using libm_alias_double.
20976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
20977 Include <libm-alias-double.h>.
20978 (nearbyint): Define using libm_alias_double.
20979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
20980 <libm-alias-double.h>.
20981 (rint): Define using libm_alias_double.
20982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20983 <libm-alias-double.h>.
20984 (fabs): Define using libm_alias_double.
20985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
20986 <libm-alias-double.h>.
20987 (llrint): Define using libm_alias_double.
20988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
20989 <libm-alias-double.h>.
20990 (nearbyint): Define using libm_alias_double.
20991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
20992 <libm-alias-double.h>.
20993 (rint): Define using libm_alias_double.
20994 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
20995 <libm-alias-double.h>.
20996 (ceil): Define using libm_alias_double.
20997 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
20998 <libm-alias-double.h>.
20999 (floor): Define using libm_alias_double.
21000 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
21001 <libm-alias-double.h>.
21002 (fma): Define using libm_alias_double.
21003 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
21004 <libm-alias-double.h>.
21005 (lrint): Define using libm_alias_double.
21006 (llrint): Likewise.
21007 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
21008 <libm-alias-double.h>.
21009 (nearbyint): Define using libm_alias_double.
21010 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
21011 <libm-alias-double.h>.
21012 (rint): Define using libm_alias_double.
21013 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
21014 <libm-alias-double.h>.
21015 (trunc): Define using libm_alias_double.
21016 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
21017 <libm-alias-double.h>.
21018 (copysign): Define using libm_alias_double.
21019 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
21020 <libm-alias-double.h>.
21021 (fabs): Define using libm_alias_double.
21022 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
21023 <libm-alias-double.h>.
21024 (lrint): Define using libm_alias_double.
21025 (llrint): Likewise.
21026 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
21027 <libm-alias-double.h>.
21028 (nearbyint): Define using libm_alias_double.
21029 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
21030 <libm-alias-double.h>.
21031 (rint): Define using libm_alias_double.
21034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21036 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21038 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21039 SPARC --disable-multi-arch glibc variants.
21041 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
21042 <libm-alias-float.h>.
21043 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21045 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
21046 <libm-alias-float.h>.
21047 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21049 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
21050 <libm-alias-float.h>.
21051 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21053 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
21054 <libm-alias-float.h>.
21055 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21057 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
21058 <libm-alias-float.h>.
21059 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21061 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
21062 <libm-alias-float.h>.
21063 (ceilf): Define using libm_alias_float.
21064 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
21065 <libm-alias-float.h>.
21066 (floorf): Define using libm_alias_float.
21067 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
21068 <libm-alias-float.h>.
21069 (fmaf): Define using libm_alias_float.
21070 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
21071 <libm-alias-float.h>.
21072 (nearbyintf): Define using libm_alias_float.
21073 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
21074 <libm-alias-float.h>.
21075 (rintf): Define using libm_alias_float.
21076 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
21077 <libm-alias-float.h>.
21078 (truncf): Define using libm_alias_float.
21079 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21080 (copysignf): Define using libm_alias_float.
21081 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
21082 (cosf): Define using libm_alias_float.
21083 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21084 (fabsf): Define using libm_alias_float.
21085 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21086 (fmaxf): Define using libm_alias_float.
21087 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
21088 (fminf): Define using libm_alias_float.
21089 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21090 (llrintf): Define using libm_alias_float.
21091 [!__ILP32__] (lrintf): Likewise.
21092 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
21093 (sincosf): Define using libm_alias_float.
21094 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
21095 (sinf): Define using libm_alias_float.
21096 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21097 (lrintf): Define using libm_alias_float.
21099 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
21100 <libm-alias-double.h>.
21101 (atan): Define using libm_alias_double.
21102 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
21103 <libm-alias-double.h>.
21104 (ceil): Define using libm_alias_double.
21105 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
21106 <libm-alias-double.h>.
21107 (floor): Define using libm_alias_double.
21108 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
21109 <libm-alias-double.h>.
21110 (fma): Define using libm_alias_double.
21111 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
21112 <libm-alias-double.h>.
21113 (nearbyint): Define using libm_alias_double.
21114 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
21115 <libm-alias-double.h>.
21116 (rint): Define using libm_alias_double.
21117 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
21118 <libm-alias-double.h>.
21119 (sin): Define using libm_alias_double.
21121 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
21122 <libm-alias-double.h>.
21123 (tan): Define using libm_alias_double.
21124 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
21125 <libm-alias-double.h>.
21126 (trunc): Define using libm_alias_double.
21127 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
21128 (copysign): Define using libm_alias_double.
21129 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
21130 (fabs): Define using libm_alias_double.
21131 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
21132 (fmax): Define using libm_alias_double.
21133 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
21134 (fmin): Define using libm_alias_double.
21135 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
21136 (llrint): Define using libm_alias_double.
21137 [!__ILP32__] (lrint): Likewise.
21138 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
21139 (lrint): Define using libm_alias_double.
21141 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21143 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21144 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
21146 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
21147 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
21148 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
21149 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
21150 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
21151 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21153 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21154 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
21156 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
21157 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
21158 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
21159 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
21160 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
21161 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21163 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21164 (libm-sysdep_routines): Add s_nearbyint-generic and
21165 s_nearbyintf-generic objects.
21166 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
21167 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
21168 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
21169 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
21170 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
21171 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
21173 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21174 Add s_finitef-generic and s_finite-generic objects.
21175 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
21176 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
21177 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
21178 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
21179 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
21180 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
21182 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21183 Add s_isinff-generic and s_isinf-generic objects.
21184 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
21185 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
21186 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
21187 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
21188 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
21189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21191 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21192 Add s_isnanf-generic and s_isnan-generic objects.
21193 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
21194 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
21195 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
21196 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
21197 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
21198 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21200 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
21202 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
21204 (sysdep_routines): Use sysdep_calls as base.
21205 (libm-sysdep_routines): Add generic rule for symbols shared with
21206 libc. Add s_signbit-generic and s_signbitf-generic objects.
21207 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
21208 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
21209 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
21210 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
21211 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
21212 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21214 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21216 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
21217 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
21218 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
21219 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
21220 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
21221 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
21222 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
21223 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
21224 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
21225 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
21226 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
21227 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
21228 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
21229 libm_alias_float_r.
21230 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
21231 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
21233 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
21234 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
21235 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
21236 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
21237 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
21238 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
21239 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
21240 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
21241 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
21242 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
21244 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
21246 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
21247 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
21248 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
21249 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
21250 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
21251 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
21252 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
21253 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
21254 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
21255 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
21256 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
21257 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
21258 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
21259 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
21260 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
21261 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
21262 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
21263 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
21264 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
21266 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
21267 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
21268 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
21269 * sysdeps/ia64/fpu/w_lgammaf_main.c
21270 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
21271 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
21273 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21274 Alexandre Oliva <aoliva@redhat.com>
21277 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
21278 * localedata/fr_CA.UTF-8.in: New file with test data for backward
21280 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
21282 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
21283 * localedata/locales/de_DE (LC_COLLATE): Likewise.
21284 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
21285 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
21286 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
21287 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
21288 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
21289 instead of “ifdef DIACRIT_BACKWARD”.
21291 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21293 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
21294 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
21295 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
21296 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
21297 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
21298 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
21299 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
21300 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
21301 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
21302 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
21303 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
21304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
21305 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
21306 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
21307 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
21308 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21309 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
21310 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
21311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21312 ($(have-as-vis3) == yes): Remove conditional.
21313 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
21315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
21317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
21319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
21321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
21323 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
21324 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
21325 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
21326 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
21327 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
21328 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
21329 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
21330 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
21332 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21334 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
21335 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
21336 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
21337 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
21338 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
21339 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
21340 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
21341 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
21342 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
21343 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
21344 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
21345 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
21346 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
21347 libm_alias_double_r.
21348 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
21350 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
21351 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
21352 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
21353 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
21354 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
21355 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
21356 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
21357 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
21358 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
21359 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
21360 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
21362 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
21364 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
21365 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
21366 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
21367 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
21368 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
21369 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
21370 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
21371 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
21372 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
21373 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
21374 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
21375 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
21376 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
21377 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
21378 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
21379 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
21380 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
21381 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
21383 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
21384 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
21385 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
21386 * sysdeps/ia64/fpu/w_lgamma_main.c
21387 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
21388 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
21390 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
21392 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
21393 address of $global$ into %dp register earlier. Use pc-relative
21394 instruction sequence for PIC case.
21396 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21398 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
21399 (asinhf): Define using libm_alias_float.
21400 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
21401 (atanf): Define using libm_alias_float.
21402 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
21403 (cbrtf): Define using libm_alias_float.
21404 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
21405 (ceilf): Define using libm_alias_float.
21406 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21407 (copysignf): Define using libm_alias_float.
21408 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
21409 (expm1f): Define using libm_alias_float.
21410 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
21411 (fabsf): Define using libm_alias_float.
21412 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
21413 (floorf): Define using libm_alias_float.
21414 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21415 (fmaxf): Define using libm_alias_float.
21416 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
21417 (fminf): Define using libm_alias_float.
21418 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
21419 (frexpf): Define using libm_alias_float.
21420 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21421 (llrintf): Define using libm_alias_float.
21422 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
21423 (logbf): Define using libm_alias_float.
21424 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21425 (lrintf): Define using libm_alias_float.
21426 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
21427 (nearbyintf): Define using libm_alias_float.
21428 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
21429 (remquof): Define using libm_alias_float.
21430 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
21431 (rintf): Define using libm_alias_float.
21432 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
21433 (truncf): Define using libm_alias_float.
21434 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
21435 <libm-alias-float.h>.
21436 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21438 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
21439 <libm-alias-float.h>.
21440 (expf): Define using libm_alias_float, or libm_alias_float_other
21442 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
21443 <libm-alias-float.h>.
21444 (log2f): Define using libm_alias_float, or libm_alias_float_other
21446 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
21447 <libm-alias-float.h>.
21448 (logf): Define using libm_alias_float, or libm_alias_float_other
21450 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
21451 <libm-alias-float.h>.
21452 (powf): Define using libm_alias_float, or libm_alias_float_other
21454 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
21455 <libm-alias-float.h>.
21456 (cosf): Define using libm_alias_float.
21457 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
21458 <libm-alias-float.h>.
21459 (sincosf): Define using libm_alias_float.
21460 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
21461 <libm-alias-float.h>.
21462 (sinf): Define using libm_alias_float.
21463 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21464 (fmaxf): Define using libm_alias_float.
21465 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
21466 (fminf): Define using libm_alias_float.
21467 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21468 <libm-alias-float.h>.
21469 (fmaf): Define using libm_alias_float.
21471 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
21472 (asinh): Define using libm_alias_double.
21473 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
21474 (atan): Define using libm_alias_double.
21475 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
21476 (cbrt): Define using libm_alias_double.
21477 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
21478 (ceil): Define using libm_alias_double.
21479 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
21480 (copysign): Define using libm_alias_double.
21481 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
21482 (expm1): Define using libm_alias_double.
21483 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
21484 (fabs): Define using libm_alias_double.
21485 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
21486 (fdim): Define using libm_alias_double.
21487 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
21488 (floor): Define using libm_alias_double.
21489 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
21490 (fmax): Define using libm_alias_double.
21491 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
21492 (fmin): Define using libm_alias_double.
21493 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
21494 (frexp): Define using libm_alias_double.
21495 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
21496 (llrint): Define using libm_alias_double.
21497 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
21498 (logb): Define using libm_alias_double.
21499 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
21500 (lrint): Define using libm_alias_double.
21501 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
21502 (nearbyint): Define using libm_alias_double.
21503 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
21504 (remquo): Define using libm_alias_double.
21505 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
21506 (rint): Define using libm_alias_double.
21507 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
21508 (trunc): Define using libm_alias_double.
21509 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
21510 (fmax): Define using libm_alias_double.
21511 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
21512 (fmin): Define using libm_alias_double.
21513 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
21514 (fma): Define using libm_alias_double.
21516 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
21519 * elf/dl-hwcaps.c (ROUND): Removed.
21520 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
21521 and ELF_NOTE_NEXT_OFFSET.
21522 * elf/dl-load.c (ROUND): Removed.
21523 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21524 * elf/readelflib.c (ROUND): Removed.
21525 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21526 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
21527 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
21528 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
21530 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21532 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21533 [!__fmaf] (fmaf): Define using libm_alias_float.
21535 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
21536 [!__fma] (fma): Define using libm_alias_double.
21537 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
21539 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21542 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
21543 and implement the collation rules for cs from CLDR on top of that.
21544 * Makefile: Add cs_CZ.UTF-8 to test-input.
21545 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
21547 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
21549 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
21551 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21552 Icarus Sparry <icarus.w.sparry@intel.com>
21554 * benchtests/Makefile:Add BENCHSET to allow subsets of
21555 benchmarks to be run.
21556 * benchtests/README: Add documentation for: Running subsets of
21559 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21561 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
21562 range of tests names.
21564 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
21565 result from property and remove "max", min" and "mean" from
21566 required properties based on benchtests/bench-skeleton.c.
21568 2017-11-28 Florian Weimer <fweimer@redhat.com>
21571 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
21572 due to Internet requirement.
21573 * posix/Makefile (tests): Remove tst-getaddrinfo4,
21575 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
21577 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21579 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21580 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
21581 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21582 (sysdep_routines): Add memset-ultra1.
21583 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
21585 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
21586 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
21587 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
21588 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
21589 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
21590 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
21591 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
21592 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21594 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
21596 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
21597 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
21598 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
21599 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
21600 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
21601 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
21602 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
21604 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21605 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
21606 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21607 (sysdep_routines): Add memcpy-ultra1.
21608 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
21609 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
21611 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21613 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
21614 (cfloat_versions): Take function argument without trailing 'f'.
21615 Call libm_alias_float_other.
21616 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
21617 * sysdeps/alpha/fpu/cargf.c: Likewise.
21618 * sysdeps/alpha/fpu/cimagf.c: Likewise.
21619 * sysdeps/alpha/fpu/conjf.c: Likewise.
21620 * sysdeps/alpha/fpu/crealf.c: Likewise.
21621 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
21622 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
21623 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
21624 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
21625 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
21626 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
21627 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
21628 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
21629 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
21630 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
21631 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
21632 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
21633 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
21634 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
21635 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
21636 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
21637 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
21638 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
21639 (clog10f): Use libm_alias_float_other.
21640 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21641 (ceilf): Define using libm_alias_float.
21642 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
21643 (copysignf): Define using libm_alias_float.
21644 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21645 (fabsf): Define using libm_alias_float.
21646 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
21647 (floorf): Define using libm_alias_float.
21648 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
21649 (fmaxf): Define using libm_alias_float.
21650 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
21651 (fminf): Define using libm_alias_float.
21652 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21653 (lrintf): Define using libm_alias_float.
21654 (llrintf): Likewise.
21655 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21656 (lroundf): Define using libm_alias_float.
21657 (llroundf): Likewise.
21658 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
21659 (rintf): Define using libm_alias_float.
21660 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
21661 (truncf): Define using libm_alias_float.
21663 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21664 (ceilf): Define using libm_alias_float.
21665 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
21666 (floorf): Define using libm_alias_float.
21667 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21668 (fmaf): Define using libm_alias_float.
21669 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
21670 (fmaxf): Define using libm_alias_float.
21671 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
21672 (fminf): Define using libm_alias_float.
21673 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
21674 (llrintf): Define using libm_alias_float.
21675 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
21676 (llroundf): Define using libm_alias_float.
21677 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21678 (lrintf): Define using libm_alias_float.
21679 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21680 (lroundf): Define using libm_alias_float.
21681 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
21682 <libm-alias-float.h>.
21683 (nearbyintf): Define using libm_alias_float.
21684 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
21685 (rintf): Define using libm_alias_float.
21686 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
21687 (roundf): Define using libm_alias_float.
21688 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
21689 (truncf): Define using libm_alias_float.
21691 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
21692 (ceil): Define using libm_alias_double.
21693 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
21694 (copysign): Define using libm_alias_double.
21695 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
21696 (fabs): Define using libm_alias_double.
21697 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
21698 (floor): Define using libm_alias_double.
21699 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
21700 (fmax): Define using libm_alias_double.
21701 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
21702 (fmin): Define using libm_alias_double.
21703 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
21704 (lrint): Define using libm_alias_double.
21705 (llrint): Likewise.
21706 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
21707 (lround): Define using libm_alias_double.
21708 (llround): Likewise.
21709 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
21710 (rint): Define using libm_alias_double.
21711 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
21712 (trunc): Define using libm_alias_double.
21714 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21715 (libm_alias_double_r): Add semicolon after weak_alias call.
21717 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21719 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
21720 (ceil): Define using libm_alias_double.
21721 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
21722 (floor): Define using libm_alias_double.
21723 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
21724 (fma): Define using libm_alias_double.
21725 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
21726 (fmax): Define using libm_alias_double.
21727 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
21728 (fmin): Define using libm_alias_double.
21729 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
21730 (llrint): Define using libm_alias_double.
21731 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
21732 (llround): Define using libm_alias_double.
21733 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
21734 (lrint): Define using libm_alias_double.
21735 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
21736 (lround): Define using libm_alias_double.
21737 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
21738 (nearbyint): Define using libm_alias_double.
21739 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
21740 (rint): Define using libm_alias_double.
21741 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
21742 (round): Define using libm_alias_double.
21743 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
21744 (trunc): Define using libm_alias_double.
21746 2017-11-27 Florian Weimer <fweimer@redhat.com>
21748 * sysdeps/unix/sysv/linux/mlock2.c: New file.
21749 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
21750 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
21751 (tests): Add tst-mlock2.
21752 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
21753 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
21754 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
21755 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
21756 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
21757 for mlock. Document mlock2.
21759 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21761 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
21762 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
21764 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
21766 * sysdeps/x86/Makeconfig: New file.
21767 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
21768 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21769 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
21770 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21771 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21772 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21773 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
21775 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21776 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21777 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21778 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21779 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21780 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21781 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21782 * manual/math.texi (Mathematics): Document support for _Float64x.
21783 * math/Versions (GLIBC_2.27): Add _Float64x functions.
21784 * stdlib/Versions (GLIBC_2.27): Likewise.
21785 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21786 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21787 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21788 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21789 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21790 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21791 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21792 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21793 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21794 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21795 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21796 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21801 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21802 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21803 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21804 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21805 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21806 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21807 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21808 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21809 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21810 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21811 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21812 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21813 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21814 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21816 2017-11-27 Andreas Schwab <schwab@suse.de>
21818 * elf/Makefile (dl-routines): Add dl-sort-maps.
21819 * elf/dl-sort-maps.c: New file.
21820 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
21821 (_dl_sort_maps): Declare.
21822 * elf/dl-fini.c (_dl_sort_fini): Remove.
21823 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
21824 * elf/dl-close.c (_dl_close_worker): Likewise.
21825 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
21827 * elf/dl-open.c (dl_open_worker): Likewise.
21829 2017-11-24 Joseph Myers <joseph@codesourcery.com>
21831 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
21832 using libm_alias_float128.
21833 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
21835 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
21837 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
21838 (setpayloadsigf128): Likewise.
21839 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
21841 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
21844 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
21845 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
21846 -mfloat128 to CFLAGS.
21848 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
21850 (CFLAGS-libm-test-support-float64x.c): New variable.
21851 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
21852 $(f128-loader-link) to gnulib-tests.
21854 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
21855 (libm_alias_float128_other_r): If
21856 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
21858 (libm_alias_float128_r): Add semicolon after weak_alias call.
21859 * sysdeps/generic/libm-alias-ldouble.h
21860 (libm_alias_ldouble_other_r_f128): New macro.
21861 (libm_alias_ldouble_other_r_f64x): Likewise.
21862 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21863 and libm_alias_ldouble_other_r_f64x.
21864 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
21865 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
21866 (libm_alias_ldouble_other_r_f128): New macro.
21867 (libm_alias_ldouble_other_r_f64x): Likewise.
21868 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21869 and libm_alias_ldouble_other_r_f64x.
21871 * stdlib/strfroml.c: Always include <stdlib.h>.
21872 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
21873 undefine as macro and define as weak alias.
21874 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
21875 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
21877 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
21878 Define and later undefine as macro and define as weak alias.
21880 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21881 Define and later undefine as macro. Define as weak alias if
21883 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
21884 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21885 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
21886 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21887 Define and later undefine as macro. Define as weak alias if
21889 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
21890 Define and later undefine as macro. Define as weak alias if
21892 * sysdeps/ieee754/float128/strtof128_l.c
21893 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
21894 Define and later undefine as macro. Define as weak alias if
21896 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
21897 Define and later undefine as macro. Define as weak alias if
21899 * sysdeps/ieee754/ldbl-128/strtold_l.c
21900 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21901 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21902 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21903 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21904 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
21905 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21906 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21907 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21908 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21909 * sysdeps/ieee754/ldbl-96/strtold_l.c
21910 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21911 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21912 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21913 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21915 * math/test-float64x.h: New file.
21916 * math/Makefile (type-float64x-yes): New variable.
21917 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
21919 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
21920 function-like macro.
21921 (min_of_type_): Likewise.
21922 (min_of_type_l): Likewise.
21923 (min_of_type_f128): Likewise.
21924 (min_of_type): Pass () as last argument of __MATH_TG.
21926 * stdlib/tst-strtod-round-skeleton.c
21927 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
21930 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
21931 for combinations of long double with _Float64 and _Float64x.
21933 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
21934 (__DECL_SIMD_cosf32): Likewise.
21935 (__DECL_SIMD_cosf64): Likewise.
21936 (__DECL_SIMD_cosf32x): Likewise.
21937 (__DECL_SIMD_cosf64x): Likewise.
21938 (__DECL_SIMD_cosf128x): Likewise.
21939 (__DECL_SIMD_sinf16): Likewise.
21940 (__DECL_SIMD_sinf32): Likewise.
21941 (__DECL_SIMD_sinf64): Likewise.
21942 (__DECL_SIMD_sinf32x): Likewise.
21943 (__DECL_SIMD_sinf64x): Likewise.
21944 (__DECL_SIMD_sinf128x): Likewise.
21945 (__DECL_SIMD_sincosf16): Likewise.
21946 (__DECL_SIMD_sincosf32): Likewise.
21947 (__DECL_SIMD_sincosf64): Likewise.
21948 (__DECL_SIMD_sincosf32x): Likewise.
21949 (__DECL_SIMD_sincosf64x): Likewise.
21950 (__DECL_SIMD_sincosf128x): Likewise.
21951 (__DECL_SIMD_logf16): Likewise.
21952 (__DECL_SIMD_logf32): Likewise.
21953 (__DECL_SIMD_logf64): Likewise.
21954 (__DECL_SIMD_logf32x): Likewise.
21955 (__DECL_SIMD_logf64x): Likewise.
21956 (__DECL_SIMD_logf128x): Likewise.
21957 (__DECL_SIMD_expf16): Likewise.
21958 (__DECL_SIMD_expf32): Likewise.
21959 (__DECL_SIMD_expf64): Likewise.
21960 (__DECL_SIMD_expf32x): Likewise.
21961 (__DECL_SIMD_expf64x): Likewise.
21962 (__DECL_SIMD_expf128x): Likewise.
21963 (__DECL_SIMD_powf16): Likewise.
21964 (__DECL_SIMD_powf32): Likewise.
21965 (__DECL_SIMD_powf64): Likewise.
21966 (__DECL_SIMD_powf32x): Likewise.
21967 (__DECL_SIMD_powf64x): Likewise.
21968 (__DECL_SIMD_powf128x): Likewise.
21970 * stdlib/Versions (libc): Move entries for wcstof128 and
21971 wcstof128_l to ....
21972 * wcsmbs/Versions (libc): ... here.
21973 Include <float128-abi.h>.
21975 2017-11-24 Florian Weimer <fweimer@redhat.com>
21977 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21978 bits/mman-shared.h.
21979 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
21980 <bits/mman-shared.h>.
21981 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
21983 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
21984 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
21985 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
21986 <bits/mman-shared.h>.
21988 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21991 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
21992 posix_memalign/free.
21993 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
21995 2017-11-22 Mike FABIAN <mfabian@redhat.com>
21998 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
21999 and implement the collation rules for pl from CLDR on top of that.
22000 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
22001 of locales to be built for testing.
22002 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
22004 2017-11-23 Joseph Myers <joseph@codesourcery.com>
22006 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
22007 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
22008 libm_alias_ldouble_other.
22009 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
22010 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
22011 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
22012 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
22013 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
22014 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
22015 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
22016 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
22017 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
22018 libm_alias_ldouble_r.
22019 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
22020 libm_alias_ldouble_other.
22021 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
22022 (log10l): Likewise.
22023 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
22024 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
22025 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
22026 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
22027 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
22028 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
22029 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
22030 (atan2l): Likewise.
22031 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
22032 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
22033 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
22034 libm_alias_ldouble.
22035 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
22037 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
22038 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
22039 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
22041 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
22042 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
22043 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
22044 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
22045 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
22046 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
22047 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
22048 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
22049 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
22050 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
22051 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
22052 libm_alias_ldouble.
22053 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
22054 libm_alias_ldouble_other.
22055 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
22056 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
22057 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
22058 libm_alias_ldouble.
22059 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
22060 libm_alias_ldouble_other.
22061 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
22062 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
22063 * sysdeps/ia64/fpu/w_lgammal_main.c
22064 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
22065 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
22067 2017-11-23 Florian Weimer <fweimer@redhat.com>
22069 * malloc/malloc.c (tcache_thread_shutdown): Rename from
22070 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
22071 alike. Remove freeres marker.
22072 * malloc/arena.c (arena_thread_freeres): Call
22073 tcache_thread_shutdown.
22075 2017-11-23 Florian Weimer <fweimer@redhat.com>
22078 Export nscd hash function as __nss_hash.
22079 * include/nss.h (__nss_hash): Declare.
22080 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
22082 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
22083 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
22085 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
22086 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
22087 * nss/Makefiles (routines): Add nss_hash.
22088 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
22089 * nss/nss_hash.c: Rename from nis/nis_hash.c.
22090 (__nss_hash): Rename from __nis_hash. Define hidden alias.
22091 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
22093 2017-11-23 Florian Weimer <fweimer@redhat.com>
22096 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
22097 Return error code, not -1.
22098 * signal/tst-sigwait-eintr.c: New file.
22099 * signal/Makefile (tests): Add tst-sigwait-eintr.
22101 2017-11-23 Florian Weimer <fweimer@redhat.com>
22103 Linux: Add memfd_create system call wrapper
22104 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
22106 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
22107 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
22108 [__USE_GNU] (memfd_create): Declare.
22109 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
22110 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
22111 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
22112 * sysdeps/unix/sysv/linux/**.abilist: Update.
22113 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
22115 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22117 * localedata/gen-locale.sh: Fix typo in variable name.
22119 * resolv/res_debug.c (p_secstodate): Condition definition on
22120 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
22121 directly as __p_secstodate, and as a compat symbol. Do not use
22122 libresolv_hidden_def.
22123 * resolv/resolv.h (p_secstodate): Remove macro and function
22125 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
22126 using p_secstodate.
22127 * include/resolv.h (__p_secstodate): Do not use
22128 libresolv_hidden_proto.
22129 * resolv/Makefile (tests): Move tst-p_secstodate to ....
22130 (tests-internal): ... here.
22131 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
22132 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
22133 and declare and use __p_secstodate and use compat_symbol_reference
22135 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
22136 implementation returning 77.
22139 * resolv/res_debug.c: Include <libc-diag.h>.
22140 (p_secstodate): Assert time_t at least as wide as u_long. On
22141 overflow, use integer seconds since the epoch as output, or use
22142 "<overflow>" as output and set errno to EOVERFLOW if integer
22143 seconds since the epoch would be 14 or more characters.
22144 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
22146 * resolv/tst-p_secstodate.c: New file.
22147 * resolv/Makefile (tests): Add tst-p_secstodate.
22148 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
22150 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
22151 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22152 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
22154 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
22156 * posix/regcomp.c (init_word_char): Add comments.
22158 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22161 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
22162 strlen to compute length of ut_user and set trailing NUL byte of
22165 2017-11-21 Mike FABIAN <mfabian@redhat.com>
22168 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
22169 using “copy "iso14651_t1"” and then implementing the
22170 collation rules for lv from CLDR on top of that.
22171 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
22172 of locales to be built for testing.
22173 * lv_LV.UTF-8.in: New file with test data to test the Latvian
22176 2017-11-21 Joseph Myers <joseph@codesourcery.com>
22178 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22179 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
22180 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
22181 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
22182 [__USE_MISC] (MADV_HWPOISON): New macro.
22183 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
22185 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22187 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
22188 -Wmissing-braces on GCC 4.9.
22190 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22192 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
22193 * sysdeps/s390/s390-32/start.S (_start): Likewise
22194 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
22195 (thread_start): Likewise.
22196 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
22197 (thread_start): Likewise.
22198 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
22199 (__makecontext_ret): Likewise.
22200 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
22201 (__makecontext_ret): Likewise.
22203 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22205 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
22206 __wcschrnul): Remove attribute_hidden.
22208 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
22210 regex: don't assume uint64_t or uint32_t
22211 This avoids -Werror=overflow errors for 32-bit systems in
22212 the 64-bit case. Problem reported by Joseph Myers in:
22213 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
22214 Also, when this code is used in Gnulib it ports to platforms
22215 that lack uint64_t and uint32_t. The C standard doesn't guarantee
22216 them, and on some 32-bit compilers there is no uint64_t.
22217 Problem reported by Gianluigi Tiesi in:
22218 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
22219 * posix/regcomp.c (init_word_char): Don't assume that the types
22220 uint64_t and uint32_t exist. Adapted from Gnulib patch
22221 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
22222 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
22224 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
22226 * sysdeps/aarch64/memset-reg.h: New file.
22227 * sysdeps/aarch64/memset.S: Use it.
22228 (__memset): Rename to MEMSET macro.
22229 [ZVA_MACRO]: Use zva_macro.
22230 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
22231 Add memset_generic and memset_falkor.
22232 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
22233 (__libc_ifunc_impl_list): Add memset ifuncs.
22234 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
22235 local variable zva_size.
22236 * sysdeps/aarch64/multiarch/memset.c: New file.
22237 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
22238 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
22239 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
22240 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
22241 (DCZID_DZP_MASK): New macro.
22242 (DCZID_BS_MASK): Likewise.
22243 (init_cpu_features): Read and set zva_size.
22244 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
22245 (struct cpu_features): New member zva_size.
22247 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
22248 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
22249 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
22251 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
22252 backwards. Fix timing computation.
22253 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
22254 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
22255 on memset by N at a time. Fix timing computation.
22257 2017-11-20 Florian Weimer <fweimer@redhat.com>
22259 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
22260 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
22262 2017-11-19 Florian Weimer <fweimer@redhat.com>
22264 manual: Document mprotect
22265 * manual/memory.texi (Memory Protection): New section.
22266 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
22267 documentation of PROT_* flags and reference the Memory Protection
22270 2017-11-19 Florian Weimer <fweimer@redhat.com>
22272 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
22273 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
22274 (Scatter-Gather): ... to here. Remove misleading comment.
22276 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
22278 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
22281 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
22282 when /proc/<pid>/setgroups does not exist.
22284 2017-11-18 Florian Weimer <fweimer@redhat.com>
22286 * sysdeps/unix/sysv/linux/tst-ttyname.c
22287 (become_root_in_mount_ns): Remove.
22288 (do_in_chroot_1): Call support_enter_mount_namespace.
22289 (do_in_chroot_2): Likewise.
22290 (do_test): Call support_become_root early.
22292 2017-11-18 Florian Weimer <fweimer@redhat.com>
22294 * support/namespace.h (support_enter_mount_namespace): Declare.
22295 * support/support_enter_mount_namespace.c: New file.
22296 * support/Makefile (libsupport-routines): Add
22297 support_enter_mount_namespace.
22299 2017-11-18 Florian Weimer <fweimer@redhat.com>
22301 * support/temp_file.c (support_create_temp_directory): Use
22302 test_dir and do not rely on the presence of the XXXXXX suffix.
22303 * support/temp_file.h (support_create_temp_directory): Update
22305 * support/tst-xreadlink.c (do_test): Adjust.
22306 * support/support_chroot.c (support_chroot_create): Likewise.
22308 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22310 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
22312 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
22315 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22317 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22318 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22319 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22320 (ceill): Define using libm_alias_ldouble.
22321 * sysdeps/x86_64/fpu/s_copysignl.S: Include
22322 <libm-alias-ldouble.h>.
22323 (copysignl): Define using libm_alias_ldouble.
22324 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22325 (fabsl): Define using libm_alias_ldouble.
22326 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22327 (floorl): Define using libm_alias_ldouble.
22328 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22329 (fmaxl): Define using libm_alias_ldouble.
22330 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22331 (fminl): Define using libm_alias_ldouble.
22332 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22333 (llrintl): Define using libm_alias_ldouble.
22334 (lrintl): Likewise.
22335 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
22336 <libm-alias-ldouble.h>.
22337 (nearbyintl): Define using libm_alias_ldouble.
22338 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22339 (truncl): Define using libm_alias_ldouble.
22340 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
22341 <libm-alias-ldouble.h>.
22342 (lrintl): Define using libm_alias_ldouble.
22344 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22345 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22346 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
22347 (asinhl): Define using libm_alias_ldouble.
22348 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
22349 (atanl): Define using libm_alias_ldouble.
22350 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
22351 (cbrtl): Define using libm_alias_ldouble.
22352 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22353 (ceill): Define using libm_alias_ldouble.
22354 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
22355 (copysignl): Define using libm_alias_ldouble.
22356 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22357 (fabsl): Define using libm_alias_ldouble.
22358 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22359 (floorl): Define using libm_alias_ldouble.
22360 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22361 (fmaxl): Define using libm_alias_ldouble.
22362 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22363 (fminl): Define using libm_alias_ldouble.
22364 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
22365 (frexpl): Define using libm_alias_ldouble.
22366 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22367 (llrintl): Define using libm_alias_ldouble.
22368 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
22369 (logbl): Define using libm_alias_ldouble.
22370 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
22371 (lrintl): Define using libm_alias_ldouble.
22372 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
22373 (nearbyintl): Define using libm_alias_ldouble.
22374 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
22375 (nextafterl): Define using libm_alias_ldouble.
22376 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
22377 (remquol): Define using libm_alias_ldouble.
22378 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
22379 (rintl): Define using libm_alias_ldouble.
22380 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22381 (truncl): Define using libm_alias_ldouble.
22382 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22383 (fmaxl): Define using libm_alias_ldouble.
22384 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22385 (fminl): Define using libm_alias_ldouble.
22387 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
22388 to C syntax instead of availability and properties of types.
22389 * bits/floatn.h [!__ASSEMBLER]: Likewise.
22390 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
22391 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
22392 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
22393 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
22394 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
22396 2017-11-17 Florian Weimer <fweimer@redhat.com>
22398 support_become_root: Enable file creation in namespaces.
22399 * support/support_become_root.c (setup_mapping): New function.
22400 (support_become_root): Call it.
22402 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22404 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
22407 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22409 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
22410 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
22412 2017-11-16 Joseph Myers <joseph@codesourcery.com>
22414 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
22416 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22419 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
22421 * INSTALL: Fix botched up regeneration.
22423 * NEWS: Update sourceare link to https.
22424 * configure.ac: Likewise.
22425 * crypt/md5test-giant.c: Likewise.
22426 * dlfcn/bug-atexit1.c: Likewise.
22427 * dlfcn/bug-atexit2.c: Likewise.
22428 * localedata/README: Likewise.
22429 * malloc/tst-mallocfork.c: Likewise.
22430 * manual/install.texi: Likewise.
22431 * nptl/tst-pthread-getattr.c: Likewise.
22432 * stdio-common/tst-fgets.c: Likewise.
22433 * stdio-common/tst-fwrite.c: Likewise.
22434 * sunrpc/Makefile: Likewise.
22435 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
22436 * wcsmbs/tst-mbrtowc2.c: Likewise.
22437 * configure: Regenerate.
22438 * INSTALL: Regenerate.
22440 2017-11-15 Martin Sebor <msebor@redhat.com>
22442 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
22443 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
22444 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
22446 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22449 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
22450 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
22453 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
22454 Defer is_pty check until end of the function.
22455 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22458 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
22459 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
22460 (ttyname): Likewise.
22461 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
22462 (__ttyname_r): Likewise.
22464 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
22467 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
22469 * manual/terminal.texi (Is It a Terminal):
22470 Mention ENODEV for ttyname and ttyname_r.
22472 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22474 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
22475 constant and macro.
22477 * sysdeps/unix/sysv/linux/bits/mman-linux.h
22478 [__USE_MISC] (MADV_WIPEONFORK): New macro.
22479 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22480 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22481 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
22482 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22484 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22486 * signal/sigrelse.c (sigrelse): Optimize implementation.
22488 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
22489 (__sigpause): Rely on __sigsuspend to implement single thread
22490 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
22492 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22494 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22495 kernel version to 4.14.
22497 2017-11-15 Steve Ellcey <sellcey@cavium.com>
22500 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
22501 Check if ifname is too long.
22503 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22505 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
22507 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22509 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
22510 was accidentally lost.
22512 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22514 * localedata/locales/az_IR: Add standard copyright header.
22516 2017-11-15 Florian Weimer <fweimer@redhat.com>
22519 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
22520 not just the top one. Output a new "subheaps" statistic.
22522 2017-11-15 Florian Weimer <fweimer@redhat.com>
22525 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
22526 under the per-arena lock.
22527 * malloc/Makefile (tests): Add tst-malloc_info.
22528 (tst-malloc_info): Link with libpthread.
22529 * malloc/tst-malloc_info.c: New file.
22531 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22534 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
22535 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
22536 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
22537 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
22538 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
22539 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
22540 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
22541 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
22542 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
22543 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
22544 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
22545 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
22546 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
22547 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
22548 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
22549 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
22550 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
22551 (__floating_type): Likewise.
22552 (__real_integer_type): Likewise.
22553 (__complex_integer_type): Likewise.
22554 (__expr_is_real): Likewise.
22555 (__tgmath_real_type_sub): Likewise.
22556 (__tgmath_real_type): Likewise.
22557 (__tgmath_complex_type_sub): Likewise.
22558 (__tgmath_complex_type): Likewise.
22559 (__TGMATH_F128): Likewise.
22560 (__TGMATH_CF128): Likewise.
22561 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
22563 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
22564 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
22566 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
22568 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
22569 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
22570 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
22571 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
22573 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
22574 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
22576 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
22577 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
22578 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
22580 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
22581 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
22582 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
22586 2017-11-14 Joseph Myers <joseph@codesourcery.com>
22588 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
22589 for stpncpy calls for GCC 8.
22590 (test_strncat): Disable -Wstringop-truncation warning for strncat
22591 calls for GCC 8. Disable -Wstringop-overflow= warning for one
22592 strncat call for GCC 7.
22593 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
22595 (test_memcmp): Use memcpy instead of strncpy for calls not copying
22598 * string/bug-strncat1.c: Include <libc-diag.h>.
22599 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
22601 2017-11-13 Claude Paroz <claude@2xlibre.net>
22604 * localedata/locales/aa_DJ: Improved readibility by replacing
22605 <Uxxxx> sequences in the ASCII printable range by their ASCII
22606 character equivalents.
22607 * localedata/locales/aa_ER: Likewise.
22608 * localedata/locales/aa_ER@saaho: Likewise.
22609 * localedata/locales/aa_ET: Likewise.
22610 * localedata/locales/af_ZA: Likewise.
22611 * localedata/locales/agr_PE: Likewise.
22612 * localedata/locales/ak_GH: Likewise.
22613 * localedata/locales/am_ET: Likewise.
22614 * localedata/locales/anp_IN: Likewise.
22615 * localedata/locales/ar_AE: Likewise.
22616 * localedata/locales/ar_BH: Likewise.
22617 * localedata/locales/ar_DZ: Likewise.
22618 * localedata/locales/ar_EG: Likewise.
22619 * localedata/locales/ar_IN: Likewise.
22620 * localedata/locales/ar_IQ: Likewise.
22621 * localedata/locales/ar_JO: Likewise.
22622 * localedata/locales/ar_KW: Likewise.
22623 * localedata/locales/ar_LB: Likewise.
22624 * localedata/locales/ar_LY: Likewise.
22625 * localedata/locales/ar_MA: Likewise.
22626 * localedata/locales/ar_OM: Likewise.
22627 * localedata/locales/ar_QA: Likewise.
22628 * localedata/locales/ar_SA: Likewise.
22629 * localedata/locales/ar_SD: Likewise.
22630 * localedata/locales/ar_SS: Likewise.
22631 * localedata/locales/ar_SY: Likewise.
22632 * localedata/locales/ar_TN: Likewise.
22633 * localedata/locales/ar_YE: Likewise.
22634 * localedata/locales/as_IN: Likewise.
22635 * localedata/locales/ast_ES: Likewise.
22636 * localedata/locales/ayc_PE: Likewise.
22637 * localedata/locales/az_AZ: Likewise.
22638 * localedata/locales/az_IR: Likewise.
22639 * localedata/locales/be_BY: Likewise.
22640 * localedata/locales/be_BY@latin: Likewise.
22641 * localedata/locales/bem_ZM: Likewise.
22642 * localedata/locales/ber_DZ: Likewise.
22643 * localedata/locales/ber_MA: Likewise.
22644 * localedata/locales/bg_BG: Likewise.
22645 * localedata/locales/bhb_IN: Likewise.
22646 * localedata/locales/bho_IN: Likewise.
22647 * localedata/locales/bi_VU: Likewise.
22648 * localedata/locales/bn_BD: Likewise.
22649 * localedata/locales/bn_IN: Likewise.
22650 * localedata/locales/bo_CN: Likewise.
22651 * localedata/locales/bo_IN: Likewise.
22652 * localedata/locales/br_FR: Likewise.
22653 * localedata/locales/brx_IN: Likewise.
22654 * localedata/locales/bs_BA: Likewise.
22655 * localedata/locales/byn_ER: Likewise.
22656 * localedata/locales/ca_AD: Likewise.
22657 * localedata/locales/ca_ES: Likewise.
22658 * localedata/locales/ca_FR: Likewise.
22659 * localedata/locales/ca_IT: Likewise.
22660 * localedata/locales/ce_RU: Likewise.
22661 * localedata/locales/chr_US: Likewise.
22662 * localedata/locales/cmn_TW: Likewise.
22663 * localedata/locales/crh_UA: Likewise.
22664 * localedata/locales/cs_CZ: Likewise.
22665 * localedata/locales/csb_PL: Likewise.
22666 * localedata/locales/cv_RU: Likewise.
22667 * localedata/locales/cy_GB: Likewise.
22668 * localedata/locales/da_DK: Likewise.
22669 * localedata/locales/de_AT: Likewise.
22670 * localedata/locales/de_BE: Likewise.
22671 * localedata/locales/de_CH: Likewise.
22672 * localedata/locales/de_DE: Likewise.
22673 * localedata/locales/de_IT: Likewise.
22674 * localedata/locales/de_LI: Likewise.
22675 * localedata/locales/de_LU: Likewise.
22676 * localedata/locales/doi_IN: Likewise.
22677 * localedata/locales/dv_MV: Likewise.
22678 * localedata/locales/dz_BT: Likewise.
22679 * localedata/locales/el_CY: Likewise.
22680 * localedata/locales/el_GR: Likewise.
22681 * localedata/locales/en_AG: Likewise.
22682 * localedata/locales/en_AU: Likewise.
22683 * localedata/locales/en_BW: Likewise.
22684 * localedata/locales/en_CA: Likewise.
22685 * localedata/locales/en_DK: Likewise.
22686 * localedata/locales/en_GB: Likewise.
22687 * localedata/locales/en_HK: Likewise.
22688 * localedata/locales/en_IE: Likewise.
22689 * localedata/locales/en_IL: Likewise.
22690 * localedata/locales/en_IN: Likewise.
22691 * localedata/locales/en_NG: Likewise.
22692 * localedata/locales/en_NZ: Likewise.
22693 * localedata/locales/en_PH: Likewise.
22694 * localedata/locales/en_SG: Likewise.
22695 * localedata/locales/en_US: Likewise.
22696 * localedata/locales/en_ZA: Likewise.
22697 * localedata/locales/en_ZM: Likewise.
22698 * localedata/locales/en_ZW: Likewise.
22699 * localedata/locales/eo: Likewise.
22700 * localedata/locales/es_AR: Likewise.
22701 * localedata/locales/es_BO: Likewise.
22702 * localedata/locales/es_CL: Likewise.
22703 * localedata/locales/es_CO: Likewise.
22704 * localedata/locales/es_CR: Likewise.
22705 * localedata/locales/es_CU: Likewise.
22706 * localedata/locales/es_DO: Likewise.
22707 * localedata/locales/es_EC: Likewise.
22708 * localedata/locales/es_ES: Likewise.
22709 * localedata/locales/es_GT: Likewise.
22710 * localedata/locales/es_HN: Likewise.
22711 * localedata/locales/es_MX: Likewise.
22712 * localedata/locales/es_NI: Likewise.
22713 * localedata/locales/es_PA: Likewise.
22714 * localedata/locales/es_PE: Likewise.
22715 * localedata/locales/es_PR: Likewise.
22716 * localedata/locales/es_PY: Likewise.
22717 * localedata/locales/es_SV: Likewise.
22718 * localedata/locales/es_US: Likewise.
22719 * localedata/locales/es_UY: Likewise.
22720 * localedata/locales/es_VE: Likewise.
22721 * localedata/locales/et_EE: Likewise.
22722 * localedata/locales/eu_ES: Likewise.
22723 * localedata/locales/eu_ES@euro: Likewise.
22724 * localedata/locales/fa_IR: Likewise.
22725 * localedata/locales/ff_SN: Likewise.
22726 * localedata/locales/fi_FI: Likewise.
22727 * localedata/locales/fil_PH: Likewise.
22728 * localedata/locales/fo_FO: Likewise.
22729 * localedata/locales/fr_BE: Likewise.
22730 * localedata/locales/fr_CA: Likewise.
22731 * localedata/locales/fr_CH: Likewise.
22732 * localedata/locales/fr_FR: Likewise.
22733 * localedata/locales/fr_LU: Likewise.
22734 * localedata/locales/fur_IT: Likewise.
22735 * localedata/locales/fy_DE: Likewise.
22736 * localedata/locales/fy_NL: Likewise.
22737 * localedata/locales/ga_IE: Likewise.
22738 * localedata/locales/gd_GB: Likewise.
22739 * localedata/locales/gez_ER: Likewise.
22740 * localedata/locales/gez_ET: Likewise.
22741 * localedata/locales/gl_ES: Likewise.
22742 * localedata/locales/gu_IN: Likewise.
22743 * localedata/locales/gv_GB: Likewise.
22744 * localedata/locales/ha_NG: Likewise.
22745 * localedata/locales/hak_TW: Likewise.
22746 * localedata/locales/he_IL: Likewise.
22747 * localedata/locales/hi_IN: Likewise.
22748 * localedata/locales/hif_FJ: Likewise.
22749 * localedata/locales/hne_IN: Likewise.
22750 * localedata/locales/hr_HR: Likewise.
22751 * localedata/locales/hsb_DE: Likewise.
22752 * localedata/locales/ht_HT: Likewise.
22753 * localedata/locales/hu_HU: Likewise.
22754 * localedata/locales/hy_AM: Likewise.
22755 * localedata/locales/i18n: Likewise.
22756 * localedata/locales/ia_FR: Likewise.
22757 * localedata/locales/id_ID: Likewise.
22758 * localedata/locales/ig_NG: Likewise.
22759 * localedata/locales/ik_CA: Likewise.
22760 * localedata/locales/is_IS: Likewise.
22761 * localedata/locales/it_CH: Likewise.
22762 * localedata/locales/it_IT: Likewise.
22763 * localedata/locales/iu_CA: Likewise.
22764 * localedata/locales/ja_JP: Likewise.
22765 * localedata/locales/ka_GE: Likewise.
22766 * localedata/locales/kk_KZ: Likewise.
22767 * localedata/locales/kl_GL: Likewise.
22768 * localedata/locales/kn_IN: Likewise.
22769 * localedata/locales/ko_KR: Likewise.
22770 * localedata/locales/kok_IN: Likewise.
22771 * localedata/locales/ks_IN: Likewise.
22772 * localedata/locales/ks_IN@devanagari: Likewise.
22773 * localedata/locales/ku_TR: Likewise.
22774 * localedata/locales/kw_GB: Likewise.
22775 * localedata/locales/ky_KG: Likewise.
22776 * localedata/locales/lb_LU: Likewise.
22777 * localedata/locales/lg_UG: Likewise.
22778 * localedata/locales/li_BE: Likewise.
22779 * localedata/locales/li_NL: Likewise.
22780 * localedata/locales/lij_IT: Likewise.
22781 * localedata/locales/ln_CD: Likewise.
22782 * localedata/locales/lo_LA: Likewise.
22783 * localedata/locales/lt_LT: Likewise.
22784 * localedata/locales/lv_LV: Likewise.
22785 * localedata/locales/lzh_TW: Likewise.
22786 * localedata/locales/mag_IN: Likewise.
22787 * localedata/locales/mai_IN: Likewise.
22788 * localedata/locales/mg_MG: Likewise.
22789 * localedata/locales/mhr_RU: Likewise.
22790 * localedata/locales/mi_NZ: Likewise.
22791 * localedata/locales/mk_MK: Likewise.
22792 * localedata/locales/ml_IN: Likewise.
22793 * localedata/locales/mn_MN: Likewise.
22794 * localedata/locales/mni_IN: Likewise.
22795 * localedata/locales/mr_IN: Likewise.
22796 * localedata/locales/ms_MY: Likewise.
22797 * localedata/locales/mt_MT: Likewise.
22798 * localedata/locales/my_MM: Likewise.
22799 * localedata/locales/nan_TW: Likewise.
22800 * localedata/locales/nan_TW@latin: Likewise.
22801 * localedata/locales/nb_NO: Likewise.
22802 * localedata/locales/nds_DE: Likewise.
22803 * localedata/locales/nds_NL: Likewise.
22804 * localedata/locales/ne_NP: Likewise.
22805 * localedata/locales/nhn_MX: Likewise.
22806 * localedata/locales/niu_NU: Likewise.
22807 * localedata/locales/niu_NZ: Likewise.
22808 * localedata/locales/nl_AW: Likewise.
22809 * localedata/locales/nl_BE: Likewise.
22810 * localedata/locales/nl_NL: Likewise.
22811 * localedata/locales/nn_NO: Likewise.
22812 * localedata/locales/nr_ZA: Likewise.
22813 * localedata/locales/nso_ZA: Likewise.
22814 * localedata/locales/oc_FR: Likewise.
22815 * localedata/locales/om_ET: Likewise.
22816 * localedata/locales/om_KE: Likewise.
22817 * localedata/locales/or_IN: Likewise.
22818 * localedata/locales/os_RU: Likewise.
22819 * localedata/locales/pa_IN: Likewise.
22820 * localedata/locales/pa_PK: Likewise.
22821 * localedata/locales/pap_AW: Likewise.
22822 * localedata/locales/pap_CW: Likewise.
22823 * localedata/locales/pl_PL: Likewise.
22824 * localedata/locales/ps_AF: Likewise.
22825 * localedata/locales/pt_BR: Likewise.
22826 * localedata/locales/pt_PT: Likewise.
22827 * localedata/locales/quz_PE: Likewise.
22828 * localedata/locales/raj_IN: Likewise.
22829 * localedata/locales/ro_RO: Likewise.
22830 * localedata/locales/ru_RU: Likewise.
22831 * localedata/locales/ru_UA: Likewise.
22832 * localedata/locales/rw_RW: Likewise.
22833 * localedata/locales/sa_IN: Likewise.
22834 * localedata/locales/sat_IN: Likewise.
22835 * localedata/locales/sc_IT: Likewise.
22836 * localedata/locales/sd_IN: Likewise.
22837 * localedata/locales/sd_IN@devanagari: Likewise.
22838 * localedata/locales/se_NO: Likewise.
22839 * localedata/locales/sgs_LT: Likewise.
22840 * localedata/locales/shs_CA: Likewise.
22841 * localedata/locales/si_LK: Likewise.
22842 * localedata/locales/sid_ET: Likewise.
22843 * localedata/locales/sk_SK: Likewise.
22844 * localedata/locales/sl_SI: Likewise.
22845 * localedata/locales/sm_WS: Likewise.
22846 * localedata/locales/so_DJ: Likewise.
22847 * localedata/locales/so_ET: Likewise.
22848 * localedata/locales/so_KE: Likewise.
22849 * localedata/locales/so_SO: Likewise.
22850 * localedata/locales/sq_AL: Likewise.
22851 * localedata/locales/sq_MK: Likewise.
22852 * localedata/locales/sr_ME: Likewise.
22853 * localedata/locales/sr_RS: Likewise.
22854 * localedata/locales/sr_RS@latin: Likewise.
22855 * localedata/locales/ss_ZA: Likewise.
22856 * localedata/locales/st_ZA: Likewise.
22857 * localedata/locales/sv_FI: Likewise.
22858 * localedata/locales/sv_SE: Likewise.
22859 * localedata/locales/sw_KE: Likewise.
22860 * localedata/locales/sw_TZ: Likewise.
22861 * localedata/locales/szl_PL: Likewise.
22862 * localedata/locales/ta_IN: Likewise.
22863 * localedata/locales/ta_LK: Likewise.
22864 * localedata/locales/tcy_IN: Likewise.
22865 * localedata/locales/te_IN: Likewise.
22866 * localedata/locales/tg_TJ: Likewise.
22867 * localedata/locales/th_TH: Likewise.
22868 * localedata/locales/the_NP: Likewise.
22869 * localedata/locales/ti_ER: Likewise.
22870 * localedata/locales/ti_ET: Likewise.
22871 * localedata/locales/tig_ER: Likewise.
22872 * localedata/locales/tk_TM: Likewise.
22873 * localedata/locales/tl_PH: Likewise.
22874 * localedata/locales/tn_ZA: Likewise.
22875 * localedata/locales/to_TO: Likewise.
22876 * localedata/locales/tpi_PG: Likewise.
22877 * localedata/locales/tr_CY: Likewise.
22878 * localedata/locales/tr_TR: Likewise.
22879 * localedata/locales/ts_ZA: Likewise.
22880 * localedata/locales/tt_RU: Likewise.
22881 * localedata/locales/tt_RU@iqtelif: Likewise.
22882 * localedata/locales/ug_CN: Likewise.
22883 * localedata/locales/uk_UA: Likewise.
22884 * localedata/locales/unm_US: Likewise.
22885 * localedata/locales/ur_IN: Likewise.
22886 * localedata/locales/ur_PK: Likewise.
22887 * localedata/locales/uz_UZ: Likewise.
22888 * localedata/locales/uz_UZ@cyrillic: Likewise.
22889 * localedata/locales/ve_ZA: Likewise.
22890 * localedata/locales/vi_VN: Likewise.
22891 * localedata/locales/wa_BE: Likewise.
22892 * localedata/locales/wae_CH: Likewise.
22893 * localedata/locales/wal_ET: Likewise.
22894 * localedata/locales/wo_SN: Likewise.
22895 * localedata/locales/xh_ZA: Likewise.
22896 * localedata/locales/yi_US: Likewise.
22897 * localedata/locales/yo_NG: Likewise.
22898 * localedata/locales/yue_HK: Likewise.
22899 * localedata/locales/yuw_PG: Likewise.
22900 * localedata/locales/zh_CN: Likewise.
22901 * localedata/locales/zh_HK: Likewise.
22902 * localedata/locales/zh_SG: Likewise.
22903 * localedata/locales/zh_TW: Likewise.
22904 * localedata/locales/zu_ZA: Likewise.
22906 2017-11-13 Florian Weimer <fweimer@redhat.com>
22908 * support/next_to_fault.h, support/next_to_fault.c: New files.
22909 * support/Makefile (libsupport-routines): Add next_to_fault.
22910 * resolv/tst-inet_pton.c (struct next_to_fault)
22911 (next_to_fault_allocate, next_to_fault_free): Remove.
22912 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
22914 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
22916 * elf/dl-support.c: Include <dl-procruntime.c>.
22917 * include/link.h: Include <link_map.h>.
22918 * sysdeps/generic/dl-procruntime.c: New file.
22919 * sysdeps/generic/link_map.h: Likewise.
22920 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
22921 the writable ld.so namespace.
22923 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
22925 timezone: pacify GCC -Wstringop-truncation
22926 Problem reported by Martin Sebor in:
22927 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
22928 * timezone/zic.c (writezone): Use memcpy, not strncpy.
22930 2017-11-12 Florian Weimer <fweimer@redhat.com>
22932 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
22934 (tests): Add tst-xreadlink.
22935 * support/support.h (xstrndup): Declare.
22936 * support/xunistd.h (xunlink, xreadlink): Declare.
22937 * support/temp_file.h (support_create_temp_directory): Declare.
22938 * support/temp_file.c (support_create_temp_directory): New function.
22939 * support/support_chroot.c (support_chroot_create): Use it.
22940 * support/xreadlink.c: New file.
22941 * support/xstrndup.c: Likewise.
22942 * support/xunlink.c: Likewise.
22943 * support/tst-xreadlink.c: Likewise.
22945 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
22947 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
22949 2017-11-11 Florian Weimer <fweimer@redhat.com>
22953 * resolv/res_comp.c (printable_string, binary_hnok)
22954 (binary_leading_dash): New functions.
22955 (res_hnok): Reimplement using these functions and ns_name_pton.
22956 (res_ownok): Likewise.
22957 (res_mailok): Reimplement using printable_string, ns_name_pton and
22959 (res_dnok): Reimplement using printable_string and ns_name_pton.
22960 * resolv/tst-res_hnok.c (tests): Add additional tests.
22961 (LETTERDIGITS, PRINTABLE): Define.
22962 (do_test): Adjust one_char results.
22964 2017-11-11 Florian Weimer <fweimer@redhat.com>
22967 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
22968 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
22970 2017-11-11 Florian Weimer <fweimer@redhat.com>
22972 * resolv/tst-ns_name_pton.c: New file.
22973 * resolv/Makefile (tests): Add tst-ns_name_pton.
22974 (tst-ns_name_pton): Link against libresolv.
22976 2017-11-11 Florian Weimer <fweimer@redhat.com>
22978 * resolv/tst-res_hnok.c: New file.
22979 * resolv/Makefile (tests): Add tst-res_hnok.
22980 (tst-res_hnok): Link against libresolv.
22982 2017-11-11 Florian Weimer <fweimer@redhat.com>
22984 * resolv/tst-resolv-network.c: Use test framework instead explicit
22987 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
22989 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
22990 <jmp_buf-macros.h>.
22991 [!_ISOMAC] (STR_HELPER): New.
22992 [!_ISOMAC] (STR): Likewise.
22993 [!_ISOMAC] (TEST_SIZE): Likewise.
22994 [!_ISOMAC] (TEST_ALIGN): Likewise.
22995 [!_ISOMAC] (TEST_OFFSET): Likewise.
22996 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
22997 field offsets of jmp_buf as well as sigjmp_buf.
22998 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
22999 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
23000 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
23001 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
23002 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
23003 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
23004 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
23005 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
23006 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
23007 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
23009 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
23011 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
23012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
23014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
23016 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
23017 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
23018 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
23019 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
23020 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
23021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
23023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
23025 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23026 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
23027 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
23029 2017-11-07 Joseph Myers <joseph@codesourcery.com>
23032 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23033 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
23034 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23035 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
23036 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23037 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
23038 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23039 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
23040 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23041 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
23042 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23043 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
23044 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23045 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
23046 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23047 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
23048 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23049 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
23050 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23051 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
23052 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23053 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
23054 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23055 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
23056 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23057 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
23058 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23059 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
23060 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23061 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
23062 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23063 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
23064 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23065 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
23066 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23067 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
23068 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23069 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
23070 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23071 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
23072 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23073 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
23074 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23075 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
23076 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23077 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
23078 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23079 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
23080 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23081 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
23082 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23083 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
23084 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23085 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
23086 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23087 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
23088 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23089 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
23090 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23091 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
23092 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23093 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
23094 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23095 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
23096 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23097 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
23098 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23099 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
23100 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23101 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
23102 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23103 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
23104 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23105 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
23106 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23107 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
23108 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23109 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
23110 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23111 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
23112 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23113 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
23114 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23115 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
23116 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23117 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
23118 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23119 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
23121 * stdlib/tst-strtod.h (F16): New macro.
23127 (IF_FLOAT16): Likewise.
23128 (IF_FLOAT32): Likewise.
23129 (IF_FLOAT64): Likewise.
23130 (IF_FLOAT32X): Likewise.
23131 (IF_FLOAT64X): Likewise.
23132 (IF_FLOAT128X): Likewise.
23133 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
23134 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
23135 (STRTOD_TEST_FOREACH): Likewise.
23136 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
23137 (CHOOSE_f64): Likewise.
23138 (CHOOSE_f32x): Likewise.
23139 (CHOOSE_f64x): Likewise.
23141 2017-11-07 Andreas Schwab <schwab@suse.de>
23143 * nptl/Makefile (tests-internal): Remove tst-typesizes.
23145 2017-11-07 Mike FABIAN <mfabian@redhat.com>
23148 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
23150 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
23153 2017-11-07 Claude Paroz <claude@2xlibre.net>
23156 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
23158 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
23160 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
23163 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23166 * nptl/allocatestack.c (allocate_stack): Check if
23167 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
23168 __PTHREAD_MUTEX_HAVE_PREV is defined.
23169 * nptl/descr.h (pthread): Likewise.
23170 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23172 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23173 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23174 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
23175 * sysdeps/nptl/bits/thread-shared-types.h
23176 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23178 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
23179 of __WORDSIZE for internal layout.
23180 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
23181 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
23182 instead of __WORDSIZE whether to use an union for __spins and __list
23184 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
23186 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
23187 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23189 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
23190 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23192 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
23193 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23195 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
23196 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23198 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
23199 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23201 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
23202 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23204 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
23205 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23207 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
23208 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23210 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
23211 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23213 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
23214 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23216 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
23217 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23219 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
23220 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23222 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
23223 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23225 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
23226 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23228 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
23229 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23232 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
23234 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
23235 checks for expected input type size.
23236 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23237 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23239 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23240 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
23241 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23242 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
23243 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23244 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
23245 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
23246 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
23247 superflous runtime assert check.
23248 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
23250 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
23252 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23254 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
23256 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
23258 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
23260 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
23261 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
23262 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23264 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23266 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23268 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
23270 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23272 * nptl/pthread_attr_setinheritsched.c
23273 (__pthread_attr_setinheritsched): Likewise.
23274 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
23276 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
23278 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
23279 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
23280 __old_pthread_attr_setstack): Likewise.
23281 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23283 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23285 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
23287 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23288 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23290 * nptl/tst-typesizes.c: Remove file.
23292 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
23293 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
23294 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
23295 checks for internal pthread_mutex_t offsets.
23296 * sysdeps/aarch64/nptl/pthread-offsets.h
23297 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
23298 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
23299 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
23300 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
23301 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
23302 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
23303 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
23304 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
23305 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
23306 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
23307 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
23308 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
23309 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
23310 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
23311 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
23312 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
23313 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
23314 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
23316 2017-11-07 Florian Weimer <fweimer@redhat.com>
23318 * bits/mman-linux.h: Move ...
23319 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
23321 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
23324 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23326 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
23327 Redefine STRNLEN as __strnlen_power8.
23329 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23331 * signal/sighold.c (sighold): Optimize implementation.
23333 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
23334 __NR_rt_sigqueueinfo.
23336 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23338 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
23339 assume __NR_rt_sigtimedwait.
23340 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
23341 and add LIBC_CANCEL_HANDLED for cancellation marking.
23342 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23344 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23345 (sysdeps_routines): Add memchr_noneon.
23346 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
23347 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
23348 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
23349 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
23350 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
23351 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
23352 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
23354 * sysdeps/arm/arm-ifunc.h: New file.
23355 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
23356 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
23357 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
23358 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
23359 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
23360 (__memcpy_neon): Avoid create hidden alias.
23361 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
23362 (__memcpy_vfp): Likewise.
23363 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23364 (sysdep_routines): Add memcpy_arm.
23365 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
23367 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
23370 * Makerules (make-link-multidir): New.
23371 * config.make.in (multidir): New.
23372 * configure.ac (libc_cv_multidir): New. AC_SUBST.
23373 * configure: Regenerated.
23374 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
23375 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
23376 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
23379 2017-11-06 Joseph Myers <joseph@codesourcery.com>
23382 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
23383 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
23385 2017-11-04 Mike FABIAN <mfabian@redhat.com>
23387 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
23390 2017-11-04 Florian Weimer <fweimer@redhat.com>
23392 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
23394 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23396 * math/math.h [__HAVE_DISTINCT_FLOAT16
23397 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23398 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23399 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23400 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
23401 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
23402 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
23403 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23404 (__MATH_TG_F32): New macro.
23405 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23406 (__MATH_TG_F64X): Likewise.
23407 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23408 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
23410 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
23412 * po/de.po: Update translations.
23413 * po/ru.po: Likewise.
23415 2017-11-03 Florian Weimer <fweimer@redhat.com>
23417 * manual/filesys.texi (Hard Links): Document linkat.
23419 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23421 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
23422 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23423 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23424 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23425 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23426 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23427 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
23428 the same as _Float128.
23429 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23430 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23431 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
23434 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
23436 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
23438 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
23440 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23441 (strtof32x): Likewise.
23442 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23443 (strtof64x): Likewise.
23444 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23445 (strtof128x): Likewise.
23446 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23447 (strfromf16): Likewise.
23448 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23449 (strfromf32): Likewise.
23450 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23451 (strfromf64): Likewise.
23452 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23453 (strfromf32x): Likewise.
23454 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23455 (strfromf64x): Likewise.
23456 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23457 (strfromf128x): Likewise.
23458 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
23459 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
23460 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
23461 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
23462 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
23463 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
23465 2017-11-03 Richard Henderson <rth@twiddle.net>
23467 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
23469 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23471 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
23473 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23475 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
23476 DT_TLSDESC_GOT initialization.
23477 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
23478 (_dl_tlsdesc_resolve_hold): Likewise.
23479 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
23480 (_dl_tlsdesc_resolve_hold): Likewise.
23481 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
23482 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23484 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23486 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
23488 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23491 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
23492 non-lazily for R_ARM_TLS_DESC.
23494 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23497 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
23498 R_ARM_TLS_DESC case.
23499 (elf_machine_lazy_rel): Remove the prelink check.
23501 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23503 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
23504 DT_TLSDESC_GOT initialization.
23505 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
23506 (_dl_tlsdesc_resolve_rela): Likewise.
23507 (_dl_tlsdesc_resolve_hold): Likewise.
23508 (_dl_tlsdesc_undefweak): Remove ldar.
23509 (_dl_tlsdesc_dynamic): Likewise.
23510 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
23511 (_dl_tlsdesc_resolve_rela): Likewise.
23512 (_dl_tlsdesc_resolve_hold): Likewise.
23513 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
23514 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23515 (_dl_tlsdesc_resolve_rela): Likewise.
23516 (_dl_tlsdesc_resolve_hold): Likewise.
23518 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23520 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
23521 binding and initialization non-lazily for R_AARCH64_TLSDESC.
23523 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23525 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
23526 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23528 2017-11-02 Joseph Myers <joseph@codesourcery.com>
23530 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
23532 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
23533 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
23534 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
23535 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
23536 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
23537 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
23538 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
23539 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
23540 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
23541 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
23542 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
23544 2017-11-02 Mike FABIAN <mfabian@redhat.com>
23547 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
23548 * localedata/locales/tpi_PG: Add standard header.
23550 2017-11-02 Florian Weimer <fweimer@redhat.com>
23552 test-errno-linux: quotactl can fail with EPERM in containers.
23553 * sysdeps/unix/sysv/linux/test-errno-linux.c
23554 (LIST, LIST_FORWARD): New macros.
23555 (check_error_in_list): New function.
23556 (test_wrp_rv): Accept list of permitted error codes.
23557 (test_wrp_rv2): Remove.
23558 (test_wrp): Call test_wrp_rv with list of error codes.
23559 (test_wrp2): Accept list of error codes.
23560 (do_test): Adjust. Allow EPERM for quotactl.
23562 2017-11-02 Florian Weimer <fweimer@redhat.com>
23564 * stdio-common/bug16.c (do_test): Use array_length.
23565 * stdio-common/errlist.c (_sys_nerr): Likewise.
23566 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
23567 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
23568 * stdio-common/psiginfo.c (psiginfo): Use array_length.
23569 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
23570 (do_test): Use array_length.
23571 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
23572 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
23573 * stdio-common/tst-printf-round.c (do_test): Likewise.
23574 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
23575 (CHECK): Use array_length.
23576 * stdio-common/tstdiomisc.c (t3, F): Likewise.
23577 * stdio-common/tstscanf.c (main): Likewise.
23578 * stdio-common/vfprintf.c (process_string_arg): Likewise.
23580 2017-11-02 Florian Weimer <fweimer@redhat.com>
23582 Add array_length and array_end macros.
23583 * include/array_length.h: New file.
23585 2017-11-02 Florian Weimer <fweimer@redhat.com>
23588 * posix/tst-glob-tilde.c (do_noescape): New variable.
23589 (one_test): Process it.
23590 (do_test): Set do_noescape. Add unescaping test case.
23592 2017-11-01 Joseph Myers <joseph@codesourcery.com>
23595 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
23596 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
23597 with appropriate macros defined and undefined.
23598 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
23599 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23600 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
23601 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23602 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
23603 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23604 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
23605 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23606 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
23607 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23610 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
23611 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
23612 that for long double. Do not condition define and undefine of
23613 _Mdouble_complex_ on [__CFLOAT128].
23615 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
23617 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23618 of <sysdeps/generic/sysdep.h>.
23619 (ALIGNARG): Removed.
23620 (ASM_SIZE_DIRECTIVE): Likewise.
23623 (ENTRY_CHK): Likewise.
23624 (END_CHK): Likewise.
23625 (syscall_error): Likewise.
23626 (mcount): Likewise.
23627 (PSEUDO_END): Likewise.
23629 (atom_text_section): Likewise.
23630 * sysdeps/x86/sysdep.h: New file.
23631 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23632 of <sysdeps/generic/sysdep.h>.
23633 (ALIGNARG): Removed.
23634 (ASM_SIZE_DIRECTIVE): Likewise.
23637 (ENTRY_CHK): Likewise.
23638 (END_CHK): Likewise.
23639 (syscall_error): Likewise.
23640 (mcount): Likewise.
23641 (PSEUDO_END): Likewise.
23643 (atom_text_section): Likewise.
23645 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
23647 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
23648 category of LC_CTYPE set to "i18n:2012".
23649 * localedata/locales/i18n_ctype: Regenerate.
23651 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
23653 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
23654 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
23655 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23656 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23658 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
23659 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
23660 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
23661 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
23663 2017-10-31 Joseph Myers <joseph@codesourcery.com>
23666 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
23668 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
23670 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
23672 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23673 (CMPLXF32X): Likewise.
23674 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23675 (CMPLXF64X): Likewise.
23676 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23677 (CMPLXF128X): Likewise.
23680 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
23681 (__MATH_EVAL_FMT2): Define to add 0.0f.
23683 2017-10-31 Alan Modra <amodra@gmail.com>
23685 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
23687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
23688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
23689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
23690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
23691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
23692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
23693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
23694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
23695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
23696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
23697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
23698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
23699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
23700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
23701 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
23702 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
23703 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
23704 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
23705 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
23706 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
23707 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
23708 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
23709 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
23710 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
23711 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23712 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
23713 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
23714 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
23715 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
23716 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
23717 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23718 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23719 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
23720 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
23721 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
23722 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
23723 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
23724 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
23725 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
23726 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23727 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
23728 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
23729 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
23730 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
23731 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
23732 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
23733 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
23734 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
23735 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23736 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23737 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
23738 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
23739 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
23740 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
23741 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23742 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
23743 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
23744 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
23745 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23746 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23747 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23748 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
23749 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
23750 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23751 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
23752 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
23753 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
23754 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
23755 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
23757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
23758 include sysdep.h and math_ldbl_opt.h.
23760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
23761 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
23762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
23763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
23764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
23765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
23766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
23767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
23768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
23769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
23770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
23771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
23772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
23773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
23774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
23775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
23776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
23777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
23778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
23779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
23780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
23781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
23782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
23783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
23784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
23785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
23787 2017-10-31 Alan Modra <amodra@gmail.com>
23789 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
23790 string/strncase_l.c, not string/strncase.c.
23791 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
23792 (libc_hidden_def): Redefine.
23794 2017-10-31 Alan Modra <amodra@gmail.com>
23796 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
23797 (__STRCMP, STRCMP, __strcasecmp_l): Define.
23798 (__strcasecmp): Don't define.
23800 2017-10-31 Alan Modra <amodra@gmail.com>
23802 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
23804 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23805 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23806 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23808 2017-10-31 Alan Modra <amodra@gmail.com>
23810 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
23813 2017-10-31 Alan Modra <amodra@gmail.com>
23815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
23816 Redefine only when SHARED.
23818 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23820 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23821 Include <bits/math-finite.h> with appropriate macros defined and
23823 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23824 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23825 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23826 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23827 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23829 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
23830 [!_Mlong_double_] (_Mlong_double_): Likewise.
23831 [!_Mfloat16_] (_Mfloat16_): Likewise.
23832 [!_Mfloat32_] (_Mfloat32_): Likewise.
23833 [!_Mfloat64_] (_Mfloat64_): Likewise.
23834 [!_Mfloat128_] (_Mfloat128_): Likewise.
23835 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
23836 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
23837 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
23838 (_Mdouble_): Define without indirection through those macros.
23839 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
23840 [!_Mfloat128_] (_Mfloat128_): Likewise.
23841 [_Mlong_double_] (_Mlong_double_): Likewise.
23842 (_Mdouble_): Define without indirection through those macros.
23843 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
23844 not add -D_Mlong_double_=double.
23845 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
23846 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
23848 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23850 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
23852 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23854 * sysdeps/x86/libc-start.c: Reformat.
23856 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23859 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
23860 (1): Renamed to ...
23863 (L(Src2)): Likewise.
23864 (L(1)): Renamed to ...
23867 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23869 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
23870 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
23871 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
23872 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
23873 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
23874 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
23875 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
23876 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
23877 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
23878 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
23879 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
23880 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
23881 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
23882 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
23883 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
23884 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
23885 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
23886 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
23887 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
23888 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
23889 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
23890 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
23891 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
23892 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
23893 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
23894 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
23895 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
23896 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
23897 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
23898 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
23899 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
23900 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
23901 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
23902 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
23903 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
23904 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
23905 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
23906 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
23907 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
23908 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
23909 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
23910 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
23911 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
23912 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
23913 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
23914 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
23915 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
23916 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
23917 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
23918 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
23919 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
23920 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
23921 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
23922 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
23923 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
23924 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
23925 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
23926 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
23927 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
23928 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
23929 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
23930 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
23931 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
23932 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
23933 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
23934 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
23936 2017-10-30 Florian Weimer <fweimer@redhat.com>
23938 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
23940 * io/tst-mkdirat.c (do_test): Likewise.
23941 * io/tst-mkfifoat.c (do_test): Likewise.
23942 * io/tst-mknodat.c (do_test): Likewise.
23943 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
23944 * locale/programs/locale.c (select_dirs): Likewise.
23945 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
23946 * posix/bug-glob2.c (my_readdir): Likewise.
23947 * posix/tst-dir.c (main): Likewise.
23948 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
23949 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
23951 2017-10-30 Florian Weimer <fweimer@redhat.com>
23953 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
23956 2017-10-30 Florian Weimer <fweimer@redhat.com>
23958 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
23959 Convert to support/test-driver.c.
23960 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
23961 New macro parameters.
23962 (PRINTF): Remove macro. Use test_verbose conditionals instead.
23963 * posix/tst-gnuglob.c: New file.
23964 * posix/tst-gnuglob64.c: Likewise.
23965 * posix/Makefile (tests): Add tst-gnuglob64.
23967 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
23970 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
23971 and use a better translation for March in “mon”.
23972 * localedata/locales/csb_PL: Use more ASCII to improve the
23973 readability of the source.
23975 2017-10-30 Mike FABIAN <mfabian@redhat.com>
23978 * localedata/locales/km_KH: Use ASCII as much
23979 as possible for better readability of the source and
23980 remove useless comments.
23981 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
23982 was commented out and apparently wrong anyway because it was
23983 using Lao characters. If Buddhist era should be used
23984 for km_KH, a native speaker should write the correct formaat
23986 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
23987 (According to CLDR, the first weekday for Cambodia is Sunday).
23988 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
23989 (These were using Lao characters which must be wrong. If we get
23990 the correct data from a native speaker, we could add it back, until
23991 then it is better not to have name_mr and name_mrs at all than
23994 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
23996 * locale/loadlocale.c: Correct size of
23997 _nl_value_type_LC_<category> arrays.
23999 2017-10-27 Joseph Myers <joseph@codesourcery.com>
24001 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24002 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
24003 with appropriate macros defined and undefined.
24004 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24005 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24006 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24007 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24008 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24010 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
24012 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
24015 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24017 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
24018 with lowercase letters to make it agree with CLDR.
24020 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24023 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
24024 first letters of yesstr and nostr in yesexpr and noexpr,
24025 not for the full words.
24026 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24027 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
24028 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
24029 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
24030 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
24031 first letters of yesstr and nostr in yesexpr and noexpr,
24032 until now only English was matched in yesexpr and noexpr.
24033 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
24034 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
24035 fil but not for tl. As tl and fil are very similar, using fil
24036 is probably better than using English.
24038 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
24041 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
24042 in yesstr and nostr.
24044 2017-10-26 Joseph Myers <joseph@codesourcery.com>
24046 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24047 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
24048 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
24050 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
24052 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
24054 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
24056 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24057 (SNANF128X): Likewise.
24059 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24060 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
24061 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24062 (HUGE_VAL_F32): Likewise.
24063 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24064 (HUGE_VAL_F64): Likewise.
24065 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24066 (HUGE_VAL_F32X): Likewise.
24067 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24068 (HUGE_VAL_F64X): Likewise.
24069 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24070 (HUGE_VAL_F128X): Likewise.
24072 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24074 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
24075 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
24076 for the br_FR locale.
24078 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24081 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
24083 2017-10-25 Carlos O'Donell <carlos@redhat.com>
24085 * locale/programs/record-status.h: Define globals, and function
24086 prototypes. Move function bodies...
24087 * locale/programs/record-status.c: ... to here. New file.
24088 * iconv/Makefile (iconv_prog-modules): Add record-status.
24089 * locale/Makefile (lib-modules): Likewise.
24090 * iconv/iconv_prog.c: Remove verbose.
24091 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
24092 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
24093 record a warning about ASCII compatibility.
24094 * locale/programs/ld-monetary.c (monetary_finish): If
24095 warn_int_curr_symbol is true then record a warning about the symbol
24096 not being in our ISO 4217 list.
24097 * locale/programs/locale.c: Include record-status.h. Remove verbose.
24098 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
24099 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
24100 (OPT_NO_WARN): Define.
24101 (OPT_WARN): Define.
24102 (options): Add entry for --no-warnings, and --warnings.
24103 (set_warnings): New function to enable/disable warnings.
24104 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
24105 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
24106 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
24107 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
24108 Pass flags to generate_locale.
24109 (generate_locale): Accept new flag argument and pass it to localedef
24111 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
24112 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
24114 * localedata/Makefile (test-input-data): Use full file name.
24115 * localedata/da_DK.in: Rename to...
24116 * localedata/da_DK.ISO-8859-1.in: ...this.
24117 * localedata/de_DE.in: Rename to...
24118 * localedata/de_DE.ISO-8859-1.in: ...this.
24119 * localedata/en_US.in: Rename to...
24120 * localedata/en_US.ISO-8859-1.in: ...this.
24121 * localedata/fr_FR.in: Rename to...
24122 * localedata/fr_FR.UTF-8.in: ... this.
24123 * localedata/hr_HR.in: Rename to...
24124 * localedata/hr_HR.ISO-8859-2.in: ...this.
24125 * localedata/hu_HU.in: Rename to...
24126 * localedata/hu_HU.UTF-8.in: ...this.
24127 * localedata/si_LK.in: Rename to...
24128 * localedata/si_LK.UTF-8.in: ...this.
24129 * localedata/sv_SE.in: Rename to...
24130 * localedata/sv_SE.ISO-8859-1.in: ...this.
24131 * localedata/tr_TR.in: Rename to...
24132 * localedata/tr_TR.UTF-8.in: ...this.
24133 * localedata/uk_UA.in: Rename to...
24134 * localedata/uk_UA.UTF-8.in: ...this.
24135 * localedata/sort-test.sh: Test file is locale name with the
24138 * localedata/unicode-gen/Makefile (check_i18n): Rename to
24139 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
24141 * localedata/locales/i18n_ctype: Regenerate.
24142 * localedata/locales/tr_TR: Likewise.
24143 * localedata/locales/translit_circle: Likewise.
24144 * localedata/locales/translit_cjk_compat: Likewise.
24145 * localedata/locales/translit_combining: Likewise.
24146 * localedata/locales/translit_compat: Likewise.
24147 * localedata/locales/translit_font: Likewise.
24148 * localedata/locales/translit_fraction: Likewise.
24150 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24152 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
24153 lxvd2x/stxvd2x with lvx/stvx.
24154 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
24156 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
24158 * include/alloc_buffer.h: Replace "if if " with "if " in
24160 * sysdeps/mips/memcpy.S: Likkewise.
24161 * sysdeps/mips/memset.S: Likewise.
24162 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
24164 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
24166 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
24169 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24172 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
24173 yesexpr and noexpr.
24174 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24175 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24176 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24177 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24178 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24179 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24180 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24182 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24184 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
24185 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24186 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24187 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24188 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24189 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
24190 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24191 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24192 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24193 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24194 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24195 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24197 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24199 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
24200 as possible for better readability of the source.
24201 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
24202 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
24203 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
24204 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
24205 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
24206 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
24207 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
24208 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
24209 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24210 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
24211 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
24212 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
24213 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
24214 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
24215 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
24216 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
24217 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
24218 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
24219 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
24220 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
24221 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
24222 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
24223 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
24224 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
24225 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
24226 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
24227 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
24228 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
24229 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
24230 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
24231 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
24232 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24233 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
24234 * localedata/locales/en_US (LC_MESSAGES): Likewise.
24235 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
24236 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
24237 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
24238 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
24239 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
24240 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
24241 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
24242 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
24243 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
24244 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
24245 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
24246 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
24247 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
24248 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
24249 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
24250 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
24251 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
24252 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
24253 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
24254 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24255 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24256 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
24257 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
24258 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24259 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
24260 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
24261 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
24262 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
24263 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
24264 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
24265 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
24266 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
24267 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
24268 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
24269 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
24270 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
24271 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
24272 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
24273 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
24274 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
24275 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24276 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
24277 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
24278 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
24279 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
24280 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
24281 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
24282 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
24283 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
24284 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24285 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
24286 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
24287 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
24288 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24289 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
24290 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
24291 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
24292 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
24293 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24294 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
24295 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
24296 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24297 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
24298 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24299 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
24300 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
24301 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
24302 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
24303 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
24304 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
24305 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
24306 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
24307 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
24308 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
24309 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
24310 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
24311 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
24312 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
24313 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24314 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
24315 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
24316 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
24317 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
24318 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
24319 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
24320 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
24321 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
24322 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
24323 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
24324 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
24325 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
24326 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
24327 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
24328 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
24329 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
24330 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
24331 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
24332 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
24333 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
24334 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
24335 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
24336 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
24337 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
24338 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
24339 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
24340 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
24341 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
24342 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
24343 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
24344 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
24345 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
24346 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24347 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
24348 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
24349 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
24350 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
24351 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
24352 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
24353 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
24354 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
24355 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24356 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
24357 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
24358 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
24359 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
24360 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
24361 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
24362 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
24363 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
24364 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
24365 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
24366 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24367 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
24368 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
24369 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
24370 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
24371 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24372 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24373 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24374 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
24376 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24378 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
24379 (Use first letters of yesstr and nostr correctly instead of using
24382 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24384 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
24385 (Use first letters of yesstr and nostr correctly).
24387 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24389 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
24390 also check for the first characters of yesstr and nostr.
24391 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
24392 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
24394 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24396 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
24397 also check for Chinese characters.
24399 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24401 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
24402 match also for the contents of yesstr and nostr. As the first letter
24403 of yesstr and nostr is equal, checking only for the first letter
24406 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24408 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
24409 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
24411 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24413 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
24414 of main contributor.
24416 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24418 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
24419 instead of using English.
24421 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24423 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
24424 by including the first letters of nostr and yesexpr in the regexp.
24425 Also make it more readable by using ASCII where possible.
24427 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24429 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
24430 the first letter of nostr in the regexp. It agrees with CLDR now.
24431 Also make it more readable by using ASCII where possible.
24433 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24435 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
24436 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
24437 these strings contain a U+17D6 (which somewhat looks like a colon)
24438 instead of a real colon to separate the full words for “yes”
24439 and “no” from the single letter responses.
24441 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24443 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
24444 it agree with CLDR (include the first letter of yesstr).
24445 Also make it more readable by using ASCII where possible.
24447 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24449 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
24450 and improve yesexpr and noexpr. The yesstr and nostr apparently
24451 came from CLDR. And CLDR has a bug there: these strings contain
24452 a U+0903 (which looks like a colon) instead of a real colon
24453 to separate the full words for “yes” and “no” from the single
24456 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24458 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
24459 letters of the full yesstr and nostr in yesexpr and noexpr.
24461 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24463 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
24464 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
24465 * localedata/locales/an_ES: Make source more readable by using ASCII
24468 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24471 * localedata/locales/yuw_PG: New file.
24472 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
24473 * locale/iso-639.def: Add Yau (Uruwa).
24475 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24477 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
24479 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24481 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
24482 (__libc_realloc): Likewise.
24483 (_mid_memalign): Likewise.
24484 (__libc_calloc): Likewise.
24486 2017-10-23 Mike FABIAN <mfabian@redhat.com>
24488 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
24489 by adding the generic +1 and -0 as in all other locales.
24490 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
24491 day names and make it more readable by using ASCII where possible.
24493 2017-10-24 Joseph Myers <joseph@codesourcery.com>
24495 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
24496 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
24498 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24500 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
24501 WNOHANG in waitpid call.
24503 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
24505 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
24506 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
24508 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
24509 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
24510 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
24511 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
24512 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
24513 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
24514 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
24515 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
24518 2017-10-23 Michael Collison <michael.collison@arm.com>
24520 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
24521 with __builtin_sqrt.
24522 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
24523 with __builtin_sqrtf.
24524 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
24525 with __builtin_ceil.
24526 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
24527 with __builtin_ceilf.
24528 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
24529 with __builtin_floor.
24530 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
24531 with __builtin_floorf.
24532 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
24533 with __builtin_fma.
24534 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
24535 with __builtin_fmaf.
24536 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
24537 with __builtin_fmax.
24538 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
24539 with __builtin_fmaxf.
24540 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
24541 with __builtin_fmin.
24542 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
24543 with __builtin_fminf.
24544 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
24545 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
24546 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
24547 with builtin_rint and conversion to int.
24548 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
24549 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
24550 with builtin_llround.
24551 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
24552 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
24553 with builtin_rint and conversion to long int.
24554 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
24555 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
24556 with builtin_lround.
24557 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
24558 with builtin_lroundf.
24559 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
24560 statements with __builtin_nearbyint.
24561 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
24562 statements with __builtin_nearbyintf.
24563 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
24564 with __builtin_rint.
24565 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
24566 with __builtin_rintf.
24567 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
24568 with __builtin_round.
24569 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
24570 with __builtin_roundf.
24571 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
24572 with __builtin_trunc.
24573 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
24574 with __builtin_truncf.
24575 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
24576 and s_l[l]round[f].c too.
24578 2017-10-23 Alan Modra <amodra@gmail.com>
24580 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
24581 Adjust stack after restoring regs. Add missing LR cfi_restore.
24583 2017-10-23 Alan Modra <amodra@gmail.com>
24585 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
24586 Move LR save and frame setup/teardown and LR restore to
24587 immediately around memset call. Provide cfi.
24589 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24591 * sysdeps/i386/fpu/e_powf.S: Removed.
24592 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
24593 * sysdeps/i386/fpu/w_powf.c: Likewise.
24594 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
24595 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24596 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24598 (CFLAGS-e_powf-sse2.c): New.
24599 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
24600 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
24602 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24604 * sysdeps/i386/fpu/e_log2f.S: Removed.
24605 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
24606 * sysdeps/i386/fpu/w_log2f.c: Likewise.
24607 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
24608 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24609 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24611 (CFLAGS-e_log2f-sse2.c): New.
24612 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
24613 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
24615 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24617 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24619 (CFLAGS-e_powf-fma.c): New.
24620 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
24621 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
24623 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24625 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24627 (CFLAGS-e_log2f-fma.c): New.
24628 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
24629 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
24631 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24633 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24635 (CFLAGS-e_logf-fma.c): New.
24636 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
24637 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
24639 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24641 * sysdeps/i386/fpu/e_logf.S: Removed.
24642 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
24643 * sysdeps/i386/fpu/w_logf.c: Likewise.
24644 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
24645 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
24646 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24647 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24649 (CFLAGS-e_logf-sse2.c): New.
24650 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
24651 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
24653 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24655 * sysdeps/i386/fpu/e_exp2f.S: Removed.
24656 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
24657 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
24658 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24659 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24661 (CFLAGS-e_exp2f-sse2.c): New.
24662 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
24663 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
24665 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24667 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24669 (CFLAGS-e_exp2f-fma.c): New.
24670 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
24671 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
24673 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24675 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
24676 * sysdeps/i386/fpu/e_expf.S: Likewise.
24677 * sysdeps/i386/fpu/math_errf.c: Likewise.
24678 * sysdeps/i386/fpu/w_expf.c: Likewise.
24679 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
24680 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24681 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
24682 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
24683 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24684 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24685 Remove e_expf-ia32.
24686 (CFLAGS-e_expf-sse2.c): New.
24687 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
24688 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
24690 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24692 * sysdeps/x86_64/fpu/e_expf.S: Removed.
24693 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
24694 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
24695 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
24697 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
24699 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
24700 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
24702 (__redirect_expf): This.
24703 (SYMBOL_NAME): Changed to expf.
24704 (__ieee754_expf): Renamed to ...
24706 (__GI___expf): This.
24707 (__ieee754_expf): Add strong_alias.
24708 (__expf_finite): Likewise.
24710 Include <sysdeps/ieee754/flt-32/e_expf.c>.
24712 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
24715 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
24718 2017-10-21 Florian Weimer <fweimer@redhat.com>
24720 * posix/Makefile (tests): Add tst-glob-tilde.
24721 (tests-special): Add tst-glob-tilde-mem.out
24722 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
24723 (tst-glob-tilde-mem.out): Add mtrace check.
24724 * posix/tst-glob-tilde.c: New file.
24726 2017-10-20 Joseph Myers <joseph@codesourcery.com>
24728 * bits/floatn-common.h: New file.
24729 * math/Makefile (headers): Add bits/floatn-common.h.
24730 * bits/floatn.h: Include <bits/floatn-common.h>.
24731 * sysdeps/ia64/bits/floatn.h: Likewise.
24732 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24733 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
24734 * sysdeps/powerpc/bits/floatn.h: Likewise.
24735 * sysdeps/x86/bits/floatn.h: Likewise.
24737 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24739 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
24740 indicates whether compiler emits an warning for alias for
24741 functions with incompatible types.
24744 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
24745 the auxiliary process is terminated by a signal before calling _exit
24748 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24751 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
24753 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
24754 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
24755 and bit_arch_XSAVEC_Usable if needed.
24756 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
24757 and bit_arch_Use_dl_runtime_resolve_opt.
24758 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
24760 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
24761 (bit_arch_Prefer_No_AVX512): Updated.
24762 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
24763 (bit_arch_XSAVEC_Usable): New.
24764 (STATE_SAVE_OFFSET): Likewise.
24765 (STATE_SAVE_MASK): Likewise.
24766 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
24767 (cpu_features): Add xsave_state_size and xsave_state_full_size.
24768 (index_arch_Use_dl_runtime_resolve_opt): Removed.
24769 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
24770 (index_arch_XSAVEC_Usable): New.
24771 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
24772 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
24773 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
24775 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
24776 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
24777 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
24778 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
24779 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
24780 _dl_runtime_resolve_xsavec.
24781 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
24783 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
24784 instead of VEC_SIZE.
24785 (REGISTER_SAVE_BND0): Removed.
24786 (REGISTER_SAVE_BND1): Likewise.
24787 (REGISTER_SAVE_BND3): Likewise.
24788 (REGISTER_SAVE_RAX): Always defined to 0.
24790 (_dl_runtime_resolve_avx): Likewise.
24791 (_dl_runtime_resolve_avx_slow): Likewise.
24792 (_dl_runtime_resolve_avx_opt): Likewise.
24793 (_dl_runtime_resolve_avx512): Likewise.
24794 (_dl_runtime_resolve_avx512_opt): Likewise.
24795 (_dl_runtime_resolve_sse): Likewise.
24796 (_dl_runtime_resolve_sse_vex): Likewise.
24798 (_dl_runtime_resolve_fxsave): Likewise.
24799 (USE_XSAVE): Likewise.
24800 (_dl_runtime_resolve_xsave): Likewise.
24801 (USE_XSAVEC): Likewise.
24802 (_dl_runtime_resolve_xsavec): Likewise.
24803 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
24805 (_dl_runtime_resolve_avx512_opt): Likewise.
24806 (_dl_runtime_resolve_avx): Likewise.
24807 (_dl_runtime_resolve_avx_opt): Likewise.
24808 (_dl_runtime_resolve_sse): Likewise.
24809 (_dl_runtime_resolve_sse_vex): Likewise.
24810 (_dl_runtime_resolve_fxsave): New.
24811 (_dl_runtime_resolve_xsave): Likewise.
24812 (_dl_runtime_resolve_xsavec): Likewise.
24814 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
24818 * posix/glob.c (__glob): Fix one-byte overflow.
24820 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24822 * malloc/malloc.c (sysdep-cancel.h): Add include.
24824 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24826 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
24828 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
24830 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
24831 (tests): Remove $(objpfx)ga_test depdendency.
24832 * resolv/ga_test.c: Remove file.
24834 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24837 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
24838 * localedata/locales/kab_DZ: New file.
24840 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24842 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
24843 _dl_relocate_static_pie instead of _dl_start to compute load
24844 address in static PIE.
24846 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24848 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
24850 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24853 * localedata/SUPPORTED: Add shn_MM/UTF-8.
24854 * localedata/locales/shn_MM: New file.
24856 2017-10-20 Florian Weimer <fweimer@redhat.com>
24859 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
24860 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
24861 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
24862 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
24863 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
24864 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
24866 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
24868 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24870 2017-10-19 Joseph Myers <joseph@codesourcery.com>
24872 * sysdeps/mips/ieee754/bits/floatn.h: New file.
24875 * sysdeps/mips/bits/long-double.h: Move to ....
24876 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
24878 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
24880 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
24882 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
24883 H.J. Lu <hongjiu.lu@intel.com>
24886 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
24887 GLRO(dl_platform) to NULL.
24888 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
24889 (modules-names): Add tst-platformmod-1 and
24890 x86_64/tst-platformmod-2.
24891 (CFLAGS-tst-platform-1.c): New.
24892 (CFLAGS-tst-platformmod-1.c): Likewise.
24893 (CFLAGS-tst-platformmod-2.c): Likewise.
24894 (LDFLAGS-tst-platformmod-2.so): Likewise.
24895 ($(objpfx)tst-platform-1): Likewise.
24896 ($(objpfx)tst-platform-1.out): Likewise.
24897 (tst-platform-1-ENV): Likewise.
24898 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
24899 * sysdeps/x86_64/tst-platform-1.c: New file.
24900 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
24901 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
24903 2017-10-19 Mike FABIAN <mfabian@redhat.com>
24906 * locale/iso-639.def: Add Karbi.
24907 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
24908 * localedata/locales/mjw_IN: New file.
24910 2017-10-18 Joseph Myers <joseph@codesourcery.com>
24912 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
24913 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24914 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
24915 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
24916 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24917 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24918 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
24920 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24921 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24922 * manual/math.texi (Mathematics): Document additional architecture
24923 support for _Float128.
24924 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24925 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24926 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24927 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24928 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24929 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24930 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24931 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24932 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24933 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24934 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24935 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24936 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24937 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24938 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24940 2017-10-18 Renlin Li <renlin.li@arm.com>
24942 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
24943 _DYNAMIC symbol to calculate load address.
24945 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
24947 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
24948 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
24950 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
24951 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
24953 2017-10-18 Mike FABIAN <mfabian@redhat.com>
24956 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
24957 and improve readability by using more ASCII.
24958 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
24959 and improve readability by using more ASCII.
24961 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
24963 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
24964 not all targets support atomics on bool.
24966 2017-10-17 Joseph Myers <joseph@codesourcery.com>
24968 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
24969 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
24971 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24972 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
24973 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24974 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
24975 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24976 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
24978 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24980 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
24983 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24986 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
24987 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
24988 (do_check_remalloced_chunk): Fix build bug.
24989 (do_check_malloc_state): Add assert that checks arena->top.
24990 (malloc_consolidate): Remove initialization.
24991 (int_mallinfo): Remove call to malloc_consolidate.
24992 (__libc_mallopt): Clarify why malloc_consolidate is needed.
24994 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24996 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
24997 (have_fastchunks): Remove.
24998 (clear_fastchunks): Remove.
24999 (set_fastchunks): Remove.
25000 (malloc_state): Add have_fastchunks.
25001 (malloc_init_state): Use have_fastchunks.
25002 (do_check_malloc_state): Remove incorrect invariant checks.
25003 (_int_malloc): Use have_fastchunks.
25004 (_int_free): Likewise.
25005 (malloc_consolidate): Likewise.
25007 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25009 * malloc/malloc.c (tcache_put): Inline.
25010 (tcache_get): Inline.
25012 2017-10-17 Jordi Mallach <jordi@gnu.org>
25014 Aurelien Jarno <aurelien@aurel32.net>
25016 * localedata/locales/ca_ES@valencia: New file.
25017 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
25019 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
25022 * math/math.h: Let signbit use the builtin in C++ mode with gcc
25025 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25027 * scripts/build-many-glibcs.py (Context.add_all_configs):
25028 Add arm-linux-gnueabihf multiarch extra_glibcs.
25030 * sysdeps/generic/ifunc-init.h: New file.
25031 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
25033 2017-10-17 Mike FABIAN <mfabian@redhat.com>
25036 * localedata/locales/el_GR: Set n_cs_precedes to 0.
25037 * localedata/locales/el_CY: copy "el_GR" because it is identical.
25038 * stdlib/tst-strfmon_l.c: adapt test case.
25040 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25042 * sysdeps/generic/float128-abi.h: New file.
25043 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
25044 non-__prefixed symbols to ....
25045 * math/Versions: ... here. Include <float128-abi.h>.
25046 * stdlib/Versions ... and here. Include <float128-abi.h>
25048 2017-10-16 Florian Weimer <fweimer@redhat.com>
25050 * version.h (VERSION): Switch to ".9000" as the development
25053 2017-10-16 Florian Weimer <fweimer@redhat.com>
25056 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
25057 compat_symbol_reference to access non-default version.
25059 2017-10-16 Florian Weimer <fweimer@redhat.com>
25061 * malloc/Makefile (others-extras): Set to mcheck-init.o.
25063 2017-10-16 Carlos O'Donell <carlos@redhat.com>
25065 * include/shlib-compat.h (compat_symbol_reference): Update
25068 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25070 * math/Makefile (test-types): Add
25071 $(type-float128-$(float128-alias-fcts)).
25072 * math/test-float128.h (TYPE_STR): Define conditional on
25073 [FLT128_MANT_DIG == LDBL_MANT_DIG].
25074 (ULP_IDX): Likewise.
25075 (ULP_I_IDX): Likewise.
25077 * stdlib/strtold.c: Include <bits/floatn.h>
25078 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
25079 and later undefine as macro. Define as weak alias if
25081 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
25082 and later undefine as macro. Define as weak alias if
25084 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
25085 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
25086 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25087 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25088 Define and later undefine as macro. Define as weak alias if
25090 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
25092 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
25093 Define and later undefine as macro. Define as weak alias if
25095 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25096 Define and later undefine as macro. Define as weak alias if
25099 2017-10-15 Carlos O'Donell <carlos@redhat.com>
25101 * localedata/collate-test.c (allocate_arrays): Don't use \n in
25102 record_verbose messages.
25104 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
25107 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
25108 to silence -O3 -Wall warning with GCC 7.
25110 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
25112 * Makeconfig (+link-static-before-libc): Use the first of
25113 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
25114 * gmon/Makefile (tests): Add tst-gmon-static.
25115 (tests-static): Likewise.
25116 (CFLAGS-tst-gmon-static.c): New.
25117 (CRT-tst-gmon-static): Likewise.
25118 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
25119 (tst-gmon-static-ENV): Likewise.
25120 (tests-special): Likewise.
25121 ($(objpfx)tst-gmon-static.out): Likewise.
25122 (clean-tst-gmon-static-data): Likewise.
25123 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
25124 * gmon/tst-gmon-static-gprof.sh: New file.
25125 * gmon/tst-gmon-static.c: Likewise.
25127 2017-10-13 Carlos O'Donell <carlos@redhat.com>
25130 * locale/programs/linereader.c (get_string): Don't warn on
25131 non-symbolic character.
25134 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
25138 * locale/programs/record-status.h: New file
25139 * locale/programs/locale.c: Add comment.
25140 * locale/programs/charmap-dir.c: Don't include error.h.
25141 (charmap_opendir): Use record_error.
25142 * locale/programs/charmap.c: Don't include error.h.
25143 (charmap_read): Use record_error, and record_warning.
25144 (parse_charmap): Likewise.
25145 * locale/programs/ld-address.c: Don't include error.h.
25146 (address_finish): Use record_error, and record_warning.
25147 * locale/programs/ld-collate.c: Don't include error.h.
25148 (collate_finish): Use record_error, and record_error_at_line.
25149 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
25150 (ctype_class_new): Likewise.
25151 (ctype_map_new): Likewise.
25152 (set_one_default): Likewise.
25153 (set_class_defaults): Likewise.
25154 (translit_flatten): Likewise.
25155 (allocate_arrays): Use record_error, and record_verbose.
25156 * locale/programs/ld-identification.c: Don't include error.h.
25157 (indentation_finish): Use record_error and record_warning.
25158 * locale/programs/ld-measurement.c: Don't include error.h.
25159 (measurement_finish): Use record_error.
25160 * locale/programs/ld-messages.c
25161 (message_finish): Likewise.
25162 * locale/programs/ld-monetary.c
25163 (monetary_finish): Likewise.
25164 * locale/programs/ld-name.c (name_finish): Use record_error
25165 and record_warning.
25166 * locale/programs/ld-numeric.c
25167 (numeric_finish): Use record_error.
25168 * locale/programs/ld-paper.c: Don't include error.h.
25169 (paper_finish): Use record_error.
25170 * locale/programs/ld-telephone.c: Don't include error.h.
25171 (telephone_finish): Use record_error.
25172 * locale/programs/ld-time.c (time_finish): Likewise.
25173 * locale/programs/linereader.h (lr_error): Make inline func.
25174 * locale/programs/localedef.c: Define recorded_warning_count,
25175 and recorded_error_count.
25176 (main): Use record_error. Use recorded_error_count and
25177 recorded_warning_count to issue correct error returns.
25178 (add_to_readlist): Use record_error.
25179 (find_locale): Likewise.
25180 (load_locale): Likewise.
25181 * locale/programs/localedef.h: Remove be_quiet
25182 and WITH_CUR_LOCALE.
25183 * locale/programs/locarchive.c (compare_from_file): Use
25185 * locale/programs/locfile.c (write_locale_data): Use
25187 * locale/programs/repertoire.c: Dont include error.h.
25188 (repertoire_complain): Use record_error.
25189 * localedata/tst-fmon.sh: Expect failures from localedef.
25190 * localedata/tst-locale.sh: Likewise.
25191 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
25193 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
25194 (REPORTS): Likewise.
25196 (i18n): Rename to...
25197 (i18n_ctype): ...this.
25198 (i18n-report): Rename to...
25199 (i18n_ctype-report): ...this.
25200 * localedata/locales/i18n_ctype: Regenerate.
25201 * localedata/locales/i18n: copy i18n_ctype.
25203 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25205 * stdlib/strfroml.c: Include <bits/floatn.h>.
25206 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
25207 Define before include of <stdlib.h> and undefine afterwards, then
25208 define as weak alias.
25210 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
25211 Undefine and restore default definition. Use
25212 libm_alias_ldouble_other.
25214 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
25217 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
25220 2017-10-13 James Clarke <jrtc27@jrtc27.com>
25222 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25223 Assign sym_map to be map for local symbols, as TLS relocations
25224 use sym_map to determine whether the symbol is defined and to
25225 extract the TLS information.
25226 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25227 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25229 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25232 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
25233 (math_force_eval): Add powerpc version.
25236 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
25238 (do_test): Likewise.
25239 * stdio-common/tst-printf.sh: Likewise.
25240 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
25241 ifdef clause in order to set the carry bit right. Replace r0 by
25242 0 without changing the behavior.
25244 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25246 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
25247 <libm-alias-ldouble.h>.
25248 (fabsl): Define using libm_alias_ldouble.
25249 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
25250 <libm-alias-ldouble.h>.
25251 (fabsl): Define using libm_alias_ldouble.
25253 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
25254 Remove conditional code.
25256 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
25257 Rename to __clog10_internal_l.
25258 (__clog10_internal_l): Define aliases using
25259 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
25262 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25264 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
25265 * benchtests/sincosf-inputs: New file.
25266 * benchtests/cosf-inputs: New file.
25267 * benchtests/sinf-inputs: New file.
25269 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25271 * posix/tst-spawn.c (do_test): Wait for both children.
25273 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
25276 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
25277 tests-pie): Add tst-gmon-pie.
25278 (CFLAGS-tst-gmon-pie.c): New.
25279 (CRT-tst-gmon-pie): Likewise.
25280 (tst-gmon-pie-ENV): Likewise.
25281 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
25282 ($(objpfx)tst-gmon-pie.out): Likewise.
25283 (clean-tst-gmon-pie-data): Likewise.
25284 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
25285 * gmon/gmon.c [PIC]: Include <link.h>.
25286 [PIC] (callback): New function.
25287 (write_hist): Add an argument for load address. Subtract load
25289 (write_call_graph): Likewise.
25290 (write_gmon): Call __dl_iterate_phdr to get load address, pass
25291 it to write_hist and write_call_graph.
25292 * gmon/tst-gmon-pie.c: New file.
25294 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25296 * math/Makefile (test-types-basic): New variable.
25297 (test-types): Likewise.
25298 (libm-test-support): Use $(test-types) instead of $(types).
25299 (libm-tests-base-normal): Likewise.
25300 (libm-tests-base-finite): Likewise.
25301 (libm-tests-base-inline): Likewise.
25302 (generated): Likewise.
25303 ($(objpfx)libm-test-support-$(t).c): Likewise.
25304 (libm-tests-for-type iterator): Likewise.
25305 (libm-test-support iterator): Likewise.
25306 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
25307 (ulp_idx): Use ULP_IDX.
25308 * math/test-ldouble.h: Include <float.h>.
25309 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
25310 (ULP_IDX): New macro.
25311 (ULP_I_IDX): Likewise.
25312 * math/test-double.h (ULP_IDX): Likewise.
25313 (ULP_I_IDX): Likewise.
25314 * math/test-float.h (ULP_IDX): Likewise.
25315 (ULP_I_IDX): Likewise.
25316 * math/test-float128.h (ULP_IDX): Likewise.
25317 (ULP_I_IDX): Likewise.
25319 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25321 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
25322 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25323 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25324 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
25325 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25326 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
25327 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
25328 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25329 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25330 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25331 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
25332 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25333 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25334 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25335 (SINGLE_THREAD_BY_GLOBAL): Define.
25336 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25338 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25340 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25342 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25344 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
25345 (SINGLE_THREAD_BY_GLOBAL): Likewise.
25346 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25349 2017-10-11 Andreas Schwab <schwab@suse.de>
25351 * nis/Makefile (aux): Remove.
25352 * nscd/Makefile (aux): Add nscd_hash.
25353 (nscd-modules): Likewise.
25354 ($(objpfx)nscd): Don't depend on libnsl.
25355 * nscd/nscd_hash.c: New file.
25356 * nscd/nscd_hash.h: Likewise.
25357 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
25358 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
25359 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
25360 instead of <nis/rpcsvc/nis.h>.
25361 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
25363 2017-10-11 Florian Weimer <fweimer@redhat.com>
25366 Avoid large NSS buffers with many addresses, aliases.
25367 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
25368 using dynarrays and struct alloc_buffer.
25369 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
25370 (tst-nss-files-hosts-multi): Link with -ldl.
25371 * nss/tst-nss-files-hosts-multi.c: New file.
25373 2017-10-11 Florian Weimer <fweimer@redhat.com>
25376 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
25377 scratch_buffer. Eliminate gotos.
25379 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25381 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
25382 libm_alias_ldouble_other.
25383 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
25384 undefine and redefine.
25385 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25386 (exp10l): Do not define here.
25387 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
25388 (weak_alias): Undefine and redefine.
25389 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
25390 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25391 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
25392 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
25394 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
25395 [!__fma] (fma): Define using libm_alias_double.
25396 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
25397 [!__fmaf] (fmaf): Define using libm_alias_float.
25398 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
25399 (fmal): Define using libm_alias_ldouble.
25401 2017-10-10 Joseph Myers <joseph@codesourcery.com>
25403 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
25405 (libm_alias_double_other): Likewise.
25406 (libm_alias_double_r): Use libm_alias_double_other_r.
25407 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
25409 (libm_alias_float_other): Likewise.
25410 (libm_alias_float_r): Use libm_alias_float_other_r.
25411 * sysdeps/generic/libm-alias-float128.h
25412 (libm_alias_float128_other_r): New macro.
25413 (libm_alias_float128_other): Likewise.
25414 (libm_alias_float128_r): Use libm_alias_float128_other_r.
25415 * sysdeps/generic/libm-alias-ldouble.h
25416 (libm_alias_ldouble_other_r): New macro.
25417 (libm_alias_ldouble_other): Likewise.
25418 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25419 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25420 (libm_alias_double_other_r): New macro.
25421 (libm_alias_double_other): Likewise.
25422 (libm_alias_double_r): Use libm_alias_double_other_r.
25423 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25424 (libm_alias_ldouble_other_r): New macro.
25425 (libm_alias_ldouble_other): Likewise.
25426 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25427 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
25428 [!USE_AS_COMPAT]: Use libm_alias_double_other.
25429 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
25430 [!USE_AS_COMPAT]: Use libm_alias_float_other.
25431 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
25432 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
25433 * math/w_exp2f.c: Use libm_alias_float_other.
25434 * math/w_expf.c: Likewise.
25435 * math/w_log2f.c: Likewise.
25436 * math/w_logf.c: Likewise.
25437 * math/w_powf.c: Likewise.
25438 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
25439 [!__exp2f]: Use libm_alias_float_other.
25440 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
25441 [!__expf]: Use libm_alias_float_other.
25442 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
25443 [!__log2f]: Use libm_alias_float_other.
25444 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
25445 [!__logf]: Use libm_alias_float_other.
25446 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
25447 [!__powf]: Use libm_alias_float_other.
25449 2017-10-10 Florian Weimer <fweimer@redhat.com>
25451 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
25453 (_nss_files_gethostbyname3_r): Call it.
25455 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25457 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
25458 error. Remove default definition of declare_mgen_alias.
25459 [!declare_mgen_alias_r]: Likewise.
25460 * sysdeps/generic/math-type-macros-double.h
25461 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
25462 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
25463 (declare_mgen_alias_r): Likewise.
25464 * sysdeps/generic/math-type-macros-float128.h
25465 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25466 * sysdeps/generic/math-type-macros-ldouble.h
25467 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25468 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
25470 (declare_mgen_alias_r_s): Likewise.
25471 (declare_mgen_alias_r): Likewise.
25472 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
25473 (lgamma_r): Define using libm_alias_double_r.
25474 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
25475 (lgammaf_r): Define using libm_alias_float_r.
25476 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
25477 (lgammal_r): Define using libm_alias_ldouble_r.
25478 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
25479 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25481 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25483 * lib/glob.c (__glob_pattern_type): Remove now-spurious
25484 extern declaration.
25486 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25488 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
25490 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
25493 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
25494 [__cplusplus >= 201103] (__USE_ISOC99): Define.
25495 * math/Makefile (test-math-cxx11): New test.
25496 * math/test-math-cxx11.cc: New file.
25498 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
25500 * login/openpty.c (openpty): Close slave pty file descriptor on error.
25502 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
25503 call to allocate the slave pty file descriptor.
25505 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25507 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
25508 [!__fma] (fma): Define using libm_alias_double.
25509 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
25510 [!__fma] (fma): Define using libm_alias_double.
25512 * sysdeps/ieee754/float128/float128_private.h: Include
25513 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
25514 (libm_alias_ldouble_r): Undefine and redefine.
25515 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
25516 <libm-alias-ldouble.h>.
25517 (asinhl): Define using libm_alias_ldouble.
25518 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
25519 <libm-alias-ldouble.h>.
25520 (atanl): Define using libm_alias_ldouble.
25521 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
25522 <libm-alias-ldouble.h>.
25523 (cbrtl): Define using libm_alias_ldouble.
25524 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
25525 <libm-alias-ldouble.h>.
25526 (ceill): Define using libm_alias_ldouble.
25527 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
25528 <libm-alias-ldouble.h>.
25529 (copysignl): Define using libm_alias_ldouble.
25530 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
25531 <libm-alias-ldouble.h>.
25532 (cosl): Define using libm_alias_ldouble.
25533 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
25534 <libm-alias-ldouble.h>.
25535 (erfl): Define using libm_alias_ldouble.
25537 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
25538 <libm-alias-ldouble.h>.
25539 (expm1l): Define using libm_alias_ldouble.
25540 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
25541 <libm-alias-ldouble.h>.
25542 (fabsl): Define using libm_alias_ldouble.
25543 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
25544 <libm-alias-ldouble.h>.
25545 (floorl): Define using libm_alias_ldouble.
25546 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
25547 <libm-alias-ldouble.h>.
25548 (fmal): Define using libm_alias_ldouble.
25549 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
25550 <libm-alias-ldouble.h>.
25551 (frexpl): Define using libm_alias_ldouble.
25552 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
25553 libm_alias_ldouble.
25554 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
25555 <libm-alias-ldouble.h>.
25556 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
25557 libm_alias_ldouble.
25558 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
25559 <libm-alias-ldouble.h>.
25560 (getpayloadl): Define using libm_alias_ldouble.
25561 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
25562 <libm-alias-ldouble.h>.
25563 (llrintl): Define using libm_alias_ldouble.
25564 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
25565 <libm-alias-ldouble.h>.
25566 (llroundl): Define using libm_alias_ldouble.
25567 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
25568 <libm-alias-ldouble.h>.
25569 (logbl): Define using libm_alias_ldouble.
25570 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
25571 <libm-alias-ldouble.h>.
25572 (lrintl): Define using libm_alias_ldouble.
25573 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
25574 <libm-alias-ldouble.h>.
25575 (lroundl): Define using libm_alias_ldouble.
25576 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
25577 <libm-alias-ldouble.h>.
25578 (modfl): Define using libm_alias_ldouble.
25579 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
25580 <libm-alias-ldouble.h>.
25581 (nearbyintl): Define using libm_alias_ldouble.
25582 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
25583 <libm-alias-ldouble.h>.
25584 (nextafterl): Define using libm_alias_ldouble.
25585 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
25586 <libm-alias-ldouble.h>.
25587 (nextupl): Define using libm_alias_ldouble.
25588 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
25589 <libm-alias-ldouble.h>.
25590 (remquol): Define using libm_alias_ldouble.
25591 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
25592 <libm-alias-ldouble.h>.
25593 (rintl): Define using libm_alias_ldouble.
25594 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
25595 <libm-alias-ldouble.h>.
25596 (roundevenl): Define using libm_alias_ldouble.
25597 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
25598 <libm-alias-ldouble.h>.
25599 (roundl): Define using libm_alias_ldouble.
25600 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
25601 using libm_alias_ldouble.
25602 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
25603 <libm-alias-ldouble.h>.
25604 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
25605 Define using libm_alias_ldouble.
25606 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
25607 <libm-alias-ldouble.h>.
25608 (sincosl): Define using libm_alias_ldouble.
25609 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
25610 <libm-alias-ldouble.h>.
25611 (sinl): Define using libm_alias_ldouble.
25612 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
25613 <libm-alias-ldouble.h>.
25614 (tanhl): Define using libm_alias_ldouble.
25615 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
25616 <libm-alias-ldouble.h>.
25617 (tanl): Define using libm_alias_ldouble.
25618 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
25619 <libm-alias-ldouble.h>.
25620 (totalorderl): Define using libm_alias_ldouble.
25621 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
25622 <libm-alias-ldouble.h>.
25623 (totalordermagl): Define using libm_alias_ldouble.
25624 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
25625 <libm-alias-ldouble.h>.
25626 (truncl): Define using libm_alias_ldouble.
25627 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
25628 libm_alias_ldouble.
25629 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
25630 libm_alias_ldouble.
25631 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
25632 <libm-alias-ldouble.h>.
25633 (weak_alias): Do not undefine and redefine.
25634 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25635 (copysignl): Define with long_double_symbol only if [IS_IN
25637 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
25638 <libm-alias-ldouble.h>.
25639 (weak_alias): Do not undefine and redefine.
25640 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25641 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
25642 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
25643 <libm-alias-ldouble.h>.
25644 (weak_alias): Do not undefine and redefine.
25645 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25646 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
25647 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
25648 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
25649 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
25650 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
25651 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
25652 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
25653 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
25654 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
25655 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
25656 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
25657 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
25658 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
25659 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
25660 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
25661 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
25662 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
25663 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
25664 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
25665 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
25666 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
25667 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
25668 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
25669 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
25670 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
25672 2017-10-06 Carlos O'Donell <carlos@redhat.com>
25675 * malloc/malloc.c (tcache_shutting_down): Use bool type.
25676 (tcache_thread_freeres): Set tcache_shutting_down before
25677 freeing the tcache.
25678 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
25679 * malloc/tst-malloc-tcache-leak.c: New file.
25681 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25683 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
25684 back to powerpc32 file.
25685 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25686 (memrchr): Add __memrchr_power8 to ifunc list.
25687 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
25688 extra bytes for unaligned inputs.
25690 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25692 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
25693 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
25694 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
25695 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25696 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25698 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25700 * sysdeps/arm/libm-test-ulps: Update.
25702 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
25703 <libm-alias-ldouble.h>.
25704 (asinhl): Define using libm_alias_ldouble.
25705 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
25706 <libm-alias-ldouble.h>.
25707 (cbrtl): Define using libm_alias_ldouble.
25708 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
25709 <libm-alias-ldouble.h>.
25710 (copysignl): Define using libm_alias_ldouble.
25711 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
25712 <libm-alias-ldouble.h>.
25713 (cosl): Define using libm_alias_ldouble.
25714 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
25715 <libm-alias-ldouble.h>.
25716 (erfl): Define using libm_alias_ldouble.
25718 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
25719 <libm-alias-ldouble.h>.
25720 (fmal): Define using libm_alias_ldouble.
25721 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
25722 <libm-alias-ldouble.h>.
25723 (frexpl): Define using libm_alias_ldouble.
25724 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
25725 libm_alias_ldouble.
25726 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
25727 <libm-alias-ldouble.h>.
25728 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
25729 libm_alias_ldouble.
25730 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
25731 <libm-alias-ldouble.h>.
25732 (getpayloadl): Define using libm_alias_ldouble.
25733 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
25734 <libm-alias-ldouble.h>.
25735 (llrintl): Define using libm_alias_ldouble.
25736 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
25737 <libm-alias-ldouble.h>.
25738 (llroundl): Define using libm_alias_ldouble.
25739 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
25740 <libm-alias-ldouble.h>.
25741 (lrintl): Define using libm_alias_ldouble.
25742 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
25743 <libm-alias-ldouble.h>.
25744 (lroundl): Define using libm_alias_ldouble.
25745 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
25746 <libm-alias-ldouble.h>.
25747 (modfl): Define using libm_alias_ldouble.
25748 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
25749 <libm-alias-ldouble.h>.
25750 (nextupl): Define using libm_alias_ldouble.
25751 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
25752 <libm-alias-ldouble.h>.
25753 (remquol): Define using libm_alias_ldouble.
25754 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
25755 <libm-alias-ldouble.h>.
25756 (roundevenl): Define using libm_alias_ldouble.
25757 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
25758 <libm-alias-ldouble.h>.
25759 (roundl): Define using libm_alias_ldouble.
25760 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
25761 using libm_alias_ldouble.
25762 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
25763 <libm-alias-ldouble.h>.
25764 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
25765 <libm-alias-ldouble.h>.
25766 (setpayloadsigl): Define using libm_alias_ldouble.
25767 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
25768 <libm-alias-ldouble.h>.
25769 (sincosl): Define using libm_alias_ldouble.
25770 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
25771 <libm-alias-ldouble.h>.
25772 (sinl): Define using libm_alias_ldouble.
25773 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
25774 <libm-alias-ldouble.h>.
25775 (tanhl): Define using libm_alias_ldouble.
25776 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
25777 <libm-alias-ldouble.h>.
25778 (tanl): Define using libm_alias_ldouble.
25779 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
25780 <libm-alias-ldouble.h>.
25781 (totalorderl): Define using libm_alias_ldouble.
25782 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
25783 <libm-alias-ldouble.h>.
25784 (totalordermagl): Define using libm_alias_ldouble.
25785 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
25786 libm_alias_ldouble.
25787 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
25788 libm_alias_ldouble.
25790 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
25792 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
25794 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25795 (__libc_ifunc_impl_list): Likewise.
25796 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
25797 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
25799 * benchtests/bench-memmove-walk.c: New file.
25800 * benchtests/Makefile (string-benchset): Add it.
25802 * benchtests/bench-memset-walk.c: New file.
25803 * benchtests/Makefile (string-benchset): Add it.
25805 * benchtests/bench-memcpy-walk.c: New file.
25806 * benchtests/Makefile (string-benchset): Add it.
25808 2017-10-05 Florian Weimer <fweimer@redhat.com>
25810 nscd: Eliminate compilation time dependency in the build output.
25811 * nscd/nscd_stat.c (STATDATA_VERSION)
25812 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
25813 (STATDATA_VERSION_FULL): New macro definitions.
25814 (compilation): Remove.
25815 (struct statdata): Adjust version member.
25816 (send_stats): Set version from STATDATA_VERSION_FULL.
25817 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
25819 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25821 * configure.ac (--enable-add-ons): Remove option.
25822 (machine): Do not mention add-ons in comment.
25823 (LIBC_PRECONFIGURE): Likewise.
25824 (add_ons): Remove variable and sanity checks and logic to locate
25826 (add_ons_automatic): Remove variable.
25827 (configured_add_ons): Likewise.
25828 (add_ons_sfx): Likewise.
25829 (add_ons_pfx): Likewise.
25830 (add_on_subdirs): Likewise.
25831 (sysnames_add_ons): Likewise. Remove loop over add-ons and
25832 consideration of add-ons in Implies handling.
25833 (sysdeps_add_ons): Likewise.
25834 * configure: Regenerated.
25835 * libidn/configure.ac: Remove.
25836 * libidn/configure: Likewise.
25837 * sysdeps/unix/inet/configure.ac: New file.
25838 * sysdeps/unix/inet/configure: New generated file.
25839 * sysdeps/unix/inet/Subdirs: Add libidn.
25840 * Makeconfig (sysdeps-srcdirs): Remove variable.
25841 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
25842 ($(common-objpfx)config.status): Do not depend on add-on files.
25843 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
25845 (all-subdirs): Do not include $(add-on-subdirs).
25846 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
25847 * config.make.in (add-ons): Remove variable.
25848 (add-on-subdirs): Likewise.
25849 (sysdeps-add-ons): Likewise.
25850 * manual/Makefile (add-chapters): Remove.
25851 ($(objpfx)texis): Do not depend on $(add-chapters).
25852 (nonexamples): Do not handle $(add-chapters).
25853 (examples): Do not handle $(add-ons).
25854 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
25856 * manual/install.texi (Installation): Do not mention add-ons.
25857 (--enable-add-ons): Do not document configure option.
25858 * INSTALL: Regenerated.
25859 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
25860 * manual/maint.texi (Hierarchy Conventions): Do not mention
25862 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
25864 * scripts/gen-sorted.awk: Do not handle Subdirs files from
25866 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
25867 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
25869 2017-10-05 Andreas Schwab <schwab@suse.de>
25872 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
25873 (_IO_flush_all_lockp): Always lock list_all_lock.
25874 (_IO_flush_all_linebuffered): Likewise.
25875 (_IO_unbuffer_all): Likewise.
25877 2017-10-05 Florian Weimer <fweimer@redhat.com>
25880 Do not flush stdio streams on abort.
25881 * stdlib/abort.c (fflush): Remove macro definition.
25882 (abort): Remove stages related to stdio flushing.
25884 2017-10-05 Florian Weimer <fweimer@redhat.com>
25886 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
25888 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
25890 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25892 2017-10-05 Florian Weimer <fweimer@redhat.com>
25894 * support/support_format_hostent.c (support_format_hostent): Add
25895 more error information for NETDB_INTERNAL.
25897 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25899 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
25900 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
25901 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
25902 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
25903 AC_DEFINE if multi-arch is enabled.
25904 * sysdeps/i386/configure: Regenerated.
25906 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25908 * Makeconfig (+link-static-before-libc): Use
25909 $(DEFAULT-LDFLAGS-$(@F)).
25910 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
25911 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
25912 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
25914 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25916 * elf/Makefile (tests): Add tst-main1.
25917 (modules-names): Add tst-main1mod.
25918 ($(objpfx)tst-main1): New.
25919 (CRT-tst-main1): Likewise.
25920 (LDFLAGS-tst-main1): Likewise.
25921 (LDLIBS-tst-main1): Likewise.
25922 (tst-main1mod.so-no-z-defs): Likewise.
25923 * elf/tst-main1.c: New file.
25924 * elf/tst-main1mod.c: Likewise.
25926 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25928 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
25930 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25932 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
25933 (fma): Define using libm_alias_double.
25934 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
25935 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
25937 (fmal): Do not define as compat symbol here.
25938 * sysdeps/alpha/fpu/s_fma.c: New file.
25940 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25942 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
25944 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25947 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
25949 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25951 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
25952 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25953 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
25954 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
25955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25956 Include <math_ldbl_opt.h>
25957 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25959 (compat_symbol): Undefine and redefine.
25960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25962 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25963 (compat_symbol): Undefine and redefine.
25964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
25965 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
25966 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
25967 GLIBC_2_1 for libm.
25968 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
25969 GLIBC_2.0 copysignl symbol.
25970 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
25971 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
25973 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
25975 2017-10-04 Florian Weimer <fweimer@redhat.com>
25977 * scripts/check-local-headers.sh: Ignore nspr4 header file
25978 directory in addition to nspr.
25980 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
25983 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
25984 * configure: Regenerate.
25985 * crypt/Makefile (nss-cpp-flags): New variable.
25986 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
25987 (CPPFLAGS-md5-crypt.c): Use it.
25988 * scripts/check-local-headers.sh: Ignore nspr header file
25991 2017-10-04 Andreas Schwab <schwab@suse.de>
25993 * nis/Makefile (services): Remove compat.
25994 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
25995 ($(objpfx)libnss_compat.so): Remove rule.
25996 * nis/Versions (libnss_compat): Remove.
25997 * nss/Makefile (services): Add compat.
25998 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
25999 * nss/Versions (libnss_compat): Define.
26000 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
26001 Don't include <rpc/types.h>. Replace bool_t by bool.
26002 * nss/nss_compat/compat-initgroups.c: Likewise.
26003 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
26004 instead of <rpcsrv/ypclnt.h>.
26005 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
26006 yp_get_default_domain.
26007 * nss/nss_compat/compat-pwd.c: Likewise.
26008 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
26009 yp_get_default_domain.
26010 * nss/nss_compat/nisdomain.c: New file.
26011 * nss/nss_compat/nisdomain.h: Likewise.
26013 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26016 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
26017 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26019 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26022 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
26023 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
26025 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26027 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
26028 "movl main@GOTOFF(%ebx), %eax".
26030 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26032 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
26033 allow undefined _DYNAMIC in PIE libc.a.
26034 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26037 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26039 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
26042 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26044 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
26047 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26049 * math/test-math-iscanonical.cc (error): Replace bool with int.
26051 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26053 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
26054 (modf): Define using libm_alias_double, only if [!__modf].
26055 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
26056 <libm-alias-double.h>.
26057 (modf): Define using libm_alias_double, only if [!__modf].
26058 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
26059 compat symbol here.
26060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
26061 (weak_alias): Do not undefine and redefine.
26062 (strong_alias): Likewise.
26063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
26064 (weak_alias): Likewise.
26065 (strong_alias): Likewise.
26067 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
26068 (logb): Define using libm_alias_double, only if [!__logb].
26069 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
26070 <libm-alias-double.h>.
26071 (logb): Define using libm_alias_double, only if [!__logb].
26072 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
26073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
26074 (weak_alias): Do not undefine and redefine.
26075 (strong_alias): Likewise.
26076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
26077 (weak_alias): Likewise.
26078 (strong_alias): Likewise.
26080 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26082 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
26083 Check SHARED instead PIC.
26085 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26087 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
26088 [!__fmaf] (fmaf): Define using libm_alias_float.
26090 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
26091 (frexp): Define using libm_alias_double.
26092 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
26093 <libm-alias-double.h>.
26094 (frexp): Define using libm_alias_double.
26095 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
26096 compat symbol here.
26098 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26101 * math/math.h: Trivial fix for unbalanced parentheses in comment.
26102 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
26103 (CFLAGS-test-math-iscanonical.cc): New variable.
26104 * math/test-math-iscanonical.cc: New file.
26105 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
26106 Provide a C++ implementation based on function overloading,
26107 rather than using __MATH_TG, which uses C-only builtins.
26108 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
26110 * sysdeps/powerpc/powerpc64le/Makefile
26111 (CFLAGS-test-math-iscanonical.cc): New variable.
26113 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26115 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
26116 (ceil): Define using libm_alias_double.
26117 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
26118 (floor): Define using libm_alias_double.
26119 * sysdeps/ieee754/dbl-64/s_llround.c: Include
26120 <libm-alias-double.h>.
26121 (llround): Define using libm_alias_double.
26122 * sysdeps/ieee754/dbl-64/s_lround.c: Include
26123 <libm-alias-double.h>.
26124 (lround): Define using libm_alias_double.
26125 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
26126 <libm-alias-double.h>.
26127 (nearbyint): Define using libm_alias_double.
26128 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
26129 <libm-alias-double.h>.
26130 (remquo): Define using libm_alias_double.
26131 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
26132 (rint): Define using libm_alias_double.
26133 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
26134 (round): Define using libm_alias_double.
26135 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
26136 (trunc): Define using libm_alias_double.
26137 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
26138 <libm-alias-double.h>.
26139 (ceil): Define using libm_alias_double.
26140 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
26141 <libm-alias-double.h>.
26142 (floor): Define using libm_alias_double.
26143 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
26144 <libm-alias-double.h>.
26145 (llround): Define using libm_alias_double.
26146 [_LP64] (lround): Likewise.
26147 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
26148 <libm-alias-double.h>.
26149 [!_LP64] (lround): Define using libm_alias_double.
26150 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
26151 <libm-alias-double.h>.
26152 (nearbyint): Define using libm_alias_double.
26153 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
26154 <libm-alias-double.h>.
26155 (remquo): Define using libm_alias_double.
26156 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
26157 <libm-alias-double.h>.
26158 (rint): Define using libm_alias_double.
26159 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
26160 <libm-alias-double.h>.
26161 (round): Define using libm_alias_double.
26162 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
26163 <libm-alias-double.h>.
26164 (trunc): Define using libm_alias_double.
26165 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
26166 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
26167 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
26168 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
26169 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
26170 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
26171 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
26172 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
26173 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
26175 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26177 * math/w_remainder.c: New file.
26178 * math/w_remainderf.c: New file.
26179 * math/w_remainderl.c: New file.
26181 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26183 * elf/rtld.c (BOOTSTRAP_MAP): New.
26184 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
26185 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26187 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26189 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26192 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
26194 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
26195 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
26196 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
26197 rtld_hidden_data_ver): Define to empty.
26198 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
26199 __assert_perror_fail): Likewise.
26200 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26201 (__rewinddir): Likewise.
26202 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26203 (__profile_frequency): Likewise.
26204 * include/setjmp.h (__sigsetjmp): Likewise.
26205 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
26206 __libc_sigaction): Likewise.
26207 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
26208 not set hidden attribute.
26209 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
26210 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
26211 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
26212 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
26213 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
26214 __fxstatat64): Likewise.
26215 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26216 (__uname): Likewise.
26217 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26218 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
26219 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
26220 (NO_RTLD_HIDDEN): Set.
26221 * sysdeps/mach/hurd/configure: Refresh.
26222 * config.h.in: Refresh.
26224 2017-10-02 Joseph Myers <joseph@codesourcery.com>
26226 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
26227 (atan): Define using libm_alias_double.
26228 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
26229 (tan): Define using libm_alias_double.
26230 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
26231 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
26233 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
26234 define as weak alias of __atan. Do not define any aliases if
26236 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
26237 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
26238 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
26239 as weak alias of __tan. Do not define any aliases if [__tan].
26240 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
26241 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
26242 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
26244 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
26245 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
26246 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
26247 and define as weak alias of __atan.
26248 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
26250 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
26251 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
26252 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
26253 define as weak alias of __tan.
26255 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26257 * math/w_lgamma.c: New file.
26258 * math/w_lgammaf.c: New file.
26259 * math/w_lgammal.c: New file.
26261 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26263 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
26264 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
26265 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
26266 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
26267 * sysdeps/ieee754/flt-32/w_logf.c: New file.
26268 * sysdeps/ieee754/flt-32/w_powf.c: New file.
26269 * sysdeps/i386/fpu/w_log2f.c: New file.
26270 * sysdeps/i386/fpu/w_logf.c: New file.
26271 * sysdeps/i386/fpu/w_powf.c: New file.
26272 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
26273 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
26274 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
26276 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26277 H.J. Lu <hongjiu.lu@intel.com>
26279 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
26280 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
26281 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
26282 * sysdeps/ieee754/flt-32/w_expf.c: New file.
26283 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
26285 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
26286 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
26287 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
26288 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
26289 * sysdeps/i386/fpu/w_exp2f.c: New file.
26290 * sysdeps/i386/fpu/w_expf.c: New file.
26291 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
26292 * sysdeps/x86_64/fpu/w_expf.c: New file.
26294 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26296 * math/Versions (logf): New libm symbol at GLIBC_2.27.
26299 * math/w_log2f.c: New file.
26300 * math/w_logf.c: New file.
26301 * math/w_powf.c: New file.
26302 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
26303 * math/w_logf_compat.c (__logf_compat): Likewise.
26304 * math/w_powf_compat.c (__powf_compat): Likewise.
26305 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
26306 * sysdeps/ia64/fpu/e_logf.S: Likewise.
26307 * sysdeps/ia64/fpu/e_powf.S: Likewise.
26308 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26309 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26310 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26311 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26312 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26313 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26314 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26315 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26316 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26317 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26318 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26319 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26328 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26329 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26330 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26331 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26332 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26335 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26337 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26338 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26339 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26341 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26343 * sysdeps/powerpc/powerpc64/multiarch/Makefile
26344 (sysdep_routines): Add memrchr_power8.
26345 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26346 (memrchr): Add __memrchr_power8 to list of memrchr functions.
26347 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
26349 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26350 (memrchr): Add __memrchr_power8 to ifunc list.
26351 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
26353 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26356 * sysdeps/unix/sysv/linux/posix_fadvise64.c
26357 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
26359 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26360 (__posix_fallocate64_l64): Likewise.
26362 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26365 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26366 (__sched_setaffinity_new): Add libc_hidden_proto and
26369 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26372 * include/glob.h (__glob64): Add libc_hidden_proto.
26373 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
26376 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26379 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
26382 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26385 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
26387 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26390 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
26393 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26396 * csu/version.c (__libc_print_version): Add attribute_hidden.
26398 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26401 * include/libc-internal.h (__init_misc): Add attribute_hidden.
26403 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26406 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
26408 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26411 * nscd/nscd_helper.c (__nis_hash): New prototype.
26413 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26416 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
26417 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
26419 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26420 * termios/tcgetattr.c (__tcgetattr): Likewise.
26422 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26425 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
26426 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
26427 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
26428 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
26429 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
26431 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26434 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
26436 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26439 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
26440 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
26442 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26445 * intl/hash-string.h (__hash_string): Add attribute_hidden.
26447 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26450 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
26451 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
26453 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26456 * include/ifreq.h: New file.
26457 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
26458 (__ifreq): Likewise.
26459 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
26460 (__ifreq): Likewise.
26462 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26465 * include/idna.h: New file.
26466 * inet/getnameinfo.c: Include <idna.h> instead of
26468 (__idna_to_unicode_lzlz): Removed.
26469 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
26471 (__idna_to_ascii_lz): Removed.
26472 (__idna_to_unicode_lzlz): Likewise.
26474 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26477 * include/plural-exp.h: New file.
26478 * intl/plural-exp.c: Include <plural-exp.h> instead of
26481 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26484 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
26485 "getsourcefilter.h".
26486 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
26487 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
26488 "getsourcefilter.h".
26489 (__get_sol): Removed.
26491 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26494 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
26496 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
26498 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26501 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
26504 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26507 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
26509 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26512 * include/search.h (__tdestroy): Add libc_hidden_proto.
26513 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
26515 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26518 * include/assert.h (__assert_fail_base): Add attribute_hidden.
26520 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26523 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
26526 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26529 * include/signal.h (__kill): Add libc_hidden_proto.
26530 (__sigblock): Likewise.
26531 (__sigprocmask): Likewise.
26532 (__sigaltstack): Likewise.
26533 * signal/kill.c (__kill): Add libc_hidden_def.
26534 * signal/sigblock.c (__sigblock): Likewise.
26535 * signal/sigprocmask.c (__sigprocmask): Likewise.
26536 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
26537 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26538 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26539 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26540 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
26542 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26544 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26545 (__sigprocmask): Likewise.
26546 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
26548 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26549 (__sigprocmask): Likewise.
26550 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26553 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26556 * include/string.h (__strsep): Add libc_hidden_proto.
26557 * string/strsep.c (__strsep): Add libc_hidden_def.
26559 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26562 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
26564 (__spawni): Likewise.
26566 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26569 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
26570 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
26573 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26576 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
26578 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26581 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
26582 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
26583 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
26584 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
26585 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
26587 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
26588 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
26590 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26593 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
26594 (__dcigettext): Likewise.
26596 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26599 * include/sys/sysinfo.h (__get_nprocs_conf): Add
26601 (__get_nprocs): Likewise.
26602 (__get_phys_pages): Likewise.
26603 (__get_avphys_pages): Likewise.
26604 (__get_child_max): Add attribute_hidden.
26605 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
26606 (__get_nprocs): Likewise.
26607 (__get_phys_pages): Likewise.
26608 (__get_avphys_pages): Likewise.
26609 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
26611 (__get_nprocs): Likewise.
26612 (__get_phys_pages): Likewise.
26613 (__get_avphys_pages): Likewise.
26614 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
26616 (__get_nprocs_conf): Likewise.
26617 (__get_phys_pages): Likewise.
26618 (__get_avphys_pages): Likewise.
26620 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26623 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
26625 (__netlink_close): Likewise.
26626 (__netlink_free_handle): Likewise.
26627 (__netlink_request): Likewise.
26629 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26632 * include/rpc/rpc.h (__rpc_thread_variables): Add
26634 (__rpc_thread_svc_cleanup): Likewise.
26635 (__rpc_thread_clnt_cleanup): Likewise.
26636 (__rpc_thread_key_cleanup): Likewise.
26638 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26641 * include/sys/uio.h (__readv): Add libc_hidden_proto.
26642 (__writev): Likewise.
26643 * misc/readv.c (__readv): Add libc_hidden_def.
26644 * misc/writev.c (__writev): Likewise.
26645 * sysdeps/posix/readv.c (__readv): Likewise.
26646 * sysdeps/posix/writev.c (__writev): Likewise.
26647 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
26648 (__readv): Likewise.
26649 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
26650 (__writev): Likewise.
26652 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26655 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
26656 (__regcomp): Add libc_hidden_proto.
26657 (__regexec): Likewise.
26658 (__regfree): Likewise.
26659 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
26660 (__regfree): Likewise.
26661 * posix/regexec.c (__regexec): Likewise.
26663 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26666 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
26667 (__getutent): Likewise.
26668 (__getutid): Likewise.
26669 (__getutline): Likewise.
26670 (__pututline): Likewise.
26671 (__getutent_r): Likewise.
26672 (__getutid_r): Likewise.
26673 (__getutline_r): Likewise.
26674 (__utmpname): Add attribute_hidden.
26675 (__setutent): Likewise.
26676 (__endutent): Likewise.
26677 * login/getutent.c (__getutent): Add libc_hidden_def.
26678 * login/getutent_r.c (__getutent_r): Likewise.
26679 (__pututline): Likewise.
26680 * login/getutid.c (__getutid): Likewise.
26681 * login/getutid_r.c (__getutid_r): Likewise.
26682 * login/getutline.c (__getutline): Likewise.
26683 * login/getutline_r.c (__getutline_r): Likewise.
26684 * login/updwtmp.c (__updwtmp): Likewise.
26686 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26689 * include/dirent.h (__opendir): Always add attribute_hidden.
26690 (__fdopendir): Likewise.
26691 (__closedir): Likewise.
26692 (__readdir): Likewise.
26693 (__readdir64): Add libc_hidden_proto.
26694 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
26695 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
26696 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
26697 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
26700 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26703 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
26704 * include/netdb.h (__gethostbyaddr_r): Likewise.
26705 (__gethostbyname_r): Likewise.
26706 (__gethostbyname2_r): Likewise.
26707 (__getnetbyaddr_r): Likewise.
26708 (__getnetbyname_r): Likewise.
26709 (__getservbyname_r): Likewise.
26710 (__getservbyport_r): Likewise.
26711 (__getprotobyname_r): Likewise.
26712 (__getprotobynumber_r): Likewise.
26713 (__getnetgrent_r): Likewise.
26714 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
26715 (__getrpcbynumber_r): Likewise.
26716 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
26718 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26721 * include/stdio.h (__fcloseall): Add attribute_hidden.
26722 (__getline): Likewise.
26723 (__path_search): Likewise.
26724 (__gen_tempname): Likewise.
26725 (__libc_message): Likewise.
26726 (__flockfile): Likewise.
26727 (__funlockfile): Likewise.
26728 (__fxprintf): Likewise.
26729 (__fxprintf_nocancel): Likewise.
26731 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26734 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
26735 (__sgetsgent_r): Likewise.
26737 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26740 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
26741 (__statfs64): Likewise.
26742 (__fstatfs64): Likewise.
26743 * include/sys/statvfs.h (__statvfs64): Likewise.
26744 (__fstatvfs64): Likewise.
26745 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
26746 (__statfs_filesize_max): Likewise.
26747 (__statfs_symlinks): Likewise.
26748 (__statfs_chown_restricted): Likewise.
26750 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26753 * include/time.h (__tzstring): Add attribute_hidden.
26754 (__tzfile_read): Likewise.
26755 (__tzfile_compute): Likewise.
26756 (__tzfile_default): Likewise.
26757 (__tzset_parse_tz): Likewise.
26758 (__offtime): Likewise.
26759 (__asctime_r): Likewise.
26760 (__tzset): Likewise.
26761 (__tz_convert): Likewise.
26762 (__getdate_r): Likewise.
26763 (__getclktck): Likewise.
26765 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26768 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
26769 (__nscd_unmap): Likewise.
26770 (__nscd_cache_search): Likewise.
26771 (__nscd_get_nl_timestamp): Likewise.
26772 (__nscd_getpwnam_r): Likewise.
26773 (__nscd_getpwuid_r): Likewise.
26774 (__nscd_getgrnam_r): Likewise.
26775 (__nscd_getgrgid_r): Likewise.
26776 (__nscd_gethostbyname_r): Likewise.
26777 (__nscd_gethostbyname2_r): Likewise.
26778 (__nscd_gethostbyaddr_r): Likewise.
26779 (__nscd_getai): Likewise.
26780 (__nscd_getgrouplist): Likewise.
26781 (__nscd_getservbyname_r): Likewise.
26782 (__nscd_getservbyport_r): Likewise.
26783 (__nscd_innetgr): Likewise.
26784 (__nscd_setnetgrent): Likewise.
26786 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26789 * include/gmp.h: Declare internal functions only if _ISOMAC is
26791 (__mpn_extract_double): Add attribute_hidden.
26792 (__mpn_extract_long_double): Likewise.
26793 (__mpn_extract_float128): Likewise.
26794 (__mpn_construct_float): Likewise.
26795 (__mpn_construct_double): Likewise.
26796 (__mpn_construct_long_double): Likewise.
26797 (__mpn_construct_float128): Likewise.
26798 (mpn_add_1): Likewise.
26799 (mpn_addmul_1): Likewise.
26800 (mpn_add_n): Likewise.
26801 (mpn_cmp): Likewise.
26802 (mpn_divrem): Likewise.
26803 (mpn_lshift): Likewise.
26804 (mpn_mul): Likewise.
26805 (mpn_mul_1): Likewise.
26806 (mpn_rshift): Likewise.
26807 (mpn_sub_1): Likewise.
26808 (mpn_submul_1): Likewise.
26809 (mpn_sub_n): Likewise.
26811 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26814 * include/wchar.h (__wcsnlen): Add attribute_hidden.
26815 (__wcscat): Likewise.
26816 (__btowc): Likewise.
26817 (__wcrtomb): Likewise.
26818 (__mbsrtowcs): Likewise.
26819 (__wcsrtombs): Likewise.
26820 (__mbsnrtowcs): Likewise.
26821 (__wcsnrtombs): Likewise.
26822 (__wcsncpy): Likewise.
26823 (__wcpncpy): Likewise.
26824 (__wmemcpy): Likewise.
26825 (__wmempcpy): Likewise.
26826 (__wmemmove): Likewise.
26827 (__wcschrnul): Likewise.
26828 (__vfwscanf): Likewise.
26829 (__vswprintf): Likewise.
26830 (__fwprintf): Likewise.
26831 (__vfwprintf): Likewise.
26833 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26836 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
26837 (__getgrgid_r): Likewise.
26838 (__getgrnam_r): Likewise.
26839 * include/pwd.h (__getpwuid_r): Likewise.
26840 (__getpwnam_r): Likewise.
26841 (__fgetpwent_r): Likewise.
26842 * include/shadow.h (__getspnam_r): Likewise.
26843 (__sgetspent_r): Likewise.
26844 (__fgetspent_r): Likewise.
26846 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26849 * include/unistd.h (__access): Add attribute_hidden.
26850 (__lseek64): Likewise.
26851 (__libc_pread64): Likewise.
26852 (__pipe2): Likewise.
26853 (__sleep): Likewise.
26854 (__chdir): Likewise.
26855 (__fchdir): Likewise.
26856 (__getcwd): Likewise.
26857 (__rmdir): Likewise.
26858 (__execvpe): Likewise.
26859 (__execve): Likewise.
26860 (__setsid): Likewise.
26861 (__getuid): Likewise.
26862 (__geteuid): Likewise.
26863 (__getgid): Likewise.
26864 (__getegid): Likewise.
26865 (__getgroups): Likewise.
26866 (__group_member): Likewise.
26867 (__ttyname_r): Likewise.
26868 (__isatty): Likewise.
26869 (__readlink): Likewise.
26870 (__unlink): Likewise.
26871 (__gethostname): Likewise.
26872 (__profil): Likewise.
26873 (__getdtablesize): Likewise.
26875 (__ftruncate): Likewise.
26876 (__ftruncate64): Likewise.
26878 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26881 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
26882 * argp/argp-fs-xinl.c: Likewise.
26883 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
26884 * argp/argp-parse.c: Include <argp.h>.
26885 * argp/argp-xinl.c: Likewise.
26886 * include/argp-fmtstream.h: New file.
26887 * include/argp.h (__argp_error): Add attribute_hidden.
26888 (__argp_failure): Likewise.
26889 (__argp_input): Likewise.
26890 (__argp_state_help): Likewise.
26892 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26895 * include/wchar.h (____wcstof_l_internal): New prototype.
26896 (____wcstod_l_internal): Likewise.
26897 (____wcstold_l_internal): Likewise.
26898 (____wcstol_l_internal): Likewise.
26899 (____wcstoul_l_internal): Likewise.
26900 (____wcstoll_l_internal): Likewise.
26901 (____wcstoull_l_internal): Likewise.
26902 (____wcstof128_l_internal): Likewise.
26903 * sysdeps/ieee754/float128/wcstof128.c
26904 (____wcstof128_l_internal): Removed.
26905 * sysdeps/ieee754/float128/wcstof128_l.c
26906 (____wcstof128_l_internal): Likewise.
26907 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
26908 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
26909 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
26910 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
26911 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
26912 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
26913 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
26914 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
26915 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
26916 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
26918 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26921 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
26922 instead of <sys/statvfs.h>.
26923 (__internal_statvfs): Removed.
26924 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
26925 instead of <sys/statvfs.h>.
26926 (__internal_statvfs64): Removed.
26927 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
26928 "internal_statvfs.h" instead of <sys/statvfs.h>.
26929 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
26930 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
26931 instead of <sys/statvfs.h>.
26932 (__internal_statvfs): Removed.
26933 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
26934 instead of <sys/statvfs.h>.
26935 (__internal_statvfs64): Removed.
26937 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26940 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
26941 (__gconv_close): Likewise.
26942 (__gconv): Likewise.
26943 (__gconv_find_transform): Likewise.
26944 (__gconv_lookup_cache): Likewise.
26945 (__gconv_compare_alias_cache): Likewise.
26946 (__gconv_load_cache): Likewise.
26947 (__gconv_get_path): Likewise.
26948 (__gconv_close_transform): Likewise.
26949 (__gconv_release_cache): Likewise.
26950 (__gconv_find_shlib): Likewise.
26951 (__gconv_release_shlib): Likewise.
26952 (__gconv_get_builtin_trans): Likewise.
26953 (__gconv_compare_alias): Likewise.
26954 * include/dlfcn.h (_dlerror_run): Likewise.
26955 * include/stdio.h (__fortify_fail_abort): Likewise.
26956 * include/time.h (__tz_compute): Likewise.
26957 (__strptime_internal): Likewise.
26958 * intl/gettextP.h (_nl_find_domain): Likewise.
26959 (_nl_load_domain): Likewise.
26960 (_nl_find_msg): Likewise.
26961 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
26962 (EXTRACT_PLURAL_EXPRESSION): Likewise.
26963 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
26964 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
26965 (__gai_find_request): Likewise.
26966 (__gai_remove_request): Likewise.
26967 (__gai_notify): Likewise.
26968 (__gai_notify_only): Likewise.
26969 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
26970 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
26971 (_dl_non_dynamic_init): Likewise.
26972 (_dl_aux_init): Likewise.
26973 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
26974 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
26976 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
26977 (__wcsmbs_clone_conv): Likewise.
26978 (__wcsmbs_named_conv): Likewise.
26980 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26983 * include/stdlib.h (__random): Add attribute_hidden.
26984 (__random_r): Likewise.
26985 (__srandom_r): Likewise.
26986 (__initstate_r): Likewise.
26987 (__setstate_r): Likewise.
26988 (__erand48_r): Likewise.
26989 (__nrand48_r): Likewise.
26990 (__jrand48_r): Likewise.
26991 (__srand48_r): Likewise.
26992 (__seed48_r): Likewise.
26993 (__lcong48_r): Likewise.
26994 (__drand48_iterate): Likewise.
26995 (__setenv): Likewise.
26996 (__unsetenv): Likewise.
26997 (__clearenv): Likewise.
26998 (__ptsname_r): Likewise.
26999 (__posix_openpt): Likewise.
27000 (__add_to_environ): Likewise.
27001 (__realpath): Add libc_hidden_proto.
27002 (__ecvt_r): Likewise.
27003 (__fcvt_r): Likewise.
27004 (__qecvt_r): Likewise.
27005 (__qfcvt_r): Likewise.
27006 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
27007 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
27009 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27012 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
27013 * include/time.h (__mktime_internal): Likewise.
27014 * libio/iolibio.h (__fopen_internal): Likewise.
27016 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
27018 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
27020 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
27021 Correct offset used to restore PIC register.
27023 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
27026 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
27027 code to load address of __getcontext_ret when generating PIC code.
27029 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
27031 * elf/Makefile (tests-static-internal): Add
27032 tst-tls1-static-non-pie.
27033 (LDFLAGS-tst-tls1-static-non-pie): New.
27034 * elf/tst-tls1-static-non-pie.c: New file.
27036 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27038 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
27039 (asinh): Define using libm_alias_double.
27040 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
27041 (cbrt): Define using libm_alias_double.
27042 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
27043 <libm-alias-double.h>.
27044 (copysign): Define using libm_alias_double.
27045 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
27046 (erf): Define using libm_alias_double.
27048 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
27049 (expm1): Define using libm_alias_double.
27050 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
27051 (fabs): Define using libm_alias_double.
27052 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
27054 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
27055 <libm-alias-double.h>.
27056 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
27058 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
27059 <libm-alias-double.h>.
27060 (getpayload): Define using libm_alias_double.
27061 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
27062 <libm-alias-double.h>.
27063 (llrint): Define using libm_alias_double.
27064 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
27065 (lrint): Define using libm_alias_double.
27066 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
27067 <libm-alias-double.h>.
27068 (nextup): Define using libm_alias_double.
27069 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
27070 <libm-alias-double.h>.
27071 (roundeven): Define using libm_alias_double.
27072 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
27074 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
27075 <libm-alias-double.h>.
27076 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
27077 using libm_alias_double.
27078 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
27079 (cos): Define using libm_alias_double.
27081 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
27082 <libm-alias-double.h>.
27083 (sincos): Define using libm_alias_double.
27084 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
27085 (tanh): Define using libm_alias_double.
27086 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
27087 <libm-alias-double.h>.
27088 (totalorder): Define using libm_alias_double.
27089 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
27090 <libm-alias-double.h>.
27091 (totalordermag): Define using libm_alias_double.
27092 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
27094 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
27096 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
27097 <libm-alias-double.h>.
27098 (getpayload): Define using libm_alias_double.
27099 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
27100 <libm-alias-double.h>.
27101 (roundeven): Define using libm_alias_double.
27102 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
27103 <libm-alias-double.h>.
27104 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
27105 <libm-alias-double.h>.
27106 (totalorder): Define using libm_alias_double.
27107 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
27108 <libm-alias-double.h>.
27109 (totalordermag): Define using libm_alias_double.
27110 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
27111 libc compat symbol here.
27112 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
27113 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
27114 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
27115 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
27116 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
27117 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
27118 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
27119 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
27120 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
27121 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
27123 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27125 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
27126 _dl_relocate_static_pie instead of _dl_start to compute load
27127 address in static PIE. Return 0 if _DYNAMIC is undefined for
27130 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27132 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
27133 _DYNAMIC is undefined for static executable.
27135 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27137 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
27139 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27141 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27143 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27145 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27146 (__ieee754_lgamma_r): Use fabs rather than __fabs.
27147 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27148 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27149 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27150 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
27151 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
27152 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
27153 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
27154 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27155 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
27156 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27157 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27158 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27159 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27160 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27161 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
27163 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27165 * math/bits/cmathcalls.h (cimag): Remove inline.
27166 (creal): Remove inline.
27167 (conj): Remove inline.
27169 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27171 * math/Makefile (type-float-routines): Add e_powf_log2_data.
27172 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
27173 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
27174 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
27175 (issignalingf_inline): Likewise.
27176 (POWF_LOG2_TABLE_BITS): Likewise.
27177 (POWF_LOG2_POLY_ORDER): Likewise.
27178 (POWF_SCALE_BITS): Likewise.
27179 (POWF_SCALE): Likewise.
27180 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
27181 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
27182 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
27184 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27186 * math/Makefile (type-float-routines): Add e_log2f_data.
27187 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
27188 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
27189 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
27190 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
27191 * sysdeps/i386/fpu/e_log2f_data.c: New file.
27192 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
27193 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
27195 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27197 * math/Makefile (type-float-routines): Add e_logf_data.
27198 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
27199 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
27200 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
27201 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
27202 * sysdeps/i386/fpu/e_logf_data.c: New file.
27203 * sysdeps/ia64/fpu/e_logf_data.c: New file.
27204 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
27206 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
27208 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
27209 undefined _DYNAMIC in PIE libc.a.
27210 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27213 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27215 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
27216 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
27217 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
27218 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
27219 (__signbit): Remove.
27220 (__signbitl): Remove.
27221 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
27222 (__signbit): Remove.
27223 (__signbitl): Remove.
27224 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
27225 (__signbit): Remove.
27226 (__signbitl): Remove.
27227 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
27228 (__signbit): Remove.
27229 (__signbitl): Remove.
27230 * sysdeps/tile/bits/mathinline.h: Delete file.
27231 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
27232 (__signbit): Remove.
27233 (__signbitl): Remove.
27235 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27237 * math/math.h: Improve handling of C99 isgreater macros.
27238 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
27239 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
27240 * sysdeps/powerpc/bits/mathinline.h: Likewise.
27241 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27242 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
27244 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
27246 * sysdeps/aarch64/libm-test-ulps: Update.
27248 2017-09-28 Joseph Myers <joseph@codesourcery.com>
27251 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27252 math_opt_barrier on argument when doing arithmetic on it.
27253 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27254 Likewise. Use math_force_eval not math_opt_barrier after
27256 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
27257 math_opt_barrier on argument when doing arithmetic on it.
27258 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27261 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
27263 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
27265 (__freeifaddrs): Likewise.
27267 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27269 * include/dirent.h (__dirfd): New declaration.
27270 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
27272 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
27273 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
27274 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
27275 * include/unistd.h (__revoke): New declaration.
27276 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
27278 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27279 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
27281 * include/dirent.h (__seekdir): New declaration.
27282 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
27283 redefine as weak alias.
27284 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
27286 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
27287 and use libc_hidden_def on them.
27288 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
27290 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
27291 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
27292 instead of getifaddrs and freeifaddrs.
27294 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27297 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
27298 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
27299 (__dso_handle): Remove declaration.
27300 * dlfcn/tstatexit.c (__dso_handle): Removed.
27301 (main): Don't check __dso_handle.
27302 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
27303 (main): Don't check __dso_handle.
27304 * include/dso_handle.h: New file.
27305 * malloc/mtrace.c: Include <dso_handle.h>.
27306 (mtrace): Pass __dso_handle directly.
27307 * nptl/pthread_atfork.c: Include <dso_handle.h>.
27308 (__dso_handle): Remove declaration.
27309 (__pthread_atfork): Pass __dso_handle directly.
27310 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
27311 (__dso_handle): Removed.
27312 * posix/wordexp-test.c: Include <dso_handle.h>.
27313 (__dso_handle): Remove declaration.
27314 (__app_register_atfork): Pass __dso_handle directly.
27315 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
27316 (__dso_handle): Remove declaration.
27317 (at_quick_exit): Pass __dso_handle directly.
27318 * stdlib/atexit.c: Include <dso_handle.h>.
27319 (__dso_handle): Remove declaration.
27320 (atexit): Pass __dso_handle directly.
27321 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
27322 (__dso_handle): Removed.
27324 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27326 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
27329 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
27331 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
27332 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
27333 values to correct default value for given type.
27335 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27338 * elf/Makefile (tests): Add tst-debug1.
27339 ($(objpfx)tst-debug1): New.
27340 ($(objpfx)tst-debug1.out): Likewise.
27341 ($(objpfx)tst-debug1mod1.so): Likewise.
27342 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
27343 with p_filesz == 0.
27344 * elf/tst-debug1.c: New file.
27346 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27348 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
27349 Define using __ifunc.
27351 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27353 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
27356 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27359 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
27361 2017-09-26 Florian Weimer <fweimer@redhat.com>
27363 * resolv/Makefile (tests-internal): Fix typo in comment.
27365 2017-09-26 Florian Weimer <fweimer@redhat.com>
27367 * resolv/nss_dns/dns-host.c: Fix typo in comment.
27369 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27371 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
27372 Use an union instead of a max_align_t array for __space,
27373 so that __space is the same size on all platforms.
27374 * malloc/scratch_buffer_grow_preserve.c
27375 (__libc_scratch_buffer_grow_preserve): Likewise.
27378 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
27380 * posix/Makefile (routines): Add glob-lstat-compat and
27381 glob64-lstat-compat.
27382 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
27383 * posix/glob-lstat-compat.c: New file.
27384 * posix/glob64-lstat-compat.c: Likewise.
27385 * posix/tst-glob_lstat_compat.c: Likewise.
27386 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
27387 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
27388 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
27389 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
27391 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
27392 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27393 * posix/glob.c (glob_lstat): New function.
27394 (glob): Rename to __glob and add versioned symbol to 2.27.
27395 (glob_in_dir): Use glob_lstat.
27396 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
27397 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
27398 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
27400 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
27401 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
27402 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
27403 gl_lstat on glob call.
27404 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
27405 and glob64 symbols.
27406 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27407 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
27408 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27409 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27410 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
27411 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
27412 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
27413 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
27414 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
27415 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27416 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27417 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
27418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
27420 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
27421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
27422 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27423 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27424 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
27425 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27426 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
27428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
27429 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
27430 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27431 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27433 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
27435 * configure.ac (AS): Require binutils 2.25 or later.
27436 * configure: Regenerated.
27438 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27441 * stdlib/test-atexit-race-common.c (do_test): Minimize required
27444 2017-09-25 DJ Delorie <dj@redhat.com>
27447 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
27450 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
27452 * sysdeps/ieee754/dbl-64/sincos32.h
27453 [SINCCOS32_H]: Remove define.
27454 [SINCOS32_H]: Define.
27456 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27458 * math/Versions (expf): New libm symbol at GLIBC_2.27.
27460 * math/w_exp2f.c: New file.
27461 * math/w_expf.c: New file.
27462 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
27463 * math/w_expf_compat.c (__expf_compat): Likewise.
27464 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
27465 * sysdeps/ia64/fpu/e_expf.S: Likewise.
27466 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27467 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27468 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27469 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27470 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27471 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27472 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27473 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27474 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27475 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27476 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27477 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27486 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27487 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27488 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27489 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27490 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27495 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27496 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27497 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27499 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27501 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
27502 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
27503 (roundtoint, converttoint): Likewise.
27504 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
27505 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
27506 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
27507 * sysdeps/ieee754/flt-32/math_config.h: New file.
27508 * sysdeps/ieee754/flt-32/math_errf.c: New file.
27509 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
27510 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
27511 * sysdeps/i386/fpu/math_errf.c: New file.
27512 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
27513 * sysdeps/ia64/fpu/math_errf.c: New file.
27514 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
27515 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
27517 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
27519 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
27520 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
27521 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
27522 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
27523 to make sure that these symbols are defined.
27524 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
27526 (__need_NULL): Do not define.
27527 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
27529 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
27530 CMGROUP_MAX, cmsgcred): Do not define.
27531 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
27533 * bits/socket.h: Likewise.
27534 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
27535 __gettimeofday instead of gettimeofday.
27536 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
27537 instead of settimeofday.
27539 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27541 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
27542 (asinhf): Define using libm_alias_float.
27543 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
27544 (atanf): Define using libm_alias_float.
27545 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
27546 (cbrtf): Define using libm_alias_float.
27547 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
27548 (ceilf): Define using libm_alias_float.
27549 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
27550 <libm-alias-float.h>.
27551 (copysignf): Define using libm_alias_float.
27552 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
27553 (cosf): Define using libm_alias_float.
27554 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
27555 (erff): Define using libm_alias_float.
27557 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
27558 (expm1f): Define using libm_alias_float.
27559 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
27560 (fabsf): Define using libm_alias_float.
27561 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
27562 (floorf): Define using libm_alias_float.
27563 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
27564 (frexpf): Define using libm_alias_float.
27565 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
27567 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
27568 <libm-alias-float.h>.
27569 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
27571 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
27572 <libm-alias-float.h>.
27573 (getpayloadf): Define using libm_alias_float.
27574 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
27575 <libm-alias-float.h>.
27576 (llrintf): Define using libm_alias_float.
27577 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
27578 <libm-alias-float.h>.
27579 (llroundf): Define using libm_alias_float.
27580 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
27581 (logbf): Define using libm_alias_float.
27582 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
27583 (lrintf): Define using libm_alias_float.
27584 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
27585 (lroundf): Define using libm_alias_float.
27586 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
27587 (modff): Define using libm_alias_float.
27588 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
27589 <libm-alias-float.h>.
27590 (nearbyintf): Define using libm_alias_float.
27591 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
27592 <libm-alias-float.h>.
27593 (nextafterf): Define using libm_alias_float.
27594 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
27595 <libm-alias-float.h>.
27596 (nextupf): Define using libm_alias_float.
27597 * sysdeps/ieee754/flt-32/s_remquof.c: Include
27598 <libm-alias-float.h>.
27599 (remquof): Define using libm_alias_float.
27600 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
27601 (rintf): Define using libm_alias_float.
27602 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
27603 <libm-alias-float.h>.
27604 (roundevenf): Define using libm_alias_float.
27605 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
27606 (roundf): Define using libm_alias_float.
27607 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
27608 using libm_alias_float.
27609 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
27610 <libm-alias-float.h>.
27611 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
27612 Define using libm_alias_float.
27613 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
27614 <libm-alias-float.h>.
27615 (sincosf): Define using libm_alias_float.
27616 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
27617 (sinf): Define using libm_alias_float.
27618 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
27619 (tanf): Define using libm_alias_float.
27620 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
27621 (tanhf): Define using libm_alias_float.
27622 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
27623 <libm-alias-float.h>.
27624 (totalorderf): Define using libm_alias_float.
27625 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
27626 <libm-alias-float.h>.
27627 (totalordermagf): Define using libm_alias_float.
27628 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
27629 (truncf): Define using libm_alias_float.
27630 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
27632 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
27635 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27638 math/math.h: Let fpclassify use the builtin in C++ mode, even
27639 when optimazing for size.
27641 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27643 * csu/Makefile (generated): Do not add version-info.h.
27644 (before-compile): Likewise.
27645 (all-Banner-files): Remove variable.
27646 ($(objpfx)version-info.h): Remove rule.
27647 * csu/version.c (banner): Do not include "version-info.h".
27648 * libidn/Banner: Remove.
27649 * manual/contrib.texi (Simon Josefsson): New entry.
27651 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27653 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27654 Remove conditionals on LDBL_MANT_DIG.
27655 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27656 (__ieee754_lgammal_r): Likewise.
27658 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27660 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
27662 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
27663 _Float128 and L(). Replace _Float128 with long double and L(x)
27664 with xL, throughout the file.
27665 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27666 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27667 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27668 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27670 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27672 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
27673 sysdeps/ieee754/ldbl-128ibm.
27674 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
27675 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
27676 of including it. Keep _Float128 and L() intact. These will be
27677 reviewed by a separate patch.
27678 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27679 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27680 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27681 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27683 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
27686 (__finitef128): Define to __redirect___finitef128.
27687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
27688 (__isinff128): Define to __redirect___isinff128.
27689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
27690 (__isnanf128): Define to __redirect___isnanf128.
27692 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27694 * sysdeps/powerpc/powerpc64le/Makefile
27695 (CFLAGS-tst-strtod-nan-locale.c): New variable.
27696 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
27698 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
27699 Carlos O'Donell <carlos@redhat.com>
27702 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
27703 * stdlib/test-dlclose-exit-race.c: New file.
27704 * stdlib/test-dlclose-exit-race-helper.c: New file.
27705 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
27707 2017-09-21 Joseph Myers <joseph@codesourcery.com>
27709 * crypt/Banner: Remove file.
27710 * nptl/Banner: Likewise.
27711 * resolv/Banner: Likewise.
27712 * soft-fp/Banner: Likewise.
27713 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
27714 ($(objpfx)version.d): Remove dependency on banner.h.
27715 ($(objpfx)version.os): Likewise.
27716 * nptl/version.c (banner): Do not include banner.h.
27717 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
27718 Jelinek and BIND code.
27720 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27721 Carlos O'Donell <carlos@redhat.com>
27723 * support/xdlfcn.h: New file.
27724 * support/xdlfcn.c: New file.
27725 * support/Makefile (libsupport-routines): Add xdlfcn.
27726 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
27728 2017-09-20 Joseph Myers <joseph@codesourcery.com>
27731 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27732 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
27733 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
27734 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
27735 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
27736 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
27737 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
27738 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
27740 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27741 Ricky Zhou <rickyz@google.com>
27742 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
27745 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
27747 (__new_exitfn): Fail registration when we finished at_exit processing.
27748 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27749 * stdlib/on_exit.c (__on_exit): Likewise.
27750 * stdlib/exit.c (__exit_funcs_done): New variable.
27751 (__run_exit_handlers): Use __exit_funcs_lock.
27752 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
27754 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
27755 (test-cxa_atexit-race, test-on_exit-race): New tests.
27756 * stdlib/test-atexit-race-common.c: New file.
27757 * stdlib/test-atexit-race.c: New file.
27758 * stdlib/test-at_quick_exit-race.c: New file.
27759 * stdlib/test-cxa_atexit-race.c: New file.
27760 * stdlib/test-on_exit-race.c: New file.
27762 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
27764 * benchtests/Makefile: Add exp2f and log2f benchmarks.
27765 * benchtests/exp2f-inputs: Copy of expf-inputs.
27766 * benchtests/log2f-inputs: Copy of logf-inputs.
27768 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27770 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
27771 Explicitly take address of first element of array arguments in
27772 call to INLINE_SYSCALL.
27774 2017-09-19 Andreas Schwab <schwab@suse.de>
27777 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
27779 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
27781 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
27782 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
27783 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27784 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
27785 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27786 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27787 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27788 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27789 * posix/Makefile (tests): Add tst-fexecve.
27790 * posix/tst-fexecve.c: New file.
27792 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27794 * benchtests/Makefile: Add logf benchmark.
27795 * benchtests/logf-inputs: Add reduced trace from wrf_r.
27797 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27799 * benchtests/Makefile: Add expf benchmark.
27800 * benchtests/expf-inputs: Add reduced trace from wrf_r.
27802 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27804 * csu/Makefile: Add -funwind-tables to libc-start.c.
27805 * debug/Makefile: Add -funwind-tables to backtrace.c.
27806 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
27807 * sysdeps/arm/Makefile: Likewise.
27808 * sysdeps/i386/Makefile: Likewise.
27809 * sysdeps/m68k/Makefile: Likewise.
27810 * sysdeps/mips/Makefile: Likewise.
27811 * sysdeps/nios2/Makefile: Likewise.
27812 * sysdeps/sh/Makefile: Likewise.
27813 * sysdeps/sparc/Makefile: Likewise.
27815 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27817 * benchtests/Makefile (bench-math): Add trunc and truncf.
27818 (CFLAGS-bench-trunc.c): New variable.
27819 (CFLAGS-bench-truncf.c): Likewise.
27820 * benchtests/trunc-inputs: New file.
27821 * benchtests/truncf-inputs: Likewise.
27823 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27825 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
27827 2017-09-18 Joseph Myers <joseph@codesourcery.com>
27829 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
27830 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
27832 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27833 (exp10l): Define as weak alias.
27834 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
27835 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
27837 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
27838 (remainderl): Define as weak alias.
27840 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
27841 (fmal): Define using libm_alias_ldouble.
27842 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
27843 (acoshl): Define using libm_alias_ldouble.
27844 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
27845 (acosl): Define using libm_alias_ldouble.
27846 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
27847 (asinl): Define using libm_alias_ldouble.
27848 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
27849 (atan2l): Define using libm_alias_ldouble.
27850 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
27851 (atanhl): Define using libm_alias_ldouble.
27852 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
27853 (coshl): Define using libm_alias_ldouble.
27854 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
27855 (exp10l): Define using libm_alias_ldouble.
27856 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
27857 (exp2l): Define using libm_alias_ldouble.
27858 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
27859 (expl): Define using libm_alias_ldouble.
27860 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
27861 (fmodl): Define using libm_alias_ldouble.
27862 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
27863 (hypotl): Define using libm_alias_ldouble.
27864 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
27865 (j0l): Define using libm_alias_ldouble.
27867 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
27868 (j1l): Define using libm_alias_ldouble.
27870 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
27871 (jnl): Define using libm_alias_ldouble.
27873 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
27874 (log10l): Define using libm_alias_ldouble.
27875 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
27876 (log2l): Define using libm_alias_ldouble.
27877 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
27878 (logl): Define using libm_alias_ldouble.
27879 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
27880 (powl): Define using libm_alias_ldouble.
27881 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
27882 (remainderl): Define using libm_alias_ldouble.
27883 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
27884 (sinhl): Define using libm_alias_ldouble.
27885 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
27886 (sqrtl): Define using libm_alias_ldouble.
27887 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
27888 (tgammal): Define using libm_alias_ldouble.
27889 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
27890 (exp10l): Do not use long_double_symbol here.
27891 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27892 [LIBM_SVID_COMPAT] (remainderl): Likewise.
27893 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
27894 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27895 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27896 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27897 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27898 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27899 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27900 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27901 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27902 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27903 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27904 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27905 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27906 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27907 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27908 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27909 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27910 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27911 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27912 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27914 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
27916 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
27917 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
27919 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
27921 * io/read.c (read): Add libc_hidden_weak.
27922 * sysdeps/mach/hurd/read.c (read): Likewise.
27923 * io/write.c (write): Likewise.
27924 * sysdeps/mach/hurd/write.c (write): Likewise.
27925 * io/pread64.c (__pread64): Likewise.
27926 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
27927 * posix/pread64.c (__pread64): Add libc_hidden_def.
27929 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27931 * benchtests/scripts/compare_strings.py: New option -g.
27932 (draw_graph): Print a message that a graph is being generated.
27933 (process_results): Generate graph only if -g is passed.
27934 (main): Process option -g.
27936 * benchtests/scripts/compare_strings.py (process_results):
27937 Better spacing for output.
27939 * benchtests/scripts/compare_strings.py: Use argparse.
27940 * benchtests/README: Document existence of compare_strings.py.
27942 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27944 * math/s_fma.c: Include <libm-alias-double.h>.
27945 (fma): Define using libm_alias_double.
27946 * math/s_nextafter.c: Include <libm-alias-double.h>.
27947 (nextafter): Define using libm_alias_double.
27948 * math/w_acos_compat.c: Include <libm-alias-double.h>.
27949 (acos): Define using libm_alias_double.
27950 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
27951 (aocsh): Define using libm_alias_double.
27952 * math/w_asin_compat.c: Include <libm-alias-double.h>.
27953 (asin): Define using libm_alias_double.
27954 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
27955 (atan2): Define using libm_alias_double.
27956 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
27957 (atanh): Define using libm_alias_double.
27958 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
27959 (cosh): Define using libm_alias_double.
27960 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
27961 (exp10): Define using libm_alias_double.
27962 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
27963 (exp2): Define using libm_alias_double.
27964 * math/w_exp_compat.c: Include <libm-alias-double.h>.
27965 (exp): Define using libm_alias_double.
27966 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
27967 (fmod): Define using libm_alias_double.
27968 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
27969 (hypot): Define using libm_alias_double.
27970 * math/w_j0_compat.c: Include <libm-alias-double.h>.
27971 (j0): Define using libm_alias_double.
27973 * math/w_j1_compat.c: Include <libm-alias-double.h>.
27974 (j1): Define using libm_alias_double.
27976 * math/w_jn_compat.c: Include <libm-alias-double.h>.
27977 (jn): Define using libm_alias_double.
27979 * math/w_log10_compat.c: Include <libm-alias-double.h>.
27980 (log10): Define using libm_alias_double.
27981 * math/w_log2_compat.c: Include <libm-alias-double.h>.
27982 (log2): Define using libm_alias_double.
27983 * math/w_log_compat.c: Include <libm-alias-double.h>.
27984 (log): Define using libm_alias_double.
27985 * math/w_pow_compat.c: Include <libm-alias-double.h>.
27986 (pow): Define using libm_alias_double.
27987 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
27988 (remainder): Define using libm_alias_double.
27989 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
27990 (sinh): Define using libm_alias_double.
27991 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
27992 (sqrt): Define using libm_alias_double.
27993 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
27994 (tgamma): Define using libm_alias_double.
27995 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
27996 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
27997 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
27998 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
27999 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
28000 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
28001 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
28002 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
28003 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
28004 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
28005 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
28006 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
28007 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
28008 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
28009 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
28010 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
28011 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
28012 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
28013 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
28014 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
28015 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
28016 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
28017 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
28018 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
28019 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
28021 * math/e_acoshl.c: Remove.
28022 * math/e_acosl.c: Likewise.
28023 * math/e_asinl.c: Likewise.
28024 * math/e_atan2l.c: Likewise.
28025 * math/e_atanhl.c: Likewise.
28026 * math/e_coshl.c: Likewise.
28027 * math/e_expl.c: Likewise.
28028 * math/e_fmodl.c: Likewise.
28029 * math/e_gammal_r.c: Likewise.
28030 * math/e_hypotl.c: Likewise.
28031 * math/e_j0l.c: Likewise.
28032 * math/e_j1l.c: Likewise.
28033 * math/e_jnl.c: Likewise.
28034 * math/e_lgammal_r.c: Likewise.
28035 * math/e_log10l.c: Likewise.
28036 * math/e_log2l.c: Likewise.
28037 * math/e_logl.c: Likewise.
28038 * math/e_powl.c: Likewise.
28039 * math/e_rem_pio2l.c: Likewise.
28040 * math/e_sinhl.c: Likewise.
28041 * math/e_sqrtf128.c: Likewise.
28042 * math/e_sqrtl.c: Likewise.
28043 * math/k_cosl.c: Likewise.
28044 * math/k_sinl.c: Likewise.
28045 * math/k_tanl.c: Likewise.
28046 * math/s_asinhl.c: Likewise.
28047 * math/s_atanl.c: Likewise.
28048 * math/s_cbrtl.c: Likewise.
28049 * math/s_erfl.c: Likewise.
28050 * math/s_expm1l.c: Likewise.
28051 * math/s_log1pl.c: Likewise.
28052 * math/s_tanhl.c: Likewise.
28054 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28057 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
28058 [$(subdir) = math] (sysdep_calls): New variable. Has the
28059 previous contents of sysdep_routines, but re-sorted..
28060 [$(subdir) = math] (sysdep_routines): Re-use the contents from
28062 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
28063 defined in sysdep_calls and replace by the respective m_* names.
28064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
28065 (compat_symbol): Undefine to avoid duplicated compat symbols in
28068 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28070 * math/s_fmaf.c: Include <libm-alias-float.h>.
28071 (fmaf): Define using libm_alias_float.
28072 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
28073 (acosf): Define using libm_alias_float.
28074 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
28075 (acoshf): Define using libm_alias_float.
28076 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
28077 (asinf): Define using libm_alias_float.
28078 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
28079 (atan2f): Define using libm_alias_float.
28080 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
28081 (atanhf): Define using libm_alias_float.
28082 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
28083 (coshf): Define using libm_alias_float.
28084 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
28085 (exp10f): Define using libm_alias_float.
28086 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
28087 (fmodf): Define using libm_alias_float.
28088 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
28089 (hypotf): Define using libm_alias_float.
28090 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
28091 (j0f): Define using libm_alias_float.
28093 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
28094 (j1f): Define using libm_alias_float.
28096 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
28097 (jnf): Define using libm_alias_float.
28099 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
28100 (log10f): Define using libm_alias_float.
28101 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
28102 (log2f): Define using libm_alias_float.
28103 * math/w_logf_compat.c: Include <libm-alias-float.h>.
28104 (logf): Define using libm_alias_float.
28105 * math/w_powf_compat.c: Include <libm-alias-float.h>.
28106 (powf): Define using libm_alias_float.
28107 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
28108 (remainderf): Define using libm_alias_float.
28109 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
28110 (sinhf): Define using libm_alias_float.
28111 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
28112 (sqrtf): Define using libm_alias_float.
28113 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
28114 (tgammaf): Define using libm_alias_float.
28116 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28118 * include/math.h (roundeven): Change hidden_proto call to
28120 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
28122 [NO_LONG_DOUBLE] (__j0l): New strong alias.
28123 (y0): Rename to __y0 and define as weak alias.
28124 [NO_LONG_DOUBLE] (__y0l): New strong alias.
28125 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
28127 (y0f): Rename to __y0f and define as weak alias.
28128 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
28130 [NO_LONG_DOUBLE] (__j1l): New strong alias.
28131 (y1): Rename to __y1 and define as weak alias.
28132 [NO_LONG_DOUBLE] (__y1l): New strong alias.
28133 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
28135 (y1f): Rename to __y1f and define as weak alias.
28136 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
28138 [NO_LONG_DOUBLE] (__jnl): New strong alias.
28139 (yn): Rename to __yn and define as weak alias.
28140 [NO_LONG_DOUBLE] (__ynl): New strong alias.
28141 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
28143 (ynf): Rename to __ynf and define as weak alias.
28144 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
28145 (fromfp): Define as weak alias.
28146 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
28147 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
28148 (fromfpx): Define as weak alias.
28149 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
28150 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
28151 __getpayload and define as weak alias.
28152 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28153 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
28154 __roundeven and define as weak alias.
28155 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28156 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
28158 (setpayload): Define as weak alias.
28159 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
28160 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
28162 (setpayloadsig): Define as weak alias.
28163 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
28164 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
28165 __totalorder and define as weak alias.
28166 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28167 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
28168 to __totalordermag and define as weak alias.
28169 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28170 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
28171 (ufromfp): Define as weak alias.
28172 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
28173 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
28175 (ufromfpx): Define as weak alias.
28176 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
28177 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
28178 Rename to __getpayload and define as weak alias.
28179 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28180 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
28181 Rename to __roundeven and define as weak alias.
28182 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28183 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
28184 Rename to __totalorder and define as weak alias.
28185 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28186 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
28187 (totalordermag): Rename to __totalordermag and define as weak
28189 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28190 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
28192 (__roundevenl): Likewise.
28193 (__totalorderl): Likewise.
28194 (__totalordermagl): Likewise
28195 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
28197 (fromfpf128): Define as weak alias.
28198 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
28200 (fromfpxf128): Define as weak alias.
28201 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
28203 (setpayloadf128): Define as weak alias.
28204 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
28205 __setpayloadsigf128.
28206 (setpayloadsigf128): Define as weak alias.
28207 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
28209 (ufromfpf128): Define as weak alias.
28210 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
28212 (ufromfpxf128): Define as weak alias.
28213 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
28214 (fromfpf): Define as weak alias.
28215 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
28217 (fromfpxf): Define as weak alias.
28218 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
28219 __getpayloadf and define as weak alias.
28220 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
28221 __roundevenf and define as weak alias.
28222 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
28224 (setpayloadf): Define as weak alias.
28225 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
28227 (setpayloadsigf): Define as weak alias.
28228 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
28229 __totalorderf and define as weak alias.
28230 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
28231 Rename to __totalordermagf and define as weak alias.
28232 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
28234 (ufromfpf): Define as weak alias.
28235 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
28237 (ufromfpxf): Define as weak alias.
28238 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
28240 (fromfpl): Define as weak alias.
28241 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
28243 (fromfpxl): Define as weak alias.
28244 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
28245 to __getpayloadl and define as weak alias.
28246 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
28247 __roundevenl and define as weak alias.
28248 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
28250 (setpayloadl): Define as weak alias.
28251 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
28253 (setpayloadsigl): Define as weak alias.
28254 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
28255 to __totalorderl and define as weak alias.
28256 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
28257 Rename to __totalordermagl and define as weak alias.
28258 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
28260 (ufromfpl): Define as weak alias.
28261 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
28263 (ufromfpxl): Define as weak alias.
28264 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
28266 (fromfpl): Define as weak alias.
28267 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
28269 (fromfpxl): Define as weak alias.
28270 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
28271 Rename to __getpayloadl and define as weak alias.
28272 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
28273 to __roundevenl and define as weak alias. Call __roundeven
28274 instead of roundeven.
28275 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
28277 (setpayloadl): Define as weak alias.
28278 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
28280 (setpayloadsigl): Define as weak alias.
28281 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
28282 Rename to __totalorderl and define as weak alias.
28283 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
28284 Rename to __totalordermagl and define as weak alias.
28285 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
28287 (ufromfpl): Define as weak alias.
28288 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
28290 (ufromfpxl): Define as weak alias.
28291 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
28293 (fromfpl): Define as weak alias.
28294 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
28296 (fromfpxl): Define as weak alias.
28297 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
28298 __getpayloadl and define as weak alias.
28299 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
28300 __roundevenl and define as weak alias.
28301 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
28303 (setpayloadl): Define as weak alias.
28304 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
28306 (setpayloadsigl): Define as weak alias.
28307 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
28308 __totalorderl and define as weak alias.
28309 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
28310 Rename to __totalordermagl and define as weak alias.
28311 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
28313 (ufromfpl): Define as weak alias.
28314 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
28316 (ufromfpxl): Define as weak alias.
28318 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28320 * benchtests/bench-string.h (realloc_bufs): New function.
28321 (test_init): Call it.
28322 * benchtests/bench-memset-large.c (do_test): Likewise.
28323 * benchtests/bench-memset.c (do_test): Likewise.
28325 * benchtests/bench-memset-large.c: Print output in JSON
28327 * benchtests/bench-memset.c: Likewise.
28329 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28332 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
28333 * iconvdata/Makefile: Add IBM858.
28334 * iconvdata/gconv-modules: Likewise.
28335 * iconvdata/tst-tables.sh: Likewise.
28336 * iconvdata/ibm858.c: New file.
28337 * localedata/charmaps/IBM858: Likewise.
28339 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
28342 * locales/niu_NZ (LC_TIME): copy "niu_NU".
28343 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
28345 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28348 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
28349 and add tel_int_fmt.
28351 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28353 * sysdeps/generic/libm-alias-float128.h: New file.
28354 * sysdeps/generic/math-type-macros-float128.h: Include
28355 <libm-alias-float128.h>.
28356 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28358 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28360 * sysdeps/generic/libm-alias-ldouble.h: New file.
28361 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
28362 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
28363 * sysdeps/generic/math-type-macros-ldouble.h: Include
28364 <libm-alias-ldouble.h>.
28365 [!declare_mgen_alias] (declare_mgen_alias): Define to use
28366 libm_alias_ldouble.
28368 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
28370 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
28371 * math/w_exp_compat.c: ... here.
28372 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
28373 * math/w_expf_compat.c: ... here.
28374 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
28375 * math/w_expl_compat.c: ... here.
28376 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
28377 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
28378 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
28379 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28381 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28383 * math/w_scalbln_template.c (strong_alias): Do not undefine and
28385 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
28387 (ldexpl): Only define as compat symbol for libc, not libm.
28388 (scalbnl): Define as compat symbol for libc here.
28389 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
28390 define for [IS_IN (libc)].
28391 (__ldexpl_2): Remove alias.
28392 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
28393 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
28394 name in long_double_symbol call.
28395 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
28396 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28397 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28398 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
28399 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
28401 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
28402 Define as compat symbol.
28404 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28406 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
28407 * sysdeps/unix/sysv/linux/alpha/Makefile
28408 [$(subdir) = csu] (sysdep_routines): Remove rule.
28410 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28412 * sysdeps/generic/libm-alias-double.h: New file.
28413 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
28414 * sysdeps/generic/math-type-macros-double.h: Include
28415 <libm-alias-double.h>.
28416 [declare_mgen_alias] (declare_mgen_alias): Define to use
28418 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
28419 (M_LIBM_NEED_COMPAT): Remove macro.
28420 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
28421 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
28422 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
28424 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28425 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28426 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28427 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28428 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28429 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28430 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28431 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28432 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28433 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28434 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28435 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28436 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28437 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28438 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28439 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28440 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28441 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28442 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28443 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28444 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28445 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28446 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28447 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28448 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28449 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28450 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28451 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
28452 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
28454 (declare_mgen_alias): New macro.
28455 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
28456 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
28457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
28458 (M_LIBM_NEED_COMPAT): Remove macro.
28459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
28460 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
28461 <first-versions.h>.
28462 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
28463 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
28465 2017-09-12 Joseph Myers <joseph@codesourcery.com>
28467 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
28468 (declare_mgen_alias_2): Remove.
28469 * sysdeps/generic/math-type-macros-double.h
28470 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
28472 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
28474 (ldexp): Define with declare_mgen_alias.
28475 (scalbn): Likewise.
28477 2017-09-12 Steve Ellcey <sellcey@cavium.com>
28479 * grp/initgroups.c: Include config.h.
28480 (DEFAULT_CONFIG): New macro.
28481 (internal_getgrouplist): Use DEFAULT_CONFIG.
28482 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28483 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
28484 (DEFAULT_DEFCONFIG): New macro.
28485 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
28486 * nss/grp-lookup.c: Include config.h
28487 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
28488 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
28489 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
28490 * manual/nss.texi: Update default values section.
28492 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
28495 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
28497 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
28498 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28499 Handle MathVec_Prefer_No_AVX512.
28500 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
28501 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
28504 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
28506 * posix/sched_primax.c (__sched_get_priority_max): Add
28508 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
28509 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28510 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28511 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
28512 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
28513 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
28514 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
28515 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
28518 2017-09-11 Joseph Myers <joseph@codesourcery.com>
28520 * sysdeps/generic/libm-alias-float.h: New file.
28521 * sysdeps/generic/math-type-macros-float.h: Include
28522 <libm-alias-float.h>.
28523 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28525 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
28528 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
28529 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
28530 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
28531 (HWCAP_IMPORTANT): Likewise.
28532 (HWCAP_X86_64): New enum.
28533 (HWCAP_X86_AVX512_1): Updated.
28534 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
28535 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
28536 (modules-names): Add x86_64/tst-x86_64mod-1.
28537 (LDFLAGS-tst-x86_64mod-1.so): New.
28538 ($(objpfx)tst-x86_64-1): Likewise.
28539 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
28540 (tst-x86_64-1-clean): Likewise.
28541 * sysdeps/x86_64/tst-x86_64-1.c: New file.
28542 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
28544 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28546 * po/sv.po: Update translations.
28547 * po/fr.po: Likewise.
28549 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28551 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
28553 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
28555 * elf/rtld-Rules: Fix $(error) use.
28557 2017-09-09 Mike FABIAN <mfabian@redhat.com>
28560 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
28561 * locale/iso-639.def: Change “Bengali” to “Bangla”.
28562 * localedata/locales/bn_BD: “Bengali” was still used in some
28563 comments. Change it to “Bangla”.
28565 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
28567 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
28569 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28571 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
28572 thunderx2t99p1 to list of cpu names.
28573 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28574 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
28576 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28578 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
28579 Use strcmp instead of tunable_is_name.
28581 2017-09-08 Joseph Myers <joseph@codesourcery.com>
28583 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28584 (F_GET_RW_HINT): New macro.
28585 [__USE_GNU] (F_SET_RW_HINT): Likewise.
28586 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
28587 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
28588 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
28589 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
28590 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
28591 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
28592 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
28593 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
28595 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28596 (F_ADD_SEALS): New macro.
28597 [__USE_GNU] (F_GET_SEALS): Likewise.
28598 [__USE_GNU] (F_SEAL_SEAL): Likewise.
28599 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
28600 [__USE_GNU] (F_SEAL_GROW): Likewise.
28601 [__USE_GNU] (F_SEAL_WRITE): Likewise.
28603 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28605 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
28606 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
28607 * posix/glob_internal.h (__glob_pattern_type):
28608 * posix/glob.c (glob):
28609 * posix/glob_pattern_p.c (__glob_pattern_p):
28612 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
28613 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28614 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
28615 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
28616 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
28618 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
28619 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
28620 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28621 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28622 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28623 * sysdeps/wordsize-64/glob.c: Likewise.
28624 * sysdeps/wordsize-64/glob64.c: Likewise.
28625 * sysdeps/wordsize-64/globfree.c: Likewise.
28626 * sysdeps/wordsize-64/globfree64.c: Likewise.
28627 * sysdeps/unix/sysv/linux/glob.c: New file.
28628 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
28629 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
28630 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
28631 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28632 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
28633 adds !GLOB_NO_OLD_VERSION as an extra condition.
28634 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
28635 using relative path instead of absolute one.
28636 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
28637 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28638 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28639 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
28640 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
28641 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
28644 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
28645 (glob): Use the same scratch buffer for both getlogin_r and
28646 getpwnam_r. Don’t require preallocation of the login name. This
28647 simplifies storage allocation, and corrects the handling of
28651 * posix/glob.c (glob): Port recent patches to platforms
28652 lacking getpwnam_r.
28653 (glob): Fix longstanding misuse of errno after getpwnam_r, which
28654 returns an error number rather than setting errno.
28656 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
28657 instead of GCC extension.
28658 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
28659 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
28660 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
28664 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
28665 * posix/bug-glob1.c: Remove file.
28666 * posix/tst-glob_symlinks.c: New file.
28667 * posix/glob.c (__lstat64): New macro.
28668 (is_dir): New function.
28669 (glob, glob_in_dir): Match symlinks even if they are dangling.
28670 (link_stat, link_exists_p): Remove. All uses removed.
28674 * posix/glob.c (struct readdir_result): Remove skip_entry member.
28675 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
28680 * posix/Makefile (routines): Add globfree, globfree64, and
28682 * posix/flexmember.h: New file.
28683 * posix/glob_internal.h: Likewise.
28684 * posix/glob_pattern_p.c: Likewise.
28685 * posix/globfree.c: Likewise.
28686 * posix/globfree64.c: Likewise.
28687 * sysdeps/gnu/globfree64.c: Likewise.
28688 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
28689 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28690 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
28691 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28692 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28693 * sysdeps/wordsize-64/globfree.c: Likewise.
28694 * sysdeps/wordsize-64/globfree64.c: Likewise.
28695 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
28696 [NDEBUG): Remove comments.
28697 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
28698 (dirent_type): New type. Use uint_fast8_t not
28699 uint8_t, as C99 does not require uint8_t.
28700 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
28701 (struct readdir_result): Use dirent_type. Do not define skip_entry
28702 unless it is needed; this saves a byte on platforms lacking d_ino.
28703 (readdir_result_type, readdir_result_skip_entry):
28704 New functions, replacing ...
28705 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
28706 these functions, which were removed. This makes the callers
28707 easier to read. All callers changed.
28708 (D_INO_TO_RESULT): Now empty if there is no d_ino.
28709 (size_add_wrapv, glob_use_alloca): New static functions.
28710 (glob, glob_in_dir): Check for size_t overflow in several places,
28711 and fix some size_t checks that were not quite right.
28712 Remove old code using SHELL since Bash no longer
28714 (glob, prefix_array): Separate MS code better.
28715 (glob_in_dir): Remove old Amiga and VMS code.
28716 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
28718 (glob_in_dir): Do not rely on undefined behavior in accessing
28719 struct members beyond their bounds. Use a flexible array member
28721 (link_stat): Rename from link_exists2_p and return -1/0 instead of
28722 0/1. Caller changed.
28723 (glob): Fix memory leaks.
28724 * posix/glob64 (globfree64): Move to separate file.
28725 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
28726 (globfree64): Remove hidden alias.
28727 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
28729 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
28731 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
28733 Move compat code to separate file.
28734 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
28737 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
28739 * resolv/tst-resolv-qtypes.c (domain): Changed to
28740 "const char domain[] =".
28742 2017-09-07 Joseph Myers <joseph@codesourcery.com>
28744 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
28747 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
28748 (TCP_MD5SIG_EXT): Likewise.
28749 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
28750 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
28751 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
28753 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
28755 2017-09-07 Mike FABIAN <mfabian@redhat.com>
28757 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
28759 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
28762 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
28764 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
28766 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
28767 before assuming that the file is empty. Avoid testing buffer content
28770 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28773 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28775 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
28777 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
28779 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
28781 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28783 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
28785 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
28788 2017-09-06 Florian Weimer <fweimer@redhat.com>
28790 * malloc/dynarray_emplace_enlarge.c
28791 (__libc_dynarray_emplace_enlarge): Add missing else.
28793 2017-09-06 Florian Weimer <fweimer@redhat.com>
28796 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
28797 case of failure to obtain the global conf object.
28799 2017-09-06 Florian Weimer <fweimer@redhat.com>
28802 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
28803 dynarray allocation failure.
28805 2017-09-06 Florian Weimer <fweimer@redhat.com>
28807 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
28808 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
28809 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
28811 (response): Call them. Add 'p', '6' flag processing.
28812 (test_reverse): New function.
28813 (test_get2_any): Call it.
28814 (test_no_inet6): Add 'p' test.
28815 (test_inet6): Likewise.
28817 2017-09-06 Florian Weimer <fweimer@redhat.com>
28819 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
28820 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
28822 (test_gai): Adjust query names. Add additional tests.
28823 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
28824 test_get2. Adjust query names. Add additional tests.
28825 (test_no_inet6): New function, extracted from threadfunc.
28826 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
28827 Add additional tests.
28829 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28832 * localedata/unicode-gen/utf8_gen.py: Set the width for
28833 characters with Prepended_Concatenation_Mark property to 1
28834 * localedata/charmaps/UTF-8: Updated using the improved script.
28836 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28839 * localedata/unicode-gen/utf8_gen.py: Improve the script to
28840 use the range notation for all ranges of neighbouring characters
28841 with the same width.
28843 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28845 * sysdeps/generic/math-type-macros-double.h: Include
28846 <math-svid-compat.h>.
28847 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28848 * sysdeps/generic/math-type-macros-float.h: Include
28849 <math-svid-compat.h>.
28850 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28851 * sysdeps/generic/math-type-macros-ldouble.h: Include
28852 <math-svid-compat.h>.
28853 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28854 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
28856 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
28857 * math/w_acosf_compat.c: Likewise.
28858 * math/w_acosh_compat.c: Likewise.
28859 * math/w_acoshf_compat.c: Likewise.
28860 * math/w_acoshl_compat.c: Likewise.
28861 * math/w_acosl_compat.c: Likewise.
28862 * math/w_asin_compat.c: Likewise.
28863 * math/w_asinf_compat.c: Likewise.
28864 * math/w_asinl_compat.c: Likewise.
28865 * math/w_atan2_compat.c: Likewise.
28866 * math/w_atan2f_compat.c: Likewise.
28867 * math/w_atan2l_compat.c: Likewise.
28868 * math/w_atanh_compat.c: Likewise.
28869 * math/w_atanhf_compat.c: Likewise.
28870 * math/w_atanhl_compat.c: Likewise.
28871 * math/w_cosh_compat.c: Likewise.
28872 * math/w_coshf_compat.c: Likewise.
28873 * math/w_coshl_compat.c: Likewise.
28874 * math/w_exp10_compat.c: Likewise.
28875 * math/w_exp10f_compat.c: Likewise.
28876 * math/w_exp10l_compat.c: Likewise.
28877 * math/w_exp2_compat.c: Likewise.
28878 * math/w_exp2f_compat.c: Likewise.
28879 * math/w_exp2l_compat.c: Likewise.
28880 * math/w_fmod_compat.c: Likewise.
28881 * math/w_fmodf_compat.c: Likewise.
28882 * math/w_fmodl_compat.c: Likewise.
28883 * math/w_hypot_compat.c: Likewise.
28884 * math/w_hypotf_compat.c: Likewise.
28885 * math/w_hypotl_compat.c: Likewise.
28886 * math/w_j0_compat.c: Likewise.
28887 * math/w_j0f_compat.c: Likewise.
28888 * math/w_j0l_compat.c: Likewise.
28889 * math/w_j1_compat.c: Likewise.
28890 * math/w_j1f_compat.c: Likewise.
28891 * math/w_j1l_compat.c: Likewise.
28892 * math/w_jn_compat.c: Likewise.
28893 * math/w_jnf_compat.c: Likewise.
28894 * math/w_jnl_compat.c: Likewise.
28895 * math/w_lgamma_r_compat.c: Likewise.
28896 * math/w_lgammaf_r_compat.c: Likewise.
28897 * math/w_lgammal_r_compat.c: Likewise.
28898 * math/w_log10_compat.c: Likewise.
28899 * math/w_log10f_compat.c: Likewise.
28900 * math/w_log10l_compat.c: Likewise.
28901 * math/w_log2_compat.c: Likewise.
28902 * math/w_log2f_compat.c: Likewise.
28903 * math/w_log2l_compat.c: Likewise.
28904 * math/w_log_compat.c: Likewise.
28905 * math/w_logf_compat.c: Likewise.
28906 * math/w_logl_compat.c: Likewise.
28907 * math/w_pow_compat.c: Likewise.
28908 * math/w_powf_compat.c: Likewise.
28909 * math/w_powl_compat.c: Likewise.
28910 * math/w_remainder_compat.c: Likewise.
28911 * math/w_remainderf_compat.c: Likewise.
28912 * math/w_remainderl_compat.c: Likewise.
28913 * math/w_sinh_compat.c: Likewise.
28914 * math/w_sinhf_compat.c: Likewise.
28915 * math/w_sinhl_compat.c: Likewise.
28916 * math/w_sqrt_compat.c: Likewise.
28917 * math/w_sqrtf_compat.c: Likewise.
28918 * math/w_sqrtl_compat.c: Likewise.
28919 * math/w_tgamma_compat.c: Likewise.
28920 * math/w_tgammaf_compat.c: Likewise.
28921 * math/w_tgammal_compat.c: Likewise.
28922 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
28923 [LIBM_SVID_COMPAT].
28924 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
28925 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
28926 [LIBM_SVID_COMPAT].
28927 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
28928 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
28929 [LIBM_SVID_COMPAT].
28930 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
28931 * sysdeps/i386/fpu/w_sqrt.c: New file.
28932 * sysdeps/ia64/fpu/w_acos.c: Likewise.
28933 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
28934 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
28935 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
28936 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
28937 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
28938 * sysdeps/ia64/fpu/w_asin.c: Likewise.
28939 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
28940 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
28941 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
28942 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
28943 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
28944 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
28945 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
28946 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
28947 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
28948 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
28949 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
28950 * sysdeps/ia64/fpu/w_exp.c: Likewise.
28951 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
28952 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
28953 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
28954 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
28955 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
28956 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
28957 * sysdeps/ia64/fpu/w_expf.c: Likewise.
28958 * sysdeps/ia64/fpu/w_expl.c: Likewise.
28959 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
28960 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
28961 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
28962 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
28963 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
28964 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
28965 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
28966 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
28967 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
28968 * sysdeps/ia64/fpu/w_log.c: Likewise.
28969 * sysdeps/ia64/fpu/w_log10.c: Likewise.
28970 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
28971 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
28972 * sysdeps/ia64/fpu/w_log2.c: Likewise.
28973 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
28974 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
28975 * sysdeps/ia64/fpu/w_logf.c: Likewise.
28976 * sysdeps/ia64/fpu/w_logl.c: Likewise.
28977 * sysdeps/ia64/fpu/w_pow.c: Likewise.
28978 * sysdeps/ia64/fpu/w_powf.c: Likewise.
28979 * sysdeps/ia64/fpu/w_powl.c: Likewise.
28980 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
28981 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
28982 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
28983 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
28984 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
28985 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
28986 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
28987 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
28988 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
28989 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
28990 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
28991 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
28992 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
28993 [LIBM_SVID_COMPAT].
28994 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
28995 * sysdeps/ieee754/k_standard.c: Likewise.
28996 * sysdeps/ieee754/k_standardf.c: Likewise.
28997 * sysdeps/ieee754/k_standardl.c: Likewise.
28998 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
28999 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29000 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29001 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
29002 long_double_symbol call on [LIBM_SVID_COMPAT].
29003 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29004 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29005 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29006 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29007 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29008 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29009 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29010 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29011 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29012 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29013 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29014 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29015 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29016 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29017 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29018 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29019 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
29020 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29021 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29022 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29023 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
29024 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
29026 2017-09-05 Steve Ellcey <sellcey@cavium.com>
29028 * include/shlib-compat.h (TEST_COMPAT): New Macro.
29029 * malloc/tst-mallocstate.c: Convert from test-skeleton
29030 to test-driver. Ifdef code using TEST_COMPAT macro.
29031 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
29032 * math/test-matherr.c: Likewise.
29034 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29037 * debug/pcprofiledump.c (main): Use byte-swapped mask when
29038 comparing word with byte-swapped constant.
29040 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
29043 * locale/iso-639.def: add Miskito.
29044 * localedata/SUPPORTED: Add miq_NI/UTF-8.
29045 * localedata/locales/miq_NI: New file.
29047 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
29050 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
29051 (__mkdir): Likewise.
29052 * io/chmod.c (__chmod): Add libc_hidden_def.
29053 * io/mkdir.c (__mkdir): Likewise.
29054 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
29055 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
29056 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
29057 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
29059 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29061 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
29065 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
29066 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
29068 2017-09-04 Florian Weimer <fweimer@redhat.com>
29070 * math/math.h: Issue warning if log is defined.
29072 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29074 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
29075 kernel version to 4.13.
29077 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29079 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
29080 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
29082 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
29083 just <bits/types.h>.
29084 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
29085 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
29086 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
29087 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
29088 * misc/preadv2.c: Include <errno.h>.
29089 * misc/preadv64v2.c: Include <errno.h>.
29090 * misc/pwritev2.c: Include <errno.h>.
29091 * misc/pwritev64v2.c: Include <errno.h>.
29092 * sysdeps/posix/preadv2.c: Include <errno.h>.
29093 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
29094 Fix <unistd.h> inclusion.
29095 * sysdeps/posix/pwritev2.c: Include <errno.h>.
29096 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
29097 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
29098 __strtoul_internal): New functions.
29099 * sysdeps/posix/pause.c: Include <sigsetops.h>.
29100 * sysdeps/posix/system.c: Include <sigsetops.h>.
29101 * sysdeps/mach/hurd/i386/Makefile
29102 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
29103 [$(subdir) = csu] (sysdep-only-routines): Likewise.
29104 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
29105 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
29106 __feraiseexcept_renamed to feraiseexcept instead of
29107 __GI_feraiseexcept.
29108 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
29109 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
29110 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
29111 RWF_NOWAIT): Define to 0 if undefined already.
29112 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
29114 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
29115 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
29117 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29119 * manual/math.texi (pow10): Do not document.
29120 (pow10f): Likewise.
29121 (pow10l): Likewise.
29122 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
29123 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
29124 * math/libm-test-exp10.inc (pow10_test): Remove.
29125 (do_test): Do not call pow10.
29126 * math/w_exp10_compat.c (pow10): Make into compat symbol.
29127 [NO_LONG_DOUBLE] (pow10l): Likewise.
29128 * math/w_exp10f_compat.c (pow10f): Likewise.
29129 * math/w_exp10l_compat.c (pow10l): Likewise.
29130 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
29131 (pow10): Make into compat symbol.
29132 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
29133 (pow10f): Make into compat symbol.
29134 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
29135 (pow10l): Make into compat symbol.
29136 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
29138 (CFLAGS-nldbl-pow10.c): Remove variable..
29139 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
29140 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
29141 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
29142 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
29143 Undefine and redefine.
29144 (pow10l): Make into compat symbol.
29145 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
29146 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29147 * sysdeps/arm/libm-test-ulps: Likewise.
29148 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
29149 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29150 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29151 * sysdeps/microblaze/libm-test-ulps: Likewise.
29152 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29153 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29154 * sysdeps/nios2/libm-test-ulps: Likewise.
29155 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29156 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29157 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29158 * sysdeps/sh/libm-test-ulps: Likewise.
29159 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29160 * sysdeps/tile/libm-test-ulps: Likewise.
29161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29163 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29165 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
29167 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29169 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
29170 "../ChangeLog.old/ChangeLog.8".
29171 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
29172 "../ChangeLog.old/ChangeLog.14".
29174 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29176 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
29179 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29181 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
29183 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29185 * csu/version.c (banner): Remove "by Roland McGrath et al.".
29186 * nptl/Banner: Remove "by Ulrich Drepper et al.".
29188 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29190 * stdlib/tst-atexit-common.c (do_test): Test support for at least
29191 32 atexit handlers.
29193 2017-09-01 Zack Weinberg <zackw@panix.com>
29195 * math/math.h (HUGE_VAL): Improve commentary.
29197 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29198 Andreas Schwab <schwab@suse.de>
29201 * include/stdio.h (__gen_tempfd): New function.
29202 * stdio-common/Makefile (routines): Add gentempfd.
29203 * stdio-common/gentempfd.c: New file.
29204 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
29205 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
29206 unnamed file first.
29208 2017-09-01 Florian Weimer <fweimer@redhat.com>
29212 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
29213 result to determine success or failure, not the errno value.
29214 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
29215 (tst-nss-files-hosts-erange): Link with -ldl.
29216 * nss/tst-nss-files-hosts-erange.c: New file.
29217 * nss/tst-resolv-basic.c (response): Handle nodata.example.
29218 (do_test): Add NO_DATA tests.
29219 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
29220 (do_test): Call it.
29222 2017-09-01 Florian Weimer <fweimer@redhat.com>
29225 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
29226 coming from gethostbyname2_r.
29228 2017-09-01 Florian Weimer <fweimer@redhat.com>
29230 * support/namespace.h (struct support_chroot_configuration): Add
29232 (struct support_chroot): Add path_hosts, path_host_conf.
29233 * support/support_chroot.c (write_file): New function.
29234 (support_chroot_create): Call it to process /etc/resolv.conf,
29235 /etc/hosts, /etc/host.conf.
29236 (support_chroot_free): Update.
29238 2017-09-01 Florian Weimer <fweimer@redhat.com>
29240 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
29241 status indicates it is set.
29243 2017-09-01 Florian Weimer <fweimer@redhat.com>
29246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
29247 function lookup failures more reliable.
29249 2017-09-01 Florian Weimer <fweimer@redhat.com>
29251 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
29252 (getcanonname): Likewise.
29253 (gaih_inet): Likewise.
29255 2017-09-01 Florian Weimer <fweimer@redhat.com>
29257 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
29258 (getcanonname): Likewise.
29259 (gaih_inet): Likewise.
29261 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29262 Richard Henderson <rth@twiddle.net>
29264 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
29265 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
29266 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
29267 (IREG_SIZE, OREG_SIZE): New macros.
29268 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
29269 (IREG_SIZE, OREG_SIZE): New macros.
29270 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
29271 (IREG_SIZE): New macro.
29272 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
29273 (IREG_SIZE): New macro.
29274 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
29276 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
29277 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29278 (__CONCATX): Handle exceptions correctly on large values that may
29280 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
29281 Initialize if not already set.
29282 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29284 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29286 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
29287 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
29289 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
29291 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
29293 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
29295 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
29297 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
29299 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
29301 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
29302 (NO_CANCELLATION): Likewise.
29303 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
29305 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
29307 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
29309 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
29310 (NO_CANCELLATION): Likewise.
29311 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
29312 (NO_CANCELLATION): Likewise.
29313 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
29315 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
29317 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
29319 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
29321 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
29323 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
29324 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
29326 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29328 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
29331 2017-08-31 Florian Weimer <fweimer@redhat.com>
29333 * include/libc-symbols.h (internal_function): Remove.
29335 2017-08-31 Florian Weimer <fweimer@redhat.com>
29337 * stdlib/fmtmsg.c (internal_addseverity): Remove
29340 2017-08-31 Florian Weimer <fweimer@redhat.com>
29342 * stdio-common/printf_fp.c (group_number): Remove
29344 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
29346 2017-08-31 Florian Weimer <fweimer@redhat.com>
29348 * posix/fnmatch.c (internal_function): Remove definition.
29349 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
29350 * posix/regcomp.c (peek_token, init_word_char)
29351 (duplicate_node_closure, fetch_token, peek_token)
29352 (peek_token_bracket, build_range_exp, build_collating_symbol):
29354 * posix/regex_internal.c (re_string_construct_common)
29355 (create_ci_newstate, create_cd_newstate, re_string_allocate)
29356 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
29357 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
29358 (re_string_translate_buffer, re_string_reconstruct)
29359 (re_string_peek_byte_case, re_string_fetch_byte_case)
29360 (re_string_destruct, re_string_context_at, re_node_set_alloc)
29361 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
29362 (re_node_set_add_intersect, re_node_set_init_union)
29363 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
29364 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
29365 (re_dfa_add_node, calc_state_hash, re_acquire_state)
29366 (re_acquire_state_context): Likewise.
29367 * posix/regex_internal.h (internal_function): Remove definition.
29368 (re_string_realloc_buffers, build_wcs_buffer)
29369 (build_wcs_upper_buffer, build_upper_buffer)
29370 (re_string_translate_buffer, re_string_context_at)
29371 (re_string_char_size_at, re_string_wchar_at)
29372 (re_string_elem_size_at): Likewise.
29373 * posix/regexec.c (match_ctx_init, match_ctx_clean)
29374 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
29375 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
29376 (re_search_internal, re_search_2_stub, re_search_stub)
29377 (re_copy_regs, prune_impossible_nodes, check_matching)
29378 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
29379 (free_fail_stack_return, sift_states_iter_mb)
29380 (sift_states_backward, build_sifted_states)
29381 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
29382 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
29383 (check_subexp_limits, sift_states_bkref, merge_state_array)
29384 (find_recover_state, transit_state, merge_state_with_log)
29385 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
29386 (transit_state_mb, transit_state_bkref, get_subexp)
29387 (get_subexp_sub, find_subexp_node, check_arrival)
29388 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
29389 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
29390 (check_node_accept_bytes, find_collation_sequence_value)
29391 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
29392 (acquire_init_state_context, check_halt_node_context)
29393 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
29394 (sub_epsilon_src_nodes): Likewise.
29395 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
29396 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
29397 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
29398 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
29399 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
29400 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
29401 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
29402 * sysdeps/posix/ttyname.c (getttyname): Likewise.
29403 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
29404 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
29405 (PREADV): Likewise.
29406 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
29407 (PREADV): Likewise.
29408 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
29409 (PWRITEV): Likewise.
29410 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
29411 (PWRITEV): Likewise.
29412 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
29413 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
29415 2017-08-31 Florian Weimer <fweimer@redhat.com>
29417 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
29418 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
29419 Remove internal_function.
29420 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29421 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
29422 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
29423 (__deallocate_stack, __libc_pthread_init)
29424 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
29425 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
29426 (__libc_disable_asynccancel, __librt_disable_asynccancel):
29428 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
29429 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
29430 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
29432 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
29433 (__pthread_mutex_unlock_usercnt): Likewise.
29435 2017-08-31 Florian Weimer <fweimer@redhat.com>
29437 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
29438 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
29439 (fts_safe_changedir): Remove internal_function.
29440 * io/ftw.c (internal_function): Remove definition.
29441 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
29443 2017-08-31 Florian Weimer <fweimer@redhat.com>
29445 * inet/deadline.c (__deadline_current_time)
29446 (__deadline_from_timeval, __deadline_to_ms): Remove
29448 * inet/getnameinfo.c (nrl_domainname): Likewise.
29449 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
29450 * inet/inet6_option.c (add_pad): Likewise.
29451 * inet/net-internal.h (__deadline_current_time)
29452 (__deadline_from_timeval, __deadline_to_ms): Likewise.
29453 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
29454 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
29455 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
29457 2017-08-31 Joseph Myers <joseph@codesourcery.com>
29459 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
29460 include <bits/nan.h>.
29461 * math/Makefile (headers): Remove bits/nan.h.
29462 * bits/nan.h: Remove.
29463 * sysdeps/ieee754/bits/nan.h: Likewise.
29464 * sysdeps/mips/bits/nan.h: Likewise.
29466 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
29467 not include <bits/inf.h>.
29468 * math/Makefile (headers): Remove bits/inf.h.
29469 * bits/inf.h: Remove.
29470 * sysdeps/ieee754/bits/inf.h: Likewise.
29472 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
29473 bits/huge_vall.h or bits/huge_val_flt128.h.
29474 (HUGE_VAL): Define directly here.
29475 [__USE_ISOC99] (HUGE_VALF): Likewise.
29476 [__USE_ISOC99] (HUGE_VALL): Likewise.
29477 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29478 (HUGE_VAL_F128): Likewise.
29479 * math/Makefile (headers): Remove bits/huge_val.h,
29480 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
29481 * bits/huge_val.h: Remove.
29482 * bits/huge_val_flt128.h: Likewise.
29483 * bits/huge_valf.h: Likewise.
29484 * bits/huge_vall.h: Likewise.
29485 * sysdeps/ia64/bits/huge_vall.h: Likewise.
29486 * sysdeps/ieee754/bits/huge_val.h: Likewise.
29487 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
29488 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
29489 * sysdeps/sh/bits/huge_val.h: Likewise.
29490 * sysdeps/sparc/bits/huge_vall.h: Likewise.
29491 * sysdeps/x86/bits/huge_vall.h: Likewise.
29493 2017-08-31 Florian Weimer <fweimer@redhat.com>
29495 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
29497 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
29499 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
29500 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29501 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
29502 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
29503 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29504 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29505 * elf/dl-libc.c (dlerror_run): Likewise.
29506 * elf/dl-load.c (add_name_to_object, decompose_rpath)
29507 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
29508 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
29509 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
29511 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
29512 (_dl_higher_prime_number, _dl_strtoul): Likewise.
29513 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
29514 * elf/dl-profile.c (_dl_start_profile): Likewise.
29515 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
29516 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
29518 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
29519 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
29520 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
29521 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
29522 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
29523 (_dl_allocate_tls_storage): Likewise.
29524 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
29525 (_dl_check_all_versions): Likewise.
29526 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29527 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
29528 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
29529 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29530 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
29531 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
29532 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
29533 internal_function from __dl_start.
29534 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
29535 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29536 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
29537 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
29538 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
29539 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
29540 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
29541 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
29542 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
29543 (_dl_next_ld_env_entry, _dl_important_hwcaps)
29544 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
29545 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
29546 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
29547 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
29548 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
29550 (struct rtld_global_ro): Remove internal_function from the
29551 _dl_lookup_symbol_x member.
29552 (_dl_symbol_value): Remove. No longer defined anywhere.
29553 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
29555 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29556 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29557 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
29558 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
29559 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
29560 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
29561 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
29562 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
29563 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
29564 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29565 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29566 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29568 2017-08-31 Florian Weimer <fweimer@redhat.com>
29570 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
29571 Remove internal_function.
29572 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29574 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29577 2017-08-31 Florian Weimer <fweimer@redhat.com>
29579 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
29580 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
29581 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
29583 2017-08-31 Florian Weimer <fweimer@redhat.com>
29585 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
29586 (__gai_enqueue_request): Remove internal_function.
29587 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
29588 (__gai_remove_request, __gai_notify, __gai_notify_only)
29589 (__gai_sigqueue): Likewise.
29590 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
29591 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29592 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
29593 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29596 2017-08-31 Florian Weimer <fweimer@redhat.com>
29598 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
29599 * include/dirent.h (__opendirat, __getdents, __getdents64)
29600 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
29601 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
29602 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29603 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29605 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
29607 2017-08-31 Florian Weimer <fweimer@redhat.com>
29609 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
29611 (GETCWD_RETURN_TYPE): Likewise.
29613 2017-08-31 Florian Weimer <fweimer@redhat.com>
29615 * include/time.h (__tz_compute, __strptime_internal): Remove
29617 * time/strptime_l.c (__strptime_internal): Likewise.
29618 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
29620 2017-08-31 Florian Weimer <fweimer@redhat.com>
29622 * iconv/gconv.c (__gconv): Remove internal_function.
29623 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
29624 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
29625 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
29626 (__gconv_release_cache): Likewise.
29627 * iconv/gconv_close.c (__gconv_close): Likewise.
29628 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
29629 (read_conf_file, __gconv_get_path): Likewise.
29630 * iconv/gconv_db.c (derivation_lookup, add_derivation)
29631 (__gconv_release_step, gen_steps, increment_counter)
29632 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
29633 (__gconv_close_transform, free_modules_db): Likewise.
29634 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
29636 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
29637 (__gconv_find_transform, __gconv_lookup_cache)
29638 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
29639 (__gconv_close_transform, __gconv_release_cache)
29640 (__gconv_loaded_object, __gconv_release_shlib)
29641 (__gconv_compare_alias): Likewise.
29642 * iconv/gconv_open.c (__gconv_open): Likewise.
29643 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
29644 * iconv/iconvconfig.c (add_module): Likewise.
29645 * intl/dcigettext.c (plural_lookup, guess_category_value)
29646 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
29647 * intl/eval-plural.h (plural_eval): Likewise.
29648 * intl/finddomain.c (_nl_find_domain): Likewise.
29649 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
29650 (_nl_load_domain, _nl_find_msg): Likewise.
29651 (internal_function): Remove definition.
29652 * intl/loadinfo.h (internal_function): Likewise.
29653 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
29655 * intl/localealias.c (internal_function): Remove definition.
29656 (read_alias_file): Remove internal_function.
29657 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
29658 * intl/plural-exp.h (internal_function): Remove definition.
29659 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
29661 * intl/plural.c: Regenerate.
29662 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
29663 * locale/coll-lookup.c (__collidx_table_lookup)
29664 (__collseq_table_lookup): Likewise.
29665 * locale/coll-lookup.h (__collidx_table_lookup)
29666 (__collseq_table_lookup): Likewise.
29667 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
29668 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29669 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
29670 (_nl_unload_locale): Likewise.
29671 * locale/localeinfo.h (struct __locale_data): Remove
29672 internal_function from cleanup member.
29673 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
29674 (_nl_remove_locale, _nl_load_locale_from_archive)
29675 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
29676 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
29677 (_nl_cleanup_time): Remove internal_function.
29678 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
29679 (_nl_parse_alt_digit): Likewise.
29680 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
29681 (_nl_select_era_entry): Likewise.
29682 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
29683 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29684 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29685 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29686 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29688 2017-08-31 Florian Weimer <fweimer@redhat.com>
29690 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
29691 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29692 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
29693 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
29695 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
29696 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
29697 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
29698 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29700 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
29702 2017-08-31 Florian Weimer <fweimer@redhat.com>
29704 * misc/getttyent.c (skip, value): Remove internal_function.
29705 * misc/syslog.c (openlog_internal): Likewise.
29706 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
29708 2017-08-31 Florian Weimer <fweimer@redhat.com>
29710 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
29711 (__nss_rewrite_field): Remove internal_function.
29712 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29713 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29714 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29715 * nss/nsswitch.c (nss_parse_file, nss_getline)
29716 (nss_parse_service_list, nss_new_service): Likewise.
29717 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
29718 * nss/valid_field.c (__nss_valid_field): Likewise.
29719 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29721 2017-08-31 Florian Weimer <fweimer@redhat.com>
29723 * malloc/arena.c (__malloc_fork_lock_parent)
29724 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
29725 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
29726 internal_function from defintions.
29727 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
29728 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
29729 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
29730 internal_function from declarations.
29731 * malloc/malloc.c (internal_function): Do not define.
29732 (mem2mem_check): Remove internal_function from declaration.
29733 (munmap_chunk, mremap_chunk): Remove internal_function.
29734 * malloc/mtrace.c (tr_where): Likewise.
29736 2017-08-31 Florian Weimer <fweimer@redhat.com>
29738 * include/rpc/pmap_clnt.h (__get_socket): Remove
29740 * sunrpc/auth_des.c (synchronize): Likewise.
29741 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
29742 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
29743 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
29744 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
29745 (key_call): Likewise.
29746 * sunrpc/pm_getport.c (__get_socket): Likewise.
29747 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
29748 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
29749 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
29750 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
29751 (invalidate): Likewise.
29752 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
29753 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
29754 (set_input_fragment, get_input_bytes): Likewise.
29756 2017-08-31 Florian Weimer <fweimer@redhat.com>
29758 * malloc/malloc.c (_int_free): Remove locked variable and related
29761 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
29764 * Makerules (build-module-helper-objlist): Filter out
29765 $(elf-objpfx)sofini.os.
29766 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
29769 2017-08-31 Florian Weimer <fweimer@redhat.com>
29771 * libio/fcloseall.c: Assume weak_alias is defined.
29772 * libio/feof.c: Likewise.
29773 * libio/fileno.c: Likewise.
29774 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
29775 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29777 (_IO_file_open): Call __open directly.
29778 (_IO_new_file_sync): Assume ESPIPE is defined.
29779 (_IO_file_seekoff_maybe_mmap): Call __read directly.
29780 (_IO_new_file_write): Call __write directly.
29781 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
29782 * libio/ftello64.c (__ftello64): Assume EIO is defined.
29783 * libio/genops.c: Assume _LIBC is defined.
29784 (save_for_backup): Remove internal_function.
29785 * libio/getc.c: Assume weak_alias is defined.
29786 * libio/getwc.c: Likewise.
29787 * libio/iofclose.c: Assume _LIBC is defined.
29788 * libio/iofdopen.c: Likewise.
29789 (_IO_fcntl): Remove macro definition.
29790 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
29791 Call __fcntl directly.
29792 * libio/iofflush.c: Assume weak_alias is defined.
29793 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
29795 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
29796 * libio/iofgets.c: Likewise.
29797 * libio/iofopen.c: Assume _LIBC is defined.
29798 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
29799 * libio/iofputs.c: Assume weak_alias is defined.
29800 * libio/iofread.c: Likewise.
29801 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
29802 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
29803 * libio/ioftell.c: Assume weak_alias is defined.
29804 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
29805 * libio/iofwide.c: Assume _LIBC is defined.
29806 (_IO_fwide): Drop SHARED conditional because it is implied by
29808 * libio/iofwrite.c: Assume weak_alias is defined.
29809 * libio/iogetdelim.c: Likewise.
29810 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
29811 * libio/iogetwline.c (wmemcpy): Remove macro definition.
29812 (_IO_getwline): Call __wmemcpy directly.
29813 * libio/iopopen.c: Assume _LIBC is defined.
29814 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29815 (_IO_close): Remove macro definitions.
29816 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
29818 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
29820 * libio/ioputs.c: Assume weak_alias is defined.
29821 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
29822 * libio/iosetbuffer.c: Assume weak_alias is defined.
29823 * libio/iosetvbuf.c: Likewise.
29824 * libio/ioungetc.c: Likewise.
29825 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
29826 libc_hidden_def, libc_hidden_weak, NULL are defined.
29827 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
29828 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
29830 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29832 (_IO_old_file_init_internal): Drop SHARED conditional because it
29833 is implied by SHLIB_COMPAT.
29834 (_IO_old_file_fopen): Call __open directly.
29835 (_IO_old_file_sync): Assume ESPIPE is defined.
29836 (_IO_old_file_write): Call __write directly.
29837 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
29838 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
29839 Call __fcntl directly.
29840 * libio/oldiofgetpos.c: Assume weak_alias is defined.
29841 (_IO_old_fgetpos): Assume EIO is defined.
29842 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
29843 (_IO_old_fgetpos64): Assume EIO is defined.
29844 * libio/oldiofsetpos.c: Assume weak_alias is defined.
29845 (_IO_old_fsetpos): Assume EIO is defined.
29846 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
29847 (_IO_old_fsetpos64): Assume EIO is defined.
29848 * libio/oldiopopen.c: Assume _LIBC is defined.
29849 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29850 (_IO_close): Remove macro definitions.
29851 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
29853 (_IO_old_proc_close): Call __close, __waitpid directly.
29854 * libio/put.c: Assume weak_alias is defined.
29855 * libio/stdfiles.c: Assume _LIBC is defined.
29856 * libio/stdio.c: Likewise.
29857 * libio/wfileops.c: Likewise.
29858 (_IO_wfile_sync): Assume ESPIPE is defined.
29859 * libio/wgenops.c: Assume _LIBC is defined.
29860 (save_for_wbackup): Remove internal_function.
29862 2017-08-31 Florian Weimer <fweimer@redhat.com>
29864 * malloc/malloc.c (top_check): Change return type to void. Remove
29866 * malloc/hooks.c (top_check): Likewise.
29867 (malloc_check, realloc_check, memalign_check): Adjust.
29869 2017-08-30 Joseph Myers <joseph@codesourcery.com>
29872 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29873 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
29874 sigcontext and namespace requirements.
29875 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29876 * sysdeps/m68k/sys/ucontext.h: Likewise.
29877 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
29878 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
29879 <bits/sigcontext.h>.
29880 (__ctx): Define earlier.
29881 (mcontext_t): Define structure contents rather than using struct
29883 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
29884 __glibc_reserved1 instead of __reserved.
29885 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
29886 <bits/sigcontext.h>.
29887 (__ctx): Define earlier.
29888 (mcontext_t): Define structure contents rather than using struct
29890 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
29891 mcontext_t instead of struct sigcontext.
29892 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
29893 <bits/sigcontext.h>.
29894 (__ctx): Define earlier.
29895 (mcontext_t): Define structure contents rather than using struct
29897 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
29898 <bits/sigcontext.h>.
29899 (__ctx): Define earlier.
29900 (mcontext_t): Define structure contents rather than using struct
29902 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
29903 mcontext_t instead of struct sigcontext.
29904 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
29905 mcontext_t instead of struct sigcontext.
29906 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
29907 <bits/sigcontext.h>.
29908 (__ctx): New macro.
29909 (struct __ia64_fpreg_mcontext): New type.
29910 (mcontext_t): Define structure contents rather than using struct
29912 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
29913 (uc_sigmask): Define using __ctx.
29914 (uc_stack): Likewise.
29915 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
29916 <bits/sigcontext.h>.
29917 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29918 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
29919 <bits/sigcontext.h>.
29920 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
29921 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
29922 <bits/sigcontext.h>.
29923 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
29924 <bits/sigcontext.h>.
29925 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
29926 <bits/sigcontext.h>.
29927 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
29928 <bits/sigcontext.h>.
29929 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
29930 <bits/sigcontext.h>.
29931 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
29932 <bits/sigcontext.h>.
29933 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
29934 <bits/sigcontext.h>.
29935 (__ctx): Define earlier.
29936 (mcontext_t): Define structure contents rather than using struct
29938 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
29939 <bits/sigcontext.h>. Include <bits/types.h>.
29940 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
29941 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
29942 (test-xfail-XPG42/ucontext.h/conform): Likewise.
29943 (test-xfail-UNIX98/signal.h/conform): Likewise.
29944 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29945 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29946 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29947 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29948 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29949 (test-xfail-POSIX2008/signal.h/conform): Likewise.
29950 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29951 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29952 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29954 2017-08-30 Florian Weimer <fweimer@redhat.com>
29956 * malloc/dynarray_emplace_enlarge.c
29957 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
29958 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
29959 * malloc/tst-dynarray.c (test_long_overflow): New function.
29960 (do_test): Call it.
29962 2017-08-30 Florian Weimer <fweimer@redhat.com>
29964 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
29965 (set_arena_corrupt): Remove definitions.
29966 (mtrim): Do not check for corrupt arena.
29967 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
29970 2017-08-30 Florian Weimer <fweimer@redhat.com>
29973 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
29975 (ptmalloc_init): Do not set or use check_action.
29976 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
29977 call to malloc_printerr. Remove return statement.
29978 (free_check): Likewise. Remove arena unlock.
29979 (top_check): Update comment. Adjust call to malloc_printerr.
29980 Remove heap repair code.
29981 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
29982 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
29983 (sysmalloc): Adjust call to malloc_printerr.
29984 (munmap_chunk, __libc_realloc): Likewise. Remove return
29986 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
29987 Remove errout label and corresponding gotos.
29988 (_int_free): Likewise. Remove arena unlock.
29989 (do_set_mallopt_check): Do not set check_action.
29990 (malloc_printerr): Adjust parameter list. Do not mark arena as
29992 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
29994 * manual/probes.texi (Memory Allocation Probes): Remove
29995 memory_mallopt_check_action.
29997 2017-08-30 Steve Ellcey <sellcey@cavium.com>
29999 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
30000 Use pointer to uint64_t instead of long int for sp.
30002 2017-08-30 Florian Weimer <fweimer@redhat.com>
30005 * malloc/malloc.c (malloc_printerr): Always terminate the process,
30006 without printing a backtrace. Do not leak any information in the
30008 * manual/memory.texi (Heap Consistency Checking): Update.
30009 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
30011 2017-08-30 Florian Weimer <fweimer@redhat.com>
30013 Do not scale NPTL tests with available number of CPUs.
30014 * nptl/tst-cond16.c (count): Set to constant value of 8.
30015 * nptl/tst-cond18.c (count): Likewise.
30017 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30020 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
30021 Define to take a second argument that is a macro that
30022 concatentates a suffix, not the suffix itself.
30023 (__CONCAT_d): New macro.
30024 (__CONCAT_f): Likewise.
30025 (__CONCAT_l): Likewise.
30027 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
30029 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
30032 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30033 Aurelien Jarno <aurelien@aurel32.net>
30034 Maciej W. Rozycki <macro@imgtec.com>
30037 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
30038 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
30039 `mips16-syscall6' and `mips16-syscall7'.
30040 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
30041 (CFLAGS-mips16-syscall7.c): Remove.
30042 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
30043 Remove `__mips16_syscall5', `__mips16_syscall6' and
30044 `__mips16_syscall7'.
30045 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
30046 (__mips16_syscall0): Rename `__mips16_syscall_return' to
30047 `__mips_syscall_return'.
30048 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
30049 (__mips16_syscall1): Likewise.
30050 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
30051 (__mips16_syscall2): Likewise.
30052 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
30053 (__mips16_syscall3): Likewise.
30054 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
30055 (__mips16_syscall4): Likewise.
30056 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
30058 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
30060 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
30062 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
30063 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
30064 `__mips16_syscall5'. Remove prototype.
30065 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
30066 `__mips16_syscall6'. Remove prototype.
30067 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
30068 `__mips16_syscall7'. Remove prototype.
30069 (__nomips16, __mips16_syscall_return): Move to...
30070 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
30071 (__nomips16, __mips_syscall_return): ... here.
30072 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
30073 `__mips16_syscall_return' to `__mips_syscall_return'.
30074 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
30075 `internal_syscall##nr'.
30076 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
30077 `internal_syscall##nr'.
30078 (FORCE_FRAME_POINTER): Remove.
30079 (__mips_syscall5): New prototype.
30080 (internal_syscall5): Rewrite to call `__mips_syscall5'.
30081 (__mips_syscall6): New prototype.
30082 (internal_syscall6): Rewrite to call `__mips_syscall6'.
30083 (__mips_syscall7): New prototype.
30084 (internal_syscall7): Rewrite to call `__mips_syscall7'.
30085 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
30086 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
30087 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
30088 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
30089 (sysdep_routines): Add libc-do-syscall.
30090 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
30091 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
30093 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30096 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
30097 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
30098 (advise_stack_range): New function.
30099 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
30100 stack non required to advise_stack_range at allocatestack.c
30102 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30104 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
30106 2017-08-29 Florian Weimer <fweimer@redhat.com>
30109 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
30110 __end_fct. Mangle __end_fct after setting it to NULL.
30111 * iconv/Makefile (tests): Add tst-gconv-init-failure.
30112 (modules-names, modules-names-tests): Add
30113 tst-gconv-init-failure-mod.
30114 (gconv-modules): New target.
30115 (tst-gconv-init-failure-mod.so): Link against libsupport.
30116 (tst-gconv-init-failure): Depend on gconv-modules,
30117 tst-gconv-init-failure-mod.so.
30118 * iconv/tst-gconv-init-failure-mod.c: New file.
30119 * iconv/tst-gconv-init-failure.c: Likewise.
30120 * iconv/test-gconv-modules: Likewise.
30122 2017-08-29 Florian Weimer <fweimer@redhat.com>
30125 * iconv/gconv_db.c (free_derivation): Remove redundant
30127 (gen_steps): Unconditionally mangle __btowc_fct after
30129 (increment_counter): Likewise. Do not call init_fct for internal
30132 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30135 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30136 (_MSUF_): Remove macro.
30137 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
30139 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30140 (__REDIRFROM_X): New macro.
30141 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
30143 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
30144 (__REDIRTO_X): Likewise.
30145 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
30147 (__MATH_REDIRCALL_2): Likewise.
30148 (__MATH_REDIRCALL_INTERNAL): Likewise.
30149 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30150 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
30151 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
30152 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30153 * math/test-finite-macros.c: New file.
30154 * math/Makefile (tests): Add test-finite-macros.
30155 (CFLAGS-test-finite-macros.c): New variable.
30157 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
30158 Jeff Law <law@redhat.com>
30161 Mangle NULL pointers in iconv/gconv.
30162 * iconv/gconv_cache.c (find_module): Demangle init_fct before
30163 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
30164 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
30165 is non-NULL before demangling the end_fct. Check for NULL
30166 end_fct after demangling.
30167 (__gconv_release_step): Demangle the end_fct before checking
30168 it for NULL. Remove assert on __shlibc_handle != NULL.
30169 (gen_steps): Don't check btowc_fct for NULL before mangling.
30170 Demangle init_fct before checking for NULL.
30171 (increment_counter): Likewise.
30172 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
30173 end_fct for NULL before mangling.
30174 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
30177 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
30180 * locale/iso-639.def: add Morisyen.
30182 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30185 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
30186 (iszero): New C++ implementation that does not use
30187 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
30188 signaling nans are enabled, since __builtin_types_compatible_p
30189 is a C-only feature.
30190 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
30191 defined, include ieee754_float128.h for access to the union and
30192 member ieee854_float128.ieee.
30193 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
30194 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
30195 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30196 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
30197 options of test-math-zero on powerpc64le.
30199 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
30201 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30202 Change double to float.
30204 2017-08-28 Joseph Myers <joseph@codesourcery.com>
30206 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
30208 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
30209 conditional code; define contents only for [LIBM_SVID_COMPAT].
30211 2017-08-28 Florian Weimer <fweimer@redhat.com>
30213 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
30214 (abi-lp64_be-options): Remove.
30215 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
30216 (abi-hard-options): Likewise.
30217 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
30218 (abi-o32_hard-options, abi-o32_soft_2008-options)
30219 (abi-o32_hard_2008-options, abi-n32_soft-options)
30220 (abi-n32_hard-options, abi-n32_soft_2008-options)
30221 (abi-n32_hard_2008-options, abi-n64_soft-options)
30222 (abi-n64_hard-options, abi-n64_soft_2008-options)
30223 (abi-n64_hard_2008-options): Likewise.
30224 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
30225 (abi-64-v1-options, abi-64-v2-options): Likewise.
30226 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
30227 (abi-64-options): Likewise.
30228 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
30229 (abi-64-options): Likewise.
30230 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
30231 (abi-64-options): Likewise.
30232 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
30233 (abi-64-options, abi-x32-options): Likewise.
30235 2017-08-28 Florian Weimer <fweimer@redhat.com>
30237 Store supported list of SYS_* system calls in the source tree.
30238 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
30239 (bits/syscall.h): Generate from list file.
30240 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
30241 [$(subdir) = misc] (tests): Add tst-syscall-list.
30242 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
30243 [$(subdir) = misc] (tst-syscall-list-macros.list)
30244 [$(subdir) = misc] (tst-syscall-list-nr.list)
30245 (tst-syscall-list-sys.list): Helper targets for new
30246 tst-syscall-list test.
30247 [$(subdir) = misc] (tst-syscall-list.out): Run test script
30248 tst-syscall-list.sh.
30249 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
30250 target. Do not include bits/syscall.d.
30251 [$(subdir) = misc] (generated): Do not update.
30252 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
30253 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
30254 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
30255 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
30257 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30259 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
30260 (tst-cxa_atexit, tst-on_exit): Likewise.
30261 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
30262 tst-cxa_atexit, and tst-on_exit.
30263 * stdlib/tst-atexit-common.c: New file.
30264 * stdlib/tst-atexit.c: New file.
30265 * stdlib/tst-at_quick_exit.c: New file.
30266 * stdlib/tst-cxa_atexit.c: New file.
30267 * stdlib/tst-on_exit.c: New file.
30269 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30271 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
30272 * mach/stack_chk_fail_local.c: New file.
30273 * hurd/stack_chk_fail_local.c: New file.
30274 * mach/Machrules ($(interface-library)-routines): Add
30275 stack_chk_fail_local.
30276 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
30277 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
30278 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
30279 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
30280 * hurd/Makefile (CFLAGS-hurdstartup.o,
30281 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
30283 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
30285 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30286 (index_cpu_*, index_arch_*): Removed.
30288 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30290 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
30291 Use uint64_t instead of unsigned long.
30293 2017-08-25 Joseph Myers <joseph@codesourcery.com>
30295 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
30296 [__HAVE_DISTINCT_FLOAT128].
30298 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
30299 of <bits/math-finite.h>.
30300 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
30301 inclusion of <bits/math-finite.h>.
30302 * math/bits/math-finite.h (__REDIRTO_X): Do not define
30303 conditionally on [__MATH_DECLARING_LDOUBLE && defined
30304 __NO_LONG_DOUBLE_MATH].
30305 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
30306 (__MATH_REDIRCALL_2): Likewise.
30307 (__MATH_REDIRCALL_INTERNAL): Likewise.
30308 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30309 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
30310 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
30314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
30316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
30318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
30320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
30322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
30324 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30325 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30326 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30327 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
30329 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
30330 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
30331 w_sqrtf_compat-ppc32.
30333 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30335 * math/math.h [defined __cplusplus] (issignaling): In the long
30336 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
30337 is not defined. Call __issignaling, otherwise.
30339 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30341 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
30342 syscall definitions and replace __builtin_expect with __glibc_likely.
30343 * sysdeps/unix/syscall-template.S: Update comment about cancellable
30345 (SYSCALL_CANCELLABLE): Removedefinition
30346 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
30348 (PSEUDO_END): Likewise.
30349 [IS_IN (libpthread)] (CENABLE): Likewise.
30350 [IS_IN (libpthread)] (CDISABLE): Likewise.
30351 [IS_IN (libc)] (CENABLE): Likewise.
30352 [IS_IN (libc)] (CENABLE): Likewise.
30353 [IS_IN (librt)] (CDISABLE): Likewise.
30354 [IS_IN (librt)] (CDISABLE): Likewise.
30355 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30356 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
30358 (PSEUDO_END): Likewise.
30359 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
30360 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
30361 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30362 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30363 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30364 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30365 (CENABLE): Likewise.
30366 (CDISABLE): Likewise.
30367 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30368 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
30370 (PSEUDO_END): Likewise.
30371 [IS_IN (libpthread)] (CENABLE): Likewise.
30372 [IS_IN (libpthread)] (CDISABLE): Likewise.
30373 [IS_IN (libc)] (CENABLE): Likewise.
30374 [IS_IN (libc)] (CENABLE): Likewise.
30375 [IS_IN (librt)] (CDISABLE): Likewise.
30376 [IS_IN (librt)] (CDISABLE): Likewise.
30377 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30378 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
30380 (PSEUDO_END): Likewise.
30381 [IS_IN (libpthread)] (CENABLE): Likewise.
30382 [IS_IN (libpthread)] (CDISABLE): Likewise.
30383 [IS_IN (libc)] (CENABLE): Likewise.
30384 [IS_IN (libc)] (CENABLE): Likewise.
30385 [IS_IN (librt)] (CDISABLE): Likewise.
30386 [IS_IN (librt)] (CDISABLE): Likewise.
30387 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30388 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
30390 (PSEUDO_END): Likewise.
30391 [IS_IN (libpthread)] (CENABLE): Likewise.
30392 [IS_IN (libpthread)] (CDISABLE): Likewise.
30393 [IS_IN (libc)] (CENABLE): Likewise.
30394 [IS_IN (libc)] (CENABLE): Likewise.
30395 [IS_IN (librt)] (CDISABLE): Likewise.
30396 [IS_IN (librt)] (CDISABLE): Likewise.
30397 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30398 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
30400 (PSEUDO_END): Likewise.
30401 [IS_IN (libpthread)] (CENABLE): Likewise.
30402 [IS_IN (libpthread)] (CDISABLE): Likewise.
30403 [IS_IN (libc)] (CENABLE): Likewise.
30404 [IS_IN (libc)] (CENABLE): Likewise.
30405 [IS_IN (librt)] (CDISABLE): Likewise.
30406 [IS_IN (librt)] (CDISABLE): Likewise.
30407 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30408 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
30410 (PSEUDO_END): Likewise.
30411 [IS_IN (libpthread)] (CENABLE): Likewise.
30412 [IS_IN (libpthread)] (CDISABLE): Likewise.
30413 [IS_IN (libc)] (CENABLE): Likewise.
30414 [IS_IN (libc)] (CENABLE): Likewise.
30415 [IS_IN (librt)] (CDISABLE): Likewise.
30416 [IS_IN (librt)] (CDISABLE): Likewise.
30417 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30418 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
30420 (PSEUDO_END): Likewise.
30421 [IS_IN (libpthread)] (CENABLE): Likewise.
30422 [IS_IN (libpthread)] (CDISABLE): Likewise.
30423 [IS_IN (libc)] (CENABLE): Likewise.
30424 [IS_IN (libc)] (CENABLE): Likewise.
30425 [IS_IN (librt)] (CDISABLE): Likewise.
30426 [IS_IN (librt)] (CDISABLE): Likewise.
30427 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30428 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
30430 (PSEUDO_END): Likewise.
30431 [IS_IN (libpthread)] (CENABLE): Likewise.
30432 [IS_IN (libpthread)] (CDISABLE): Likewise.
30433 [IS_IN (libc)] (CENABLE): Likewise.
30434 [IS_IN (libc)] (CENABLE): Likewise.
30435 [IS_IN (librt)] (CDISABLE): Likewise.
30436 [IS_IN (librt)] (CDISABLE): Likewise.
30437 (SINGLE_THREAD_P): Likewise.
30438 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
30440 (PSEUDO_END): Likewise.
30441 [IS_IN (libpthread)] (CENABLE): Likewise.
30442 [IS_IN (libpthread)] (CDISABLE): Likewise.
30443 [IS_IN (libc)] (CENABLE): Likewise.
30444 [IS_IN (libc)] (CENABLE): Likewise.
30445 [IS_IN (librt)] (CDISABLE): Likewise.
30446 [IS_IN (librt)] (CDISABLE): Likewise.
30447 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30448 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
30450 (PSEUDO_END): Likewise.
30451 [IS_IN (libpthread)] (CENABLE): Likewise.
30452 [IS_IN (libpthread)] (CDISABLE): Likewise.
30453 [IS_IN (libc)] (CENABLE): Likewise.
30454 [IS_IN (libc)] (CENABLE): Likewise.
30455 [IS_IN (librt)] (CDISABLE): Likewise.
30456 [IS_IN (librt)] (CDISABLE): Likewise.
30457 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30458 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
30459 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30460 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
30461 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
30463 (PSEUDO_END): Likewise.
30464 [IS_IN (libpthread)] (CENABLE): Likewise.
30465 [IS_IN (libpthread)] (CDISABLE): Likewise.
30466 [IS_IN (libc)] (CENABLE): Likewise.
30467 [IS_IN (libc)] (CENABLE): Likewise.
30468 [IS_IN (librt)] (CDISABLE): Likewise.
30469 [IS_IN (librt)] (CDISABLE): Likewise.
30470 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30471 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
30473 (PSEUDO_END): Likewise.
30474 [IS_IN (libpthread)] (CENABLE): Likewise.
30475 [IS_IN (libpthread)] (CDISABLE): Likewise.
30476 [IS_IN (libc)] (CENABLE): Likewise.
30477 [IS_IN (libc)] (CENABLE): Likewise.
30478 [IS_IN (librt)] (CDISABLE): Likewise.
30479 [IS_IN (librt)] (CDISABLE): Likewise.
30480 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30481 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
30483 (PSEUDO_END): Likewise.
30484 [IS_IN (libpthread)] (CENABLE): Likewise.
30485 [IS_IN (libpthread)] (CDISABLE): Likewise.
30486 [IS_IN (libc)] (CENABLE): Likewise.
30487 [IS_IN (libc)] (CENABLE): Likewise.
30488 [IS_IN (librt)] (CDISABLE): Likewise.
30489 [IS_IN (librt)] (CDISABLE): Likewise.
30490 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30491 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
30492 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30493 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
30494 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
30496 (PSEUDO_END): Likewise.
30497 [IS_IN (libpthread)] (CENABLE): Likewise.
30498 [IS_IN (libpthread)] (CDISABLE): Likewise.
30499 [IS_IN (libc)] (CENABLE): Likewise.
30500 [IS_IN (libc)] (CENABLE): Likewise.
30501 [IS_IN (librt)] (CDISABLE): Likewise.
30502 [IS_IN (librt)] (CDISABLE): Likewise.
30503 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30504 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
30506 (PSEUDO_END): Likewise.
30507 [IS_IN (libpthread)] (CENABLE): Likewise.
30508 [IS_IN (libpthread)] (CDISABLE): Likewise.
30509 [IS_IN (libc)] (CENABLE): Likewise.
30510 [IS_IN (libc)] (CENABLE): Likewise.
30511 [IS_IN (librt)] (CDISABLE): Likewise.
30512 [IS_IN (librt)] (CDISABLE): Likewise.
30513 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30515 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30517 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
30519 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30521 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30523 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30526 * string/stratcliff.c (do_test): Declare size, nchars, inner,
30527 middle and outer with size_t instead of int. Repleace %d and
30528 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
30529 "MAX (outer, nchars - 64)" to support unsigned outer and
30530 nchars. Also exit loop when outer == 0.
30532 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30534 * include/fcntl.h (__fcntl_nocancel): Remove definition.
30535 * include/signal.h (__sigsuspend_nocancel): Likewise.
30536 * include/time.h (__nanosleep_nocancel): Likewise.
30537 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
30538 * login/utmp_file.c: Include non cancellable syscall header.
30539 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
30542 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30544 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
30545 .byte sequences with AVX512F instructions.
30546 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
30547 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
30548 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30549 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
30551 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30554 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
30555 Steve Ellcey <sellcey@cavium.com>
30557 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
30558 Use PTR_REG macro in cmp instruction.
30560 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30562 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
30563 Change the return type of the ifunc resolver to match the return
30564 type of the target function.
30566 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30568 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
30569 (preadv64): Likewise.
30570 (pwrite64(: Likewise.
30571 (pwritev64): Likewise.
30573 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30574 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
30575 (LOAD_ARGS_0): Likewise.
30576 (LOAD_ARGS_1): Likewise.
30577 (LOAD_ARGS_2): Likewise.
30578 (LOAD_ARGS_3): Likewise.
30579 (LOAD_ARGS_4): Likewise.
30580 (LOAD_ARGS_5): Likewise.
30581 (LOAD_ARGS_6): Likewise.
30582 (LOAD_REGS_0): Likewise.
30583 (LOAD_REGS_1): Likewise.
30584 (LOAD_REGS_2): Likewise.
30585 (LOAD_REGS_3): Likewise.
30586 (LOAD_REGS_4): Likewise.
30587 (LOAD_REGS_5): Likewise.
30588 (LOAD_REGS_6): Likewise.
30589 (ASM_ARGS_0): Likewise.
30590 (ASM_ARGS_1): Likewise.
30591 (ASM_ARGS_2): Likewise.
30592 (ASM_ARGS_3): Likewise.
30593 (ASM_ARGS_4): Likewise.
30594 (ASM_ARGS_5): Likewise.
30595 (ASM_ARGS_6): Likewise.
30596 (LOAD_ARGS_TYPES_1): Likewise.
30597 (LOAD_ARGS_TYPES_2): Likewise.
30598 (LOAD_ARGS_TYPES_3): Likewise.
30599 (LOAD_ARGS_TYPES_4): Likewise.
30600 (LOAD_ARGS_TYPES_5): Likewise.
30601 (LOAD_ARGS_TYPES_6): Likewise.
30602 (LOAD_REGS_TYPES_1): Likewise.
30603 (LOAD_REGS_TYPES_2): Likewise.
30604 (LOAD_REGS_TYPES_3): Likewise.
30605 (LOAD_REGS_TYPES_4): Likewise.
30606 (LOAD_REGS_TYPES_5): Likewise.
30607 (LOAD_REGS_TYPES_6): Likewise.
30608 (TYPEFY): New define.
30609 (ARGIFY): Likewise.
30610 (internal_syscall0): Likewise.
30611 (internal_syscall1): Likewise.
30612 (internal_syscall2): Likewise.
30613 (internal_syscall3): Likewise.
30614 (internal_syscall4): Likewise.
30615 (internal_syscall5): Likewise.
30616 (internal_syscall6): Likewise.
30617 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
30618 (INTERNAL_SYSCALL_NCS): Remove define.
30619 (internal_syscall1): Add define.
30621 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30623 * math/w_remainder_compat.c: Remove duplicate inclusion of
30624 math-svid-compat.h.
30625 * math/w_remainderf_compat.c: Likewise.
30626 * math/w_remainderl_compat.c: Likewise.
30628 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30632 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30635 * math/tgmath.h (__floating_type): Simplify definitions.
30636 (__real_integer_type): New macro.
30637 (__complex_integer_type): Likewise.
30638 (__expr_is_real): Likewise.
30639 (__tgmath_real_type_sub): Update comment to describe handling of
30641 (__tgmath_complex_type_sub): New macro.
30642 (__tgmath_complex_type): Likewise.
30643 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30644 (__TGMATH_CF128): Use __expr_is_real.
30645 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
30647 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30648 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
30649 * math/gen-tgmath-tests.py (Type.create_type): Create complex
30652 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30654 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
30656 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
30658 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
30661 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
30662 nanosleep_not_cancel with __nanosleep_nocancel.
30663 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
30664 (__nanosleep_nocancel): New macro.
30665 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
30667 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
30669 (__nanosleep_nocancel): New prototype.
30671 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
30672 pause_not_cancel with __pause_nocancel.
30673 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
30674 (__pause_nocancel): New macro.
30675 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
30677 (__pause_nocancel): New prototype.
30678 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
30680 2017-08-22 Martin Sebor <msebor@redhat.com>
30682 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
30683 to return a pointer to the same type as the target function.
30685 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30689 * include/printf.h (__printf_fphex): Add attribute_hidden.
30690 (__guess_grouping): New prototype.
30691 * stdio-common/printf_fp.c (__guess_grouping): Removed.
30692 * stdio-common/reg-printf.c (__register_printf_specifier): Add
30693 libc_hidden_proto and libc_hidden_def.
30694 * stdlib/strfmon_l.c (__guess_grouping): Removed.
30695 (__vstrfmon_l): Remove the third argument passed to
30698 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30700 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
30701 definition for issignaling that does not rely on __MATH_TG,
30702 since __MATH_TG uses __builtin_types_compatible_p, which is only
30703 available in C mode.
30704 (CFLAGS-test-math-issignaling.cc): New variable.
30705 * math/Makefile [CXX] (tests): Add test-math-issignaling.
30706 * math/test-math-issignaling.cc: New test for C++ implementation
30707 of type-generic issignaling.
30708 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30709 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
30710 options of test-math-issignaling on powerpc64le.
30712 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30714 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30716 (hidden_proto): Likewise.
30717 (hidden_tls_proto): Likewise.
30718 (__hidden_proto): Likewise.
30720 2017-08-22 Florian Weimer <fweimer@redhat.com>
30722 math: Statically link tests of internal functionality.
30723 * math/Makefile (tests): Remove atest-exp, atest-sincos,
30725 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
30726 (gmp-objs): Remove assignment.
30727 (atest-exp, atest-sincos, atest-exp2): Remove targets.
30729 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30732 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
30734 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
30736 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
30739 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
30740 variable definitions above inclusion of ../Rules.
30742 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30744 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
30745 case calling __builtin_unreachable.
30747 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30749 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
30750 __waitpid_nocancel.
30751 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
30752 (__waitpid_nocancel): New macro.
30753 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
30755 (__waitpid_nocancel): Replace macro with a function.
30756 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
30759 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
30761 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
30762 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
30764 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
30765 __writev_nocancel_nostatus.
30766 (write_call_graph): Likewise.
30767 (write_bb_counts): Likewise.
30768 * resolv/herror.c (herror): Likewise.
30769 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
30771 (__writev_nocancel_nostatus): New macro.
30772 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
30774 (__writev_nocancel_nostatus): New function.
30776 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30779 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30781 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30783 (hidden_proto): Likewise.
30784 (hidden_tls_proto): Likewise.
30785 (__hidden_proto): Likewise.
30788 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
30789 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
30794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
30798 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
30799 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30800 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30801 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30802 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
30803 GLIBC_2.0 sqrtl symbol.
30805 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
30806 [__USE_MISC] (_LIB_VERSION): Likewise.
30807 [__USE_MISC] (struct exception): Likewise.
30808 [__USE_MISC] (matherr): Likewise.
30809 [__USE_MISC] (DOMAIN): Likewise.
30810 [__USE_MISC] (SING): Likewise.
30811 [__USE_MISC] (OVERFLOW): Likewise.
30812 [__USE_MISC] (UNDERFLOW): Likewise.
30813 [__USE_MISC] (TLOSS): Likewise.
30814 [__USE_MISC] (PLOSS): Likewise.
30815 [__USE_MISC] (HUGE): Likewise.
30816 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
30817 * math/math-svid-compat.h: New file.
30818 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
30820 * include/math.h [!_ISOMAC] (__matherr): Remove.
30821 * manual/arith.texi (FP Exceptions): Do not document matherr.
30822 * math/Makefile (tests): Change test-matherr to test-matherr-3.
30823 (tests-internal): New variable.
30824 (install-lib): Do not add libieee.a.
30825 (non-lib.a): Likewise.
30826 (extra-objs): Do not add libieee.a and ieee-math.o.
30827 (CPPFLAGS-s_lib_version.c): Remove variable.
30828 ($(objpfx)libieee.a): Remove rule.
30829 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
30830 * math/ieee-math.c: Remove.
30831 * math/libm-test-support.c (matherr): Remove.
30832 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
30833 and license notices. Include <math-svid-compat.h> and
30835 (matherr): Undefine as macro. Use compat_symbol_reference.
30836 (_LIB_VERSION): Likewise.
30837 * math/test-matherr-2.c: New file.
30838 * math/test-matherr-3.c: Likewise.
30839 * sysdeps/generic/math_private.h (__kernel_standard): Remove
30841 (__kernel_standard_f): Likewise.
30842 (__kernel_standard_l): Likewise.
30843 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
30844 <math_private.h>. Include <math-svid-compat.h>.
30845 (_LIB_VERSION): Undefine as macro.
30846 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
30847 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
30848 [LIBM_SVID_COMPAT], use compat_symbol.
30849 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
30850 <math_private.h>. Include <math-svid-compat.h>.
30851 (matherr): Undefine as macro.
30852 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
30854 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
30855 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
30856 compat_symbol_reference.
30857 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
30858 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
30859 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
30860 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
30861 (MATHERR_D): Remove declaration.
30862 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
30863 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
30864 [LIBM_BUILD] (pmatherrf): Likewise.
30865 [LIBM_BUILD] (pmatherr): Likewise.
30866 [LIBM_BUILD] (pmatherrl): Likewise.
30867 (DOMAIN): Likewise.
30869 (OVERFLOW): Likewise.
30870 (UNDERFLOW): Likewise.
30873 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
30874 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
30876 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
30877 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
30879 * math/lgamma-compat.h: Include <math-svid-compat.h>.
30880 * math/w_acos_compat.c: Likewise.
30881 * math/w_acosf_compat.c: Likewise.
30882 * math/w_acosh_compat.c: Likewise.
30883 * math/w_acoshf_compat.c: Likewise.
30884 * math/w_acoshl_compat.c: Likewise.
30885 * math/w_acosl_compat.c: Likewise.
30886 * math/w_asin_compat.c: Likewise.
30887 * math/w_asinf_compat.c: Likewise.
30888 * math/w_asinl_compat.c: Likewise.
30889 * math/w_atan2_compat.c: Likewise.
30890 * math/w_atan2f_compat.c: Likewise.
30891 * math/w_atan2l_compat.c: Likewise.
30892 * math/w_atanh_compat.c: Likewise.
30893 * math/w_atanhf_compat.c: Likewise.
30894 * math/w_atanhl_compat.c: Likewise.
30895 * math/w_cosh_compat.c: Likewise.
30896 * math/w_coshf_compat.c: Likewise.
30897 * math/w_coshl_compat.c: Likewise.
30898 * math/w_exp10_compat.c: Likewise.
30899 * math/w_exp10f_compat.c: Likewise.
30900 * math/w_exp10l_compat.c: Likewise.
30901 * math/w_exp2_compat.c: Likewise.
30902 * math/w_exp2f_compat.c: Likewise.
30903 * math/w_exp2l_compat.c: Likewise.
30904 * math/w_fmod_compat.c: Likewise.
30905 * math/w_fmodf_compat.c: Likewise.
30906 * math/w_fmodl_compat.c: Likewise.
30907 * math/w_hypot_compat.c: Likewise.
30908 * math/w_hypotf_compat.c: Likewise.
30909 * math/w_hypotl_compat.c: Likewise.
30910 * math/w_j0_compat.c: Likewise.
30911 * math/w_j0f_compat.c: Likewise.
30912 * math/w_j0l_compat.c: Likewise.
30913 * math/w_j1_compat.c: Likewise.
30914 * math/w_j1f_compat.c: Likewise.
30915 * math/w_j1l_compat.c: Likewise.
30916 * math/w_jn_compat.c: Likewise.
30917 * math/w_jnf_compat.c: Likewise.
30918 * math/w_jnl_compat.c: Likewise.
30919 * math/w_lgamma_main.c: Likewise.
30920 * math/w_lgamma_r_compat.c: Likewise.
30921 * math/w_lgammaf_main.c: Likewise.
30922 * math/w_lgammaf_r_compat.c: Likewise.
30923 * math/w_lgammal_main.c: Likewise.
30924 * math/w_lgammal_r_compat.c: Likewise.
30925 * math/w_log10_compat.c: Likewise.
30926 * math/w_log10f_compat.c: Likewise.
30927 * math/w_log10l_compat.c: Likewise.
30928 * math/w_log2_compat.c: Likewise.
30929 * math/w_log2f_compat.c: Likewise.
30930 * math/w_log2l_compat.c: Likewise.
30931 * math/w_log_compat.c: Likewise.
30932 * math/w_logf_compat.c: Likewise.
30933 * math/w_logl_compat.c: Likewise.
30934 * math/w_pow_compat.c: Likewise.
30935 * math/w_powf_compat.c: Likewise.
30936 * math/w_powl_compat.c: Likewise.
30937 * math/w_remainder_compat.c: Likewise.
30938 * math/w_remainderf_compat.c: Likewise.
30939 * math/w_remainderl_compat.c: Likewise.
30940 * math/w_scalb_compat.c: Likewise.
30941 * math/w_scalbf_compat.c: Likewise.
30942 * math/w_scalbl_compat.c: Likewise.
30943 * math/w_sinh_compat.c: Likewise.
30944 * math/w_sinhf_compat.c: Likewise.
30945 * math/w_sinhl_compat.c: Likewise.
30946 * math/w_sqrt_compat.c: Likewise.
30947 * math/w_sqrtf_compat.c: Likewise.
30948 * math/w_sqrtl_compat.c: Likewise.
30949 * math/w_tgamma_compat.c: Likewise.
30950 * math/w_tgammaf_compat.c: Likewise.
30951 * math/w_tgammal_compat.c: Likewise.
30952 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
30953 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30954 * sysdeps/ieee754/k_standard.c: Likewise.
30955 * sysdeps/ieee754/k_standardf.c: Likewise.
30956 * sysdeps/ieee754/k_standardl.c: Likewise.
30957 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30958 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30959 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30960 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30961 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30962 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30963 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30964 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
30965 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30970 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
30971 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30972 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30973 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30975 2017-08-21 Florian Weimer <fweimer@redhat.com>
30978 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
30979 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
30980 Move before inclusion of ../Rules.
30982 2017-08-21 Florian Weimer <fweimer@redhat.com>
30985 * assert/assert.h (assert): Use static_cast (bool) for C++.
30986 Use the ternary operator in the warning branch for GNU C.
30987 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
30988 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
30989 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
30990 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
30991 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
30993 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30996 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30997 (__syscall_clock_gettime): Add attribute_hidden.
30998 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
30999 (__start_context): Likewise.
31001 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31003 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31005 (hidden_proto): Likewise.
31006 (hidden_tls_proto): Likewise.
31007 (__hidden_proto): Likewise.
31009 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31011 * include/libc-symbols.h (attribute_hidden): Enable hidden
31012 visibility in libc.a compiled with PIE.
31014 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31017 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
31018 Add attribute_hidden.
31020 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31023 * Makerules (all-nonlib): Add $(others-extras).
31024 * catgets/Makefile (others-extras): New.
31025 * elf/Makefile (others-extras): Likewise.
31026 * nss/Makefile (others-extras): Likewise.
31028 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31031 * csu/libc-start.c (__libc_multiple_libcs): Removed.
31032 * elf/dl-open.c: Include <libc-internal.h>.
31033 (__libc_multiple_libcs): Removed.
31034 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
31036 * include/libc-internal.h (__libc_multiple_libcs): New.
31037 * misc/sbrk.c: Include <libc-internal.h>.
31038 (__libc_multiple_libcs): Removed.
31040 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31043 * grp/initgroups.c (__nss_group_database): Removed.
31044 (__nss_initgroups_database): Likewise.
31045 * nscd/gai.c (__nss_hosts_database): Likewise.
31046 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
31047 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
31048 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
31049 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
31050 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
31051 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
31053 * nss/nsswitch.c (__nss_database_custom): Define only if
31054 USE_NSCD is defined.
31055 (__nss_configure_lookup): Use __nss_database_custom only if
31056 USE_NSCD is defined.
31057 * nss/nsswitch.h (__nss_database_custom): Declare only if
31058 USE_NSCD is defined. Add attribute_hidden.
31059 (__nss_setent): Add attribute_hidden.
31060 (__nss_endent): Likewise.
31061 (__nss_getent_r): Likewise.
31062 (__nss_getent): Likewise.
31063 (DEFINE_DATABASE): Declare __nss_##arg##_database.
31065 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31068 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
31069 libc_hidden_proto and libc_hidden_def.
31071 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31074 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
31075 Add libc_hidden_proto.
31076 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
31077 Add libc_hidden_def.
31079 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31082 * gmon/Makefile (routines): Remove bb_init_func and
31084 (elide-routines.os): Removed.
31085 * gmon/bb_exit_func.c: Likewise.
31086 * gmon/bb_init_func.c: Likewise.
31087 * include/sys/gmon.h (__bb): Likewise.
31088 (__bb_init_func): Likewise.
31089 (__bb_exit_func): Likewise.
31090 * sysdeps/alpha/bb_init_func.S: Likewise.
31092 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31094 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
31095 * include/setjmp.h (____longjmp_chk): Here. Add
31098 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
31101 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
31103 (__strspn_sse2): Likewise.
31105 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31107 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
31108 (close_not_cancel_no_status): Likewise.
31109 (__close_nocancel): New macro.
31110 (__close_nocancel_nostatus): Likewise.
31111 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
31113 (close_not_cancel): Likewise.
31114 (close_not_cancel_no_status): Likewise.
31115 (__close_nocancel): New prototype.
31116 (__close_nocancel_nostatus): New function.
31117 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
31118 * catgets/open_catalog.c (__open_catalog): Replace
31119 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
31120 * gmon/gmon.c (write_gmon): Likewise.
31121 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31122 * intl/loadmsgcat.c (close): Likewise.
31123 * io/ftw.c (open_dir_stream): Likewise.
31124 (ftw_startup): Likewise.
31125 * libio/fileops.c (_IO_file_open): Likewise.
31126 (_IO_file_close_mmap): Likewise.
31127 (_IO_file_close): Likewise.
31128 * libio/iopopen.c (_IO_dup2): Likewise.
31129 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31130 * locale/loadlocale.c (_nl_load_locale): Likewise.
31131 * login/utmp_file.c (pututline_file): Likewise.
31132 (endutent_file): Likewise.
31133 * misc/daemon.c (daemon): Likewise.
31134 * nscd/nscd_getai.c (__nscd_getai): Likewise.
31135 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31136 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31137 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31138 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31139 * nscd/nscd_helper.c (open_socket): Likewise.
31140 (__nscd_open_socket): Likewise.
31141 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31142 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
31143 (__nscd_innetgr): Likewise.
31144 * nss/nss_db/db-open.c (internal_setent): Likewise.
31145 * resolv/res-close.c (__res_iclose): Likewise.
31146 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
31147 * sysdeps/posix/closedir.c (__closedir): Likewise.
31148 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
31149 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31150 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31151 (opendir_tail): Likewise.
31152 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31153 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
31154 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31155 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31156 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31157 (gethostid): Likewise.
31158 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31159 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31161 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31162 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
31163 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31164 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31166 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
31167 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
31168 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31170 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
31171 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31173 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31175 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31176 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31177 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31180 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
31181 (openat_not_cancel_3): Likewise.
31182 (openat64_not_cancel_3): Likewise).
31183 (openat_not_cancel_3): Likewise).
31184 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
31186 (openat_not_cancel_3): Likewise.
31187 (openat64_not_cancel): Likewise.
31188 (openat64_not_cancel_3): Likewise.
31189 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
31190 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
31191 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
31192 __open{64}_nocancel.
31193 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31194 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31195 * sysdeps/posix/opendir.c (__opendirat): Likewise.
31197 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31200 * include/argz.h (__argz_create_sep): New function prototype.
31201 (__argz_append): Likewise.
31202 (__argz_add): Likewise.
31203 (__argz_add_sep): Likewise.
31204 (__argz_delete): Likewise.
31205 (__argz_insert): Likewise.
31206 (__argz_replace): Likewise.
31207 * string/argz.h (__argz_create_sep): Removed.
31208 (__argz_append): Likewise.
31209 (__argz_add): Likewise.
31210 (__argz_add_sep): Likewise.
31211 (__argz_delete): Likewise.
31212 (__argz_insert): Likewise.
31213 (__argz_replace): Likewise.
31215 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31217 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
31218 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
31219 (GNU_PROPERTY_STACK_SIZE): Likewie.
31220 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
31221 (GNU_PROPERTY_LOPROC): Likewise.
31222 (GNU_PROPERTY_HIPROC): Likewise.
31223 (GNU_PROPERTY_LOUSER): Likewise.
31224 (GNU_PROPERTY_HIUSER): Likewise.
31225 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
31226 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
31227 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
31228 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
31229 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
31230 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
31231 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
31232 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
31233 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
31234 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
31235 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
31236 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
31237 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
31238 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
31239 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
31240 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
31241 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
31242 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
31243 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
31244 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
31245 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
31246 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
31247 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
31249 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31251 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
31254 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31257 * math/math.h (isinf): Check if in C or C++ mode before using
31258 __builtin_types_compatible_p, since this is a C mode feature.
31260 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31262 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
31263 (__write_nocancel): New macro.
31264 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
31265 Rewrite as a function prototype.
31266 (write_not_cancel): Remove macro.
31267 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
31268 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
31269 (write_gmon): Likewise.
31270 * libio/fileops.c (_IO_new_file_write): Likewise.
31271 * login/utmp_file.c (pututline_file): Likewise.
31272 (updwtmp_file): Likewise.
31273 * stdio-common/psiginfo.c (psiginfo): Likewise.
31274 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31275 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31276 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31278 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31281 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
31282 (__read_nocancel): New macro.
31283 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31285 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
31287 (__read_nocancel): New prototype.
31288 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
31289 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
31290 with __read_nocancel.
31291 * intl/loadmsgcat.c (read): Likewise.
31292 * libio/fileops.c (_IO_file_read): Likewise.
31293 * locale/loadlocale.c (_nl_load_locale): Likewise.
31294 * login/utmp_file.c (getutent_r_file): Likewise.
31295 (internal_getut_r): Likewise.
31296 (getutline_r_file): Likewise.
31297 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31298 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31299 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31300 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31302 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
31303 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31304 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31306 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31308 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31310 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31312 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31314 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31317 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
31318 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
31321 2017-08-17 DJ Delorie <dj@redhat.com>
31323 * bug17079.c: Update to new test harness.
31324 * test-digits-dots.c: Likewise.
31325 * test-netdb.c: Likewise.
31326 * tst-field.c: Likewise.
31327 * tst-nss-getpwent.c: Likewise.
31328 * tst-nss-static.c: Likewise.
31329 * tst-nss-test1.c: Likewise.
31330 * tst-nss-test2.c: Likewise.
31331 * tst-nss-test3.c: Likewise.
31332 * tst-nss-test4.c: Likewise.
31333 * tst-nss-test5.c: Likewise.
31335 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31337 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
31338 (open_not_cancel_2): Likewise.
31339 (open_nocancel): New macro.
31340 (open64_nocancel): Likewise.
31341 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
31342 (open_not_cancel_2): Likewise.
31343 (__open_nocancel): New prototype.
31344 (__open64_nocancel): Likewise.
31345 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31347 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
31348 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
31349 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
31350 with __open_nocancel.
31351 * csu/check_fds.c (check_one_fd): Likewise.
31352 * gmon/gmon.c (write_gmon): Likewise.
31353 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
31354 * intl/loadmsgcat.c (open): Likewise.
31355 * libio/fileops.c (_IO_file_open): Likewise.
31356 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31357 * locale/loadlocale.c (_nl_load_locale): Likewise.
31358 * login/utmp_file.c (setutent_file): Likewise.
31359 * misc/daemon.c (daemon): Likewise.
31360 * nss/nss_db/db-open.c (internal_setent): Likewise.
31361 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31362 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
31363 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31364 (__opendir): Likewise.
31365 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31366 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31367 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31368 (gethostid): Likewise.
31369 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31370 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31372 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31373 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
31374 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31375 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31377 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31379 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31381 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31383 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31385 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31387 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31388 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31390 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
31392 * benchtests/bench-skeleton.c (main): Add support for
31393 latency benchmarking.
31394 * benchtests/scripts/bench.py: Add support for latency benchmarking.
31396 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
31398 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
31399 the startup object.
31401 2017-08-17 Florian Weimer <fweimer@redhat.com>
31403 * include/sys/socket.h (__opensock): Remove internal_function.
31404 * socket/opensock.c (__opensock): Likewise.
31405 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
31407 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31410 * signal/bits/types/__sigval_t.h: New file.
31411 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
31412 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
31413 and define sigval_t using __sigval_t.
31414 * include/bits/types/__sigval_t.h: New file.
31415 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
31416 instead of <bits/types/__sigval_t.h>.
31417 (struct sigevent): Use __sigval_t instead of sigval_t.
31418 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
31419 instead of <bits/types/__sigval_t.h>.
31420 (siginfo_t): Use __sigval_t instead of sigval_t.
31421 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
31422 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31423 (struct sigevent): Use __sigval_t instead of sigval_t.
31424 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
31425 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31426 (siginfo_t): Use __sigval_t instead of sigval_t.
31427 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
31429 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31431 * NEWS: Remove "[Add new features here]" for 2.27.
31433 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31435 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
31438 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31440 * NEWS: Mention x86-64 FMA optimization.
31442 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31445 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31447 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
31448 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
31449 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
31451 2017-08-16 Andreas Schwab <schwab@suse.de>
31455 * elf/ldd.bash.in: Never run file directly.
31457 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
31460 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
31461 (L(SP_INF_0)): Likewise.
31463 2017-08-15 Florian Weimer <fweimer@redhat.com>
31465 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
31468 2017-08-15 Florian Weimer <fweimer@redhat.com>
31470 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
31471 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
31472 BROKEN_THREAD_SIGNALS code.
31473 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
31474 request_list): Remove caller_pid member used for
31475 BROKEN_THREAD_SIGNALS.
31476 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
31477 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31478 Remove BROKEN_THREAD_SIGNALS support.
31479 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
31480 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
31482 2017-08-15 Florian Weimer <fweimer@redhat.com>
31484 * gmon/Makefile (tests): Add tst-gmon.
31485 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
31487 (tests-special): Add tst-gmon-prof.out.
31488 (tst-gmon.out): Depend on clean-tst-gmon-data.
31489 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
31490 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
31491 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
31493 * aclocal.m4 (GPROF): Set and substitute.
31494 * config.amke.in (GPROF): Set.
31495 * configure: Regenerate.
31497 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
31499 * elf/elf.h A (NT_PPC_TAR): New macro.
31500 (NT_PPC_PPR): Likewise.
31501 (NT_PPC_DSCR): Likewise.
31502 (NT_PPC_EBB): Likewise.
31503 (NT_PPC_PMU): Likewise.
31504 (NT_PPC_TM_CGPR): Likewise.
31505 (NT_PPC_TM_CFPR): Likewise.
31506 (NT_PPC_TM_CVMX): Likewise.
31507 (NT_PPC_TM_CVSX): Likewise.
31508 (NT_PPC_TM_SPR): Likewise.
31509 (NT_PPC_TM_CTAR): Likewise.
31510 (NT_PPC_TM_CPPR): Likewise.
31511 (NT_PPC_TM_CDSCR): Likewise.
31513 2017-08-15 Florian Weimer <fweimer@redhat.com>
31515 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
31516 regparm (2) instead of internal_function.
31517 (_MCOUNT_DECL): Adjust.
31519 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31521 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
31522 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31524 2017-08-14 Joseph Myers <joseph@codesourcery.com>
31526 * conform/data/sys/wait.h-data (si_value): Do not expect for
31529 2017-08-14 Florian Weimer <fweimer@redhat.com>
31532 NSS: Create stubs for accidentally exported lookup functions.
31533 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
31534 Remove declaration.
31535 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
31536 (ether_hostton): Call __nss_ethers_lookup2 instead.
31537 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
31538 (ether_ntohost): Call __nss_ethers_lookup2 instead.
31539 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
31540 (setup): Call __nss_netgroup_lookup2 instead.
31541 * nss/Makefile (routines): Add compat-lookup.
31542 * nss/Versions (GLIBC_2.27): Add symbol version.
31543 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
31544 (DB_COMPAT_FCT): Remove.
31545 * nss/compat-lookup.c: New file.
31546 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
31547 from databases.def.
31548 * nss/service-lookup.c (NO_COMPAT): Remove definition.
31549 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
31550 (netname2user): Call __nss_publickey_lookup2 instead.
31551 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
31552 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
31555 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31556 Sergei Trofimovich <slyfox@inbox.ru>
31559 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
31560 Rename to MMAP2_PAGE_UNIT.
31561 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
31562 __OFF_T_MATCHES_OFF64_T is not defined.
31563 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
31565 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
31566 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
31568 2017-08-14 Florian Weimer <fweimer@redhat.com>
31570 i386: Do not set internal_function.
31571 * config.h.in (USE_REGPARMS, internal_function): Remove.
31572 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
31573 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
31575 2017-08-14 Florian Weimer <fweimer@redhat.com>
31577 * elf/dl-init.c (_dl_init): Remove internal_function.
31578 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
31579 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
31581 2017-08-14 Florian Weimer <fweimer@redhat.com>
31583 * elf/rtld.c (_dl_start): Remove internal_function.
31584 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
31587 2017-08-14 Florian Weimer <fweimer@redhat.com>
31589 * elf/dl-fini.c (_dl_fini): Remove internal_function
31590 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31592 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
31594 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
31595 (bit_cpu_SHSTK): Likewise.
31596 (index_cpu_IBT): Likewise.
31597 (index_cpu_SHSTK): Likewise.
31598 (reg_IBT): Likewise.
31599 (reg_SHSTK): Likewise.
31600 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31601 Handle index_cpu_IBT and index_cpu_SHSTK.
31603 2017-08-14 Mike FABIAN <mfabian@redhat.com>
31606 * po/fr.po: Fix spelling mistake.
31608 2017-08-13 Florian Weimer <fweimer@redhat.com>
31610 * elf/dl-addr.c (_dl_addr): Remove internal_function.
31611 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
31612 (_dl_catch_error, _dl_receive_error): Likewise.
31613 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
31614 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
31615 (_dl_deallocate_tls): Likewise.
31616 * include/dlfcn.h (_dl_addr): Likewise.
31617 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
31618 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
31619 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
31622 2017-08-13 Florian Weimer <fweimer@redhat.com>
31624 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
31625 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
31627 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
31629 2017-08-13 Florian Weimer <fweimer@redhat.com>
31631 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
31633 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
31634 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
31635 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
31636 internal_function from _dl_make_stack_executable_hook member.
31637 (_dl_make_stack_executable): Remove internal_function.
31638 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
31640 * sysdeps/unix/sysv/linux/dl-execstack.c
31641 (_dl_make_stack_executable): Likewise.
31643 2017-08-13 Florian Weimer <fweimer@redhat.com>
31645 * sysdeps/unix/sysv/linux/netlinkaccess.h
31646 (__netlink_assert_response): Remove internal_function.
31647 * sysdeps/unix/sysv/linux/netlink_assert_response.c
31648 (__netlink_assert_response): Likewise.
31650 2017-08-13 Florian Weimer <fweimer@redhat.com>
31652 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
31654 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
31656 2017-08-13 Florian Weimer <fweimer@redhat.com>
31658 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
31660 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
31661 * inet/netgroup.h (__internal_setnetgrent)
31662 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31663 * inet/getnetgrent_r.c (__internal_setnetgrent)
31664 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31665 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
31666 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
31667 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
31668 * nss/nsswitch.h (db_lookup_function): Likewise.
31670 2017-08-13 Florian Weimer <fweimer@redhat.com>
31672 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
31673 Remove internal_function.
31674 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
31675 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
31676 message argument on the stack.
31677 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
31680 2017-08-12 Mike FABIAN <mfabian@redhat.com>
31682 Adapt test case data to the changes in the thousands
31686 * localedata/tst-langinfo.sh: Adapt test case data.
31687 * stdlib/tst-strfmon_l.c: Likewise.
31688 * stdlib/tst-strtod4.c: Likewise.
31689 * stdlib/tst-strtod5i.c: Likewise.
31691 2017-08-11 Florian Weimer <fweimer@redhat.com>
31694 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
31695 Suppress pedantic warning resulting from statement expression.
31696 (__ASSERT_FUNCTION): Add missing __extension__.
31698 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31700 * benchtests/bench-memmove-large.c: Print output in JSON
31702 * benchtests/bench-memmove.c: Likewise.
31704 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
31705 * benchtests/bench-memchr.c (do_one_test): Likewise.
31706 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
31707 * benchtests/bench-memcpy.c (do_one_test): Likewise.
31708 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
31709 * benchtests/bench-memmove.c (do_one_test): Likewise.
31710 * benchtests/bench-memset-large.c (do_one_test): Likewise.
31711 * benchtests/bench-memset.c (do_one_test): Likewise.
31712 * benchtests/bench-string.h (test_init): Remove memsets.
31714 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31717 (Computing the Width of an Integer Data Type): Rename section to
31718 "Width of an Integer Type". Remove inaccurate statement regarding
31719 lack of C language facilities for determining width of integer
31720 types, and reorder content to improve flow and context of
31723 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31725 * lang.texi (va_copy): Change standard from ISO to C99.
31726 (__va_copy): Add standard and header annotation.
31727 Update description for clarity of origins and current use.
31729 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31732 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
31733 xssqrtqp requires operands to be in Vector Registers
31734 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
31735 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
31736 (__ieee754_sqrtf128): Likewise.
31738 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
31740 * sysdeps/aarch64/memcmp.S (memcmp):
31741 Rewrite of optimized memcmp.
31743 2017-08-10 Florian Weimer <fweimer@redhat.com>
31745 Introduce ld.so exceptions.
31746 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
31747 (_dl_exception_create, _dl_exception_create_format)
31748 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
31749 (_dl_catch_exception): Declare.
31750 (_dl_catch_error): Update comment.
31751 * elf/dl-error-skeleton.c (struct catch): Replace objname,
31752 errstring, malloced members with exception member.
31753 (_dl_out_of_memory): Remove.
31754 (fatal_error): New function, extracted from _dl_signal_error.
31755 (_dl_signal_exception, _dl_signal_cexception): New functions.
31756 (_dl_signal_error): Call _dl_exception_create to allocate an
31758 (_dl_catch_exception): New function, based on _dl_catch_error.
31759 (_dl_catch_error): Implement using _dl_catch_exception.
31760 * elf/dl-exception.c: New file.
31761 * elf/Makefile (dl-routines): Add dl-exception.
31762 (elide-routines.os): Likewise.
31763 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
31764 _dl_exception_create_format, _dl_exception_free.
31765 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
31766 _dl_signal_exception.
31767 * elf/dl-lookup.c (make_string): Remove.
31768 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
31769 _dl_signal_cexception, _dl_exception_free.
31770 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
31771 _dl_signal_exception.
31772 * elf/dl-sym.c (do_sym): Likewise.
31773 * elf/dl-version.c (make_string): Remove.
31774 (match_symbol): Use _dl_exception_create_format,
31775 _dl_signal_cexception, _dl_exception_free.
31776 (_dl_check_map_versions): Likewise.
31777 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
31778 _dl_catch_exception.
31779 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
31780 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
31781 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
31782 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
31783 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
31784 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
31785 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
31786 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
31788 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
31789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
31791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
31793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
31795 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
31796 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
31797 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
31799 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
31801 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
31803 2017-08-10 Florian Weimer <fweimer@redhat.com>
31805 * inet/net-internal.h (__inet6_scopeid_pton): Remove
31806 attribute_hidden, internal_function.
31807 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
31810 2017-08-10 Florian Weimer <fweimer@redhat.com>
31812 * malloc/malloc.c (get_max_fast): Reimplement as an inline
31813 function which calls __builtin_unreachable.
31815 2017-08-10 Mike FABIAN <mfabian@redhat.com>
31817 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
31818 Indian monetary formatting
31819 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
31822 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
31824 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
31825 Fix typo in comment.
31828 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
31829 PTRACE_SEIZE_DEVEL): Remove.
31830 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
31831 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31832 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31833 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31834 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31836 2017-08-09 Joseph Myers <joseph@codesourcery.com>
31838 * posix/bits/types.h (__qaddr_t): Remove.
31841 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
31842 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31844 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
31845 (ucontext_t): Use __ctx with uc_flags.
31846 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
31847 (__ctxt): Likewise.
31848 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31850 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
31851 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31853 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
31854 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31856 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
31858 (ucontext_t): Use __ctx with uc_flags.
31859 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
31860 (ucontext_t): Use __ctx with uc_flags.
31861 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
31862 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
31863 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
31864 (ucontext_t): Use __ctx with uc_flags.
31865 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
31866 undefine further down.
31867 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31869 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
31870 undefine further down.
31871 (ucontext_t): Use __ctx with uc_flags.
31872 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
31873 undefine further down.
31874 (ucontext_t): Use __ctx with uc_flags.
31875 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
31876 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
31877 Rename uc_pad to __glibc_reserved1.
31878 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
31879 undefine further down.
31880 (ucontext_t): Use __ctx with uc_flags.
31881 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
31883 (ucontext_t): Use __ctx with uc_flags.
31884 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
31885 __ctx with uc_flags.
31886 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
31887 (ucontext_t): Use __ctx with uc_flags.
31888 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
31889 __ctx with uc_flags.
31891 2017-08-09 Florian Weimer <fweimer@redhat.com>
31894 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
31895 before early return.
31897 2017-08-09 Andreas Schwab <schwab@suse.de>
31900 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
31904 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
31905 tst-compat-forwarder.
31906 (modules-names): Add tst-compat-forwarder-mod.
31907 ($(objpfx)tst-compat-forwarder): Depend on
31908 $(objpfx)tst-compat-forwarder-mod.so.
31909 * nptl/tst-compat-forwarder.c: New file.
31910 * nptl/tst-compat-forwarder-mod.c: New file.
31912 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
31914 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
31917 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
31918 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31920 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
31922 (__libc_ifunc_impl_list): Add __memcpy_falkor.
31923 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
31924 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
31925 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31927 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
31930 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31933 * manual/setjmp.texi (getcontex): Document uc_stack value
31934 compatibility differences.
31936 2017-08-08 Joseph Myers <joseph@codesourcery.com>
31938 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
31939 (old_malloc_hook): Likewise.
31940 (old_memalign_hook): Likewise.
31941 (old_realloc_hook): Likewise.
31942 (struct hdr): Likewise.
31944 (freehook): Likewise.
31945 (mallochook): Likewise.
31946 (memalignhook): Likewise.
31947 (reallochook): Likewise.
31948 (mprobe): Likewise.
31949 * malloc/mtrace.c (mallwatch): Likewise.
31950 (tr_old_free_hook): Likewise.
31951 (tr_old_malloc_hook): Likewise.
31952 (tr_old_realloc_hook): Likewise.
31953 (tr_old_memalign_hook): Likewise.
31954 (tr_where): Likewise.
31955 (lock_and_info): Likewise.
31956 (tr_freehook): Likewise.
31957 (tr_mallochook): Likewise.
31958 (tr_reallochook): Likewise.
31959 (tr_memalignhook): Likewise.
31960 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
31961 * misc/mmap.c (__mmap): Likewise.
31962 * misc/mmap64.c (__mmap64): Likewise.
31963 * misc/mprotect.c (__mprotect): Likewise.
31964 * misc/msync.c (msync): Likewise.
31965 * misc/munmap.c (__munmap): Likewise.
31966 * posix/posix_madvise.c (posix_madvise): Likewise.
31967 * socket/send.c (__send): Likewise.
31968 * socket/sendto.c (__sendto): Likewise.
31969 * socket/setsockopt.c (__setsockopt): Likewise.
31970 * string/memcmp.c (__ptr_t): Remove macro.
31971 (MEMCMP): Use void * instead of ptr_t.
31972 * string/memrchr.c (__ptr_t): Remove macro.
31973 (__memrchr): Use void * instead of ptr_t.
31974 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
31975 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31976 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31977 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
31978 * sysdeps/mach/msync.c (msync): Likewise.
31979 * sysdeps/mach/munmap.c (__munmap): Likewise.
31980 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
31982 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31983 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
31984 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
31985 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
31986 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
31987 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31988 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
31989 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
31991 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31992 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
31993 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
31994 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
31995 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
31996 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
31997 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
31998 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
31999 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
32001 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
32002 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
32003 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
32004 (MEMCMP): Use void * instead of ptr_t.
32005 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
32006 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
32008 2017-08-08 Florian Weimer <fweimer@redhat.com>
32010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
32013 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
32016 * csu/libc-tls.c: Include <startup.h> first.
32017 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
32018 * elf/dl-tunables.c: Include <startup.h> first.
32019 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
32020 * sysdeps/generic/startup.h: New file.
32021 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
32022 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
32023 (I386_USE_SYSENTER): New. Defined to 0.
32025 2017-08-08 Andreas Schwab <schwab@suse.de>
32028 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
32029 * nptl/pt-system.c (system): Likewise.
32031 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32034 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
32036 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
32037 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
32038 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
32039 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
32040 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
32041 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
32042 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
32044 2017-08-07 Joseph Myers <joseph@codesourcery.com>
32047 * bits/sigaction.h (struct sigaction): Define sa_handler and
32048 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
32049 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32050 [__USE_XOPEN_EXTENDED].
32051 (SA_RESTART): Likewise.
32052 (SA_NODEFER): Likewise.
32053 (SA_RESETHAND): Likewise.
32054 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
32055 (struct sigaction): Define sa_handler and sa_sigaction using union
32056 also for [__USE_XOPEN_EXTENDED].
32057 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32058 [__USE_XOPEN_EXTENDED].
32059 (SA_RESTART): Likewise.
32060 (SA_NODEFER): Likewise.
32061 (SA_RESETHAND): Likewise.
32062 * sysdeps/unix/sysv/linux/bits/sigaction.h
32063 (struct sigaction): Define sa_handler and sa_sigaction using union
32064 also for [__USE_XOPEN_EXTENDED].
32065 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32066 [__USE_XOPEN_EXTENDED].
32067 (SA_RESTART): Likewise.
32068 (SA_NODEFER): Likewise.
32069 (SA_RESETHAND): Likewise.
32070 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
32071 (struct sigaction): Define sa_handler and sa_sigaction using union
32072 also for [__USE_XOPEN_EXTENDED].
32073 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32074 [__USE_XOPEN_EXTENDED].
32075 (SA_RESTART): Likewise.
32076 (SA_NODEFER): Likewise.
32077 (SA_RESETHAND): Likewise.
32078 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
32079 (struct sigaction): Define sa_handler and sa_sigaction using union
32080 also for [__USE_XOPEN_EXTENDED].
32081 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32082 [__USE_XOPEN_EXTENDED].
32083 (SA_RESTART): Likewise.
32084 (SA_NODEFER): Likewise.
32085 (SA_RESETHAND): Likewise.
32086 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32087 (struct sigaction): Define sa_handler and sa_sigaction using union
32088 also for [__USE_XOPEN_EXTENDED].
32089 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32090 [__USE_XOPEN_EXTENDED].
32091 (SA_RESTART): Likewise.
32092 (SA_NODEFER): Likewise.
32093 (SA_RESETHAND): Likewise.
32094 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32095 (struct sigaction): Define sa_handler and sa_sigaction using union
32096 also for [__USE_XOPEN_EXTENDED].
32097 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32098 [__USE_XOPEN_EXTENDED].
32099 (SA_RESTART): Likewise.
32100 (SA_NODEFER): Likewise.
32101 (SA_RESETHAND): Likewise.
32102 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32103 (struct sigaction): Define sa_handler and sa_sigaction using union
32104 also for [__USE_XOPEN_EXTENDED].
32105 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32106 [__USE_XOPEN_EXTENDED].
32107 (SA_RESTART): Likewise.
32108 (SA_NODEFER): Likewise. Define directly rather than as alias.
32109 (SA_RESETHAND): Likewise.
32110 (SA_INTERRUPT): Define only for [__USE_MISC].
32111 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
32112 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
32114 (SA_STACK): Define only for [__USE_MISC].
32115 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
32116 (struct sigaction): Define sa_handler and sa_sigaction using union
32117 also for [__USE_XOPEN_EXTENDED].
32118 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32119 [__USE_XOPEN_EXTENDED].
32120 (SA_RESTART): Likewise.
32121 (SA_NODEFER): Likewise.
32122 (SA_RESETHAND): Likewise.
32123 (SA_NOPTRACE): Define only for [__USE_MISC].
32125 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
32126 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
32127 (struct catalog_info): Likewise.
32128 * inet/htontest.c (lo): Likewise.
32130 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32131 * inet/inet_net.c (inet_network): Likewise.
32132 * inet/inet_netof.c (inet_netof): Likewise.
32133 * inet/rcmd.c (__ivaliduser): Likewise.
32134 (iruserok): Likewise.
32135 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
32136 * locale/programs/locale-spec.c (locale_special): Likewise.
32137 * nis/nis_findserv.c (struct findserv_req): Likewise.
32138 (__nis_findfastest_with_timeout): Likewise.
32139 * nss/test-netdb.c (test_network): Likewise.
32140 * resolv/inet_neta.c (inet_neta): Likewise.
32141 * resolv/ns_date.c (ns_datetosecs): Likewise.
32142 (SECS_PER_DAY): Likewise.
32143 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
32145 * resolv/res_comp.c (__putlong): Likewise.
32146 (__putshort): Likewise.
32147 (_getlong): Likewise.
32148 (_getshort): Likewise.
32149 * resolv/res_debug.c (p_time): Likewise.
32150 (precsize_ntoa): Likewise.
32151 (precsize_aton): Likewise.
32152 (latlon2ul): Likewise.
32153 (loc_aton): Likewise.
32154 (loc_ntoa): Likewise.
32155 * resolv/res_hconf.c (struct netaddr): Likewise.
32156 (_res_hconf_reorder_addrs): Likewise.
32157 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
32158 (clnttcp_control): Likewise.
32159 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32160 (clntudp_control): Likewise.
32161 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
32162 (clntunix_control): Likewise.
32163 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
32164 * sunrpc/rpc/auth.h (union des_block): Likewise.
32165 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
32166 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
32167 (xdrrec_create): Likewise.
32168 (xdrrec_endofrecord): Likewise.
32169 (flush_out): Likewise.
32170 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
32171 (xdrstdio_putlong): Likewise.
32172 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
32175 * misc/sys/cdefs.h (__long_double_t): Remove.
32176 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
32177 instead of __long_double_t,
32178 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
32180 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
32182 * benchtests/scripts/compare_strings.py: Avoid display error when
32183 running on a text terminal.
32185 * benchtests/scripts/compare_strings.py (main): Add an
32186 optional -base option.
32187 (process_results): New argument base_func.
32189 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
32191 * benchtests/bench-memcpy-large.c (test_name): Likewise.
32192 * benchtests/bench-memcpy-random.c (test_name): Likewise.
32194 2017-08-07 Andreas Schwab <schwab@suse.de>
32196 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
32197 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32198 * intl/Makefile ($(objpfx)tst-gettext.out)
32199 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
32200 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
32201 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32202 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32203 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
32204 * posix/Makefile ($(objpfx)globtest.out)
32205 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
32206 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
32207 ($(objpfx)tst-printf.out): Likewise.
32208 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
32209 ($(objpfx)tst-setcontext3.out): Likewise.
32211 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
32213 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32214 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
32215 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
32216 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
32217 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
32219 (CFLAGS-doasin-fma.c): New.
32220 (CFLAGS-dosincos-fma.c): Likewise.
32221 (CFLAGS-e_asin-fma.c): Likewise.
32222 (CFLAGS-e_atan2-fma.c): Likewise.
32223 (CFLAGS-e_exp-fma.c): Likewise.
32224 (CFLAGS-e_log-fma.c): Likewise.
32225 (CFLAGS-e_pow-fma.c): Likewise.
32226 (CFLAGS-halfulp-fma.c): Likewise.
32227 (CFLAGS-mpa-fma.c): Likewise.
32228 (CFLAGS-mpatan-fma.c): Likewise.
32229 (CFLAGS-mpatan2-fma.c): Likewise.
32230 (CFLAGS-mpexp-fma.c): Likewise.
32231 (CFLAGS-mplog-fma.c): Likewise.
32232 (CFLAGS-mpsqrt-fma.c): Likewise.
32233 (CFLAGS-mptan-fma.c): Likewise.
32234 (CFLAGS-s_atan-fma.c): Likewise.
32235 (CFLAGS-sincos32-fma.c): Likewise.
32236 (CFLAGS-slowexp-fma.c): Likewise.
32237 (CFLAGS-slowpow-fma.c): Likewise.
32238 (CFLAGS-s_sin-fma.c): Likewise.
32239 (CFLAGS-s_tan-fma.c): Likewise.
32240 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
32241 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
32242 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
32243 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
32244 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
32245 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
32246 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
32247 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
32248 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
32249 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
32250 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
32251 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
32252 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
32253 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
32254 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
32255 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
32256 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
32257 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
32258 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
32259 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
32260 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
32261 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
32262 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
32263 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
32264 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32265 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32266 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32267 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32268 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32269 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32270 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32272 2017-08-04 Joseph Myers <joseph@codesourcery.com>
32274 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
32275 (min_of_type_f): New macro.
32276 (min_of_type_): Likewise.
32277 (min_of_type_l): Likewise.
32278 (min_of_type_f128): Likewise.
32279 (min_of_type): Define using __MATH_TG and taking an expression
32281 (math_check_force_underflow): Pass expression instead of type to
32283 (math_check_force_underflow_nonneg): Likewise.
32285 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32287 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32288 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
32289 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
32291 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32293 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32294 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
32295 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
32296 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
32297 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
32298 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
32299 memcpy_chk-nonshared, mempcpy_chk-nonshared,
32300 memmove_chk-nonshared and memset_chk-nonshared
32301 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
32302 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
32303 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
32304 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
32305 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
32306 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
32307 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
32308 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
32309 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
32310 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
32311 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
32312 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
32313 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
32314 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
32315 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
32316 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
32317 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
32318 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
32319 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
32320 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
32321 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
32322 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
32323 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
32324 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
32325 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
32326 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
32327 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
32328 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
32329 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
32330 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
32331 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
32332 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
32333 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
32334 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32335 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32336 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
32337 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
32338 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
32339 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
32340 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
32341 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
32342 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
32343 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
32344 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
32345 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
32346 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
32347 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
32348 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
32349 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
32350 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
32351 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
32352 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
32353 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
32354 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
32355 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
32356 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
32357 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
32358 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
32359 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
32360 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
32361 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
32362 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
32363 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
32364 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
32365 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
32366 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
32367 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
32368 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
32369 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
32370 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
32371 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
32372 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32373 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32374 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32375 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32376 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32377 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32378 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32379 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32380 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32381 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32382 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32383 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32384 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32385 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32386 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32387 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32388 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32389 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32390 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32391 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32392 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32393 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32394 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32395 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32396 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32397 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32398 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32399 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32400 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32401 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32402 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32403 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32404 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32405 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32406 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32407 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32408 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32410 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32412 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
32413 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
32414 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
32415 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
32416 svml_d_log2_core-sse2, svml_d_log4_core-sse,
32417 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
32418 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
32419 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
32420 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
32421 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
32422 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
32423 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
32424 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
32425 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
32426 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
32427 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
32428 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
32429 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
32430 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
32431 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
32432 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
32433 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
32434 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
32435 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
32436 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
32437 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
32438 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
32439 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
32440 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
32441 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
32442 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
32443 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
32444 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
32445 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
32446 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
32447 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
32448 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
32449 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
32450 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
32451 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
32452 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
32453 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
32454 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
32455 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
32456 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
32457 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
32458 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
32459 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
32460 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
32461 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
32462 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
32463 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
32464 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
32465 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
32466 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
32467 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
32468 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
32469 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
32470 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
32472 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
32473 Don't include <sysdep.h> nor <init-arch.h>.
32474 (_ZGVbN2v_cos): Removed.
32475 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
32477 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
32478 Don't include <sysdep.h> nor <init-arch.h>.
32479 (_ZGVdN4v_cos): Removed.
32480 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
32482 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
32483 Don't include <sysdep.h> nor <init-arch.h>.
32484 (_ZGVeN8v_cos): Removed.
32485 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
32487 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
32488 Don't include <sysdep.h> nor <init-arch.h>.
32489 (_ZGVbN2v_exp): Removed.
32490 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
32492 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
32493 Don't include <sysdep.h> nor <init-arch.h>.
32494 (_ZGVdN4v_exp): Removed.
32495 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
32497 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
32498 Don't include <sysdep.h> nor <init-arch.h>.
32499 (_ZGVeN8v_exp): Removed.
32500 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
32502 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
32503 Don't include <sysdep.h> nor <init-arch.h>.
32504 (_ZGVbN2v_log): Removed.
32505 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
32507 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
32508 Don't include <sysdep.h> nor <init-arch.h>.
32509 (_ZGVdN4v_log): Removed.
32510 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
32512 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
32513 Don't include <sysdep.h> nor <init-arch.h>.
32514 (_ZGVeN8v_log): Removed.
32515 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
32517 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
32518 Don't include <sysdep.h> nor <init-arch.h>.
32519 (_ZGVbN2vv_pow): Removed.
32520 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
32522 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
32523 Don't include <sysdep.h> nor <init-arch.h>.
32524 (_ZGVdN4vv_pow): Removed.
32525 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
32527 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
32528 Don't include <sysdep.h> nor <init-arch.h>.
32529 (_ZGVeN8vv_pow): Removed.
32530 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
32532 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
32533 Don't include <sysdep.h> nor <init-arch.h>.
32534 (_ZGVbN2v_sin): Removed.
32535 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
32537 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
32538 Don't include <sysdep.h> nor <init-arch.h>.
32539 (_ZGVbN4v_sin): Removed.
32540 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
32542 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
32543 Don't include <sysdep.h> nor <init-arch.h>.
32544 (_ZGVbN8v_sin): Removed.
32545 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
32547 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
32548 Don't include <sysdep.h> nor <init-arch.h>.
32549 (_ZGVbN2vvv_sincos): Removed.
32550 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
32552 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
32553 Don't include <sysdep.h> nor <init-arch.h>.
32554 (_ZGVdN4vvv_sincos): Removed.
32555 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
32557 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
32558 Don't include <sysdep.h> nor <init-arch.h>.
32559 (_ZGVeN8vvv_sincos): Removed.
32560 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
32562 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
32563 Don't include <sysdep.h> nor <init-arch.h>.
32564 (_ZGVeN16v_cosf): Removed.
32565 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
32567 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
32568 Don't include <sysdep.h> nor <init-arch.h>.
32569 (_ZGVbN4v_cosf): Removed.
32570 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
32572 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
32573 Don't include <sysdep.h> nor <init-arch.h>.
32574 (_ZGVdN8v_cosf): Removed.
32575 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
32577 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
32578 Don't include <sysdep.h> nor <init-arch.h>.
32579 (_ZGVeN16v_expf): Removed.
32580 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
32582 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
32583 Don't include <sysdep.h> nor <init-arch.h>.
32584 (_ZGVbN4v_expf): Removed.
32585 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
32587 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
32588 Don't include <sysdep.h> nor <init-arch.h>.
32589 (_ZGVdN8v_expf): Removed.
32590 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
32592 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
32593 Don't include <sysdep.h> nor <init-arch.h>.
32594 (_ZGVeN16v_logf): Removed.
32595 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
32597 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
32598 Don't include <sysdep.h> nor <init-arch.h>.
32599 (_ZGVbN4v_logf): Removed.
32600 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
32602 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
32603 Don't include <sysdep.h> nor <init-arch.h>.
32604 (_ZGVdN8v_logf): Removed.
32605 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
32607 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
32608 Don't include <sysdep.h> nor <init-arch.h>.
32609 (_ZGVeN16vv_powf): Removed.
32610 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
32612 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
32613 Don't include <sysdep.h> nor <init-arch.h>.
32614 (_ZGVbN4vv_powf): Removed.
32615 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
32617 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
32618 Don't include <sysdep.h> nor <init-arch.h>.
32619 (_ZGVdN8vv_powf): Removed.
32620 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
32622 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
32623 Don't include <sysdep.h> nor <init-arch.h>.
32624 (_ZGVeN16vvv_sincosf): Removed.
32625 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
32627 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
32628 Don't include <sysdep.h> nor <init-arch.h>.
32629 (_ZGVbN4vvv_sincosf): Removed.
32630 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
32632 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
32633 Don't include <sysdep.h> nor <init-arch.h>.
32634 (_ZGVdN8vvv_sincosf): Removed.
32635 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
32637 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
32638 Don't include <sysdep.h> nor <init-arch.h>.
32639 (_ZGVeN16v_sinf): Removed.
32640 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
32642 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
32643 Don't include <sysdep.h> nor <init-arch.h>.
32644 (_ZGVbN4v_sinf): Removed.
32645 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
32647 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
32648 Don't include <sysdep.h> nor <init-arch.h>.
32649 (_ZGVdN8v_sinf): Removed.
32651 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32653 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32654 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
32655 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
32656 s_rint-sse4_1 and s_rintf-sse4_1.
32657 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
32658 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
32659 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
32660 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
32661 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
32662 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
32663 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
32664 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
32665 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
32666 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
32667 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
32668 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32670 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
32671 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
32672 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32673 (__ceilf): Removed.
32674 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
32675 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
32676 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32677 (__floor): Removed.
32678 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
32679 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
32680 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32681 (__floorf): Removed.
32682 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
32683 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
32684 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32685 (__nearbyint): Removed.
32686 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
32687 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
32688 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32689 (__nearbyintf): Removed.
32690 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
32691 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
32692 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32694 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
32695 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
32696 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32697 (__rintf): Removed.
32699 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32701 * sysdeps/i386/start.S (_start): Check Check PIC instead of
32702 SHARED. Avoid dynamic relocation against main in static PIE.
32704 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32707 * elf/Makefile (CFLAGS-tst-prelink.c): New.
32708 (LDFLAGS-tst-prelink): Likewise.
32710 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32712 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
32713 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
32714 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
32715 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
32716 (INTERNAL_SYSCALL_NCS): Likewise.
32717 (LOADARGS_1): Likewise.
32718 (LOADARGS_5): Likewise.
32719 (RESTOREARGS_1): Likewise.
32720 (RESTOREARGS_5): Likewise.
32722 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32724 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
32725 (MEMPCPY_SYMBOL): Likewise.
32726 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32727 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
32728 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
32730 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32731 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
32733 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
32734 (__hidden_ver1): Don't use in libc.a.
32735 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
32736 (__mempcpy): Don't create a weak alias in libc.a.
32737 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
32739 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
32740 (__hidden_ver1): Don't use in libc.a.
32742 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32744 * config.make.in (have-insert): New.
32745 * configure.ac (libc_cv_insert): New. Set to yes if linker
32746 supports INSERT in linker script.
32747 (AC_SUBST(libc_cv_insert): New.
32748 * configure: Regenerated.
32749 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
32750 if $(have-insert) == yes.
32752 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32754 * elf/Makefile (tests): Add vismain only if
32755 $(have-protected-data) == yes.
32756 (tests-pie): Likewise.
32758 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32761 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
32762 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
32764 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32767 * sysdeps/i386/i586/memset.S
32768 (__memset_zero_constant_len_parameter): Removed.
32769 * sysdeps/i386/i686/memset.S
32770 (__memset_zero_constant_len_parameter): Likewise.
32771 * sysdeps/i386/i686/multiarch/memset_chk.S
32772 (__memset_zero_constant_len_parameter): Likewise.
32773 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
32776 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32778 * stdlib/getentropy.c (getentropy): Change return type to int.
32780 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32782 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
32784 2017-08-03 Joseph Myers <joseph@codesourcery.com>
32786 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
32788 * math/s_nexttowardf.c (__nexttowardf): Likewise.
32789 * sysdeps/generic/math_private.h (ieee_double_shape_type):
32791 (ieee_float_shape_type): Likewise.
32792 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
32793 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
32794 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
32795 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32796 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
32797 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
32798 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
32799 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32800 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
32802 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32803 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
32804 (__ieee754_yn): Likewise.
32805 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32806 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32807 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
32809 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32810 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
32811 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
32812 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
32813 (__erfc): Likewise.
32814 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
32815 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
32816 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
32817 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
32818 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
32819 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
32821 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
32822 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
32823 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
32824 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
32825 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32826 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
32827 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
32828 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
32829 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
32830 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
32831 (__issignaling): Likewise.
32832 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
32833 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
32834 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
32836 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32837 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32838 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
32839 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
32841 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
32843 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
32844 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
32845 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
32846 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
32847 (__erfcf): Likewise.
32848 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
32849 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
32850 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
32851 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
32853 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
32854 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
32856 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
32857 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
32858 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
32859 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
32860 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
32861 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32862 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
32863 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
32865 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
32867 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
32869 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
32870 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
32872 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
32874 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32875 (__ieee754_ynl): Likewise.
32876 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
32877 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
32879 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
32881 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
32882 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
32883 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32885 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
32886 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
32887 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
32888 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
32889 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
32890 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
32891 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
32892 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
32894 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
32895 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
32896 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
32898 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
32899 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
32900 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
32901 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
32902 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
32903 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32905 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
32907 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32909 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32911 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
32912 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32913 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32914 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
32915 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
32916 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
32917 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
32919 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32921 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32922 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32924 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
32925 (__ieee754_remainderl): Likewise.
32926 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32927 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32928 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32929 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32931 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32932 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32934 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32935 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
32936 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
32937 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
32938 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32939 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32941 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
32942 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
32943 (__ieee754_y0l): Likewise.
32946 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32947 (__ieee754_y1l): Likewise.
32950 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32951 (__ieee754_ynl): Likewise.
32952 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
32953 (__ieee754_lgammal_r): Likewise.
32954 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
32956 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
32957 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
32958 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
32959 (__erfcl): Likewise.
32960 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
32961 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
32963 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
32964 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
32965 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
32966 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
32967 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
32968 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32969 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32971 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
32972 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32973 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
32974 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
32975 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32977 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
32978 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
32980 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
32981 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
32982 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
32983 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
32984 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
32986 2017-08-03 Florian Weimer <fweimer@redhat.com>
32989 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
32990 on memory allocation failure.
32992 2017-08-03 Alan Modra <amodra@gmail.com>
32994 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
32995 tst-tlsopt-powerpc.c with function name change and no test harness.
32996 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
32997 Call tls_get_addr_opt_test.
32998 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
32999 (modules-names): Add mod-tlsopt-powerpc.
33000 (mod-tlsopt-powerpc.so-no-z-defs): Define.
33001 (tst-tlsopt-powerpc): Depend on .so.
33002 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
33003 define. Expand use in TLS_GD and TLS_LD.
33005 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33007 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
33009 * sysdeps/posix/shm_open.c: Include <pthread.h>.
33011 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33014 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
33015 comparing size with that of double.
33016 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33017 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33018 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33019 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33020 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33021 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
33022 unsigned __int128 types.
33024 2017-08-02 Steve Ellcey <sellcey@cavium.com>
33026 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
33027 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
33028 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
33029 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
33030 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
33032 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33034 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
33036 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33038 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
33040 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33041 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33042 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33043 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33044 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33045 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33046 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33048 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33051 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
33052 bit-field expressions passed to sizeof or typeof.
33053 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33054 (__TGMATH_F128): Likewise.
33055 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33056 (__TGMATH_CF128): Likewise.
33057 (__TGMATH_UNARY_REAL_ONLY): Likewise.
33058 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
33059 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
33060 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
33061 (__TGMATH_BINARY_REAL_ONLY): Likewise.
33062 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33063 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33064 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33065 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33066 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
33067 (__TGMATH_UNARY_REAL_IMAG): Likewise.
33068 (__TGMATH_UNARY_IMAG): Likewise.
33069 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
33070 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33071 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
33073 (define_vars_for_type): Handle bit_field type specially.
33074 (Tests.__init__): Declare structure with bit-field element.
33076 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33079 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
33080 (MEMCPY_CHK): Define only if SHARED is defined.
33081 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
33083 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
33086 See ChangeLog.18 for earlier changes.