1 2019-03-07 Joseph Myers <joseph@codesourcery.com>
3 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
5 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
6 (setitimer_locked): Likewise.
7 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
8 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
9 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
10 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
11 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
12 (PPC_CPU_SUPPORTED): Likewise.
13 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
14 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
15 (stat_overflow): Likewise.
16 (statfs_overflow): Likewise.
17 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
18 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
19 (eq_ttyname_r): Likewise.
20 (run_chroot_tests): Likewise.
22 2019-03-07 Florian Weimer <fweimer@redhat.com>
24 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
27 2019-03-07 Martin Liska <mliska@suse.cz>
29 * math/Makefile: Change location where math-vector-fortran.h is
31 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
32 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
33 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
34 * scripts/check-installed-headers.sh: Skip Fortran header files.
35 * scripts/check-wrapper-headers.py: Likewise.
37 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
39 * nptl/nptl-init.c (__have_futex_clock_realtime,
40 __have_futex_clock_realtime): Remove definition.
41 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
42 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
43 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
44 __ASSUME_FUTEX_CLOCK_REALTIME support.
45 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
46 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
47 * sysdeps/unix/sysv/linux/kernel-features.h
48 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
49 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
52 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
54 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
55 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
56 __GI___wcscpy and wcscpy.
58 2019-03-04 Florian Weimer <fweimer@redhat.com>
60 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
62 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
65 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
67 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
68 * sysdeps/s390/s390-32/sysdep.h: Likewise.
70 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
73 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
74 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
76 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
78 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
81 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
82 (do_test_call_varg): Likewise.
83 (do_test_call_rarg): Likewise.
84 * sysdeps/ieee754/ldbl-opt/Makefile
85 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
87 ($(objpfx)tst-nldbl-warn.c): New rule.
88 ($(objpfx)tst-nldbl-error.c): Likewise.
89 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
92 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
95 * include/bits/error-ldbl.h: New file.
96 * include/error.h: Include stdarg.h. Declare internal functions
97 __error_internal and __error_at_line_internal.
98 * misc/Makefile (headers): Add bits/error-ldbl.h.
99 * misc/bits/error-ldbl.h: New file.
100 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
101 avoid the inclusion of bits/error.h.
102 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
103 and __nldbl_error_at_line.
104 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
105 (__nldbl_error, __ndlbl_error_at_line): New functions.
106 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
107 Redirect error and error_at_line.
108 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
117 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
118 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
119 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
121 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
124 * include/bits/err-ldbl.h: New file.
125 * include/err.h: Add prototypes for the internal functions:
126 __vwarnx_internal and __vwarn_internal.
127 * misc/Makefile (headers): Add bits/err-ldbl.h.
128 * misc/bits/err-ldbl.h: New file.
129 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
130 defined, i.e.: when -mlong-double-64 is in use.
131 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
132 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
133 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
134 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
135 (VA_CALL): New macro.
136 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
137 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
139 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
140 declare prototypes for the new functions.
141 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
150 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
151 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
152 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
154 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
156 * sysdeps/ieee754/ldbl-opt/Makefile
157 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
158 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
159 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
161 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
164 * argp/Makefile (headers): Add bits/argp-ldbl.h.
165 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
166 * argp/bits/argp-ldbl.h: New file.
167 * include/argp.h: Include stdarg.h. Add prototypes for internal
168 functions: __argp_error_internal and __argp_failure_internal.
169 * include/bits/argp-ldbl.h: New file.
170 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
171 __nldbl_argp_error and __nldbl_argp_failure.
172 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
173 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
174 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
175 Redirect argp_error and argp_failure calls.
176 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
185 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
186 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
187 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
189 2019-03-01 Florian Weimer <fweimer@redhat.com>
192 * elf/tst-big-note-lib.S: Create a syntactically valid note.
193 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
194 code, to avoid creating an ABI tag note.
195 (modules-names-nobuild): Add tst-big-note-lib.
197 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
199 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
200 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
202 2019-03-01 Florian Weimer <fweimer@redhat.com>
205 * sysdeps/unix/sysv/linux/netlink_assert_response.c
206 (__netlink_assert_response): Add additional missing newlines.
208 2019-02-28 Joseph Myers <joseph@codesourcery.com>
210 * sysdeps/powerpc/powerpc32/dl-machine.c
211 (__elf_machine_fixup_plt): Use space before '('.
212 (__process_machine_rela): Likewise.
213 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
215 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
217 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
219 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
222 (check_result): Likewise.
223 (check_excepts): Likewise.
224 (check_op): Likewise.
226 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
227 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
229 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
232 (__makecontext): Likewise.
233 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
236 2019-02-28 Florian Weimer <fweimer@redhat.com>
239 elf: Add test with a local IFUNC resolver.
240 * elf/ifuncmain9.c: New file.
241 * elf/ifuncmain9pic.c: Likewise.
242 * elf/ifuncmain9picstatic.c: Likewise.
243 * elf/ifuncmain9pie.c: Likewise.
244 * elf/ifuncmain9static.c: Likewise.
245 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
246 ifuncmain9static, ifuncmain9picstatic.
247 * elf/Makefile [multi-arch && build-shared] (tests-internal):
248 Add ifuncmain9, ifuncmain9pic.
249 * elf/Makefile [multi-arch && build-shared && have-fpie]
250 (ifunc-pie-tests): Add ifuncmain9pie.
251 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
252 (CFLAGS-ifuncmain9picstatic.c): Likewise.
253 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
255 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
257 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
258 * configure: Regenerated.
259 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
261 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
263 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
264 symbol as __wcspcy instead of wcscpy.
266 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
268 * include/stdio.h (__renameat2): New hidden prototype.
269 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
270 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
271 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
272 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
274 2019-02-27 Joseph Myers <joseph@codesourcery.com>
276 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
279 * benchtests/bench-strcpy.c (do_test): Use space before '('.
280 * benchtests/bench-string.h (cmdline_process_function): Likewise.
281 * benchtests/bench-strlen.c (do_test): Likewise.
282 (test_main): Likewise.
283 * catgets/gencat.c (read_old): Likewise.
284 * elf/cache.c (load_aux_cache): Likewise.
285 * iconvdata/bug-iconv8.c (do_test): Likewise.
286 * math/test-tgmath-ret.c (do_test): Likewise.
287 * nis/nis_call.c (rec_dirsearch): Likewise.
288 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
289 * nptl/tst-audit-threads.c (do_test): Likewise.
290 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
291 * nss/nss_test1.c (init): Likewise.
292 * nss/test-netdb.c (test_hosts): Likewise.
293 * posix/execvpe.c (maybe_script_execute): Likewise.
294 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
295 * stdio-common/tst-printf.c (do_test): Likewise.
296 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
297 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
298 * stdlib/qsort.c (STACK_SIZE): Likewise.
299 * stdlib/test-canon.c (do_test): Likewise.
300 * stdlib/tst-swapcontext1.c (do_test): Likewise.
301 * string/memcmp.c (OPSIZ): Likewise.
302 * string/test-strcpy.c (do_test): Likewise.
303 (do_random_tests): Likewise.
304 * string/test-strlen.c (do_test): Likewise.
305 (test_main): Likewise.
306 * string/test-strrchr.c (do_test): Likewise.
307 (do_random_tests): Likewise.
308 * string/tester.c (test_memrchr): Likewise.
309 (test_memchr): Likewise.
310 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
311 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
312 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
313 (read_encoded_value_with_base): Likewise.
314 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
315 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
316 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
317 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
318 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
319 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
321 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
323 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
324 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
325 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
327 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
329 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
331 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
333 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
334 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
335 (FP_XSTATE_MAGIC2_SIZE): Likewise.
336 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
337 * time/test_time.c (main): Likewise.
339 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
341 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
343 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
346 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
349 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
351 * include/wchar.h (__wcscpy): New prototype.
352 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
353 (__wcscpy): Route internal symbol to generic implementation.
354 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
355 Add internal __wcscpy alias.
356 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
357 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
358 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
359 * wcsmbs/wcscpy.c (wcscpy): Add
360 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
361 use generic implementation.
362 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
364 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
367 * sysdeps/m68k/wcpcpy.c: Remove file.
368 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
370 2019-02-26 Joseph Myers <joseph@codesourcery.com>
372 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
373 than after operators.
374 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
375 * sysdeps/mach/hurd/getcwd.c
376 (__hurd_canonicalize_directory_name_internal): Likewise.
377 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
378 (pthread_mutex_consistent): Likewise.
379 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
381 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
382 (__pthread_mutex_transfer_np): Likewise.
383 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
384 (__pthread_mutex_unlock): Likewise.
385 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
386 (mtx_owned_p): Likewise.
387 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
388 (pthread_mutexattr_getrobust): Likewise.
389 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
390 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
392 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
393 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
394 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
395 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
396 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
397 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
398 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
400 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
402 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
403 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
404 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
405 (____longjmp_chk): Likewise.
406 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
408 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
409 (INTERNAL_SYSCALL): Likewise.
410 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
411 (INTERNAL_SYSCALL): Likewise.
412 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
413 (__get_clockfreq_via_cpuinfo): Likewise.
415 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
417 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
418 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
419 (WORD_COPY_BWD): Likewise.
420 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
421 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
423 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
424 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
426 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
428 2019-02-25 Joseph Myers <joseph@codesourcery.com>
430 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
431 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
432 rather than after operators.
433 * elf/cache.c (print_cache): Likewise.
434 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
435 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
436 * hurd/hurdinit.c (_hurd_setproc): Likewise.
437 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
438 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
439 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
440 (reauth_proc): Likewise.
441 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
442 (__file_name_split_at): Likewise.
443 (__directory_name_split_at): Likewise.
444 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
445 * hurd/port2fd.c (_hurd_port2fd): Likewise.
446 * iconv/gconv_dl.c (do_print): Likewise.
447 * inet/netinet/in.h (struct sockaddr_in): Likewise.
448 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
449 * locale/setlocale.c (new_composite_name): Likewise.
450 * malloc/memusagestat.c (main): Likewise.
451 * misc/fstab.c (fstab_convert): Likewise.
452 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
454 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
455 (getgrent_next_file): Likewise.
456 (internal_getgrnam_r): Likewise.
457 (internal_getgrgid_r): Likewise.
458 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
460 (internal_getgrent_r): Likewise.
461 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
462 (getpwent_next_nss): Likewise.
463 (getpwent_next_file): Likewise.
464 (internal_getpwnam_r): Likewise.
465 (internal_getpwuid_r): Likewise.
466 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
468 (getspent_next_nss): Likewise.
469 (internal_getspnam_r): Likewise.
470 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
471 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
472 * string/strchr.c (STRCHR): Likewise.
473 * string/strchrnul.c (STRCHRNUL): Likewise.
474 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
475 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
476 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
477 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
478 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
480 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
481 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
482 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
483 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
484 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
485 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
486 (open_file): Likewise.
487 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
488 (pthread_mutexattr_setprotocol): Likewise.
489 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
490 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
491 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
492 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
493 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
495 (elf_machine_rela): Likewise.
496 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
497 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
498 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
499 * sysdeps/posix/rename.c (rename): Likewise.
500 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
501 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
502 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
503 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
504 * sysdeps/unix/grantpt.c (grantpt): Likewise.
505 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
506 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
508 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
510 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
511 * time/tzfile.c (__tzfile_compute): Likewise.
513 2019-02-22 Joseph Myers <joseph@codesourcery.com>
515 * benchtests/bench-memmem.c (simple_memmem): Break lines before
516 rather than after operators.
517 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
518 * crypt/md5.c (md5_finish_ctx): Likewise.
519 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
520 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
521 * elf/cache.c (load_aux_cache): Likewise.
522 * elf/dl-load.c (open_verify): Likewise.
523 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
524 * elf/readelflib.c (process_elf_file): Likewise.
525 * elf/rtld.c (dl_main): Likewise.
526 * elf/sprof.c (generate_call_graph): Likewise.
527 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
528 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
529 * hurd/dtable.c (reauth_dtable): Likewise.
530 * hurd/getdport.c (__getdport): Likewise.
531 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
532 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
533 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
535 * hurd/hurdioctl.c (fioctl): Likewise.
536 * hurd/hurdselect.c (_hurd_select): Likewise.
537 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
538 (STOPSIGS): Likewise.
539 * hurd/hurdstartup.c (_hurd_startup): Likewise.
540 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
541 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
542 * hurd/msgportdemux.c (msgport_server): Likewise.
543 * hurd/setauth.c (_hurd_setauth): Likewise.
544 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
545 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
546 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
547 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
548 * login/tst-utmp.c (do_check): Likewise.
549 (simulate_login): Likewise.
550 * mach/lowlevellock.h (lll_lock): Likewise.
551 (lll_trylock): Likewise.
552 * math/test-fenv.c (ALL_EXC): Likewise.
553 * math/test-fenvinline.c (ALL_EXC): Likewise.
554 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
555 * nis/nis_call.c (__do_niscall3): Likewise.
556 * nis/nis_callback.c (cb_prog_1): Likewise.
557 * nis/nis_defaults.c (searchaccess): Likewise.
558 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
559 * nis/nis_ismember.c (internal_ismember): Likewise.
560 * nis/nis_local_names.c (nis_local_principal): Likewise.
561 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
562 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
564 * nis/ypclnt.c (yp_match): Likewise.
565 (yp_first): Likewise.
567 (yp_master): Likewise.
568 (yp_order): Likewise.
569 * nscd/hstcache.c (cache_addhst): Likewise.
570 * nscd/initgrcache.c (addinitgroupsX): Likewise.
571 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
572 (internal_getpwuid_r): Likewise.
573 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
574 * posix/glob.h (__GLOB_FLAGS): Likewise.
575 * posix/regcomp.c (peek_token): Likewise.
576 (peek_token_bracket): Likewise.
577 (parse_expression): Likewise.
578 * posix/regexec.c (sift_states_iter_mb): Likewise.
579 (check_node_accept_bytes): Likewise.
580 * posix/tst-spawn3.c (do_test): Likewise.
581 * posix/wordexp-test.c (testit): Likewise.
582 * posix/wordexp.c (parse_tilde): Likewise.
583 (exec_comm): Likewise.
584 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
585 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
586 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
587 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
588 * stdio-common/tst-fileno.c (do_test): Likewise.
589 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
590 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
591 * stdlib/strtod_l.c (round_and_return): Likewise.
592 (____STRTOF_INTERNAL): Likewise.
593 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
594 * string/strcspn.c (STRCSPN): Likewise.
595 * string/test-memmem.c (simple_memmem): Likewise.
596 * termios/tcsetattr.c (tcsetattr): Likewise.
597 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
598 * time/asctime.c (asctime_internal): Likewise.
599 * time/strptime_l.c (__strptime_internal): Likewise.
600 * time/sys/time.h (timercmp): Likewise.
601 * time/tzfile.c (__tzfile_compute): Likewise.
603 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
606 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
608 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
610 * argp/argp-help.c (__argp_error_internal): New function,
611 renamed from __argp_error, but that takes a 'mode_flags'
612 parameter to control the format of long double parameters.
613 (__argp_error): Converted into a call __argp_error_internal.
614 (__argp_failure_internal): New function, renamed from
615 __argp_failure, but that takes a 'mode_flags' parameter.
616 (__argp_failure): Converted into a call __argp_failure_internal.
617 * misc/err.c (__vwarnx_internal): New function, renamed from
618 vwarnx, but that takes a 'mode_flags' parameter.
619 (vwarnx): Converted into a call to __vwarnx_internal.
620 (__vwarn_internal): New function, renamed from vwarn, but that
621 takes a 'mode_flags' parameter.
622 (vwarn): Converted into a call to __vwarn_internal.
623 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
624 call to __vfxprintf with 'mode_flags'.
625 (__error_internal): New function, renamed from error, but that
626 takes a 'mode_flags' parameter.
627 (error): Converted into a call to __error_internal.
628 (__error_at_line_internal): New function, renamed from
629 error_at_line, but that takes a 'mode_flags' parameter.
630 (error_at_line): Converted into a call to
631 __error_at_line_internal.
632 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
633 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
636 2019-02-20 Martin Liska <mliska@suse.cz>
638 * math/Makefile: Install math-vector-fortran.h.
639 * bits/math-vector-fortran.h: New file.
640 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
642 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
644 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
645 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
647 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
649 * nptl/pthread_mutex_trylock.c: Fix comment.
651 2019-02-19 Carlos O'Donell <carlos@redhat.com>
653 * nptl/pthread_tryjoin.c: Fix comment.
655 2019-02-18 Joseph Myers <joseph@codesourcery.com>
658 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
659 after R_SPARC_H34 case.
661 2019-02-18 Florian Weimer <fweimer@redhat.com>
663 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
664 (getanswer): Do not call Dprintf.
665 (res_gethostbyname2_context): Likewise.
666 (res_gethostbyaddr_context): Likewise.
668 2019-02-18 Florian Weimer <fweimer@redhat.com>
670 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
672 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
674 * libio/stdfiles.c: Update comment.
675 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
676 set _IO_stdin, _IO_stdout, _IO_stderr.
677 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
678 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
680 (_IO_deallocate_file): New inline function.
681 * libio/iolibio.h (_IO_vprintf): Remove definition.
682 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
683 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
684 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
686 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
687 __builtin_expect. Use _IO_legacy_file.
689 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
691 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
692 Initialize ctid with a known value and remove update of ctid
694 (wait_tid): Adjust arguments and call futex_wait with ctid_val
695 as assumed current value of ctid_ptr.
697 2019-02-15 Florian Weimer <fweimer@redhat.com>
699 Check that non-sysdeps headers have wrapper headers.
700 * scripts/check-wrapper-headers.py: New file.
701 * Makefile (tests-special): Add check-wrapper-headers.out.
702 (check-wrapper-headers.out): New target.
703 * Rules (tests-special): Add check-wrapper-headers.out.
704 (check-wrapper-headers.out): New target.
706 2019-02-15 Florian Weimer <fweimer@redhat.com>
708 Add missing header wrappers under include/.
709 * include/ar.h: New file.
710 * include/bits/mqueue2.h: Likewise.
711 * include/bits/stdio.h: Likewise.
712 * include/bits/stdio2.h: Likewise.
713 * include/fstab.h: Likewise.
714 * include/fts.h: Likewise.
715 * include/lastlog.h: Likewise.
716 * include/netinet/icmp6.h: Likewise.
717 * include/netinet/igmp.h: Likewise.
718 * include/netinet/ip6.h: Likewise.
719 * include/re_comp.h: Likewise.
720 * include/regexp.h: Likewise.
721 * include/rpcsvc/bootparam.h: Likewise.
722 * include/rpcsvc/yp_prot.h: Likewise.
723 * include/sys/random.h: Likewise.
724 * include/sys/stropts.h: Likewise.
725 * include/sys/ttychars.h: Likewise.
726 * include/sys/vfs.h: Likewise.
727 * include/wait.h: Likewise.
729 2019-02-15 Florian Weimer <fweimer@redhat.com>
731 * nptl_db/proc_service.h: Move to ...
732 * sysdeps/nptl/proc_service.h: ... here.
733 * nptl_db/thread_db.h: Move to ...
734 * sysdeps/nptl/thread_db.h: ... here.
735 * nptl/descr.h: Include <thread_db.h>.
737 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
739 * io/Makefile (tests): Add tst-lockf.
740 * io/lockf.c (lockf): Use __fcntl and only define for
741 !__OFF_T_MATCHES_OFF64_T.
742 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
743 __OFF_T_MATCHES_OFF64_T case.
744 * io/tst-lockf.c: New file.
745 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
746 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
747 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
748 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
749 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
751 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
752 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
753 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
755 2019-02-15 Florian Weimer <fweimer@redhat.com>
758 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
759 pd->result after the thread descriptor has been freed.
761 2019-02-15 Joseph Myers <joseph@codesourcery.com>
763 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
764 from function return type.
766 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
768 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
770 * scripts/test_printers_common.py: Set TERM to a known harmless
773 2019-02-14 Joseph Myers <joseph@codesourcery.com>
775 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
776 (xdr_u_int): Likewise.
777 (xdr_enum): Likewise.
778 (xdr_bytes): Reword fall-through comment.
779 (xdr_string): Likewise.
781 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
784 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
785 (tests): Add tst-join8 tst-join9.
786 * nptl/lll_timedwait_tid.c: Remove file.
787 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
788 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
789 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
790 * nptl/pthread_join_common.c (timedwait_tid): New function.
791 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
793 * nptl/tst-join5.c (thread_join): New function.
794 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
796 * nptl/tst-join8.c: New file.
797 * nptl/tst-join9.c: Likewise.
798 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
799 lll_futex_timed_wait_cancel): Add generic macros.
800 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
802 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
803 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
804 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
805 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
807 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
809 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
810 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
811 (lll_futex_timed_wait_cancel): New macro.
813 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
815 * benchtests/Makefile: Add malloc-simple benchmark.
816 * benchtests/bench-malloc-simple.c: New benchmark.
818 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
820 * benchtests/bench-memmove.c (do_one_test): Remove unused
823 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
827 2019-01-13 Jim Wilson <jimw@sifive.com>
830 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
831 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
833 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
835 * nptl/Makefile (tests): Add tst-unwind-thread.
836 (CFLAGS-tst-unwind-thread.c): Define.
837 * nptl/tst-unwind-thread.c: New file.
838 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
841 2019-02-13 Joseph Myers <joseph@codesourcery.com>
843 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
845 * nis/nis_call.c (__do_niscall3): Likewise.
847 * catgets/gencat.c (normalize_line): Use braces around empty
849 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
850 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
851 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
852 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
853 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
854 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
855 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
858 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
861 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
863 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
864 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
865 * benchtests/bench-strchr.c (stupid_strchr): Remove.
866 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
867 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
868 * benchtests/bench-strlen.c (builtin_strlen): Remove.
869 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
870 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
871 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
872 * benchtests/bench-strspn.c (stupid_strspn): Remove.
873 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
874 * benchtests/bench-bcopy.c: Delete file.
875 * benchtests/bench-bzero.c: Likewise.
876 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
877 (simple_memccpy): Remove.
878 (generic_memccpy): Add function.
879 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
880 * benchtests/bench-memmove.c (simple_bcopy): Remove.
881 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
882 (generic_mempcpy): Add new function.
883 * benchtests/bench-memset.c (simple_bzero): Remove.
884 (builtin_bzero): Remove.
885 (builtin_memset): Remove.
886 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
887 (generic_rawmemchr): Add new function.
889 2019-02-12 Florian Weimer <fweimer@redhat.com>
891 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
893 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
896 * elf/Makefile (tests): Add tst-audit13.
897 (modules-names): Add tst-audit13mod1.
898 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
900 * elf/tst-audit13.c: New file.
901 * elf/tst-audit13mod1.c: Likewise.
903 2019-02-12 Florian Weimer <fweimer@redhat.com>
906 * elf/rtld.c (unload_audit_module): New function.
907 (report_audit_module_load_error): Likewise.
908 (load_audit_module): Likewise. Extracted from dl_main. Call
909 _dl_close if the laversion symbol cannot be found. Use early
910 returns for error handling. Add malloc error check. Check for a
911 zero return value from la_version. Remove spurious comment about
912 static TLS initialization. Remove useless casts.
913 (notify_audit_modules_of_loaded_object): New function. Extracted
915 (load_audit_module): Likewise.
916 (dl_main): Call load_audit_modules.
918 2019-02-12 Joseph Myers <joseph@codesourcery.com>
920 * elf/dl-exception.c (_dl_exception_create_format): Add
921 fall-through comments.
922 * elf/ldconfig.c (parse_conf_include): Likewise.
923 * elf/rtld.c (print_statistics): Likewise.
924 * locale/programs/charmap.c (parse_charmap): Likewise.
925 * misc/mntent_r.c (__getmntent_r): Likewise.
926 * posix/wordexp.c (parse_arith): Likewise.
927 (parse_backtick): Likewise.
928 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
929 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
930 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
932 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
934 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
935 Use float instead of double.
937 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
939 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
941 2019-02-08 Joseph Myers <joseph@codesourcery.com>
943 * sysdeps/powerpc/bits/mathinline.h: Remove.
945 2019-02-08 Florian Weimer <fweimer@redhat.com>
947 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
948 * math/bits/math-finite.h: Move to ...
949 * bits/math-finite.h: ... here.
951 2019-02-08 Florian Weimer <fweimer@redhat.com>
953 * sysdeps/generic/bits/unistd_ext.h: Move to ...
954 * bits/unistd_ext.h: here.
956 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
959 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
960 * nss/tst-nss-files-hosts-long.c: New file.
961 * nss/tst-nss-files-hosts-long.root: New directory.
962 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
963 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
965 2019-02-08 Florian Weimer <fweimer@redhat.com>
967 * include/bits/unistd_ext.h: Remove file.
968 * posix/bits/unistd_ext.h: Move to ...
969 * sysdeps/generic/bits/unistd_ext.h: ... here.
971 2019-02-08 Florian Weimer <fweimer@redhat.com>
973 * include/bits/unistd_ext.h: New file.
975 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
977 * time/tst-strftime2.c: Use array_length macros instead of magic
980 2019-02-08 Florian Weimer <fweimer@redhat.com>
983 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
985 * nptl/register-atfork.c (__run_fork_handlers): Only perform
986 locking if the new do_locking argument is true.
987 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
990 2019-02-08 Florian Weimer <fweimer@redhat.com>
993 Linux: Add gettid system call wrapper.
994 * posix/Makefile (headers): Add bits/unistd_ext.h.
995 * posix/bits/unistd_ext.h: New file.
996 * posix/unistd.h: Include it.
997 * manual/process.texi (Process Identification): Document gettid.
998 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
999 tst-gettid, tst-gettid-kill.
1000 (tst-gettid): Link with $(shared-thread-library).
1001 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
1002 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
1003 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
1004 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
1005 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
1006 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1008 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1010 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1011 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1013 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1015 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1017 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1019 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1021 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1023 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1025 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1026 (GLIBC_2.30): Likewise.
1027 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1028 (GLIBC_2.30): Likewise.
1029 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1030 (GLIBC_2.30): Likewise.
1031 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1032 (GLIBC_2.30): Likewise.
1033 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1036 (GLIBC_2.30): Likewise.
1037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1038 (GLIBC_2.30): Likewise.
1039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1040 (GLIBC_2.30): Likewise.
1041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1042 (GLIBC_2.30): Likewise.
1043 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1045 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1047 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1049 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1050 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1052 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1054 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1056 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1058 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
1060 2019-02-07 Florian Weimer <fweimer@redhat.com>
1062 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
1063 compatibility symbols.
1065 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
1068 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1069 Add compiler barriers and comments.
1071 2019-02-07 Florian Weimer <fweimer@redhat.com>
1073 * include/array_length.h (array_length): Do not use a statement
1074 expression and _Static_assert, so that array_length can be used at
1075 file scope and as a constant expression.
1077 2019-02-07 Florian Weimer <fweimer@redhat.com>
1079 * support/xdlfcn.h (xdlmopen): Declare.
1080 * support/xdlmopen.c: New file.
1081 * support/Makefile (libsupport-routines): Add xdlmopen.
1083 2019-02-06 Joseph Myers <joseph@codesourcery.com>
1085 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
1086 before return type, without separate inline.
1087 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
1088 * elf/dl-tunables.h (tunable_is_name): Likewise.
1089 * malloc/malloc.c (do_set_trim_threshold): Likewise.
1090 (do_set_top_pad): Likewise.
1091 (do_set_mmap_threshold): Likewise.
1092 (do_set_mmaps_max): Likewise.
1093 (do_set_mallopt_check): Likewise.
1094 (do_set_perturb_byte): Likewise.
1095 (do_set_arena_test): Likewise.
1096 (do_set_arena_max): Likewise.
1097 (do_set_tcache_max): Likewise.
1098 (do_set_tcache_count): Likewise.
1099 (do_set_tcache_unsorted_limit): Likewise.
1100 * nis/nis_subr.c (count_dots): Likewise.
1101 * nptl/allocatestack.c (advise_stack_range): Likewise.
1102 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
1104 (reduce_sincos): Likewise.
1105 (do_sincos): Likewise.
1106 * sysdeps/unix/sysv/linux/x86/elision-conf.c
1107 (do_set_elision_enable): Likewise.
1108 (TUNABLE_CALLBACK_FNDECL): Likewise.
1110 2019-02-06 Florian Weimer <fweimer@redhat.com>
1112 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
1113 (xdlsym): Use dlerror to detect a NULL symbol.
1115 2019-02-06 Florian Weimer <fweimer@redhat.com>
1117 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
1119 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1121 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1123 * libio/tst-bz24153.c (wide): Use wide char format specifier.
1125 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1127 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
1128 __wmemcmp and weak alias to wmemcmp.
1130 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1133 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
1134 TLS_TCB_AT_TP tls variant.
1135 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
1136 Add alignment checks.
1137 * support/Makefile (libsupport-routines): Add xposix_memalign and
1139 * support/support.h: Add xposix_memalign.
1140 * support/xthread.h: Add xpthread_attr_setstack.
1141 * support/xposix_memalign.c: New File.
1142 * support/xpthread_attr_setstack.c: Likewise.
1144 2019-02-05 Florian Weimer <fweimer@redhat.com>
1147 arm: Use "nr" constraint for Systemtap probes, to avoid the
1148 compiler using memory operands for constants, due to the "o"
1149 alternative in the default "nor" constraint.
1150 * include/stap-probe.h [USE_STAP_PROBE]: Include
1151 <stap-probe-machine.h>
1152 * sysdeps/generic/stap-probe-machine.h: New file.
1153 * sysdeps/arm/stap-probe-machine.h: Likewise.
1155 2019-02-04 Joseph Myers <joseph@codesourcery.com>
1157 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
1158 with 0, not tcache->entries[tc_idx].
1160 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
1163 2019-02-04 Andreas Schwab <schwab@suse.de>
1167 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
1168 looking up collating elements match against (wide) character
1169 sequence instead of name. Correct alignment adjustment.
1170 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
1171 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
1172 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
1173 (LOCALES): Add cs_CZ.ISO-8859-2.
1174 * posix/tst-fnmatch4.c: New file.
1175 * posix/tst-fnmatch5.c: New file.
1176 * include/wchar.h (__wmemcmp): Declare.
1177 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
1178 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
1179 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1180 * sysdeps/s390/wmemcmp.c: Likewise.
1182 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
1186 * NEWS: Updated for CVE-2019-7309.
1187 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
1188 upper 32 bits of RDX register for x32. Use unsigned Jcc
1189 instructions, instead of signed.
1190 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
1191 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
1193 2019-02-04 Florian Weimer <fweimer@redhat.com>
1195 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
1196 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
1197 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
1199 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
1200 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
1201 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
1202 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
1204 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
1206 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
1208 (posix_spawn_file_actions_addopen): Likewise.
1209 (posix_spawn_file_actions_addclose): Likewise.
1210 (posix_spawn_file_actions_adddup2): Likewise.
1211 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
1213 (posix_spawn_file_actions_addfchdir_np): Likewise.
1215 2019-02-04 David Newall <glibc@davidnewall.com>
1217 elf: Implement --preload option for the dynamic linker.
1218 * elf/rtld.c (preloadarg): New variable.
1219 (handle_preload_list): Pass through “where” argument to
1221 (dl_main): Handle "--preload" and add second call to
1222 handle_preload_list.
1223 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
1224 (tst-rtld-preload-OBJS): Set variable.
1225 (tst-rtld-preload.out): New target.
1226 * elf/tst-rtld-preload.sh: New file.
1228 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
1230 * Makefile (testrun.sh): Exit in case of incorrect argument.
1232 2019-02-04 Florian Weimer <fweimer@redhat.com>
1234 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
1237 2019-02-03 Florian Weimer <fweimer@redhat.com>
1239 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
1240 implicit overflow checks.
1242 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
1244 * stdlib/isomac.c: Include <unistd.h>.
1246 2019-02-03 Florian Weimer <fweimer@redhat.com>
1248 * include/time.h (__tzfile_default): Use int, not long int, for
1250 * time/tzfile.c (struct ttinfo): Change type of the offset member
1252 (__tzfile_read): Remove useless cast.
1253 (__tzfile_default): Adjust prototype.
1254 * time/tzset.c (tz_rule): Change type of the offset member to int.
1255 (parse_offset): Change the type of the sign variable to int.
1257 2019-02-03 Florian Weimer <fweimer@redhat.com>
1260 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
1261 * libio/getchar.c (getchar): Likewise.
1262 * libio/getchar_u.c (getchar_unlocked): Likewise.
1263 * libio/getwchar.c (getwchar): Likewise.
1264 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1265 * libio/iogets.c (_IO_gets): Likewise.
1266 * libio/vscanf.c (_IO_vscanf): Likewise.
1267 * libio/vwscanf.c (__vwscanf): Likewise.
1268 * libio/tst-bz24153.c: New file.
1269 * libio/Makefile (tests): Add it.
1271 2019-02-02 Florian Weimer <fweimer@redhat.com>
1274 * manual/resource.texi (Basic Scheduling Functions): Add
1275 portability note. Change process to task throughout the section.
1276 Remove incorrect comment about sched_yield as it affects
1277 tasks/threads, not entire processes.
1278 * sysdeps/unix/sysv/linux/bits/posix_opt.h
1279 (_POSIX_PRIORITY_SCHEDULING): Update comment.
1281 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1283 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
1284 * configure: Regenerated.
1285 * manual/install.texi (Tools for Compilation): Update minimum GCC
1287 * INSTALL: Regenerated.
1289 2019-02-01 Florian Weimer <fweimer@redhat.com>
1291 * support/support_test_compare_string.c
1292 (support_test_compare_string): Use "string" in error message.
1293 * support/tst-test_compare_string.c (do_test): Adjust.
1295 2019-02-01 Florian Weimer <fweimer@redhat.com>
1297 * support/support_format_address_family.c
1298 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
1300 2019-02-01 Florian Weimer <fweimer@redhat.com>
1302 * manual/socket.texi (Internet Address Formats): Clarify the byte
1303 order of struct sockaddr_in, struct sockaddr_in6. Document
1304 sin6_flowinfo and sin6_scope_id.
1306 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
1308 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
1309 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
1310 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
1311 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
1312 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
1313 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
1315 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1317 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
1318 [!MEMCHR](MEMCHR): Set to __memchr.
1319 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1320 Add memchr_generic and memchr_nosimd.
1321 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1322 (__libc_ifunc_impl_list): Add memchr ifuncs.
1323 * sysdeps/aarch64/multiarch/memchr.c: New file.
1324 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
1325 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
1327 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1329 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1331 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1332 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
1333 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
1334 Add IS_EMAG check for ifunc dispatch.
1335 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
1336 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
1338 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1340 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
1341 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1343 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
1346 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
1348 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
1350 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
1352 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
1353 syscall-template file.
1355 2019-01-31 Carlos O'Donell <carlos@redhat.com>
1356 Torvald Riegel <triegel@redhat.com>
1357 Rik Prohaska <prohaska7@gmail.com>
1360 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
1361 tst-rwlock-trywrlock-stall.
1362 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1363 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
1364 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
1365 Set __wrphase_fute to 1 only if we started the write phase.
1366 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
1367 * nptl/tst-rwlock-trywrlock-stall.c: New file.
1368 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
1369 * support/xpthread_rwlock_destroy.c: New file.
1370 * support/xthread.h: Declare xpthread_rwlock_destroy.
1372 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1374 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1377 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1380 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
1381 * libio/fileops.c (_IO_new_file_underflow): Likewise
1382 * libio/wfileops.c (_IO_wfile_underflow): Likewise
1383 * libio/putchar.c (putchar): Likewise.
1384 * libio/putchar_u.c (putchar_unlocked): Likewise.
1385 * libio/putwchar.c (putchar): Likewise.
1386 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1387 * libio/tst-bz24051.c: New test.
1388 * libio/Makefile (tests): Add tst-bz24051
1390 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
1392 regex: fix read overrun [BZ #24114]
1393 Problem found by AddressSanitizer, reported by Hongxu Chen in:
1394 https://debbugs.gnu.org/34140
1395 * posix/regexec.c (proceed_next_node):
1396 Do not read past end of input buffer.
1398 2019-01-31 Florian Weimer <fweimer@redhat.com>
1401 * nss/nss_files/files-alias.c (get_next_alias): Handle
1402 continuation line without newline at the end.
1403 * nss/tst-nss-files-alias-truncated.c: New file.
1404 * nss/Makefile [$(build-shared)] (tests): Add
1405 tst-nss-files-alias-truncated.
1406 (tst-nss-files-alias-truncated): Link with libnss_files.so.
1407 * support/namespace.h (struct support_chroot_configuration): Add
1409 (struct support_chroot): Add path_aliases member.
1410 * support/support_chroot.c (support_chroot_create): Handle
1412 (support_chroot_free): Free path_aliases.
1414 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1416 * version.h (RELEASE): Set to "development".
1417 (VERSION): Set to "2.29.9000".
1418 * NEWS: Add section for 2.30.
1420 * version.h (RELEASE): Set to "stable".
1421 (VERSION): Set to "2.29".
1422 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
1424 * NEWS: Add the list of bugs fixed in 2.29.
1425 * manual/contrib.texi: Update contributors list with some more
1427 * manual/install.texi: Update latest versions of packages
1429 * INSTALL: Regenerated.
1431 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
1433 * po/be.po: Update translations.
1434 * po/bg.po: Likewise.
1435 * po/ca.po: Likewise.
1436 * po/cs.po: Likewise.
1437 * po/da.po: Likewise.
1438 * po/de.po: Likewise.
1439 * po/el.po: Likewise.
1440 * po/eo.po: Likewise.
1441 * po/es.po: Likewise.
1442 * po/fi.po: Likewise.
1443 * po/fr.po: Likewise.
1444 * po/gl.po: Likewise.
1445 * po/hr.po: Likewise.
1446 * po/hu.po: Likewise.
1447 * po/ia.po: Likewise.
1448 * po/id.po: Likewise.
1449 * po/it.po: Likewise.
1450 * po/ja.po: Likewise.
1451 * po/ko.po: Likewise.
1452 * po/lt.po: Likewise.
1453 * po/nb.po: Likewise.
1454 * po/nl.po: Likewise.
1455 * po/pl.po: Likewise.
1456 * po/pt_BR.po: Likewise.
1457 * po/ru.po: Likewise.
1458 * po/rw.po: Likewise.
1459 * po/sk.po: Likewise.
1460 * po/sl.po: Likewise.
1461 * po/sv.po: Likewise.
1462 * po/tr.po: Likewise.
1463 * po/uk.po: Likewise.
1464 * po/vi.po: Likewise.
1465 * po/zh_CN.po: Likewise.
1466 * po/zh_TW.po: Likewise.
1468 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
1471 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
1472 of $f3 register on $y_is_neg path.
1474 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
1477 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
1478 sigaltstack.ss_flags.
1480 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
1483 * manual/time.texi (strftime): Document "%Ey".
1484 * time/strftime_l.c (__strftime_internal): Set the default width
1485 padding with zero of "%Ey" to 2.
1488 * manual/time.texi (strftime): Document "%EC" and "%EY".
1489 * time/Makefile (tests): Add tst-strftime2.
1490 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
1491 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
1492 override padding for "%Ey".
1493 If an optional flag ('_' or '-') is specified to "%EY", interpret the
1494 "%Ey" in the subformat as if decorated with that flag.
1495 * time/tst-strftime2.c: New file.
1497 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1499 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
1503 * elf/Makefile (tests): Add tst-audit13.
1504 (modules-names): Add tst-audit13mod1.
1505 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1507 * elf/rtld.c (dl_main): Handle invalid audit module version.
1508 * elf/tst-audit13.c: New file.
1509 * elf/tst-audit13mod1.c: Likewise.
1511 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1513 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
1514 returned by __hurd_at_flags.
1515 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
1516 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
1517 directly instead of __hurd_file_name_lookup.
1519 2019-01-21 Joseph Myers <joseph@codesourcery.com>
1521 * scripts/build-many-glibcs.py (Context.checkout): Default
1522 binutils version to 2.32 branch.
1524 2019-01-21 Florian Weimer <fweimer@redhat.com>
1528 resolv: Reject trailing characters in host names
1529 * include/arpa/inet.h (__inet_aton_exact): Declare.
1530 (inet_aton): Remove hidden prototype. No longer used internally.
1531 * nscd/gai.c (__inet_aton): Do not define.
1532 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
1533 * nss/digits_dots.c (__inet_aton): Likewise.
1534 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
1535 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
1536 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
1537 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
1538 (tst-resolv-trailing): Likewise.
1539 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
1541 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
1542 Make static. Add endp parameter.
1543 (__inet_aton_exact): New function.
1544 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
1545 (__inet_addr): Call inet_aton_end.
1546 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
1547 not just IPv6. Call __inet_aton_exact.
1548 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
1549 (tests): Make const. Add additional test cases with trailing
1551 (do_test): Use array_length.
1552 * resolv/tst-inet_aton_exact.c: New file.
1553 * resolv/tst-resolv-trailing.c: Likewise.
1554 * resolv/tst-resolv-nondecimal.c: Likewise.
1555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
1557 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1561 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
1562 Clear the upper 32 bits of RSI register.
1563 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
1564 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
1565 and tst-size_t-wcsnlen.
1566 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
1567 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
1569 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1573 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
1574 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1575 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1576 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
1577 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
1579 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1583 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
1584 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1585 * sysdeps/x86_64/strcmp.S: Likewise.
1586 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
1587 tst-size_t-strncmp and tst-size_t-wcsncmp.
1588 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
1589 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
1590 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
1592 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1596 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
1597 RDX_LP for length. Clear the upper 32 bits of RDX register.
1598 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
1599 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
1600 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
1601 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
1603 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1607 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
1608 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
1609 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
1610 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
1612 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1616 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
1617 length. Clear the upper 32 bits of RDX register.
1618 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1619 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1621 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1623 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
1625 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
1627 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1631 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
1632 length. Clear the upper 32 bits of RDX register.
1633 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1634 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1635 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
1637 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
1638 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
1640 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1644 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
1645 upper 32 bits of RDX register.
1646 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1647 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
1649 * sysdeps/x86_64/x32/test-size_t.h: New file.
1650 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
1651 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
1653 2019-01-18 Florian Weimer <fweimer@redhat.com>
1656 resolv: Do not send queries for non-host-names in nss_dns.
1657 * resolv/nss_dns/dns-host.c (check_name): New function.
1658 (_nss_dns_gethostbyname2_r): Use it.
1659 (_nss_dns_gethostbyname_r): Likewise.
1660 (_nss_dns_gethostbyname4_r): Likewise.
1662 2019-01-21 Florian Weimer <fweimer@redhat.com>
1664 * resolv/inet_addr.c: Reformat to GNU style.
1665 (__inet_addr, __inet_aton): Update comment.
1667 2019-01-18 Florian Weimer <fweimer@redhat.com>
1669 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
1670 ("malloc: Use current (C11-style) atomics for fastbin access").
1671 This commit introduces a substantial performance regression on
1673 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
1674 (REMOVE_FB): Define.
1675 (_int_malloc): Use it and reindent.
1676 (_int_free): Use CAS loop with
1677 catomic_compare_and_exchange_val_rel.
1678 (malloc_consolidate): Use atomic_exchange_acq.
1681 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
1683 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
1685 (LDFLAGS-tst-minsigstksz-2): Likewise.
1686 (LDFLAGS-tst-minsigstksz-3): Likewise.
1687 (LDFLAGS-tst-minsigstksz-3a): Likewise.
1688 (LDFLAGS-tst-minsigstksz-4): Likewise.
1690 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
1692 * manual/time.texi (strftime): Fix the wording to "alternative" rather
1695 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
1697 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
1699 2019-01-16 Zack Weinberg <zackw@panix.com>
1701 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
1702 (xget_sigstack_location): New test support functions.
1703 * support/xsigstack.c: New file, implementing them.
1704 * support/tst-xsigstack.c: New test for them.
1705 * support/Makefile: Update.
1707 * signal/tst-minsigstksz-1.c
1708 * signal/tst-minsigstksz-2.c
1709 * signal/tst-minsigstksz-3.c
1710 * signal/tst-minsigstksz-3a.c
1711 * signal/tst-minsigstksz-4.c: New tests.
1712 * signal/Makefile: Run them.
1714 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
1716 * po/libc.pot: Regenerate.
1718 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1720 * math/libm-test-fma.inc (fma_test_data): Set
1721 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
1723 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1725 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
1726 (do_test): Changed __vector __int128_t to __vector unsigned int.
1728 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1730 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1731 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
1732 stpcpy-avx2 and stpncpy-avx2.
1733 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
1734 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
1735 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
1737 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
1738 ifunc-strcpy.h}: rename header for a more generic name.
1739 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
1740 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
1741 AVX unaligned load is fast and vzeroupper is preferred.
1742 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
1743 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
1744 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
1745 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
1746 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
1747 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
1749 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
1751 * argp/argp-help.c: Fix typo in comment.
1752 * misc/sys/cdefs.h: Likewise.
1753 * posix/regexec.c (sift_states_iter_mb): Likewise.
1754 * socket/sockatmark.c: Likewise.
1755 * socket/sys/socket.h: Likewise.
1756 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1757 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1758 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1759 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1760 * sysdeps/unix/sockatmark.c: Likewise.
1761 * time/strptime_l.c: Likewise.
1763 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1765 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
1766 missing space after the cast of "_NL_CURRENT".
1768 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1770 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
1771 ifdef to fix read of VSCR.
1772 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
1773 tst-ucontext-ppc64-vscr.c to test list.
1774 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
1776 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
1778 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
1781 2019-01-09 Jim Wilson <jimw@sifive.com>
1783 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
1785 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
1787 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
1788 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
1789 __memcpy_falkor for ares.
1790 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
1792 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1795 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
1798 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1799 4_FP_W_TYPEs are used for IEEE quad precision.
1800 * soft-fp/extendhftf2.c: Likewise.
1801 * soft-fp/extendsftf2.c: Likewise.
1802 * soft-fp/extendxftf2.c: Likewise.
1803 * soft-fp/trunctfdf2.c: Likewise.
1804 * soft-fp/trunctfhf2.c: Likewise.
1805 * soft-fp/trunctfsf2.c: Likewise.
1806 * soft-fp/trunctfxf2.c: Likewise.
1807 * sysdeps/alpha/ots_cvttx.c: Likewise.
1808 * sysdeps/alpha/ots_cvtxt.c: Likewise.
1809 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
1810 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
1811 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
1812 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
1813 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
1814 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
1815 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
1816 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
1817 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
1818 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
1819 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
1820 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
1821 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
1822 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
1823 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
1824 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
1826 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1829 * Makeconfig: Build libm with -fno-math-errno but build the remaining
1830 code with -fmath-errno.
1831 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
1832 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
1833 * string/test-strerror-errno.c: New file.
1835 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1838 * localedata/locales/en_US (date_fmt): Add, set to
1839 "%a %d %b %Y %r %Z".
1841 2019-01-07 Florian Weimer <fweimer@redhat.com>
1844 * manual/arith.texi (Math Error Reporting): Use @code{errno}
1845 instead of @var{errno}.
1846 (Parsing of Integers): Likewise.
1847 (Parsing of Floats): Likewise.
1848 * manual/filesys.texi (Working with Directory Trees): Likewise.
1849 (Temporary Files): Likewise.
1850 * manual/job.texi (Terminal Access Functions): Likewise.
1851 * manual/llio.texi (Synchronizing I/O): Likewise.
1852 * manual/math.texi (SVID Random): Likewise.
1853 * manual/message.texi (The catgets Functions): Likewise.
1854 (Translation with gettext): Likewise.
1855 (Locating gettext catalog): Likewise.
1856 (Charset conversion in gettext): Likewise.
1857 * manual/nss.texi (NSS Module Function Internals): Likewise.
1858 * manual/search.texi (Hash Search Function): Likewise.
1859 * manual/setjmp.texi (System V contexts): Likewise.
1860 * manual/time.texi (Sleeping): Likewise.
1861 * manual/users.texi (Lookup User): Likewise.
1862 (Lookup Group): Likewise.
1864 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1866 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
1869 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
1872 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
1873 __builtin_unreachable for default case in switch.
1874 (__ieee754_yn): Likewise.
1875 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1876 (__ieee754_ynl): Likewise.
1877 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1878 (__ieee754_ynl): Likewise.
1879 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1880 (__ieee754_ynl): Likewise.
1882 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1884 * manual/maint.texi: Use @{ and @}.
1886 2019-01-04 Florian Weimer <fweimer@redhat.com>
1888 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
1890 (do_in_chroot_1): Call it.
1892 Improve error reporting in case it is not possible to create a
1893 collision for the PTY name required by the test.
1895 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1897 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
1898 lll_wait_tid with timeout.
1899 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
1900 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
1901 futex_reltimed_wait_cancelable for cancelabla mode.
1902 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
1903 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
1905 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
1906 * sysdeps/posix/waitid.c (__sigwait): Likewise.
1907 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
1908 SYSCALL_CANCEL_NCS): New macro.
1909 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
1910 (lll_timedwait_tid): Remove macro.
1911 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
1913 (lll_timedwait_tid): Likewise.
1914 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
1916 (lll_timedwait_tid): Likewise.
1917 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
1919 (lll_timedwait_tid): Likewise.
1920 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
1921 Use INTERNAL_SYSCALL_CANCEL.
1922 * sysdeps/unix/sysv/linux/futex-internal.h
1923 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
1924 instead of __pthread_{enable,disable}_asynccancel.
1925 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1926 (lll_futex_wait_cancel): New macro.
1928 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1929 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1931 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1932 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1934 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
1935 in backtrace analysis.
1936 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
1938 (tf_send): Likewise.
1940 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
1941 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
1942 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
1943 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
1944 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1945 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1946 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
1947 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
1948 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
1949 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
1950 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
1951 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
1953 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
1954 tst-cancel-wrappers.sh.
1955 (generated): Remove tst-cancel-wrappers.out.
1956 (tst-cancel-wrappers.out): Remove rule.
1957 * nptl/tst-cancel-wrappers.sh: Remove file.
1959 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1961 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
1962 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1965 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1968 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
1969 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
1970 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
1971 close-on-exec reset for adddup2 file action.
1972 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1974 2019-01-03 Zack Weinberg <zackw@panix.com>
1976 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
1977 parameter. Only use deprecated scanf when __USE_GNU is defined
1978 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
1979 than 201103L, whichever is relevant for the language being compiled.
1981 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
1982 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
1983 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
1984 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
1985 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
1989 * libio/iovswscanf.c
1994 * stdio-common/fscanf.c
1995 * stdio-common/scanf.c
1996 * stdio-common/vfscanf.c
1997 * stdio-common/vfwscanf.c
1998 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1999 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
2000 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
2001 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
2002 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
2003 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
2004 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
2005 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
2006 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
2007 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
2008 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
2009 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
2010 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
2011 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
2012 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
2014 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
2015 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
2016 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
2018 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
2019 with a preprocessor macro.
2021 * stdio-common/bug21.c, stdio-common/scanf14.c:
2022 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
2023 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2024 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
2025 to xscanf, xfscanf, xsscanf.
2027 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
2028 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2029 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
2030 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
2032 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
2033 override feature selection macros or provide definitions of u_char etc.
2034 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
2035 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
2036 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
2039 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2041 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2042 bits/termios-misc.h.
2043 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
2044 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2045 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2046 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2047 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
2048 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
2050 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
2051 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2052 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
2053 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
2054 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
2055 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
2057 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
2058 (sysdep_headers): Add termios-misc.h.
2060 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
2061 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2062 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2064 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2066 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
2067 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
2068 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
2069 TCSAFLUSH): Move to termios-tcflow.h.
2070 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2071 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2072 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2073 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2075 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2077 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
2078 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
2079 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
2080 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
2081 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
2082 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
2083 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
2084 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
2086 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2087 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2088 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2089 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2091 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2093 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
2094 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
2095 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
2096 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
2097 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
2099 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2100 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2101 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2102 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2105 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2107 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
2108 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
2109 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
2110 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
2111 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
2112 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
2113 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
2114 __MAX_BAUD): Move to termios-baud.h.
2115 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
2116 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
2117 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2118 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2119 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2121 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2123 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
2124 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
2125 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
2126 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
2127 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
2128 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
2130 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
2131 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
2133 [USE_MISC] (XTABS): Likewise.
2134 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2135 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2136 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2137 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
2139 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2141 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
2142 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
2143 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
2144 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
2145 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
2146 IUTF8): Move to termios-c_iflag.h.
2147 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2148 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2149 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2150 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2152 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2154 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
2155 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
2156 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
2157 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
2158 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
2159 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
2160 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
2161 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
2162 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2163 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2164 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2165 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2167 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
2168 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
2169 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
2170 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
2171 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2173 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
2175 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
2177 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
2179 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
2181 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
2183 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
2184 _HAVE_C_OSPEED): Define.
2185 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
2186 _HAVE_C_OSPEED): Likewise.
2187 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
2188 _HAVE_C_OSPEED): Likewise.
2189 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
2190 (cfsetospeed): Check for define value instead of existence.
2191 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
2192 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2193 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
2194 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2195 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
2198 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
2200 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2201 (TIOCSER_TEMT): Likewise.
2202 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
2203 (TEOCSER_TEMT): Likewise.
2205 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
2208 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
2210 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2212 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2214 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2216 * sysdeps/htl/pt-barrierattr-setpshared.c
2217 (pthread_barrierattr_setpshared): Add stub warning.
2218 * sysdeps/htl/pt-condattr-setpshared.c
2219 (pthread_condattr_setpshared): Likewise.
2220 * sysdeps/htl/pt-mutexattr-setpshared.c
2221 (pthread_mutexattr_setpshared): Likewise.
2222 * sysdeps/htl/pt-rwlockattr-setpshared.c
2223 (pthread_rwlockattr_setpshared): Likewise.
2224 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
2225 (pthread_mutexattr_setpshared): Likewise.
2227 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2229 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
2230 constants to match with Linux 4.20.
2232 * sysdeps/mips/mips32/libm-test-ulps: Update.
2233 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2235 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
2238 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
2239 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
2240 than __typeof (...) for the a_ptr variable.
2242 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2244 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
2245 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
2246 * libio/Makefile (tests): Add tst-sprintf-ub and
2248 (CFLAGS-tst-sprintf-ub.c): New variable.
2249 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
2250 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
2251 destination buffer and check for overflows in fortified mode.
2252 * libio/libioP.h (PRINTF_CHK): New macro.
2253 * libio/tst-sprintf-chk-ub.c: New file.
2254 * libio/tst-sprintf-ub.c: Likewise.
2256 2019-01-02 Florian Weimer <fweimer@redhat.com>
2259 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
2262 2019-01-02 Florian Weimer <fweimer@redhat.com>
2264 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
2266 2019-01-01 Joseph Myers <joseph@codesourcery.com>
2268 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
2271 * sysdeps/unix/sysv/linux/netpacket/packet.h
2272 (PACKET_IGNORE_OUTGOING): New macro.
2274 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
2277 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2279 (riscv_flush_icache): New syscall.
2281 * manual/texinfo.tex: Update to version 2018-12-28.17 with
2282 trailing whitespace removed.
2283 * scripts/config.guess: Update to version 2019-01-01.
2284 * scripts/config.sub: Update to version 2019-01-01.
2285 * scripts/move-if-change: Update from gnulib.
2287 * NEWS: Update copyright dates.
2288 * catgets/gencat.c (print_version): Likewise.
2289 * csu/version.c (banner): Likewise.
2290 * debug/catchsegv.sh: Likewise.
2291 * debug/pcprofiledump.c (print_version): Likewise.
2292 * debug/xtrace.sh (do_version): Likewise.
2293 * elf/ldconfig.c (print_version): Likewise.
2294 * elf/ldd.bash.in: Likewise.
2295 * elf/pldd.c (print_version): Likewise.
2296 * elf/sotruss.sh: Likewise.
2297 * elf/sprof.c (print_version): Likewise.
2298 * iconv/iconv_prog.c (print_version): Likewise.
2299 * iconv/iconvconfig.c (print_version): Likewise.
2300 * locale/programs/locale.c (print_version): Likewise.
2301 * locale/programs/localedef.c (print_version): Likewise.
2302 * login/programs/pt_chown.c (print_version): Likewise.
2303 * malloc/memusage.sh (do_version): Likewise.
2304 * malloc/memusagestat.c (print_version): Likewise.
2305 * malloc/mtrace.pl: Likewise.
2306 * manual/libc.texinfo: Likewise.
2307 * nptl/version.c (banner): Likewise.
2308 * nscd/nscd.c (print_version): Likewise.
2309 * nss/getent.c (print_version): Likewise.
2310 * nss/makedb.c (print_version): Likewise.
2311 * posix/getconf.c (main): Likewise.
2312 * scripts/test-installation.pl: Likewise.
2313 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2315 * All files with FSF copyright notices: Update copyright dates
2316 using scripts/update-copyrights.
2317 * locale/programs/charmap-kw.h: Regenerated.
2318 * locale/programs/locfile-kw.h: Likewise.
2320 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2322 * timezone/zdump.c: Update from tzcode 2018i.
2323 * timezone/zic.c: Likewise.
2325 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
2327 regex: improve Gnulib port to AIX
2328 From the glibc point of view, this removes duplicate macro
2329 definitions and is obviously safe.
2330 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
2331 * posix/regex_internal.h:
2332 (__attribute__, __attribute_warn_unused_result__):
2333 Remove; already defined elsewhere.
2335 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
2338 * malloc/malloc.c (_int_realloc): Always call memcpy for the
2339 copying operation. (ncopies had the wrong type, resulting in an
2340 integer wraparound and too few elements being copied.)
2342 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
2345 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
2346 <asm/syscalls.h> exists with __has_include__ before including it.
2348 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2350 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2353 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
2355 * hurd/lookup-retry: Include <unistd.h>.
2356 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
2357 Release it on return. Handle "pid" magical lookup retry.
2359 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2362 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
2363 (t_fmt_ampm): Likewise.
2364 * localedata/locales/aa_ER (t_fmt): Likewise.
2365 (t_fmt_ampm): Likewise.
2366 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
2367 (t_fmt_ampm): Likewise.
2368 * localedata/locales/aa_ET (t_fmt): Likewise.
2369 (t_fmt_ampm): Likewise.
2370 * localedata/locales/am_ET (t_fmt): Likewise.
2371 (t_fmt_ampm): Likewise.
2372 * localedata/locales/byn_ER (t_fmt): Likewise.
2373 (t_fmt_ampm): Likewise.
2374 * localedata/locales/om_ET (t_fmt): Likewise.
2375 (t_fmt_ampm): Likewise.
2376 * localedata/locales/sid_ET (t_fmt): Likewise.
2377 (t_fmt_ampm): Likewise.
2378 * localedata/locales/so_DJ (t_fmt): Likewise.
2379 (t_fmt_ampm): Likewise.
2380 * localedata/locales/so_ET (t_fmt): Likewise.
2381 (t_fmt_ampm): Likewise.
2382 * localedata/locales/so_SO (t_fmt): Likewise.
2383 (t_fmt_ampm): Likewise.
2384 * localedata/locales/ti_ER (t_fmt): Likewise.
2385 (t_fmt_ampm): Likewise.
2386 * localedata/locales/ti_ET (t_fmt): Likewise.
2387 (t_fmt_ampm): Likewise.
2388 * localedata/locales/tig_ER (t_fmt): Likewise.
2389 (t_fmt_ampm): Likewise.
2390 * localedata/locales/wal_ET (t_fmt): Likewise.
2391 (t_fmt_ampm): Likewise.
2393 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
2394 * localedata/locales/ar_IN (t_fmt): Likewise.
2395 * localedata/locales/bhb_IN (t_fmt): Likewise.
2396 * localedata/locales/bho_IN (t_fmt): Likewise.
2397 * localedata/locales/bi_VU (t_fmt): Likewise.
2398 * localedata/locales/bn_BD (t_fmt): Likewise.
2399 * localedata/locales/bn_IN (t_fmt): Likewise.
2400 * localedata/locales/brx_IN (t_fmt): Likewise.
2401 * localedata/locales/doi_IN (t_fmt): Likewise.
2402 * localedata/locales/en_HK (t_fmt): Likewise.
2403 (t_fmt_ampm): Likewise.
2404 * localedata/locales/en_IN (t_fmt): Likewise.
2405 * localedata/locales/en_PH (t_fmt): Likewise.
2406 * localedata/locales/gu_IN (t_fmt): Likewise.
2407 * localedata/locales/hi_IN (t_fmt): Likewise.
2408 * localedata/locales/hif_FJ (t_fmt): Likewise.
2409 * localedata/locales/hne_IN (t_fmt): Likewise.
2410 * localedata/locales/kn_IN (t_fmt): Likewise.
2411 * localedata/locales/kok_IN (t_fmt): Likewise.
2412 * localedata/locales/ks_IN (t_fmt): Likewise.
2413 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
2414 * localedata/locales/mag_IN (t_fmt): Likewise.
2415 * localedata/locales/mai_IN (t_fmt): Likewise.
2416 * localedata/locales/mjw_IN (t_fmt): Likewise.
2417 * localedata/locales/ml_IN (t_fmt): Likewise.
2418 * localedata/locales/mni_IN (t_fmt): Likewise.
2419 * localedata/locales/mr_IN (t_fmt): Likewise.
2420 * localedata/locales/ms_MY (t_fmt): Likewise.
2421 * localedata/locales/pa_IN (t_fmt): Likewise.
2422 * localedata/locales/raj_IN (t_fmt): Likewise.
2423 * localedata/locales/sa_IN (t_fmt): Likewise.
2424 * localedata/locales/sat_IN (t_fmt): Likewise.
2425 * localedata/locales/sd_IN (t_fmt): Likewise.
2426 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
2427 * localedata/locales/tcy_IN (t_fmt): Likewise.
2428 * localedata/locales/the_NP (t_fmt): Likewise.
2429 * localedata/locales/to_TO (t_fmt): Likewise.
2430 * localedata/locales/ur_IN (t_fmt): Likewise.
2432 * localedata/locales/hif_FJ (d_t_fmt): Set to
2433 "%A %d %b %Y %I:%M:%S %p".
2434 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
2436 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
2437 * localedata/locales/ar_BH (t_fmt): Likewise.
2438 * localedata/locales/ar_DZ (t_fmt): Likewise.
2439 * localedata/locales/ar_EG (t_fmt): Likewise.
2440 * localedata/locales/ar_IQ (t_fmt): Likewise.
2441 * localedata/locales/ar_JO (t_fmt): Likewise.
2442 * localedata/locales/ar_KW (t_fmt): Likewise.
2443 * localedata/locales/ar_LB (t_fmt): Likewise.
2444 * localedata/locales/ar_LY (t_fmt): Likewise.
2445 * localedata/locales/ar_OM (t_fmt): Likewise.
2446 * localedata/locales/ar_QA (t_fmt): Likewise.
2447 * localedata/locales/ar_SD (t_fmt): Likewise.
2448 * localedata/locales/ar_SS (t_fmt): Likewise.
2449 * localedata/locales/ar_SY (t_fmt): Likewise.
2450 * localedata/locales/ar_TN (t_fmt): Likewise.
2451 * localedata/locales/ar_YE (t_fmt): Likewise.
2453 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
2454 (t_fmt_ampm): Likewise.
2455 * localedata/locales/gez_ET (t_fmt): Likewise.
2456 (t_fmt_ampm): Likewise.
2458 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
2459 (t_fmt_ampm): Likewise.
2460 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
2462 * localedata/locales/zh_HK (t_fmt):
2463 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
2465 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
2466 because this locale does not use the 12-hour clock.
2467 (t_fmt): Set to "%Z %H:%M:%S".
2468 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
2470 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
2471 because this locale does not use the 12-hour clock.
2472 (t_fmt): Set to "%H:%M:%S %Z".
2473 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
2475 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
2476 because this locale does not use the 12-hour clock.
2477 (t_fmt): Set to "%T".
2478 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
2479 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
2481 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
2482 because this locale does not use the 12-hour clock.
2483 (t_fmt): Set to "%H:%M:%S %Z".
2484 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
2486 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
2487 because this locale does not use the 12-hour clock.
2488 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
2489 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
2491 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2495 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
2496 (t_fmt_ampm): Likewise.
2497 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
2498 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
2499 (d_fmt): Set to "%-d.%-m.%y".
2501 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2503 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
2504 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
2505 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
2507 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2508 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
2509 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
2511 * support/blob_repeat.c (check_mul_overflow_size_t,
2512 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
2514 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
2516 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
2518 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
2520 regex: simplify Gnulib port
2521 This simplifies the code, by removing stuff intended for porting
2522 to Gnulib but no longer needed there.
2523 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
2524 uses of libc_hidden_def, weak_alias.
2525 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
2526 _Restrict_ except for public-facing headers.
2527 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
2528 Remove; already defined elsewhere.
2529 * posix/regex.c, posix/regex_internal.h:
2530 Use __GNUC_PREREQ instead of rolling our own.
2531 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
2533 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
2535 * benchtests/bench-strlen.c (generic_strlen): New function.
2536 (memchr_strlen): New function.
2538 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2540 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
2541 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2542 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
2544 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2546 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2548 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2550 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
2551 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
2552 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
2553 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
2554 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
2555 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
2556 <sysdeps/ieee754/flt-32/s_sincosf.c>.
2558 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2561 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
2562 PLT reference in libc.so.
2563 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
2564 _Q_lltoq and _Q_qtod PLT references in libc.so.
2566 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2568 * benchtests/bench-memchr.c: Cleanup defines.
2569 * benchtests/bench-memcmp.c: Likewise.
2570 * benchtests/bench-memset.c: Likewise.
2571 * benchtests/bench-memset-large.c: Likewise.
2572 * benchtests/bench-memset-walk.c: Likewise.
2573 * benchtests/bench-stpcpy.c: Likewise.
2574 * benchtests/bench-stpncpy.c: Likewise.
2575 * benchtests/bench-strcat.c: Likewise.
2576 * benchtests/bench-strchr.c: Likewise.
2577 * benchtests/bench-strcmp.c: Likewise.
2578 * benchtests/bench-strcpy.c: Likewise.
2579 * benchtests/bench-strcspn.c: Likewise.
2580 * benchtests/bench-string.h: Likewise.
2581 * benchtests/bench-strlen.c: Likewise.
2582 * benchtests/bench-strncat.c: Likewise.
2583 * benchtests/bench-strncmp.c: Likewise.
2584 * benchtests/bench-strncpy.c: Likewise.
2585 * benchtests/bench-strnlen.c: Likewise.
2586 * benchtests/bench-strpbrk.c: Likewise.
2587 * benchtests/bench-strrchr.c: Likewise.
2588 * benchtests/bench-strspn.c: Likewise.
2590 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2592 * stdlib/longlong.h: Update from GCC.
2595 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
2596 * configure: Regenerated.
2597 * manual/install.texi (Tools for Compilation): Update minimum GCC
2599 * INSTALL: Regenerated.
2601 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
2603 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
2605 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
2607 * malloc/malloc.c (mremap_chunk): Additional checks.
2609 2018-12-21 Mao Han <han_mao@c-sky.com>
2611 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
2612 * scripts/build-many-glibcs.py: Add C-SKY targets.
2613 * sysdeps/csky/Implies: New file.
2614 * sysdeps/csky/Makefile: Likewise.
2615 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
2616 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
2617 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
2618 * sysdeps/csky/abiv2/memcmp.S: Likewise.
2619 * sysdeps/csky/abiv2/memcpy.S: Likewise.
2620 * sysdeps/csky/abiv2/memmove.S: Likewise.
2621 * sysdeps/csky/abiv2/memset.S: Likewise.
2622 * sysdeps/csky/abiv2/setjmp.S: Likewise.
2623 * sysdeps/csky/abiv2/start.S: Likewise.
2624 * sysdeps/csky/abiv2/strcmp.S: Likewise.
2625 * sysdeps/csky/abiv2/strcpy.S: Likewise.
2626 * sysdeps/csky/abiv2/strlen.S: Likewise.
2627 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
2628 * sysdeps/csky/abort-instr.h: Likewise.
2629 * sysdeps/csky/atomic-machine.h: Likewise.
2630 * sysdeps/csky/bits/endian.h: Likewise.
2631 * sysdeps/csky/bits/fenv.h: Likewise.
2632 * sysdeps/csky/bits/link.h: Likewise.
2633 * sysdeps/csky/bits/setjmp.h: Likewise.
2634 * sysdeps/csky/bsd-_setjmp.S: Likewise.
2635 * sysdeps/csky/bsd-setjmp.S: Likewise.
2636 * sysdeps/csky/configure: Likewise.
2637 * sysdeps/csky/configure.ac: Likewise.
2638 * sysdeps/csky/dl-machine.h: Likewise.
2639 * sysdeps/csky/dl-procinfo.c: Likewise.
2640 * sysdeps/csky/dl-procinfo.h: Likewise.
2641 * sysdeps/csky/dl-sysdep.h: Likewise.
2642 * sysdeps/csky/dl-tls.h: Likewise.
2643 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
2644 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
2645 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
2646 * sysdeps/csky/fpu/fegetenv.c: Likewise.
2647 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
2648 * sysdeps/csky/fpu/fegetmode.c: Likewise.
2649 * sysdeps/csky/fpu/fegetround.c: Likewise.
2650 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
2651 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
2652 * sysdeps/csky/fpu/fenv_private.h: Likewise.
2653 * sysdeps/csky/fpu/fesetenv.c: Likewise.
2654 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
2655 * sysdeps/csky/fpu/fesetmode.c: Likewise.
2656 * sysdeps/csky/fpu/fesetround.c: Likewise.
2657 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
2658 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
2659 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
2660 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
2661 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
2662 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
2663 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
2664 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
2665 * sysdeps/csky/fpu_control.h: Likewise.
2666 * sysdeps/csky/gccframe.h: Likewise.
2667 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
2668 * sysdeps/csky/ldsodefs.h: Likewise.
2669 * sysdeps/csky/libc-tls.c: Likewise.
2670 * sysdeps/csky/linkmap.h: Likewise.
2671 * sysdeps/csky/machine-gmon.h: Likewise.
2672 * sysdeps/csky/memusage.h: Likewise.
2673 * sysdeps/csky/nofpu/Implies: Likewise.
2674 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
2675 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
2676 * sysdeps/csky/nptl/Makefile: Likewise.
2677 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
2678 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
2679 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
2680 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
2681 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
2682 * sysdeps/csky/nptl/tls.h: Likewise.
2683 * sysdeps/csky/preconfigure: Likewise.
2684 * sysdeps/csky/sfp-machine.h: Likewise.
2685 * sysdeps/csky/sotruss-lib.c: Likewise.
2686 * sysdeps/csky/stackinfo.h: Likewise.
2687 * sysdeps/csky/sysdep.h: Likewise.
2688 * sysdeps/csky/tininess.h: Likewise.
2689 * sysdeps/csky/tst-audit.h: Likewise.
2690 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
2691 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
2692 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
2693 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
2694 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2695 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
2696 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2697 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
2698 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
2699 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
2700 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
2701 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
2702 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
2703 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
2704 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
2705 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
2706 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
2707 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
2708 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
2709 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
2710 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
2711 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
2712 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
2713 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2714 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
2715 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
2716 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
2717 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
2718 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
2719 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
2720 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
2721 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
2722 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
2723 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
2724 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
2725 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2726 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
2727 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
2728 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
2729 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
2730 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
2731 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
2732 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
2733 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
2735 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2737 * include/time.h (__difftime64): Add.
2738 * time/difftime.c (subtract): convert to 64-bit time.
2739 * time/difftime.c (__difftime64): Add.
2740 * time/difftime.c (__difftime): Wrap around __difftime64.
2742 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2744 * manual/examples/add.c: Remove redundant "if not".
2745 * manual/examples/argp-ex1.c: Likewise.
2746 * manual/examples/argp-ex2.c: Likewise.
2747 * manual/examples/argp-ex3.c: Likewise.
2748 * manual/examples/argp-ex4.c: Likewise.
2749 * manual/examples/atexit.c: Likewise.
2750 * manual/examples/db.c: Likewise.
2751 * manual/examples/dir.c: Likewise.
2752 * manual/examples/dir2.c: Likewise.
2753 * manual/examples/execinfo.c: Likewise.
2754 * manual/examples/filecli.c: Likewise.
2755 * manual/examples/filesrv.c: Likewise.
2756 * manual/examples/fmtmsgexpl.c: Likewise.
2757 * manual/examples/genpass.c: Likewise.
2758 * manual/examples/inetcli.c: Likewise.
2759 * manual/examples/inetsrv.c: Likewise.
2760 * manual/examples/isockad.c: Likewise.
2761 * manual/examples/longopt.c: Likewise.
2762 * manual/examples/memopen.c: Likewise.
2763 * manual/examples/memstrm.c: Likewise.
2764 * manual/examples/mkdirent.c: Likewise.
2765 * manual/examples/mkfsock.c: Likewise.
2766 * manual/examples/mkisock.c: Likewise.
2767 * manual/examples/mygetpass.c: Likewise.
2768 * manual/examples/pipe.c: Likewise.
2769 * manual/examples/popen.c: Likewise.
2770 * manual/examples/rprintf.c: Likewise.
2771 * manual/examples/search.c: Likewise.
2772 * manual/examples/select.c: Likewise.
2773 * manual/examples/setjmp.c: Likewise.
2774 * manual/examples/sigh1.c: Likewise.
2775 * manual/examples/sigusr.c: Likewise.
2776 * manual/examples/stpcpy.c: Likewise.
2777 * manual/examples/strdupa.c: Likewise.
2778 * manual/examples/strftim.c: Likewise.
2779 * manual/examples/subopt.c: Likewise.
2780 * manual/examples/swapcontext.c: Likewise.
2781 * manual/examples/termios.c: Likewise.
2782 * manual/examples/testopt.c: Likewise.
2783 * manual/examples/testpass.c: Likewise.
2784 * manual/examples/timeval_subtract.c: Likewise.
2786 2018-12-19 Joseph Myers <joseph@codesourcery.com>
2788 * sysdeps/x86/fpu/math_private.h: New file.
2789 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
2791 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
2796 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2798 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
2799 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
2800 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
2801 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
2803 (_dl_show_auxv): Give a special treatment to
2804 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
2805 and AT_L3_CACHEGEOMETRY.
2806 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
2807 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
2808 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
2809 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
2811 2018-12-19 Andreas Schwab <schwab@suse.de>
2813 * nscd/connections.c (check_use): Don't abort on invalid len.
2815 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
2817 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
2818 values in the 64bit value cases.
2820 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2826 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
2832 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
2835 (__gmtime64_r): Add.
2837 (__gmtime64_r): Add.
2838 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2844 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2847 (__localtime64_r): Add.
2849 (__localtime64_r): Add.
2850 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
2852 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2854 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
2855 kernel_sigction definition.
2857 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
2859 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
2861 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
2862 __syscall_rt_sigaction.
2863 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
2864 (kernel_sigaction): Use Linux generic defintion.
2866 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
2867 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
2868 (__syscall_rt_sigaction): Remove implementation.
2869 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
2871 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
2872 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
2873 INTERNAL_SYSCALL): Remove definitions.
2874 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
2875 action and signal set size.
2876 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
2877 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
2879 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2880 James Clarke <jrtc27@jrtc27.com>
2883 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
2884 Define if SA_RESTORER is defined.
2885 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
2886 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
2888 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
2889 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
2891 (HAS_SA_RESTORER): Define.
2892 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
2893 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
2894 (HAS_SA_RESTORER): Define.
2895 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
2896 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
2897 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
2898 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
2899 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2901 2018-12-18 Joseph Myers <joseph@codesourcery.com>
2903 * sysdeps/unix/sysv/linux/kernel-features.h
2904 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
2905 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2906 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
2907 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2908 (__ASSUME_ST_INO_64_BIT): Likewise.
2909 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2910 <kernel-features.h>.
2911 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2912 Remove conditional code.
2913 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2914 <kernel-features.h>.
2915 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2916 Remove conditional code.
2917 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
2918 <kernel-features.h>.
2919 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2920 Remove conditional code.
2921 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
2922 <kernel-features.h>.
2923 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
2924 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
2926 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2928 * sysdeps/s390/multiarch/ifunc-resolve.h
2929 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
2930 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
2931 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
2932 Delete macro definition.
2933 (s390_libc_ifunc_init): Rename to
2934 s390_libc_ifunc_expr_stfle_init.
2935 * sysdeps/s390/bzero: Use
2936 s390_libc_ifunc_expr_stfle_init instead of
2937 s390_libc_ifunc_init.
2938 * sysdeps/s390/memcmp.c: Likewise.
2939 * sysdeps/s390/memcpy.c: Likewise.
2940 * sysdeps/s390/mempcpy.c: Likewise.
2941 * sysdeps/s390/memset.c: Likewise.
2943 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2945 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
2946 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
2948 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2950 * sysdeps/s390/multiarch/Makefile
2951 (sysdep_routines): Remove wmemcmp variants.
2952 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
2953 * sysdeps/s390/multiarch/ifunc-impl-list.c
2954 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
2955 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
2956 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
2957 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
2958 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
2959 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
2960 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
2961 * sysdeps/s390/ifunc-wmemcmp.h: New file.
2963 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2965 * sysdeps/s390/multiarch/Makefile
2966 (sysdep_routines): Remove wmemset variants.
2967 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
2968 * sysdeps/s390/multiarch/ifunc-impl-list.c
2969 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
2970 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
2971 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
2972 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
2973 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
2974 * sysdeps/s390/multiarch/wmemset.c: Move to ...
2975 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
2976 * sysdeps/s390/ifunc-wmemset.h: New file.
2978 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2980 * sysdeps/s390/multiarch/Makefile
2981 (sysdep_routines): Remove wmemchr variants.
2982 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
2983 * sysdeps/s390/multiarch/ifunc-impl-list.c
2984 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
2985 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
2986 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
2987 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
2988 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
2989 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
2990 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
2991 * sysdeps/s390/ifunc-wmemchr.h: New file.
2993 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2995 * sysdeps/s390/multiarch/Makefile
2996 (sysdep_routines): Remove wcscspn variants.
2997 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
2998 * sysdeps/s390/multiarch/ifunc-impl-list.c
2999 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
3000 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
3001 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
3002 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
3003 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
3004 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
3005 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
3006 * sysdeps/s390/ifunc-wcscspn.h: New file.
3008 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3010 * sysdeps/s390/multiarch/Makefile
3011 (sysdep_routines): Remove wcspbrk variants.
3012 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
3013 * sysdeps/s390/multiarch/ifunc-impl-list.c
3014 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
3015 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
3016 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
3017 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
3018 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
3019 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
3020 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
3021 * sysdeps/s390/ifunc-wcspbrk.h: New file.
3023 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3025 * sysdeps/s390/multiarch/Makefile
3026 (sysdep_routines): Remove wcsspn variants.
3027 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
3028 * sysdeps/s390/multiarch/ifunc-impl-list.c
3029 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
3030 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
3031 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
3032 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
3033 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
3034 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
3035 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
3036 * sysdeps/s390/ifunc-wcsspn.h: New file.
3038 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3040 * sysdeps/s390/multiarch/Makefile
3041 (sysdep_routines): Remove wcsrchr variants.
3042 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
3043 * sysdeps/s390/multiarch/ifunc-impl-list.c
3044 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
3045 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
3046 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
3047 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
3048 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
3049 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
3050 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
3051 * sysdeps/s390/ifunc-wcsrchr.h: New file.
3053 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3055 * sysdeps/s390/multiarch/Makefile
3056 (sysdep_routines): Remove wcschrnul variants.
3057 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
3058 * sysdeps/s390/multiarch/ifunc-impl-list.c
3059 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
3060 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
3061 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
3062 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
3063 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
3064 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
3065 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
3066 * sysdeps/s390/ifunc-wcschrnul.h: New file.
3068 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3070 * sysdeps/s390/multiarch/Makefile
3071 (sysdep_routines): Remove wcschr variants.
3072 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
3073 * sysdeps/s390/multiarch/ifunc-impl-list.c
3074 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
3075 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
3076 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
3077 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
3078 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
3079 * sysdeps/s390/multiarch/wcschr.c: Move to ...
3080 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
3081 * sysdeps/s390/ifunc-wcschr.h: New file.
3083 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3085 * sysdeps/s390/multiarch/Makefile
3086 (sysdep_routines): Remove wcsncmp variants.
3087 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
3088 * sysdeps/s390/multiarch/ifunc-impl-list.c
3089 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
3090 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
3091 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
3092 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
3093 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
3094 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
3095 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
3096 * sysdeps/s390/ifunc-wcsncmp.h: New file.
3098 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3100 * sysdeps/s390/multiarch/Makefile
3101 (sysdep_routines): Remove wcscmp variants.
3102 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
3103 * sysdeps/s390/multiarch/ifunc-impl-list.c
3104 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
3105 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
3106 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
3107 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
3108 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
3109 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
3110 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
3111 * sysdeps/s390/ifunc-wcscmp.h: New file.
3113 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3115 * sysdeps/s390/multiarch/Makefile
3116 (sysdep_routines): Remove wcsncat variants.
3117 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
3118 * sysdeps/s390/multiarch/ifunc-impl-list.c
3119 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
3120 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
3121 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
3122 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
3123 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
3124 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
3125 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
3126 * sysdeps/s390/ifunc-wcsncat.h: New file.
3128 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3130 * sysdeps/s390/multiarch/Makefile
3131 (sysdep_routines): Remove wcscat variants.
3132 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
3133 * sysdeps/s390/multiarch/ifunc-impl-list.c
3134 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
3135 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
3136 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
3137 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
3138 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
3139 * sysdeps/s390/multiarch/wcscat.c: Move to ...
3140 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
3141 * sysdeps/s390/ifunc-wcscat.h: New file.
3143 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3145 * sysdeps/s390/multiarch/Makefile
3146 (sysdep_routines): Remove wcpncpy variants.
3147 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
3148 * sysdeps/s390/multiarch/ifunc-impl-list.c
3149 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
3150 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
3151 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
3152 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
3153 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
3154 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
3155 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
3156 * sysdeps/s390/ifunc-wcpncpy.h: New file.
3158 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3160 * sysdeps/s390/multiarch/Makefile
3161 (sysdep_routines): Remove wcsncpy variants.
3162 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
3163 * sysdeps/s390/multiarch/ifunc-impl-list.c
3164 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
3165 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
3166 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
3167 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
3168 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
3169 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
3170 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
3171 * sysdeps/s390/ifunc-wcsncpy.h: New file.
3173 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3175 * sysdeps/s390/multiarch/Makefile
3176 (sysdep_routines): Remove wcpcpy variants.
3177 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
3178 * sysdeps/s390/multiarch/ifunc-impl-list.c
3179 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
3180 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
3181 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
3182 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
3183 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
3184 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
3185 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
3186 * sysdeps/s390/ifunc-wcpcpy.h: New file.
3188 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3190 * sysdeps/s390/multiarch/Makefile
3191 (sysdep_routines): Remove wcscpy variants.
3192 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
3193 * sysdeps/s390/multiarch/ifunc-impl-list.c
3194 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
3195 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
3196 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
3197 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
3198 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
3199 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
3200 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
3201 * sysdeps/s390/ifunc-wcscpy.h: New file.
3203 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3205 * sysdeps/s390/multiarch/Makefile
3206 (sysdep_routines): Remove wcsnlen variants.
3207 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
3208 * sysdeps/s390/multiarch/ifunc-impl-list.c
3209 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
3210 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
3211 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
3212 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
3213 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
3214 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
3215 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
3216 * sysdeps/s390/ifunc-wcsnlen.h: New file.
3218 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3220 * sysdeps/s390/multiarch/Makefile
3221 (sysdep_routines): Remove wcslen variants.
3222 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
3223 * sysdeps/s390/multiarch/ifunc-impl-list.c
3224 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
3225 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
3226 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
3227 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
3228 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
3229 * sysdeps/s390/multiarch/wcslen.c: Move to ...
3230 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
3231 * sysdeps/s390/ifunc-wcslen.h: New file.
3233 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3235 * sysdeps/s390/multiarch/Makefile
3236 (sysdep_routines): Remove memrchr variants.
3237 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
3238 * sysdeps/s390/multiarch/ifunc-impl-list.c
3239 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
3240 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
3241 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
3242 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
3243 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
3244 * sysdeps/s390/multiarch/memrchr.c: Move to ...
3245 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
3246 * sysdeps/s390/ifunc-memrchr.h: New file.
3248 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3250 * sysdeps/s390/multiarch/Makefile
3251 (sysdep_routines): Remove memccpy variants.
3252 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
3253 * sysdeps/s390/multiarch/ifunc-impl-list.c
3254 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
3255 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
3256 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
3257 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
3258 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
3259 * sysdeps/s390/multiarch/memccpy.c: Move to ...
3260 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
3261 * sysdeps/s390/ifunc-memccpy.h: New file.
3263 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3265 * sysdeps/s390/multiarch/Makefile
3266 (sysdep_routines): Remove rawmemchr variants.
3267 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
3268 * sysdeps/s390/multiarch/ifunc-impl-list.c
3269 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
3270 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
3271 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
3272 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
3273 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
3274 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
3275 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
3276 * sysdeps/s390/ifunc-rawmemchr.h: New file.
3278 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3280 * sysdeps/s390/multiarch/Makefile
3281 (sysdep_routines): Remove memchr variants.
3282 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
3283 * sysdeps/s390/multiarch/ifunc-impl-list.c
3284 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
3285 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
3286 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
3287 * sysdeps/s390/multiarch/memchr.c: Move to ...
3288 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
3289 * sysdeps/s390/ifunc-memchr.h: New file.
3290 * sysdeps/s390/s390-64/memchr.S: Move to ...
3291 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
3292 for 31/64bit and ifunc handling.
3293 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
3294 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
3295 * sysdeps/s390/s390-32/memchr.S: Likewise.
3297 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3299 * sysdeps/s390/multiarch/Makefile
3300 (sysdep_routines): Remove strcspn variants.
3301 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
3302 * sysdeps/s390/multiarch/ifunc-impl-list.c
3303 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
3304 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
3305 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
3306 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
3307 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
3308 * sysdeps/s390/multiarch/strcspn.c: Move to ...
3309 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
3310 * sysdeps/s390/ifunc-strcspn.h: New file.
3312 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3314 * sysdeps/s390/multiarch/Makefile
3315 (sysdep_routines): Remove strpbrk variants.
3316 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
3317 * sysdeps/s390/multiarch/ifunc-impl-list.c
3318 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
3319 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
3320 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
3321 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
3322 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
3323 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
3324 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
3325 * sysdeps/s390/ifunc-strpbrk.h: New file.
3327 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3329 * sysdeps/s390/multiarch/Makefile
3330 (sysdep_routines): Remove strspn variants.
3331 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
3332 * sysdeps/s390/multiarch/ifunc-impl-list.c
3333 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
3334 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
3335 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
3336 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
3337 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
3338 * sysdeps/s390/multiarch/strspn.c: Move to ...
3339 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
3340 * sysdeps/s390/ifunc-strspn.h: New file.
3342 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3344 * sysdeps/s390/multiarch/Makefile
3345 (sysdep_routines): Remove strrchr variants.
3346 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
3347 * sysdeps/s390/multiarch/ifunc-impl-list.c
3348 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
3349 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
3350 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
3351 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
3352 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
3353 * sysdeps/s390/multiarch/strrchr.c: Move to ...
3354 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
3355 * sysdeps/s390/ifunc-strrchr.h: New file.
3357 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3359 * sysdeps/s390/multiarch/Makefile
3360 (sysdep_routines): Remove strchrnul variants.
3361 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
3362 * sysdeps/s390/multiarch/ifunc-impl-list.c
3363 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
3364 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
3365 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
3366 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
3367 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
3368 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
3369 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
3370 * sysdeps/s390/ifunc-strchrnul.h: New file.
3372 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3374 * sysdeps/s390/multiarch/Makefile
3375 (sysdep_routines): Remove strchr variants.
3376 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
3377 * sysdeps/s390/multiarch/ifunc-impl-list.c
3378 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
3379 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
3380 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
3381 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
3382 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
3383 * sysdeps/s390/multiarch/strchr.c: Move to ...
3384 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
3385 * sysdeps/s390/ifunc-strchr.h: New file.
3387 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3389 * sysdeps/s390/multiarch/Makefile
3390 (sysdep_routines): Remove strncmp variants.
3391 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
3392 * sysdeps/s390/multiarch/ifunc-impl-list.c
3393 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
3394 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
3395 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
3396 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
3397 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
3398 * sysdeps/s390/multiarch/strncmp.c: Move to ...
3399 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
3400 * sysdeps/s390/ifunc-strncmp.h: New file.
3402 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3404 * sysdeps/s390/multiarch/Makefile
3405 (sysdep_routines): Remove strcmp variants.
3406 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
3407 * sysdeps/s390/multiarch/ifunc-impl-list.c
3408 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
3409 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
3410 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
3411 * sysdeps/s390/multiarch/strcmp.c: Move to ...
3412 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
3413 * sysdeps/s390/ifunc-strcmp.h: New file.
3414 * sysdeps/s390/s390-64/strcmp.S: Move to ...
3415 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
3416 for 31/64bit and ifunc handling.
3417 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
3418 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3419 * sysdeps/s390/s390-32/strcmp.S: Likewise.
3421 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3423 * sysdeps/s390/multiarch/Makefile
3424 (sysdep_routines): Remove strncat variants.
3425 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
3426 * sysdeps/s390/multiarch/ifunc-impl-list.c
3427 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
3428 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
3429 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
3430 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
3431 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
3432 * sysdeps/s390/multiarch/strncat.c: Move to ...
3433 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
3434 * sysdeps/s390/ifunc-strncat.h: New file.
3436 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3438 * sysdeps/s390/multiarch/Makefile
3439 (sysdep_routines): Remove strcat variants.
3440 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
3441 * sysdeps/s390/multiarch/ifunc-impl-list.c
3442 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
3443 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
3444 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
3445 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
3446 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
3447 * sysdeps/s390/multiarch/strcat.c: Move to ...
3448 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
3449 * sysdeps/s390/ifunc-strcat.h: New file.
3451 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3453 * sysdeps/s390/multiarch/Makefile
3454 (sysdep_routines): Remove stpncpy variants.
3455 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
3456 * sysdeps/s390/multiarch/ifunc-impl-list.c
3457 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
3458 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
3459 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
3460 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
3461 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
3462 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
3463 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
3464 * sysdeps/s390/ifunc-stpncpy.h: New file.
3466 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3468 * sysdeps/s390/multiarch/Makefile
3469 (sysdep_routines): Remove strncpy variants.
3470 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
3471 * sysdeps/s390/multiarch/ifunc-impl-list.c
3472 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
3473 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
3474 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
3475 * sysdeps/s390/multiarch/strncpy.c: Move to ...
3476 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
3477 * sysdeps/s390/ifunc-strncpy.h: New file.
3478 * sysdeps/s390/s390-64/strncpy.S: Move to ...
3479 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
3480 and adjust ifunc handling.
3481 * sysdeps/s390/s390-32/strncpy.S: Move to ...
3482 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
3483 and adjust ifunc handling.
3484 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
3485 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3487 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3489 * sysdeps/s390/multiarch/Makefile
3490 (sysdep_routines): Remove stpcpy variants.
3491 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
3492 * sysdeps/s390/multiarch/ifunc-impl-list.c
3493 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
3494 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
3495 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
3496 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
3497 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
3498 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
3499 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
3500 * sysdeps/s390/ifunc-stpcpy.h: New file.
3502 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3504 * sysdeps/s390/multiarch/Makefile
3505 (sysdep_routines): Remove strcpy variants.
3506 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
3507 * sysdeps/s390/multiarch/ifunc-impl-list.c
3508 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
3509 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
3510 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
3511 * sysdeps/s390/multiarch/strcpy.c: Move to ...
3512 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
3513 * sysdeps/s390/ifunc-strcpy.h: New file.
3514 * sysdeps/s390/s390-64/strcpy.S: Move to ...
3515 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
3516 for 31/64bit and ifunc handling.
3517 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
3518 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3519 * sysdeps/s390/s390-32/strcpy.S: Likewise.
3521 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3523 * sysdeps/s390/multiarch/Makefile
3524 (sysdep_routines): Remove strnlen variants.
3525 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
3526 * sysdeps/s390/multiarch/ifunc-impl-list.c
3527 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
3528 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
3529 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
3530 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
3531 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
3532 * sysdeps/s390/multiarch/strnlen.c: Move to ...
3533 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
3534 * sysdeps/s390/ifunc-strnlen.h: New file.
3536 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3538 * sysdeps/s390/multiarch/Makefile
3539 (sysdep_routines): Remove strlen variants.
3540 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
3541 * sysdeps/s390/multiarch/ifunc-impl-list.c
3542 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
3543 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
3544 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
3545 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
3546 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
3547 * sysdeps/s390/multiarch/strlen.c: Move to ...
3548 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
3549 * sysdeps/s390/ifunc-strlen.h: New file.
3551 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3553 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
3554 * sysdeps/s390/multiarch/ifunc-impl-list.c
3555 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
3556 * sysdeps/s390/ifunc-memmem.h: New file.
3557 * sysdeps/s390/memmem.c: Likewise.
3558 * sysdeps/s390/memmem-c.c: Likewise.
3559 * sysdeps/s390/memmem-vx.c: Likewise.
3561 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3563 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
3564 * sysdeps/s390/multiarch/ifunc-impl-list.c
3565 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
3566 * sysdeps/s390/ifunc-strstr.h: New file.
3567 * sysdeps/s390/strstr.c: Likewise.
3568 * sysdeps/s390/strstr-c.c: Likewise.
3569 * sysdeps/s390/strstr-vx.c: Likewise.
3571 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3573 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
3574 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
3575 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
3576 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
3578 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
3579 * sysdeps/s390/memmove-c.c: New file.
3580 * sysdeps/s390/memmove.c: Likewise.
3581 * sysdeps/s390/multiarch/ifunc-impl-list.c
3582 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
3584 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3586 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
3587 * sysdeps/s390/configure.ac: Add check for z13 support.
3588 * sysdeps/s390/configure: Regenerated.
3590 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3592 * sysdeps/s390/memcopy.h: New file.
3594 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3596 * sysdeps/s390/s390-32/bcopy.S: Remove.
3597 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3599 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3601 * sysdeps/s390/ifunc-memcpy.h: New File.
3602 * sysdeps/s390/memcpy.S: Move to ...
3603 * sysdeps/s390/memcpy-z900.S ... here.
3604 Move implementations from memcpy-s390x.s to here.
3605 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
3606 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3607 Remove memcpy/mempcpy variants.
3608 * sysdeps/s390/Makefile (sysdep_routines):
3609 Add memcpy/mempcpy variants.
3610 * sysdeps/s390/multiarch/ifunc-impl-list.c
3611 (__libc_ifunc_impl_list): Adjust ifunc variants for
3613 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
3615 * sysdeps/s390/memcpy.c: ... here.
3616 Adjust ifunc variants for memcpy.
3617 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
3618 * sysdeps/s390/mempcpy.c: ... here.
3619 Adjust ifunc variants for mempcpy.
3620 * sysdeps/s390/mempcpy.S: Delete file.
3622 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3624 * sysdeps/s390/s390-64/memcpy.S: Move to ...
3625 * sysdeps/s390/memcpy.S: ... here.
3626 Adjust to be usable for 31/64bit.
3627 * sysdeps/s390/s390-32/memcpy.S: Delete File.
3628 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
3629 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
3630 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3631 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
3632 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
3633 Adjust to be usable for 31/64bit.
3634 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
3635 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
3636 * sysdeps/s390/multiarch/memcpy.c: ... here.
3637 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
3639 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3641 * sysdeps/s390/ifunc-memcmp.h: New File.
3642 * sysdeps/s390/memcmp.S: Move to ...
3643 * sysdeps/s390/memcmp-z900.S ... here.
3644 Move implementations from memcmp-s390x.s to here.
3645 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
3646 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3647 Remove memcmp variants.
3648 * sysdeps/s390/Makefile (sysdep_routines):
3649 Add memcmp variants.
3650 * sysdeps/s390/multiarch/ifunc-impl-list.c
3651 (__libc_ifunc_impl_list): Adjust ifunc variants for
3653 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
3655 * sysdeps/s390/memcmp.c: ... here.
3656 Adjust ifunc variants for memcmp.
3658 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3660 * sysdeps/s390/s390-64/memcmp.S: Move to ...
3661 * sysdeps/s390/memcmp.S: ... here.
3662 Adjust to be usable for 31/64bit.
3663 * sysdeps/s390/s390-32/memcmp.S: Delete File.
3664 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
3665 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3667 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3668 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
3669 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
3670 Adjust to be usable for 31/64bit.
3671 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
3672 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
3673 * sysdeps/s390/multiarch/memcmp.c: ... here.
3674 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
3676 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3678 * sysdeps/s390/s390-32/bzero.S: Delete file.
3679 * sysdeps/s390/s390-64/bzero.S: Likewise.
3680 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
3681 * sysdeps/s390/bzero.c: New file.
3682 * sysdeps/s390/memset-z900.S: Add bzero entry points.
3683 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
3684 * sysdeps/s390/multiarch/ifunc-impl-list.c
3685 (__libc_ifunc_impl_list): Add bzero ifunc variants.
3687 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3689 * sysdeps/s390/ifunc-memset.h: New File.
3690 * sysdeps/s390/memset.S: Move to ...
3691 * sysdeps/s390/memset-z900.S ... here.
3692 Move implementations from memset-s390x.s to here.
3693 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
3694 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3695 Remove memset variants.
3696 * sysdeps/s390/Makefile (sysdep_routines):
3697 Add memset variants.
3698 * sysdeps/s390/multiarch/ifunc-impl-list.c
3699 (__libc_ifunc_impl_list): Adjust ifunc variants for
3701 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
3703 * sysdeps/s390/memset.c: ... here.
3704 Adjust ifunc variants for memset.
3706 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3708 * sysdeps/s390/s390-64/memset.S: Move to ...
3709 * sysdeps/s390/memset.S: ... here.
3710 Adjust to be usable for 31/64bit.
3711 * sysdeps/s390/s390-32/memset.S: Delete File.
3712 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
3713 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3715 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3716 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
3717 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
3718 Adjust to be usable for 31/64bit.
3719 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
3720 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
3721 * sysdeps/s390/multiarch/memset.c: ... here.
3722 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
3724 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3726 * sysdeps/s390/multiarch/ifunc-resolve.h
3727 (s390_libc_ifunc_init, s390_libc_ifunc,
3728 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
3730 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3732 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
3733 * sysdeps/s390/configure.ac: Add check for z10 support.
3734 * sysdeps/s390/configure: Regenerated.
3736 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
3738 * sysdeps/i386/atomic-machine.h: Merged with ...
3739 * sysdeps/x86_64/atomic-machine.h: To ...
3740 * sysdeps/x86/atomic-machine.h: This. New file.
3742 2018-12-18 Florian Weimer <fweimer@redhat.com>
3744 Rewrite locale/gen-translit.pl in Python.
3745 * locale/Makefile (generated): Add C-translit.h.
3746 (before-compile): Add $(objpfx)C-translit.h.
3747 (C-translit.h): Move to $(objpfx). Create target directory.
3748 Build using Python script.
3749 * locale/gen-translit.py: New file.
3750 * locale/gen-translit.pl: Remove file.
3751 * locale/C-translit.h.in: Change comment character to '#' for
3752 easier parsing without a C preprocessor.
3753 * locale/C-translit.h: Remove generated file.
3754 * manual/install.texi (Tools for Compilation): Do not mention
3756 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3757 Remove locale/C-translit.h.
3758 * scripts/update-copyrights: Likewise.
3759 * INSTALL: Regenerate.
3761 2018-12-18 Florian Weimer <fweimer@redhat.com>
3764 * localedata/locales/bi_VU: Remove executable bit from file.
3766 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
3769 (__localtime64): Add.
3770 * manual/maint.texi: Document Y2038 symbol handling.
3772 (__localtime64): Add.
3773 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
3775 2018-12-17 Joseph Myers <joseph@codesourcery.com>
3777 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
3780 * scripts/glibcextract.py (compare_macro_consts): Take parameters
3781 to allow extra macros from first or second sources.
3782 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
3783 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3784 (tests-special): Add $(objpfx)tst-mman-consts.out.
3785 ($(objpfx)tst-mman-consts.out): New makefile target.
3787 2018-12-17 Mao Han <han_mao@c-sky.com>
3789 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
3790 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
3791 without stat64 system call support.
3792 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
3793 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
3794 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3795 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
3796 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
3797 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
3798 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
3799 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
3800 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
3801 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
3802 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
3804 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
3806 regex: fix storage-exhaustion error
3808 * posix/regexec.c (get_subexp):
3809 Do not continue if storage is exhausted.
3811 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
3813 regex: fix heap-use-after-free error
3815 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
3816 https://debbugs.gnu.org/32592
3817 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
3818 call extend_buffers which reallocates the re_string_t internal buffer.
3819 Local variable 'buf' was not updated in such case, resulting in
3821 * posix/regexec.c (get_subexp): Update 'buf' after call to
3824 2018-12-15 Florian Weimer <fweimer@redhat.com>
3826 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
3827 (minimum_stride_size): Use it.
3828 (support_blob_repeat_allocate): Likewise.
3830 2018-12-14 Joseph Myers <joseph@codesourcery.com>
3832 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
3837 2018-12-14 Florian Weimer <fweimer@redhat.com>
3839 * manual/process.texi (Process Creation Concepts): Remove
3840 documentation of process (ID) lifetime. List more process
3841 creation functions. Reference Process Identification section.
3842 (Process Identification): Add information about process ID
3843 lifetime. Describe Linux thread/task IDs.
3844 * manual/signal.texi (Signaling Another Process): Mention that the
3845 signal is always sent to the process.
3847 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3849 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
3850 and tst-ldbl-efgcvt.
3851 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
3852 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
3853 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
3854 (fcvt_tests, output_error, output_r_error, do_test): Use the
3855 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
3856 select the type of floating-point variables and arguments; to
3857 produce extra tests for double and conversion specifiers for
3858 printf; and to set the names of called functions.
3859 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
3860 in tst-efgcvt-template.c.
3861 * misc/tst-ldbl-efgcvt.c: Likewise.
3863 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
3865 * nss/Makefile (tst-nss-test3.out): New rule.
3867 2018-12-13 Joseph Myers <joseph@codesourcery.com>
3869 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
3872 2018-12-13 fanjinke <fanjinke@hygon.cn>
3874 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
3877 2018-12-13 Andreas Schwab <schwab@suse.de>
3880 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
3881 (__pthread_rwlock_rdlock_full): Update expected value for
3882 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
3883 * nptl/tst-rwlock-pwn.c: New file.
3884 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3886 2018-12-12 Joseph Myers <joseph@codesourcery.com>
3888 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
3891 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3893 * benchtests/scripts/compare_bench.py (do_compare): write to
3894 stderr in casestat is not present.
3895 * benchtests/scripts/compare_bench.py (plot_graphs): write to
3896 stderr in case timings field is not present. Also string showing
3897 the output filename goes into the stderr.
3899 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3901 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
3902 and ZeroDivisorError exceptions.
3903 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
3904 argument to loop through user provided statistics.
3905 * benchtests/scripts/compare_bench.py (main): Include the --stats
3908 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3910 * benchtests/scripts/compare_bench.py (compare_runs): Continue
3913 2018-12-12 Florian Weimer <fweimer@redhat.com>
3915 * sysdeps/posix/timespec_get.c: Add missing “any later version”
3916 clause to copyright header.
3918 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3921 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
3922 registers saved in the stack frame.
3923 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
3924 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
3926 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3928 * include/bits/monetary-ldbl.h: New file.
3929 * include/bits/printf-ldbl.h: Likewise.
3930 * include/bits/stdio-ldbl.h: Likewise.
3931 * include/bits/stdlib-ldbl.h: Likewise.
3932 * include/bits/syslog-ldbl.h: Likewise.
3933 * include/bits/wchar-ldbl.h: Likewise.
3935 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3937 * libio/libio.h: Remove redirection for _IO_vfprintf.
3939 2018-12-11 Andreas Schwab <schwab@suse.de>
3941 * Makerules: Remove all references to abilist-pattern.
3942 (update-all-abi): Simplify find expression.
3944 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3947 * math/auto-libm-test-in: Add new test case.
3948 * math/auto-libm-test-out-pow: Regenerated.
3949 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
3951 2018-12-10 DJ Delorie <dj@redhat.com>
3954 * support/test-container.c: Move postclean step to before we
3957 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3959 * scripts/gen-as-const.py (main): Handle --python option.
3960 * scripts/gen-py-const.awk: Remove.
3961 * Makerules (py-const-script): Use gen-as-const.py.
3962 ($(py-const)): Likewise.
3963 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
3964 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
3965 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
3966 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
3967 ~PTHREAD_MUTEX_NO_ELISION_NP.
3968 * manual/README.pretty-printers: Update reference to
3971 * scripts/glibcextract.py: New file.
3972 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
3973 or tempfile. Import glibcexctract.
3974 (compute_c_consts): Remove. Moved to glibcextract.py.
3975 (gen_test): Update reference to compute_c_consts.
3977 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
3978 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
3979 * sysdeps/unix/sysv/linux/Makefile
3980 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
3981 Redirect stderr as well as stdout.
3983 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
3986 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
3987 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
3988 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
3989 ALWAYS_USE_VSYSCALL.
3990 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
3991 ALWAYS_USE_VSYSCALL.
3992 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
3993 ALWAYS_USE_VSYSCALL.
3995 2018-12-10 Florian Weimer <fweimer@redhat.com>
3998 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
3999 offset instead of count for clarity. Fix typo in comment.
4000 (__old_getdents64): Keep track of previous offset. Use it to call
4002 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
4003 that d_off is never zero.
4005 2018-12-10 Andreas Schwab <schwab@suse.de>
4007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
4008 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
4009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
4010 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
4011 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
4013 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4015 * timezone/private.h: Update from tzcode 2018g.
4016 * timezone/tzfile.h: Likewise.
4017 * timezone/tzselect.ksh: Likewise.
4018 * timezone/zdump.c: Likewise.
4019 * timezone/zic.c: Likewise.
4021 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4024 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
4025 (do_test): Adjust buffer size and fix format.
4027 2018-12-07 DJ Delorie <dj@redhat.com>
4030 * malloc/tst-tcfree3.c: New.
4031 * malloc/Makefile: Add it.
4033 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4035 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
4037 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4039 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
4040 used as a mask for the mode argument of __vfscanf_internal and
4041 __vfwscanf_internal.
4042 * stdio-common/vfscanf-internal.c
4043 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
4044 (__strtof128_internal): Define to __wcstof128_internal.
4045 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
4046 __strtof128_internal or __wcstof128_internal when the format of
4047 long double is the same as _Float128.
4049 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
4051 * include/unistd.h (__confstr): Add prototype and hidden prototype.
4052 * posix/confstr.c (confstr): Rename to __confstr.
4053 (__confstr): Add hidden def.
4054 (confstr): Add weak alias for __confstr.
4055 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
4058 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4060 * NEWS: Mention getcpu.
4061 * include/sched.h (__getcpu): New libc_hidden_proto.
4062 * manual/resource.texi: Document getcpu.
4063 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
4064 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
4065 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
4066 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4067 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4068 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4069 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4070 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4071 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4072 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4073 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4074 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4075 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4077 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4078 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4079 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4088 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4089 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4090 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4091 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4092 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4093 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4094 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4095 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4096 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
4097 * sysdeps/unix/sysv/linux/getcpu.c: New file.
4098 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
4101 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4103 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
4105 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
4107 2018-12-07 Florian Weimer <fweimer@redhat.com>
4110 * posix/Makefile (routines): Add spawn_faction_addfchdir.
4111 * posix/Versions (GLIBC_2.29): Export
4112 posix_spawn_file_actions_addfchdir_np.
4113 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
4114 * posix/spawn_faction_destroy.c
4115 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
4116 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
4117 and the field action.fchdir_action.
4118 * posix/tst-spawn-chdir.c (add_chdir): New function.
4119 (do_test): Add do_fchdir loop. Call add_chdir.
4120 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
4121 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4122 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4123 posix_spawn_file_actions_addfchdir_np.
4124 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4126 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4128 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4129 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4131 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4133 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4135 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4137 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4139 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4141 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4142 (GLIBC_2.29): Likewise.
4143 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4144 (GLIBC_2.29): Likewise.
4145 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4146 (GLIBC_2.29): Likewise.
4147 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4148 (GLIBC_2.29): Likewise.
4149 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4152 (GLIBC_2.29): Likewise.
4153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4154 (GLIBC_2.29): Likewise.
4155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4156 (GLIBC_2.29): Likewise.
4157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4158 (GLIBC_2.29): Likewise.
4159 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4161 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4163 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4165 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4166 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4168 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4170 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4172 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4175 2018-12-06 Joseph Myers <joseph@codesourcery.com>
4177 * manual/texinfo.tex: Update to version 2018-09-21.20 with
4178 trailing whitespace removed.
4179 * scripts/config.guess: Update to version 2018-11-28.
4180 * scripts/config.sub: Update to version 2018-11-28.
4181 * scripts/install-sh: Update to version 2018-03-11.20.
4182 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
4183 * scripts/move-if-change: Update to version 2018-03-07 03:47.
4185 2018-12-07 Florian Weimer <fweimer@redhat.com>
4189 * inet/tst-if_index-long.c: New file.
4190 * inet/Makefile (tests): Add tst-if_index-long.
4192 2018-12-07 Florian Weimer <fweimer@redhat.com>
4194 * support/check.h (support_record_failure_is_failed): Declare.
4195 * support/descriptors.h: New file.
4196 * support/support_descriptors.c: Likewise.
4197 * support/tst-support_descriptors.c: Likewise.
4198 * support/support_record_failure.c
4199 (support_record_failure_is_failed): New function.
4200 * support/Makefile (libsupport-routines): Add support_descriptors.
4201 (tests): Add tst-support_descriptors.
4203 2018-12-05 Zack Weinberg <zackw@panix.com>
4204 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4206 * stdio-common/vfprintf-internal.c
4207 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
4208 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
4209 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
4210 and __no_long_double.
4211 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
4212 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
4213 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
4214 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
4215 and __nldbl_*syslog* functions.
4216 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
4217 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
4218 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
4219 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
4220 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
4221 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
4222 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
4223 (__nldbl_vwprintf, __nldbl_wprintf):
4224 Directly call the appropriate __v*printf_internal routine, passing
4225 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
4227 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
4228 (__nldbl___printf_chk, __nldbl___snprintf_chk)
4229 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
4230 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
4231 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
4232 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4233 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
4234 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
4235 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
4236 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
4237 Likewise, and also pass PRINTF_FORTIFY when appropriate.
4238 (__nldbl_syslog, __nldbl_vsyslog):
4239 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
4240 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4242 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4245 2018-12-05 Zack Weinberg <zackw@panix.com>
4246 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4249 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
4250 Moved here from debug/vsprintf_chk.c.
4251 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
4252 and completion logic for the strfile to match exactly what
4253 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
4254 _IO_str_init_static_internal instead of maxlen-1.
4255 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4256 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
4257 __vsprintf_internal.
4259 * debug/vsprintf_chk.c (__vsprintf_chk)
4260 * debug/sprintf_chk.c (__sprintf_chk):
4261 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
4262 'flags' argument is positive, and slen as maxlen. No need to lock
4263 the FILE and/or construct a temporary FILE. Minimize and normalize
4264 header inclusions and variable names. Do not libc_hidden_def anything.
4266 * debug/asprintf_chk.c (__asprintf_chk)
4267 * debug/dprintf_chk.c (__dprintf_chk)
4268 * debug/fprintf_chk.c (__fprintf_chk)
4269 * debug/fwprintf_chk.c (__fwprintf_chk)
4270 * debug/printf_chk.c (__printf_chk)
4271 * debug/snprintf_chk.c (__snprintf_chk)
4272 * debug/swprintf_chk.c (__swprintf_chk)
4273 * debug/vasprintf_chk.c (__vasprintf_chk)
4274 * debug/vdprintf_chk.c (__vdprintf_chk)
4275 * debug/vfprintf_chk.c (__vfprintf_chk)
4276 * debug/vfwprintf_chk.c (__vfwprintf_chk)
4277 * debug/vprintf_chk.c (__vprintf_chk)
4278 * debug/vsnprintf_chk.c (__vsnprintf_chk)
4279 * debug/vswprintf_chk.c (__vswprintf_chk)
4280 * debug/vwprintf_chk.c (__vwprintf_chk)
4281 * debug/wprintf_chk.c (__wprintf_chk):
4282 Directly call the corresponding vxxprintf_internal function, passing
4283 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
4284 the FILE and/or construct a temporary FILE. Minimize and normalize
4285 header inclusions and variable names. Do not libc_hidden_def anything.
4287 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
4288 __obstack_vprintf_internal.
4289 (__obstack_vprintf_chk): Convert into a wrapper that calls
4290 __obstack_vprintf_internal (these two functions already had the
4291 same code) and move to new file...
4292 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
4294 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
4295 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
4296 * debug/Makefile (routines): Add vobprintf_chk.
4298 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4299 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4300 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
4301 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4302 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
4303 (__nldbl___obstack_vfprintf_chk):
4304 Directly call the corresponding vxxprintf_internal function,
4305 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
4306 duplicate comparison of slen with 0 or maxlen from the corresponding
4307 non-__nldbl function.
4309 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
4310 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
4311 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
4312 Remove libc_hidden_proto.
4314 * stdio-common/vfprintf-internal.c
4315 (__vfprintf_internal, __vfwprintf_internal):
4316 Do not check _IO_FLAGS2_FORTIFY.
4317 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
4318 * libio/libioP.h: Update prototype of __vsprintf_internal and add
4319 a comment explaining why it has the maxlen argument.
4320 (_IO_acquire_lock_clear_flags2_fct): Remove.
4321 (_IO_acquire_lock_clear_flags2): Remove.
4322 (_IO_release_lock): Remove conditional statement which will
4324 (_IO_acquire_lock): Remove variable which is now unused.
4325 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4326 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4328 * stdio-common/Makefile (tests): Add tst-bz11319 and
4329 tst-bz11319-fortify2.
4330 (CFLAGS-tst-bz11319-fortify2.c): New macro.
4331 * stdio-common/tst-bz11319-fortify2.c: New file.
4332 * stdio-common/tst-bz11319.c: Likewise.
4334 2018-12-05 Zack Weinberg <zackw@panix.com>
4335 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4337 * misc/syslog.c: Include libioP.h, not iolibio.h.
4338 (__vsyslog_internal): New function with the former body of
4339 __vsyslog_chk; takes mode_flags argument same as
4340 __v*printf_internal. Call __vfprintf_internal directly.
4342 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
4343 Remove libc_hidden_def.
4344 (__syslog, __syslog_chk): Use __vsyslog_internal.
4345 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
4347 * include/sys/syslog.h: Add multiple inclusion guard.
4348 Add prototype for __vsyslog_internal.
4349 Remove declaration and libc_hidden_proto for __vsyslog_chk.
4351 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
4352 Use __vsyslog_internal.
4354 2018-12-05 Zack Weinberg <zackw@panix.com>
4355 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4357 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
4358 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
4359 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
4361 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
4362 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
4364 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
4365 Include wctype.h here if COMPILE_WPRINTF is defined.
4366 Define __vfprintf_internal or __vfwprintf_internal, depending
4368 Temporarily, on entry to this function, update mode_flags
4369 according to the environmental settings corresponding to
4370 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
4371 Throughout, check mode_flags instead of __ldbl_is_dbl and
4372 _IO_FLAGS2_FORTIFY on the destination FILE.
4373 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
4374 Include vfprintf-internal.c. Don't include wctype.h.
4375 * stdio-common/vfprintf.c: New file. Just define __vfprintf
4376 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
4378 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
4379 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
4381 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
4383 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
4384 and add mode_flags argument; use __vfprintf_internal.
4385 (__vdprintf): New function. Alias vdprintf to this.
4386 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
4387 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
4388 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
4389 (__obstack_printf): Use __obstack_printf_internal.
4390 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
4391 public aliases __vsnprintf and vsnprintf.
4392 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
4394 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
4395 public aliases _IO_vsprintf and vsprintf.
4396 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
4397 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
4398 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
4399 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
4400 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
4402 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
4403 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
4404 * stdio-common/fprintf.c, stdio-common/fxprintf.c
4405 * stdio-common/printf.c: Use __vfprintf_internal.
4407 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
4408 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
4409 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
4411 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
4412 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
4413 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
4414 __vfwprintf_internal.
4416 * libio/libio.h: Remove libc_hidden_proto and declaration for
4418 Remove declaration of _IO_vfwprintf.
4419 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
4421 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
4423 * include/stdio.h: Add prototype for __vasprintf.
4424 (__vsnprintf): Remove declaration, because there are no more
4426 * include/wchar.h (__vfwprintf, __vswprintf): Remove
4427 declaration, because there are no more internal calls.
4429 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
4430 __vsnprintf_internal, instead of _IO_vsnprintf.
4431 * argp/argp-help.c (__argp_error, __argp_failure): Use
4432 __vasprintf_internal, instead of _IO_vasprintf.
4433 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
4434 redefine, because there are no more internal calls.
4436 2018-12-05 Zack Weinberg <zackw@panix.com>
4437 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4439 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
4440 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
4441 Include libio/strfile.h instead of libioP.h.
4442 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
4443 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
4444 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
4445 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
4446 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
4447 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
4448 necessary. Do not set __no_long_double. Normalize variable names.
4449 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
4450 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
4451 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
4452 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
4453 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
4454 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
4455 Call __vfscanf_internal / __vfwscanf_internal directly, passing
4456 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
4457 Do not set __no_long_double. Normalize variable names.
4459 2018-12-05 Zack Weinberg <zackw@panix.com>
4460 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4462 * stdio-common/isoc99_scanf.c
4463 * stdio-common/isoc99_fscanf.c
4464 * stdio-common/isoc99_sscanf.c
4465 * stdio-common/isoc99_vscanf.c
4466 * stdio-common/isoc99_vfscanf.c
4467 * stdio-common/isoc99_vsscanf.c
4468 * wcsmbs/isoc99_wscanf.c
4469 * wcsmbs/isoc99_fwscanf.c
4470 * wcsmbs/isoc99_swscanf.c
4471 * wcsmbs/isoc99_vwscanf.c
4472 * wcsmbs/isoc99_vfwscanf.c
4473 * wcsmbs/isoc99_vswscanf.c:
4474 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
4475 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
4476 No need to lock and unlock the FILE passed to that function.
4478 * stdio-common/vfscanf-internal.c
4479 (__vfscanf_internal, __vfwscanf_internal):
4480 Don't look at _IO_FLAGS2_SCANF_STD.
4481 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
4482 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
4483 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
4485 2018-12-05 Zack Weinberg <zackw@panix.com>
4486 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4488 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
4489 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
4490 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
4491 * libio/strfile.h: Add multiple inclusion guard.
4492 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
4494 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
4495 consistency with the other version of this file.
4496 (ldbl_compat_symbol): New macro.
4497 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
4500 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
4501 Define __vfscanf_internal or __vfwscanf_internal, depending on
4502 COMPILE_WSCANF; don't define any other public symbols.
4503 Remove errval and code to set errp.
4504 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
4505 as the mode_flags argument.
4506 (encode_error, conv_error, input_error): Don't set errval.
4507 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
4508 Include vfscanf-internal.c.
4509 * stdio-common/vfscanf.c: New file defining the public entry
4510 point vfscanf, which calls __vfscanf_internal.
4511 * stdio-common/vfwscanf.c: New file defining the public entry
4512 point vfwscanf, which calls __vfwscanf_internal.
4514 * stdio-common/iovfscanf.c: New file.
4515 * stdio-common/iovfwscanf.c: Likewise.
4517 * stdio-common/Makefile (routines): Add vfscanf-internal,
4518 vfwscanf-internal, iovfscanf, iovfwscanf.
4519 * stdio-common/Versions: Mention GLIBC_2.29, so that
4520 it can be used in SHLIB_COMPAT expressions.
4521 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
4522 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
4523 Call __vfscanf_internal, instead of _IO_vfscanf.
4524 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
4526 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
4529 * libio/iovsscanf.c: Clean up includes, when possible. Use
4530 _IO_strfile_read or _IO_strfile_readw, when needed. Call
4531 __vfscanf_internal or __vfwscanf_internal directly.
4532 * libio/iovswscanf.c: Likewise.
4533 * libio/swscanf.c: Likewise.
4534 * libio/vscanf.c: Likewise.
4535 * libio/vwscanf.c: Likewise.
4536 * libio/wscanf.c: Likewise.
4537 * stdio-common/isoc99_fscanf.c: Likewise.
4538 * stdio-common/isoc99_scanf.c: Likewise.
4539 * stdio-common/isoc99_sscanf.c: Likewise.
4540 * stdio-common/isoc99_vfscanf.c: Likewise.
4541 * stdio-common/isoc99_vscanf.c: Likewise.
4542 * stdio-common/isoc99_vsscanf.c: Likewise.
4543 * stdio-common/scanf.c: Likewise.
4544 * stdio-common/sscanf.c: Likewise.
4545 * wcsmbs/isoc99_fwscanf.c: Likewise.
4546 * wcsmbs/isoc99_swscanf.c: Likewise.
4547 * wcsmbs/isoc99_vfwscanf.c: Likewise.
4548 * wcsmbs/isoc99_vswscanf.c: Likewise.
4549 * wcsmbs/isoc99_vwscanf.c: Likewise.
4550 * wcsmbs/isoc99_wscanf.c: Likewise.
4552 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
4555 (__tz_compute): Replace time_t with __time64_t.
4556 (__tz_convert): Replace time_t* with __time64_t.
4557 (__offtime): Replace time_t* with __time64_t.
4559 (__gmtime_r): Adjust call to __tz_convert.
4562 (__localtime_r): Likewise.
4563 (localtime): Likewise.
4564 * time/offtime.c: Replace time_t with __time64_t.
4565 * time/tzset.c: Likewise.
4567 2018-12-04 Joseph Myers <joseph@codesourcery.com>
4569 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
4570 dynamic linker unless [$(run-built-tests) = yes].
4572 2018-12-03 DJ Delorie <dj@delorie.com>
4574 * support/test-container.c (check_for_unshare_hints): New.
4575 (main): Call it if unshare fails. Add support for "su" scriptlet
4578 2018-12-03 Joseph Myers <joseph@codesourcery.com>
4580 * scripts/gen-as-const.py (compute_c_consts): Take an argument
4581 'START' to indicate that start text should be output.
4582 (gen_test): Likewise.
4583 (main): Generate 'START' for first symbol or '--' line, or at end
4584 of input if not previously generated.
4586 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
4589 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
4590 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
4591 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
4592 ALWAYS_USE_VSYSCALL.
4594 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4597 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
4600 2018-12-03 Carlos O'Donell <carlos@redhat.com>
4603 * locale/programs/localedef.c: Declare boolean hard_links default true.
4604 (options): Add --no-hard-links option.
4605 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
4606 * locale/programs/localedef.h: Declare prototype for hard_links.
4607 * locale/programs/locfile.c (write_locale_data): Don't use hard
4608 links if hard_links is false.
4610 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
4612 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
4614 (__cache_sysconf): Likewise.
4615 (init_cacheinfo): Likewise.
4616 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
4617 populate COMMON_CPUID_INDEX_80000007 and
4618 COMMON_CPUID_INDEX_80000008.
4619 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
4620 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
4621 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
4622 (init_cpu_features): Use _Static_assert on
4623 index_arch_Fast_Unaligned_Load.
4624 __get_cpuid_registers and __get_arch_feature. Updated for
4625 cpu_features_basic. Set stepping in cpu_features.
4626 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
4627 (FEATURE_INDEX_2): New.
4628 (FEATURE_INDEX_MAX): Changed to enum.
4629 (COMMON_CPUID_INDEX_D_ECX_1): New.
4630 (COMMON_CPUID_INDEX_80000007): Likewise.
4631 (COMMON_CPUID_INDEX_80000008): Likewise.
4632 (cpuid_registers): Likewise.
4633 (cpu_features_basic): Likewise.
4634 (CPU_FEATURE_USABLE): Likewise.
4635 (bit_arch_XXX_Usable): Likewise.
4636 (cpu_features): Use cpuid_registers and cpu_features_basic.
4637 (bit_arch_XXX): Reweritten.
4638 (bit_cpu_XXX): Likewise.
4639 (index_cpu_XXX): Likewise.
4640 (reg_XXX): Likewise.
4641 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
4643 (CHECK_CPU_FEATURE): New.
4644 (CHECK_CPU_FEATURE_USABLE): Likewise.
4645 (cpu_kinds): Likewise.
4646 (do_test): Print vendor, family, model and stepping. Check
4647 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
4648 (TEST_FUNCTION): Removed.
4649 Include <support/test-driver.c> instead of
4650 "../../test-skeleton.c".
4651 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
4652 Check POPCNT instead of POPCOUNT.
4653 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
4655 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4657 * scripts/gen-as-const.py (main): Avoid emitting empty line when
4658 there is no element in `consts'.
4660 2018-12-01 Florian Weimer <fweimer@redhat.com>
4662 * support/support_capture_subprocess.c
4663 (support_capture_subprocess): Check that pipe descriptors have
4664 expected values. Close original pipe descriptors in subprocess.
4666 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4669 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
4670 attr with __pthread_default_barrierattr.
4671 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
4672 attr with __pthread_default_condattr.
4673 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
4674 attr with __pthread_default_mutexattr.
4675 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
4676 attr with __pthread_default_rwlockattr.
4678 2018-12-01 Kemi Wang <kemi.wang@intel.com>
4680 * manual/tunables.texi (POSIX Thread Tunables): New node.
4681 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
4682 * nptl/nptl-init.c: Include pthread_mutex_conf.h
4683 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
4684 __pthread_tunables_init.
4685 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
4686 (max_adaptive_count): Define.
4687 * nptl/pthread_mutex_conf.c: New file.
4688 * nptl/pthread_mutex_conf.h: New file.
4689 * sysdeps/generic/adaptive_spin_count.h: New file.
4690 * sysdeps/nptl/dl-tunables.list: New file.
4691 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4692 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
4693 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
4696 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4699 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
4700 * stdlib/on_exit.c (__on_exit): Likewise.
4701 * stdlib/Makefile (tests): Add tst-bz20544.
4702 * stdlib/tst-bz20544.c: New test.
4704 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
4707 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
4708 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
4711 2018-11-30 Florian Weimer <fweimer@redhat.com>
4713 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
4714 Extend error logging.
4715 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
4718 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4720 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
4721 __sigismember instead of sigismember.
4722 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
4723 cancel_handler): New definitions.
4724 (do_system): Use posix_spawn instead of fork and execl and remove
4726 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
4727 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
4728 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
4729 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4730 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4731 * sysdeps/unix/sysv/linux/system.c: Likewise.
4735 * NEWS: Add new semantic for atfork with popen and system.
4736 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
4739 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4742 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
4743 modification order when accessing reloc_result->addr.
4744 * include/link.h (reloc_result): Add field init.
4745 * nptl/Makefile (tests): Add tst-audit-threads.
4746 (modules-names): Add tst-audit-threads-mod1 and
4747 tst-audit-threads-mod2.
4748 Add rules to build tst-audit-threads.
4749 * nptl/tst-audit-threads-mod1.c: New file.
4750 * nptl/tst-audit-threads-mod2.c: Likewise.
4751 * nptl/tst-audit-threads.c: Likewise.
4752 * nptl/tst-audit-threads.h: Likewise.
4754 2018-11-30 Joseph Myers <joseph@codesourcery.com>
4756 * scripts/gen-as-const.py: New file.
4757 * scripts/gen-as-const.awk: Remove.
4758 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
4760 ($(objpfx)test-as-const-%.c): Likewise.
4762 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4764 * elf/dl-exception.c: Include <_itoa.h>.
4766 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
4768 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
4769 returned by __f_setlk.
4771 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4772 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4774 * elf/Makefile (tests-internal): Add tst-create_format1.
4775 * elf/dl-exception.c (_dl_exception_create_format): Support
4777 * elf/tst-create_format1.c: New file.
4779 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
4781 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
4782 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
4784 * argp/argp-help.c (__argp_failure): Likewise.
4786 2018-11-29 Mao Han <han_mao@c-sky.com>
4788 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
4789 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
4790 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
4791 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
4792 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
4793 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
4794 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
4795 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
4796 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
4797 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
4798 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
4799 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
4800 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
4801 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
4802 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
4803 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
4804 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
4805 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
4806 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
4807 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
4808 (R_CKCORE_TLS_TPOFF32): New defines.
4810 2018-11-29 Florian Weimer <fweimer@redhat.com>
4812 * posix/Makefile (before-compile): Remove testcases.h and
4814 (generated): Add testcases.h and ptestcases.h.
4815 (testcases.h, ptestcases.h): Move to $(objpfx).
4816 (runtests.o): Add dependency on testcases.h.
4817 (runptests.o): Add dependency on ptestcases.h.
4818 * posix/testcases.h, posix/ptestcases.h: Remove files.
4819 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
4820 not touch posix/testcases.h and posix/ptestcases.h.
4822 2018-11-28 Florian Weimer <fweimer@redhat.com>
4824 support: Add signal support to support_capture_subprocess_check.
4825 * support/capture_subprocess.h (support_capture_subprocess_check):
4826 Adjust comment and rename parameter.
4827 * support/support_capture_subprocess_check.c
4828 (print_actual_status): New function.
4829 (support_capture_subprocess_check): Support negative
4830 status_or_signal. Call print_actual_status.
4831 * support/tst-support_capture_subprocess.c (do_test): Call
4832 support_capture_subprocess_check.
4833 * libio/tst-vtables-common.c (termination_status)
4834 (init_termination_status): Remove.
4835 (check_for_termination): Adjust support_capture_subprocess_check
4837 (do_test): Remove call to init_termination_status.
4839 2018-11-28 Joseph Myers <joseph@codesourcery.com>
4841 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
4842 source directory instead of a copy.
4843 (CommandList.create_copy_dir): Remove.
4845 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
4847 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4849 2018-11-28 Florian Weimer <fweimer@redhat.com>
4851 * support/support.h (support_quote_string): Do not use str
4854 2018-11-27 Joseph Myers <joseph@codesourcery.com>
4856 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
4857 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
4859 2018-11-27 Florian Weimer <fweimer@redhat.com>
4861 * support/support.h (support_quote_string): Declare.
4862 * support/support_quote_string.c: New file.
4863 * support/tst-support_quote_string.c: Likewise.
4864 * support/Makefile (libsupport-routines): Add
4865 support_quote_string.
4866 (tests): Add tst-support_quote_string.
4868 2018-11-27 Florian Weimer <fweimer@redhat.com>
4872 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
4873 descriptor leak in case of ENODEV error.
4875 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
4878 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
4879 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
4880 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
4882 2018-11-26 Carlos O'Donell <carlos@redhat.com>
4884 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
4885 Error for unknown lines.
4887 2018-11-26 Joseph Myers <joseph@codesourcery.com>
4889 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4890 Touch additional files.
4892 2018-11-26 Florian Weimer <fweimer@redhat.com>
4895 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
4898 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
4901 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
4902 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
4903 SHARED. Include sysdep.h.
4904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
4905 ALWAYS_USE_VSYSCALL.
4906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
4907 ALWAYS_USE_VSYSCALL.
4909 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
4912 * nptl/Makefile (tests-static): Add tst-cond11-static.
4914 * nptl/tst-cond11-static.c: New File.
4915 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
4916 tst-affinity-static.
4918 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
4920 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
4921 (USE_VSYSCALL): Likewise.
4922 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
4923 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
4925 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
4927 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
4930 2018-11-23 Joseph Myers <joseph@codesourcery.com>
4933 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4934 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
4937 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
4939 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
4940 (tst-cet-legacy-1a-ARGS): New.
4941 ($(objpfx)tst-cet-legacy-1a): New target.
4942 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
4944 2018-11-22 Joseph Myers <joseph@codesourcery.com>
4946 * conform/conformtest.py (CompileSubTest.__init__): Set
4947 self.run_early to False.
4948 (ExecuteSubTest.__init__): Likewise.
4949 (HeaderTests.run): Try running all non-optional, non-XFAILed
4950 compilation tests in a single execution of the compiler.
4952 * conform/conformtest.py (CompileSubTest): New class.
4953 (ExecuteSubTest): Likewise.
4954 (ElementTest.run): Rename to gen_subtests. Append tests to
4955 self.subtests instead of running them.
4956 (ConstantTest.run): Likewise.
4957 (SymbolTest.run): Likewise.
4958 (TypeTest.run): Likewise.
4959 (TagTest.run): Likewise.
4960 (FunctionTest.run): Likewise.
4961 (VariableTest.run): Likewise.
4962 (MacroFunctionTest.run): Likewise.
4963 (MacroStrTest.run): Likewise.
4964 (HeaderTests.handle_test_line): Generate subtests for tests.
4965 (HeaderTests.run): Run subtests for tests.
4967 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4969 * math/Versions (GLIBC_2.29): Add pow.
4970 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
4972 * math/w_pow.c: New file.
4973 * sysdeps/i386/fpu/w_pow.c: New file.
4974 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
4975 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
4976 and add necessary aliases.
4977 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
4978 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
4979 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4980 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4981 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4982 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4983 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4984 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4985 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4986 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4987 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4988 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4989 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4990 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4991 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4996 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4997 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4998 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4999 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5000 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5001 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5002 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5003 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
5005 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
5006 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
5007 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
5009 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5011 * math/Versions (GLIBC_2.29): Add log2.
5012 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
5014 * math/w_log2.c: New file.
5015 * sysdeps/i386/fpu/w_log2.c: New file.
5016 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
5017 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
5018 and add necessary aliases.
5019 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
5020 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
5021 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5022 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5023 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5024 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5025 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5026 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5027 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5028 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5029 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5030 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5031 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5032 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5033 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5038 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5039 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5040 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5041 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5042 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5043 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5044 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5046 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5048 * math/Versions (GLIBC_2.29): Add log.
5049 * math/w_log_compat.c (__log_compat): Change to versioned compat
5051 * math/w_log.c: New file.
5052 * sysdeps/i386/fpu/w_log.c: New file.
5053 * sysdeps/ia64/fpu/e_log.S: Update.
5054 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
5055 and add necessary aliases.
5056 * sysdeps/ieee754/dbl-64/w_log.c: New file.
5057 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
5058 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5059 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5060 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5061 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5062 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5063 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5064 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5065 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5066 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5067 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5068 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5069 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5070 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5075 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5076 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5077 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5078 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5079 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5080 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5081 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5082 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
5084 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
5085 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
5086 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
5087 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
5089 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5091 * math/Versions (GLIBC_2.29): Add exp and exp2.
5092 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
5093 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
5094 * math/w_exp_compat.c (__exp_compat): Likewise.
5095 * math/w_exp.c: New file.
5096 * math/w_exp2.c: New file.
5097 * sysdeps/i386/fpu/w_exp.c: New file.
5098 * sysdeps/i386/fpu/w_exp2.c: New file.
5099 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
5100 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
5101 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
5102 and add necessary aliases.
5103 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
5104 and add necessary aliases.
5105 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
5106 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
5107 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
5108 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
5109 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5110 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5111 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5112 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5113 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5114 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5115 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5116 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5117 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5118 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5119 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5120 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5121 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5126 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5127 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5128 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5129 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5130 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5131 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5132 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5133 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
5134 (__ieee754_exp): Rename to __exp.
5135 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
5136 (__ieee754_exp): Rename to __exp.
5137 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
5138 (__ieee754_exp): Rename to __exp.
5139 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
5141 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
5143 2018-11-20 DJ Delorie <dj@redhat.com>
5145 * malloc/malloc.c (tcache_entry): Add key field.
5146 (tcache_put): Set it.
5147 (tcache_get): Likewise.
5148 (_int_free): Check for double free in tcache.
5149 * malloc/tst-tcfree1.c: New.
5150 * malloc/tst-tcfree2.c: New.
5151 * malloc/Makefile: Run the new tests.
5152 * manual/probes.texi: Document memory_tcache_double_free probe.
5154 * dlfcn/dlerror.c (check_free): Prevent double frees.
5156 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
5158 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
5160 2018-11-20 Joseph Myers <joseph@codesourcery.com>
5162 * conform/conformtest.py (ElementTest.run): Use unique identifiers
5163 in tests. Use names for format arguments.
5164 (ConstantTest.run): Likewise.
5165 (SymbolTest.run): Likewise.
5166 (TypeTest.run): Likewise.
5167 (TagTest.run): Likewise.
5168 (FunctionTest.run): Likewise.
5169 (VariableTest.run): Likewise.
5170 (MacroFunctionTest.run): Likewise.
5171 (MacroStrTest.run): Likewise.
5172 (HeaderTests.__init__): Set self.num_tests.
5173 (HeaderTests.handle_test_line): Set test.num. Increment
5176 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5178 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
5179 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
5182 2018-11-19 Mao Han <han_mao@c-sky.com>
5184 * scripts/config.guess: Update to version 2018-08-29.
5185 * scripts/config.sub: Update to version 2018-08-29.
5187 2018-11-19 Florian Weimer <fweimer@redhat.com>
5189 support: Print timestamps in timeout handler.
5190 * support/support_test_main.c (print_timestamp): New function.
5191 (signal_handler): Use it to print the termination time and the
5192 time of the last write to standard output.
5194 2018-11-16 Zack Weinberg <zackw@panix.com>
5195 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5197 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
5198 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
5200 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
5201 and add flags argument. Check flags instead of __ldbl_is_dbl when
5202 deciding whether to set is_long_double.
5203 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
5204 passing zero for flags argument.
5205 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
5207 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5208 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
5209 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
5210 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
5211 variable names. Remove libc_hidden_def/libc_hidden_proto from
5212 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
5213 longer called from within the library.
5214 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
5215 for __nldbl___vstrfmon_l, declare it explicitly.
5217 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
5219 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
5221 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
5223 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
5224 F_SETLK64, F_SETLKW64, respectively.
5225 * sysdeps/mach/hurd/f_setlk.c: New file.
5226 * sysdeps/mach/hurd/f_setlk.h: New file.
5227 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
5229 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
5230 (__libc_fcntl): Move non-flock operations to...
5231 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
5232 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
5234 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
5236 mktime: DEBUG_MKTIME cleanup
5237 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
5238 And it’s no longer needed now that glibc and Gnulib both have
5239 their own testing mechanisms for mktime.
5240 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
5242 mktime: fix non-EOVERFLOW errno handling
5244 mktime was not properly reporting failures when the underlying
5245 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
5246 them like EOVERFLOW failures, and set errno to EOVERFLOW.
5247 The problem could happen on non-glibc platforms, with Gnulib.
5248 * time/mktime.c (guess_time_tm): Remove, replacing with ...
5249 (tm_diff): ... this simpler function, which does not change errno.
5250 All callers changed to deal with errno themselves.
5251 (ranged_convert, __mktime_internal): Return failure immediately if
5252 the underlying function reports any failure other than EOVERFLOW.
5253 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
5256 mktime: fix bug with Y2038 DST transition
5258 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
5259 mishandle a DST transition that jumps over the Y2038 boundary.
5260 No such DST transitions are known so this is only a theoretical
5261 bug, but we might as well do things right.
5263 mktime: make more room for overflow
5265 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
5266 This is so that we can add tm_diff results to a previous guess,
5267 which will be useful in a later patch.
5269 mktime: simplify offset guess
5271 * time/mktime.c (__mktime_internal): Omit excess precision.
5273 mktime: new test for mktime failure
5275 Based on a test suggested by Albert Aribaud in:
5276 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
5277 * time/Makefile (tests): Add bug-mktime4.
5278 * time/bug-mktime4.c: New file.
5280 mktime: fix EOVERFLOW bug
5282 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
5283 Include libc-config.h, not config.h, for __set_errno.
5284 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
5286 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
5288 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
5289 __attribute_copy__ to copy attributes from name. Drop static qualifier
5290 to avoid warnings about leaf attribute not having effect on static
5293 2018-11-13 Florian Weimer <fweimer@redhat.com>
5295 * malloc/malloc.c (fastbin_push_entry): New function.
5296 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
5297 (REMOVE_FB): Remove macro.
5298 (_int_malloc): Use fastbin_pop_entry and reindent.
5299 (_int_free): Use fastbin_push_entry.
5300 (malloc_consolidate): Use atomic_exchange_acquire.
5302 2018-11-13 Joseph Myers <joseph@codesourcery.com>
5304 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
5305 alias attribute, not with strong_alias.
5307 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
5308 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
5309 with additional parameter thread.
5310 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
5311 in terms of __hidden_ver2.
5312 (hidden_tls_def): New macro.
5313 (libc_hidden_tls_def): Likewise.
5314 (rtld_hidden_tls_def): Likewise.
5315 (libm_hidden_tls_def): Likewise.
5316 (libmvec_hidden_tls_def): Likewise.
5317 (libresolv_hidden_tls_def): Likewise.
5318 (librt_hidden_tls_def): Likewise.
5319 (libdl_hidden_tls_def): Likewise.
5320 (libnss_files_hidden_tls_def): Likewise.
5321 (libnsl_hidden_tls_def): Likewise.
5322 (libnss_nisplus_hidden_tls_def): Likewise.
5323 (libutil_hidden_tls_def): Likewise.
5324 (libutil_hidden_tls_def): Likweise.
5325 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
5326 libc_hidden_tls_def.
5327 (__sim_disabled_exceptions_thread): Likewise.
5328 (__sim_round_mode_thread): Likewise.
5330 * sysdeps/sparc/sparc-ifunc.h [SHARED]
5331 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
5332 copy attributes from name.
5334 2018-11-12 Joseph Myers <joseph@codesourcery.com>
5336 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
5337 Use __attribute_copy__ to copy attributes from name.
5339 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
5340 with __hidden_ver1 call.
5341 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
5342 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
5343 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
5344 (__cosf): Do not declare here.
5345 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
5346 (__sincosf): Do not declare here.
5347 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
5348 (__sinf): Do not declare here.
5350 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
5351 (__BIG_ENDIAN): Likewise.
5352 (__BYTE_ORDER): Likewise.
5353 (strong_alias): Likewise.
5354 (_strong_alias): Likewise.
5356 2018-11-12 Florian Weimer <fweimer@redhat.com>
5358 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
5359 function. Move after the definition of in_smallbin_range. Do not
5360 use __builtin_expect for paths that lead to a noreturn function.
5361 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
5362 because it is unclear whether this is in fact an unlikely
5364 (_int_malloc, _int_free): Adjust.
5365 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
5367 * malloc/arena.c (heap_trim): Likewise.
5369 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5371 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
5372 it, free it if needed.
5373 (reauthenticate): Test and use ccwdir.
5374 (child_init_port): In non-resetids case, test and use ccwdir.
5375 (child_chdir): New nested function to set ccwdir.
5376 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
5377 * hurd/hurd/port.h (_hurd_port_move): New function.
5378 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
5379 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
5380 * hurd/Versions (_hurd_port_move): Export function.
5381 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
5383 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
5384 of dtablesize for allocating dtable_cloexec.
5386 2018-11-09 Martin Sebor <msebor@redhat.com>
5388 * include/libc-symbols.h (__attribute_copy__): Define macro unless
5389 it's already defined.
5390 (_strong_alias): Use __attribute_copy__.
5391 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
5392 * misc/sys/cdefs.h (__attribute_copy__): New macro.
5393 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
5394 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
5395 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
5396 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
5397 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
5398 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
5399 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
5400 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
5401 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
5402 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
5403 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
5404 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
5405 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
5406 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
5407 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
5408 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
5409 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
5411 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5413 * misc/tst-efgcvt.c: Include support/check.h and
5414 support/test-driver.c. Do not include test-skeleton.c.
5415 (error_count): Remove.
5416 (output_error): Replace increments to error_count with calls to
5417 support_record_failure.
5418 (output_r_error): Likewise.
5419 (special): Likewise.
5420 (do_test): Unconditionally return zero.
5421 (TEST_FUNCTION): Remove.
5423 2018-11-09 Joseph Myers <joseph@codesourcery.com>
5425 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
5427 ($(linknamespace-header-tests)): Likewise.
5429 * conform/conformtest.py: New file.
5430 * conform/conformtest.pl: Remove.
5431 * conform/GlibcConform.pm: Likewise.
5432 * conform/glibcconform.py (KEYWORDS_C90): New constant.
5433 (KEYWORDS_C99): Likewise.
5434 (KEYWORDS): Likewise.
5435 * conform/Makefile ($(conformtest-header-tests)): Use
5436 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
5437 option. Use --header instead of --headers.
5438 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
5440 * conform/data/spawn.h-data: Likewise.
5441 * conform/data/fcntl.h-data (openat): Add space after function
5443 * conform/data/wchar.h-data (wcscasecmp): Likewise.
5444 (wcscasecmp_l): Likewise.
5445 * conform/data/termios.h-data (c_cc): Add space after element
5448 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5450 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
5451 instead of manually comparing and reporting mismatching strings.
5452 * misc/tst-ldbl-error.c (do_one_test): Likewise.
5453 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5455 2018-11-08 Joseph Myers <joseph@codesourcery.com>
5457 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
5458 __ASSUME_SOCKETCALL.
5459 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5460 (__ASSUME_SOCKETCALL): Remove.
5461 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5462 (__ASSUME_SOCKETCALL): Likewise.
5463 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5464 (__ASSUME_SOCKETCALL): Likewise.
5465 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5466 (__ASSUME_SOCKETCALL): Likewise.
5467 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5468 (__ASSUME_SOCKETCALL): Likewise.
5469 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5470 (__ASSUME_SOCKETCALL): Likewise.
5471 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5472 (__ASSUME_SOCKETCALL): Likewise.
5474 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
5477 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
5478 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
5479 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
5480 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
5481 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
5484 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
5487 * resolv/tst-resolv-network.c: Add test for getnetbyname.
5489 2018-11-07 Joseph Myers <joseph@codesourcery.com>
5492 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5493 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5494 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5495 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5497 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5499 * support/support_test_compare_string.c
5500 (support_test_compare_string): Fix printf format.
5502 2018-11-07 Florian Weimer <fweimer@redhat.com>
5504 Implement TEST_COMPARE_STRING.
5505 * support/check.h (TEST_COMPARE_STRING): Define.
5506 (support_test_compare_string): Declare.
5507 * support/Makefile (libsupport-routines): Add
5508 support_test_compare_string.
5509 (tests): Add tst-test_compare_string.
5510 * support/support_test_compare_string.c: New file.
5511 * support/tst-test_compare_string.c: Likewise.
5513 2018-11-07 Andreas Schwab <schwab@suse.de>
5516 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
5517 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
5520 2018-11-06 Joseph Myers <joseph@codesourcery.com>
5523 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5524 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
5525 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
5526 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
5529 2018-11-06 Florian Weimer <fweimer@redhat.com>
5532 * posix/Makefile (routines): Add spawn_faction_addchdir.
5533 (tests): Add tst-spawn-chdir.
5534 * posix/Versions (GLIBC_2.29): Add
5535 posix_spawn_file_actions_addchdir_np.
5536 * posix/spawn_faction_addchdir.c: New file.
5537 * posix/spawn_faction_destroy.c
5538 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
5539 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
5540 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
5542 * posix/tst-spawn-chdir.c: New file.
5543 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
5544 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5545 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5546 posix_spawn_file_actions_addchdir_np.
5547 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5549 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5551 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5552 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5554 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5556 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5558 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5560 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5562 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5564 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5565 (GLIBC_2.29): Likewise.
5566 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5567 (GLIBC_2.29): Likewise.
5568 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5569 (GLIBC_2.29): Likewise.
5570 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5571 (GLIBC_2.29): Likewise.
5572 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5575 (GLIBC_2.29): Likewise.
5576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5577 (GLIBC_2.29): Likewise.
5578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5579 (GLIBC_2.29): Likewise.
5580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5581 (GLIBC_2.29): Likewise.
5582 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5584 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5586 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5588 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5589 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5591 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5593 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5595 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5598 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5600 * misc/Makefile (tests): Add tst-ldbl-error.
5601 * misc/tst-ldbl-error.c: New file.
5603 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5605 * misc/Makefile (tests): Add tst-ldbl-warn.
5606 * misc/tst-ldbl-warn.c: New file.
5608 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5610 * argp/Makefile (tests): Add tst-ldbl-argp.
5611 * argp/tst-ldbl-argp.c: New file.
5613 2018-11-05 Arjun Shankar <arjun@redhat.com>
5615 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
5616 __gconv_path_elem and call __gconv_get_path unconditionally.
5618 2018-11-05 Andreas Schwab <schwab@suse.de>
5621 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
5622 creating the first helper thread failed.
5624 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5626 * sysdeps/mach/hurd/msync.c: New file.
5628 2018-11-02 Florian Weimer <fweimer@redhat.com>
5630 * support/shell-container.c (copy_func): Call
5631 support_copy_file_range instead of copy_file_range to support
5632 cross-device copies.
5634 2018-11-02 Florian Weimer <fweimer@redhat.com>
5636 * support/test-container.c: Include <libc-pointer-arith.h> for
5639 2018-11-01 Zong Li <zong@andestech.com>
5641 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
5642 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
5643 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
5644 (__FP_FRAC_SET_8): Add implementation for RV32 use.
5646 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
5647 variable to avoid overlap arguments.
5649 2018-11-01 Joseph Myers <joseph@codesourcery.com>
5651 * posix/bug-regex22.c (main): Use puts with distinct error
5652 messages for unexpected success of re_compile_pattern, not printf
5653 with NULL argument to %s.
5655 * stdio-common/bug22.c: Include <libc-diag.h>.
5656 (do_test): Disable -Wformat-overflow= warnings around fprintf
5657 calls outputting more than INT_MAX characters.
5658 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
5659 around printf call with NULL %s argument.
5662 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
5663 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
5665 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5666 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5667 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5668 (__ASSUME_SENDTO_SYSCALL): Likewise.
5669 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5670 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
5672 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5673 (__ASSUME_CONNECT_SYSCALL): Likewise.
5674 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5675 (__ASSUME_RECVFROM_SYSCALL): Likewise.
5676 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
5678 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
5680 [__LINUX_KERNEL_VERSION >= 0x040400]
5681 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5682 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
5685 (setsockopt): Likewise.
5687 2018-11-01 Fredrik Noring <noring@nocrew.org>
5689 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
5690 with the ISA override.
5692 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
5694 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
5697 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
5699 * manual/errno.texi (EIEIO): Document how translators should
5700 translate the error message.
5701 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
5702 printing trailing whitespaces refused by git.
5703 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
5704 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5705 * hurd/Makefile (user-interfaces): Add pci.
5707 2018-10-30 Joseph Myers <joseph@codesourcery.com>
5709 * conform/linknamespace.py: New file.
5710 * conform/linknamespace.pl: Remove file.
5711 * conform/Makefile ($(linknamespace-header-tests)): Use
5712 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
5715 2018-10-30 Florian Weimer <fweimer@redhat.com>
5717 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
5720 2018-10-30 Florian Weimer <fweimer@redhat.com>
5722 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
5724 2018-10-30 Florian Weimer <fweimer@redhat.com>
5726 * stdlib/tst-strtod-overflow.c (do_test): Switch to
5727 support_blob_repeat.
5729 2018-10-30 Florian Weimer <fweimer@redhat.com>
5731 Avoid spurious test failures in stdlib/test-bz22786.
5732 * support/Makefile (libsupport-routines): Add blob_repeat.
5733 (tests): Add tst-support_blob_repeat.
5734 * support/blob_repeat.h: New file.
5735 * support/blob_repeat.c: Likewise.
5736 * support/tst-support_blob_repeat.c: Likewise.
5737 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
5738 support_blob_repeat_allocate.
5740 2018-10-30 Andreas Schwab <schwab@suse.de>
5743 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
5744 Don't use tail call.
5745 * elf/tst-unwind-main.c: New file.
5746 * elf/Makefile (tests): Add tst-unwind-main.
5747 (CFLAGS-tst-unwind-main.c): Define.
5749 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
5752 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
5754 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
5756 2018-10-29 Joseph Myers <joseph@codesourcery.com>
5758 * conform/glibcconform.py: Do not import shutil.
5759 (list_exported_functions): Use tempfile.TemporaryDirectory instead
5762 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
5763 critic_missing for versions before 3.4.
5764 * configure: Regenerated.
5765 * manual/install.texi (Tools for Compilation): Document
5766 requirement for Python to build glibc.
5767 * INSTALL: Regenerated.
5768 * Rules [PYTHON]: Make code unconditional.
5769 * benchtests/Makefile [PYTHON]: Likewise.
5770 * conform/Makefile [PYTHON]: Likewise.
5771 * manual/Makefile [PYTHON]: Likewise.
5772 * math/Makefile [PYTHON]: Likewise.
5774 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5776 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
5777 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
5778 answer to interrupt_operation, return EIEIO instead of EINTR.
5779 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
5780 _hurd_intr_rpc_msg_about_to global point to start of controlled
5781 assembly snippet. Make it check canceled flag.
5782 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
5783 the _hurd_intr_rpc_msg_about_to point.
5784 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
5785 issue, remove cancel flag check.
5787 2018-10-26 Joseph Myers <joseph@codesourcery.com>
5789 * scripts/build-many-glibcs.py: Remove compatibility for missing
5790 os.cpu_count and re.fullmatch.
5792 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5795 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
5796 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
5797 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
5799 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5801 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
5804 2018-10-25 Florian Weimer <fweimer@redhat.com>
5808 XFAIL siginfo_t si_band conform test on sparc64.
5809 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
5810 (__SI_BAND_TYPE): Only override long int default type on sparc64.
5811 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5812 (conformtest-xfail-conds): Add sparc64-linux.
5813 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
5815 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
5817 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5819 * elf/elf.h (NT_MIPS_DSP): New macro.
5820 (NT_MIPS_FP_MODE): Likewise.
5822 2018-10-25 Zong Li <zong@andestech.com>
5824 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
5825 name by adding the file extension (.so).
5827 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
5829 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
5830 (test-xfail-ISO11/threads.h/linknamespace,
5831 test-xfail-ISO11/threads.h/conform): Add.
5833 2018-10-24 Joseph Myers <joseph@codesourcery.com>
5835 * math/gen-libm-test.py: Import os.
5836 (ALL_FLOATS_MANUAL): New constant.
5837 (ALL_FLOATS_SUFFIX): Likewise.
5838 (Ulps.all_functions): New function.
5839 (real_all_ulps): Likewise.
5840 (generate_err_table_sub): Likewise.
5841 (generate_err_table): Likewise.
5842 (main): Handle -s and -m options.
5843 * manual/libm-err-tab.pl: Remove.
5844 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
5845 instead of libm-err-tab.pl.
5846 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
5848 * manual/install.texi (Tools for Compilation): Document
5849 requirement for Python to build manual.
5850 * INSTALL: Regenerated.
5852 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5854 * bits/time64.h: New file.
5855 * include/time.h: Replace internal_time_t with __time64_t.
5856 * posix/bits/types (__time64_t): Add.
5857 * stdlib/Makefile: Add bits/time64.h to includes.
5858 * time/tzfile.c: Replace internal_time_t with __time64_t.
5860 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5862 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
5863 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
5864 __posix_spawn_file_actions_init, __posix_spawnattr_init,
5865 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
5866 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
5868 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
5869 * posix/spawn_faction_addclose.c
5870 (__posix_spawn_file_actions_addclose): Add hidden definition.
5871 * posix/spawn_faction_adddup2.c
5872 (__posix_spawn_file_actions_adddup2): Likewise.
5873 * posix/spawn_faction_destroy.c
5874 (__posix_spawn_file_actions_destroy): Likewise.
5875 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
5877 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
5878 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
5879 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
5881 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
5882 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
5885 2018-10-24 Andreas Schwab <schwab@suse.de>
5888 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
5890 * elf/cache.c (print_cache): Likewise.
5892 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5894 * bits/timesize.h: New file.
5895 * stdlib/Makefile (headers): Add bits/timesize.h.
5896 * sysdeps/unix/sysv/linux/bits/msq-pad.h
5897 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
5898 * sysdeps/unix/sysv/linux/bits/sem-pad.h
5899 (__SEM_PAD_AFTER_TIME): Likewise.
5900 * sysdeps/unix/sysv/linux/bits/shm-pad.h
5901 (__SHM_PAD_AFTER_TIME): Likewise.
5902 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
5903 (__MSQ_PAD_BEFORE_TIME): Likewise.
5904 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
5905 (__SEM_PAD_BEFORE_TIME): Likewise.
5906 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
5907 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5908 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
5909 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
5910 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
5911 (__MSQ_PAD_BEFORE_TIME): Likewise.
5912 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
5913 (__SEM_PAD_BEFORE_TIME): Likewise.
5914 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
5915 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5916 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
5917 (__MSQ_PAD_BEFORE_TIME): Likewise.
5918 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
5919 (__SEM_PAD_BEFORE_TIME): Likewise.
5920 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
5921 (__SHM_PAD_BEFORE_TIME): Likewise.
5922 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
5923 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5924 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
5926 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
5928 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
5929 USE_RDTSCP is defined.
5930 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
5931 USE_RDTSCP is defined.
5933 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5935 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
5939 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
5940 independently of other flags.
5942 2018-10-23 Florian Weimer <fweimer@redhat.com>
5944 * time/tst-mktime2.c (N_STRINGS): Remove.
5945 (set_timezone): New function.
5946 (spring_forward_gap): Call it. Use FAIL_EXIT1.
5947 (mktime_test1): Report localtime failure and check errno value.
5949 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
5950 (do_test): Remove alarm call. Use set_timezone and array_length.
5952 2018-10-23 Andreas Schwab <schwab@suse.de>
5954 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
5955 (__start_context): Use END instead of PSEUDO_END.
5957 2018-10-22 Joseph Myers <joseph@codesourcery.com>
5959 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5962 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5966 * wcsmbs/c32rtomb.c: New file.
5967 * wcsmbs/mbrtoc32.c: Likewise.
5968 * wcsmbs/tst-c32-state.c: Likewise.
5969 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
5970 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
5971 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
5972 (tests): Add tst-c32-state.
5973 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
5976 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
5978 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
5979 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
5981 2018-10-19 Joseph Myers <joseph@codesourcery.com>
5984 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
5985 pair and return 0 in that case, and use saved character to
5986 interpret following character.
5987 * wcsmbs/tst-c16-surrogate.c: New file.
5988 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
5989 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
5990 Depend on $(gen-locales)
5992 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
5995 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
5996 (struct siginfo_t): Use correct type for si_band.
5998 2018-10-19 Florian Weimer <fweimer@redhat.com>
6001 * resource/bits/types/struct_rusage.h (struct rusage): Update
6002 comment on struct. Remove extraneous field comment.
6004 2018-10-18 David S. Miller <davem@davemloft.net>
6006 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
6007 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
6008 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
6009 sysdep_routines in subdir elf.
6010 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
6011 version for __vdso_clock_gettime.
6012 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
6014 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6015 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6017 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6019 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
6021 * sysdeps/i386/init-arch.h: Removed.
6022 * sysdeps/i386/i586/init-arch.h: Likewise.
6023 * sysdeps/i386/i686/init-arch.h: Likewise.
6024 * sysdeps/i386/i686/hp-timing.h: Likewise.
6025 * sysdeps/x86_64/hp-timing.h: Likewise.
6026 * sysdeps/i386/isa.h: New file.
6027 * sysdeps/i386/i586/isa.h: Likewise.
6028 * sysdeps/i386/i686/isa.h: Likewise.
6029 * sysdeps/x86_64/isa.h: Likewise.
6030 * sysdeps/x86/hp-timing.h: New file.
6031 * sysdeps/x86/init-arch.h: Include <isa.h>.
6033 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6035 * math/libm-test-pow.inc (pow_test_data): Do not allow
6036 divide-by-zero exception for pow(+/- 0, -Inf).
6038 2018-10-17 Zack Weinberg <zackw@panix.com>
6040 * manual/job.texi (Job Control is Optional): Remove node, as
6041 job control has not been optional in quite some time.
6042 (Job Control): Mention briefly that systems older than
6043 POSIX.1-2001 might not support job control.
6044 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
6045 defined on systems conforming to POSIX.1-2001.
6047 2018-10-17 Arjun Shankar <arjun@redhat.com>
6050 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
6052 * (__gconv_read_conf): Mark function static.
6053 * (once): New static variable.
6054 * (__gconv_load_conf): New function.
6055 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
6056 * iconv/gconv_db.c (once): Remove static variable.
6057 * (__gconv_compare_alias): Use __gconv_load_conf instead of
6059 * (__gconv_find_transform): Likewise.
6060 * iconv/tst-iconv-mt.c: New test.
6061 * iconv/Makefile: Add tst-iconv_mt.
6063 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6065 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6067 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
6068 (shmatt_t): Define as __syscall_ulong_t.
6069 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
6070 and [__SHM_PAD_AFTER_TIME].
6071 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
6072 Define shm_segsz and associated padding based on
6073 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
6074 Use __syscall_ulong_t instead of unsigned long int.
6075 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
6077 [__USE_MISC] (struct shm_info): Likewise.
6078 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
6079 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
6080 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
6081 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
6082 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
6083 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6084 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
6085 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
6086 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6087 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6088 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6090 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6092 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
6093 (SHMLBA): Remove macro.
6094 (__getpagesize): Remove function declaration.
6095 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
6097 (SHMLBA): Remove macro.
6098 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
6100 (SHMLBA): Remove macro.
6101 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
6103 (SHMLBA): Remove macro.
6104 (__getpagesize): Remove function declaration.
6105 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
6107 (SHMLBA): Remove macro.
6108 (__getshmlba): Remove function declaration.
6109 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
6110 (SHMLBA): Remove macro.
6111 (__getpagesize): Remove function declaration.
6112 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
6113 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
6114 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6115 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
6116 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
6117 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
6118 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
6119 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
6120 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
6121 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
6123 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
6126 * nptl/tst-mutex10.c: New File.
6127 * nptl/Makefile (tests): Add tst-mutex10.
6128 (tst-mutex10-ENV): New variable.
6129 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
6130 Ensure that elision path is used if elision is available.
6131 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
6133 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
6135 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
6136 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
6137 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
6138 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
6140 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
6141 (__pthread_mutex_cond_lock_adjust): Likewise.
6142 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6144 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
6145 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6146 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6147 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
6149 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6150 Use atomic_load_relaxed and atomic_store_relaxed.
6151 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
6152 Use atomic_store_relaxed.
6154 2018-10-17 Andreas Schwab <schwab@suse.de>
6156 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
6157 * crypt/badsalttest.c (TIMEOUT): Likewise.
6158 * crypt/sha256c-test.c (TIMEOUT): Likewise.
6159 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
6160 * io/test-lfs.c (TIMEOUT): Likewise.
6161 * libio/tst-atime.c (TIMEOUT): Likewise.
6162 * localedata/tst-leaks.c (TIMEOUT): Likewise.
6163 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
6164 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
6165 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
6166 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
6167 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
6168 * nptl/tst-cond11.c (TIMEOUT): Likewise.
6169 * nptl/tst-cond14.c (TIMEOUT): Likewise.
6170 * nptl/tst-cond15.c (TIMEOUT): Likewise.
6171 * nptl/tst-cond24.c (TIMEOUT): Likewise.
6172 * nptl/tst-cond25.c (TIMEOUT): Likewise.
6173 * nptl/tst-kill2.c (TIMEOUT): Likewise.
6174 * nptl/tst-kill3.c (TIMEOUT): Likewise.
6175 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
6176 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
6177 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
6178 * nptl/tst-once2.c (TIMEOUT): Likewise.
6179 * nptl/tst-once3.c (TIMEOUT): Likewise.
6180 * nptl/tst-once4.c (TIMEOUT): Likewise.
6181 * nptl/tst-robust8.c (TIMEOUT): Likewise.
6182 * nptl/tst-robust9.c (TIMEOUT): Likewise.
6183 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
6184 * nptl/tst-sem14.c (TIMEOUT): Likewise.
6185 * nptl/tst-sem6.c (TIMEOUT): Likewise.
6186 * nptl/tst-signal3.c (TIMEOUT): Likewise.
6187 * nptl/tst-spin4.c (TIMEOUT): Likewise.
6188 * nptl/tst-tls3.c (TIMEOUT): Likewise.
6189 * nptl/tst-tls4.c (TIMEOUT): Likewise.
6190 * posix/tst-chmod.c (TIMEOUT): Likewise.
6191 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
6192 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
6193 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
6194 * posix/tst-regex2.c (TIMEOUT): Likewise.
6195 * posix/tst-waitid.c (TIMEOUT): Likewise.
6196 * rt/tst-aio.c (TIMEOUT): Likewise.
6197 * rt/tst-aio10.c (TIMEOUT): Likewise.
6198 * rt/tst-aio4.c (TIMEOUT): Likewise.
6199 * rt/tst-aio5.c (TIMEOUT): Likewise.
6200 * rt/tst-aio6.c (TIMEOUT): Likewise.
6201 * rt/tst-aio64.c (TIMEOUT): Likewise.
6202 * rt/tst-aio7.c (TIMEOUT): Likewise.
6203 * rt/tst-aio9.c (TIMEOUT): Likewise.
6204 * rt/tst-clock.c (TIMEOUT): Likewise.
6205 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
6206 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
6207 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
6208 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
6209 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
6210 * rt/tst-timer4.c (TIMEOUT): Likewise.
6211 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
6212 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
6213 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
6214 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
6215 * time/tst-ftime.c (TIMEOUT): Likewise.
6216 * timezone/tst-tzset.c (TIMEOUT): Likewise.
6218 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
6220 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
6221 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
6224 2018-10-15 Joseph Myers <joseph@codesourcery.com>
6226 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6228 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
6229 instead of <bits/wordsize.h>.
6230 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
6231 and [__SEM_PAD_AFTER_TIME].
6232 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
6233 __syscall_ulong_t instead of unsigned long int.
6234 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
6235 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
6236 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
6237 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
6238 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
6239 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
6240 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
6241 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
6242 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6243 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6244 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6246 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
6248 regex: simplify by using intprops.h
6250 * posix/regex_internal.h [_LIBC]: Include intprops.h.
6251 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
6252 intprops.h defines them.
6254 regex: __builtin_expect → __glibc_unlikely
6256 This refactoring was prompted by a problem when the regex code is
6257 used as part of Gnulib and when the builder’s compiler does not grok
6258 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
6259 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
6260 Although this refactoring does not fix the problem directly,
6261 we might as well have Gawk use the now-preferred glibc style for when
6262 __builtin_expect is unavailable.
6263 * posix/regex_internal.h (BE): Remove.
6264 All uses replaced by __glibc_unlikely or __glibc_likely.
6266 2018-10-11 Joseph Myers <joseph@codesourcery.com>
6268 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6270 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
6271 instead of <bits/wordsize.h>.
6272 (msgqnum_t): Define as __syscall_ulong_t.
6273 (msglen_t): Likewise.
6274 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
6275 and [__MSQ_PAD_AFTER_TIME].
6276 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
6277 __syscall_ulong_t instead of unsigned long int.
6278 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
6279 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
6280 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
6281 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
6282 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
6283 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
6284 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
6285 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
6286 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6287 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6288 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6290 2018-10-10 Joseph Myers <joseph@codesourcery.com>
6292 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
6293 (struct shmid_ds): Condition padding after time fields on
6295 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
6296 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
6297 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6299 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
6300 (struct semid_ds): Condition padding after time fields on
6302 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
6303 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
6304 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
6305 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6307 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
6308 (struct msqid_ds): Condition padding after time fields on
6310 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
6311 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
6312 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
6313 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6315 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6317 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
6319 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6321 * libio/tst-readline.c (TIMEOUT): Define.
6323 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
6325 mktime fix for Gnulib + coreutils
6327 This fix affects only Gnulib. Problem discovered when
6328 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
6330 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
6331 Do not define since it is not used. Defining an unused static
6332 function prompts a warning from GCC when Coreutils is configured
6333 with --enable-gcc-warnings.
6335 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6337 * benchtests/scripts/compare_bench.py (main): set float type on
6340 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
6343 * localedata/locales/kl_GL (mon): Update, the relative case.
6344 (alt_mon): Add, fill with month names in the nominative case.
6345 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
6346 (d_fmt): Set to "%b %d %Y".
6348 2018-10-04 Joseph Myers <joseph@codesourcery.com>
6350 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
6351 <bits/mman-linux.h>.
6352 (PROT_READ): Don't define here.
6353 (PROT_WRITE): Likewise.
6354 (PROT_EXEC): Likewise.
6355 (PROT_NONE): Likewise.
6356 (PROT_GROWSDOWN): Likewise.
6357 (PROT_GROWSUP): Likewise.
6358 (MAP_SHARED): Likewise.
6359 (MAP_PRIVATE): Likewise.
6360 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
6361 [__USE_MISC] (MAP_FILE): Likewise.
6362 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
6363 [__USE_MISC] (MAP_ANON): Likewise.
6364 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
6365 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
6366 (MCL_CURRENT): Likewise.
6367 (MCL_FUTURE): Likewise.
6368 (MCL_ONFAULT): Likewise.
6369 [__USE_MISC] (MADV_NORMAL): Likewise.
6370 [__USE_MISC] (MADV_RANDOM): Likewise.
6371 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
6372 [__USE_MISC] (MADV_WILLNEED): Likewise.
6373 [__USE_MISC] (MADV_DONTNEED): Likewise.
6374 [__USE_MISC] (MADV_FREE): Likewise.
6375 [__USE_MISC] (MADV_REMOVE): Likewise.
6376 [__USE_MISC] (MADV_DONTFORK): Likewise.
6377 [__USE_MISC] (MADV_DOFORK): Likewise.
6378 [__USE_MISC] (MADV_HWPOISON): Likewise.
6379 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
6380 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
6381 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
6382 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
6383 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
6384 (__MAP_ANONYMOUS): New macro.
6385 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
6386 <bits/mman-linux.h> inclusion.
6387 (MAP_FIXED): Likewise.
6388 (MS_SYNC): Likewise.
6389 (MS_ASYNC): Likewise.
6390 (MS_INVALIDATE): Likewise.
6391 [__USE_MISC] (MADV_MERGEABLE): Likewise.
6392 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
6393 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
6394 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
6395 [__USE_MISC] (MADV_DONTDUMP): Likewise.
6396 [__USE_MISC] (MADV_DODUMP): Likewise.
6397 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
6398 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
6401 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
6403 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
6404 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
6405 Add test-nldbl-redirect.
6406 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
6407 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
6408 $(objpfx)libnldbl_nonshared.a.
6410 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
6412 * support/support.h (support_objdir_elf_ldso): New variable.
6413 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
6414 * support/Makefile (CFLAGS-support_paths.c): Add definition
6415 for OBJDIR_ELF_LDSO_PATH.
6416 * support/test-container.c (main): Search for the ld.so
6417 which is also used by the testsuite.
6419 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
6422 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
6423 should be "sap" rather than "sab".
6424 (day): Fix spelling of Sunday, should be "sapaat" rather than
6427 2018-10-02 Joseph Myers <joseph@codesourcery.com>
6429 * math/libm-test-fma.inc (fma_test_data): Add more tests.
6431 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
6434 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
6435 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
6436 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
6438 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6440 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
6442 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
6444 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
6446 (CFLAGS-elision-unlock.c): Likewise.
6447 (CFLAGS-elision-timed.c): Likewise.
6448 (CFLAGS-elision-trylock.c): Likewise.
6449 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
6451 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6454 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
6455 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
6456 new fd_to_filename interface.
6457 * libio/freopen64.c (freopen64): Likewise.
6458 * libio/tst-memstream.h: New file.
6459 * libio/tst-memstream4.c: Likewise.
6460 * libio/tst-wmemstream4.c: Likewise.
6461 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
6462 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
6463 and remove internal dynamic allocation.
6465 2018-10-01 Joseph Myers <joseph@codesourcery.com>
6467 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6468 (MREMAP_MAYMOVE): Do not define here.
6469 [__USE_GNU] (MREMAP_FIXED): Likewise.
6470 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
6471 (MREMAP_MAYMOVE): Define here instead.
6472 [__USE_GNU] (MREMAP_FIXED): Likewise.
6473 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
6474 (MREMAP_MAYMOVE): Remove.
6475 [__USE_GNU] (MREMAP_FIXED): Likewise.
6477 2018-09-28 Joseph Myers <joseph@codesourcery.com>
6479 * math/fromfp.h: Do not include <math_private.h>.
6480 * math/s_cacosh_template.c: Likewise.
6481 * math/s_casin_template.c: Likewise.
6482 * math/s_casinh_template.c: Likewise.
6483 * math/s_ccos_template.c: Likewise.
6484 * math/s_cproj_template.c: Likewise.
6485 * math/s_fdim_template.c: Likewise.
6486 * math/s_fmaxmag_template.c: Likewise.
6487 * math/s_fminmag_template.c: Likewise.
6488 * math/s_iseqsig_template.c: Likewise.
6489 * math/s_ldexp_template.c: Likewise.
6490 * math/s_nextdown_template.c: Likewise.
6491 * math/w_log1p_template.c: Likewise.
6492 * math/w_scalbln_template.c: Likewise.
6493 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6494 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6495 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6496 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6497 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
6498 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
6499 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
6500 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
6501 * sysdeps/i386/fpu/s_atanl.c: Likewise.
6502 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
6503 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
6504 * sysdeps/i386/fpu/s_fdim.c: Likewise.
6505 * sysdeps/i386/fpu/s_logbl.c: Likewise.
6506 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6507 * sysdeps/i386/fpu/s_significandl.c: Likewise.
6508 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
6509 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
6510 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6511 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6512 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6513 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6514 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6515 * sysdeps/ieee754/k_standardf.c: Likewise.
6516 * sysdeps/ieee754/k_standardl.c: Likewise.
6517 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6518 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6519 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
6520 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6521 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6522 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6523 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6524 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6525 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6526 * sysdeps/ieee754/s_signgam.c: Likewise.
6527 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6528 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
6529 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
6530 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6531 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6532 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6533 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6534 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6535 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6536 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6537 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6538 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6539 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6540 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6541 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6542 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6543 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6544 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6545 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6546 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6547 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6548 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6549 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6550 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6551 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6552 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6553 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6554 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6555 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6556 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6557 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6558 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6559 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6560 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6561 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6562 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6563 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
6565 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6567 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
6570 * sysdeps/i386/dl-cet.c: Removed.
6571 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
6573 (_dl_runtime_profile_shstk): Likewise.
6574 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
6575 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
6577 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6580 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
6581 do_test_with_invalid_iov): New tests.
6582 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
6583 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
6584 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
6586 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6587 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6588 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6590 2018-09-27 Joseph Myers <joseph@codesourcery.com>
6592 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6593 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
6594 (MATH_REDIRECT_BINARY_ARGS): New macro.
6595 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6596 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
6597 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
6599 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
6600 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6601 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
6602 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6603 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6604 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6605 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
6610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
6612 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
6613 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
6614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
6616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
6618 * sysdeps/generic/math_private_calls.h
6619 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
6620 Do not declare and define as an inline function.
6621 * math/divtc3.c (__divtc3): Use copysign functions instead of
6622 __copysign variants.
6623 * math/multc3.c (__multc3): Likewise.
6624 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
6625 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
6626 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6627 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6629 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6630 (__ieee754_yn): Likewise.
6631 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6632 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
6633 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6634 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6635 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
6637 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
6638 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6640 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6642 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6644 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6645 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6647 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6648 (__ieee754_ynf): Likewise.
6649 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6650 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6651 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6652 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6654 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6655 (__ieee754_ynl): Likewise.
6656 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6657 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6658 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6660 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6661 (__ieee754_ynl): Likewise.
6662 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
6663 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6664 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6665 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6667 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6669 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
6670 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6671 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
6672 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6673 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6675 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6676 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
6677 using MATH_REDIRECT.
6678 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
6680 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
6681 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6682 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6683 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
6684 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6685 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6686 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
6688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
6689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
6690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
6691 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6692 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6693 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6694 (round): Redirect to __round.
6695 (__roundl): Call round instead of __round.
6696 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
6698 [_ARCH_PWR5X] (__roundf): Likewise.
6699 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
6700 functions instead of __round variants.
6701 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6702 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6704 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6706 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6708 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
6709 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
6711 (__ieee754_expl): Call roundl instead of __roundl.
6713 2018-09-27 Andreas Schwab <schwab@suse.de>
6716 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
6717 (do_test): Make st1 static.
6719 2018-09-26 Andreas Schwab <schwab@suse.de>
6722 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
6723 * elf/Makefile (tests): Add tst-unwind-ctor.
6724 (modules-names): Add tst-unwind-ctor-lib.
6725 ($(objpfx)tst-unwind-ctor): Depend on
6726 $(objpfx)tst-unwind-ctor-lib.so.
6728 2018-09-26 Joseph Myers <joseph@codesourcery.com>
6730 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
6731 file. Most contents moved from ....
6732 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
6733 and include <bits/mman-map-flags-generic.h>.
6734 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6735 (sysdep_headers): Add bits/mman-map-flags-generic.h.
6736 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
6737 <bits/mman-map-flags-generic.h>.
6738 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
6739 macros defined in <bits/mman-map-flags-generic.h>.
6740 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
6741 <bits/mman-map-flags-generic.h>.
6742 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
6743 defined in <bits/mman-map-flags-generic.h>.
6745 2018-09-26 Andreas Schwab <schwab@suse.de>
6747 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
6750 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
6751 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6752 Fangrui Song <maskray@google.com>
6755 * config.make.in (have-textrel_ifunc): New define.
6756 * configure.ac: Add check if linker supports textrel relocation with
6758 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
6760 (CFLAGS-tst-ifunc-textrel.c): New rule.
6761 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
6762 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
6763 * elf/tst-ifunc-textrel.c: New file.
6765 2018-09-25 Joseph Myers <joseph@codesourcery.com>
6767 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6768 <bits/procfs-prregset.h>.
6769 (prgregset_t): Define using __prgregset_t.
6770 (prfpregset_t): Define using __prfpregset_t.
6771 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6772 (sysdep_headers): Add bits/procfs-prregset.h.
6773 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
6774 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
6775 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
6776 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
6778 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6779 <bits/procfs-id.h> and <bits/procfs-extra.h>.
6780 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
6782 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6783 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
6784 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
6785 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
6786 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
6787 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
6788 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
6789 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
6790 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
6791 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
6792 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
6793 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
6794 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
6795 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
6796 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
6797 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
6798 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
6799 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
6800 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
6801 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
6802 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
6803 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
6804 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6805 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
6807 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
6808 AArch64 version. Include <bits/procfs.h>.
6809 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6810 (sysdep_headers): Add bits/procfs.h.
6811 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
6812 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
6813 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
6814 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
6815 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
6816 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
6817 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
6818 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
6819 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
6820 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
6821 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
6822 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
6823 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
6824 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
6825 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
6826 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6827 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
6829 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6831 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
6834 2018-09-25 Arjun Shankar <arjun@redhat.com>
6836 * iconv/gconv_int.h (__gconv_path_elem): Remove.
6837 (__gconv_max_path_elem_len): Likewise.
6838 (__gconv_nmodules): Likewise.
6839 (__gconv_get_path): Likewise.
6840 (path_elem): Move to ...
6841 * iconv/gconv_conf.c: ... here.
6842 (__gconv_get_path): Mark function static.
6843 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
6844 * iconv/gconv_open.c: ... here.
6846 2018-09-24 Andreas Schwab <schwab@suse.de>
6848 * scripts/haveversions.awk: New file.
6849 * Makerules ($(common-objpfx)Versions.def)
6850 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6851 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6853 * Makeconfig ($(common-objpfx)Versions.def)
6854 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6855 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6857 ($(common-objpfx)Versions.mk): New rule. Include it.
6858 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
6859 Emit error if build-obsolete-nsl = yes.
6860 * manual/install.texi (Configuring and compiling): Describe
6861 --enable-obsolete-nsl as unavaiable after version 2.28.
6862 * INSTALL: Regenerate.
6864 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6866 * NEWS: Add note about new TLE support on powerpc64le.
6867 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
6868 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
6870 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
6871 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
6872 * sysdeps/powerpc/powerpc32/sysdep.h,
6873 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
6874 ABORT_TRANSACTION): Remove macros.
6875 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
6876 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
6877 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
6878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
6879 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6880 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
6882 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
6884 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
6887 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
6888 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
6889 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
6890 which is the same as in it_IT.
6891 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
6892 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
6894 2018-09-20 Joseph Myers <joseph@codesourcery.com>
6896 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6897 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
6898 using MATH_REDIRECT.
6899 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
6901 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
6902 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6903 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
6904 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6905 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6906 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
6908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
6909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
6910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
6911 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6912 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6913 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
6914 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
6915 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
6916 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
6917 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
6918 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6919 (ceil): Redirect to __ceil.
6920 (floor): Redirect to __floor.
6921 (trunc): Redirect to __trunc.
6922 (__truncl): Call trunc instead of __trunc.
6923 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
6925 [_ARCH_PWR5X] (__truncf): Likewise.
6926 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
6927 trunc functions instead of __trunc variants.
6928 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6930 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6932 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6934 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6937 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
6938 [__i586__ || __pentium__].
6939 [__i486__]: Handle explicitly.
6940 (HAS_CPUID): Define to 1 if above macros are undefined.
6941 (HAS_I586): Likewise.
6942 (HAS_I686): Likewise.
6944 2018-09-20 Florian Weimer <fweimer@redhat.com>
6946 * misc/tst-gethostid.c: New file.
6947 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
6948 (tst-gethostid): Link with -ldl.
6950 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
6952 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
6953 value from gethostbyname_r.
6955 2018-09-19 Carlos O'Donell <carlos@redhat.com>
6957 * stdlib/tst-setcontext9.c (f1): Rename to...
6959 (f1b): New function implementing lower half of f1 in alternate stack.
6961 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
6963 Fix mktime localtime offset confusion
6965 * include/time.h (__mktime_internal): The localtime offset is now
6966 of type long int instead of time_t. This is the longstanding type
6967 in glibc, and it is more than enough to represent difference
6968 between localtime and gmtime even if it is 32 bits and time_t is
6969 64. Changing it now will let us avoid an unnecessary change when
6970 time_t is widened to 64 bits on 32-bit platforms.
6971 * time/mktime-internal.h (mktime_offset_t): Now long int.
6973 Merge mktime, timegm from upstream Gnulib
6974 [BZ #23603][BZ #16346]
6975 This fixes some obscure problems with integer overflow.
6976 Although it looks scary, it is almost all a byte-for-byte copy
6977 from Gnulib, and the Gnulib code has been tested reasonably well.
6978 * include/intprops.h: New file, copied from Gnulib.
6979 * include/verify.h, time/mktime-internal.h:
6980 New tiny files, simplified from Gnulib.
6981 * time/mktime.c: Copy from Gnulib. This has the following changes:
6982 Do not include config.h if DEBUG_MKTIME is nonzero.
6983 Include stdbool.h, intprops.h, verify.h.
6984 Include string.h only if needed.
6985 Include stdlib.h on MS-Windows.
6986 Include mktime-internal.h.
6987 (DEBUG_MKTIME): Default to 0, and simplify later uses.
6988 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
6989 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
6990 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
6991 simplify later conditionals; default the others to zero. Use
6992 these conditionals to express only the code needed on the current
6993 platform. In uses of these conditionals, explicitly spell out how
6994 _LIBC affects things, so it’s easier to review from a glibc
6996 (WRAPV): Remove; no longer needed now that we have
6997 systematic overflow checking.
6998 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
6999 compartmentalize tzset issues. Move system-dependent tzsettish
7000 code here from mktime.
7001 (verify): Remove; now done by verify.h. All uses changed.
7002 (long_int): Use a more-conservative definition, to avoid
7004 (SHR): Remove, replacing with ...
7005 (shr): New function, which means we needn’t worry about side
7006 effects in args, and conversion analysis is simpler.
7007 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
7008 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
7009 (time_t_avg, time_t_add_ok): Remove.
7010 (mktime_min, mktime_max): New constants.
7011 (leapyear, isdst_differ): Use bool for booleans.
7012 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
7013 Use long_int, not time_t, for mktime differences.
7014 (long_int_avg): New function, replacing time_t_avg.
7015 INT_ADD_WRAPV replaces time_t_add_ok.
7016 (guess_time_tm): 6th arg is now long_int, not time_t const *.
7018 (convert_time): New function.
7019 (ranged_convert): Use it.
7020 (__mktime_internal): Last arg now points to mktime_offset_t, not
7021 time_t. All uses changed. This is a no-op on glibc, where
7022 mktime_offset_t is always time_t. Use int, not time_t, for UTC
7023 offset guess. Directly check for integer overflow instead of
7024 using a heuristic that works only 99.9...% of the time.
7025 Access *OFFSET only once, to avoid an unlikely race if the
7026 compiler delays a load and if this cascades into a signed integer
7028 (mktime): Move tzsettish code to my_tzset, and move
7029 localtime_offset to within mktime so that it doesn’t
7030 need a separate ifdef.
7031 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
7032 instead of localtime.
7033 * time/timegm.c: Copy from Gnulib. This has the following changes:
7034 Include mktime-internal.h.
7035 [!_LIBC]: Include config.h and time.h. Do not include
7036 timegm.h or time_r.h. Make __mktime_internal a macro,
7037 and include mktime-internal.h to get its declaration.
7038 (timegm): Temporary is now mktime_offset_t, not time_t.
7039 This affects only Gnulib.
7041 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
7044 * string/test-strstr.c (pr23637): New function.
7045 (test_main): Add tests with longer needles.
7046 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
7047 * string/strstr.c (AVAILABLE): Likewise.
7049 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7051 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
7053 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7055 * NEWS: Mention pow improvements.
7056 * math/Makefile (type-double-routines): Add e_pow_log_data.
7057 * sysdeps/generic/math_private.h (__exp1): Remove.
7058 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
7059 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
7060 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
7062 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
7063 (exp_inline): Remove.
7064 (__ieee754_exp): Only single double input is handled.
7065 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
7066 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
7067 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
7068 (__pow_log_data): Define.
7069 * sysdeps/ieee754/dbl-64/upow.h: Remove.
7070 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
7071 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
7072 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
7074 (CFLAGS-e_pow-fma4.c): Likewise.
7076 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
7078 Simplify tzfile fstat failure code
7080 * time/tzfile.c (__tzfile_read): Simplify slightly.
7082 Fix tzfile low-memory assertion failure
7084 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
7085 when registering time zone abbreviations.
7087 2018-09-18 Joseph Myers <joseph@codesourcery.com>
7089 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
7090 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
7091 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7092 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7093 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
7094 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
7095 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
7096 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7097 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7099 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
7101 (__ceill): Call ceil instead of __ceil.
7102 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
7104 (__floorl): Call floor instead of __floor.
7106 2018-09-17 Joseph Myers <joseph@codesourcery.com>
7108 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7109 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
7110 using MATH_REDIRECT.
7111 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
7113 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
7114 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7115 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7116 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
7117 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7118 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7119 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7120 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
7121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
7122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
7123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
7124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
7125 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7126 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7127 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7128 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7129 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7130 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7131 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
7133 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
7134 functions instead of __ceil variants.
7135 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7136 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7138 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7140 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7141 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7143 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7144 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7147 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
7149 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
7150 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
7151 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
7152 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
7153 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
7154 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
7155 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
7156 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
7157 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
7158 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
7159 (ILL_BADIADDR): Remove constant.
7160 (TRAP_BRANCH): Likewise.
7161 (TRAP_HWBKPT): Likewise.
7163 2018-09-14 Joseph Myers <joseph@codesourcery.com>
7166 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
7167 Remove [_MIPS_SIM = _ABIN32] conditional case.
7168 (struct elf_prpsinfo): Likewise.
7171 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
7172 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
7173 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
7175 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
7176 elf_prpsinfo): Likewise.
7177 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
7178 elf_prpsinfo): Likewise.
7179 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
7182 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7183 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
7184 using MATH_REDIRECT.
7185 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
7187 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
7188 * sysdeps/alpha/fpu/s_rint.c: Likewise.
7189 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
7190 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7191 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7192 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7193 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
7194 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7195 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7196 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7197 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
7198 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
7199 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
7200 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7201 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7202 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7203 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7204 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
7205 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7208 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7209 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7210 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7211 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7212 * sysdeps/x86_64/fpu/math_private.h: Remove file.
7213 * math/e_scalb.c (invalid_fn): Use rint functions instead of
7215 * math/e_scalbf.c (invalid_fn): Likewise.
7216 * math/e_scalbl.c (invalid_fn): Likewise.
7217 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7219 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7221 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7222 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
7223 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7225 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7227 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7229 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
7230 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
7232 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7233 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
7235 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7236 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
7237 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7238 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
7239 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7240 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
7241 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7242 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
7243 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7244 && !NO_MATH_REDIRECT] (floor): Likewise.
7245 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
7247 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
7248 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7249 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7250 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
7251 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7252 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7253 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7254 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
7256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
7257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
7258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
7259 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7260 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7263 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7264 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7265 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
7267 [_ARCH_PWR5X] (__floorf): Likewise.
7268 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
7270 [__SSE4_1__] (__floorf): Likewise.
7271 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
7272 instead of __floor variants.
7273 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
7274 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
7275 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
7276 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
7277 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
7278 * math/w_tgamma_compat.c (__tgamma): Likewise.
7279 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
7280 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
7281 * math/w_tgammal_compat.c (__tgammal): Likewise.
7282 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
7283 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7285 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7286 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
7287 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7288 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7290 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7291 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
7293 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7294 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
7296 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7297 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
7299 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7300 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7301 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7302 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
7303 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7304 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7306 2018-09-12 Joseph Myers <joseph@codesourcery.com>
7308 * elf/Makefile (modules-names-tests): New variable.
7310 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7312 * NEWS: Mention log2 improvements.
7313 * math/Makefile (type-double-routines): Add e_log2_data.
7314 * sysdeps/i386/fpu/e_log2_data.c: New file.
7315 * sysdeps/ia64/fpu/e_log2_data.c: New file.
7316 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
7317 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
7318 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
7319 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
7320 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
7322 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7324 * NEWS: Mention log improvement.
7325 * math/Makefile (type-double-routines): Add e_log_data.
7326 * sysdeps/i386/fpu/e_log_data.c: New file.
7327 * sysdeps/ia64/fpu/e_log_data.c: New file.
7328 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
7329 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
7330 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
7331 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
7332 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
7333 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
7335 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
7336 Xuepeng Guo <xuepeng.guo@intel.com>
7339 * sysdeps/i386/start.S: Include <sysdep.h>
7340 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
7341 enabled. Add cfi_undefined (eip).
7343 2018-09-11 Joseph Myers <joseph@codesourcery.com>
7345 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
7347 (EXTRACT_WORDS64): Likewise.
7348 (INSERT_WORDS64): Likewise.
7349 (GET_FLOAT_WORD): Likewise.
7350 (SET_FLOAT_WORD): Likewise.
7352 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
7354 (Config.build_gcc): Use --disable-libsanitizer for first GCC
7355 build, but not for second build if --full-gcc. Use
7356 --enable-languages=all for second build if --full-gcc.
7357 (get_parser): Add --full-gcc option.
7358 (main): Update call to Context.
7360 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
7363 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
7364 Single Quotation Mark).
7365 (thousands_sep): Likewise.
7366 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
7367 * localedata/locales/it_IT (thousands_sep): Use ".".
7368 (grouping): Use "3;3".
7370 2018-09-10 Joseph Myers <joseph@codesourcery.com>
7372 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7373 x86_64 and i686 configs using --enable-obsolete-rpc
7374 --enable-obsolete-nsl.
7376 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7378 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7380 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7382 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
7383 Increment size of new_argv by one.
7385 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
7388 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
7389 * localedata/locales/ar_IN (d_fmt): Likewise.
7390 * localedata/locales/bhb_IN (d_fmt): Likewise.
7391 * localedata/locales/bho_IN (d_fmt): Likewise.
7392 * localedata/locales/bn_BD (d_fmt): Likewise.
7393 * localedata/locales/bn_IN (d_fmt): Likewise.
7394 * localedata/locales/doi_IN (d_fmt): Likewise.
7395 * localedata/locales/gu_IN (d_fmt): Likewise.
7396 * localedata/locales/hi_IN (d_fmt): Likewise.
7397 * localedata/locales/hne_IN (d_fmt): Likewise.
7398 * localedata/locales/kn_IN (d_fmt): Likewise.
7399 * localedata/locales/mag_IN (d_fmt): Likewise.
7400 * localedata/locales/mai_IN (d_fmt): Likewise.
7401 * localedata/locales/mjw_IN (d_fmt): Likewise.
7402 * localedata/locales/ml_IN (d_fmt): Likewise.
7403 * localedata/locales/mni_IN (d_fmt): Likewise.
7404 * localedata/locales/mr_IN (d_fmt): Likewise.
7405 * localedata/locales/pa_IN (d_fmt): Likewise.
7406 * localedata/locales/raj_IN (d_fmt): Likewise.
7407 * localedata/locales/sat_IN (d_fmt): Likewise.
7408 * localedata/locales/sd_IN (d_fmt): Likewise.
7409 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
7410 * localedata/locales/ta_IN (d_fmt): Likewise.
7411 * localedata/locales/ta_LK (d_fmt): Likewise.
7412 * localedata/locales/tcy_IN (d_fmt): Likewise.
7413 * localedata/locales/ur_IN (d_fmt): Likewise.
7415 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
7416 * localedata/locales/ks_IN (d_fmt): Likewise.
7417 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
7419 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
7420 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
7421 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
7422 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
7424 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
7426 * NEWS: Mention exp and exp2 improvements.
7427 * math/Makefile (libm-support): Remove t_exp.
7428 (type-double-routines): Add math_err and e_exp_data.
7429 * sysdeps/aarch64/libm-test-ulps: Update.
7430 * sysdeps/arm/libm-test-ulps: Update.
7431 * sysdeps/i386/fpu/e_exp_data.c: New file.
7432 * sysdeps/i386/fpu/math_err.c: New file.
7433 * sysdeps/i386/fpu/t_exp.c: Remove.
7434 * sysdeps/ia64/fpu/e_exp_data.c: New file.
7435 * sysdeps/ia64/fpu/math_err.c: New file.
7436 * sysdeps/ia64/fpu/t_exp.c: Remove.
7437 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
7438 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
7439 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
7440 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
7441 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
7442 * sysdeps/ieee754/dbl-64/math_config.h: New file.
7443 * sysdeps/ieee754/dbl-64/math_err.c: New file.
7444 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
7445 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
7446 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
7447 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
7448 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
7449 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
7450 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
7451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7452 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7454 2018-09-05 Joseph Myers <joseph@codesourcery.com>
7456 * sysdeps/alpha/fpu/math_private.h: Remove.
7458 * sysdeps/generic/math_private.h
7459 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
7460 Move this inline function ....
7461 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
7462 * include/math.h [!_ISOMAC]: To here....
7464 2018-09-04 Joseph Myers <joseph@codesourcery.com>
7466 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
7468 [!FE_HAVE_ROUNDING_MODES]: And this code ....
7469 * include/fenv.h [!_ISOMAC]: ... to here.
7470 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
7471 (feraiseexcept): Likewise.
7472 * math/fromfp.h: Do not include <fenv_private.h>.
7473 * math/s_cexp_template.c: Likewise.
7474 * math/s_csin_template.c: Likewise.
7475 * math/s_csinh_template.c: Likewise.
7476 * math/s_ctan_template.c: Likewise.
7477 * math/s_ctanh_template.c: Likewise.
7478 * math/s_iseqsig_template.c: Likewise.
7479 * math/w_acos_compat.c: Likewise.
7480 * math/w_acosf_compat.c: Likewise.
7481 * math/w_acosl_compat.c: Likewise.
7482 * math/w_asin_compat.c: Likewise.
7483 * math/w_asinf_compat.c: Likewise.
7484 * math/w_asinl_compat.c: Likewise.
7485 * math/w_j0_compat.c: Likewise.
7486 * math/w_j0f_compat.c: Likewise.
7487 * math/w_j0l_compat.c: Likewise.
7488 * math/w_j1_compat.c: Likewise.
7489 * math/w_j1f_compat.c: Likewise.
7490 * math/w_j1l_compat.c: Likewise.
7491 * math/w_jn_compat.c: Likewise.
7492 * math/w_jnf_compat.c: Likewise.
7493 * math/w_log10_compat.c: Likewise.
7494 * math/w_log10f_compat.c: Likewise.
7495 * math/w_log10l_compat.c: Likewise.
7496 * math/w_log2_compat.c: Likewise.
7497 * math/w_log2f_compat.c: Likewise.
7498 * math/w_log2l_compat.c: Likewise.
7499 * math/w_log_compat.c: Likewise.
7500 * math/w_logf_compat.c: Likewise.
7501 * math/w_logl_compat.c: Likewise.
7502 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7503 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7504 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7505 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7506 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7507 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7508 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7509 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7510 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7511 * sysdeps/ieee754/k_standardl.c: Likewise.
7512 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7513 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7514 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7515 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7516 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7517 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7518 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7519 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7520 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7521 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7522 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7523 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7524 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7525 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7526 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7527 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7528 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7529 * math/w_ilogb_template.c: Include <fenv.h> instead of
7531 * math/w_llogb_template.c: Likewise.
7532 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7533 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7535 2018-09-03 Joseph Myers <joseph@codesourcery.com>
7537 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
7538 * math/fromfp.h: Include <fenv_private.h>.
7539 * math/math-narrow.h: Likewise.
7540 * math/s_cexp_template.c: Likewise.
7541 * math/s_csin_template.c: Likewise.
7542 * math/s_csinh_template.c: Likewise.
7543 * math/s_ctan_template.c: Likewise.
7544 * math/s_ctanh_template.c: Likewise.
7545 * math/s_iseqsig_template.c: Likewise.
7546 * math/w_acos_compat.c: Likewise.
7547 * math/w_acosf_compat.c: Likewise.
7548 * math/w_acosl_compat.c: Likewise.
7549 * math/w_asin_compat.c: Likewise.
7550 * math/w_asinf_compat.c: Likewise.
7551 * math/w_asinl_compat.c: Likewise.
7552 * math/w_ilogb_template.c: Likewise.
7553 * math/w_j0_compat.c: Likewise.
7554 * math/w_j0f_compat.c: Likewise.
7555 * math/w_j0l_compat.c: Likewise.
7556 * math/w_j1_compat.c: Likewise.
7557 * math/w_j1f_compat.c: Likewise.
7558 * math/w_j1l_compat.c: Likewise.
7559 * math/w_jn_compat.c: Likewise.
7560 * math/w_jnf_compat.c: Likewise.
7561 * math/w_llogb_template.c: Likewise.
7562 * math/w_log10_compat.c: Likewise.
7563 * math/w_log10f_compat.c: Likewise.
7564 * math/w_log10l_compat.c: Likewise.
7565 * math/w_log2_compat.c: Likewise.
7566 * math/w_log2f_compat.c: Likewise.
7567 * math/w_log2l_compat.c: Likewise.
7568 * math/w_log_compat.c: Likewise.
7569 * math/w_logf_compat.c: Likewise.
7570 * math/w_logl_compat.c: Likewise.
7571 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7572 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7573 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7574 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7575 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7576 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7577 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7578 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7579 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7580 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7581 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7582 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7583 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
7584 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
7585 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7586 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7587 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7588 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7589 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7590 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7591 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7592 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7593 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7594 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7595 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7596 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7597 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7598 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7599 * sysdeps/ieee754/float128/float128_private.h: Likewise.
7600 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7601 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7602 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7603 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7604 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7605 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7606 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7607 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7608 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7609 * sysdeps/ieee754/k_standardl.c: Likewise.
7610 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7612 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7613 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7614 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7615 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7616 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7617 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7618 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7619 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7620 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7621 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7622 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7623 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7624 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7625 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7626 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7627 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7628 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7629 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7630 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7631 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7632 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7633 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7634 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7635 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7636 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7637 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7638 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7639 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7640 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7641 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7642 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7643 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7644 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7645 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7646 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7647 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7648 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7649 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7650 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7651 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7652 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7653 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7654 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7655 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7656 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7657 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7658 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7659 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7660 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7661 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7662 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7663 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7664 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7665 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7666 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7667 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7668 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7669 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7670 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7671 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7672 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7673 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7674 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7675 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7676 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7677 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7678 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7679 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7680 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7682 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7685 * include/stdio.h (__libc_fatal): Mention newline in comment.
7686 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
7687 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
7688 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7689 * nss/nsswitch.c (__nss_next2): Likewise.
7690 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
7691 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
7692 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
7693 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7694 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
7695 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
7696 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
7697 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
7698 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
7699 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
7700 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
7701 * sysdeps/unix/sysv/linux/netlink_assert_response.c
7702 (__netlink_assert_response): Likewise.
7704 2018-08-31 Joseph Myers <joseph@codesourcery.com>
7706 * conform/glibcconform.py: New file.
7707 * conform/list-header-symbols.py: Likewise.
7708 * conform/list-header-symbols.pl: Remove.
7709 * conform/Makefile (tests-special): Only add linknamespace tests
7711 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
7713 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
7716 * support/Makefile (libsupport-routines): Add
7717 support_copy_file_range and xcopy_file_range.
7718 * support/support.h: Include <sys/types.h>.
7719 (support_copy_file_range): New prototype.
7720 * support/support_copy_file_range.c: New file. Copied and
7721 modified from io/copy_file_range-compat.c.
7722 * support/test-container.c (copy_one_file): Call xcopy_file_rang
7723 instead of copy_file_range.
7724 * support/xcopy_file_range.c: New file.
7725 * support/xunistd.h (xcopy_file_range): New prototype.
7727 2018-08-30 Carlos O'Donell <carlos@redhat.com>
7729 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
7730 xpthread_create and xpthread_join.
7732 2018-08-30 Florian Weimer <fweimer@redhat.com>
7734 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
7736 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
7738 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
7741 2018-08-29 Joseph Myers <joseph@codesourcery.com>
7743 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
7744 and minus_oflow as non-finite.
7746 2018-08-28 Joseph Myers <joseph@codesourcery.com>
7748 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
7749 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
7750 moved to fenv_private.h except for ...
7751 (TOINT_INTRINSICS): Kept in math_private.h.
7752 (roundtoint): Likewise.
7753 (converttoint): Likewise.
7754 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
7755 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7756 * sysdeps/arm/math_private.h: Remove.
7757 * sysdeps/generic/fenv_private.h: New file. Contents moved from
7759 * sysdeps/generic/math_private.h: ... this file. Include
7760 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
7761 Include <fenv_private.h>. Remove functions and macros moved to
7763 * sysdeps/i386/fpu/math_private.h: Remove.
7764 * sysdeps/mips/math_private.h: Move to ....
7765 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
7766 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
7767 [__mips_hard_float] conditional. Include next <fenv_private.h>.
7768 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
7769 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7770 * sysdeps/powerpc/fpu/math_private.h: Do not include
7772 * sysdeps/riscv/rvf/math_private.h: Move to ....
7773 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
7774 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
7776 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
7777 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7778 * sysdeps/sparc/fpu/math_private.h: Remove.
7779 * sysdeps/i386/fpu/fenv_private.h: Move to ....
7780 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
7781 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
7783 * sysdeps/x86_64/fpu/math_private.h: Do not include
7784 <sysdeps/i386/fpu/fenv_private.h>.
7786 2018-08-28 Florian Weimer <fweimer@redhat.com>
7789 * posix/tst-regcomp-truncated.c: New file.
7790 * posix/Makefile (tests): Add it.
7791 (tst-regcomp-truncated.out): Depend on generated locales.
7793 2018-08-28 Florian Weimer <fweimer@redhat.com>
7795 * support/test-container.c (main): Treat unshare failure with
7796 EPERM as an unsupported test.
7798 2018-08-28 Florian Weimer <fweimer@redhat.com>
7801 nscd: Fix use-after-free in addgetnetgrentX and its callers.
7802 * nscd/netgroupcache.c
7803 (addgetnetgrentX): Add tofreep parameter. Do not free
7804 heap-allocated buffer.
7805 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
7806 (addgetnetgrentX_ignore): New function.
7807 (addgetnetgrent): Call it.
7808 (readdgetnetgrent): Likewise.
7810 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7812 * string/memmem.c: Use memcmp for first match.
7814 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7817 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
7819 2018-08-27 DJ Delorie <dj@redhat.com>
7821 * support/Makefile (others): Don't list programs explicitly as a
7822 dependency of "others".
7824 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7826 * sysdeps/generic/math-tests-trap-force.h: New file.
7827 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
7828 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
7829 * sysdeps/powerpc/math-tests.h: Remove file.
7830 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
7832 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
7833 Torvald Riegel <triegel@redhat.com>
7836 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
7837 Update r to include the set wake-request flag if waiters are
7838 remaining after spinning.
7840 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7842 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
7844 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
7847 regex: fix uninitialized memory access
7848 I introduced this bug into gnulib in commit
7849 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
7850 eventually it was merged into glibc. The bug was found by
7851 project-repo <bugs@feusi.co> and reported here:
7852 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
7853 Diagnosis and draft fix reported by Assaf Gordon here:
7854 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
7855 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
7856 * posix/regex_internal.c (build_wcs_upper_buffer):
7857 Fix bug when mbrtowc returns 0.
7859 2018-08-24 Carlos O'Donell <carlos@redhat.com>
7861 * po/be.po: Update translation.
7863 2018-08-24 DJ Delorie <dj@delorie.com>
7865 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
7868 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7871 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
7872 create temporary files in source tree.
7874 2018-08-24 Joseph Myers <joseph@codesourcery.com>
7876 * sysdeps/generic/math-tests-trap.h: New file.
7877 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
7878 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
7879 * sysdeps/aarch64/math-tests.h: Remove file.
7880 * sysdeps/arm/math-tests.h: Likewise.
7881 * sysdeps/riscv/math-tests.h: Likewise.
7882 * sysdeps/aarch64/math-tests-trap.h: New file.
7883 * sysdeps/arm/math-tests-trap.h: Likewise.
7884 * sysdeps/riscv/math-tests-trap.h: Likewise.
7886 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
7888 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
7889 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
7890 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
7891 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
7892 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
7893 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
7894 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7895 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
7896 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
7897 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7898 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7899 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7900 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7901 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
7902 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
7903 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
7904 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7905 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7907 2018-08-23 Joseph Myers <joseph@codesourcery.com>
7909 * sysdeps/generic/math-tests-exceptions.h: New file.
7910 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
7911 (EXCEPTION_TESTS_float): Do not define here.
7912 (EXCEPTION_TESTS_double): Likewise.
7913 (EXCEPTION_TESTS_long_double): Likewise.
7914 (EXCEPTION_TESTS_float128): Likewise.
7915 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
7917 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
7918 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
7919 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
7920 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
7921 * sysdeps/mips/math-tests.h: Likewise.
7922 * sysdeps/nios2/math-tests.h: Likewise.
7923 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7924 (EXCEPTION_TESTS_float): Do not define here.
7925 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
7926 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
7927 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
7929 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7931 * NEWS: Move optimized sinf entry to 2.29.
7933 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7935 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
7937 2018-08-22 DJ Delorie <dj@redhat.com>
7939 * Makefile (testroot.pristine): New rules to initialize the
7940 test-in-container "testroot".
7941 * Makerules (all-testsuite): Add tests-container.
7942 * Rules (tests-expected): Add tests-container.
7943 (binaries-all-tests): Likewise.
7944 (tests-container): New, run these tests in the testroot container.
7945 * support/Makefile (others): Add *-container, support_paths.c,
7946 xmkdirp, and links-dso-program.
7947 * support/links-dso-program-c.c: New.
7948 * support/links-dso-program.cc: New.
7949 * support/test-container.c: New.
7950 * support/shell-container.c: New.
7951 * support/echo-container.c: New.
7952 * support/true-container.c: New.
7953 * support/xmkdirp.c: New.
7954 * support/xsymlink.c: New.
7955 * support/support_paths.c: New.
7956 * support/support.h: Add support paths prototypes.
7957 * support/xunistd.h: Add xmkdirp () and xsymlink ().
7959 * nss/tst-nss-test3.c: Convert to test-in-container.
7960 * nss/tst-nss-test3.root/: New.
7962 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
7964 regex: port Gnulib code to z/OS POSIX environment
7965 Problem reported by Arnold Robbins in:
7966 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
7967 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
7970 2018-08-22 Joseph Myers <joseph@codesourcery.com>
7972 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
7973 (ROUNDING_TESTS_double): Remove.
7974 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
7975 (ROUNDING_TESTS_double): Remove.
7976 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
7977 (ROUNDING_TESTS_double): Remove.
7978 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
7979 (ROUNDING_TESTS_float): Remove.
7980 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
7981 (ROUNDING_TESTS_float): Remove.
7982 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
7983 (ROUNDING_TESTS_float): Remove.
7984 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
7986 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7987 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7989 * sysdeps/generic/math-tests-rounding.h: New file.
7990 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
7991 (ROUNDING_TESTS_float): Do not define here.
7992 (ROUNDING_TESTS_double): Likewise.
7993 (ROUNDING_TESTS_long_double): Likewise.
7994 (ROUNDING_TESTS_float128): Likewise.
7995 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
7996 (ROUNDING_TESTS_double): Undefine before defining.
7997 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
7998 (ROUNDING_TESTS_double): Undefine before defining.
7999 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
8000 (ROUNDING_TESTS_double): Undefine before defining.
8001 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
8002 (ROUNDING_TESTS_float): Undefine before defining.
8003 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
8004 (ROUNDING_TESTS_float): Undefine before defining.
8005 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
8006 (ROUNDING_TESTS_float): Undefine before defining.
8007 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
8008 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
8010 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
8011 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
8012 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
8013 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8014 (ROUNDING_TESTS_float): Do not define here.
8015 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
8016 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
8017 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
8018 (ROUNDING_TESTS_float): Likewise.
8019 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
8020 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
8021 * sysdeps/mips/math-tests.h [__mips_soft_float]
8022 (ROUNDING_TESTS_float): Likewise.
8023 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
8024 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
8025 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
8026 (ROUNDING_TESTS_double): Likewise.
8027 (ROUNDING_TESTS_long_double): Likewise.
8029 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
8031 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
8032 (PF_XDP): New macro.
8033 (AF_XDP): New macro.
8034 (SOL_XDP): New macro.
8036 2018-08-21 Joseph Myers <joseph@codesourcery.com>
8038 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
8039 (TCP_INQ): Likewise.
8040 (TCP_CM_INQ): Likewise.
8041 (TCP_REPAIR_ON): Likewise.
8042 (TCP_REPAIR_OFF): Likewise.
8043 (TCP_REPAIR_OFF_NO_WP): Likewise.
8044 (struct tcp_zerocopy_receive): New type.
8046 2018-08-21 Florian Weimer <fweimer@redhat.com>
8048 * support/support.h (support_descriptor_supports_holes): Declare.
8049 * support/Makefile (libsupport-routines): Add
8050 support_descriptor_supports_holes.
8051 * support/support_descriptor_supports_holes.c: New file.
8052 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
8053 and stop testing if holes are not supported.
8054 * io/test-lfs.c (do_prepare): Likewise.
8055 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
8057 * timezone/tst-tzset.c (create_tz_file): Likewise.
8058 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
8060 (do_prepare): Set it.
8061 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
8063 2018-08-21 Florian Weimer <fweimer@redhat.com>
8066 * Makeconfig (+cflags): Do not sort (and deduplicate).
8068 2018-08-21 Florian Weimer <fweimer@redhat.com>
8070 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
8071 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
8073 2018-08-20 Florian Weimer <fweimer@redhat.com>
8075 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
8076 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
8078 2018-08-20 Joseph Myers <joseph@codesourcery.com>
8080 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
8081 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
8082 and ssi_arch members.
8084 * elf/elf.c (NT_VMCOREDD): New macro.
8085 (AT_MINSIGSTKSZ): Likewise.
8087 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8089 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8090 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
8091 s_cosf-ppc64 and s_cosf-power8.
8092 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
8093 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8094 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8095 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
8099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
8100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8102 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
8103 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8105 2018-08-17 Florian Weimer <fweimer@redhat.com>
8107 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8109 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
8111 * malloc/malloc.c (_int_malloc): Additional binning code checks.
8113 2018-08-16 Florian Weimer <fweimer@redhat.com>
8115 * configure.ac: Add --with-nonshared-cflags option.
8116 * config.make.in (extra-nonshared-cflags): Set variable.
8117 * Makeconfig (CFLAGS-.oS): Use it.
8118 * manual/install.texi (Configuring and compiling): Document
8119 --with-nonshared-cflags.
8120 * configure: Regenerate.
8121 * INSTALL: Likewise.
8123 2018-08-16 Florian Weimer <fweimer@redhat.com>
8125 * Makeconfig (ASFLAGS): Always append required assembler flags.
8127 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
8129 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
8130 (malloc_consolidate): Likewise.
8132 2018-08-16 Pochang Chen <johnchen902@gmail.com>
8134 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
8136 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8138 * benchtests/bench-strlen.c (do_test): Allocate buffers before
8141 * benchtests/bench-strlen.c: Print performance numbers in json.
8143 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8145 * sysdeps/powerpc/powerpc64/multiarch/Makefile
8146 (sysdep_routines): Build strcmp-power9 and strncmp-power9
8147 only for little endian.
8148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8149 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
8150 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
8151 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
8152 Add check for little endian.
8153 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8154 (__strcmp_power9): Add check for little endian.
8155 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
8156 Add check for little endian.
8157 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8158 (__strncmp_power9): Add check for little endian.
8159 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
8160 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
8161 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
8162 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
8163 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
8165 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
8167 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
8168 [!STRLEN](STRLEN): Set to __strlen.
8169 * sysdeps/aarch64/multiarch/strlen.c: New file.
8170 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
8171 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
8172 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8173 (__libc_ifunc_impl_list): Add strlen.
8174 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8175 strlen_generic and strlen_asimd.
8177 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8179 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
8180 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
8181 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8183 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8185 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
8187 2018-08-14 Florian Weimer <fweimer@redhat.com>
8190 * include/stdio.h (__vfxprintf): Declare.
8191 * stdio-common/fxprintf.c (__vfxprintf): New function.
8192 (__fxprintf): Call it.
8193 * misc/err.c (convert_and_print): Remove function.
8194 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
8195 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
8196 * misc/Makefile (tests): Add tst-warn-wide.
8197 * misc/tst-warn-wide.c: New file.
8199 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
8200 Szabolcs Nagy <szabolcs.nagy@arm.com>
8202 * NEWS: Mention sinf, cosf, sincosf.
8203 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
8204 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
8205 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
8206 constants rather than including generic sincosf.h.
8207 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
8208 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
8209 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
8210 (reduced_cos): Remove.
8211 (sinf_poly): New function.
8212 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
8214 2018-08-14 Florian Weimer <fweimer@redhat.com>
8218 * nss/nss_files/files-alias.c (get_next_alias): During :include:
8219 processing, bail out if no room, and close the stream before
8221 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
8222 (tst-nss-files-alias-leak): Link with libdl.
8223 (tst-nss-files-alias-leak.out): Depend on nss_files.
8225 * nss/tst-nss-files-alias-leak.c: New file.
8227 2018-08-14 Florian Weimer <fweimer@redhat.com>
8229 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
8230 server_user, stat_user.
8232 2018-08-13 Joseph Myers <joseph@codesourcery.com>
8234 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8236 (io_pgetevents): New syscall.
8239 * manual/install.texi (Configuring and compiling): Do not list
8240 tools used for testing pretty printers here.
8241 (Tools for Compilation): List Python, PExpect and GDB here.
8242 Update descriptions of uses of Perl and Python.
8243 * INSTALL: Regenerate.
8245 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8248 2018-08-13 Florian Weimer <fweimer@redhat.com>
8250 * misc/error.c (error): Add missing va_end call.
8251 (error_at_line): Likewise.
8253 2018-08-13 Florian Weimer <fweimer@redhat.com>
8255 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
8257 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8259 * benchtests/scripts/benchout.schema.json (properties): Add
8262 * benchtests/bench-skeleton.c (main): Add duration and
8263 iterations attributes.
8265 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
8267 regex: Gnulib unibyte RRI uses bytes not chars
8268 Adjust the non-glibc code to agree with what Gawk needs for
8269 rational range interpretation (RRI) for regular expression ranges.
8270 In unibyte locales, Gawk wants ranges to use the underlying byte
8271 rather than the character code point. This change does not affect
8273 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
8274 In unibyte locales, use the byte value rather than
8275 running it through btowc.
8277 2018-08-10 Joseph Myers <joseph@codesourcery.com>
8279 * sysdeps/generic/math-tests-snan.h: New file.
8280 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
8281 (SNAN_TESTS_float): Do not define here.
8282 (SNAN_TESTS_double): Likewise.
8283 (SNAN_TESTS_long_double): Likewise.
8284 (SNAN_TESTS_float128): Likewise.
8285 * sysdeps/i386/fpu/math-tests-snan.h: New file.
8286 * sysdeps/i386/fpu/math-tests.h: Remove file.
8287 * sysdeps/ia64/math-tests-snan.h: New file.
8288 * sysdeps/ia64/math-tests.h: Remove file.
8289 * sysdeps/x86/math-tests.h: Likewise.
8290 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
8292 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8293 Szabolcs Nagy <szabolcs.nagy@arm.com>
8295 * math/Makefile: Add s_sincosf_data.c.
8296 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
8297 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
8298 (sincosf_poly): Likewise.
8299 (reduce_small): Likewise.
8300 (reduce_large): Likewise.
8301 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
8302 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
8303 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
8304 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
8306 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8307 Szabolcs Nagy <szabolcs.nagy@arm.com>
8309 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
8310 (converttoint): Use lround.
8311 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
8312 document the semantics when TOINT_INTRINSICS is set.
8313 (converttoint): Likewise.
8314 (TOINT_RINT): Remove.
8315 (TOINT_SHIFT): Remove.
8316 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
8319 2018-08-10 Florian Weimer <fweimer@redhat.com>
8322 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
8324 (__old_getdents64): Use getdents64. Convert entries without
8326 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
8327 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
8328 tst-readdir64-compat.
8330 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8332 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
8335 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8337 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
8338 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
8339 code to s390x-mcount.h and #include it.
8340 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
8341 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8344 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8346 * stdlib/Versions: Remove __fentry__.
8347 * sysdeps/i386/Versions: Add __fentry__.
8348 * sysdeps/x86_64/Versions: Add __fentry__.
8350 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8352 * sysdeps/s390/Makefile: Register the new tests.
8353 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
8354 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
8355 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
8356 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
8357 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
8358 * sysdeps/s390/tst-dl-runtime.c: New file.
8360 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8362 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8365 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8367 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8370 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8372 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8375 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8377 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8380 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8382 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8383 Use symbolic offsets for stack variables.
8385 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8387 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8388 Use symbolic offsets for stack variables.
8390 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8392 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8393 Use symbolic offsets for stack variables.
8395 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8397 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8398 Use symbolic offsets for stack variables.
8400 2018-08-09 Joseph Myers <joseph@codesourcery.com>
8402 * math/gen-libm-test.py: New file.
8403 * math/gen-libm-test.pl: Remove.
8404 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
8405 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
8407 ($(libm-test-c-noauto-obj)): Likewise.
8408 ($(libm-test-c-auto-obj)): Likewise.
8409 ($(libm-test-c-narrow-obj)): Likewise.
8410 (regen-ulps): Likewise.
8411 * math/README.libm-test: Update references to gen-libm-test.pl.
8412 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
8413 referencing gen-libm-test.pl.
8414 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
8415 * math/libm-test-support.c: Likewise.
8416 * math/libm-test-support.h: Likewise.
8417 * sysdeps/generic/libm-test-ulps: Likewise.
8419 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8421 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
8424 2018-08-08 Joseph Myers <joseph@codesourcery.com>
8426 * math/libm-test-nextdown.inc (do_test): Move comment to ....
8427 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
8429 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8431 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
8433 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
8434 __pthread_setspecific): Add hidden proto.
8435 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
8436 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
8438 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8440 * benchtests/bench-string.h (buf1_size, buf2_size): New
8442 (init_sizes): New function.
8443 (test_init): Use it.
8444 (alloc_buf, exit_error): New functions.
8445 (alloc_bufs): Use ALLOC_BUF.
8446 (realloc_bufs): Remove.
8447 * benchtests/bench-memcmp.c (do_test): Adjust.
8448 * benchtests/bench-memset-large.c (do_test): Likewise.
8449 * benchtests/bench-memset-walk.c (do_test): Likewise.
8450 * benchtests/bench-memset.c (do_test): Likewise.
8451 * benchtests/bench-strncmp.c (do_test): Likewise.
8453 2018-08-06 Andreas Schwab <schwab@suse.de>
8455 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
8456 of CONST_THREAD_AREA.
8458 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
8460 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
8461 (STATE_SAVE_MASK): Likewise.
8462 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
8463 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
8464 (STATE_SAVE_MASK): Likewise.
8465 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
8466 instead of <cpu-features.h>.
8468 2018-08-03 DJ Delorie <dj@redhat.com>
8470 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
8471 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
8473 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
8475 2018-08-03 Joseph Myers <joseph@codesourcery.com>
8477 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
8479 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
8480 * math/libm-test-logb.inc (logb_test_data): Likewise.
8482 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
8484 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
8485 * string/strstr.c (AVAILABLE): Likewise.
8487 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8489 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
8491 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
8492 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
8493 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
8495 2018-08-03 Carlos O'Donell <carlos@redhat.com>
8497 * po/be.po: Update translation.
8499 * po/be.po: Update translation.
8501 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8503 * sysdeps/x86/cpu-features-offsets.sym
8504 (rtld_global_ro_offsetof): Removed.
8505 (CPU_FEATURES_SIZE): Likewise.
8506 (CPUID_OFFSET): Likewise.
8507 (CPUID_SIZE): Likewise.
8508 (CPUID_EAX_OFFSET): Likewise.
8509 (CPUID_EBX_OFFSET): Likewise.
8510 (CPUID_ECX_OFFSET): Likewise.
8511 (CPUID_EDX_OFFSET): Likewise.
8512 (FAMILY_OFFSET): Likewise.
8513 (MODEL_OFFSET): Likewise.
8514 (FEATURE_OFFSET): Likewise.
8515 (FEATURE_SIZ): Likewise.
8516 (COMMON_CPUID_INDEX_1): Likewise.
8517 (COMMON_CPUID_INDEX_7): Likewise.
8518 (FEATURE_INDEX_1): Likewise.
8519 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
8521 2018-08-02 Carlos O'Donell <carlos@redhat.com>
8523 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
8524 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
8525 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
8526 (install-locales): Depend on install-locale-archive.
8527 (install-locale-archive): Define.
8528 (install-locale-files): Define.
8529 (build-one-locale): Define macro.
8530 * manual/install.texi (Running make install): Document.
8531 * manual/INSTALL: Regenerate.
8533 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8535 * benchtests/scripts/compare_strings.py: Import traceback.
8536 (parse_file): Pretty-print error.
8538 * NEWS: Mention the change.
8539 * elf/dl-tunables.list: Rename tune namespace to cpu.
8540 * sysdeps/powerpc/dl-tunables.list: Likewise.
8541 * sysdeps/x86/dl-tunables.list: Likewise.
8542 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
8544 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
8545 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
8546 * manual/README.tunables: Likewise.
8547 * manual/tunables.texi: Likewise.
8548 * sysdeps/powerpc/cpu-features.c: Likewise.
8549 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8550 (init_cpu_features): Likewise.
8551 * sysdeps/x86/cpu-features.c: Likewise.
8552 * sysdeps/x86/cpu-features.h: Likewise.
8553 * sysdeps/x86/cpu-tunables.c: Likewise.
8554 * sysdeps/x86_64/Makefile: Likewise.
8555 * sysdeps/x86/dl-cet.c: Likewise.
8557 2018-08-02 Joseph Myers <joseph@codesourcery.com>
8560 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
8561 [__mips_hard_float].
8562 (FE_UNDERFLOW): Likewise.
8563 (FE_OVERFLOW): Likewise.
8564 (FE_DIVBYZERO): Likewise.
8565 (FE_INVALID): Likewise.
8566 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
8567 (FE_TOWARDZERO): Define only if [__mips_hard_float].
8568 (FE_UPWARD): Likewise.
8569 (FE_DOWNWARD): Likewise.
8570 (__FE_UNDEFINED): Define if [!__mips_hard_float]
8571 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
8572 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
8573 [__mips_hard_float].
8574 (FP_ROUNDMODE): Likewise.
8575 (FP_RND_NEAREST): Likewise.
8576 (FP_RND_ZERO): Likewise.
8577 (FP_RND_PINF): Likewise.
8578 (FP_RND_MINF): Likewise.
8579 (FP_EX_INVALID): Likewise.
8580 (FP_EX_OVERFLOW): Likewise.
8581 (FP_EX_UNDERFLOW): Likewise.
8582 (FP_EX_DIVZERO): Likewise.
8583 (FP_EX_INEXACT): Likewise.
8584 (FP_INIT_ROUNDMODE): Likewise.
8585 * sysdeps/mips/nofpu/fesetenv.c: New file.
8586 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
8588 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8590 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
8591 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
8592 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
8593 conditional on [FE_UPWARD].
8595 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
8597 regex: fix memory leak in Gnulib
8598 Problem and fix reported by Assaf Gordon in:
8599 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
8600 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
8601 range_ends members too, as they are defined in 'struct
8602 re_charset_t' even if not _LIBC. This affects only Gnulib.
8604 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
8606 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
8608 (get_common_indices): This.
8609 (init_cpu_features): Updated.
8611 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8613 * sysdeps/generic/math-tests-snan-payload.h: New file.
8614 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
8615 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
8616 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
8617 * sysdeps/generic/math-tests.h: Include
8618 <math-tests-snan-payload.h>.
8619 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8620 * sysdeps/hppa/math-tests.h: Remove file.
8621 * sysdeps/mips/math-tests.h [!__mips_nan2008]
8622 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8623 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
8626 * sysdeps/generic/math-tests-snan-cast.h: New file.
8627 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
8628 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
8629 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
8630 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
8632 2018-08-01 Carlos O'Donel <carlos@redhat.com>
8634 * version.h (RELEASE): Set to "development".
8635 (VERSION): Set to "2.28.9000".
8636 * NEWS (2.29): New section.
8638 * version.h (RELEASE): Set to "stable".
8639 (VERSION): Set to "2.28".
8640 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
8641 * NEWS: Add the list of bugs fixed in 2.28.
8643 * po/ca.po: Update to latest version.
8644 * po/cs.po: Likewise
8645 * po/da.po: Likewise
8646 * po/el.po: Likewise
8647 * po/eo.po: Likewise
8648 * po/es.po: Likewise
8649 * po/fi.po: Likewise
8650 * po/fr.po: Likewise
8651 * po/gl.po: Likewise
8652 * po/hu.po: Likewise
8653 * po/ia.po: Likewise
8654 * po/id.po: Likewise
8655 * po/it.po: Likewise
8656 * po/ja.po: Likewise
8657 * po/ko.po: Likewise
8658 * po/lt.po: Likewise
8659 * po/nb.po: Likewise
8660 * po/nl.po: Likewise
8661 * po/pt_BR.po: Likewise
8662 * po/ru.po: Likewise
8663 * po/rw.po: Likewise
8664 * po/sk.po: Likewise
8665 * po/sl.po: Likewise
8666 * po/tr.po: Likewise
8667 * po/zh_CN.po: Likewise
8668 * po/zh_TW.po: Likewise
8670 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8672 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
8674 (init): ... before initializing libpthread.
8676 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
8677 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
8678 (__mach_setup_tls): ... new function.
8679 (mach_setup_tls): New alias.
8680 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
8681 __mach_setup_thread.
8682 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
8683 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
8684 * mach/Versions [libc] (mach_setup_tls): Add symbol.
8685 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
8687 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8689 * manual/install.texi: Update versions.
8690 * INSTALL: Regenerate.
8692 * manual/contrib.texi (Contributors): Update contributions.
8694 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8696 * po/be.po: Update translations.
8698 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8700 * sysdeps/sh/libm-test-ulps: Update.
8702 2018-07-30 Carlos O'Donell <carlos@redhat.com>
8704 * po/bg.po: Update translations.
8705 * po/de.po: Likewise.
8706 * po/hr.po: Likewise.
8707 * po/pt_BR.po: Likewise.
8708 * po/sv.po: Likewise.
8709 * po/vi.po: Likewise.
8711 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8714 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8715 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
8716 (CFLAGS-tst-cet-property-1.o): New.
8717 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
8718 ($(objpfx)tst-cet-property-2): Likewise.
8719 ($(objpfx)tst-cet-property-2.out): Likewise.
8720 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
8721 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
8722 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
8723 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
8724 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
8726 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8729 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
8731 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8733 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
8734 __sbrk): Do not set attribute_hidden.
8735 * sysdeps/mach/hurd/not-errno.h: New file.
8736 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8737 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
8739 2018-07-27 Carlos O'Donell <carlos@redhat.com>
8741 * po/uk.po: Update translations.
8742 * po/cs.po: Likewise.
8743 * po/pl.po: Likewise.
8745 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
8747 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
8748 parse beyond the note end.
8750 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8752 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
8753 kernel does not support OFD locks.
8754 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
8756 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8758 * sysdeps/mach/hurd/Versions (libc): Make __access and
8759 __access_noerrno external so they can override the ld symbols.
8760 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
8761 __writev, __open64, __access_noerrno extern so they can be overrided.
8762 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
8763 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8765 2018-07-26 Carlos O'Donell <carlos@redhat.com>
8767 * po/libc.pot: Regenerate.
8769 2018-07-26 Joseph Myers <joseph@codesourcery.com>
8771 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
8773 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8776 * sysdeps/x86/cpu-features.c (get_extended_indices): New
8778 (init_cpu_features): Call get_extended_indices for both Intel
8780 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
8781 Remove "for AMD" comment.
8783 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8786 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
8787 COMMON_CPUID_INDEX_80000001.
8789 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
8791 * string/tst-xbzero-opt.c (use_test_buffer): New function.
8792 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
8794 2018-07-26 Florian Weimer <fweimer@redhat.com>
8796 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
8797 aliases for symbols not in the implementation namespace.
8799 2018-07-25 Carlos O'Donell <carlos@redhat.com>
8802 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
8803 lowercase in LATIN script.
8804 * localedata/Makefile (test-input): Add en_US.UTF-8.
8805 * localedata/en_US.UTF-8.in: New file.
8806 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
8807 and restore old tests.
8808 * posix/tst-regexloc.c (do_test): Add back range expression test.
8810 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8812 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
8814 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8816 * nptl/threads.h: Move to ...
8817 * sysdeps/nptl/threads.h: ... here.
8818 * sysdeps/hurd/stdc-predef.h: New file.
8820 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8822 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8823 tst-cet-setcontext-1 if CET is enabled.
8824 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
8825 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
8827 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8829 * include/threads.h: Move to ...
8830 * sysdeps/nptl/threads.h: ... here.
8831 * sysdeps/htl/threads.h: New file.
8832 * conform/Makefile (linknamespace-libs-ISO11): Use
8833 static-thread-library instead of linking libpthread.
8834 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
8836 2018-07-25 Florian Weimer <fweimer@redhat.com>
8838 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
8839 nanoseconds into seconds.
8840 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
8841 (do_test): Likewise.
8842 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
8843 (do_test): Likewise. Avoid nanosecond overflow and spurious
8844 timeouts due to system load.
8845 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
8846 (child_wait): Increment it.
8847 (do_test): Wait as long as necessary until all expected threads
8850 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
8851 H.J. Lu <hongjiu.lu@intel.com>
8853 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
8855 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
8856 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
8857 (__push___start_context): New.
8858 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
8860 (__getcontext): Record the current shadow stack base. Save the
8861 caller's shadow stack pointer and base.
8862 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
8863 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
8864 (__push___start_context): New prototype.
8865 (__makecontext): Call __push___start_context to allocate a new
8866 shadow stack, push __start_context onto the new stack as well
8867 as the new shadow stack.
8868 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
8870 (__setcontext): Restore the target shadow stack.
8871 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
8873 (__swapcontext): Record the current shadow stack base. Save
8874 the caller's shadow stack pointer and base. Restore the target
8876 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8877 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
8878 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
8880 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8882 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
8883 tst-setcontext8 and tst-setcontext9.
8884 * stdlib/tst-setcontext6.c: New file.
8885 * stdlib/tst-setcontext7.c: Likewise.
8886 * stdlib/tst-setcontext8.c: Likewise.
8887 * stdlib/tst-setcontext9.c: Likewise.
8889 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8891 * stdlib/Makefile ((tests): Add tst-setcontext5.
8892 * stdlib/tst-setcontext5.c: New file.
8894 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8896 * stdlib/Makefile (tests): Add tst-setcontext4.
8897 * stdlib/tst-setcontext4.c: New file.
8899 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8901 * stdlib/Makefile (tests): Add tst-swapcontext1.
8902 * stdlib/tst-swapcontext1.c: New test.
8904 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8906 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
8907 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
8908 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
8909 and tst-cet-legacy-4c.
8910 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
8911 and tst-cet-legacy-mod-4.
8912 (CFLAGS-tst-cet-legacy-2.c): New.
8913 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
8914 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
8915 (CFLAGS-tst-cet-legacy-3.c): Likewise.
8916 (CFLAGS-tst-cet-legacy-4.c): Likewise.
8917 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
8918 ($(objpfx)tst-cet-legacy-1): Likewise.
8919 ($(objpfx)tst-cet-legacy-2): Likewise.
8920 ($(objpfx)tst-cet-legacy-2.out): Likewise.
8921 ($(objpfx)tst-cet-legacy-2a): Likewise.
8922 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
8923 ($(objpfx)tst-cet-legacy-4): Likewise.
8924 ($(objpfx)tst-cet-legacy-4.out): Likewise.
8925 ($(objpfx)tst-cet-legacy-4a): Likewise.
8926 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
8927 (tst-cet-legacy-4a-ENV): Likewise.
8928 ($(objpfx)tst-cet-legacy-4b): Likewise.
8929 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
8930 (tst-cet-legacy-4b-ENV): Likewise.
8931 ($(objpfx)tst-cet-legacy-4c): Likewise.
8932 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
8933 (tst-cet-legacy-4c-ENV): Likewise.
8934 * sysdeps/x86/tst-cet-legacy-1.c: New file.
8935 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
8936 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
8937 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
8938 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
8939 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
8940 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
8941 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
8942 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
8943 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
8944 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
8946 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8948 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8949 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8951 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8952 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8955 2018-07-25 Andreas Schwab <schwab@suse.de>
8958 * locale/weightwc.h (findidx): Handle the case where usrc is a
8959 prefix of cp but one character too short.
8961 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8963 * NEWS: Add ISO C threads addition.
8965 2018-07-24 Florian Weimer <fweimer@redhat.com>
8967 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8968 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
8969 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
8972 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8974 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
8975 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
8976 <sys/prctl.h> and <asm/prctl.h>.
8977 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
8978 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
8980 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
8981 ARCH_CET_LEGACY_BITMAP.
8982 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
8983 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
8984 * sysdeps/x86/libc-start.c: Include <startup.h>.
8986 2018-07-24 Florian Weimer <fweimer@redhat.com>
8988 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
8989 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
8991 2018-07-24 Rical Jasan <rj@2c3t.io>
8992 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8993 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8996 * manual/debug.texi: Update adjacent chapter name.
8997 * manual/probes.texi: Likewise.
8998 * manual/threads.texi (ISO C Threads): New section.
8999 (POSIX Threads): Convert to a section.
9001 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9002 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9005 * nptl/Makefile (tests): Add new test files.
9006 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
9007 * nptl/tst-cnd-basic.c: Likewise.
9008 * nptl/tst-cnd-broadcast.c: Likewise.
9009 * nptl/tst-cnd-timedwait.c: Likewise.
9010 * nptl/tst-mtx-basic.c: Likewise.
9011 * nptl/tst-mtx-recursive.c: Likewise.
9012 * nptl/tst-mtx-timedlock.c: Likewise.
9013 * nptl/tst-mtx-trylock.c: Likewise.
9014 * nptl/tst-thrd-basic.c: Likewise.
9015 * nptl/tst-thrd-detach.c: Likewise.
9016 * nptl/tst-thrd-sleep.c: Likewise.
9017 * nptl/tst-tss-basic.c: Likewise.
9019 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9022 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9023 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
9025 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9026 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9027 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9028 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9029 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9030 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9031 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9032 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9033 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9034 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9035 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9036 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9044 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9045 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9046 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9047 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9048 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9049 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9050 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9051 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9052 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
9053 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
9054 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
9055 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
9056 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
9058 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9059 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9060 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9061 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9062 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9063 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9064 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9065 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9066 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9067 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9068 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9069 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9076 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9077 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9078 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9079 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9080 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9081 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9082 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9083 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9086 * conform/data/threads.h-data (thread_local): New macro.
9087 (TSS_DTOR_ITERATIONS): Likewise.
9089 (tss_dtor_t): Likewise.
9090 (tss_create): New function.
9091 (tss_get): Likewise.
9092 (tss_set): Likewise.
9093 (tss_delete): Likewise.
9094 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
9095 tss_get, and tss_set objects.
9096 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9097 * nptl/tss_create.c: New file.
9098 * nptl/tss_delete.c: Likewise.
9099 * nptl/tss_get.c: Likewise.
9100 * nptl/tss_set.c: Likewise.
9101 * sysdeps/nptl/threads.h (thread_local): New define.
9102 (TSS_DTOR_ITERATIONS): Likewise.
9103 (tss_t): New typedef.
9104 (tss_dtor_t): Likewise.
9105 (tss_create): New prototype.
9106 (tss_get): Likewise.
9107 (tss_set): Likewise.
9108 (tss_delete): Likewise.
9111 * conform/data/threads.h-data (cnd_t): New type.
9112 (cnd_init): New function.
9113 (cnd_signal): Likewise.
9114 (cnd_broadcast): Likewise.
9115 (cnd_wait): Likewise.
9116 (cnd_timedwait): Likewise.
9117 (cnd_destroy): Likewise.
9118 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
9119 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
9121 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9122 * nptl/cnd_broadcast.c: New file.
9123 * nptl/cnd_destroy.c: Likewise.
9124 * nptl/cnd_init.c: Likewise.
9125 * nptl/cnd_signal.c: Likewise.
9126 * nptl/cnd_timedwait.c: Likewise.
9127 * nptl/cnd_wait.c: Likewise.
9128 * sysdeps/nptl/threads.h (cnd_t): New type.
9129 (cnd_init): New prototype.
9130 (cnd_signa): Likewise.
9131 (cnd_broadcast): Likewise.
9132 (cnd_wait): Likewise.
9133 (cnd_timedwait): Likewise.
9134 (cnd_destroy): Likewise.
9137 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
9138 (once_flag): New type.
9139 (call_once): New function.
9140 * nptl/Makefile (libpthread-routines): Add call_once object.
9141 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
9142 * nptl/call_once.c: New file.
9143 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
9144 (once_flag): New type.
9145 (call_once): New prototype.
9148 * conform/data/threads.h-data (mtx_plain): New constant.
9149 (mtx_recursive): Likewise.
9150 (mtx_timed): Likewise.
9152 (mtx_init): New function.
9153 (mtx_lock): Likewise.
9154 (mtx_timedlock): Likewise.
9155 (mtx_trylock): Likewise.
9156 (mtx_unlock): Likewise.
9157 (mtx_destroy): Likewise.
9158 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
9159 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
9160 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
9161 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
9162 * nptl/mtx_destroy.c: New file.
9163 * nptl/mtx_init.c: Likewise.
9164 * nptl/mtx_lock.c: Likewise.
9165 * nptl/mtx_timedlock.c: Likewise.
9166 * nptl/mtx_trylock.c: Likewise.
9167 * nptl/mtx_unlock.c: Likewise.
9168 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
9169 (mtx_recursive): Likewise.
9170 (mtx_timed): Likewise.
9172 (mtx_init): New prototype.
9173 (mtx_lock): Likewise.
9174 (mtx_timedlock): Likewise.
9175 (mtx_trylock): Likewise.
9176 (mtx_unlock): Likewise.
9177 (mtx_destroy): Likewise.
9180 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
9181 (linknamespace-libs-ISO11): Add libpthread.a.
9182 * conform/data/threads.h-data: New file: add C11 thrd_* types and
9184 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
9185 * nptl/Makefile (headers): Add threads.h.
9186 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
9187 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
9189 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
9190 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
9191 thrd_join, thrd_sleep, and thrd_yield symbols.
9192 * nptl/descr.h (struct pthread): Add c11 field.
9193 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
9194 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
9195 routine with expected function prototype.
9196 (__pthread_create_2_1): Add C11 threads check based on attribute
9198 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
9199 * nptl/thrd_create.c: New file.
9200 * nptl/thrd_current.c: Likewise.
9201 * nptl/thrd_detach.c: Likewise.
9202 * nptl/thrd_equal.c: Likewise.
9203 * nptl/thrd_exit.c: Likewise.
9204 * nptl/thrd_join.c: Likewise.
9205 * nptl/thrd_priv.h: Likewise.
9206 * nptl/thrd_sleep.c: Likewise.
9207 * nptl/thrd_yield.c: Likewise.
9208 * include/threads.h: Likewise.
9210 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9212 * bits/indirect-return.h: New file.
9213 * misc/sys/cdefs.h (__glibc_has_attribute): New.
9214 * sysdeps/x86/bits/indirect-return.h: Likewise.
9215 * stdlib/Makefile (headers): Add bits/indirect-return.h.
9216 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
9217 (swapcontext): Add __INDIRECT_RETURN.
9218 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
9219 (prepare_test_buffer): Use it.
9221 2018-07-24 Andreas Schwab <schwab@suse.de>
9224 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
9225 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
9227 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9229 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
9230 Redefine if shadow stack is enabled.
9231 (SYSCALL_ERROR_LABEL): Likewise.
9232 (__vfork): Pop shadow stack and jump back to to caller directly
9233 when shadow stack is in use.
9234 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
9235 Redefine if shadow stack is enabled.
9236 (SYSCALL_ERROR_LABEL): Likewise.
9237 (__vfork): Pop shadow stack and jump back to to caller directly
9238 when shadow stack is in use.
9240 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9242 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
9245 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
9248 2018-07-20 Joseph Myers <joseph@codesourcery.com>
9250 * scripts/build-many-glibcs.py (Context.checkout): Default
9251 binutils version to 2.31 branch.
9253 2018-07-20 Zong Li <zong@andestech.com>
9255 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
9256 URL of gcc's tarball.
9258 2018-07-20 Florian Weimer <fweimer@redhat.com>
9261 * posix/regcomp.c (build_equiv_class): When comparing weights, do
9262 not compare an extra byte after the end of the weights.
9264 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9266 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
9268 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
9270 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
9271 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
9272 * scripts/check-execstack.awk: Consider `xfail' variable containing a
9273 list of libraries whose stack executability is expected.
9274 * elf/Makefile ($(objpfx)check-execstack.out): Pass
9275 $(check-execstack-xfail) to check-execstack.awk through `xfail'
9277 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
9278 libc.so libpthread.so.
9280 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
9282 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
9284 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
9286 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
9288 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
9290 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9292 * benchtests/scripts/compare_bench.py (__main__): use the argparse
9293 library to improve command line parsing.
9294 (__main__): make schema file as optional parameter (--schema),
9295 defaulting to benchtests/scripts/benchout.schema.json.
9296 (main): move out of the parsing stuff to __main_ and leave it
9297 only as caller of main comparison functions.
9299 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
9301 * NEWS: Add a note for Intel CET status.
9302 * manual/install.texi: Likewise.
9303 * INSTALL: Regenerated.
9305 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
9308 * localedata/locales/oc_FR (mon): Rename to...
9309 (alt_mon): This, then update October (typo fix).
9310 (mon): New content (genitive case, month names preceded by
9314 * localedata/locales/oc_FR (abday): Update all items.
9315 (day): Update Wednesday and Saturday (typo fixes).
9316 (abmon): Update all items, except May.
9317 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
9318 (LC_IDENTIFICATION): Bump the revision number and date.
9319 Keep the "category" entries in alphabetic order.
9320 (LC_ADDRESS): Remove no longer needed comment.
9321 (LC_COLLATE): Use “copy "ca_ES"”.
9322 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
9325 2018-07-18 Joseph Myers <joseph@codesourcery.com>
9327 * grp/tst_fgetgrent.c: Include <unistd.h>.
9328 (main): Use mkstemp instead of tmpnam.
9329 * io/test-utime.c (main): Likewise.
9330 * posix/annexc.c (macrofile): Change to modifiable array.
9331 (main): Remove macrofile here.
9332 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9334 (check_header): Do not remove macrofile here.
9335 * posix/bug-getopt1.c: Include <stdlib.h>.
9336 (do_test): Use mkstemp instead of tmpnam.
9337 * posix/bug-getopt2.c: Include <stdlib.h>.
9338 (do_test): Use mkstemp instead of tmpnam.
9339 * posix/bug-getopt3.c: Include <stdlib.h>.
9340 (do_test): Use mkstemp instead of tmpnam.
9341 * posix/bug-getopt4.c: Include <stdlib.h>.
9342 (do_test): Use mkstemp instead of tmpnam.
9343 * posix/bug-getopt5.c: Include <stdlib.h>.
9344 (do_test): Use mkstemp instead of tmpnam.
9345 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
9346 (main): Use mkstemp instead of tmpnam.
9347 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
9348 (main): Use mkstemp instead of tmpnam.
9349 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
9350 (main): use mkstemp instead of tmpnam.
9351 * stdlib/isomac.c (macrofile): Change to modifiable array.
9352 (main): Remove macrofile here.
9353 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9355 (check_header): Do not remove macrofile here.
9357 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9359 * manual/tunables.texi: Document glibc.tune.x86_ibt and
9360 glibc.tune.x86_shstk.
9362 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9364 * NEWS: Mention --enable-cet.
9365 * manual/install.texi: Document --enable-cet.
9366 * INSTALL: Regenerated.
9368 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9370 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
9371 Add _CET_NOTRACK before indirect jump to jump table.
9373 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9375 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
9376 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9379 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9381 * sysdeps/i386/i686/multiarch/strcat-sse2.S
9382 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9385 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9387 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
9388 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9391 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9393 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
9394 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9397 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9399 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
9400 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9402 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
9404 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9406 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
9407 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9410 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9412 * sysdeps/i386/i686/multiarch/memset-sse2.S
9413 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9416 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9418 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
9419 indirect jump to jump table.
9421 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9423 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
9424 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9428 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9430 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
9431 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9435 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9437 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9438 _CET_NOTRACK before indirect jump to jump table.
9440 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9442 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.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/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
9449 indirect jump to jump table.
9451 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
9454 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
9455 (LOCALES): Likewise.
9456 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
9457 * localedata/locales/sah_RU: New file.
9458 * localedata/sah_RU.UTF-8.in: New file.
9460 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9462 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
9464 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9465 _CET_ENDBR to indirect jump targets and adjust jump destination
9467 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
9469 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9470 _CET_ENDBR to indirect jump targets and adjust jump destination
9472 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
9474 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
9475 _CET_ENDBR to indirect jump targets and adjust jump destination
9478 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9480 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9483 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9485 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
9487 (_dl_tlsdesc_undefweak): Likewise.
9488 (_dl_tlsdesc_dynamic): Likewise.
9489 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
9490 (_dl_tlsdesc_resolve_rel): Likewise.
9491 (_dl_tlsdesc_resolve_rela): Likewise.
9492 (_dl_tlsdesc_resolve_hold): Likewise.
9493 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
9494 (_dl_tlsdesc_undefweak): Likewise.
9495 (_dl_tlsdesc_dynamic): Likewise.
9496 (_dl_tlsdesc_resolve_rela): Likewise.
9497 (_dl_tlsdesc_resolve_hold): Likewise.
9499 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9501 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
9503 * sysdeps/x86_64/crti.S (_init): Likewise.
9506 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
9509 * localedata/locales/os_RU (mon): Rename to...
9511 (mon): Import from CLDR (genitive case).
9513 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9515 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
9516 cet-tunables.h> when CET is enabled.
9518 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
9521 * configure.ac: Add --enable-cet.
9522 * configure: Regenerated.
9523 * elf/Makefille (all-built-dso): Add a comment.
9524 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
9525 Include <dl-prop.h>.
9526 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
9528 * elf/dl-open.c: Include <dl-prop.h>.
9529 (dl_open_worker): Call _dl_open_check.
9530 * elf/rtld.c: Include <dl-prop.h>.
9531 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
9533 * sysdeps/generic/dl-prop.h: New file.
9534 * sysdeps/i386/dl-cet.c: Likewise.
9535 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
9536 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
9537 * sysdeps/x86/cet-tunables.h: Likewise.
9538 * sysdeps/x86/check-cet.awk: Likewise.
9539 * sysdeps/x86/configure: Likewise.
9540 * sysdeps/x86/configure.ac: Likewise.
9541 * sysdeps/x86/dl-cet.c: Likewise.
9542 * sysdeps/x86/dl-procruntime.c: Likewise.
9543 * sysdeps/x86/dl-prop.h: Likewise.
9544 * sysdeps/x86/libc-start.h: Likewise.
9545 * sysdeps/x86/link_map.h: Likewise.
9546 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
9548 (_dl_runtime_profile): Likewise.
9549 (_dl_runtime_resolve_shstk): New.
9550 (_dl_runtime_profile_shstk): Likewise.
9551 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
9553 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
9554 (CFLAGS-.os): Likewise.
9555 (CFLAGS-.op): Likewise.
9556 (CFLAGS-.oS): Likewise.
9557 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
9559 (tests-special): Add $(objpfx)check-cet.out.
9560 (cet-built-dso): New.
9561 (+$(cet-built-dso:=.note)): Likewise.
9562 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
9563 ($(objpfx)check-cet.out): New.
9564 (generated): Add check-cet.out.
9565 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
9567 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
9568 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9569 (init_cpu_features): Call get_cet_status to check CET status
9570 and update dl_x86_feature_1 with CET status. Call
9571 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
9572 (set_x86_shstk). Disable and lock CET in libc.a.
9573 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
9574 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
9575 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9576 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
9577 (_CET_ENDBR): Define if not defined.
9578 (ENTRY): Add _CET_ENDBR.
9579 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
9581 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
9583 (_dl_runtime_profile): Likewise.
9585 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
9588 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
9589 restore r2 on longjmp.
9590 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
9592 Added rules to build test tst-setjmp-bug21895-static.
9593 Added module setjmp-bug21895 and rules to build a shared object from it.
9594 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
9595 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
9597 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
9599 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
9600 * benchtests/bench-strstr.c: Likewise.
9601 * string/memmem.c (FASTSEARCH): Define.
9602 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
9603 Add support for FASTSEARCH.
9604 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
9605 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
9606 (FASTSEARCH): Define.
9607 * string/test-strcasestr.c: Rename __strnlen to strnlen.
9608 * string/test-strstr.c: Likewise.
9610 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
9612 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
9613 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
9615 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
9616 H.J. Lu <hongjiu.lu@intel.com>
9618 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
9619 (__longjmp): Restore shadow stack pointer if shadow stack is
9620 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9621 isn't defined for __longjmp_cancel.
9622 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
9623 (_setjmp): Save shadow stack pointer if shadow stack is enabled
9624 and SHADOW_STACK_POINTER_OFFSET is defined.
9625 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
9626 (setjmp): Save shadow stack pointer if shadow stack is enabled
9627 and SHADOW_STACK_POINTER_OFFSET is defined.
9628 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
9629 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9630 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9631 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
9633 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9634 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9635 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
9636 Remove jmp_buf-ssp.sym.
9637 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9639 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9640 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9641 * sysdeps/x86/Makefile (gen-as-const-headers): Add
9643 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
9644 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
9645 (__longjmp): Restore shadow stack pointer if shadow stack is
9646 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9647 isn't defined for __longjmp_cancel.
9648 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
9649 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9650 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9652 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
9655 * nptl/pthread_create.c: Include <tls-setup.h>.
9656 (__pthread_create_2_1): Call tls_setup_tcbhead.
9657 * sysdeps/generic/tls-setup.h: New file.
9658 * sysdeps/x86/nptl/tls-setup.h: Likewise.
9659 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
9660 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
9662 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
9664 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9665 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
9666 (X86_FEATURE_1_SHSTK): Likewise.
9667 (CET_ENABLED): Likewise.
9668 (IBT_ENABLED): Likewise.
9669 (SHSTK_ENABLED): Likewise.
9671 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
9674 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
9675 (LOCALES): Likewise.
9676 * localedata/dsb_DE.UTF-8.in: New file.
9677 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
9679 2018-07-12 Florian Weimer <fweimer@redhat.com>
9681 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
9682 __mprotect, not mprotect.
9684 2018-07-11 Florian Weimer <fweimer@redhat.com>
9686 * io/Makefile (headers): Add bits/statx.h.
9688 2018-07-10 Mike FABIAN <mfabian@redhat.com>
9690 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
9691 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
9693 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
9694 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
9697 2018-07-10 Florian Weimer <fweimer@redhat.com>
9699 * io/Makefile (routines): Add statx.
9700 (tests-internal): Add tst-statx.
9701 * io/Versions (GLIBC_2.28): Export statx.
9702 * io/bits/statx.h: New file.
9703 * io/sys/stat.h [__USE_GNU]: Include it.
9704 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
9705 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
9707 * io/statx.c: New file.
9708 * io/statx_generic.: Likewise.
9709 * io/tst-statx.: Likewise.
9710 * include/bits/statx.h: Likewise.
9711 * sysdeps/unix/sysv/linux/kernel-features.h
9712 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
9713 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9714 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
9715 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
9717 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9718 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
9719 * sysdeps/unix/sysv/linux/statx.c: New file.
9720 * manual/filesys.texi: Note that statx is undocumented.
9721 * sysdeps/**/libc*.abilist: Update.
9723 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9725 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
9726 a kernel issue which lead to test failure in some cases.
9728 2018-07-10 Florian Weimer <fweimer@redhat.com>
9731 * posix/regexec.c (check_node_accept_bytes): When comparing
9732 weights, do not compare an extra byte after the end of the
9735 2018-07-10 Florian Weimer <fweimer@redhat.com>
9737 * libio/readline.c: Fix copyright year.
9738 * libio/tst-readline.c Likewise.
9739 * nss/tst-nss-files-hosts-getent.c: Likewise.
9741 2018-07-06 Florian Weimer <fweimer@redhat.com>
9744 * nss/nss_files/files-XXX.c (internal_getent): Use
9745 __libc_readline_unlocked. Seek back to the start of the line if
9746 parsing failes with ERANGE.
9747 (get_contents_ret, get_contents): Remove.
9748 * nss/tst-nss-files-hosts-getent.c: New file.
9749 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
9750 (tst-nss-files-hosts-getent): Link with -ldl.
9752 2018-07-06 Florian Weimer <fweimer@redhat.com>
9754 * include/stdio.h (__libc_readline_unlocked): Declare.
9755 (__ftello64, __fseeko64): Declare aliases.
9756 * libio/readline.c: New file.
9757 * libio/tst-readline.c: Likewise.
9758 (routines): Add readline.
9759 (tests-internal): Add tst-readlime.
9760 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
9761 __libc_readline_unlocked.
9762 * libio/fseeko.c (__fseeko): Rename from fseeko.
9763 (fseeko): Add alias.
9764 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
9765 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
9766 (fseeko64): Add alias.
9767 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
9768 * libio/ftello64.c (__ftello64): Rename from ftello64.
9769 (ftello64): Add alias.
9771 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9773 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
9776 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9778 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
9779 Use dl_hwcap without masking.
9780 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
9783 2018-07-06 Florian Weimer <fweimer@redhat.com>
9785 * conform/conformtest.pl (checknamespace): Escape literal braces
9786 in regular expressions.
9788 2018-07-06 Amit Pawar <amit.pawar@amd.com>
9790 * sysdeps/x86/cpu-features.c (get_common_indeces):
9791 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
9792 * sysdeps/x86/cpu-features.c (init_cpu_features):
9793 AVX_Fast_Unaligned_Load is disabled for Excavator core.
9795 2018-07-05 Florian Weimer <fweimer@redhat.com>
9797 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
9799 (CFLAGS-elf-init.oS): Likewise.
9801 2018-07-05 Florian Weimer <fweimer@redhat.com>
9802 Carlos O'Donell <carlos@redhat.com>
9804 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
9805 $(no-stack-protector). stack_chk_fail_local.c can be compiled
9806 with stack protector enabled because there is no risk of infinite
9809 2018-07-05 Maciej W. Rozycki <macro@mips.com>
9813 * libc-abis (ABSOLUTE): New ABI.
9814 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
9815 * NEWS: Mention the new ABI.
9817 2018-07-05 Florian Weimer <fweimer@redhat.com>
9820 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
9821 (RENAME_WHITEOUT): Define.
9822 [__USE_GNU] (renameat2): Declare.
9823 * stdio-common/Makefile (routines): Add renameat2.
9824 (tests): Add tst-renameat2.
9825 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
9826 * stdio-common/renameat2.c: New file.
9827 * stdio-common/tst-renameat2.c: Likewise.
9828 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
9829 * manual/filesys.texi (Temporary Files): Note that renameat2 is
9831 * sysdeps/unix/sysv/linux/kernel-features.h
9832 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
9833 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9834 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9835 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9836 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9837 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9838 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
9839 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9840 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
9841 * include/stdio.h (__renameat): Add alias for renameat.
9842 * stdio-common/renameat.c (__renameat): Rename from renameat.
9843 Add hidden definition and alias.
9844 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9845 * sysdeps/mach/hurd/renameat.c: Likewise.
9846 * sysdeps/**/libc*.abilist: Add renameat2.
9848 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9850 * posix/bug-regex33.c: Fix build after regex sync.
9852 2018-07-04 Carlos O'Donell <carlos@redhat.com>
9855 * localedata/tst-langinfo-setlocale.c: New file.
9856 * localedata/tst-langinfo-setlocale-static.c: New file.
9857 * localedata/tst-langinfo-newlocale.c: New file.
9858 * localedata/tst-langinfo-newlocale-static.c: New file.
9859 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
9860 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
9861 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
9862 (tests-static): Remove tst-langinfo-static. Add
9863 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
9864 (tests-special): Remove $(objpfx)tst-langinfo.out,
9865 $(objpfx)tst-langinfo-static.out. Add
9866 $(objpfx)tst-langinfo-setlocale.out,
9867 $(objpfx)tst-langinfo-newlocale.out,
9868 $(objpfx)tst-langinfo-setlocale-static.out,
9869 $(objpfx)tst-langinfo-newlocale-static.out.
9870 ($(objpfx)tst-langinfo.out): Remove.
9871 ($(objpfx)tst-langinfo-static.out): Remove.
9872 ($(objpfx)tst-langinfo-newlocale.out): New target.
9873 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
9874 (test-xfail-tst-langinfo-newlocale-static): Add.
9875 ($(objpfx)tst-langinfo-setlocale.out): New target.
9876 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
9877 * localedata/tst-langinfo.c: Call test_locale.
9878 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
9881 2018-07-04 Florian Weimer <fweimer@redhat.com>
9883 testrun.sh: Implement --tool=strace, --tool=valgrind
9884 * Makefile (testrun-script): Define variable.
9885 (testrun.sh): Use variable.
9886 * manual/install.texi (Tools for Compilation): make 4.0 or later
9888 * configure.ac: Check for make 4.0 or later.
9889 * INSTALL: Regenerate.
9890 * configure: Likewise.
9892 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9898 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
9899 * posix/PCRE.tests: Remove invalid test.
9900 * posix/bug-regex28.c: Fix expected values for used syntax.
9901 * posix/bug-regex37.c: New file.
9902 * posix/bug-regex38.c: Likewise.
9903 * posix/regcomp.c: Sync with gnulib.
9904 * posix/regex.c: Likewise.
9905 * posix/regex.h: Likewise.
9906 * posix/regex_internal.c: Likewise.
9907 * posix/regex_internal.h: Likewise.
9908 * posix/regexec.c: Likewise.
9910 2018-06-26 Mike FABIAN <mfabian@redhat.com>
9913 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
9914 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
9915 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
9916 * localedata/unicode-gen/PropList.txt: likewise.
9917 * localedata/unicode-gen/UnicodeData.txt: likewise.
9918 * localedata/charmaps/UTF-8: Regenerate.
9919 * localedata/locales/i18n_ctype: likewise.
9920 * localedata/locales/tr_TR: likewise.
9921 * localedata/locales/translit_circle: likewise.
9922 * localedata/locales/translit_cjk_compat: likewise.
9923 * localedata/locales/translit_combining: likewise.
9924 * localedata/locales/translit_compat: likewise.
9925 * localedata/locales/translit_font: likewise.
9926 * localedata/locales/translit_fraction: likewise.
9928 2018-07-03 Florian Weimer <fweimer@redhat.com>
9931 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
9932 * stdio-common/tst-printf.sh: Adjust expected output.
9935 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9937 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
9940 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9942 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
9943 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
9944 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
9945 * stdio-common/tst-printfsz-islongdouble.c: New file.
9946 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
9947 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
9948 [subdir == stdio-common] (routines): Add ieee128-printf_size.
9949 [subdir == stdio-common] (tests-internal): Add
9950 test-printf-size-ieee128, and test-printf-size-ibm128.
9951 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
9952 (CFLAGS-test-printf-size-ibm128.c): New variables.
9953 [subdir == stdio-common] (tests-special): Add
9954 $(objpfx)test-printf-size-ieee128.out and
9955 $(objpfx)test-printf-size-ibm128.out.
9956 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
9957 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
9958 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
9959 __printf_sizeieee128.
9960 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
9962 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
9964 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
9967 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9969 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
9970 (exp2f_inline): Likewise.
9971 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
9972 (__math_uflowf): Likewise.
9973 (__math_may_uflowf): Likewise.
9974 (__math_divzerof): Likewise.
9975 (__math_invalidf): Likewise.
9976 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
9977 (__math_oflowf): Likewise.
9978 (__math_uflowf): Likewise.
9979 (__math_may_uflowf): Likewise.
9980 (__math_divzerof): Likewise.
9981 (__math_invalidf): Likewise.
9983 2018-06-29 DJ Delorie <dj@redhat.com>
9984 Carlos O'Donell <carlos@redhat.com>
9987 * include/libc-symbols.h: Comment the freeres framework.
9988 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
9989 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
9990 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
9991 * dlfcn/dlerror.c: Include libc-symbols.h
9992 (__dlerror_main_freeres): New function.
9993 * dlfcn/dlfreeres.c: New file.
9994 * dlfcn/sdlfreeres.c: New file.
9995 * include/dlfcn.h: Declare __dlerror_main_freeres.
9996 * malloc/set-freeres.c: Declare __libdl_freeres, and
9997 __libpthread_freeres.
9998 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
9999 the releavant libraries are loaded.
10000 * malloc/thread-freeres.c: Add comments.
10001 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
10002 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
10003 * nptl/allocatestack.c (__nptl_free_stacks): New function.
10004 (__free_stacks): Rename to...
10005 (free_stacks): ...this. Mark static.
10006 (queue_stack): Call free_stacks.
10007 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
10008 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
10009 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
10010 ptr_freeres element from struct.
10011 (pthread_functions): Remove .ptr_freeres from struct initializer.
10012 [SHARED] (nptl_freeres): Remove.
10013 * nptl/nptlfreeres.c: New file.
10015 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
10016 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
10018 (__free_stacks): Rename to...
10019 (__nptl_stacks_freeres): ...this.
10020 (__shm_directory_freeres): Declare.
10021 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
10022 (__nptl_unwind_freeres): ...this.
10023 * resolv/res-close.c: Add comment.
10024 * resolv/resolv_conf.c: Include libc-symbols.h.
10025 * string/strerror_l.c: Include libc-symbols.h.
10026 * sunrpc/rpc_thread.c: Include libc-symbols.h.
10027 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
10028 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
10029 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
10031 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10033 * stdlib/tst-strfmon_l.c: Add tests for long double.
10035 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
10038 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
10039 * localedata/locales/dsb_DE: New file.
10041 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10044 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
10046 (alt_mon): New entry, import from CLDR (nominative case).
10048 2018-06-29 Sylvain Lesage <severo@rednegra.net>
10051 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
10053 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
10055 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10056 Use vector registers.
10058 * sysdeps/aarch64/multiarch/memmove_falkor.S
10059 (__memcpy_falkor): Use vector registers.
10061 2018-06-29 Martin Sebor <msebor@redhat.com>
10063 * manual/stdio.texi (Customizing Printf): Mention interaction
10064 with GCC built-ins.
10066 2018-06-29 Maciej W. Rozycki <macro@mips.com>
10069 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
10070 `st_value' is 0 if `st_shndx' is SHN_ABS.
10071 * elf/tst-absolute-zero.c: New file.
10072 * elf/tst-absolute-zero-lib.c: New file.
10073 * elf/tst-absolute-zero-lib.lds: New file.
10074 * elf/Makefile (tests): Add `tst-absolute-zero'.
10075 (modules-names): Add `tst-absolute-zero-lib'.
10076 (LDLIBS-tst-absolute-zero-lib.so): New variable.
10077 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
10078 ($(objpfx)tst-absolute-zero: New dependency.
10080 2018-06-29 Zack Weinberg <zackw@panix.com>
10082 * configure.ac: New command-line option --disable-crypt.
10083 Force --disable-nss-crypt when --disable-crypt is given, with a
10084 warning if it was explicitly enabled.
10085 * configure: Regenerate.
10086 * config.make.in: New boolean substitution variable $(build-crypt).
10087 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
10088 when $(build-crypt).
10089 * manual/install.texi: Document --disable-crypt.
10090 * INSTALL: Regenerate.
10092 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
10093 which is never set.
10094 * conform/Makefile: Only include libcrypt.a in
10095 linknamespace-libs-xsi and linknamespace-libs-XPG4
10096 when $(build-crypt).
10097 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
10098 USE_CRYPT to 1 when $(build-crypt).
10099 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
10100 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
10101 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
10103 2018-06-29 Zack Weinberg <zackw@panix.com>
10105 * crypt/crypt.h, posix/unistd.h: Update comments and
10106 prototypes for crypt and crypt_r.
10108 * manual/crypt.texi (Cryptographic Functions): New initial
10110 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
10111 (Unpredictable Bytes): Improve initial exposition. Clarify error
10112 behavior of getentropy and getrandom.
10113 * manual/examples/genpass.c: Generate a salt using getentropy
10114 instead of the current time. Use hash $5$ (SHA-2-256).
10115 * manual/examples/testpass.c: Demonstrate validation against
10116 hashes generated with three different one-way functions.
10118 * manual/intro.texi: crypt.texi does not need an overview
10121 * manual/nss.texi, manual/memory.texi, manual/socket.texi
10122 * manual/terminal.texi: Consistently refer to "passphrases"
10123 * instead of "passwords", and to the "user database" instead
10124 * of the "password database".
10125 * manual/users.texi: Similarly. Add notes about how actual
10126 passphrase hashes are now stored in the shadow database.
10127 Remove 20-year-old junk todo note.
10129 2018-06-29 Zack Weinberg <zackw@panix.com>
10131 * manual/crypt.texi: Use a normal top-level @node declaration.
10132 Move most of the introductory text to the 'crypt' section.
10133 Move the example programs below the @deftypefun for 'crypt_r'.
10134 Move the 'getpass' section...
10135 * manual/terminal.texi: ...here.
10137 2018-06-29 Zack Weinberg <zackw@panix.com>
10138 Florian Weimer <fweimer@redhat.com>
10140 * posix/unistd.h: Do not declare encrypt.
10141 (_XOPEN_CRYPT): Remove macro definition.
10142 (crypt): Declare only for _USE_MISC.
10143 * stdlib/stdlib.h: Do not declare setkey.
10144 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
10145 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
10147 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
10148 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
10149 into compat symbols. Don't define initial_perm if it's not
10151 * crypt/cert.c: Link explicitly with the expected versions for
10152 setkey and encrypt. If they are not available at all, mark
10153 the test as unsupported.
10155 * sunrpc/des_crypt.c: Unconditionally block linkage with
10156 cbc_crypt and ecb_crypt for new binaries.
10157 * sunrpc/des_soft.c: Unconditionally block linkage with
10158 des_setparity for new binaries.
10160 * manual/crypt.texi: Remove the entire "DES Encryption"
10161 section. Also remove the paragraph talking about FIPS 140-2
10162 from the introduction.
10163 * manual/string.texi (strfry, memfrob): Revise. Recommend use
10164 of libgcrypt for "real" encryption, not DES.
10165 * manual/conf.texi (Constants for Sysconf): Mention that
10166 _XOPEN_CRYPT is no longer impelemented.
10168 * conform/data/unistd.h-data: Remove crypt function declaration.
10170 2018-06-29 Florian Weimer <fweimer@redhat.com>
10173 * malloc/hooks.c: Update comments on restoring of dumped heaps.
10174 (disallow_malloc_check): Remove variable.
10175 (__malloc_check_init): Adjust.
10176 (malloc_set_state): Update comment.
10177 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
10180 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10183 * localedata/locales/ast_ES (mon): Rename to...
10185 (mon): Import from CLDR (genitive case).
10187 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
10188 Jakub Sitnicki <jkbs@redhat.com>
10191 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
10192 on NLM_F_DUMP_INTR.
10194 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10196 * manual/llio.texi: Remove spurious space.
10198 2018-06-28 Florian Weimer <fweimer@redhat.com>
10201 * time/bits/types/struct_timespec.h: Change header inclusion guard to
10204 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10206 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
10207 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
10208 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
10209 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
10210 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
10211 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
10212 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
10214 2018-06-27 Maciej W. Rozycki <macro@mips.com>
10217 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
10218 Copy and null-terminate entries that are not terminated, in
10219 addition to empty ones.
10221 2018-06-27 Florian Weimer <fweimer@redhat.com>
10224 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
10225 (extend_alloca_account): Remove.
10226 * manual/stdio.texi (Variable Arguments Output): Update comment.
10228 2018-06-27 Joseph Myers <joseph@codesourcery.com>
10230 * nptl/sockperf.c: Remove file.
10232 2018-06-27 Florian Weimer <fweimer@redhat.com>
10235 * elf/dl-deps.c (_dl_map_object_deps): Use struct
10236 scratch_buffer instead of extend_alloca.
10238 2018-06-27 Florian Weimer <fweimer@redhat.com>
10241 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
10242 scratch_buffer instead of extend_alloca. Update comments.
10244 2018-06-27 Florian Weimer <fweimer@redhat.com>
10247 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
10248 instead of extend_alloca.
10250 2018-06-26 Joseph Myers <joseph@codesourcery.com>
10253 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
10254 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
10256 * scripts/test-installation.pl: Put temporary files in build
10257 directory, not /tmp.
10258 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
10259 (CFLAGS-bug4.c): Likewise.
10260 (CFLAGS-bug5.c): Likewise.
10261 (CFLAGS-test-fseek.c): Likewise.
10262 (CFLAGS-test-popen.c): Likewise.
10263 (CFLAGS-test_rdwr.c): Likewise.
10264 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
10266 * stdio-common/bug4.c (main): Likewise.
10267 * stdio-common/bug5.c (main): Likewise.
10268 * stdio-common/test-fseek.c (TESTFILE): Likewise.
10269 * stdio-common/test-popen.c (do_test): Likewise.
10270 * stdio-common/test_rdwr.c (main): Likewise.
10272 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
10274 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
10275 (sem_open): Set sem.newsem.pad to zero for valgrind.
10277 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10280 * NEWS: Mention fcntl64 addition.
10281 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
10282 * login/utmp_file.c: Likewise.
10283 * sysdeps/posix/fdopendir.c: Likewise.
10284 * sysdeps/posix/opendir.c: Likewise.
10285 * sysdeps/unix/pt-fcntl.c: Likewise.
10286 * include/fcntl.h (__libc_fcntl64, __fcntl64,
10287 __fcntl64_nocancel_adjusted): New prototype.
10288 (__fcntl_nocancel_adjusted): Remove prototype.
10289 * io/Makefile (routines): Add fcntl64.
10290 (CFLAGS-fcntl64.c): New rule.
10291 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
10292 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
10293 * io/fcntl.h (fcntl64): Add prototype and redirect if
10294 __USE_FILE_OFFSET64 is defined.
10295 * io/fcntl64.c: New file.
10296 * manual/llio.text: Add a note for which commands fcntl acts a
10297 cancellation point.
10298 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
10299 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
10300 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
10302 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
10303 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
10305 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
10306 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
10307 to __fcntl64_nocancel.
10308 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
10309 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
10310 to __fcntl64_nocancel.
10311 * sysdeps/generic/not-cancel.h: Likewise.
10312 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
10313 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
10314 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10315 (fcntl64): New symbol.
10316 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10317 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10318 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10321 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10322 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10323 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10324 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10325 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10326 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
10327 fcntl64): Likewise.
10328 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10329 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
10330 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10331 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10332 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10333 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10334 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10335 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10336 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10341 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10342 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10343 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10345 2018-06-26 Florian Weimer <fweimer@redhat.com>
10347 Run thread shutdown functions in an explicit order.
10348 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
10350 (__libc_thread_freeres): Call thread shutdown functions
10352 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
10353 * include/string.h (__strerror_thread_freeres): Declare.
10354 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
10355 arena_thread_freeres. No longer static. Remove thread shutdown
10357 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
10359 * resolv/res-close.c (__res_thread_freeres): Renamed from
10360 res_thread_freeres. No longer static. Remove thread shutdown
10362 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
10363 * resolv/resolv_conf.c (freeres): Remove incorrect section
10364 attribute and use libc_freeres_fn.
10365 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
10366 strerror_thread_freeres. No longer static. Remove thread
10367 shutdown hook registration.
10368 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
10369 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
10370 shutdown hook registration.
10371 * Makerules (shlib.lds): Do not provide section boundary symbols
10372 for __libc_thread_subfreeres.
10373 * manual/memory.texi (Basic Allocation): Update comment.
10375 2018-06-26 Florian Weimer <fweimer@redhat.com>
10377 Remove always-defined _RPC_THREAD_SAFE_ macro.
10378 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
10379 Do not define _RPC_THREAD_SAFE_.
10380 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
10382 * sunrpc/clnt_perr.c: Likewise.
10383 * sunrpc/clnt_raw.c: Likewise.
10384 * sunrpc/clnt_simp.c: Likewise.
10385 * sunrpc/key_call.c: Likewise.
10386 * sunrpc/rpc_common.c: Likewise.
10387 * sunrpc/rpc_main.c: Likewise.
10388 * sunrpc/rpc_thread.c: Likewise.
10389 * sunrpc/svc.c: Likewise.
10390 * sunrpc/svc_raw.c: Likewise.
10391 * sunrpc/svc_simple.c: Likewise.
10392 * sumrpc/svcauth_des.c: Likewise.
10394 2018-06-26 Florian Weimer <fweimer@redhat.com>
10396 * libio/Makefile (tests-internal): Add tst-vtables,
10397 tst-vtables-interposed.
10398 * libio/tst-vtables.c: New file.
10399 * libio/tst-vtables-common.c: Likewise.
10400 * libio/tst-vtables-interposed.c: Likewise.
10402 2018-06-26 Florian Weimer <fweimer@redhat.com>
10404 * support/support_test_main.c (support_test_main): Only call
10405 setvbuf if not disables.
10406 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
10407 * support/test-driver.h (struct test_config): Add no_setvbuf member.
10409 2018-06-26 Florian Weimer <fweimer@redhat.com>
10412 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
10414 2018-06-25 Florian Weimer <fweimer@redhat.com>
10417 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10418 Use struct scratch_buffer instead of extend_alloca.
10420 2018-06-25 Florian Weimer <fweimer@redhat.com>
10423 * nss/getent.c (initgroups_keys): Use dynarray instead of
10426 2018-06-25 Florian Weimer <fweimer@redhat.com>
10429 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
10430 Use struct scratch_buffer instead of extend_alloca.
10432 2018-06-25 Florian Weimer <fweimer@redhat.com>
10435 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
10436 back to malloc directly, without stack allocations.
10438 2018-06-25 Florian Weimer <fweimer@redhat.com>
10441 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
10444 2018-06-25 Florian Weimer <fweimer@redhat.com>
10447 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
10449 * nscd/hstcache.c (addhstbyX): Likewise.
10450 * nscd/pwdcache.c (addpwbyX): Likewise.
10451 * nscd/servicescache.c (addservbyX): Likewise.
10453 2018-06-25 Florian Weimer <fweimer@redhat.com>
10456 * nscd/connections.c (read_cmdline): New function.
10457 (restart): Use it. Update comment.
10459 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10462 * localedata/locales/csb_PL (mon): Rename to...
10464 (abmon): Rename to...
10465 (ab_alt_mon): This.
10466 (mon): Add with proper genitive forms, copy from Wikipedia.
10469 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10472 * localedata/locales/csb_PL (mon): Fix typos:
10473 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
10474 (yesstr): Add, value is "jo".
10475 (nostr): Add, value is "nié".
10477 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10479 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
10480 all log1p and significand functions on m680x0.
10481 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
10482 of s_significand.c..
10483 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10484 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
10485 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
10486 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
10487 s_log1p.c and include it..
10489 2018-06-21 Vincent Chen <vincentc@andestech.com>
10491 * elf/elf.h (R_NDS32_NONE): New define.
10492 (R_NDS32_32_RELA): Likewise.
10493 (R_NDS32_COPY): Likewise.
10494 (R_NDS32_GLOB_DAT): Likewise.
10495 (R_NDS32_JUMP_SLOT): Likewise.
10496 (R_NDS32_RELATIVE): Likewise.
10497 (R_NDS32_TLS_TPOFF): Likewise.
10498 (R_NDS32_TLS_DESC): Likewise.
10500 2018-06-21 Mark Wielaard <mark@klomp.org>
10502 * elf/elf.h (R_BPF_MAP_FD): Removed.
10503 (R_BPF_64_64, R_BPF_64_32): New.
10505 2018-06-21 Florian Weimer <fweimer@redhat.com>
10508 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
10509 Renamed from libc_feholdsetround_ctx.
10510 (default_libc_feresetround_ctx): Renamed from
10511 libc_feresetround_ctx.
10512 (default_libc_feholdsetround_noex_ctx): Renamed from
10513 libc_feholdsetround_noex_ctx.
10514 (default_libc_feresetround_noex_ctx): Renamed from
10515 libc_feresetround_noex_ctx.
10516 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
10517 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
10518 forwardning to the old implementations under the new names.
10519 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
10520 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
10521 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
10522 (libc_feresetround_ctx): Forward to default implements for i386
10523 and MATH_SET_BOTH_ROUNDING_MODES.
10524 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
10525 Add -DMATH_SET_BOTH_ROUNDING_MODES.
10527 2018-06-20 Joseph Myers <joseph@codesourcery.com>
10529 * string/tst-cmp.c: Include <libc-diag.h>.
10530 (strncmp_max): Disable -Wstringop-overflow= around call to
10532 (strncasecmp_max): Disable -Wstringop-overflow= around call to
10535 * string/bug-strpbrk1.c: Include <libc-diag.h>.
10536 (main): Disable -Wunused-value around call to strpbrk.
10537 * string/bug-strspn1.c: Include <libc-diag.h>.
10538 (main): Disable -Wunused-value around call to strspn.
10540 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10541 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10543 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
10544 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
10546 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10548 * math/Makefile (libm-calls): Move s_significandF to...
10549 (gen-libm-calls): ... here.
10550 * math/s_significand_template.c: New file.
10551 * math/s_significand.c: Removed.
10552 * math/s_significandf.c: Removed.
10553 * math/s_significandl.c: Removed.
10554 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
10555 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
10557 * math/e_exp2_template.c (declare_mgen_finite_alias,
10558 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
10559 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
10560 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
10562 2018-06-20 Florian Weimer <fweimer@redhat.com>
10564 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
10566 2018-06-19 Joseph Myers <joseph@codesourcery.com>
10569 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
10570 floating-point number to strtod functions rather than possibly
10571 negating result of those functions.
10572 * stdio-common/tst-scanf-round.c: New file.
10573 * stdio-common/Makefile (tests): Add tst-scanf-round.
10574 ($(objpfx)tst-scanf-round): Depend on $(libm).
10576 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10578 * sysdeps/mach/hurd/localplt.data: Move to...
10579 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
10580 R_386_GLOB_DAT like on Linux i386.
10582 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10584 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
10585 (SHM_STAT_ANY): New macro.
10586 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
10587 (SHM_STAT_ANY): Likewise.
10588 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
10589 (SHM_STAT_ANY): Likewise.
10590 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
10591 (SHM_STAT_ANY): Likewise.
10592 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
10593 (SHM_STAT_ANY): Likewise.
10594 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
10595 (SHM_STAT_ANY): Likewise.
10596 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
10597 (SHM_STAT_ANY): Likewise.
10598 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
10599 (SHM_STAT_ANY): Likewise.
10600 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
10601 (SHM_STAT_ANY): Likewise.
10602 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
10603 (SHM_STAT_ANY): Likewise.
10604 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
10605 (SHM_STAT_ANY): Likewise.
10606 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
10607 (SHM_STAT_ANY): Likewise.
10609 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
10610 (SEM_STAT_ANY): New macro.
10611 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
10612 (SEM_STAT_ANY): Likewise.
10613 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
10614 (SEM_STAT_ANY): Likewise.
10615 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
10616 (SEM_STAT_ANY): Likewise.
10617 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
10618 (SEM_STAT_ANY): Likewise.
10619 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
10620 (SEM_STAT_ANY): Likewise.
10621 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
10622 (SEM_STAT_ANY): Likewise.
10623 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
10624 (SEM_STAT_ANY): Likewise.
10625 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
10626 (SEM_STAT_ANY): Likewise.
10627 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
10628 (SEM_STAT_ANY): Likewise.
10630 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
10631 (MSG_STAT_ANY): New macro.
10632 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
10633 (MSG_STAT_ANY): Likewise.
10634 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
10635 (MSG_STAT_ANY): Likewise.
10636 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
10637 (MSG_STAT_ANY): Likewise.
10638 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
10639 (MSG_STAT_ANY): Likewise.
10640 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
10641 (MSG_STAT_ANY): Likewise.
10642 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
10643 (MSG_STAT_ANY): Likewise.
10644 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
10645 (MSG_STAT_ANY): Likewise.
10646 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
10647 (MSG_STAT_ANY): Likewise.
10648 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
10649 (MSG_STAT_ANY): Likewise.
10651 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10652 (MAP_TYPE): Change value to 0x2b.
10654 2018-06-18 Florian Weimer <fweimer@redhat.com>
10657 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
10658 socket with SOCK_CLOEXEC.
10660 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10663 * sysdeps/powerpc/powerpc64/le/Makefile
10664 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
10665 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
10666 (gnulib-tests): Also add $(f128-loader-link) for
10667 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
10669 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10671 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
10672 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
10674 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
10675 (sendfile64): New strong alias.
10676 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
10677 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
10678 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
10679 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
10681 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
10682 ___pthread_get_cleanup_stack.
10683 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
10684 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
10685 * mach/shortcut.awk: Make syscall stubs include
10686 <mach-shortcuts-hidden.h> and add hidden definition.
10687 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
10688 (__mach_msg): Add hidden prototype.
10689 * mach/msg.c: Include <mach.h>.
10690 (__mach_msg): Add hidden definition.
10691 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
10692 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
10693 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
10694 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
10695 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
10696 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
10697 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
10698 prototype and definition.
10699 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
10700 hidden target for _hurd_self_sigstate.
10702 2018-06-15 Joseph Myers <joseph@codesourcery.com>
10705 * stdlib/tst-strtod-nan-sign-main.c: New file.
10706 * stdlib/tst-strtod-nan-sign.c: Likewise.
10707 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
10708 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
10709 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
10710 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
10711 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
10713 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
10716 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
10719 2018-06-14 Florian Weimer <fweimer@redhat.com>
10722 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
10723 that the result stays within the ISO-8859-1 range.
10724 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
10725 characters are defined in IBM273.
10727 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10729 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
10730 __mach_task_self): Remove attribute_hidden.
10732 2018-06-14 Joseph Myers <joseph@codesourcery.com>
10734 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
10735 ignore -Wrestrict for one test.
10737 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
10738 Szabolcs Nagy <szabolcs.nagy@arm.com>
10740 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
10742 2018-06-14 Florian Weimer <fweimer@redhat.com>
10744 * scripts/update-abilist.sh: Accept empty list of files to patch.
10746 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
10748 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
10749 test-xfail-check-abi-libmachuser): Add.
10750 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
10751 __libc_read and __libc_write to __read and __write.
10752 * sysdeps/hurd/include/hurd/port.h: New file.
10753 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
10754 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
10755 __thread_switch, __evc_wait): Move declarations to...
10756 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
10758 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
10759 use PLT to call _hurd_self_sigstate.
10761 2018-06-13 Joseph Myers <joseph@codesourcery.com>
10764 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
10765 MAX_EXP as overflowing.
10766 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
10768 (round_str): Output also whether result overflows in each rounding
10770 * stdlib/tst-strtod-round-data: Add more tests.
10771 * stdlib/tst-strtod-round-data.h: Regenerated.
10772 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
10773 (TEST): Handle extra arguments for overflow flags.
10774 (struct test_overflow): New type.
10775 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
10776 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
10777 (test_in_one_mode): Take argument with overflow information.
10778 (do_test): Update calls to test_in_one_mode.
10780 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10782 * elf/dl-load (_dl_dst_substitute): Correct comment.
10783 (_dl_dst_count): Likewise.
10785 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
10786 lll_futex_timed_wait.
10788 2018-06-12 Joseph Myers <joseph@codesourcery.com>
10791 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
10793 * math/test-nan-const.c: New file.
10794 * math/Makefile (tests): Add test-nan-const.
10795 (CFLAGS-test-nan-const.c): New variable.
10797 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10799 * benchtests/scripts/compare_strings.py (process_results): Add
10800 funcs argument. Compare only functions which are selected.
10801 (main): Check if base function is among selected functions.
10802 Pass selected functions to process_results.
10803 (__main__): Add -f/--functions argument.
10805 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
10806 Hongbo Zhang <hongbo.zhang@linaro.org>
10808 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
10809 __memcpy_falkor for phecda core.
10810 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
10811 __memmove_falkor for phecda core.
10812 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
10813 __memset_falkor for phecda core.
10814 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
10816 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
10817 macro to identify phecda core.
10819 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10820 Andreas Schwab <schwab@suse.de>
10821 Dmitry V. Levin <ldv@altlinux.org>
10822 Florian Weimer <fweimer@redhat.com>
10829 * elf/dl-dst.h: Remove DL_DST_COUNT.
10830 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
10831 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
10832 (is_dst): Comment. Support ELF gABI.
10833 (_dl_dst_count): Comment. Simplify and count DSTs.
10834 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
10835 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
10838 2018-06-12 Zack Weinberg <zackw@panix.com>
10840 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
10841 * sysdeps/unix/sysv/linux/dl-sysdep.c
10842 Include not-cancel.h. Use __close_nocancel instead of __close,
10843 __open64_nocancel instead of __open, __read_nocancel instead of
10844 __libc_read, and __write_nocancel instead of __libc_write.
10846 * csu/check_fds.c (check_one_fd)
10847 * sysdeps/posix/fdopendir.c (__fdopendir)
10848 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
10849 instead of __fcntl and/or __libc_fcntl.
10851 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
10852 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
10853 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
10854 Use __open64_nocancel instead of __open_nocancel.
10856 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
10857 hidden_proto declarations to the end and issue them if either
10858 IS_IN(libc) or IS_IN(rtld).
10859 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
10860 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
10861 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
10862 read_nocancel, waitpid_nocancel, write_nocancel.
10864 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
10865 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
10866 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
10868 * nptl/pt-fcntl.c: New file.
10869 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
10870 (libpthread-routines): Add pt-fcntl.
10871 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
10872 (__libc_fcntl): Remove attribute_hidden.
10873 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
10874 __fcntl_nocancel_adjusted, not fcntl_common.
10875 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
10876 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
10877 to fcntl_nocancel.c.
10878 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
10879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
10880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10881 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
10883 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
10884 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
10885 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
10886 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
10887 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
10888 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
10889 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
10890 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
10891 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
10892 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
10893 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
10894 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
10895 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
10896 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
10897 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
10898 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
10899 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
10900 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
10901 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
10902 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
10904 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
10905 libpthread-routines.
10906 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
10909 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
10910 __libc_read, and __write instead of __libc_write. Define
10911 __open64 in addition to __open.
10913 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10917 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
10918 to _private_tm[3] and add __glibc_reserved2.
10919 Add _Static_assert of offset of __private_ss == 0x30.
10920 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
10921 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
10923 2018-06-12 Florian Weimer <fweimer@redhat.com>
10925 x86: Make strncmp usable from rtld.
10926 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
10927 __strncmp_ia32 if in libc (and not in rtld).
10928 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
10929 strncmp if not in libc (and not to __strncmp_sse2).
10931 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
10934 * localedata/locales/gd_GB (mon): Rename to...
10936 (mon): Import from CLDR (genitive case).
10937 * localedata/locales/hsb_DE (mon): Rename to...
10939 (mon): Import from CLDR (genitive case).
10940 * localedata/locales/wa_BE (mon): Rename to...
10942 (mon): Add, fill with the proper genitive forms, but CLDR data
10943 is incomplete; completed according to the comments in this file.
10944 (d_t_fmt): Do not use "di" before the month name, no longer needed.
10946 * localedata/locales/wa_BE (country_name): Reword
10947 "Beljike" -> "Beldjike".
10949 2018-06-11 Joseph Myers <joseph@codesourcery.com>
10952 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
10953 cases of non-finite arguments.
10954 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10956 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
10959 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
10961 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10964 * include/unistd.h (__execvpex): New prototype.
10965 * posix/Makefile (tests): Add tst-spawn4.
10966 (tests-internal): Add tst-spawn4-compat.
10967 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
10968 * posix/tst-spawn4-compat.c: New file.
10969 * posix/tst-spawn4.c: Likewise.
10970 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
10971 binaries as shell scripts.
10972 * sysdeps/posix/spawni.c (__spawni): Likewise.
10974 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
10977 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
10978 ($(all-built-dso:=.dynsym): New target.
10979 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
10980 ($(objpfx)check-initfini.out): New target.
10981 (generated): Add check-initfini.out.
10982 * scripts/check-initfini.awk: New file.
10983 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
10985 * sysdeps/alpha/crti.S (_init): Mark as hidden.
10987 * sysdeps/arm/crti.S (_init): Mark as hidden.
10989 * sysdeps/hppa/crti.S (_init): Mark as hidden.
10991 * sysdeps/i386/crti.S (_init): Mark as hidden.
10993 * sysdeps/ia64/crti.S (_init): Mark as hidden.
10995 * sysdeps/m68k/crti.S (_init): Mark as hidden.
10997 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
10999 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
11001 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
11003 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
11005 * sysdeps/nios2/crti.S (_init): Mark as hidden.
11007 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
11009 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
11011 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
11013 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
11015 * sysdeps/sh/crti.S (_init): Mark as hidden.
11017 * sysdeps/sparc/crti.S (_init): Mark as hidden.
11019 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
11022 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11024 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
11025 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
11026 and TF redirection to KFtype and KF only when the default
11027 long double type is not the IEEE 128-bit floating point type.
11029 2018-06-05 Joseph Myers <joseph@codesourcery.com>
11031 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
11033 (HWCAP_USCAT): Likewise.
11034 (HWCAP_ILRCPC): Likewise.
11035 (HWCAP_FLAGM): Likewise.
11036 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11038 (_dl_aarch64_cap_flags): Add new flag names.
11040 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
11041 (MAP_FIXED_NOREPLACE): New macro.
11042 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
11043 (MAP_FIXED_NOREPLACE): Likewise.
11044 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
11045 (MAP_FIXED_NOREPLACE): Likewise.
11046 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11047 (MAP_FIXED_NOREPLACE): Likewise.
11048 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
11049 (MAP_FIXED_NOREPLACE): Likewise.
11050 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
11051 (MAP_FIXED_NOREPLACE): Likewise.
11052 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
11053 (MAP_FIXED_NOREPLACE): Likewise.
11054 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
11055 (MAP_FIXED_NOREPLACE): Likewise.
11056 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
11057 (MAP_FIXED_NOREPLACE): Likewise.
11058 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
11059 (MAP_FIXED_NOREPLACE): Likewise.
11060 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
11061 (MAP_FIXED_NOREPLACE): Likewise.
11062 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
11063 (MAP_FIXED_NOREPLACE): Likewise.
11064 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
11065 (MAP_FIXED_NOREPLACE): Likewise.
11066 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
11067 (MAP_FIXED_NOREPLACE): Likewise.
11068 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
11069 (MAP_FIXED_NOREPLACE): Likewise.
11071 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11074 2018-06-04 Joseph Myers <joseph@codesourcery.com>
11076 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11079 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11081 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
11083 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
11085 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11087 * benchtests/scripts/compare_string.py: (process_results) Catch
11088 exception in non-existent base_func and catch exception in
11089 non-existent attribute.
11090 (parse_file) Catch exception if input file does not exist.
11092 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11094 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
11095 options to avoid diff calculation and omit header, respectively.
11096 (main): process --no-diff and --no-header
11098 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11099 H.J. Lu <hongjiu.lu@intel.com>
11101 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11102 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
11104 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11105 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
11106 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
11107 and __wcsncmp_sse2.
11108 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
11109 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
11110 AVX unaligned load is fast and vzeroupper is preferred.
11111 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
11112 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
11113 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
11114 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
11115 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
11116 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
11117 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
11118 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
11119 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
11120 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
11123 2018-06-01 Florian Weimer <fweimer@redhat.com>
11125 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
11126 configuring with --disable-multi-arch, building with
11127 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
11130 2018-06-01 Florian Weimer <fweimer@redhat.com>
11132 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
11133 results from building with “-march=x86-64 -mtune=generic
11134 -mfpmath=sse” and running on a Haswell-era CPU.
11136 2018-06-01 Joseph Myers <joseph@codesourcery.com>
11139 * soft-fp/sqrttf2.c: Remove file.
11140 * soft-fp/sqrtdf2.c: Move to ....
11141 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
11143 (__sqrtdf2): Make conditional on
11144 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11146 * soft-fp/sqrtsf2.c: Move to ....
11147 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
11149 (__sqrtsf2): Make conditional on
11150 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11152 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
11153 (gcc-double-routines): Remove sqrtdf2.
11154 (gcc-quad-routines): Remove sqrttf2.
11155 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11156 Do not filter out sqrtsf2 and sqrtdf2.
11157 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11158 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
11160 2018-06-01 Florian Weimer <fweimer@redhat.com>
11162 * sysdeps/generic/libcidn.abilist: Remove file.
11164 2018-06-01 Florian Weimer <fweimer@redhat.com>
11167 * libio/strfile.h (struct _IO_str_fields): Rename members to
11168 discourage their use and add comment.
11169 (_IO_STR_DYNAMIC): Remove unused macro.
11170 * libio/strops.c (_IO_str_init_static_internal): Do not use
11171 callback pointers. Call malloc and free.
11172 (_IO_str_overflow): Do not use callback pointers. Call malloc
11174 (enlarge_userbuf): Likewise.
11175 (_IO_str_finish): Call free.
11176 * libio/wstrops.c (_IO_wstr_init_static): Initialize
11177 _allocate_buffer_unused.
11178 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
11180 (enlarge_userbuf): Likewise.
11181 (_IO_wstr_finish): Call free.
11182 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
11183 _allocate_buffer_unused, _free_buffer_unused.
11184 * libio/memstream.c (__open_memstream): Likewise.
11185 * libio/vasprintf.c (_IO_vasprintf): Likewise.
11186 * libio/wmemstream.c (open_wmemstream): Likewise.
11188 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
11190 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
11193 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11195 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
11196 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
11197 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
11199 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
11201 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
11203 2018-05-29 Florian Weimer <fweimer@redhat.com>
11205 * support/Makefile (libsupport-routines): Add
11206 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
11207 xpthread_barrierattr_setpshared.
11208 * support/xpthread_barrierattr_destroy.c: New file.
11209 * support/xpthread_barrierattr_init.c: Likewise.
11210 * support/xpthread_barrierattr_setpshared.c: Likewise.
11212 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
11215 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
11216 _r_debug and update DT_DEBUG for debugger.
11218 2018-05-29 Florian Weimer <fweimer@redhat.com>
11220 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
11221 (tst-strtod5i.out): Likewise.
11223 2018-05-25 Joseph Myers <joseph@codesourcery.com>
11225 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
11226 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
11227 (sparc64-quad-routines): New variable. Moved from ....
11228 [$(subdir) = soft-fp] (sysdep_routines): Add
11229 $(sparc64-quad-routines). Moved from ....
11230 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
11231 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
11232 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
11234 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
11235 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
11236 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
11237 * sysdeps/sparc/sparc64/qp_add.c: ... here.
11238 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
11239 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
11240 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
11241 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
11242 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
11243 * sysdeps/sparc/sparc64/qp_div.c: ... here.
11244 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
11245 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
11246 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
11247 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
11248 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
11249 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
11250 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
11251 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
11252 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
11253 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
11254 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
11255 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
11256 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
11257 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
11258 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
11259 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
11260 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
11261 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
11262 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
11263 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
11264 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
11265 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
11266 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
11267 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
11268 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
11269 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
11270 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
11271 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
11272 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
11273 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
11274 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
11275 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
11276 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
11277 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
11278 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
11279 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
11280 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
11281 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
11282 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
11283 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
11284 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
11285 * sysdeps/sparc/sparc64/qp_util.c: ... here.
11286 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
11287 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
11288 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
11289 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
11290 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
11291 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
11293 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
11294 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
11295 (sparc32-quad-routines): New variable. Moved from ....
11296 [$(subdir) = soft-fp] (sysdep_routines): Add
11297 $(sparc32-quad-routines). Moved from ....
11298 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
11299 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
11301 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
11302 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
11303 * sysdeps/sparc/sparc32/q_add.c: ... here.
11304 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
11305 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
11306 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
11307 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
11308 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
11309 * sysdeps/sparc/sparc32/q_div.c: ... here.
11310 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
11311 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
11312 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
11313 * sysdeps/sparc/sparc32/q_feq.c: ... here.
11314 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
11315 * sysdeps/sparc/sparc32/q_fge.c: ... here.
11316 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
11317 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
11318 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
11319 * sysdeps/sparc/sparc32/q_fle.c: ... here.
11320 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
11321 * sysdeps/sparc/sparc32/q_flt.c: ... here.
11322 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
11323 * sysdeps/sparc/sparc32/q_fne.c: ... here.
11324 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
11325 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
11326 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
11327 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
11328 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
11329 * sysdeps/sparc/sparc32/q_mul.c: ... here.
11330 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
11331 * sysdeps/sparc/sparc32/q_neg.c: ... here.
11332 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
11333 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
11334 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
11335 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
11336 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
11337 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
11338 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
11339 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
11340 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
11341 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
11342 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
11343 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
11344 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
11345 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
11346 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
11347 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
11348 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
11349 * sysdeps/sparc/sparc32/q_sub.c: ... here.
11350 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
11351 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
11352 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
11353 * sysdeps/sparc/sparc32/q_util.c: ... here.
11354 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
11355 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
11356 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
11357 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
11359 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11360 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11362 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
11363 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
11364 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
11365 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
11367 2018-05-24 Joseph Myers <joseph@codesourcery.com>
11369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
11371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11373 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
11374 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
11376 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11379 * math/math.h [C++] (iseqsig): Fix parameter type for the long
11382 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11384 * sysdeps/sh/Implies: Remove sh/soft-fp.
11385 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
11386 * sysdeps/sh/sfp-machine.h: ... here.
11388 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11390 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11391 (__mempcpy_erms): Skip zero length.
11392 (__memmove_erms): Likewise.
11393 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11394 (__memset_erms): Likewise.
11396 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11398 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
11399 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11400 Add functions moved from ....
11401 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
11402 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
11403 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
11405 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
11406 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
11407 * sysdeps/alpha/e_sqrtl.c: ... here.
11408 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
11409 * sysdeps/alpha/local-soft-fp.h: ... here.
11410 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
11411 * sysdeps/alpha/ots_add.c: ... here.
11412 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
11413 * sysdeps/alpha/ots_cmp.c: ... here.
11414 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
11415 * sysdeps/alpha/ots_cmpe.c: ... here.
11416 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
11417 * sysdeps/alpha/ots_cvtqux.c: ... here.
11418 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
11419 * sysdeps/alpha/ots_cvtqx.c: ... here.
11420 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
11421 * sysdeps/alpha/ots_cvttx.c: ... here.
11422 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
11423 * sysdeps/alpha/ots_cvtxq.c: ... here.
11424 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
11425 * sysdeps/alpha/ots_cvtxt.c: ... here.
11426 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
11427 * sysdeps/alpha/ots_div.c: ... here.
11428 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
11429 * sysdeps/alpha/ots_mul.c: ... here.
11430 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
11431 * sysdeps/alpha/ots_nintxq.c: ... here.
11432 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
11433 * sysdeps/alpha/ots_sub.c: ... here.
11434 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
11435 * sysdeps/alpha/sfp-machine.h: ... here.
11437 2018-05-23 Florian Weimer <fweimer@redhat.com>
11445 Switch to extern IDNA implementation (libidn2).
11446 * libidn: Remove subdirectory.
11447 * LICENSES: Do not mention licensing conditions for the removed
11449 * config.h.in (HAVE_LIBIDN): Remove.
11450 * include/dlfcn.h (__libc_dlopen): Update comment.
11451 * include/idna.h: Remove file.
11452 * inet/Makefile (routines): Add idna.
11453 (tests-static, tests-internal): Add tst-idna_name_classify.
11454 (LOCALES): Generate locales for tests.
11455 (tst-idna_name_classify.out): Depend on generated locales.
11456 * inet/idna_name_classify.c: New file.
11457 * inet/tst-idna_name_classify.c: Likewise.
11458 * inet/net-internal.h (__idna_to_dns_encoding)
11459 (__idna_from_dns_encoding): Declare.
11460 * inet/net-internal.h (enum idna_name_classification): Define.
11461 (__idna_name_classify): Declare.
11462 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
11463 __idna_from_dns_encoding.
11464 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
11465 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
11466 name as a fallback in case of encoding errors.
11467 (getnameinfo): Use DEPRECATED_NI_IDN.
11468 * inet/idna.c: New file.
11469 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
11470 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
11471 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
11472 (modules-names): Add tst-no-libidn2.
11473 (extra-test-objs): Add tst-no-libidn2.os.
11474 (LDFLAGS-tst-no-libidn2.so): Set soname.
11475 (LOCALES): Set, and generate locales.
11476 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
11477 (tst-resolv-ai_idn-latin1): Likewise.
11478 (tst-resolv-ai_idn-nolibidn2): Likewise.
11479 (tst-resolv-ai_idn.out): Depend on locales.
11480 (tst-resolv-ai_idn-latin1.out): Depend on locales.
11481 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
11483 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
11484 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
11485 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
11486 * resolv/tst-resolv-ai_idn.c: New file.
11487 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
11488 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
11489 * resolv/tst-no-libidn2.c: Likewise.
11490 * support/support_format_addrinfo.c (format_ai_flags): Do not
11491 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
11492 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
11493 (gaih_inet): Call __idna_to_dns_encoding and
11494 __idna_from_dns_encoding, and use the original (punycode) name if
11495 __idna_from_dns_encoding fails due to an encoding error.
11496 (getaddrinfo): Use DEPRECATED_AI_IDN.
11497 * sysdeps/unix/inet/Subdirs (libidn): Remove.
11498 * sysdeps/unix/inet/configure: Remove file.
11499 * sysdeps/unix/inet/configure.ac: Likewise.
11501 2018-05-23 Florian Weimer <fweimer@redhat.com>
11503 Implement allocate_once.
11504 * include/allocate_once.h: New file.
11505 * misc/allocate_once.c: Likewise.
11506 * misc/tst-allocate_once.c: Likewise.
11507 * misc/Makefile (routines): Add allocate_once.
11508 (tests-internal): Add tst-allocate_once.
11509 (generated): Add tst-allocate_once.mtrace,
11510 tst-allocate_once-mem.out.
11511 (tests-special): Add tst-allocate_once-mem.out.
11512 (tst-allocate_once-ENV): Set MALLOC_TRACE.
11513 (tst-allocate_once-mem.out): Call mtrace.
11514 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
11516 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11519 * string/test-memcpy.c (do_test1): New function.
11520 (test_main): Call it.
11522 2018-05-23 Andreas Schwab <schwab@suse.de>
11526 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
11527 (L(preloop_large)): Save initial destination pointer in %r11 and
11528 use it instead of %rax after the loop.
11529 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
11531 2018-05-22 Joseph Myers <joseph@codesourcery.com>
11533 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
11534 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
11535 -I../soft-fp. Moved from ....
11536 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
11537 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
11538 * sysdeps/aarch64/e_sqrtl.c: ... here.
11539 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
11540 * sysdeps/aarch64/sfp-machine.h: ... here.
11542 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
11543 -Wmaybe-uninitialized around access to fq[0].
11544 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11548 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
11549 aliases for non-libc case of versioned symbols.
11550 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
11551 (llseek): Define as compat symbol if
11552 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
11554 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
11555 Make into a compat symbol, disabled for minimum symbol version
11556 GLIBC_2.28 and later.
11557 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
11559 2018-05-22 Florian Weimer <fweimer@redhat.com>
11561 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
11562 not add -mpreferred-stack-boundary=4.
11563 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
11564 (stack-align-test-flags): Likewise.
11565 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
11567 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
11568 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
11569 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
11570 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
11571 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
11572 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
11573 (CFLAGS-tst-align2.c): Likewise.
11575 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11577 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
11578 (index_arch_Prefer_FSRM): Likewise.
11579 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11580 Also check Prefer_FSRM.
11581 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
11582 Also return OPTIMIZE (erms) for Prefer_FSRM.
11584 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11586 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
11587 (index_cpu_FSRM): Likewise.
11588 (reg_FSRM): Likewise.
11590 2018-05-18 Joseph Myers <joseph@codesourcery.com>
11592 * math/gen-tgmath-tests.py: Import sys.
11593 (Tests.__init__): Initialize macros_seen.
11594 (Tests.add_tests): Add macro to macros_seen. Only generate tests
11595 if requested to do so for this macro.
11596 (Tests.add_all_tests): Take argument for macro for which to
11598 (Tests.check_macro_list): New function.
11599 (main): Handle check-list argument and argument specifying macro
11600 for which to generate tests.
11601 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
11602 [PYTHON] (tgmath3-macro-tests): Likewise.
11603 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
11604 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
11605 not test-tgmath3.c.
11606 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
11607 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
11609 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
11610 [PYTHON] ($(foreach
11611 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
11613 [PYTHON] (tests-special): Add
11614 $(objpfx)test-tgmath3-macro-list.out.
11615 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
11617 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
11618 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
11622 * time/tzset.c (SECSPERDAY): Cast to time_t.
11623 * time/tst-y2039.c: New file.
11624 * time/Makefile (tests): Add tst-y2039.
11626 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11628 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11629 (PREFETCH_ONE_SET): Remove duplicate line.
11631 2018-05-17 Florian Weimer <fweimer@redhat.com>
11633 * sysdeps/generic/math-type-macros-double.h: Include
11634 <math-nan-payload-double.h> after <libm-alias-double.h>.
11635 * sysdeps/generic/math-type-macros-float.h: Include
11636 <math-nan-payload-float.h> after <libm-alias-float.h>.
11637 * sysdeps/generic/math-type-macros-float128.h: Include
11638 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
11639 * sysdeps/generic/math-type-macros-ldouble.h: Include
11640 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
11642 2018-05-17 Andreas Schwab <schwab@suse.de>
11644 * resolv/res_send.c (__res_context_send): Don't set errno when
11645 returing error after malloc failure.
11647 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
11649 * nptl/allocatestack.c (allocate_stack): Remove the
11650 !__ASSUME_PRIVATE_FUTEX paths.
11651 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
11652 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11654 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
11655 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11656 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11657 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11658 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
11659 !__ASSUME_PRIVATE_FUTEX path.
11660 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
11661 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
11662 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11663 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
11664 !__ASSUME_PRIVATE_FUTEX macros.
11665 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11666 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11667 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11668 * sysdeps/unix/sysv/linux/kernel-features.h
11669 (__ASSUME_PRIVATE_FUTEX): Removed.
11671 2018-05-17 Joseph Myers <joseph@codesourcery.com>
11673 * math/Makefile (libm-narrow-fns): Add div.
11674 (libm-test-funcs-narrow): Likewise.
11675 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
11676 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
11677 * math/gen-auto-libm-tests.c (test_functions): Add div.
11678 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
11679 (NARROW_DIV_ROUND_TO_ODD): Likewise.
11680 (NARROW_DIV_TRIVIAL): Likewise.
11681 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
11683 (__ddivl): Likewise.
11684 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
11686 (CFLAGS-nldbl-ddiv.c): New variable.
11687 (CFLAGS-nldbl-fdiv.c): Likewise.
11688 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11690 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
11692 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
11693 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
11694 * math/auto-libm-test-in: Add tests of div.
11695 * math/auto-libm-test-out-narrow-div: New generated file.
11696 * math/libm-test-narrow-div.inc: New file.
11697 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
11698 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
11699 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
11700 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
11701 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
11702 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
11703 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
11704 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
11705 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
11706 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
11707 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
11708 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
11709 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
11710 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
11711 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
11712 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
11713 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
11714 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
11715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11716 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11717 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11718 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11719 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11720 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11721 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11722 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11723 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11724 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11725 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11726 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11727 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11728 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11733 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11734 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11735 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11736 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11737 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11738 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11739 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11740 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11742 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11745 * nscd/nscd-client.h (sendfileall): Remove prototype.
11746 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
11747 (handle_request): Use writeall instead of sendfileall.
11748 * nscd/aicache.c (addhstaiX): Likewise.
11749 * nscd/grpcache.c (cache_addgr): Likewise.
11750 * nscd/hstcache.c (cache_addhst): Likewise.
11751 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11752 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
11753 * nscd/pwdcache.c (cache_addpw): Likewise.
11754 * nscd/servicescache.c (cache_addserv): Likewise.
11755 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
11756 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
11757 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
11760 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
11762 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
11763 Include <string/strncat.c>.
11764 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
11766 (__GI___strncat): New hidden alias.
11768 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11770 * sysdeps/mips/mips32/libm-test-ulps: Update.
11771 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11773 2018-05-16 Florian Weimer <fweimer@redhat.com>
11775 * support/Makefile (libsupport-routines): Add support_quote_blob,
11776 support_test_compare_blob.
11777 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
11778 * support/check.h (TEST_COMPARE_BLOB): Define.
11779 (support_test_compare_blob): Declare.
11780 * support/support.h (support_quote_blob): Declare.
11781 * support/support_quote_blob.c: New file.
11782 * support/support_test_compare_blob.c: Likewise.
11783 * support/tst-support_quote_blob.c: Likewise.
11784 * support/tst-test_compare_blob.c: Likewise.
11786 2018-05-16 Florian Weimer <fweimer@redhat.com>
11788 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
11789 of <strtod_nan_double.h>.
11790 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
11791 instead of SET_MANTISSA.
11792 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
11793 of include <strtod_nan_float.h>.
11794 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
11795 instead of <strtod_nan_ldouble.h>.
11796 * stdlib/strtod_nan_double.h: Move to ...
11797 * sysdeps/generic/math-nan-payload-double.h: ... here.
11798 (FLOAT): Remove definition.
11799 (SET_MANTISSA): Rename to ...
11800 (SET_NAN_PAYLOAD): ... this.
11801 * stdlib/strtod_nan_float.h: Move to ...
11802 * sysdeps/generic/math-nan-payload-float.h: ... here.
11803 (FLOAT): Remove definition.
11804 (SET_MANTISSA): Rename to ...
11805 (SET_NAN_PAYLOAD): ... this.
11806 * sysdeps/generic/math-type-macros-double.h: Include
11807 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
11808 instead of <math-svid-compat.h>.
11809 * sysdeps/generic/math-type-macros-float.h: Include
11810 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
11811 instead of <math-svid-compat.h>.
11812 * sysdeps/generic/math-type-macros-float128.h: Include
11813 <math-nan-payload-float128.h>.
11814 * sysdeps/generic/math-type-macros-ldouble.h: Include
11815 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
11816 instead of <math-svid-compat.h>.
11817 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
11818 check for definition.
11819 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
11820 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
11821 Include <ieee754_float128.h>.
11822 (FLOAT): Remove definition.
11823 (SET_MANTISSA): Rename to ...
11824 (SET_NAN_PAYLOAD): ... this.
11825 * sysdeps/ieee754/float128/strtof128_nan.c: Include
11826 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
11827 Do not include <float128_private.h>.
11828 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
11829 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
11830 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
11831 (FLOAT): Remove definition.
11832 (SET_MANTISSA): Rename to ...
11833 (SET_NAN_PAYLOAD): ... this.
11834 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
11835 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
11836 (FLOAT): Remove definition.
11837 (SET_MANTISSA): Rename to ...
11838 (SET_NAN_PAYLOAD): ... this.
11839 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
11840 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
11841 (FLOAT): Remove definition.
11842 (SET_MANTISSA): Rename to ...
11843 (SET_NAN_PAYLOAD): ... this.
11844 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
11845 of "../stdlib/strtod_nan_double.h".
11846 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
11847 of "../stdlib/strtod_nan_float.h".
11848 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
11849 instead of "../stdlib/strtod_nan_ldouble.h".
11850 * manual/arith.texi (Parsing of Floats): Adjust comment.
11852 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11854 * math/Makefile (libm-narrow-fns): Add mul.
11855 (libm-test-funcs-narrow): Likewise.
11856 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
11857 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
11858 * math/gen-auto-libm-tests.c (test_functions): Add mul.
11859 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
11860 (NARROW_MUL_ROUND_TO_ODD): Likewise.
11861 (NARROW_MUL_TRIVIAL): Likewise.
11862 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
11863 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
11865 (__dmull): Likewise.
11866 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
11868 (CFLAGS-nldbl-dmul.c): New variable.
11869 (CFLAGS-nldbl-fmul.c): Likewise.
11870 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11872 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
11874 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
11875 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
11876 * math/auto-libm-test-in: Add tests of mul.
11877 * math/auto-libm-test-out-narrow-mul: New generated file.
11878 * math/libm-test-narrow-mul.inc: New file.
11879 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
11880 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
11881 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
11882 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
11883 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
11884 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
11885 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
11886 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
11887 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
11888 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
11889 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
11890 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
11891 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
11892 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
11893 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
11894 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
11895 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
11896 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
11897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11898 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11899 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11900 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11901 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11902 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11903 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11904 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11905 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11906 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11907 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11908 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11909 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11910 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11915 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11916 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11917 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11918 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11919 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11920 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11921 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11922 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11924 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11926 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11927 with *%eax in call.
11929 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11931 * sysdeps/i386/ldsodefs.h: Removed.
11932 * sysdeps/x86_64/ldsodefs.h: Moved to ...
11933 * sysdeps/x86/ldsodefs.h: This.
11934 (La_i86_regs): New.
11935 (La_i86_retval): Likewise.
11936 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
11937 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
11939 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11941 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
11944 2018-05-13 Alan Modra <amodra@gmail.com>
11946 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
11947 R_PARISC_TLS_DTPOFF32 reloc addend.
11949 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11951 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
11952 * math/math.h: Restrict the prototype definition for the functions
11953 issignaling(_Float128) and iszero(_Float128); and template
11954 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
11955 __HAVE_FLOAT128_UNLIKE_LDBL.
11956 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
11957 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
11958 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
11959 __f128() constants; define the type _Float128 as long double;
11960 and reuse long double in __CFLOAT128.
11962 2018-05-11 Joseph Myers <joseph@codesourcery.com>
11964 * sysdeps/generic/math_private.h: Do not include
11966 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
11968 * math/fromfp.h: Include <math-barriers.h>.
11969 * math/math-narrow.h: Likewise.
11970 * math/s_nextafter.c: Likewise.
11971 * math/s_nexttowardf.c: Likewise.
11972 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11973 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11974 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11975 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11976 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11977 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11978 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11979 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11980 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11981 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11982 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11983 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11984 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11985 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11986 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11987 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11988 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11989 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11990 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11991 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11992 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11993 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11994 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11995 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11996 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11997 * sysdeps/ieee754/k_standardl.c: Likewise.
11998 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11999 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12000 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12001 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12002 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12003 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12004 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12005 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12006 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12007 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12008 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12009 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12010 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12011 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12012 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12013 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12014 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12015 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12016 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12017 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12018 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
12019 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
12021 2018-05-11 Florian Weimer <fweimer@redhat.com>
12023 Use 64-bit epoch values in the time zone file parser.
12024 * include/time.h (internal_time_t): Define.
12025 (__tzfile_compute): Use it.
12026 * time/tzfile.c (struct leap): Use internal_time_t for epoch
12028 (transitions): Switch to internal_time_t.
12029 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
12031 (__tzfile_compute): Use internal_time_t for timer argument. Check
12032 for truncation before calling __offtime.
12034 2018-05-11 Florian Weimer <fweimer@redhat.com>
12037 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
12038 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
12040 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
12041 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
12042 export without --enable-obsolete-rpc.
12043 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
12044 symbol. This should not have been exported, ever.
12046 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
12049 * localedata/locales/gd_GB (abmon): Fix typo in May:
12050 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
12052 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12054 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12055 Use multiple registers to copy data in loop tail.
12057 * sysdeps/aarch64/multiarch/memmove_falkor.S
12058 (__memmove_falkor): Use multiple registers to move data in
12061 2018-05-10 Joseph Myers <joseph@codesourcery.com>
12063 * math/math-underflow.h: New file.
12064 * sysdeps/generic/math_private.h: Do not include <float.h>.
12065 (fabs_tg): Remove macro. Moved to math-underflow.h.
12066 (min_of_type_f): Likewise.
12067 (min_of_type_): Likewise.
12068 (min_of_type_l): Likewise.
12069 (min_of_type_f128): Likewise.
12070 (min_of_type): Likewise.
12071 (math_check_force_underflow): Likewise.
12072 (math_check_force_underflow_nonneg): Likewise.
12073 (math_check_force_underflow_complex): Likewise.
12074 * math/e_exp2_template.c: Include <math-underflow.h>.
12075 * math/k_casinh_template.c: Likewise.
12076 * math/s_catan_template.c: Likewise.
12077 * math/s_catanh_template.c: Likewise.
12078 * math/s_ccosh_template.c: Likewise.
12079 * math/s_cexp_template.c: Likewise.
12080 * math/s_clog10_template.c: Likewise.
12081 * math/s_clog_template.c: Likewise.
12082 * math/s_csin_template.c: Likewise.
12083 * math/s_csinh_template.c: Likewise.
12084 * math/s_csqrt_template.c: Likewise.
12085 * math/s_ctan_template.c: Likewise.
12086 * math/s_ctanh_template.c: Likewise.
12087 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12088 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12089 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12090 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12091 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12092 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12093 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12094 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12095 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12096 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12097 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12098 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12099 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12100 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12101 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12102 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12103 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12104 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12105 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12106 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12107 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12108 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12109 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12110 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12111 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12112 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12113 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12114 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12115 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12116 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12117 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12118 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12119 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12120 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12121 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12122 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12123 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12124 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12125 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12126 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12127 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12128 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12129 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12130 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12131 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12132 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12133 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12134 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12135 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12136 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12137 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12138 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12139 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12140 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12141 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12142 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12143 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12144 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12145 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12146 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12147 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12148 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12149 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12150 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12151 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12152 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12153 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12154 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12155 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12156 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12157 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12158 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12159 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12160 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
12161 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12162 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12163 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12164 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12165 * sysdeps/x86/fpu/powl_helper.c: Likewise.
12166 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
12167 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
12168 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12169 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12170 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12172 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12174 * sysdeps/generic/math-barriers.h: New file.
12175 * sysdeps/generic/math_private.h [!math_opt_barrier]
12176 (math_opt_barrier): Move to math-barriers.h.
12177 [!math_opt_barrier] (math_force_eval): Likewise.
12178 * sysdeps/aarch64/fpu/math-barriers.h: New file.
12179 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
12181 (math_force_eval): Likewise.
12182 * sysdeps/alpha/fpu/math-barriers.h: New file.
12183 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
12185 (math_force_eval): Likewise.
12186 * sysdeps/x86/fpu/math-barriers.h: New file.
12187 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
12189 (math_force_eval): Likewise.
12190 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
12191 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
12192 multiple-include guard for rename.
12193 * sysdeps/powerpc/fpu/math-barriers.h: New file.
12194 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
12196 (math_force_eval): Likewise.
12198 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
12202 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
12204 * stdlib/Makefile (test-bz22786): New test.
12205 * stdlib/test-bz22786.c: New test.
12207 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12209 * include/math-narrow-eval.h: New file. Contents moved from ....
12210 * sysdeps/generic/math_private.h: ... here.
12211 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
12212 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12213 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
12214 * stdlib/strtod_l.c: Likewise.
12215 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12216 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12217 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12218 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12219 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12220 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12221 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12222 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12223 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12224 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12225 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12226 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12227 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12228 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12229 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12230 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12231 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12232 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12233 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12234 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12235 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12236 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12237 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12238 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12239 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12240 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12241 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12242 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12243 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12245 2018-05-08 Andreas Schwab <schwab@suse.de>
12247 * sysdeps/nptl/internaltypes.h: Fix comment.
12249 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
12251 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12252 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
12255 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12257 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
12258 of I into loop header.
12259 * benchtests/bench-memmove-walk.c
12260 (test_main): Likewise.
12262 2018-05-07 Alexandre Oliva <oliva@gnu.org>
12265 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12266 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12268 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12271 * elf/dl-load.c (open_verify): Fix stack overflow.
12272 * elf/Makefile (tst-big-note): New test.
12273 * elf/tst-big-note-lib.S: New.
12274 * elf/tst-big-note.c: New.
12276 2018-05-04 Joseph Myers <joseph@codesourcery.com>
12278 * scripts/abilist.awk: Ignore absolute symbols.
12279 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
12280 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
12281 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
12282 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
12283 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
12284 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
12285 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12286 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
12287 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
12288 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
12289 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
12290 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
12291 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12292 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
12293 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
12294 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12295 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
12296 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
12297 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12298 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
12299 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12300 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
12301 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
12302 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
12303 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
12304 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12305 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
12306 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
12307 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12308 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
12309 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
12310 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12311 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
12312 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12313 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
12314 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
12315 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
12316 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
12317 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12318 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
12319 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
12320 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12321 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
12322 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
12323 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12324 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
12325 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12326 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
12327 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
12328 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
12329 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
12330 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12331 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
12332 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
12333 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12334 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
12335 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
12336 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12337 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
12338 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12339 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
12340 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
12341 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
12342 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
12343 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12344 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
12345 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
12346 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12347 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
12348 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
12349 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12350 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
12351 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12352 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
12353 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
12354 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
12355 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
12356 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12357 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
12358 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
12359 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12360 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
12361 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
12362 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12363 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
12364 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12365 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
12366 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
12367 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
12368 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
12369 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12370 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12372 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
12373 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12374 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
12375 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
12376 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12377 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
12378 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12379 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
12380 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
12381 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
12382 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
12383 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12384 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12386 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
12387 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12388 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
12389 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
12390 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12391 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
12392 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12393 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
12394 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
12395 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
12396 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
12397 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12398 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
12399 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
12400 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12401 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
12402 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
12403 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12404 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
12405 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12406 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
12407 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
12408 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
12409 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
12410 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12411 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12412 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12414 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
12415 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
12416 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
12417 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
12418 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12419 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
12420 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
12421 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
12422 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
12423 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
12424 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
12425 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
12426 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
12427 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12428 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
12429 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
12430 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
12431 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
12432 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12433 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12435 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
12436 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
12437 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
12438 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12439 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
12440 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12441 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
12442 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
12443 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
12444 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12445 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12446 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
12447 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12448 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12449 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
12450 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12451 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
12452 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
12453 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12454 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
12455 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
12456 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12457 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
12458 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12459 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
12460 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
12461 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
12462 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
12463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
12469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
12470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
12471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
12472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
12476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
12477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
12480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
12492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
12493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
12498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
12499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
12500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
12504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
12505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
12513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
12514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
12515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
12522 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12523 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
12525 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12526 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12527 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
12528 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12529 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12530 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12531 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12532 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
12533 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12534 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
12535 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12536 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
12537 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12538 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12540 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12541 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
12542 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
12543 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12544 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
12545 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12546 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
12547 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
12548 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
12549 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
12550 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12551 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12553 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12554 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
12555 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
12556 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12557 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
12558 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12559 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
12560 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
12561 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
12562 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
12563 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12564 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
12565 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
12566 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12567 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
12568 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
12569 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12570 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
12571 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12572 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
12573 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
12574 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
12575 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
12576 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12577 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12579 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
12580 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12581 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
12582 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
12583 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12584 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
12585 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12586 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
12587 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
12588 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
12589 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
12590 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12591 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12593 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
12594 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12595 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
12596 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
12597 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12598 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
12599 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12600 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
12601 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
12602 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
12603 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
12604 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12605 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
12606 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
12607 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12608 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
12609 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
12610 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12611 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
12612 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12613 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
12614 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
12615 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
12616 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
12617 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12618 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12619 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
12620 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
12621 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12622 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
12623 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
12624 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12625 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
12626 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12627 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
12628 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
12629 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
12630 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
12632 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
12635 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
12636 Use atomic_load_acquire to load __tid.
12638 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12640 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
12641 Restore the pointer into %rdx, after syscall and use %rdx,
12642 instead of %rsi, to restore context.
12644 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12646 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
12647 Pop the pointer into %rdx after syscall and use %rdx, instead
12648 of %rsi, to restore context.
12650 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12652 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
12653 handlers after setjmp.
12654 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
12656 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
12657 <libc-pointer-arith.h>.
12658 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
12659 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
12660 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
12661 _JUMP_BUF_SIGSET_BITS_PER_WORD.
12662 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
12663 * sysdeps/x86/__longjmp_cancel.S: New file.
12664 * sysdeps/x86/longjmp.c: Likewise.
12665 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
12667 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12669 * NEWS: Add ustat.h deprecation entry.
12670 * bits/ustat.h: Remove file.
12671 * misc/sys/ustat.h: Likewise.
12672 * misc/ustat.h: Likewise.
12673 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
12674 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
12675 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
12676 compatibility mode.
12677 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
12678 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
12679 generic Linux implementation.
12681 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12683 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
12684 * math/w_expl_compat.c: Likewise.
12685 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
12687 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12689 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12691 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12693 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
12694 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
12695 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
12697 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
12698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12699 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12700 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
12701 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
12704 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12706 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
12708 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
12709 * math/w_asin_template.c: Likewise.
12710 * math/w_atanh_template.c: Likewise.
12712 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12714 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
12715 to powerpc/powerpc64/be for big-endian.
12716 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
12719 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
12720 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
12721 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
12722 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
12723 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12724 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
12725 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
12726 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
12727 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
12728 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12729 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
12730 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
12731 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
12732 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
12733 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
12734 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
12735 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
12736 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
12737 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
12738 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
12739 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
12740 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12741 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
12742 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
12743 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
12744 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12745 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
12746 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
12747 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
12748 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12749 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12750 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12752 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
12753 adjusted to imply powerpc64 and older processors on powerpc64/be.
12754 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
12755 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
12756 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
12757 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
12758 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
12759 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
12760 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
12761 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
12762 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
12763 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
12764 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
12765 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
12766 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
12767 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
12768 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
12769 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
12770 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
12771 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
12772 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
12773 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
12774 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
12775 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
12776 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
12777 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
12778 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
12779 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
12780 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
12781 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
12782 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
12783 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
12784 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
12786 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
12787 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
12788 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
12789 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
12791 * sysdeps/powerpc/powerpc64/be/Implies: New file.
12792 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
12793 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
12794 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
12796 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
12797 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
12798 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
12799 * sysdeps/powerpc/powerpc64le/configure: Likewise.
12800 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
12801 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
12802 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
12803 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
12804 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
12805 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
12806 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
12808 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
12809 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
12810 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
12811 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
12812 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
12813 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
12814 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
12815 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
12816 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
12817 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
12818 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
12820 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
12821 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
12822 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
12823 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
12824 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
12825 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
12826 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
12827 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
12828 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
12829 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
12830 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
12831 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
12833 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
12834 and adjusted to imply olders processors.
12835 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
12836 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
12837 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
12838 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
12839 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
12840 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
12841 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
12842 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
12843 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
12844 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
12845 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
12847 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
12849 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
12850 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
12852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
12854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
12855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
12857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
12859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
12861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
12863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
12864 powerpc64 and adjusted.
12865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
12866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
12867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
12870 2018-04-27 Joseph Myers <joseph@codesourcery.com>
12872 * sysdeps/tile: Remove.
12873 * sysdeps/unix/sysv/linux/tile: Likewise.
12874 * README (tilegx-*-linux-gnu): Remove from list of supported
12876 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
12877 contribution of support for generic Linux kernel syscall
12879 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
12880 tilegx configurations.
12881 (Config.install_linux_headers): Do not handle tile.
12882 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
12884 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
12885 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
12886 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12887 conditional undefine and redefine.
12888 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
12890 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12891 conditional undefine and redefine.
12893 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
12895 * signal/tst-sigaction.c: New file to test BZ #23069.
12896 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
12898 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12901 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
12902 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
12903 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
12904 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
12906 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12908 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
12909 _DIRENT_MATCHES_DIRENT64 is not defined.
12910 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
12911 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
12913 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
12914 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
12916 2018-04-25 Joseph Myers <joseph@codesourcery.com>
12918 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
12919 version to GCC 8 branch.
12921 2018-04-24 Joseph Myers <joseph@codesourcery.com>
12923 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
12924 (check_no_hidden): Use type of original function when declaring
12927 * sysdeps/unix/sysv/linux/sys/ptrace.h
12928 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
12929 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
12930 (struct __ptrace_seccomp_metadata): New type.
12931 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12932 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12933 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
12934 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12935 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
12936 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12937 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12938 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12939 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12940 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12941 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12942 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12943 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
12944 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12945 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
12946 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12948 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12950 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
12952 * dirent/versionsort.c (versionsort): Likewise.
12953 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
12954 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
12955 * dirent/versionsort64.c (versionsort64): Likewise.
12956 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
12957 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
12958 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
12959 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
12960 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
12961 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
12962 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
12963 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
12964 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
12965 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
12966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
12967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
12968 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
12969 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
12971 2018-04-23 Joseph Myers <joseph@codesourcery.com>
12973 * elf/elf.h (NT_PPC_PKEY): New macro.
12975 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
12978 * localedata/locales/hr_HR: fix thousands_sep and
12981 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12983 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
12984 (XTABS): Define to TAB3.
12986 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12988 * sysdeps/hppa/fpu/libm-test-ulps: Update.
12990 * dirent/scandir-tail-common.c: New file.
12991 * dirent/scandir-tail.c: Use scandir-tail-common.c.
12992 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
12993 * dirent/scandir.c: Use scandir-tail-common.c.
12994 * dirent/scandirat.c: Likewise.
12995 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
12996 * dirent/scandir64.c (scandir64): Always build and alias to scandir
12997 if _DIRENT_MATCHES_DIRENT64 is defined.
12998 * dirent/scandirat64.c (scandirat64): Likewise.
12999 * include/dirent.h (__scandir_tail): Only define iff
13000 _DIRENT_MATCHES_DIRENT64 is not defined.
13001 (__scandir64_tail): Define regardless.
13002 (__scandirat, scandirat64): Remove libc_hidden_proto.
13003 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
13004 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
13005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
13006 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
13007 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13008 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
13009 * sysdeps/unix/sysv/linux/scandir64.c: New file.
13011 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13013 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
13015 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13017 (_dl_aarch64_cap_flags): Add asimdfhm.
13019 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
13021 * sysdeps/nios2/libm-test-ulps: Update.
13023 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13025 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
13026 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
13028 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
13030 (_DIRENT_MATCHES_DIRENT64): Undef
13031 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
13032 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
13033 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
13034 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
13035 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
13036 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
13037 use getdents64 syscalls as base.
13038 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
13039 symbol if required.
13040 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
13041 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
13042 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
13043 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
13044 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
13045 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
13046 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
13047 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
13048 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13049 (__get_clockfreq_via_proc_openprom): Use __getdents64.
13050 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
13052 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13054 * scripts/test_printers_common.py (init_test): Disable lock elision.
13056 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13058 * math/test-tgmath.c (count_double, count_float,
13059 count_ldouble, count_cdouble, count_cfloat,
13060 count_cldouble): Use volatile int.
13062 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13064 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
13065 (conformtest-xfail-conds): Add i386-gnu.
13066 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
13068 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
13069 ipc_perm.cuid, ipc_perm.cgid): Likewise.
13070 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
13071 msqid_ds.msg_lrpid): Likewise.
13072 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
13074 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
13075 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
13076 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
13077 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
13079 (struct statvfs64): Likewise.
13080 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
13082 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
13083 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
13084 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
13085 instead of wait_queue.
13086 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
13087 instead of vm_area_struct.
13088 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
13089 struct sched_param definition to it.
13090 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13091 * bits/types/struct_sched_param.h: New file.
13092 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
13093 <bits/types/struct_sched_param.h> instead of <sched.h>.
13094 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
13095 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
13096 generic version but include <bits/pthreadtypes.h> to make struct
13097 sigevent's sigev_notify_attributes field a pthread_attr_t*.
13098 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
13100 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
13101 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
13102 [__USE_XOPEN] (OFDEL): New macro.
13103 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
13104 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
13105 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
13107 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
13108 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
13109 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
13111 * sysdeps/i386/sys/ucontext.h: Likewise.
13112 * sysdeps/m68k/sys/ucontext.h: Likewise.
13113 * sysdeps/mips/sys/ucontext.h: Likewise.
13114 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
13115 * sysdeps/mach/hurd/i386/Makefile
13116 (test-xfail-POSIX/fcntl.h/conform): Add.
13117 (test-xfail-POSIX/signal.h/conform): Add.
13118 (test-xfail-POSIX/semaphore.h/conform): Add.
13119 (test-xfail-POSIX/regex.h/conform): Add.
13120 (test-xfail-POSIX/aio.h/conform): Add.
13121 (test-xfail-POSIX/mqueue.h/conform): Add.
13122 (test-xfail-POSIX/sys/types.h/conform): Add.
13123 (test-xfail-UNIX98/fcntl.h/conform): Add.
13124 (test-xfail-UNIX98/netdb.h/conform): Add.
13125 (test-xfail-UNIX98/signal.h/conform): Add.
13126 (test-xfail-UNIX98/semaphore.h/conform): Add.
13127 (test-xfail-UNIX98/regex.h/conform): Add.
13128 (test-xfail-UNIX98/aio.h/conform): Add.
13129 (test-xfail-UNIX98/ftw.h/conform): Add.
13130 (test-xfail-UNIX98/mqueue.h/conform): Add.
13131 (test-xfail-UNIX98/netinet/in.h/conform): Add.
13132 (test-xfail-UNIX98/sys/wait.h/conform): Add.
13133 (test-xfail-UNIX98/sys/sem.h/conform): Add.
13134 (test-xfail-UNIX98/sys/uio.h/conform): Add.
13135 (test-xfail-UNIX98/sys/socket.h/conform): Add.
13136 (test-xfail-UNIX98/sys/types.h/conform): Add.
13137 (test-xfail-UNIX98/stdlib.h/conform): Add.
13138 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
13139 (test-xfail-POSIX2008/fcntl.h/conform): Add.
13140 (test-xfail-POSIX2008/netdb.h/conform): Add.
13141 (test-xfail-POSIX2008/signal.h/conform): Add.
13142 (test-xfail-POSIX2008/semaphore.h/conform): Add.
13143 (test-xfail-POSIX2008/regex.h/conform): Add.
13144 (test-xfail-POSIX2008/aio.h/conform): Add.
13145 (test-xfail-POSIX2008/mqueue.h/conform): Add.
13146 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
13147 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
13148 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
13149 (test-xfail-POSIX2008/sys/types.h/conform): Add.
13150 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
13151 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
13152 (test-xfail-XOPEN2K/netdb.h/conform): Add.
13153 (test-xfail-XOPEN2K/signal.h/conform): Add.
13154 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
13155 (test-xfail-XOPEN2K/regex.h/conform): Add.
13156 (test-xfail-XOPEN2K/aio.h/conform): Add.
13157 (test-xfail-XOPEN2K/ftw.h/conform): Add.
13158 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
13159 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
13160 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
13161 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
13162 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
13163 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
13164 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
13165 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
13166 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
13167 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
13168 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
13169 (test-xfail-XOPEN2K8/signal.h/conform): Add.
13170 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
13171 (test-xfail-XOPEN2K8/regex.h/conform): Add.
13172 (test-xfail-XOPEN2K8/aio.h/conform): Add.
13173 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
13174 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
13175 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
13176 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
13177 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
13178 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
13179 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
13180 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
13181 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
13182 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
13183 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
13185 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
13186 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
13188 2018-04-18 Joseph Myers <joseph@codesourcery.com>
13190 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
13191 --enable-obsolete for powerpc-linux-gnuspe.
13193 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13195 * conform/data/sys/un.h-data: Allow sun_ prefix.
13196 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
13198 * sysdeps/mach/include/mach.h: Likewise.
13199 * sysdeps/mach/include/mach/mig_support.h: Likewise.
13200 * sysdeps/mach/include/mach_error.h: Likewise.
13202 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13204 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
13205 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
13206 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
13207 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
13209 2018-04-16 Andreas Schwab <schwab@suse.de>
13212 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
13214 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13216 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
13217 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
13219 2018-04-12 DJ Delorie <dj@redhat.com>
13221 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13224 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13226 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
13227 (struct kernel_sigaction): Use the same definition on 31bit as is used
13230 2018-04-09 Florian Weimer <fweimer@redhat.com>
13233 * resolv/res_send.c (send_dg): Use designated initializers instead
13234 of assignment to zero-initialize other fields of struct mmsghdr.
13236 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13238 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
13239 __READDIR_ALIAS): Undefine after usage.
13240 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
13241 __READDIR_R_ALIAS): Likewise.
13242 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
13243 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
13244 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
13245 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
13246 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
13247 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
13248 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13249 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13250 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
13251 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
13252 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
13253 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
13254 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13255 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
13256 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
13257 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
13258 * sysdeps/unix/sysv/linux/readdir.c: New file.
13259 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
13260 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
13261 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
13263 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13265 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
13267 * manual/charset.texi (Converting a Character): Fix typo.
13269 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13273 * sysdeps/arm/libm-test-ulps: Update.
13275 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
13276 as base implementation.
13277 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13278 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13279 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13280 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13281 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13282 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
13283 remove unrequired definitions and update comments.
13284 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
13285 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
13286 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
13287 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
13288 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
13289 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
13290 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
13291 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
13292 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
13293 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
13294 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
13295 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13296 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13297 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
13298 and RESET_SA_RESTORER hooks.
13300 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
13302 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13304 2018-04-05 Florian Weimer <fweimer@redhat.com>
13306 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
13307 integer overflow, memory leak on error, and indeterminate errno
13308 value. Add a null wide character to terminate the result string.
13309 * manual/charset.texi (Converting a Character): Mention embedded
13310 null bytes in the mbrtowc input string. Explain what happens in
13311 the -2 result case. Do not claim that mbrtowc is simple or
13312 obvious to use. Adjust the description of the code example. Use
13313 @code, not @var, for concrete variables.
13315 2018-04-05 Florian Weimer <fweimer@redhat.com>
13317 * manual/examples/mbstouwcs.c: New file.
13318 * manual/charset.texi (Converting a Character): Include it.
13320 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13322 * include/dirent.h (dirfd): Add hidden proto.
13323 * dirent/dirfd.c (dirfd): Add hidden def.
13324 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
13325 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
13327 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13329 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
13330 sin, cos and sincos to 1 ULP.
13332 2018-04-04 Maciej W. Rozycki <macro@mips.com>
13335 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
13337 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
13338 * elf/tst-absolute-sym.c: New file.
13339 * elf/tst-absolute-sym-lib.c: New file.
13340 * elf/tst-absolute-sym-lib.lds: New file.
13341 * elf/Makefile (tests): Add `tst-absolute-sym'.
13342 (modules-names): Add `tst-absolute-sym-lib'.
13343 (LDLIBS-tst-absolute-sym-lib.so): New variable.
13344 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
13345 ($(objpfx)tst-absolute-sym): New dependency.
13348 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
13350 (SYMBOL_ADDRESS): New macro.
13351 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
13352 SYMBOL_ADDRESS for symbol address calculation.
13353 * elf/dl-runtime.c (_dl_fixup): Likewise.
13354 (_dl_profile_fixup): Likewise.
13355 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
13356 * elf/rtld.c (dl_main): Likewise.
13357 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
13358 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
13359 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
13360 (elf_machine_rela): Likewise.
13361 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
13362 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
13363 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13364 (elf_machine_rela): Likewise.
13365 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13366 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
13367 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
13368 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13370 (elf_machine_reloc): Likewise.
13371 (elf_machine_got_rel): Likewise.
13372 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
13373 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
13374 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13376 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13378 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
13379 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13381 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13383 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13384 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13386 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13388 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
13389 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13391 2018-04-04 Zack Weinberg <zackw@panix.com>
13393 * sysdeps/generic/internal-signals.h: Include signal.h,
13394 sigsetops.h, and stdbool.h.
13395 (__libc_signal_block_all): Actually block all signals.
13396 (__libc_signal_block_app): Likewise.
13397 (__libc_signal_restore_set): Actually restore the signal mask.
13399 2018-04-04 Florian Weimer <fweimer@redhat.com>
13401 inet: Actually build and run tst-deadline.
13402 * inet/Makefile (tests-internal): Add tst-deadline and do not
13403 overwrite the variable.
13404 (tests-static-internal): Remove variable.
13406 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
13409 * bits/uio-ext.h (RWF_APPEND): New.
13410 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
13411 * manual/llio.texi: Document RWF_APPEND.
13412 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
13413 (RWF_SUPPORTED): Add RWF_APPEND.
13415 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13418 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
13419 check for internal nptl signals.
13420 * nptl/sigaction.c (__sigaction): Likewise.
13421 * signal/sigaddset.c (sigaddset): Likewise.
13422 * signal/sigdelset.c (sigdelset): Likewise.
13423 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13424 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
13426 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
13427 to filter out internal nptl signals.
13428 * signal/tst-sigset.c (do_test): Check ech signal indidually and
13429 also check realtime signals using standard macros.
13430 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
13431 __is_internal_signal, __libc_signal_block_all,
13432 __libc_signal_block_app, __libc_signal_restore_set): New functions.
13433 * sysdeps/nptl/sigfillset.c: Remove file.
13434 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
13435 Change return to bool.
13436 (__clear_internal_signals): Remove SIGTIMER clean since it is
13437 equal to SIGCANEL on Linux.
13438 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
13439 signal set was constructed using standard functions.
13441 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13443 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
13444 ifname is too long.
13445 * hurd/hurdsig.c (interrupted_reply_port_location): Use
13446 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
13447 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
13449 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
13450 * signal/sigaddset.c: Include <sigsetopts.h>.
13451 * signal/sigdelset.c: Likewise.
13453 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13455 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
13457 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
13458 logic as sin and cos.
13460 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13462 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
13463 inputs. Return correct sign.
13464 (do_sincos): Remove small input check before do_sin, let do_sin set
13469 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13471 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
13472 (do_cos_slow): Likewise.
13473 (do_sin_slow): Likewise.
13474 (reduce_and_compute): Likewise.
13479 (sloww1): Likewise.
13480 (sloww2): Likewise.
13482 (bslow1): Likewise.
13483 (bslow2): Likewise.
13484 (cslow2): Likewise.
13486 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13488 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
13489 (do_cos): Remove corp parameter and calculations.
13490 (do_sin): Likewise.
13491 (do_sincos): Remove cor variable.
13492 (__sin): Use do_sincos for huge inputs.
13494 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13495 (reduce_and_compute_sincos): Remove unused function.
13497 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13499 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
13500 reduce_sincos, improve accuracy to 136 bits.
13501 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
13502 (__sin): Use improved reduction and simplified do_sincos calculation.
13504 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13506 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13508 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
13509 (do_sincos_2): Likewise.
13510 (__sin): Remove middle range reduction case.
13512 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
13515 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13517 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
13518 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
13521 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
13523 2018-04-03 Joseph Myers <joseph@codesourcery.com>
13525 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13528 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13530 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
13531 Remove definitions.
13532 (opendir_oflags): Use O_DIRECTORY regardless.
13533 (__opendir, __opendirat): Remove need_isdir_precheck usage.
13534 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
13536 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13538 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
13539 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
13541 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
13542 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
13543 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
13544 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
13545 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
13546 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
13548 * htl/Makefile: Bump licence to LGPL 2.1+.
13549 * htl/alloca_cutoff.c: Likewise.
13550 * htl/cthreads-compat.c: Likewise.
13551 * htl/lockfile.c: Likewise.
13552 * htl/pt-alloc.c: Likewise.
13553 * htl/pt-cancel.c: Likewise.
13554 * htl/pt-cleanup.c: Likewise.
13555 * htl/pt-create.c: Likewise.
13556 * htl/pt-dealloc.c: Likewise.
13557 * htl/pt-detach.c: Likewise.
13558 * htl/pt-exit.c: Likewise.
13559 * htl/pt-getattr.c: Likewise.
13560 * htl/pt-initialize.c: Likewise.
13561 * htl/pt-internal.h: Likewise.
13562 * htl/pt-join.c: Likewise.
13563 * htl/pt-self.c: Likewise.
13564 * htl/pt-setcancelstate.c: Likewise.
13565 * htl/pt-setcanceltype.c: Likewise.
13566 * htl/pt-sigmask.c: Likewise.
13567 * htl/pt-spin-inlines.c: Likewise.
13568 * htl/pt-testcancel.c: Likewise.
13569 * htl/pt-yield.c: Likewise.
13570 * htl/tests/test-1.c: Likewise.
13571 * htl/tests/test-10.c: Likewise.
13572 * htl/tests/test-11.c: Likewise.
13573 * htl/tests/test-12.c: Likewise.
13574 * htl/tests/test-13.c: Likewise.
13575 * htl/tests/test-14.c: Likewise.
13576 * htl/tests/test-15.c: Likewise.
13577 * htl/tests/test-16.c: Likewise.
13578 * htl/tests/test-17.c: Likewise.
13579 * htl/tests/test-2.c: Likewise.
13580 * htl/tests/test-3.c: Likewise.
13581 * htl/tests/test-4.c: Likewise.
13582 * htl/tests/test-5.c: Likewise.
13583 * htl/tests/test-6.c: Likewise.
13584 * htl/tests/test-7.c: Likewise.
13585 * htl/tests/test-8.c: Likewise.
13586 * htl/tests/test-9.c: Likewise.
13587 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
13588 * sysdeps/htl/bits/cancelation.h: Likewise.
13589 * sysdeps/htl/bits/pthread-np.h: Likewise.
13590 * sysdeps/htl/bits/pthread.h: Likewise.
13591 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
13592 * sysdeps/htl/bits/semaphore.h: Likewise.
13593 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
13594 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
13595 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
13596 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
13597 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
13598 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
13599 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
13600 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
13601 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
13602 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
13603 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
13604 * sysdeps/htl/old_pt-atfork.c: Likewise.
13605 * sysdeps/htl/pt-atfork.c: Likewise.
13606 * sysdeps/htl/pt-attr-destroy.c: Likewise.
13607 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
13608 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
13609 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
13610 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
13611 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
13612 * sysdeps/htl/pt-attr-getscope.c: Likewise.
13613 * sysdeps/htl/pt-attr-getstack.c: Likewise.
13614 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
13615 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
13616 * sysdeps/htl/pt-attr-init.c: Likewise.
13617 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
13618 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
13619 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
13620 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
13621 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
13622 * sysdeps/htl/pt-attr-setscope.c: Likewise.
13623 * sysdeps/htl/pt-attr-setstack.c: Likewise.
13624 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
13625 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
13626 * sysdeps/htl/pt-attr.c: Likewise.
13627 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
13628 * sysdeps/htl/pt-barrier-init.c: Likewise.
13629 * sysdeps/htl/pt-barrier-wait.c: Likewise.
13630 * sysdeps/htl/pt-barrier.c: Likewise.
13631 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
13632 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
13633 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
13634 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
13635 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
13636 * sysdeps/htl/pt-cond-destroy.c: Likewise.
13637 * sysdeps/htl/pt-cond-init.c: Likewise.
13638 * sysdeps/htl/pt-cond-signal.c: Likewise.
13639 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
13640 * sysdeps/htl/pt-cond-wait.c: Likewise.
13641 * sysdeps/htl/pt-cond.c: Likewise.
13642 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
13643 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
13644 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
13645 * sysdeps/htl/pt-condattr-init.c: Likewise.
13646 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
13647 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
13648 * sysdeps/htl/pt-destroy-specific.c: Likewise.
13649 * sysdeps/htl/pt-equal.c: Likewise.
13650 * sysdeps/htl/pt-getconcurrency.c: Likewise.
13651 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
13652 * sysdeps/htl/pt-getschedparam.c: Likewise.
13653 * sysdeps/htl/pt-getspecific.c: Likewise.
13654 * sysdeps/htl/pt-init-specific.c: Likewise.
13655 * sysdeps/htl/pt-key-create.c: Likewise.
13656 * sysdeps/htl/pt-key-delete.c: Likewise.
13657 * sysdeps/htl/pt-key.h: Likewise.
13658 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
13659 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
13660 * sysdeps/htl/pt-mutex-init.c: Likewise.
13661 * sysdeps/htl/pt-mutex-lock.c: Likewise.
13662 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
13663 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
13664 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
13665 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
13666 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
13667 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
13668 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
13669 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
13670 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
13671 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
13672 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
13673 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
13674 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
13675 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
13676 * sysdeps/htl/pt-mutexattr.c: Likewise.
13677 * sysdeps/htl/pt-once.c: Likewise.
13678 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
13679 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
13680 * sysdeps/htl/pt-rwlock-init.c: Likewise.
13681 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
13682 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
13683 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
13684 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
13685 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
13686 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
13687 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
13688 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
13689 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
13690 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
13691 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
13692 * sysdeps/htl/pt-setconcurrency.c: Likewise.
13693 * sysdeps/htl/pt-setschedparam.c: Likewise.
13694 * sysdeps/htl/pt-setschedprio.c: Likewise.
13695 * sysdeps/htl/pt-setspecific.c: Likewise.
13696 * sysdeps/htl/pt-spin.c: Likewise.
13697 * sysdeps/htl/pt-startup.c: Likewise.
13698 * sysdeps/htl/pthread.h: Likewise.
13699 * sysdeps/htl/sem-close.c: Likewise.
13700 * sysdeps/htl/sem-destroy.c: Likewise.
13701 * sysdeps/htl/sem-getvalue.c: Likewise.
13702 * sysdeps/htl/sem-init.c: Likewise.
13703 * sysdeps/htl/sem-open.c: Likewise.
13704 * sysdeps/htl/sem-post.c: Likewise.
13705 * sysdeps/htl/sem-timedwait.c: Likewise.
13706 * sysdeps/htl/sem-trywait.c: Likewise.
13707 * sysdeps/htl/sem-unlink.c: Likewise.
13708 * sysdeps/htl/sem-wait.c: Likewise.
13709 * sysdeps/hurd/htl/pt-kill.c: Likewise.
13710 * sysdeps/i386/htl/pt-machdep.h: Likewise.
13711 * sysdeps/mach/htl/pt-block.c: Likewise.
13712 * sysdeps/mach/htl/pt-spin.c: Likewise.
13713 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
13714 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
13715 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
13716 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
13717 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
13718 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
13719 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
13720 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
13721 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
13722 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
13723 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
13724 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
13725 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
13726 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
13727 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
13728 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
13729 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
13730 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
13731 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
13732 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
13733 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
13734 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
13735 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
13736 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
13737 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
13738 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
13739 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
13740 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
13741 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
13742 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
13743 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
13744 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
13745 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
13746 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
13747 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
13748 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
13749 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
13750 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
13751 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
13752 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
13753 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
13754 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
13755 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
13757 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
13758 * README: Remove the mention of out-of-tree patches needed for
13761 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
13762 (UTIME_NOW, UTIME_OMIT): Define macros.
13764 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
13765 instead of pthread_detach.
13766 (__cthread_fork): Call __pthread_create instead of pthread_create.
13767 (__cthread_keycreate): Call __pthread_key_create instead of
13768 pthread_key_create.
13769 (__cthread_getspecific): Call __pthread_getspecific instead of
13770 pthread_getspecific.
13771 (__cthread_setspecific): Call __pthread_setspecific instead of
13772 pthread_setspecific.
13773 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
13774 __pthread_mutex_unlock instead of pthread_mutex_lock and
13775 pthread_mutex_unlock.
13776 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
13777 ___pthread_get_cleanup_stack.
13778 (__pthread_get_cleanup_stack): New strong alias.
13779 * htl/pt-create.c: Include <pthreadP.h>.
13780 (entry_point): Call __pthread_exit instead of pthread_exit.
13781 (pthread_create): Rename to __pthread_create.
13782 (pthread_create): New strong alias.
13783 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
13784 (pthread_detach): New strong alias.
13785 (__pthread_detach): Call __pthread_cond_broadcast instead of
13786 pthread_cond_broadcast.
13787 * htl/pt-exit.c: Include <pthreadP.h>.
13788 (__pthread_exit): Call __pthread_setcancelstate and
13789 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
13790 __pthread_get_cleanup_stack.
13791 * htl/pt-testcancel.c: Include <pthreadP.h>.
13792 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
13793 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
13794 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
13795 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
13796 pthread_attr_getstacksize.
13797 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
13798 Rename to __pthread_attr_getstackaddr.
13799 (pthread_attr_getstackaddr): New strong alias.
13800 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
13801 Rename to __pthread_attr_getstacksize.
13802 (pthread_attr_getstacksize): New strong alias.
13803 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
13804 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
13805 (pthread_attr_setstack): New strong alias.
13806 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
13807 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
13808 pthread_attr_getstacksize, pthread_attr_setstacksize and
13809 pthread_attr_setstackaddr.
13810 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
13811 Rename to __pthread_attr_setstackaddr.
13812 (pthread_attr_setstackaddr): New strong alias.
13813 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
13814 Rename to __pthread_attr_setstacksize.
13815 (pthread_attr_setstacksize): New strong alias.
13816 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
13817 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
13819 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
13820 (__pthread_key_create): New hidden def.
13821 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
13822 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
13823 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
13824 __pthread_exit, __pthread_key_create, __pthread_getspecific,
13825 __pthread_setspecific, __pthread_setcancelstate,
13826 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
13827 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
13828 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
13830 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
13831 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
13832 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
13833 (pthread_attr_setstackaddr): New strong alias.
13834 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
13835 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
13836 (pthread_attr_setstacksize): New strong alias.
13837 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
13838 (call_exit): Call __pthread_exit instead of pthread_exit.
13839 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
13840 (_pthread_mutex_init): New hidden definition.
13841 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
13842 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
13843 instead of pthread_attr_init and pthread_attr_setstack.
13845 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
13846 __vm_deallocate instead of vm_allocate and vm_deallocate.
13847 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
13849 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
13851 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
13853 * hurd/siginfo.c: Include <libioP.h>.
13854 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
13855 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
13857 * mach/devstream.c: Include <libioP.h>.
13858 (dealloc_ref): Call __mach_port_deallocate instead of
13859 mach_port_deallocate.
13860 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
13861 Call __mach_port_deallocate instead of mach_port_deallocate.
13862 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
13864 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
13866 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
13867 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
13868 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
13870 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
13872 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
13873 instead of sysconf.
13874 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
13875 __clock_gettime instead of clock_gettime.
13876 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
13877 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13878 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
13879 * sysdeps/unix/bsd/stty.c (stty): Likewise.
13880 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
13882 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
13883 __clock_gettime and __nanosleep instead of clock_gettime and
13885 * hurd/catch-signal.c (hurd_catch_signal): Rename to
13886 __hurd_catch_signal.
13887 (hurd_catch_signal): New strong alias.
13888 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
13889 __hurd_catch_signal instead of hurd_catch_signal.
13890 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
13891 * hurd/hurdexec.c (_hurd_init): Add hidden def.
13892 * hurd/hurdinit.c (_hurd_init): Add hidden def.
13893 * hurd/hurdsig.c: Include <mach/mig_support.h>.
13894 (_hurd_thread_sigstate): Add hidden def.
13895 (_hurd_internal_post_signal): Use __mutex_unlock instead of
13897 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
13898 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
13899 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
13900 __hurd_file_name_path_lookup.
13901 (hurd_file_name_path_lookup): New strong alias.
13902 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
13903 hurd_file_name_path_lookup.
13904 * mach/errstring.c (mach_error_type): Add hidden def.
13905 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
13906 * mach/mutex-init.c (__mutex_init): Add hidden def.
13907 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
13908 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
13909 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
13910 * sysdeps/mach/hurd/getcwd.c
13911 (_hurd_canonicalize_directory_name_internal): Rename to
13912 __hurd_canonicalize_directory_name_internal.
13913 (_hurd_canonicalize_directory_name_internal): New strong alias.
13914 (__canonicalize_directory_name_internal, __getcwd): Call
13915 __hurd_canonicalize_directory_name_internal instead of
13916 _hurd_canonicalize_directory_name_internal.
13917 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
13918 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
13920 * sysdeps/hurd/include/hurd.h: New file.
13921 * sysdeps/hurd/include/hurd/fd.h: New file.
13922 * sysdeps/hurd/include/hurd/signal.h: New file.
13923 * sysdeps/mach/include/lock-intern.h: New file.
13924 * sysdeps/mach/include/mach.h: New file.
13925 * sysdeps/mach/include/mach/mig_support.h: New file.
13926 * sysdeps/mach/include/mach_error.h: New file.
13927 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
13929 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
13930 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
13931 _HEADER_H_HIDDEN_DEF macro.
13932 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
13933 _hurd_fd_error_signal): Add hidden prototype.
13934 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
13936 * libio/iolibio.h (_IO_puts): New hidden prototype.
13937 * libio/ioputs.c (_IO_puts): New hidden def.
13938 * sysdeps/mach/hurd/localplt.data: New file.
13940 2018-04-02 Agustina Arzille <avarzille@riseup.net>
13941 Amos Jeffries <squid3@treenet.co.nz>
13942 David Michael <fedora.dm0@gmail.com>
13943 Marco Gerards <marco@gnu.org>
13944 Marcus Brinkmann <marcus@gnu.org>
13945 Neal H. Walfield <neal@gnu.org>
13946 Pino Toscano <toscano.pino@tiscali.it>
13947 Richard Braun <rbraun@sceen.net>
13948 Roland McGrath <roland@gnu.org>
13949 Samuel Thibault <samuel.thibault@ens-lyon.org>
13950 Thomas DiModica <ricinwich@yahoo.com>
13951 Thomas Schwinge <tschwinge@gnu.org>
13953 * htl: New directory.
13954 * sysdeps/htl: New directory.
13955 * sysdeps/hurd/htl: New directory.
13956 * sysdeps/i386/htl: New directory.
13957 * sysdeps/mach/htl: New directory.
13958 * sysdeps/mach/hurd/htl: New directory.
13959 * sysdeps/mach/hurd/i386/htl: New directory.
13960 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
13961 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
13962 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
13964 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13966 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
13967 signals in thread created for runing timers.
13969 2018-04-01 Florian Weimer <fweimer@redhat.com>
13971 * support/support_format_addrinfo.c (support_format_addrinfo):
13972 Include unknown error number in formatted result.
13974 2018-03-29 Florian Weimer <fweimer@redhat.com>
13976 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
13979 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13981 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
13982 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
13983 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13984 (__ASSUME_CLONE_BACKWARDS): Define.
13986 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
13989 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
13990 early when linux sentinel value is set.
13992 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13994 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
13996 2018-03-27 Andreas Schwab <schwab@suse.de>
13999 * resolv/res_send.c (__res_context_send): Return ENOMEM if
14000 allocation of private copy of nsaddr_list fails.
14002 2018-03-26 Joseph Myers <joseph@codesourcery.com>
14005 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
14006 * sysdeps/unix/sysv/linux/umount.c: ... here.
14007 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
14008 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
14009 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
14010 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
14011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
14012 * sysdeps/unix/sysv/linux/umount.S: Likewise.
14013 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
14015 2018-03-26 Andreas Schwab <schwab@suse.de>
14017 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
14018 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
14019 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
14020 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
14021 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
14022 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
14023 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
14024 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
14025 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
14026 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
14027 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
14028 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
14029 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
14030 (R_RISCV_NUM): Define.
14032 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14034 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
14035 TLS declaration of errno.
14036 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
14038 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
14039 (ARCH_SETUP_TLS): Likewise.
14040 * sysdeps/mach/hurd/libc-start.h: New file copied from
14041 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
14042 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
14043 instead of __libc_setup_tls.
14044 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
14045 __libc_setup_tls before initializing libpthread and running _hurd_init
14046 which starts the signal thread.
14047 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
14049 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14051 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
14054 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
14055 after it is defined.
14057 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
14058 Max Horn <max@quendi.de>
14062 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
14064 * string/test-memmove.c (do_test2): New testcase.
14066 2018-03-22 Joseph Myers <joseph@codesourcery.com>
14068 * sysdeps/generic/frame.h: Remove file.
14069 * sysdeps/arm/frame.h: Likewise.
14070 * sysdeps/hppa/frame.h: Likewise.
14071 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
14073 (GET_FRAME): Likewise.
14074 (GET_STACK): Likewise.
14075 (CALL_SIGHANDLER): Likewise.
14076 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
14078 (GET_FRAME): Likewise.
14079 (GET_STACK): Likewise.
14080 (CALL_SIGHANDLER): Likewise.
14081 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
14082 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14083 (GET_FRAME): Likewise.
14084 (GET_STACK): Likewise.
14085 (CALL_SIGHANDLER): Likewise.
14086 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
14087 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14088 (GET_FRAME): Likewise.
14089 (GET_STACK): Likewise.
14090 (ADVANCE_STACK_FRAME): Likewise.
14091 (CALL_SIGHANDLER): Likewise.
14092 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
14093 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14094 (GET_FRAME): Likewise.
14095 (GET_STACK): Likewise.
14096 (CALL_SIGHANDLER): Likewise.
14097 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
14098 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14099 (GET_FRAME): Likewise.
14100 (GET_STACK): Likewise.
14101 (CALL_SIGHANDLER): Likewise.
14102 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
14103 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14104 (GET_FRAME): Likewise.
14105 (GET_STACK): Likewise.
14106 (CALL_SIGHANDLER): Likewise.
14107 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
14108 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14109 (GET_FRAME): Likewise.
14110 (GET_STACK): Likewise.
14111 (CALL_SIGHANDLER): Likewise.
14112 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
14113 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14114 (GET_FRAME): Likewise.
14115 (GET_STACK): Likewise.
14116 (CALL_SIGHANDLER): Likewise.
14117 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
14118 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14119 (GET_FRAME): Likewise.
14120 (GET_STACK): Likewise.
14121 (CALL_SIGHANDLER): Likewise.
14122 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
14123 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14124 (GET_FRAME): Likewise.
14125 (GET_STACK): Likewise.
14126 (CALL_SIGHANDLER): Likewise.
14127 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
14128 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14129 (GET_FRAME): Likewise.
14130 (GET_STACK): Likewise.
14131 (CALL_SIGHANDLER): Likewise.
14132 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
14133 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14134 (GET_FRAME): Likewise.
14135 (GET_STACK): Likewise.
14136 (CALL_SIGHANDLER): Likewise.
14137 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
14138 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14139 (FIRST_FRAME_POINTER): Likewise.
14140 (ADVANCE_STACK_FRAME): Likewise.
14141 (GET_STACK): Likewise.
14142 (GET_FRAME): Likewise.
14143 (CALL_SIGHANDLER): Likewise.
14144 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
14145 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14146 (ADVANCE_STACK_FRAME): Likewise.
14147 (GET_STACK): Likewise.
14148 (GET_FRAME): Likewise.
14149 (CALL_SIGHANDLER): Likewise.
14150 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
14151 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14152 (GET_FRAME): Likewise.
14153 (GET_STACK): Likewise.
14154 (CALL_SIGHANDLER): Likewise.
14155 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
14156 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14157 (GET_FRAME): Likewise.
14158 (GET_STACK): Likewise.
14159 (CALL_SIGHANDLER): Likewise.
14161 2018-03-21 Joseph Myers <joseph@codesourcery.com>
14163 * sysdeps/x86_64/backtrace.c: Move to ....
14164 * debug/backtrace.c: ... here.
14165 * sysdeps/aarch64/backtrace.c: Remove file.
14166 * sysdeps/alpha/backtrace.c: Likewise.
14167 * sysdeps/hppa/backtrace.c: Likewise.
14168 * sysdeps/ia64/backtrace.c: Likewise.
14169 * sysdeps/mips/backtrace.c: Likewise.
14170 * sysdeps/nios2/backtrace.c: Likewise.
14171 * sysdeps/riscv/backtrace.c: Likewise.
14172 * sysdeps/sh/backtrace.c: Likewise.
14173 * sysdeps/tile/backtrace.c: Likewise.
14175 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14178 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
14181 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
14184 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
14185 possibly overflowing computations.
14187 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14189 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
14190 values from Linux-specific section now that it is in the GNU section.
14191 * sysdeps/gnu/errlist.c: Regenerate.
14193 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14195 * math/Makefile (libm-narrow-fns): Add sub.
14196 (libm-test-funcs-narrow): Likewise.
14197 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
14198 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
14199 * math/gen-auto-libm-tests.c (test_functions): Add sub.
14200 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
14201 (NARROW_SUB_ROUND_TO_ODD): Likewise.
14202 (NARROW_SUB_TRIVIAL): Likewise.
14203 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
14205 (__dsubl): Likewise.
14206 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
14208 (CFLAGS-nldbl-dsub.c): New variable.
14209 (CFLAGS-nldbl-fsub.c): Likewise.
14210 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14212 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
14214 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
14215 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
14216 * math/auto-libm-test-in: Add tests of sub.
14217 * math/auto-libm-test-out-narrow-sub: New generated file.
14218 * math/libm-test-narrow-sub.inc: New file.
14219 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14220 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
14221 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
14222 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
14223 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
14224 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
14225 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
14226 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
14227 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
14228 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
14229 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
14230 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
14231 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
14232 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
14233 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
14234 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
14235 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
14236 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
14237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14238 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14239 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14240 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14241 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14242 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14243 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14244 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14245 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14246 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14247 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14248 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14249 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14250 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14255 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14256 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14257 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14258 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14259 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14260 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14261 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14262 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14263 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14264 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14266 2018-03-19 Joseph Myers <joseph@codesourcery.com>
14269 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
14271 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
14273 * benchtests/bench-timing.h (attribute_hidden): Undefine.
14275 2018-03-18 Richard Braun <rbraun@sceen.net>
14277 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
14280 2018-03-18 Agustina Arzille <avarzille@riseup.net>
14282 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
14283 (__libc_cleanup_fct): Define function.
14284 (__libc_cleanup_region_start, __libc_cleanup_region_end,
14285 __libc_cleanup_end): Rewrite implementation using
14286 __attribute__ ((__cleanup__)).
14287 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
14288 * hurd/Makefile (routines): Add hurdlock.
14289 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
14291 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
14292 * hurd/hurdpid.c: Include <lowlevellock.h>
14293 (_S_msg_proc_newids): Use lll_wait to synchronize.
14294 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
14295 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
14296 * mach/Makefile (lock-headers): Remove machine-lock.h.
14297 * mach/lock-intern.h: Include <lowlevellock.h> instead of
14299 (__spin_lock_t): New type.
14300 (__SPIN_LOCK_INITIALIZER): New macro.
14301 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
14302 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
14303 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
14304 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
14305 (__mutex_init): Initialize with lll.
14306 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
14307 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
14309 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14310 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
14311 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
14312 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
14313 (__setpgid): Use lll for synchronization.
14314 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
14315 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
14316 instead of <cthreads.h>.
14317 (_IO_lock_inexpensive): New macro
14318 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
14319 (__libc_lock_self0): New declaration.
14320 (__libc_lock_owner_self): New macro.
14321 (__libc_key_t): Remove type.
14322 (_LIBC_LOCK_INITIALIZER): New macro.
14323 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
14324 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
14325 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
14326 __libc_lock_define_initialized_recursive,
14327 __rtld_lock_define_initialized_recursive,
14328 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
14329 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
14330 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
14331 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
14332 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
14333 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
14334 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
14336 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
14337 * hurd/hurdlock.c: New file.
14338 * hurd/hurdlock.h: New file.
14339 * mach/lowlevellock.h: New file
14341 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14343 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
14344 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
14345 when opening a symlink with O_NOFOLLOW.
14346 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
14347 path when flags contains O_NOFOLLOW.
14348 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
14349 if flags contains O_DIRECTORY and the result is a directory.
14350 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
14351 oneself when the pointer given in D is nul (as set by ext2fs).
14352 * sysdeps/mach/hurd/mlockall.c: New file.
14353 * sysdeps/mach/hurd/munlockall.c: New file.
14355 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14357 * hurd/hurdsig.c: Include <pthread.h>.
14358 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
14359 get the signal thread stack layout.
14360 * hurd/Makefile (headers): Remove threadvar.h.
14361 (inline-headers): Remove threadvar.h.
14362 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
14363 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
14364 __hurd_threadvar_max, __hurd_errno_location.
14365 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
14366 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
14367 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
14368 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
14369 unless TLS is not initialized yet, in which case we do not need a
14370 critical section yet anyway.
14371 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
14373 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
14375 (__hurd_threadvar_index): Remove enum.
14376 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
14377 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
14379 (__hurd_reply_port0): New variable declaration.
14380 (__hurd_local_reply_port): New macro.
14381 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
14382 (interrupted_reply_port_location): Add thread_t parameter. Use it
14383 with THREAD_TCB to access thread-local variables.
14384 (_hurdsig_abort_rpcs): Pass ss->thread to
14385 interrupted_reply_port_location.
14386 (_hurd_internal_post_signal): Likewise.
14387 (_hurdsig_init): Use presence of cthread_fork instead of
14388 __hurd_threadvar_stack_mask to start signal thread by hand.
14389 Remove signal thread threadvar initialization.
14390 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
14391 * hurd/sigunwind.c: Include <hurd/threadvar.h>
14392 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
14394 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
14396 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
14397 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
14398 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
14399 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
14400 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
14401 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
14402 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
14404 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
14405 <hurd/threadvar.h>.
14406 [IS_IN(rtld)] (rtld_errno): New variable.
14407 [IS_IN(rtld)] (__errno_location): New weak function.
14408 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
14409 * sysdeps/mach/hurd/errno.c: Remove file.
14410 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
14411 (__fork): Remove THREADVAR_SPACE macro and its use.
14412 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
14414 (init): Do not initialize threadvar.
14415 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
14417 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
14418 __hurd_local_reply_port instead of threadvar.
14419 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
14420 _hurd_sigstate fields.
14421 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
14422 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
14423 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
14424 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
14425 instead of threadvar.
14426 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
14427 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
14428 (use_threadvar, global_reply_port): Remove variables.
14429 (__hurd_reply_port0): New variable.
14430 (__mig_get_reply_port): Use __hurd_local_reply_port and
14431 __hurd_reply_port0 instead of threadvar.
14432 (__mig_dealloc_reply_port): Likewise.
14433 (__mig_init): Do not initialize threadvar.
14434 * sysdeps/mach/hurd/profil.c: Fix comment.
14435 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
14436 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
14437 cthread_keycreate, cthread_getspecific, cthread_setspecific to
14438 __cthread_fork, __cthread_detach, __pthread_getattr_np,
14439 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
14440 __cthread_setspecific.
14441 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
14442 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
14443 __cthread_t instead of cthread_fork, cthread_detach,
14444 pthread_getattr_np, pthread_attr_getstack.
14445 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
14446 __cthread_keycreate.
14447 (cthread_getspecific): Rename to __cthread_getspecific.
14448 (cthread_setspecific): Rename to __cthread_setspecific.
14449 (__libc_getspecific): Use __cthread_getspecific instead of
14450 cthread_getspecific.
14451 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
14452 __cthread_keycreate instead of cthread_keycreate.
14453 (__libc_setspecific): Use __cthread_setspecific instead of
14454 cthread_setspecific.
14455 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
14457 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
14458 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
14459 testing whether it is defined.
14461 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14463 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
14465 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
14466 * sysdeps/mach/i386/thread_state.h
14467 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
14469 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
14471 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
14473 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
14474 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
14476 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
14478 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
14479 descriptor instead of creating a new one.
14480 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
14482 * mach/setup-thread.c: Include <ldsodefs.h>.
14483 (__mach_setup_thread): Call _dl_allocate_tls, pass
14484 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
14485 MACHINE_THREAD_STATE_FLAVOR, before getting
14486 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
14487 MACHINE_THREAD_STATE_FLAVOR with the result.
14488 * hurd/hurdfault.c (_hurdsig_fault_init): Call
14489 MACHINE_THREAD_STATE_FIX_NEW.
14490 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
14491 too. Add original thread parameter.
14493 2018-03-16 Joseph Myers <joseph@codesourcery.com>
14495 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
14496 Remove inline function.
14498 * sysdeps/i386/fpu/libm-test-ulps: Update.
14499 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14501 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
14503 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
14506 2018-03-15 Joseph Myers <joseph@codesourcery.com>
14508 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
14509 (__sincos_code): Remove define and undefine.
14510 [__FAST_MATH__] (__sincos): Remove inline function.
14511 [__FAST_MATH__] (__sincosf): Remove inline function.
14512 [__FAST_MATH__] (__sincosl): Remove inline function.
14513 (__atan2l): Remove inline functions.
14514 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
14515 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
14517 (floor): Remove inline function.
14519 [__FAST_MATH__] (__ldexp_code): Remove macro.
14520 [__FAST_MATH__] (ldexp): Remove inline function.
14521 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
14522 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
14523 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
14524 [__USE_ISOC99] (__lrint_code): Remove macro.
14525 [__USE_ISOC99] (__llrint_code): Likewise.
14526 [__USE_ISOC99] (lrintf): Remove inline function.
14527 [__USE_ISOC99] (lrint): Likewise.
14528 [__USE_ISOC99] (lrintl): Likewise.
14529 [__USE_ISOC99] (llrint): Likewise.
14530 [__USE_ISOC99] (llrintf): Likewise.
14531 [__USE_ISOC99] (llrintl): Likewise.
14533 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14535 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
14536 (__ieee754_sqrtf): Remove.
14537 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
14538 (__ieee754_sqrtf): Remove.
14539 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
14540 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14541 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
14542 (__ieee754_sqrtf): Remove.
14543 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
14544 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
14547 (__ieee754_sqrt): Remove.
14548 (__ieee754_sqrtf): Remove.
14549 (__ieee754_sqrtl): Remove.
14550 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14551 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
14552 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
14553 (__ieee754_sqrtf): Remove.
14554 (__ieee754_sqrtl): Remove.
14556 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14558 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
14559 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14560 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14561 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
14562 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
14563 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14564 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14565 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14567 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
14568 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
14569 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14570 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14571 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
14572 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
14573 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14574 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
14575 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14576 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14577 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
14578 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14579 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
14580 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
14581 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
14582 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14583 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14584 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14585 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
14586 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
14587 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14588 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14589 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
14590 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
14591 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
14592 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
14593 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14594 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14595 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
14596 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14597 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14598 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
14599 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14600 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
14601 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14602 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14603 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
14604 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
14605 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14606 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
14608 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14610 * include/math.h (sqrt): Declare with asm redirect.
14613 (sqrtf128): Likewise.
14614 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
14615 nonlib and libnldbl with -fmath-errno.
14616 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
14617 * math/w_sqrt_template.c: Likewise.
14618 * math/w_sqrtf_compat.c: Likewise.
14619 * math/w_sqrtl_compat.c: Likewise.
14620 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
14621 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
14622 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
14625 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14627 * benchtests/Makefile: Define _ISOMAC.
14628 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
14629 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
14630 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
14631 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
14632 * benchtests/bench-timing.h: Define attribute_hidden.
14634 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14636 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
14639 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14642 * localedata/locales/cs_CZ (mon): Rename to...
14644 (mon): Import from CLDR (genitive case).
14646 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14649 * localedata/locales/el_CY (abmon): Rename to...
14650 (ab_alt_mon): This.
14651 (abmon): Import from CLDR (abbreviated genitive case).
14652 * localedata/locales/el_GR (abmon): Rename to...
14653 (ab_alt_mon): This.
14654 (abmon): Import from CLDR (abbreviated genitive case).
14656 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14659 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
14661 2018-03-15 Robert Buj <robert.buj@gmail.com>
14664 * localedata/locales/ca_ES (abmon): Rename to...
14665 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14666 (mon): Rename to...
14668 (abmon): Import from CLDR (genitive case, month names preceded by
14671 (abday): Synchronize with CLDR.
14672 (d_t_fmt): Likewise.
14676 (LC_TIME): Improve indentation.
14677 (LC_TELEPHONE): Likewise.
14678 (LC_NAME): Likewise.
14679 (LC_ADDRESS): Likewise.
14681 2018-03-14 Joseph Myers <joseph@codesourcery.com>
14683 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
14684 (lrintf): Remove definitions used only with old GCC.
14685 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
14686 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
14687 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
14688 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
14689 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
14690 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
14691 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
14692 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
14693 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
14694 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
14695 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
14696 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
14697 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
14698 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
14699 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
14700 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
14701 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
14702 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
14703 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
14704 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
14705 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
14706 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
14707 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
14708 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
14709 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
14710 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
14711 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
14712 [__FAST_MATH__] (__M_SQRT2): Remove macro.
14714 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
14716 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
14717 instruction to unbreak builds with binutils 2.26 and older.
14719 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
14721 * sysdeps/aarch64/strncmp.S (count): New macro.
14722 (strncmp): Store misaligned length in SRC1 in COUNT.
14723 (mutual_align): Adjust.
14724 (misaligned8): Load dword at a time when it is safe.
14726 2018-03-12 Zack Weinberg <zackw@panix.com>
14730 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
14731 if the _IO_EOF_SEEN bit is already set; update commentary.
14732 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
14733 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
14735 * support/support_openpty.c, support/tty.h: New files.
14736 * support/Makefile (libsupport-routines): Add support_openpty.
14738 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
14740 * libio/Makefile (tests): Add tst-fgetc-after-eof.
14741 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
14743 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
14745 * po/pt_BR.po: Update translations.
14747 2018-03-12 David Michael <fedora.dm0@gmail.com>
14749 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
14750 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
14751 get a port to the startup server.
14753 2018-03-11 Zack Weinberg <zackw@panix.com>
14755 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
14756 before nldbl-compat.h.
14758 2018-03-10 Zack Weinberg <zackw@panix.com>
14760 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
14761 math.h or math_private.h.
14763 * sysdeps/alpha/fpu/s_isnan.c
14764 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
14765 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
14766 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
14767 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
14768 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
14769 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
14770 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
14771 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
14772 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
14773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
14774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
14775 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
14776 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
14777 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
14778 Include math_private.h.
14780 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
14781 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
14782 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
14783 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
14784 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
14785 * sysdeps/powerpc/power7/fpu/s_logb.c:
14786 Include math.h and math_private.h.
14788 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
14789 uses of $at in .set noat / .set at.
14791 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
14793 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
14794 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
14795 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
14796 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
14799 2018-03-09 Florian Weimer <fweimer@redhat.com>
14801 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
14804 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
14807 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
14808 Add nop before __startcontext, add explaining comments.
14810 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14813 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
14815 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
14816 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
14817 Do not build hardware transactional code for __SPE__.
14818 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14819 (__lll_trylock_elision): Likewise.
14820 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14821 (__lll_unlock_elision): Likewise.
14823 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
14824 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
14825 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
14826 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
14827 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
14828 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
14829 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
14830 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
14831 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
14832 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
14833 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
14834 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
14835 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
14836 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
14837 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
14838 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
14839 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
14840 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
14841 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
14842 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
14843 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
14844 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14845 (__ASSUME_CLONE_BACKWARDS): Define.
14846 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
14847 __clone2 if __NR_clone2 is defined.
14848 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14849 (__ASSUME_CLONE_BACKWARDS): Likewise.
14850 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14851 (__ASSUME_CLONE_BACKWARDS): Likewise.
14852 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14853 (__ASSUME_CLONE2): Likewise.
14854 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14855 (__ASSUME_CLONE_BACKWARDS3): Likewise.
14856 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
14857 variants and the define architecture can use.
14858 (__ASSUME_CLONE_DEFAULT): Define as default.
14859 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14860 (__ASSUME_CLONE_BACKWARDS): Likewise.
14861 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14862 (__ASSUME_CLONE_BACKWARDS): Likewise.
14863 * sysdeps/unix/sysv/linux/s390/kernel-features.h
14864 (__ASSUME_CLONE_BACKWARDS2): Likewise.
14866 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
14868 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
14870 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
14873 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
14874 (do_test_limit): Likewise.
14876 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
14877 for every implementation.
14878 (do_test): Likewise.
14880 * benchtests/bench-strncmp.c: Convert output to json.
14882 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14884 * io/futimens.c: Add missing start-of-file descriptive comment.
14885 * io/utime.c: Likewise.
14886 * misc/futimesat.c: Likewise.
14887 * misc/utimes.c: Likewise.
14888 * sysdeps/mach/hurd/futimesat.c: Likewise.
14889 * sysdeps/mach/hurd/utimes.c: Likewise.
14890 * sysdeps/posix/utime.c: Likewise.
14891 * sysdeps/posix/utimes.c: Likewise.
14892 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
14893 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14894 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
14895 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
14897 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14899 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
14901 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
14902 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
14903 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
14904 (__futimens): Move implementation to...
14905 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
14906 utime_tvalue_from_tspec): ... new helper functions.
14907 (hurd_futimens): New function.
14908 * sysdeps/mach/hurd/futimesat.c: New file.
14909 * sysdeps/mach/hurd/utimensat.c: New file.
14911 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
14913 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
14914 UTIME_OMIT): New macros.
14915 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
14916 before reverting to converting time spec to time value and calling
14918 * sysdeps/mach/hurd/utime-helper.c: New file.
14919 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
14920 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
14921 reverting to utime_tvalue_from_tval and __file_utimes.
14922 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
14923 (__lutimes): Just call hurd_futimens after lookup.
14924 * sysdeps/mach/hurd/utimes.c: Likewise.
14926 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14928 * bits/sigaction.h: Add include guard.
14929 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
14930 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
14931 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
14932 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
14933 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
14934 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
14935 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
14936 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
14937 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
14939 2018-03-05 Joseph Myers <joseph@codesourcery.com>
14941 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
14942 -Wmaybe-uninitialized for -Os.
14943 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
14946 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14948 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
14949 __INO_T_MATCHES_INO64_T is defined.
14950 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
14951 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
14953 * dirent/alphasort64.c: Likewise.
14954 * dirent/scandir.c: Likewise.
14955 * dirent/scandir64-tail.c: Likewise.
14956 * dirent/scandir64.c: Likewise.
14957 * dirent/scandirat.c: Likewise.
14958 * dirent/scandirat64.c: Likewise.
14959 * dirent/versionsort.c: Likewise.
14960 * dirent/versionsort64.c: Likewise.
14961 * include/dirent.h: Likewise.
14963 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
14964 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
14965 for socketpair endpoint.
14966 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
14967 WRITE_BUFFER_SIZE as buffer size for sending socket.
14968 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
14969 issue on system where send is implemented with sendto syscall.
14970 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
14971 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
14972 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
14973 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
14976 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
14977 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
14978 sa_restorer for vDSO case.
14979 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
14981 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14983 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
14984 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
14985 * hurd/hurd/ioctl.h: Include <mach/port.h>
14986 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
14987 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
14988 <mach/mach_types.h> and <mach/message.h>.
14989 (headers): Move mach/param.h to bits/mach/param.h.
14990 * sysdeps/mach/i386/mach/param.h: Move file to ...
14991 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
14992 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
14994 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
14995 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
14996 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
14997 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
14998 trivial, for C++ conformity.
14999 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
15000 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
15001 Process mig output through $(migheadersed).
15002 * hurd/Makefile (migheadersed): Define variable.
15003 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
15004 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
15006 * hurd/hurd.h: Include <bits/types/sigset_t.h>
15007 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
15008 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
15009 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
15010 <bits/types/sigset_t.h>.
15011 [!defined __USE_GNU]: Do not #error out.
15012 (struct hurd_sigstate): Use _NSIG instead of NSIG.
15013 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
15014 Include <stddef.h> and <bits/types/sigset_t.h>
15015 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
15016 instead of sighandler_t.
15017 * stdlib/errno.h (error_t): Move definition to...
15018 * bits/types/error_t.h: ... new header.
15019 * stdlib/Makefile (headers): Add bits/types/error_t.h.
15020 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
15021 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
15022 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
15023 * hurd/hurd.h: Include <bits/types/error_t.h>
15024 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
15025 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
15026 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
15027 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
15028 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
15029 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
15030 * sysdeps/mach/hurd/futimens.c: New file.
15032 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
15035 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
15036 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
15037 * nscd/gai.c (__nss_hosts_database): Readd definition.
15038 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
15039 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
15040 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
15042 2018-03-02 Joseph Myers <joseph@codesourcery.com>
15044 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
15045 (ifunc_one): Likewise.
15047 2018-03-01 DJ Delorie <dj@delorie.com>
15050 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
15053 2018-03-01 Maciej W. Rozycki <macro@mips.com>
15055 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
15056 `match_pid' parameter.
15057 (td_ta_thr_iter): Update accordingly.
15059 2018-03-01 Florian Weimer <fweimer@redhat.com>
15061 * nptl/Makefile (install-lib-ldscripts): Remove.
15062 (install): Remove rule.
15063 ($(inst_libdir)/libpthread.so): Likewise.
15065 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15068 * localedata/locales/an_ES: update month and day names,
15069 improve d_fmt, improve postal_fmt, add country_post,
15072 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15074 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
15075 Ukrainian instead of Bulgarian.
15077 2018-03-01 Florian Weimer <fweimer@redhat.com>
15079 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
15082 2018-03-01 Florian Weimer <fweimer@redhat.com>
15084 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
15085 * nptl/Makefile (routines): Add pthread_atfork.
15086 (static-only-routines): Set to pthread_atfork.
15087 (libpthread-routines): Remove pthread_atfork.
15088 (libpthread-static-only-routines): Remove.
15089 (install): Update comment.
15090 (libpthread.so): Do not install libpthread_nonshared.a.
15091 (tests): Do not link with libpthread_nonshared.a.
15092 (generated): Remove libpthread_nonshared.a.
15093 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
15094 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
15095 with libpthread_nonshared.a.
15097 2018-02-28 Joseph Myers <joseph@codesourcery.com>
15100 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
15101 (libc_feholdexcept_setroundf128): New macro.
15102 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
15105 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
15107 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
15108 * include/inttypes.h: New file.
15110 2018-02-27 Joseph Myers <joseph@codesourcery.com>
15112 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
15113 -Os in two more places.
15115 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15117 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
15118 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
15119 be sorted correctly at the moment because of a bug.
15121 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15123 [BZ #22550] - es_ES locale (and other es_* locales): collation should
15124 treat ñ as a primary different character, sync the collation
15125 for Spanish with CLDR.
15126 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
15127 * localedata/Makefile: Add new test files.
15128 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
15129 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
15131 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
15132 * localedata/am_ET.UTF-8.in: New test file.
15133 * localedata/az_AZ.UTF-8.in: Likewise.
15134 * localedata/be_BY.UTF-8.in: Likewise.
15135 * localedata/ber_DZ.UTF-8.in: Likewise.
15136 * localedata/ber_MA.UTF-8.in: Likewise.
15137 * localedata/bg_BG.UTF-8.in: Likewise.
15138 * localedata/br_FR.UTF-8.in: Likewise.
15139 * localedata/cmn_TW.UTF-8.in: Likewise.
15140 * localedata/crh_UA.UTF-8.in: Likewise.
15141 * localedata/csb_PL.UTF-8.in: Likewise.
15142 * localedata/cv_RU.UTF-8.in: Likewise.
15143 * localedata/cy_GB.UTF-8.in: Likewise.
15144 * localedata/dz_BT.UTF-8.in: Likewise.
15145 * localedata/eo.UTF-8.in: Likewise.
15146 * localedata/es_ES.UTF-8.in: Likewise.
15147 * localedata/fa_IR.UTF-8.in: Likewise.
15148 * localedata/fi_FI.UTF-8.in: Likewise.
15149 * localedata/fil_PH.UTF-8.in: Likewise.
15150 * localedata/fur_IT.UTF-8.in: Likewise.
15151 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
15152 * localedata/ha_NG.UTF-8.in: Likewise.
15153 * localedata/ig_NG.UTF-8.in: Likewise.
15154 * localedata/ik_CA.UTF-8.in: Likewise.
15155 * localedata/kk_KZ.UTF-8.in: Likewise.
15156 * localedata/ku_TR.UTF-8.in: Likewise.
15157 * localedata/ky_KG.UTF-8.in: Likewise.
15158 * localedata/ln_CD.UTF-8.in: Likewise.
15159 * localedata/mi_NZ.UTF-8.in: Likewise.
15160 * localedata/ml_IN.UTF-8.in: Likewise.
15161 * localedata/mn_MN.UTF-8.in: Likewise.
15162 * localedata/mr_IN.UTF-8.in: Likewise.
15163 * localedata/mt_MT.UTF-8.in: Likewise.
15164 * localedata/nb_NO.UTF-8.in: Likewise.
15165 * localedata/om_KE.UTF-8.in: Likewise.
15166 * localedata/os_RU.UTF-8.in: Likewise.
15167 * localedata/ps_AF.UTF-8.in: Likewise.
15168 * localedata/ro_RO.UTF-8.in: Likewise.
15169 * localedata/ru_RU.UTF-8.in: Likewise.
15170 * localedata/sc_IT.UTF-8.in: Likewise.
15171 * localedata/se_NO.UTF-8.in: Likewise.
15172 * localedata/sq_AL.UTF-8.in: Likewise.
15173 * localedata/sv_SE.UTF-8.in: Likewise.
15174 * localedata/szl_PL.UTF-8.in: Likewise.
15175 * localedata/tg_TJ.UTF-8.in: Likewise.
15176 * localedata/tk_TM.UTF-8.in: Likewise.
15177 * localedata/tt_RU.UTF-8.in: Likewise.
15178 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
15179 * localedata/ug_CN.UTF-8.in: Likewise.
15180 * localedata/uz_UZ.UTF-8.in: Likewise.
15181 * localedata/vi_VN.UTF-8.in: Likewise.
15182 * localedata/yi_US.UTF-8.in: Likewise.
15183 * localedata/yo_NG.UTF-8.in: Likewise.
15184 * localedata/zh_CN.UTF-8.in: Likewise.
15185 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
15186 file and fix bugs in the collation.
15187 * localedata/locales/az_AZ: Likewise.
15188 * localedata/locales/be_BY: Likewise.
15189 * localedata/locales/ber_DZ: Likewise.
15190 * localedata/locales/ber_MA: Likewise.
15191 * localedata/locales/bg_BG: Likewise.
15192 * localedata/locales/br_FR: Likewise.
15193 * localedata/locales/br_FR@euro: Likewise.
15194 * localedata/locales/ca_ES: Likewise.
15195 * localedata/locales/cns11643_stroke: Likewise.
15196 * localedata/locales/crh_UA: Likewise.
15197 * localedata/locales/cs_CZ: Likewise.
15198 * localedata/locales/csb_PL: Likewise.
15199 * localedata/locales/cv_RU: Likewise.
15200 * localedata/locales/cy_GB: Likewise.
15201 * localedata/locales/da_DK: Likewise.
15202 * localedata/locales/dz_BT: Likewise.
15203 * localedata/locales/en_CA: Likewise.
15204 * localedata/locales/eo: Likewise.
15205 * localedata/locales/es_CU: Likewise.
15206 * localedata/locales/es_EC: Likewise.
15207 * localedata/locales/es_ES: Likewise.
15208 * localedata/locales/es_US: Likewise.
15209 * localedata/locales/et_EE: Likewise.
15210 * localedata/locales/fa_IR: Likewise.
15211 * localedata/locales/fi_FI: Likewise.
15212 * localedata/locales/fil_PH: Likewise.
15213 * localedata/locales/fur_IT: Likewise.
15214 * localedata/locales/gez_ER@abegede: Likewise.
15215 * localedata/locales/ha_NG: Likewise.
15216 * localedata/locales/hr_HR: Likewise.
15217 * localedata/locales/hsb_DE: Likewise.
15218 * localedata/locales/hu_HU: Likewise.
15219 * localedata/locales/ig_NG: Likewise.
15220 * localedata/locales/ik_CA: Likewise.
15221 * localedata/locales/is_IS: Likewise.
15222 * localedata/locales/iso14651_t1_pinyin: Likewise.
15223 * localedata/locales/kk_KZ: Likewise.
15224 * localedata/locales/ku_TR: Likewise.
15225 * localedata/locales/ky_KG: Likewise.
15226 * localedata/locales/ln_CD: Likewise.
15227 * localedata/locales/lt_LT: Likewise.
15228 * localedata/locales/lv_LV: Likewise.
15229 * localedata/locales/mi_NZ: Likewise.
15230 * localedata/locales/ml_IN: Likewise.
15231 * localedata/locales/mn_MN: Likewise.
15232 * localedata/locales/mr_IN: Likewise.
15233 * localedata/locales/mt_MT: Likewise.
15234 * localedata/locales/nb_NO: Likewise.
15235 * localedata/locales/om_KE: Likewise.
15236 * localedata/locales/os_RU: Likewise.
15237 * localedata/locales/pl_PL: Likewise.
15238 * localedata/locales/ps_AF: Likewise.
15239 * localedata/locales/ro_RO: Likewise.
15240 * localedata/locales/ru_RU: Likewise.
15241 * localedata/locales/ru_UA: Likewise.
15242 * localedata/locales/sc_IT: Likewise.
15243 * localedata/locales/se_NO: Likewise.
15244 * localedata/locales/si_LK: Likewise.
15245 * localedata/locales/sq_AL: Likewise.
15246 * localedata/locales/sv_FI: Likewise.
15247 * localedata/locales/sv_FI@euro: Likewise.
15248 * localedata/locales/sv_SE: Likewise.
15249 * localedata/locales/szl_PL: Likewise.
15250 * localedata/locales/tg_TJ: Likewise.
15251 * localedata/locales/ti_ER: Likewise.
15252 * localedata/locales/tk_TM: Likewise.
15253 * localedata/locales/tl_PH: Likewise.
15254 * localedata/locales/tr_TR: Likewise.
15255 * localedata/locales/tt_RU: Likewise.
15256 * localedata/locales/tt_RU@iqtelif: Likewise.
15257 * localedata/locales/ug_CN: Likewise.
15258 * localedata/locales/uk_UA: Likewise.
15259 * localedata/locales/uz_UZ: Likewise.
15260 * localedata/locales/uz_UZ@cyrillic: Likewise.
15261 * localedata/locales/vi_VN: Likewise.
15262 * localedata/locales/yi_US: Likewise.
15263 * localedata/locales/yo_NG: Likewise.
15265 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15267 * gen-locales.mk: Make test files which contain @ modifiers in their
15269 * localedata/gen-locale.sh: Likewise.
15271 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15273 * posix/tst-fnmatch.input: Fix results for range expressions
15275 * posix/tst-regexloc.c: Do not use a range expression for
15276 de_DE.ISO-8859-1 locale.
15278 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15280 * posix/bug-regex5.c: Fix test case because with the new
15281 iso14651_t1_common file, the da_DK locale now has 6 collating elements
15282 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
15285 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15287 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
15288 downloaded from ISO, the collation order of @-. and space has changed.
15289 Therefore, this test file needed to be adapted.
15290 * localedata/fr_CA.UTF-8.in: Likewise.
15291 * localedata/fr_FR.UTF-8.in: Likewise.
15292 * localedata/uk_UA.UTF-8.in: Likewise.
15294 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15296 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
15297 order of ȥ in the new iso14651_t1_common file.
15298 * localedata/pl_PL.UTF-8.in: Likewise.
15300 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15302 * localedata/locales/iso14651_t1_common: Add sections for various
15303 scripts to the iso14651_t1_common file.
15305 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15307 * localedata/locales/iso14651_t1_common: Use the code point of a
15308 character in the fourth collation level instead of IGNORE for all
15309 entries which have IGNORE on all 4 levels.
15311 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15313 * localedata/locales/iso14651_t1_common: Add some convenient collation
15314 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
15315 rules similar to those in CLDR.
15317 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15319 * localedata/locales/iso14651_t1_common: The new version of this
15320 file downloaded from ISO contained several syntax errors which
15321 are fixed by this patch.
15323 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15325 * localedata/locales/iso14651_t1_common: replace all <U.....>
15326 with <U000.....> because glibc understands only 4 digit or 8 digit
15328 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15330 * localedata/locales/iso14651_t1_common: Necessary changes
15331 to make the file downloaded from ISO usable by glibc.
15333 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15336 * localedata/locales/iso14651_t1_common: Update file to
15337 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
15339 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15341 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
15342 of <nptl/pthreadP.h>
15343 (thread_attr_compare): Move function to...
15344 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
15345 * sysdeps/nptl/timer_routines.h: ... new header.
15346 * sysdeps/mach/hurd/gai_misc.h: New file.
15348 2018-02-26 Joseph Myers <joseph@codesourcery.com>
15350 * string/strcoll_l.c: Include <libc-diag.h>.
15351 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
15352 declarations of seq1 and seq2.
15355 * stdlib/atoi.c (atoi): Use libc_hidden_def.
15356 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
15358 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
15362 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
15363 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
15364 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
15365 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
15366 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
15367 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
15369 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15371 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
15372 macros used in __ptrace_request.
15374 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
15377 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
15379 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
15380 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
15381 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
15384 2018-02-23 Joseph Myers <joseph@codesourcery.com>
15387 * ctype/ctype.c (tolower): Use libc_hidden_def.
15388 (toupper): Likewise.
15389 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
15390 [!_ISOMAC] (toupper): Likewise.
15392 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15394 * localedata/Makefile: Remove --quiet argument when
15397 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15400 * localedata/locales/pt_BR (LC_TIME): use / instead of -
15402 * localedata/locales/pt_PT (LC_TIME): likewise
15404 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15407 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
15408 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
15409 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
15411 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15415 * nptl/Makefile (routines): Remove unregister-atfork.
15416 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
15417 (fork_handler_alloc): Remove function.
15418 (fork_handlers, fork_handler_init): New variables.
15419 (__fork_lock): Rename to atfork_lock.
15420 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
15421 to use a dynamic array to add/remove atfork handlers.
15422 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15423 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
15424 Remove declaration.
15425 (fork_handler): Remove next, refcntr, and need_signal member.
15426 (__run_fork_handler_type): New enum.
15427 (__run_fork_handlers): New prototype.
15428 * nptl/register-atfork.c: Remove file.
15429 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
15431 * sysdeps/nptl/nptl-signals.h: Move to ...
15432 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
15434 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
15435 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
15436 unnecessary check for SIGTIMER.
15437 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
15438 remove unnecessary removal of SIGTIMER.
15439 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
15440 include-signals.h rename.
15441 * nptl/pthreadP.h: Likewise.
15442 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
15443 __is_internal_signal instead of __nptl_is_internal_signal.
15445 2018-02-22 Andrew Waterman <andrew@sifive.com>
15448 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
15449 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
15450 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
15451 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
15453 2018-02-22 DJ Delorie <dj@delorie.com>
15455 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
15457 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
15459 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
15460 do_misaligned, not misaligned8.
15462 2018-02-22 Steve Ellcey <sellcey@cavium.com>
15464 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
15465 Add memcpy_thunderx2.
15466 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15468 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
15469 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
15470 and IS_THUNDERX2PA checks.
15471 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
15472 Use macro to set name appropriately.
15473 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
15474 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
15475 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
15477 (IS_THUNDERX2): New macro.
15479 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
15481 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15483 2018-02-21 Zack Weinberg <zackw@panix.com>
15485 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
15486 Define here, unconditionally.
15487 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
15488 * libio/libioP.h: Remove #if 0 blocks.
15489 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
15490 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
15491 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
15493 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
15494 Assume weak_alias is always defined.
15496 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
15497 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
15498 Remove #if 0 and #ifdef TODO blocks.
15499 Assume text_set_element is always defined.
15501 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
15502 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
15503 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
15505 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
15506 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
15507 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
15508 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
15509 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
15510 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
15511 Reformat bit flags for _flags field to make occupancy clearer.
15513 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
15514 Keep definitions consistent with those in libio/libio.h.
15516 * libio/libio.h (_IO_file_flags): Remove macro.
15517 All uses changed to _flags.
15519 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
15520 (__HAVE_COLUMN, _IO_BE): Don't define.
15521 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
15522 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
15523 * libio/libioP.h (EOF): Don't define.
15524 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
15525 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
15526 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
15527 testing _IO_UNIFIED_JUMPTABLES.
15529 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
15530 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
15531 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
15532 (_IO_size_t): Delete; all uses changed to size_t.
15533 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
15534 (_IO_off_t): Delete; all uses changed to off_t.
15535 (_IO_off64_t): Delete; all uses changed to off64_t.
15536 (_IO_pid_t): Delete; all uses changed to pid_t.
15537 (_IO_uid_t): Delete; all uses changed to uid_t.
15538 (_IO_wint_t): Delete; all uses changed to wint_t.
15539 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
15540 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
15541 (_IO_cookie_io_functions_t): Delete; all uses changed to
15542 cookie_io_functions_t.
15543 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
15544 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
15545 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
15546 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
15548 * libio/iofopncook.c: Remove unnecessary forward declarations.
15549 * libio/iolibio.h: Correct outdated commentary.
15550 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
15551 * stdio-common/fxprintf.c (__fxprintf_nocancel):
15552 Remove unnecessary casts.
15553 * stdio-common/getline.c: Use _IO_getdelim directly.
15554 Don't redefine ssize_t.
15555 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
15556 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
15557 Remove outdated comments.
15558 * stdio-common/vfscanf.c: Don't redefine va_list.
15560 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
15561 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
15562 Remove preprocessor conditionals on _LIBC and __USE_GNU,
15563 which are always true, and __cplusplus, which is always false.
15565 2018-02-21 Joseph Myers <joseph@codesourcery.com>
15569 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
15570 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
15571 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
15572 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
15574 [!_ISOMAC] (putc_unlocked): Likewise.
15575 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
15576 define inline if [__USE_EXTERN_INLINES].
15577 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
15582 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
15583 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
15584 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
15585 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
15586 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
15588 * time/tzfile.c (__tzfile_read): Likewise.
15590 2018-02-21 Mike FABIAN <mfabian@redhat.com>
15593 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
15595 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15597 * io/fcntl.h: Fix a typo in a comment.
15599 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15602 * include/features.h: Add _ISOC11_SOURCE to test for whether to
15603 define _DEFAULT_SOURCE.
15604 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
15606 2018-02-21 Florian Weimer <fweimer@redhat.com>
15609 * elf/cache.c (save_cache): Call fsync on temporary file before
15611 (save_aux_cache): Call fdatasync on temporary file before renaming
15614 2018-02-21 Florian Weimer <fweimer@redhat.com>
15617 * include/caller.h: Remove file.
15618 * elf/dl-caller.c: Likewise.
15619 * elf/Makefile (dl-routines): Remove dl-caller.
15620 (shared-only-routines): Do not add dl-caller.
15621 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
15623 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
15625 (dl_open_worker): Do not call __check_caller.
15626 (_dl_open): Do not set caller_dl_open member.
15627 * elf/rtld.c (_rtld_global_ro): Do not initialize
15628 _dl_check_caller member.
15629 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
15630 _dl_check_caller member.
15631 (_dl_check_caller): Remove declaration.
15632 * sysdeps/unix/sysv/linux/dl-execstack.c
15633 (_dl_make_stack_executable): Do not call __check_caller.
15635 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
15637 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
15638 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
15640 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15642 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
15645 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15648 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
15649 of 199606L, 200112L, and 200809L.
15650 (_XOPEN_SOURCE): Document special values of 600 and 700.
15651 (_ISOC11_SOURCE): Document macro.
15652 (_ATFILE_SOURCE): Likewise.
15653 (_FORTIFY_SOURCE): Likewise.
15655 2018-02-19 Joseph Myers <joseph@codesourcery.com>
15659 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
15660 and define as weak alias of __ferror_unlocked. Use
15662 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
15664 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
15665 function if [__USE_EXTERN_INLINES].
15666 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
15669 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
15672 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
15674 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15677 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
15678 the GLIBC_2.1 version.
15680 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15683 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
15684 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
15685 intl/tst-gettext-de.po from po/de.po by removing the
15686 POT-Creation-Date line.
15687 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
15689 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
15692 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15694 * mach/Makefile (headers): Add mach/param.h.
15695 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
15696 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
15697 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
15698 (__ptsname_r): Move implementation to...
15699 (__ptsname_internal): ... new function. Add filling the STP
15702 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
15704 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
15707 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
15709 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
15712 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15714 * nptl/Makefile (tst-mutex8-ENV): Delete.
15715 * nptl/tst-mutex8.c (check_type):
15716 Add runtime check if mutex will be elided.
15718 2018-02-15 Joseph Myers <joseph@codesourcery.com>
15722 * manual/install.texi (Configuring and compiling): Describe
15723 passing CC and CFLAGS on configure command line, not as
15724 environment variables. Use @code markup on those variables.
15725 Specify what options go in CC and what go in CFLAGS. Note the
15726 requirement to compile with optimization.
15727 * INSTALL: Regenerated.
15730 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
15731 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
15732 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
15733 __sigprocmask instead of sigprocmask.
15734 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
15736 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
15737 __sigsetjmp and sigprocmask.
15740 * include/argz.h (argz_next): Use libc_hidden_proto.
15741 (__argz_next): Likewise.
15742 * string-argz-next.c (__argz_next): Use libc_hidden_def.
15743 (argz_next): Use libc_hidden_weak.
15746 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
15748 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
15752 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
15754 * libio/iofputs.c (fputs): Use libc_hidden_weak.
15758 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
15759 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
15760 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
15761 (__feof_unlocked): New declaration, and inline function if
15762 [__USE_EXTERN_INLINES].
15763 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
15764 instead of feof_unlocked.
15765 * intl/localealias.c [_LIBC] (FEOF): Likewise.
15766 * nss/nsswitch.c (nss_parse_file): Likewise.
15767 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
15769 * time/getdate.c (__getdate_r): Likewise.
15770 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
15771 Define as macro to call __feof_unlocked.
15773 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15775 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
15777 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15779 * math/Makefile: Remove mpexp.c and mplog.c
15780 * sysdeps/i386/fpu/mpexp.c: Delete file.
15781 * sysdeps/i386/fpu/mplog.c: Likewise.
15782 * sysdeps/ia64/fpu/mpexp.c: Likewise.
15783 * sysdeps/ia64/fpu/mplog.c: Likewise.
15784 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
15785 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
15786 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
15787 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15788 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
15789 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
15790 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
15791 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
15792 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
15793 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15794 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
15795 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
15796 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15797 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
15798 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
15799 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15801 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15803 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15805 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15807 * sysdeps/sh/libm-test-ulps: Update.
15809 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15811 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
15814 2018-02-12 Zack Weinberg <zackw@panix.com>
15817 * posix/sys/types.h: Don't include sys/sysmacros.h.
15818 * misc/sys/sysmacros.h: Remove the conditional deprecation
15819 warnings for the macros defined by this header.
15821 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15823 * manual/probes.texi: Remove slowexp probes.
15824 * math/Makefile: Remove slowexp.
15825 * sysdeps/generic/math_private.h (__slowexp): Remove.
15826 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
15827 document error bounds.
15828 * sysdeps/i386/fpu/slowexp.c: Remove.
15829 * sysdeps/ia64/fpu/slowexp.c: Remove.
15830 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
15831 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
15832 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
15833 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
15834 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
15835 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
15836 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
15837 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
15838 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
15839 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
15840 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
15842 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
15845 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
15846 * benchtests/pow-inputs: Update comment for slow path cases.
15847 * manual/probes.texi (slowpow_p10): Delete removed probe.
15848 (slowpow_p10): Likewise.
15849 * math/Makefile: Remove halfulp.c and slowpow.c.
15850 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
15851 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
15852 (__halfulp): Remove.
15853 (__slowpow): Remove.
15854 * sysdeps/i386/fpu/halfulp.c: Delete file.
15855 * sysdeps/i386/fpu/slowpow.c: Likewise.
15856 * sysdeps/ia64/fpu/halfulp.c: Likewise.
15857 * sysdeps/ia64/fpu/slowpow.c: Likewise.
15858 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
15859 improve comments and add error analysis.
15860 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
15861 (power1): Remove function:
15862 (log1): Remove error argument, add error analysis.
15863 (my_log2): Remove function.
15864 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
15865 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15866 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
15867 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
15868 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
15869 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
15870 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
15871 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
15872 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
15873 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
15874 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
15875 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15876 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
15877 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15879 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
15881 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
15882 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
15884 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
15887 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
15888 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
15889 and PTRACE_SETHBPREGS.
15891 2018-02-10 Zack Weinberg <zackw@panix.com>
15894 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
15896 * malloc/tst-malloc-stats-cancellation.c: New test case.
15897 * malloc/Makefile: Add new test case.
15899 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
15901 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
15903 2018-02-10 Joseph Myers <joseph@codesourcery.com>
15905 * math/Makefile (libm-narrow-fns): Add add.
15906 (libm-test-funcs-narrow): Likewise.
15907 * math/Versions (GLIBC_2.28): Add narrowing add functions.
15908 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
15909 * math/gen-auto-libm-tests.c (test_functions): Add add.
15910 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
15911 (NARROW_ADD_ROUND_TO_ODD): Likewise.
15912 (NARROW_ADD_TRIVIAL): Likewise.
15913 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
15915 (__daddl): Likewise.
15916 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
15918 (CFLAGS-nldbl-dadd.c): New variable.
15919 (CFLAGS-nldbl-fadd.c): Likewise.
15920 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15922 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
15924 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
15925 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
15926 * math/auto-libm-test-in: Add tests of add.
15927 * math/auto-libm-test-out-narrow-add: New generated file.
15928 * math/libm-test-narrow-add.inc: New file.
15929 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15930 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
15931 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
15932 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
15933 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
15934 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
15935 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
15936 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
15937 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
15938 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
15939 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
15940 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
15941 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
15942 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
15943 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
15944 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
15945 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
15946 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
15947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15948 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15949 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15950 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15951 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15952 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15953 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15954 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15955 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15956 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15957 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15958 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15959 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15960 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15965 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15966 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15967 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15968 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15969 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15970 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15971 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15972 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15973 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15974 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15976 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
15977 (f128-pairs): New variable.
15978 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
15979 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
15981 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
15982 Also make tests add $(f128-loader-link) to gnulib-tests.
15984 2018-02-09 DJ Delorie <dj@redhat.com>
15987 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
15988 64-bit ELF type for 64-bit ELF objects.
15990 2018-02-09 Joseph Myers <joseph@codesourcery.com>
15992 * math/libm-test-driver.c (snan_tests_arg): New variable.
15993 * math/libm-test-support.h (snan_tests_arg): New declaration.
15994 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
15996 * math/Makefile (test-type-pairs): New variable.
15997 (test-type-pairs-f64xf128-yes): Likewise.
15998 (tests): Add test-narrow-macros.
15999 (libm-test-funcs-narrow): New variable.
16000 (libm-test-c-narrow): Likewise.
16001 (generated): Add $(libm-test-c-narrow).
16002 (libm-tests-base-narrow): New variable.
16003 (libm-tests-narrow): Likewise.
16004 (libm-tests): Add $(libm-tests-narrow).
16005 (libm-tests-for-type): Handle $(libm-tests-narrow).
16006 (libm-test-c-narrow-obj): New variable.
16007 ($(libm-test-c-narrow-obj)): New rule.
16008 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
16009 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
16010 $(o-iterator) to set dependencies and CFLAGS.
16011 * math/gen-auto-libm-tests.c: Document use for narrowing
16013 (output_for_one_input_case): Take argument NARROW.
16014 (generate_output): Likewise. Update call to
16015 output_for_one_input_case.
16016 (main): Take --narrow option. Update call to generate_output.
16017 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
16018 (apply_lit): Update call to _apply_lit.
16019 (apply_arglit): New function.
16020 (parse_args): Handle "a" arguments.
16021 (parse_auto_input): Handle format names using ":".
16022 * math/README.libm-test: Document "a" parameter type.
16023 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
16024 (ARG_TYPE_TRUE_MIN): Likewise.
16025 (ARG_TYPE_MAX): Likwise.
16026 (ARG_MIN_EXP): Likewise.
16027 (ARG_MAX_EXP): Likewise.
16028 (ARG_MANT_DIG): Likewise.
16029 (TEST_COND_arg_ibm128): Likewise.
16030 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
16031 (TEST_COND_arg_fmt): New macro.
16032 (init_max_error): Update prototype.
16033 * math/libm-test-support.c (test_ibm128): New variable.
16034 (init_max_error): Take argument testing_ibm128 and set test_ibm128
16035 instead of using [TEST_COND_ibm128] conditional.
16036 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
16037 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
16038 [TEST_NARROW] (TEST_MSG): New definition.
16039 (arg_plus_zero): New macro.
16040 (arg_minus_zero): Likewise.
16041 (arg_plus_infty): Likewise.
16042 (arg_minus_infty): Likewise.
16043 (arg_qnan_value_pl): Likewise.
16044 (arg_qnan_value): Likewise.
16045 (arg_snan_value_pl): Likewise.
16046 (arg_snan_value): Likewise.
16047 (arg_max_value): Likewise.
16048 (arg_min_value): Likewise.
16049 (arg_min_subnorm_value): Likewise.
16050 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
16051 (RUN_TEST_LOOP_aa_f): New macro.
16052 (TEST_SUFF): New macro.
16053 (TEST_SUFF_STR): Likewise.
16054 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
16055 (TEST_COND_any_ibm128): New macro.
16056 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
16057 this_func. Update call to init_max_error.
16058 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
16059 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
16060 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
16061 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
16062 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
16063 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
16064 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
16065 * math/test-math-scalar.h (TEST_NARROW): Likewise.
16066 * math/test-math-vector.h (TEST_NARROW): Likewise.
16067 * math/test-arg-double.h: New file.
16068 * math/test-arg-float128.h: Likewise.
16069 * math/test-arg-float32x.h: Likewise.
16070 * math/test-arg-float64.h: Likewise.
16071 * math/test-arg-float64x.h: Likewise.
16072 * math/test-arg-ldouble.h: Likewise.
16073 * math/test-math-narrow.h: Likewise.
16074 * math/test-narrow-macros.c: Likewise.
16075 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
16076 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
16077 test-narrow-macros-ldbl-64.
16078 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
16080 * math/bits/mathcalls-narrow.h: New file.
16081 * include/bits/mathcalls-narrow.h: Likewise.
16082 * math/math-narrow.h: Likewise.
16083 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
16084 (__MATHCALL_NARROW_ARGS_2): Likewise.
16085 (__MATHCALL_NARROW_ARGS_3): Likewise.
16086 (__MATHCALL_NARROW_NORMAL): Likewise.
16087 (__MATHCALL_NARROW_REDIR): Likewise.
16088 (__MATHCALL_NARROW): Likewise.
16089 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
16090 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
16092 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16093 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
16094 (libm-narrow-fns): New variable.
16095 (libm-narrow-types-basic): Likewise.
16096 (libm-narrow-types-ldouble-yes): Likewise.
16097 (libm-narrow-types-float128-yes): Likewise.
16098 (libm-narrow-types-float128-alias-yes): Likewise.
16099 (libm-narrow-types): Likewise.
16100 (libm-routines): Add narrowing functions.
16101 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
16102 (libc_feholdexcept_setroundf128): New macro.
16103 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
16104 * sysdeps/ieee754/float128/float128_private.h: Include
16105 <math/math-narrow.h>.
16106 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
16107 Undefine and redefine.
16108 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
16109 (libm_alias_float_ldouble): Undefine and redefine.
16110 (libm_alias_double_ldouble): Likewise.
16112 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
16114 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
16116 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
16119 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
16121 * manual/creature.texi: Convert references to gcc.info to gcc.
16122 * manual/stdio.texi: Likewise.
16123 * manual/string.texi: Likewise.
16125 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16128 * posix/bits/types.h (__int_least8_t): New typedef.
16129 (__uint_least8_t): Likewise.
16130 (__int_least16_t): Likewise.
16131 (__uint_least16_t): Likewise.
16132 (__int_least32_t): Likewise.
16133 (__uint_least32_t): Likewise.
16134 (__int_least64_t): Likewise.
16135 (__uint_least64_t): Likewise.
16136 * sysdeps/generic/stdint.h (int_least8_t): Define using
16138 (int_least16_t): Define using __int_least16_t.
16139 (int_least32_t): Define using __int_least32_t.
16140 (int_least64_t): Define using __int_least64_t.
16141 (uint_least8_t): Define using __uint_least8_t.
16142 (uint_least16_t): Define using __uint_least16_t.
16143 (uint_least32_t): Define using __uint_least32_t.
16144 (uint_least64_t): Define using __uint_least64_t.
16145 * wcsmbs/uchar.h: Include <bits/types.h>.
16146 (char16_t): Define using __uint_least16_t conditional only on
16148 (char32_t): Define using __uint_least32_t conditional only on
16150 * wcsmbs/test-char-types.c: New file.
16151 * wcsmbs/Makefile (tests): Add test-char-types.
16153 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
16156 2018-02-07 Zack Weinberg <zackw@panix.com>
16158 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
16159 Delete all contents except for definitions of _G_HAVE_MMAP and
16160 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
16161 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
16162 sysdeps/unix/sysv/linux/_G_config.h. Make same content
16165 * libio/libio.h: Don't include bits/_G_config.h here.
16166 Include stddef.h with __need_wchar_t defined. Include
16167 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
16168 Define _IO_iconv_t here, directly.
16169 Don't define _IO_HAVE_ST_BLKSIZE.
16170 * libio/libioP.h: Include _G_config.h here. Move include of
16171 shlib-compat.h up with rest of includes. Simplify conditionals
16172 controlling definition of _IO_JUMPS_OFFSET.
16174 * csu/init.c: Remove always-true #if around entire file.
16175 Don't include stdio.h. Set _IO_stdin_used to hardwired
16176 constant 0x20001, and update commentary.
16177 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
16178 Replace all uses of _G_va_list with __gnuc_va_list.
16179 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
16180 instead of #if _IO_HAVE_ST_BLKSIZE.
16181 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
16182 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
16185 * libio/bits/libio.h: Move back to libio/libio.h and adjust
16186 multiple-include guard to match.
16187 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
16189 Remove preprocessor conditionals that are always true and/or
16190 redundant to other preprocessor conditionals in the same nest.
16191 Include shlib-compat.h unconditionally.
16192 Error out if _LIBC is not defined, or if _ISOMAC is defined,
16193 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
16194 defined after including stdio.h.
16195 Use __BEGIN_DECLS/__END_DECLS.
16197 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
16198 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
16199 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
16201 2018-02-07 Zack Weinberg <zackw@panix.com>
16203 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
16204 New single-type headers split from _G_config.h.
16205 * libio/bits/types/cookie_io_functions_t.h
16206 * libio/bits/types/struct_FILE.h
16207 New single-type headers split from libio.h.
16209 * libio/Makefile: Install the above new headers. Don't install
16210 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
16212 * libio/_G_config.h, libio/libio.h: Delete file.
16214 * libio/bits/libio.h: Remove improper-inclusion guard.
16215 Include stdio.h and don't repeat anything that it does.
16216 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
16217 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
16218 __io_read_fn as cookie_read_function_t,
16219 __io_write_fn as cookie_write_function_t,
16220 __io_seek_fn as cookie_seek_function_t,
16221 __io_close_fn as cookie_close_function_t,
16222 and _IO_cookie_io_functions_t as cookie_io_functions_t.
16223 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
16224 here, in the "compatibility defines" section. Remove an #if 0
16225 block. Use the "body" macros from bits/types/struct_FILE.h to
16226 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
16227 and _IO_ferror_unlocked.
16228 Move prototypes of __uflow and __overflow...
16230 * libio/stdio.h: ...here. Don't include bits/libio.h.
16231 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
16232 directly from stdarg.h. Include bits/types/__fpos_t.h,
16233 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
16234 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
16235 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
16236 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
16237 cookie_io_functions_t, not _IO_cookie_io_functions_t;
16238 __ssize_t, not _IO_ssize_t. Unconditionally define
16239 BUFSIZ as 8192 and EOF as (-1).
16241 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
16242 macros from bits/types/struct_FILE.h instead of _IO_* macros
16243 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
16244 instead of _IO_ssize_t.
16245 * libio/bits/stdio2.h: Similarly.
16247 * libio/iolibio.h: Add multiple-include guard.
16248 Include bits/libio.h after stdio.h.
16249 * libio/libioP.h: Add multiple-include guard.
16250 Include stdio.h and bits/libio.h before iolibio.h.
16252 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
16253 * include/bits/types/cookie_io_functions_t.h
16254 * include/bits/types/struct_FILE.h: New wrappers.
16256 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
16257 Get definitions of _G_fpos_t and _G_fpos64_t from
16258 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
16259 respectively. Remove improper-inclusion guards.
16261 * conform/data/stdio.h-data: Update expectations of va_list.
16262 * scripts/check-installed-headers.sh: Remove special case for
16263 libio.h and _G_config.h.
16265 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16269 * include/sys/sysmacros.h [!_ISOMAC]
16270 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
16271 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
16272 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
16273 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
16275 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
16276 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
16278 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
16279 Undefine and redefine to add use __gnu_dev_ prefix.
16280 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
16282 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
16283 and define as hidden inline function.
16284 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
16286 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
16288 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
16289 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
16290 (gnu_dev_minor): Likewise.
16291 (gnu_dev_makedev): Likewise.
16292 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
16294 * posix/wordexp.c (exec_comm_child): Likewise.
16295 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
16296 instead of minor and __gnu_dev_major instead of major.
16297 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
16298 __gnu_dev_major instead of major.
16299 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
16300 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
16301 instead of gnu_dev_minor.
16302 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
16303 (SLAVE_P): Likewise.
16304 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
16305 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
16309 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
16311 * locale/weightwc.h (findidx): Likewise.
16313 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
16315 * manual/probes.texi (slowlog): Delete documentation of removed probe.
16316 (slowlog_inexact): Likewise
16317 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
16318 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
16320 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
16323 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
16324 missing second underscore to parameter name.
16326 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16332 * bits/byteswap.h: Update file comment. Do not include
16333 <bits/byteswap-16.h>.
16334 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
16336 (__bswap_16): Define as inline function.
16337 (__bswap_constant_32): Reformat definition.
16338 (__bswap_32): Always define as inline function, not macro, using
16339 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
16340 otherwise __bswap_constant_32.
16341 (__bswap_constant_64): Reformat definition. Do not use
16342 __extension__ here.
16343 (__bswap_64): Always define as inline function, not macro. Use
16344 __extension__ on function definition. Use __builtin_bswap64 if
16345 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
16346 * string/test-endian-file-scope.c: New file.
16347 * string/test-endian-sign-conversion.c: Likewise.
16348 * string/Makefile (headers): Remove bits/byteswap-16.h.
16349 (tests): Add test-endian-file-scope and
16350 test-endian-sign-conversion.
16351 (CFLAGS-test-endian-sign-conversion.c): New variable.
16352 * bits/byteswap-16.h: Remove file.
16353 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
16354 * sysdeps/ia64/bits/byteswap.h: Likewise.
16355 * sysdeps/m68k/bits/byteswap.h: Likewise.
16356 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16357 * sysdeps/s390/bits/byteswap.h: Likewise.
16358 * sysdeps/tile/bits/byteswap.h: Likewise.
16359 * sysdeps/x86/bits/byteswap-16.h: Likewise.
16360 * sysdeps/x86/bits/byteswap.h: Likewise.
16363 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
16364 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
16365 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
16366 199901L] (__restrict): Define to restrict.
16369 * string/testcopy.c: Include <support/support.h>. Do not include
16370 <malloc.h>. Use <support/test-driver.c>.
16371 (main): Rename to do_test. Make static. Use xmalloc instead of
16375 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
16376 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
16377 (SSIZE_MAX): Define to INT_MAX.
16378 * posix/test-ssize-max.c: New file.
16379 * posix/Makefile (tests): Add test-ssize-max.
16382 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
16383 <support/support.h>. Do not include <malloc.h>.
16384 (query_auxv): Use xmalloc instead of malloc.
16387 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
16388 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
16391 2018-02-06 Florian Weimer <fweimer@redhat.com>
16394 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16395 Use scratch_buffer instead of extend_alloca.
16397 2018-02-06 Zack Weinberg <zackw@panix.com>
16399 * libio/stdio.h: Don't define getc or putc as macros.
16400 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
16401 not _IO_getc and _IO_putc.
16403 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
16404 * stdio-common/tstgetln.c: Don't redefine ssize_t.
16406 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16408 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
16409 (TCP_FASTOPEN_NO_COOKIE): Likewise.
16411 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
16414 * elf/elf.h (NT_PRFPREG): New macro.
16415 (NT_S390_VXRS_LOW): Likewise.
16416 (NT_S390_VXRS_HIGH): Likewise.
16417 (NT_S390_GS_CB): Likewise.
16418 (NT_S390_GS_BC): Likewise.
16419 (NT_S390_RI_CB): Likewise.
16421 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16422 (MAP_SYNC): New macro.
16423 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
16425 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16426 (MAP_SYNC): Likewise.
16427 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16428 (MAP_SYNC): Likewise.
16429 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16430 (MAP_SYNC): Likewise.
16431 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16432 (MAP_SYNC): Likewise.
16433 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16434 (MAP_SYNC): Likewise.
16435 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16436 (MAP_SYNC): Likewise.
16437 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
16439 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
16442 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
16443 (MAP_SHARED_VALIDATE): New macro.
16444 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16445 (MAP_SHARED_VALIDATE): Likewise.
16447 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16449 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
16450 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
16451 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16453 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16455 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
16456 (DT_NUM): Updated to 35.
16458 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16460 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
16461 __builtin_expect with __glibc_likely and __glibc_unlikely.
16462 (elf_machine_rela): Likewise.
16463 (elf_machine_lazy_rel): Likewise.
16465 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16467 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
16468 __builtin_expect with __glibc_likely and __glibc_unlikely.
16469 (elf_machine_lazy_rel): Likewise.
16471 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16474 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
16476 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
16478 2018-02-05 Andreas Schwab <schwab@suse.de>
16481 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
16484 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16486 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
16487 not check against PTHREAD_STACK_MIN.
16489 2018-02-02 Sean McKean <smckean83@gmail.com>
16492 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
16494 2018-02-02 Florian Weimer <fweimer@redhat.com>
16497 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
16498 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16499 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16500 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
16501 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16502 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16503 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16504 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
16505 * manual/llio.texi (Scatter-Gather): Mention offset -1.
16506 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
16507 * misc/tst-preadvwritev2.c (do_test): Call it.
16508 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
16510 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16512 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
16514 * benchtests/bench-memcmp.c: Print json instead of plain text.
16516 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
16519 2018-02-01 Joseph Myers <joseph@codesourcery.com>
16521 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16523 (s390_sthyi): New syscall.
16525 * sysdeps/generic/ldbl-classify-compat.h: New file.
16526 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
16527 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
16528 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
16529 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
16530 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
16531 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
16532 * sysdeps/ieee754/dbl-64/s_finite.c: Include
16533 <ldbl-classify-compat.h>.
16534 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16535 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
16536 <ldbl-classify-compat.h>.
16537 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16538 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
16539 <ldbl-classify-compat.h>.
16540 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16541 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
16542 <ldbl-classify-compat.h>.
16543 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16544 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
16545 <ldbl-classify-compat.h>.
16546 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16547 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
16548 <ldbl-classify-compat.h>.
16549 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16550 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
16551 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16552 * sysdeps/m68k/coldfire/math_private.h: Remove file.
16553 * sysdeps/microblaze/math_private.h: Likewise.
16554 * sysdeps/nios2/math_private.h: Likewise.
16555 * sysdeps/sh/math_private.h: Likewise.
16557 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
16558 * sysdeps/m68k/coldfire/math_private.h: ... here.
16559 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
16560 * sysdeps/tile/math_private.h: Likewise.
16561 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
16563 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
16566 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
16568 (libc_fetestexcept): Likewise.
16569 (libc_feupdateenv_test): Likewise.
16570 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
16571 (libc_fetestexcept): Likewise.
16572 (libc_feupdateenv_test): Likewise.
16573 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
16574 (libc_fetestexcept): Likewise.
16575 (libc_feupdateenv_test): Likewise.
16576 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
16577 (libc_fetestexcept): Likewise.
16578 (libc_feupdateenv_test): Likewise.
16580 * sysdeps/generic/math_private.h
16581 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
16582 New inline function.
16583 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
16586 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
16587 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
16588 * sysdeps/generic/math_private.h
16589 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
16591 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
16593 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
16595 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
16597 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
16599 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
16601 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
16602 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
16603 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
16604 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
16605 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
16606 (__fegetenv): Likewise.
16607 (fesetenv): Likewise.
16608 (__fesetenv): Likewise.
16609 (feupdateenv): Likewise.
16610 (__feupdateenv): Likewise.
16611 (fegetround): Likewise.
16612 (__fegetround): Likewise.
16613 (fesetround): Likewise.
16614 (__fesetround): Likewise.
16616 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
16617 (feraiseexcept): New macro.
16618 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
16619 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
16621 (__feraiseexcept): Likewise.
16622 (feclearexcept): Likewise.
16623 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
16624 (__feraiseexcept): Likewise.
16625 (feclearexcept): Likewise.
16626 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
16627 (__feraiseexcept): Likewise.
16628 (feclearexcept): Likewise.
16629 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
16630 (__feraiseexcept): Likewise.
16631 (feclearexcept): Likewise.
16632 (fetestexcept): Likewise.
16634 * sysdeps/m68k/coldfire/math-tests.h: New file.
16636 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
16637 * sysdeps/m68k/bits/fenv.h: ... here.
16638 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
16640 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
16642 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
16644 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
16646 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
16648 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
16650 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
16651 (__FE_UNDEFINED): New enum constant.
16652 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
16654 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
16656 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
16658 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
16659 to match generic bits/fenv.h.
16660 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
16663 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
16665 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
16666 * soft-fp/half.h (union _FP_UNION_H): Likewise.
16667 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
16668 * soft-fp/single.h (union _FP_UNION_S): Likewise.
16670 2018-02-01 Carlos O'Donell <carlos@redhat.com>
16671 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
16672 Joseph Myers <joseph@codesourcery.com>
16675 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
16676 (__log1p): Disable -Wmaybe-uninitialized for -Os around
16677 computation using c.
16678 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
16679 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
16680 computation using c.
16682 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16684 * version.h (RELEASE): Set to "development".
16685 (VERSION): Set to "2.27.9000".
16686 * NEWS (2.28): New section.
16688 * version.h (RELEASE): Set to "stable".
16689 (VERSION): Set to "2.27".
16690 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
16692 * NEWS: Add the list of bugs fixed in 2.27.
16694 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16696 * stdlib/test-atexit-race-common.c (do_test): Check stack size
16697 against PTHREAD_STACK_MIN.
16699 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16701 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
16703 (Rafal Luzynski, Andreas Schwab): Update.
16705 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
16708 * NEWS: List the languages which actually use the alternative
16709 months feature in this release. Also explain that "alt_mon" and
16710 "ab_alt_mon" are optional.
16712 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
16715 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
16717 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
16719 * manual/install.texi (Tools for Compilation): Update the newest
16720 versions of gcc, binutils, texinfo, gawk, bison, and sed.
16721 * INSTALL: Regenerated.
16723 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16725 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
16726 instead of __builtin_expect.
16728 2018-01-30 Florian Weimer <fweimer@redhat.com>
16730 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
16732 * nss/tst-nss-getpwent.c (do_test): Likewise.
16734 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
16737 * localedata/locales/hr_HR (mon): Rename to...
16739 (mon): Import from CLDR (genitive case).
16740 (d_t_fmt): Update the comment.
16742 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
16744 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
16745 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
16746 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
16748 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16750 * mach/Versions: Fix version when __mach_host_self_ was added.
16751 * hurd/Versions: Fix version when _hurd_exec_paths was added.
16752 * sysdeps/mach/hurd/i386/ld.abilist: New file.
16753 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
16754 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
16755 * sysdeps/mach/hurd/i386/libc.abilist: New file.
16756 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
16757 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
16758 * sysdeps/mach/hurd/i386/libm.abilist: New file.
16759 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
16760 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
16761 * sysdeps/mach/hurd/i386/librt.abilist: New file.
16762 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
16763 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
16764 || to respect codestyle.
16765 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
16766 (do_test_bz20181): Rename accordingly.
16767 * malloc/malloc.c: Include <assert.h>.
16768 (assert): Do not define.
16769 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
16770 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
16771 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
16772 * sysdeps/mach/hurd/hp-timing.h: New file.
16773 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
16775 2018-01-29 Darius Rad <darius@bluespec.com>
16777 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
16779 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
16781 * sysdeps/init_array/crti.S (.section .init_array): Add
16782 PREINIT_FUNCTION when defined.
16783 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
16784 * config.h.in: Regenerate.
16785 * manual/platform.texi: Add RISC-V documenation for
16786 __riscv_flush_icache.
16787 * sysdeps/riscv/__longjmp.S: New file.
16788 * sysdeps/riscv/backtrace.c: Likewise.
16789 * sysdeps/riscv/bits/endian.h: Likewise.
16790 * sysdeps/riscv/bits/setjmp.h: Likewise.
16791 * sysdeps/riscv/bits/wordsize.h: Likewise.
16792 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
16793 * sysdeps/riscv/bsd-setjmp.c: Likewise.
16794 * sysdeps/riscv/dl-trampoline.S: Likewise.
16795 * sysdeps/riscv/gccframe.h: Likewise.
16796 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
16797 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
16798 * sysdeps/riscv/machine-gmon.h: Likewise.
16799 * sysdeps/riscv/memusage.h: Likewise.
16800 * sysdeps/riscv/setjmp.S: Likewise.
16801 * sysdeps/riscv/sys/asm.h: Likewise.
16802 * sysdeps/riscv/tls-macros.h: Likewise.
16803 * sysdeps/riscv/dl-tls.h: New file.
16804 * sysdeps/riscv/libc-tls.c: Likewise.
16805 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
16806 * sysdeps/riscv/nptl/tls.h: Likewise.
16807 * sysdeps/riscv/stackinfo.h: Likewise.
16808 * sysdeps/riscv/bits/fenv.h: New file.
16809 * sysdeps/riscv/e_sqrtl.c: Likewise.
16810 * sysdeps/riscv/fpu_control.h: Likewise.
16811 * sysdeps/riscv/math-tests.h: Likewise.
16812 * sysdeps/riscv/nofpu/Implies: Likewise.
16813 * sysdeps/riscv/sfp-machine.h: Likewise.
16814 * sysdeps/riscv/tininess.h: Likewise.
16815 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
16816 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
16817 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
16818 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
16819 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
16820 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
16821 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
16822 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
16823 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
16824 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
16825 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
16826 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
16827 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
16828 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
16829 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
16830 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
16831 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
16832 * sysdeps/riscv/rvd/s_finite.c: Likewise.
16833 * sysdeps/riscv/rvd/s_fma.c: Likewise.
16834 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
16835 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
16836 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
16837 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
16838 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
16839 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
16840 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
16841 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
16842 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
16843 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
16844 * sysdeps/riscv/rvf/fegetround.c: Likewise.
16845 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
16846 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
16847 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
16848 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
16849 * sysdeps/riscv/rvf/fesetround.c: Likewise.
16850 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
16851 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
16852 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
16853 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
16854 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
16855 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
16856 * sysdeps/riscv/rvf/math_private.h: Likewise.
16857 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
16858 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
16859 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
16860 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
16861 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
16862 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
16863 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
16864 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
16865 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
16866 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
16867 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
16868 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
16869 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
16870 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
16871 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
16872 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
16873 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
16874 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
16875 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
16876 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
16877 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
16878 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16879 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
16880 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
16881 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
16882 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
16883 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
16884 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
16885 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
16886 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
16887 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
16888 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
16889 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
16890 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
16891 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
16892 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
16893 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
16894 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
16895 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
16896 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
16897 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
16898 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
16899 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
16900 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
16901 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
16902 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
16903 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
16904 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
16905 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
16906 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
16907 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
16908 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
16909 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
16910 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
16911 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
16912 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
16913 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
16914 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
16915 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
16916 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
16917 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16918 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16919 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16920 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16921 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16922 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16923 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16924 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16925 * sysdeps/riscv/Implies: New file.
16926 * sysdeps/riscv/Makefile: Likewise.
16927 * sysdeps/riscv/configure: Likewise.
16928 * sysdeps/riscv/configure.ac: Likewise.
16929 * sysdeps/riscv/nptl/Makefile: Likewise.
16930 * sysdeps/riscv/preconfigure: Likewise.
16931 * sysdeps/riscv/rv64/Implies-after: Likewise.
16932 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
16933 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
16934 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
16935 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
16936 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
16937 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
16938 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
16939 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
16940 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
16941 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
16942 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
16943 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
16944 (Config): Likewise.
16946 2018-01-29 Florian Weimer <fweimer@redhat.com>
16949 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
16950 libnsl_hidden_proto.
16951 * include/rpcsvc/yp.h (yp_xdrall): Declare with
16952 libnsl_hidden_proto.
16953 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
16954 * nis/Makefile (libnsl-routines): Add nss-default only for
16955 build-obsolete-nsl.
16956 * nis/nis_defaults.c (__nis_default_ttl): Add
16957 libnsl_hidden_nolink_def.
16958 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
16960 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
16961 * nis/ypclnt.c (yp_maplist): Likewise.
16963 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
16965 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16966 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
16968 2018-01-29 Joseph Myers <joseph@codesourcery.com>
16970 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
16971 clean -dxfq for git updates when replacing sources.
16973 * scripts/build-many-glibcs.py (Config.build_gcc): Use
16974 --disable-libcilkrts unconditionally, not just for the final GCC
16977 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16980 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16983 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
16986 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16989 * localedata/locales/be_BY (mon): Rename to...
16990 (alt_mon): This, then synchronize with CLDR (nominative case).
16991 (abmon): Rename to...
16992 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16993 (mon): Import from CLDR (genitive case).
16995 * localedata/locales/be_BY@latin (mon): Rename to...
16997 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
16999 * localedata/locales/be_BY@latin (lang_name): Reworded to
17000 "biełaruskaja mova".
17002 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17005 * localedata/locales/el_CY (mon): Renamed to...
17007 (mon): Import from CLDR (genitive case).
17008 * localedata/locales/el_GR: Likewise.
17010 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17013 * localedata/locales/ru_RU (mon): Rename to...
17015 (abmon): Rename to...
17016 (ab_alt_mon): This.
17017 (mon): Import from CLDR (genitive case).
17018 (abmon): Copy from the old content except the 5th month which is
17019 now in the genitive case, even when abbreviated.
17020 * localedata/locales/ru_UA: Likewise.
17021 * time/tst-strptime.c (day_tests): Add an actual example of
17022 a difference between %b and %Ob in Russian.
17024 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17026 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
17027 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
17029 * resolv/res-close.c: Include <stdlib.h>.
17030 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
17031 <sys/wait.h>, <time.h>, <sys/uio.h>.
17032 (NOT_CANCEL_H): Add inclusion guard.
17033 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
17034 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
17035 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
17037 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
17038 vm_address_t * to ElfW(Addr) * for dl_main parameter.
17039 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
17041 * sysdeps/pthread/timer_create.c (timer_create): Do not use
17042 timer_ptr2id to cast struct timer_node * to void *.
17043 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
17044 --disable-libcilkrts to gcc configure.
17045 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
17046 and make them the default for now.
17047 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
17048 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
17049 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
17050 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
17051 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
17053 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
17054 __task_terminate would ever return successfully.
17055 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
17057 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
17058 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
17059 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
17060 critical section to make code simpler and avoid warning.
17061 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
17062 critical section to make code simpler and avoid warning.
17063 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
17064 const char * instead of char *.
17065 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
17066 __hurd_file_name_split, hurd_file_name_split,
17067 __hurd_directory_name_split, hurd_directory_name_split,
17068 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
17069 hurd_file_name_path_lookup): Make lookup function parameter take a
17070 const char *name instead of char *name.
17071 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
17072 __hurd_directory_name_split): Likewise.
17073 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
17074 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
17075 * sysdeps/mach/hurd/check_native.c: New file.
17076 * sysdeps/mach/hurd/check_pf.c: New file.
17077 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
17078 (__freeifaddrs): Define macro to freeifaddrs.
17079 * sysdeps/mach/hurd/libhurduser.abilist: New file.
17080 * sysdeps/mach/libmachuser.abilist: New file.
17081 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
17082 (do_test_bz20181): Rename accordingly.
17083 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
17084 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
17086 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
17087 version only if __USE_EXTERN_INLINES is defined.
17088 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
17089 __hurd_sockfail): Likewise.
17090 (_hurd_fd_get): Always declare functions, and provide inline versions
17091 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
17092 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
17093 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
17094 _hurd_port_set): Always declare functions, and provide inline versions
17095 only if __USE_EXTERN_INLINES and _LIBC are defined and
17097 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
17098 _hurd_critical_section_unlock): Likewise.
17099 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
17100 * __hurd_threadvar_location): Likewise.
17101 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
17102 _hurd_userlink_clear): Likewise.
17103 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
17104 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
17105 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
17106 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
17107 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
17108 __spin_lock_locked): Likewise.
17109 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
17110 __spin_lock_locked): Likewise.
17111 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
17112 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
17113 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
17114 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
17115 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
17116 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
17117 _POSIX_NO_TRUNC): Define to 0.
17118 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
17119 check size against PTHREAD_STACK_MIN.
17120 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
17121 IS_IN(libpthread)]: Include <sigsetops.h>.
17122 * mach/Makefile (user-interfaces): Add mach/gnumach.
17123 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
17124 * sysdeps/mach/configure (mach_interface_list): Regenerate.
17125 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
17126 instead of invalid -1.
17127 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
17128 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
17129 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
17132 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
17134 * hurd/fcntl-internal.h: New file.
17136 2018-01-27 James Clarke <jrtc27@jrtc27.com>
17138 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17140 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17142 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
17145 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
17146 Build only shared objects.
17148 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17150 * README: Update for hppa.
17152 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17154 * sysdeps/sparc/fpu/libm-test-ulps: Update
17155 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
17157 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17161 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17164 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17165 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17166 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17167 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17170 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17173 * bits/types/__cancel_jmp_buf_tag.h: New file.
17174 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17175 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17176 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17177 * nptl/Makefile (headers): Add
17178 bits/types/__cancel_jmp_buf_tag.h.
17179 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17180 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17181 * sysdeps/nptl/pthread.h: Include
17182 <bits/types/__cancel_jmp_buf_tag.h>.
17183 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17185 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17187 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
17190 * localedata/locales/uk_UA (mon): Renamed to...
17192 (alt_digits): "0" removed and then renamed to...
17194 (date_fmt): Definition changed not to use the alternative
17197 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
17199 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
17200 FLAG_RISCV_FLOAT_ABI_DOUBLE.
17201 * elf/elf.h (EF_RISCV_RVC): New define.
17202 (EF_RISCV_FLOAT_ABI): Likewise.
17203 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
17204 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
17205 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17206 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
17207 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
17209 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17211 2018-01-25 Andreas Schwab <schwab@suse.de>
17213 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
17215 * sysdeps/gnu/configure: Regenerate.
17216 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17217 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17219 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17220 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17221 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
17222 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17223 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17225 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17227 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
17228 URL, and run autoconf, make it the default for now.
17230 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17232 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17233 soft-float ColdFire configuration.
17235 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
17236 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
17237 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
17239 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
17242 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
17244 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
17246 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
17249 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
17250 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
17251 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
17254 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17257 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
17258 Rename to __reserved and add comment.
17259 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
17260 Rename to __reserved.
17262 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17264 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17265 i686-gnu configurations.
17266 (Context.run_builds): Include mig, gnumach and hurd in components
17268 (Context.checkout): Add mig, gnumach and hurd to components.
17269 (Context.checkout_tar): Add URL mappings for mig, gnumach and
17271 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
17272 (Config.build): Install gnumach headers, build mig and install
17273 hurd headers for 'gnu' OS.
17274 (Config.install_gnumach_headers): New function.
17275 (Config.install_hurd_headers): Likewise.
17276 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
17277 when building for 'gnu' OS.
17279 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
17281 * manual/tunables.texi (Hardware Capability Tunables): Fix
17284 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
17286 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
17287 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
17288 (ALTMON_11, ALTMON_12): Improve documentation.
17289 * manual/time.texi (strftime): Likewise.
17291 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17294 * localedata/locales/pl_PL: Alternative month names added,
17295 primary month names are genitive now.
17296 * time/tst-strptime.c (day_tests): Actually use a genitive case
17297 of a month name in Polish language.
17299 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17302 * manual/locale.texi: Document ALTMON_1..12 constants for
17303 nl_langinfo. Specify when to use ALTMON instead of MON.
17304 * manual/time.texi (strftime, strptime): Document GNU extension
17305 permitting O modifier with %B and %b. Specify when to use
17308 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17311 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
17312 names, define them as the same as abbreviated month names explicitly.
17313 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
17314 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
17315 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
17316 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
17317 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
17318 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
17319 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
17320 _NL_WABALTMON_12): New enum constants.
17321 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
17322 wab_alt_mon, and ab_alt_mon_defined members.
17323 (time_output): Output ab_alt_mon and wab_alt_mon members.
17324 (time_read): Read them, initialize them as copies of abmon and wabmon
17325 respectively if they are missing, initialize ab_alt_mon_defined.
17326 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
17327 * locale/programs/locfile-kw.h: Regenerate.
17328 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
17329 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
17331 * time/strftime_l.c (a_altmonth, aam_len): New macros.
17332 [!COMPILE_WIDE] (ABALTMON_1): New macro.
17333 (__strftime_internal): Handle %Ob and %Oh formats.
17334 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
17335 (__strptime_internal): Handle %Ob and %Oh formats.
17336 * time/tst-strptime.c (day_tests): Add more tests to parse different
17337 forms of month names including the new %Ob format specifier.
17339 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17342 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
17343 define them as the same as primary full month names explicitly.
17344 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
17345 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
17346 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
17347 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
17348 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
17349 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
17350 _NL_WALTMON_12): New enum constants.
17351 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
17352 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
17354 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
17355 walt_mon, and alt_mon_defined members.
17356 (time_output): Output alt_mon and walt_mon members.
17357 (time_read): Read them, initialize them as copies of mon and wmon
17358 respectively if they are missing, initialize alt_mon_defined.
17359 * locale/programs/locfile-kw.gperf (alt_mon): Define.
17360 * locale/programs/locfile-kw.h: Regenerate.
17361 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
17362 * localedata/tst-langinfo.c (map): Add tests for the new constants
17363 ALTMON_1 .. ALTMON_12.
17364 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
17366 * time/strftime_l.c (f_altmonth): New macro.
17367 (__strftime_internal): Handle %OB format.
17368 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
17369 (__strptime_internal): Handle %OB format.
17370 * time/tst-strptime.c (day_tests): Add tests to parse different forms
17371 of month names including the new %OB format specifier.
17373 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17376 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
17377 from ABORT_TRANSACTION.
17378 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
17379 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
17380 ABORT_TRANSACTION_IMPL): Likewise.
17381 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
17382 Linux code, but remove the code that aborts transactions.
17384 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17386 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
17388 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
17390 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
17391 in date: "2004-14-09" should be "2004-09-14".
17392 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
17393 "2003-15-09" should be "2003-09-15".
17395 2018-01-18 Arjun Shankar <arjun@redhat.com>
17401 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
17403 (_int_memalign): check for integer overflow before calling
17405 * malloc/tst-malloc-too-large.c: New test.
17406 * malloc/Makefile: Add tst-malloc-too-large.
17408 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
17410 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
17411 in date: "2017-24-07" should be "2017-07-24".
17412 * localedata/locales/mai_IN: Likewise.
17413 * localedata/locales/mai_NP: Likewise.
17415 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
17417 * po/ru.po: Update translations.
17419 2018-01-17 Joseph Myers <joseph@codesourcery.com>
17422 * sysdeps/hppa/backtrace.c: New file.
17424 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
17427 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
17428 align La_x86_64_retval to VEC_SIZE.
17430 2018-01-16 Joseph Myers <joseph@codesourcery.com>
17432 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
17433 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
17435 2018-01-16 Florian Weimer <fweimer@redhat.com>
17437 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
17438 Move tst-thread-exit-clobber ...
17439 [$(CXX)] (tests-unsupported): ... to here.
17441 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17443 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
17444 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
17445 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17446 (_dl_aarch64_cap_flags): Update.
17447 (_DL_HWCAP_COUNT): Update.
17449 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17451 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
17452 (_DL_HWCAP_LAST): Remove.
17453 (_DL_HWCAP_COUNT): Move to ...
17454 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17455 (_DL_HWCAP_COUNT): ... here.
17457 2018-01-16 Florian Weimer <fweimer@redhat.com>
17459 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
17460 mode with GNU extensions.
17462 2018-01-15 Alan Hayward <alan.hayward@arm.com>
17464 * elf/elf.h (NT_ARM_SVE): Define.
17466 2018-01-15 Florian Weimer <fweimer@redhat.com>
17469 * nptl/tst-minstack-throw.cc: New file.
17470 * nptl/Makefile (tests): Add tst-minstack-throw.
17471 (LDLIBS-tst-minstack-throw): Link with libstdc++.
17472 [!CXX] (tests-unsupported): Add tst-minstack-throw.
17474 2018-01-15 Joseph Myers <joseph@codesourcery.com>
17476 * scripts/build-many-glibcs.py (Context.checkout): Default
17477 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
17480 2018-01-13 Carlos O'Donell <carlos@redhat.com>
17483 * elf/elf.h (DF_1_STUB): Define.
17484 (DF_1_PIE): Define.
17486 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17489 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
17490 Do not add 0.5 to integer or out-of-range arguments.
17492 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17494 * po/bg.po: Update translations.
17495 * po/cs.po: Likewise.
17496 * po/de.po: Likewise.
17497 * po/ko.po: Likewise.
17498 * po/pl.po: Likewise.
17499 * po/sv.po: Likewise.
17500 * po/uk.po: Likewise.
17501 * po/vi.po: Likewise.
17503 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17505 * aarch64/start.S (_start): Use __wrap_main.
17506 (__wrap_main): New local symbol.
17508 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17512 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
17513 generic_getcwd if the path returned by getcwd syscall is not absolute.
17514 * io/tst-getcwd-abspath.c: New test.
17515 * io/Makefile (tests): Add tst-getcwd-abspath.
17517 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
17519 * malloc/malloc.c (malloc_consolidate): Add size check.
17521 2018-01-12 Florian Weimer <fweimer@redhat.com>
17523 * support/write_message.c (write_message): Preserve errno.
17524 * support/check.c (print_failure): Likewise.
17525 * support/support_test_verify_impl.c (support_test_verify_impl):
17527 * support/support_test_compare_failure.c
17528 (support_test_compare_failure): Likewise.
17530 2018-01-12 Florian Weimer <fweimer@redhat.com>
17533 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
17534 Prevent installation of libnsl.so.
17535 (libnsl-inhibit-o): Do not build (or install) static libraries.
17537 2018-01-12 Egmont Koblinger <egmont@gmail.com>
17540 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
17541 before the day number which may produce a double space.
17542 (date_fmt): Likewise.
17544 2018-01-12 Joseph Myers <joseph@codesourcery.com>
17546 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
17547 instead of fegetenv.
17549 2018-01-11 Joseph Myers <joseph@codesourcery.com>
17552 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
17553 comment to say exceptions are discarded.
17554 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
17556 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
17559 2018-01-11 Florian Weimer <fweimer@redhat.com>
17561 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
17564 2018-01-11 Florian Weimer <fweimer@redhat.com>
17567 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
17568 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
17570 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17573 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
17574 negative arguments in test for NaN or infinity argument.
17576 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
17578 * po/libc.pot: Regenerate.
17580 2018-01-10 Florian Weimer <fweimer@redhat.com>
17583 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
17584 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
17586 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17588 * hurd/hurd/fd.h: Include <fcntl.h>
17589 (__hurd_at_flags): New function.
17590 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
17591 with call to __hurd_at_flags.
17592 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
17593 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
17595 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
17596 (__access_noerrno): Use __faccessat_common instead of access_common.
17597 (__access): Likewise.
17598 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
17599 with a call to __faccessat.
17600 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
17601 (__faccessat_common): ... this. Move implementation of __access into it when
17602 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
17603 reauthenticate_cwdir_at helper to implement AT mechanism.
17604 (__faccessat_noerrno): New function, just calls __faccessat_common.
17605 (__faccessat): New function, just calls __faccessat_common.
17606 (faccessat): Define weak alias.
17608 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17611 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17612 (CFLAGS-s_fmaxmagl.c): New variable.
17613 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
17616 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
17617 long int for arguments of possibly overflowing addition or
17619 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17621 2018-01-09 Joseph Myers <joseph@codesourcery.com>
17624 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17625 (CFLAGS-e_remainderl.c): New variable.
17628 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
17630 (CFLAGS-s_cacoshl.c): Likewise.
17631 (CFLAGS-s_casinhl.c): Likewise.
17632 (CFLAGS-s_catanl.c): Likewise.
17633 (CFLAGS-s_catanhl.c): Likewise.
17634 (CFLAGS-s_cexpl.c): Likewise.
17635 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
17636 (CFLAGS-s_csinhl.c): Likewise.
17637 (CFLAGS-s_clogl.c): Likewise.
17638 (CFLAGS-s_clog10l.c): Likewise.
17639 (CFLAGS-s_csinl.c): Likewise.
17640 (CFLAGS-s_csqrtl.c): Likewise.
17642 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
17643 2017-01-09 Svante Signell <svante.signell@gmail.com>
17645 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
17646 (_hurd_exec_paths): New function.
17647 * hurd/hurd.h (_hurd_exec): Deprecate function.
17648 (_hurd_exec_paths): Declare function.
17649 * hurd/Versions: Export _hurd_exec_paths.
17650 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
17651 (__execve): Use __getcwd to build absolute path, and use
17652 _hurd_exec_paths instead of _hurd_exec.
17653 * sysdeps/mach/hurd/spawni.c: Likewise.
17654 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
17657 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
17659 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
17660 test instead of failing in case of ENOENT returned by posix_openpt.
17662 2018-01-08 Florian Weimer <fweimer@redhat.com>
17664 resolv: Support binary labels in test framework.
17665 * support/resolv_test.c (struct to_be_freed): Remove.
17666 (struct compressed_name): New.
17667 (allocate_compressed_name, ascii_tolower)
17668 (compare_compressed_name): New functions.
17669 (struct resolv_response_builder): Update type of
17670 compression_offsets for use with tsearch. Rempve to_be_freed.
17671 (response_push_pointer_to_free): Remove function.
17672 (resolv_response_add_name): Rewrite using struct compressed_name
17673 and tsearch instead of hsearch_r.
17674 (response_builder_allocate): Remove initialization of
17675 compression_offsets.
17676 (response_builder_free): Update for removal of to_be_freed. Use
17677 tdestroy instead of hdestroy_r.
17678 * resolv/Makefile (tests): Add tst-resolv-binary.
17679 (tst-resolv-binary): Link with -lresolv -lpthread.
17681 2018-01-08 Florian Weimer <fweimer@redhat.com>
17683 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
17684 time. Pass positive flag instead of negative flag to
17685 support_test_compare_failure.
17686 (support_test_compare_failure): Change negative parameter to
17688 * support/support_test_compare_failure.c (report)
17689 (support_test_compare_failure): Likewise.
17690 * support/tst-test_compare.c (return_ssize_t, return_int): New.
17691 (do_test): Check int/size_t, ssize_t/size_t comparisons.
17693 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
17696 * nptl/descr.h (stackblock, stackblock_size): Update comments.
17697 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
17698 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
17700 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17702 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
17704 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17705 Add s_sincosf-sse2 and s_sincosf-fma.
17706 (CFLAGS-s_sincosf-fma.c): New.
17707 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
17708 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
17709 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
17710 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
17711 __sincosf is defined.
17713 2018-01-08 Florian Weimer <fweimer@redhat.com>
17715 * nptl/tst-thread-exit-clobber.cc: New file.
17716 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
17718 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
17719 (tests): Add tst-thread-exit-clobber.
17720 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
17722 2018-01-08 Florian Weimer <fweimer@redhat.com>
17724 * support/check.h (support_static_assert): Define.
17725 (TEST_COMPARE): Use it.
17727 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
17729 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
17730 [!__RLIM_T_MATCHES_RLIM64_T]
17731 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
17732 __getrlimit64. Add libc_hidden_weak.
17734 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
17736 * elf/elf.h (R_RISCV_NONE): New define.
17737 (R_RISCV_32): Likewise.
17738 (R_RISCV_64): Likewise.
17739 (R_RISCV_RELATIVE): Likewise.
17740 (R_RISCV_COPY): Likewise.
17741 (R_RISCV_JUMP_SLOT): Likewise.
17742 (R_RISCV_TLS_DTPMOD32): Likewise.
17743 (R_RISCV_TLS_DTPMOD64): Likewise.
17744 (R_RISCV_TLS_DTPREL32): Likewise.
17745 (R_RISCV_TLS_DTPREL64): Likewise.
17746 (R_RISCV_TLS_TPREL32): Likewise.
17747 (R_RISCV_TLS_TPREL64): Likewise.
17748 * Makerules (make-link-multidir): Make directories before linking into
17750 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
17752 (VDSO_HASH_LINUX_4_15): Likewise.
17753 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
17754 in subdirectories of lib.
17755 * nptl/Makefile (/librt.so): Always depend on
17756 "$(shared-thread-library)".
17758 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17760 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
17761 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
17762 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
17764 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
17765 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
17767 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
17768 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
17769 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
17770 * sysdeps/gnu/glob-lstat-compat.c: New file.
17771 * sysdeps/gnu/glob64-lstat-compat.c: New file.
17772 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
17774 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17776 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
17777 Reserve 16 chars to reloc_addr before calling _itoa_word.
17779 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17782 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
17783 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
17785 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
17786 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
17788 * resource/tst-getrlimit.c: Add copyright header.
17790 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17791 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17793 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17794 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
17795 Define __GI_getrlimit64 as weak alias of __getrlimit64.
17796 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
17798 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17799 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
17800 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
17801 RLIM64_INFINITY): Fix values to match the kernel ones.
17802 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
17803 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
17804 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
17805 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
17806 getrlimit64@@GLIBC_2_27.
17807 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
17809 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
17810 getrlimit, setrlimit, getrlimit64 and setrlimit64.
17811 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
17812 setrlimit, getrlimit64 and setrlimit64.
17814 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17817 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
17818 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
17820 2018-01-04 Joseph Myers <joseph@codesourcery.com>
17822 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
17823 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
17824 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
17826 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17830 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
17831 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
17835 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
17836 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
17837 * sysdeps/alpha/fpu/s_floor.c: Likewise.
17838 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
17840 2018-01-04 Florian Weimer <fweimer@redhat.com>
17843 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17844 Align the stack before calling exit.
17845 * stdlib/tst-makecontext-align.c: New file.
17846 * stdlib/Makefile (tests): Add tst-makecontext-align.
17848 2018-01-04 Florian Weimer <fweimer@redhat.com>
17850 Add support for calling dlvsym from libc.so.
17851 * include/dlfcn.h (__libc_dlvsym): Declare.
17852 * elf/Makefile (tests-static-internal): Add
17853 tst-libc_dlvsym-static.
17854 (tests-internal): Add tst-libc_dlvsym.
17855 (modules-names): Add tst-libc_dlvsym-dso.
17856 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
17857 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
17858 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
17859 object tst-libc_dlvsym-dso.so needs to be built before running
17861 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
17862 * elf/Versions: Export __libc_dlvsym.
17863 * elf/dl-libc.c (struct do_dlvsym_args): New.
17864 (do_dlvsym, __libc_dlvsym): New functions.
17865 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
17866 (_dl_open_hook2): New variable.
17867 (__libc_register_dl_open_hook): Set it.
17868 * elf/tst-libc_dlvsym-dso.c: New file.
17869 * elf/tst-libc_dlvsym-static.c: Likewise.
17870 * elf/tst-libc_dlvsym.c: Likewise.
17871 * elf/tst-libc_dlvsym.h: Likewise.
17873 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17875 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
17876 include <sys/mount.h>.
17878 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
17880 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
17881 Add __NO_MATH_ERRNO__ check.
17883 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17885 * sysdeps/mips/mips32/libm-test-ulps: Update.
17886 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17888 2018-01-02 Florian Weimer <fweimer@redhat.com>
17890 * misc/tst-pselect.c: Add copyright header.
17892 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17894 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
17896 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
17898 (settrlimit): Rename into setrlimit.
17899 (__sttrlimit): Rename into __setrlimit.
17901 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
17902 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
17903 never defined in that case.
17905 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17907 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
17909 * sysdeps/arm/libm-test-ulps: Update.
17911 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
17912 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
17914 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17916 * NEWS: Add cosf and sincosf to list of optimized functions.
17918 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17921 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
17922 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
17923 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
17924 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
17926 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
17929 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
17931 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
17932 making a copy of it.
17934 2018-01-01 Joseph Myers <joseph@codesourcery.com>
17936 * manual/texinfo.tex: Update to version 2017-12-26.21 with
17937 trailing whitespace removed.
17938 * scripts/config.guess: Update to version 2018-01-01.
17939 * scripts/config.sub: Update to version 2018-01-01.
17940 * scripts/move-if-change: Update from gnulib.
17942 * NEWS: Update copyright dates.
17943 * catgets/gencat.c (print_version): Likewise.
17944 * csu/version.c (banner): Likewise.
17945 * debug/catchsegv.sh: Likewise.
17946 * debug/pcprofiledump.c (print_version): Likewise.
17947 * debug/xtrace.sh (do_version): Likewise.
17948 * elf/ldconfig.c (print_version): Likewise.
17949 * elf/ldd.bash.in: Likewise.
17950 * elf/pldd.c (print_version): Likewise.
17951 * elf/sotruss.sh: Likewise.
17952 * elf/sprof.c (print_version): Likewise.
17953 * iconv/iconv_prog.c (print_version): Likewise.
17954 * iconv/iconvconfig.c (print_version): Likewise.
17955 * locale/programs/locale.c (print_version): Likewise.
17956 * locale/programs/localedef.c (print_version): Likewise.
17957 * login/programs/pt_chown.c (print_version): Likewise.
17958 * malloc/memusage.sh (do_version): Likewise.
17959 * malloc/memusagestat.c (print_version): Likewise.
17960 * malloc/mtrace.pl: Likewise.
17961 * manual/libc.texinfo: Likewise.
17962 * nptl/version.c (banner): Likewise.
17963 * nscd/nscd.c (print_version): Likewise.
17964 * nss/getent.c (print_version): Likewise.
17965 * nss/makedb.c (print_version): Likewise.
17966 * posix/getconf.c (main): Likewise.
17967 * scripts/test-installation.pl: Likewise.
17968 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17970 * All files with FSF copyright notices: Update copyright dates
17971 using scripts/update-copyrights.
17972 * locale/programs/charmap-kw.h: Regenerated.
17973 * locale/programs/locfile-kw.h: Likewise.
17975 2017-12-31 Zack Weinberg <zackw@panix.com>
17977 * libio/bits/libio-ldbl.h: Correct check for improper
17978 inclusion. Add own multiple include guard.
17980 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
17981 Dmitry V. Levin <ldv@altlinux.org>
17985 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
17986 string token expansion. Check for NULL pointer or empty string possibly
17987 returned by expand_dynamic_string_token.
17988 (decompose_rpath): Check for empty path after dynamic string
17991 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
17994 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
17996 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
17997 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
17998 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
17999 and PTRACE_SYSCALL.
18000 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
18001 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18002 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18003 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18004 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18005 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18007 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
18008 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18009 __ptrace_peeksiginfo_flags, ptrace): Move to ...
18010 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
18011 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18012 bits/ptrace-shared.h.
18013 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
18014 <bits/ptrace-shared.h>.
18015 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18016 __ptrace_peeksiginfo_flags, ptrace): Remove.
18017 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18018 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18019 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18020 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18021 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18023 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18026 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
18027 end of the loop. Improve comments.
18029 2017-12-29 Zack Weinberg <zackw@panix.com>
18032 * manual/errno.texi (Checking for Errors): Explicitly say that errno
18033 might be set on success.
18035 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18038 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
18039 is unchanged on success.
18041 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
18043 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
18045 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
18046 expand_dynamic_string_token): Likewise.
18047 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
18050 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
18053 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
18054 is set and name contains ':', and all code depending on these checks.
18056 2017-12-24 Zack Weinberg <zackw@panix.com>
18058 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
18059 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
18061 * libio/libio.h: Rename the original version of this file to
18062 libio/bits/libio.h. Error out if not included by stdio.h or the
18064 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
18065 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
18066 if not included by bits/libio.h or the stub _G_config.h.
18067 * sysdeps/unix/sysv/linux/_G_config.h: Move to
18068 sysdeps/unix/sysv/linux/bits. Error out if not included by
18069 bits/libio.h or the stub _G_config.h.
18070 * libio/stdio.h: Include bits/libio.h, not libio.h.
18071 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
18072 well as libio.h and _G_config.h.
18074 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
18075 * libio/strfile.h, stdio-common/vfscanf.c
18076 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
18077 Include stdio.h, not _G_config.h nor libio.h.
18078 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
18079 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
18081 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
18083 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
18086 * stdlib/getrandom.c (getrandom): Fix comment.
18087 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
18089 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
18092 * manual/arith.texi (strtoul): Fix a typo.
18095 * manual/arith.texi (finite): Fix the description of the return
18098 2017-12-22 Eric Blake <ebb9@byu.net>
18100 Avoid gcc warnings on cygwin
18101 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
18102 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
18103 Avoid unused variable.
18105 2017-12-22 Florian Weimer <fweimer@redhat.com>
18107 * io/Makefile (routines): Add copy_file_range.
18108 (tests): Add tst-copy_file_range.
18109 (tests-static, tests-internal): Add tst-copy_file_range-compat.
18110 * io/Versions (GLIBC_2.27): Export copy_file_range.
18111 * io/copy_file_range-compat.c: New file.
18112 * io/copy_file_range.c: Likewise.
18113 * io/tst-copy_file_range-compat.c: Likewise.
18114 * io/tst-copy_file_range.c: Likewise.
18115 * manual/llio.texi (Copying File Data): New section.
18116 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
18117 * support/Makefile (libsupport-routines): Add support-xfstat,
18118 xftruncate, xlseek.
18119 * support/support-xfstat.c: New file.
18120 * support/xftruncate.c: Likewise.
18121 * support/xlseek.c: Likewise.
18122 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
18123 * sysdeps/unix/sysv/linux/**.abilist: Update.
18124 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
18126 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18128 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18129 disable-multi-arch variant to aarch64-linux-gnu.
18131 2017-12-20 Joseph Myers <joseph@codesourcery.com>
18133 * manual/texinfo.tex: Update to version 2017-12-18.20 with
18134 trailing whitespace removed.
18135 * scripts/config.guess: Update to version 2017-12-17.
18136 * scripts/config.sub: Update to version 2017-11-23.
18137 * scripts/install-sh: Update to version 2017-09-23.17.
18138 * scripts/move-if-change: Update to version 2017-09-13 06:45.
18140 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18142 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
18143 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18144 * sysdeps/tile/_mcount.S (__mcount): Likewise.
18145 * sysdeps/tile/crti.S (_init, _fini): Likewise.
18146 * sysdeps/tile/crtn.S: Likewise.
18147 * sysdeps/tile/dl-start.S (_start): Likewise.
18148 * sysdeps/tile/dl-trampoline.S: Likewise.
18149 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
18150 * sysdeps/tile/start.S (_start): Likewise.
18151 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
18152 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
18153 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
18154 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
18155 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
18156 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
18157 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
18159 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
18161 * sysdeps/tile/preconfigure: Remove tilegx folder.
18162 * sysdeps/tile/tilegx/Implies: Move definitions to ...
18163 * sysdeps/tile/Implies: ... here.
18164 * sysdeps/tile/tilegx/Makefile: Move rules to ...
18165 * sysdeps/tile/Makefile: ... here.
18166 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
18167 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
18168 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
18169 * sysdeps/tile/bits/wordsize.h: ... here.
18170 * sysdeps/tile/tilegx/*: Move to ...
18171 * sysdeps/tile/*: ... here.
18172 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
18173 * sysdeps/tile/tilegx32/Implies: ... here.
18174 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
18175 * sysdeps/tile/tilegx64/Implies: ... here.
18176 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
18178 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18179 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
18180 * sysdeps/unix/sysv/linux/tile/*: ... here.
18181 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
18182 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
18183 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
18184 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
18186 * README: Remove tilepro-*-linux-gnu from supported architecture.
18187 * scripts/build-many-glibcs.py: Likewise.
18188 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18189 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
18190 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
18191 elf_machine_matches_host, elf_machine_dynamic,
18192 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
18193 howto, elf_machine_rela): Likewise.
18194 * sysdeps/tile/dl-start.S (_start): Likewise.
18195 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
18196 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
18197 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
18198 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
18199 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
18200 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18202 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
18203 * sysdeps/tile/preconfigure: Likewise.
18204 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
18205 POINTER_CHK_GUARD): Likewise.
18206 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
18207 * sysdeps/tile/start.S (_start): Likewise.
18208 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
18210 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
18211 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
18213 * sysdeps/unix/sysv/linux/tile/bits/environments.h
18214 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
18215 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
18217 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
18218 * sysdeps/tile/tilepro/Implies: Remove file.
18219 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
18220 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
18221 * sysdeps/tile/tilepro/memchr.c: Likewise.
18222 * sysdeps/tile/tilepro/memcpy.S: Likewise.
18223 * sysdeps/tile/tilepro/memset.c: Likewise.
18224 * sysdeps/tile/tilepro/memusage.h: Likewise.
18225 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
18226 * sysdeps/tile/tilepro/strchr.c: Likewise.
18227 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
18228 * sysdeps/tile/tilepro/strlen.c: Likewise.
18229 * sysdeps/tile/tilepro/strrchr.c: Likewise.
18230 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
18231 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
18232 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
18233 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
18234 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
18235 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18237 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
18238 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18239 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
18240 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
18241 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18242 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
18243 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
18244 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
18245 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
18246 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
18247 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
18248 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
18249 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
18250 tilepro mention in comment.
18252 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
18253 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
18254 * nptl/pthread_join_common.c: New file: common function used on
18255 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
18256 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
18257 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
18258 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18259 (cleanup): Move definition to pthread_join_common.c.
18260 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
18261 Remove superflous checks.
18262 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
18265 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18267 * sysdeps/aarch64/libm-test-ulps: Update.
18269 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18271 * sysdeps/aarch64/memset.S (MEMSET): Define.
18273 2017-12-20 Florian Weimer <fweimer@redhat.com>
18276 nptl: Provide full implementation of pthread_self in libc.so.
18277 * nptl/Makefile (routines): Add pthread_self.
18278 (libpthread-routines): Replace pthread_self with
18279 compat-pthread_self.
18280 * nptl/forward.c (pthread_self): Remove.
18281 * nptl/nptl-init.c (pthread_functions): Do not initialize
18283 * nptl/pthread_self.c (pthread_self): Remove weak alias.
18284 * nptl/compat-pthread_self.c: New file.
18285 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
18286 Remove ptr_pthread_self.
18288 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
18290 * posix/regcomp.c: Fix spelling in comments.
18291 * posix/regex.h: Likewise.
18292 * posix/regex_internal.c: Likewise.
18293 * posix/regexec.c: Likewise.
18295 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18298 * math/Makefile [C++] (tests): Add test for iseqsig.
18299 * math/math.h [C++] (iseqsig): New implementation, which does
18300 not rely on __MATH_TG/__builtin_types_compatible_p.
18301 * math/test-math-iseqsig.cc: New file.
18302 * sysdeps/powerpc/powerpc64le/Makefile
18303 (CFLAGS-test-math-iseqsig.cc): New variable.
18305 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
18307 * elf/dl-load.c (is_trusted_path): Remove.
18308 (fillin_rpath): Remove check_trusted argument and its use,
18309 all callers changed.
18311 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18314 * Makeconfig (link-pie-before-libc): Replace -pie with
18315 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
18316 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
18317 (tst-dlopen-aout-no-pie): New.
18318 (LDFLAGS-tst-prelink): Removed.
18319 (tst-prelink-no-pie): New.
18320 (LDFLAGS-tst-main1): Removed.
18321 (tst-main1-no-pie): New.
18322 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
18323 (tst-gmon-no-pie): New.
18325 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18327 * manual/install.texi: Document that --enable-static-pie
18329 * INSTALL: Regenerated.
18331 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
18334 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
18337 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18341 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18343 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18345 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18347 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18348 <errno.h>. Include "eexp.tbl".
18349 (half): New constant.
18351 (__ieee754_exp): Rewrite.
18352 (__slowexp): Remove prototype.
18353 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18354 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18355 * sysdeps/i386/fpu/slowexp.c: Likewise.
18356 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18357 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18358 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18359 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18360 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18361 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18362 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18364 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18365 (CPPFLAGS-slowexp.c): Remove variable.
18366 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18367 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18368 (CFLAGS-slowexp-fma.c): Remove variable.
18369 (CFLAGS-slowexp-fma4.c): Likewise.
18370 (CFLAGS-slowexp-avx.c): Likewise.
18371 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18373 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18374 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18375 * math/Makefile (type-double-routines): Remove slowexp.
18376 * manual/probes.texi (slowexp_p6): Remove.
18377 (slowexp_p32): Likewise.
18379 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18381 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
18384 * lib/glob.c (glob): Do not pass NULL to mempcpy.
18386 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18388 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18390 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18392 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18393 <errno.h>. Include "eexp.tbl".
18394 (half): New constant.
18396 (__ieee754_exp): Rewrite.
18397 (__slowexp): Remove prototype.
18398 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18399 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18400 * sysdeps/i386/fpu/slowexp.c: Likewise.
18401 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18402 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18403 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18404 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18405 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18406 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18407 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18409 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18410 (CPPFLAGS-slowexp.c): Remove variable.
18411 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18412 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18413 (CFLAGS-slowexp-fma.c): Remove variable.
18414 (CFLAGS-slowexp-fma4.c): Likewise.
18415 (CFLAGS-slowexp-avx.c): Likewise.
18416 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18418 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18419 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18420 * math/Makefile (type-double-routines): Remove slowexp.
18421 * manual/probes.texi (slowexp_p6): Remove.
18422 (slowexp_p32): Likewise.
18424 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18425 James Clarke <jrtc27@jrtc27.com>
18428 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
18431 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18434 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
18437 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18440 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18441 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18442 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18443 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18446 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18449 * bits/types/__cancel_jmp_buf_tag.h: New file.
18450 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18451 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18452 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18453 * nptl/Makefile (headers): Add
18454 bits/types/__cancel_jmp_buf_tag.h.
18455 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18456 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18457 * sysdeps/nptl/pthread.h: Include
18458 <bits/types/__cancel_jmp_buf_tag.h>.
18459 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18461 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18463 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18465 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18466 --enable-static-pie variants to x86_64, x32 and i686.
18468 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18471 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
18472 argument for attrubutes. All callers changed.
18473 (__inline_mathop1): Likewise. All callers changed.
18474 (__inline_mathop): Likewise. All callers changed.
18475 [__USE_MISC] (scalbn): Use __inline_forward instead of
18476 __inline_forward_c.
18477 [__USE_ISOC99] (scalbln): Likewise.
18478 [__USE_ISOC99] (nearbyint): Likewise.
18479 [__USE_ISOC99] (lrint): Likewise.
18480 [__USE_MISC] (scalbnf): Likewise.
18481 [__USE_ISOC99] (scalblnf): Likewise.
18482 [__USE_ISOC99] (nearbyintf): Likewise.
18483 [__USE_ISOC99] (lrintf): Likewise.
18484 [__USE_MISC] (scalbnl): Likewise.
18485 [__USE_ISOC99] (scalblnl): Likewise.
18486 [__USE_ISOC99] (nearbyintl): Likewise.
18487 [__USE_ISOC99] (lrintl): Likewise.
18488 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
18489 __inline_mathop and __m81_defun changed.
18491 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
18492 CPU or FPU for ARM hard-float configurations.
18494 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18496 * nptl/tst-attr3.c: Include <libc-diag.h>.
18497 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
18499 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
18501 * string/tester.c (test_strncat): Also disable -Warray-bounds
18502 warnings for two tests.
18504 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18507 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
18508 $(cc-pie-default) == yes.
18509 * config.make.in (cc-pie-default): New.
18510 * configure.ac (libc_cv_pie_default): Renamed to ...
18511 (libc_cv_cc_pie_default): This.
18512 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
18513 * configure: Regenerated.
18515 2017-12-18 Florian Weimer <fweimer@redhat.com>
18518 ld.so: Harden dl-libc/libdl hooks.
18519 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
18520 (rtld_active): New function.
18521 * dlfcn/dladdr.c (__dladdr): Call it.
18522 * dlfcn/dladdr1.c (__dladdr1): Likewise.
18523 * dlfcn/dlclose.c (__dlcose): Likewise.
18524 * dlfcn/dlerror.c (__dlerror): Likewise.
18525 * dlfcn/dlinfo.c (__dlinfo): Likewise.
18526 * dlfcn/dlmopen.c (__dlmopen): Likewise.
18527 * dlfcn/dlopen.c (__dlopen): Likewise.
18528 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18529 * dlfcn/dlsym.c (__dlsym): Likewise.
18530 * dlfcn/dlvsym.c (__dlvsym): Likewise.
18531 * libio/vtables.c (_IO_vtable_check): Likewise.
18532 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
18533 (__libc_dlclose): Likewise.
18534 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
18537 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18540 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
18541 buffers for readlink input and output.
18543 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
18546 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
18547 inhibit_stack_protector.
18550 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
18551 inhibit_stack_protector.
18553 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
18556 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
18557 code and invocation.
18559 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18561 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
18563 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
18566 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
18568 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18570 * sysdeps/s390/fpu/libm-test-ulps: Update.
18572 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18576 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18578 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
18579 constants to s_sincosf.h file.
18580 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18581 * sysdeps/ieee754/flt-32/s_sincosf.c: New
18583 * sysdeps/ieee754/flt-32/s_sincosf.h:
18586 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18589 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
18592 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
18595 * INSTALL: Regenerated.
18596 * Makeconfig (real-static-start-installed-name): New.
18597 (pic-default): Updated for --enable-static-pie.
18598 (pie-default): New for --enable-static-pie.
18599 (default-pie-ldflag): Likewise.
18600 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
18601 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
18602 Replace $(static-start-installed-name) with
18603 $(real-static-start-installed-name).
18604 (+prectorT): Updated for --enable-static-pie.
18605 (+postctorT): Likewise.
18606 (CFLAGS-.o): Add $(pie-default).
18607 (CFLAGS-.op): Likewise.
18608 * NEWS: Mention --enable-static-pie.
18609 * config.h.in (ENABLE_STATIC_PIE): New.
18610 * configure.ac (--enable-static-pie): New configure option.
18611 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
18612 (have-static-pie): Likewise.
18613 Enable static PIE if linker supports --no-dynamic-linker.
18614 (ENABLE_STATIC_PIE): New AC_DEFINE.
18615 (enable-static-pie): New LIBC_CONFIG_VAR.
18616 * configure: Regenerated.
18617 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
18618 gr$(start-installed-name) for --enable-static-pie.
18619 (extra-objs): Likewise.
18620 (install-lib): Likewise.
18621 (extra-objs): Add static-reloc.o and static-reloc.os
18622 ($(objpfx)$(start-installed-name)): Also depend on
18623 $(objpfx)static-reloc.o.
18624 ($(objpfx)r$(start-installed-name)): New.
18625 ($(objpfx)g$(start-installed-name)): Also depend on
18626 $(objpfx)static-reloc.os.
18627 ($(objpfx)gr$(start-installed-name)): New.
18628 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
18630 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
18632 * csu/static-reloc.c: New file.
18633 * elf/Makefile (routines): Add dl-reloc-static-pie.
18634 (elide-routines.os): Likewise.
18635 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
18636 (tst-tls1-static-non-pie-no-pie): New.
18637 * elf/dl-reloc-static-pie.c: New file.
18638 * elf/dl-support.c (_dl_get_dl_main_map): New function.
18639 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
18640 STATIC_PIE_BOOTSTRAP.
18641 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18642 * gmon/Makefile (tests): Add tst-gmon-static-pie.
18643 (tests-static): Likewise.
18644 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
18645 (tst-gmon-static-no-pie): New.
18646 (CFLAGS-tst-gmon-static-pie.c): Likewise.
18647 (CRT-tst-gmon-static-pie): Likewise.
18648 (tst-gmon-static-pie-ENV): Likewise.
18649 (tests-special): Likewise.
18650 ($(objpfx)tst-gmon-static-pie.out): Likewise.
18651 (clean-tst-gmon-static-pie-data): Likewise.
18652 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
18653 * gmon/tst-gmon-static-pie.c: New file.
18654 * manual/install.texi: Document --enable-static-pie.
18655 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
18656 (_dl_get_dl_main_map): Likewise.
18657 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
18658 * sysdeps/x86_64/configure.ac: Likewise.
18659 * sysdeps/i386/configure: Regenerated.
18660 * sysdeps/x86_64/configure: Likewise.
18661 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
18662 (ASFLAGS-.op): Likewise.
18664 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18666 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
18667 * posix/tst-mmap-offset.c (fname): Use /tmp.
18668 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
18670 2017-12-15 Steve Ellcey <sellcey@cavium.com>
18672 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
18674 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
18676 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
18679 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18681 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18682 --with-float=hard for arm-linux-gnueabihf configurations.
18685 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
18686 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
18687 ($(mo-installed)): Use $(objpfx)%.mo.
18688 (realclean): Remove rule.
18690 * po/Makefile (linguas): Remove rule and dependencies.
18691 (linguas.mo): Likewise.
18692 (.PHONY): Do not depend on linguas and linguas.mo.
18693 (podir): Remove variable.
18694 (pofiles): Likewise.
18695 [$(pofiles)] (%.po): Remove rule.
18697 * sysdeps/sparc/sparc32/Makefile
18698 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
18699 start-of-line whitespace in argument of echo.
18700 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
18701 with whitespace. Generate __wrap_.udiv alias.
18702 * sysdeps/sparc/sparc32/rem.S: Regenerated.
18703 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18704 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18705 * sysdeps/sparc/sparc32/urem.S: Likewise.
18707 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18709 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
18710 for aligned inputs.
18712 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18714 * benchtests/bench-strcmp.c: Print output in JSON format.
18716 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
18718 2017-12-14 Florian Weimer <fweimer@redhat.com>
18722 * elf/dl-load.c (_dl_init_paths): Compute number of components in
18723 the expanded path string.
18725 2017-12-14 Florian Weimer <fweimer@redhat.com>
18729 * elf/dl-load.c (system_dirs): Update comment.
18730 (nsystem_dirs_len): Use array_length.
18731 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
18733 2017-12-14 Florian Weimer <fweimer@redhat.com>
18735 Simplify compiling most of support/ outside of glibc.
18736 * support/check_addrinfo.c: Include <string.h>.
18737 * support/check_dns_packet.c: Likewise.
18738 * support/check_hostent.c: Likewise.
18739 * support/support_can_chroot.c: Include <support/xunistd.h>.
18740 * support/support_format_addrinfo.c: Include <stdlib.h>
18741 * support/support_format_dns_packet.c: Include <stdbool.h>.
18742 * support/support_format_hostent.c: Include <stdlib.h>.
18743 * support/support_format_netent.c: Likewise.
18744 * support/support_write_string.c: Include <support/xunistd.h>.
18745 * support/xdlfcn.c: Include <stddef.h>.
18747 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
18749 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
18751 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18752 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18754 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18755 (sysdeps_routines): Add memset-niagara7.
18756 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
18758 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
18760 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
18761 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18762 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
18763 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
18764 Add niagara7 option.
18765 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
18768 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18769 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
18770 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
18772 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
18774 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
18775 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
18776 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18777 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
18778 and __memmove_niagara7.
18779 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
18780 Add niagara7 option.
18781 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
18782 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
18783 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
18784 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
18785 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
18787 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
18789 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
18790 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
18791 * sysdeps/sparc/sparc64/memmove.S: Likewise.
18792 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
18794 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
18795 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
18796 _dl_sparc_cap_flags array.
18797 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
18799 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18801 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
18802 time whenever possible.
18804 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18806 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
18807 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
18809 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18811 * soft-fp/fmadf4.c: Move to ....
18812 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
18813 * soft-fp/fmasf4.c: Move to ....
18814 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
18815 * soft-fp/fmatf4.c: Move to ....
18816 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
18817 * sysdeps/ieee754/soft-fp/Makefile: New file.
18818 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
18819 * sysdeps/arm/preconfigure: Regenerated.
18820 * sysdeps/arm/nofpu/Implies: New file.
18821 * sysdeps/arm/s_fma.c: Remove file.
18822 * sysdeps/arm/s_fmaf.c: Likewise.
18823 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
18824 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
18825 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
18826 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
18827 * sysdeps/microblaze/s_fma.c: Remove file.
18828 * sysdeps/microblaze/s_fmaf.c: Likewise.
18829 * sysdeps/mips/mips32/nofpu/Implies: New file.
18830 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
18831 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
18832 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
18833 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
18834 * sysdeps/mips/ieee754/s_fma.c: Remove file.
18835 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
18836 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
18838 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
18839 * sysdeps/nios2/s_fma.c: Remove file.
18840 * sysdeps/nios2/s_fmaf.c: Likewise.
18841 * sysdeps/sh/nofpu/Implies: New file.
18842 * sysdeps/sh/s_fma.c: Remove file.
18843 * sysdeps/sh/s_fmaf.c: Likewise.
18844 * sysdeps/tile/Implies: Add ieee754/soft-fp.
18845 * sysdeps/tile/s_fma.c: Remove file.
18846 * sysdeps/tile/s_fmaf.c: Likewise.
18848 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
18850 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18851 Add s_cosf-sse2 and s_cosf-fma.
18852 (CFLAGS-s_cosf-fma.c): New.
18853 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
18854 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
18855 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
18857 2017-12-12 Steve Ellcey <sellcey@cavium.com>
18859 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
18861 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18863 * libio/Makefile (tests): Add tst-bz22415.
18864 (tst-bz22415-ENV): New rule.
18865 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
18866 (tests-special): Add tst-bz22415-mem.out.
18867 ($(objpfx)tst-bz22415-mem.out): New rule.
18868 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
18869 in case of a successful seek operation.
18870 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18871 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
18872 buffer is required.
18873 * libio/tst-bz22415.c: New test.
18875 * sysdeps/ia64/fpu/libm-test-ulps: Update.
18877 2017-12-12 James Clarke <jrtc27@jrtc27.com>
18879 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
18880 __IPC_64 to 0 to avoid IPC_64 being set.
18882 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18885 * math/bits/mathcalls.h (nextafter): Remove const.
18886 (nexttoward): Likewise.
18888 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18890 * configure.ac (--with-fp): Remove configure option.
18891 (with_fp_cond): New variable.
18892 (libc_cv_with_fp): New configure test. Use this variable instead
18894 * configure: Regenerated.
18895 * config.make.in (with-fp): Use @libc_cv_with_fp@.
18896 * manual/install.texi (Configuring and compiling): Remove
18898 * INSTALL: Regenerated.
18899 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
18900 * sysdeps/mips/preconfigure (with_fp_cond): Define.
18901 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
18902 * sysdeps/sh/preconfigure (with_fp_cond): Define.
18903 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
18904 use --without-fp to configure glibc.
18906 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
18908 * manual/locale.texi (nl_langinfo): Fix a typo.
18910 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
18913 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
18915 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18917 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
18918 (CFLAGS-argp-parse.c): Likewise.
18919 (CFLAGS-argp-fmtstream.c): Likewise.
18920 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
18921 (CPPFLAGS-sha512-crypt.c): Likewise.
18922 (CPPFLAGS-md5-crypt.c): Likewise.
18923 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
18924 (CFLAGS-stack_chk_fail_local.c): Likewise.
18925 (CFLAGS-backtrace.c): Likewise.
18926 (CFLAGS-sprintf_chk.c): Likewise.
18927 (CFLAGS-snprintf_chk.c): Likewise.
18928 (CFLAGS-vsprintf_chk.c): Likewise.
18929 (CFLAGS-vsnprintf_chk.c): Likewise.
18930 (CFLAGS-asprintf_chk.c): Likewise.
18931 (CFLAGS-vasprintf_chk.c): Likewise.
18932 (CFLAGS-obprintf_chk.c): Likewise.
18933 (CFLAGS-dprintf_chk.c): Likewise.
18934 (CFLAGS-vdprintf_chk.c): Likewise.
18935 (CFLAGS-printf_chk.c): Likewise.
18936 (CFLAGS-fprintf_chk.c): Likewise.
18937 (CFLAGS-vprintf_chk.c): Likewise.
18938 (CFLAGS-vfprintf_chk.c): Likewise.
18939 (CFLAGS-gets_chk.c): Likewise.
18940 (CFLAGS-fgets_chk.c): Likewise.
18941 (CFLAGS-fgets_u_chk.c): Likewise.
18942 (CFLAGS-fread_chk.c): Likewise.
18943 (CFLAGS-fread_u_chk.c): Likewise.
18944 (CFLAGS-swprintf_chk.c): Likewise.
18945 (CFLAGS-vswprintf_chk.c): Likewise.
18946 (CFLAGS-wprintf_chk.c): Likewise.
18947 (CFLAGS-fwprintf_chk.c): Likewise.
18948 (CFLAGS-vwprintf_chk.c): Likewise.
18949 (CFLAGS-vfwprintf_chk.c): Likewise.
18950 (CFLAGS-fgetws_chk.c): Likewise.
18951 (CFLAGS-fgetws_u_chk.c): Likewise.
18952 (CFLAGS-read_chk.c): Likewise.
18953 (CFLAGS-pread_chk.c): Likewise.
18954 (CFLAGS-pread64_chk.c): Likewise.
18955 (CFLAGS-recv_chk.c): Likewise.
18956 (CFLAGS-recvfrom_chk.c): Likewise.
18957 (CFLAGS-tst-longjmp_chk.c): Likewise.
18958 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
18959 (CFLAGS-tst-longjmp_chk2.c): Likewise.
18960 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
18961 (CFLAGS-tst-longjmp_chk3.c): Likewise.
18962 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18963 (CFLAGS-tst-chk1.c): Likewise.
18964 (CFLAGS-tst-chk2.c): Likewise.
18965 (CFLAGS-tst-chk3.c): Likewise.
18966 (CFLAGS-tst-chk4.cc): Likewise.
18967 (CFLAGS-tst-chk5.cc): Likewise.
18968 (CFLAGS-tst-chk6.cc): Likewise.
18969 (CFLAGS-tst-lfschk1.c): Likewise.
18970 (CFLAGS-tst-lfschk2.c): Likewise.
18971 (CFLAGS-tst-lfschk3.c): Likewise.
18972 (CFLAGS-tst-lfschk4.cc): Likewise.
18973 (CFLAGS-tst-lfschk5.cc): Likewise.
18974 (CFLAGS-tst-lfschk6.cc): Likewise.
18975 (CFLAGS-tst-ssp-1.c): Likewise.
18976 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
18977 (CFLAGS-scandir64.c): Likewise.
18978 (CFLAGS-scandir-tail.c): Likewise.
18979 (CFLAGS-scandir64-tail.c): Likewise.
18980 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
18981 (CFLAGS-dl-tunables.c): Likewise.
18982 (CFLAGS-dl-runtime.c): Likewise.
18983 (CFLAGS-dl-lookup.c): Likewise.
18984 (CFLAGS-dl-iterate-phdr.c): Likewise.
18985 (CFLAGS-vismain.c): Likewise.
18986 (CFLAGS-tst-linkall-static.c): Likewise.
18987 (CFLAGS-tst-linkall-static.c): Likewise.
18988 (CPPFLAGS-dl-load.c): Likewise.
18989 (CFLAGS-ldconfig.c): Likewise.
18990 (CFLAGS-dl-cache.c): Likewise.
18991 (CFLAGS-cache.c): Likewise.
18992 (CFLAGS-rtld.c): Likewise.
18993 (CFLAGS-multiload.c): Likewise.
18994 (CFLAGS-filtmod1.c): Likewise.
18995 (CFLAGS-tst-align.c): Likewise.
18996 (CFLAGS-tst-align2.c): Likewise.
18997 (CFLAGS-tst-alignmod.c): Likewise.
18998 (CFLAGS-tst-alignmod2.c): Likewise.
18999 (CPPFLAGS-tst-execstack.c): Likewise.
19000 (CFLAGS-tst-ptrguard1-static.c): Likewise.
19001 (CFLAGS-tst-latepthreadmod.c): Likewise.
19002 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
19003 (CFLAGS-getgrnam_r.c): Likewise.
19004 (CFLAGS-getgrent_r.c): Likewise.
19005 (CFLAGS-getgrent.c): Likewise.
19006 (CFLAGS-fgetgrent.c): Likewise.
19007 (CFLAGS-fgetgrent_r.c): Likewise.
19008 (CFLAGS-putgrent.c): Likewise.
19009 (CFLAGS-initgroups.c): Likewise.
19010 (CFLAGS-getgrgid.c): Likewise.
19011 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
19012 (CFLAGS-getsgent.c): Likewise.
19013 (CFLAGS-fgetsgent.c): Likewise.
19014 (CFLAGS-fgetsgent_r.c): Likewise.
19015 (CFLAGS-putsgent.c): Likewise.
19016 (CFLAGS-getsgnam.c): Likewise.
19017 (CFLAGS-getsgnam_r.c): Likewise.
19018 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
19019 (CFLAGS-iconv_charmap.c): Likewise.
19020 (CFLAGS-dummy-repertoire.c): Likewise.
19021 (CFLAGS-charmap.c): Likewise.
19022 (CFLAGS-linereader.c): Likewise.
19023 (CFLAGS-simple-hash.c): Likewise.
19024 (CFLAGS-gconv_conf.c): Likewise.
19025 (CFLAGS-iconvconfig.c): Likewise.
19026 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19027 (CFLAGS-gethstbyad.c): Likewise.
19028 (CFLAGS-gethstbynm_r.c): Likewise.
19029 (CFLAGS-gethstbynm.c): Likewise.
19030 (CFLAGS-gethstbynm2_r.c): Likewise.
19031 (CFLAGS-gethstbynm2.c): Likewise.
19032 (CFLAGS-gethstent_r.c): Likewise.
19033 (CFLAGS-gethstent.c): Likewise.
19034 (CFLAGS-rcmd.c): Likewise.
19035 (CFLAGS-getnetbynm_r.c): Likewise.
19036 (CFLAGS-getnetbynm.c): Likewise.
19037 (CFLAGS-getnetbyad_r.c): Likewise.
19038 (CFLAGS-getnetbyad.c): Likewise.
19039 (CFLAGS-getnetent_r.c): Likewise.
19040 (CFLAGS-getnetent.c): Likewise.
19041 (CFLAGS-getaliasent_r.c): Likewise.
19042 (CFLAGS-getaliasent.c): Likewise.
19043 (CFLAGS-getrpcent_r.c): Likewise.
19044 (CFLAGS-getrpcent.c): Likewise.
19045 (CFLAGS-getservent_r.c): Likewise.
19046 (CFLAGS-getservent.c): Likewise.
19047 (CFLAGS-getprtent_r.c): Likewise.
19048 (CFLAGS-getprtent.c): Likewise.
19049 (CFLAGS-either_ntoh.c): Likewise.
19050 (CFLAGS-either_hton.c): Likewise.
19051 (CFLAGS-getnetgrent.c): Likewise.
19052 (CFLAGS-getnetgrent_r.c): Likewise.
19053 (CFLAGS-tst-checks-posix.c): Likewise.
19054 (CFLAGS-tst-sockaddr.c): Likewise.
19055 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
19056 (CFLAGS-tst-translit.c): Likewise.
19057 (CFLAGS-tst-gettext2.c): Likewise.
19058 (CFLAGS-tst-codeset.c): Likewise.
19059 (CFLAGS-tst-gettext3.c): Likewise.
19060 (CFLAGS-tst-gettext4.c): Likewise.
19061 (CFLAGS-tst-gettext5.c): Likewise.
19062 (CFLAGS-tst-gettext6.c): Likewise.
19063 * io/Makefile (CFLAGS-open.c): Likewise.
19064 (CFLAGS-open64.c): Likewise.
19065 (CFLAGS-creat.c): Likewise.
19066 (CFLAGS-creat64.c): Likewise.
19067 (CFLAGS-fcntl.c): Likewise.
19068 (CFLAGS-poll.c): Likewise.
19069 (CFLAGS-ppoll.c): Likewise.
19070 (CFLAGS-lockf.c): Likewise.
19071 (CFLAGS-statfs.c): Likewise.
19072 (CFLAGS-fstatfs.c): Likewise.
19073 (CFLAGS-statvfs.c): Likewise.
19074 (CFLAGS-fstatvfs.c): Likewise.
19075 (CFLAGS-fts.c): Likewise.
19076 (CFLAGS-fts64.c): Likewise.
19077 (CFLAGS-ftw.c): Likewise.
19078 (CFLAGS-ftw64.c): Likewise.
19079 (CFLAGS-lockf.c): Likewise.
19080 (CFLAGS-posix_fallocate.c): Likewise.
19081 (CFLAGS-posix_fallocate64.c): Likewise.
19082 (CFLAGS-fallocate.c): Likewise.
19083 (CFLAGS-fallocate64.c): Likewise.
19084 (CFLAGS-read.c): Likewise.
19085 (CFLAGS-write.c): Likewise.
19086 (CFLAGS-test-stat.c): Likewise.
19087 (CFLAGS-test-lfs.c): Likewise.
19088 * libio/Makefile (CFLAGS-fileops.c): Likewise.
19089 (CFLAGS-fputc.c): Likewise.
19090 (CFLAGS-fputwc.c): Likewise.
19091 (CFLAGS-freopen64.c): Likewise.
19092 (CFLAGS-freopen.c): Likewise.
19093 (CFLAGS-fseek.c): Likewise.
19094 (CFLAGS-fseeko64.c): Likewise.
19095 (CFLAGS-fseeko.c): Likewise.
19096 (CFLAGS-ftello64.c): Likewise.
19097 (CFLAGS-ftello.c): Likewise.
19098 (CFLAGS-fwide.c): Likewise.
19099 (CFLAGS-genops.c): Likewise.
19100 (CFLAGS-getc.c): Likewise.
19101 (CFLAGS-getchar.c): Likewise.
19102 (CFLAGS-getwc.c): Likewise.
19103 (CFLAGS-getwchar.c): Likewise.
19104 (CFLAGS-iofclose.c): Likewise.
19105 (CFLAGS-iofflush.c): Likewise.
19106 (CFLAGS-iofgetpos64.c): Likewise.
19107 (CFLAGS-iofgetpos.c): Likewise.
19108 (CFLAGS-iofgets.c): Likewise.
19109 (CFLAGS-iofgetws.c): Likewise.
19110 (CFLAGS-iofputs.c): Likewise.
19111 (CFLAGS-iofputws.c): Likewise.
19112 (CFLAGS-iofread.c): Likewise.
19113 (CFLAGS-iofsetpos64.c): Likewise.
19114 (CFLAGS-iofsetpos.c): Likewise.
19115 (CFLAGS-ioftell.c): Likewise.
19116 (CFLAGS-iofwrite.c): Likewise.
19117 (CFLAGS-iogetdelim.c): Likewise.
19118 (CFLAGS-iogetline.c): Likewise.
19119 (CFLAGS-iogets.c): Likewise.
19120 (CFLAGS-iogetwline.c): Likewise.
19121 (CFLAGS-ioputs.c): Likewise.
19122 (CFLAGS-ioseekoff.c): Likewise.
19123 (CFLAGS-ioseekpos.c): Likewise.
19124 (CFLAGS-iosetbuffer.c): Likewise.
19125 (CFLAGS-iosetvbuf.c): Likewise.
19126 (CFLAGS-ioungetc.c): Likewise.
19127 (CFLAGS-ioungetwc.c): Likewise.
19128 (CFLAGS-oldfileops.c): Likewise.
19129 (CFLAGS-oldiofclose.c): Likewise.
19130 (CFLAGS-oldiofgetpos64.c): Likewise.
19131 (CFLAGS-oldiofgetpos.c): Likewise.
19132 (CFLAGS-oldiofsetpos64.c): Likewise.
19133 (CFLAGS-oldiofsetpos.c): Likewise.
19134 (CFLAGS-peekc.c): Likewise.
19135 (CFLAGS-putc.c): Likewise.
19136 (CFLAGS-putchar.c): Likewise.
19137 (CFLAGS-putwc.c): Likewise.
19138 (CFLAGS-putwchar.c): Likewise.
19139 (CFLAGS-rewind.c): Likewise.
19140 (CFLAGS-wfileops.c): Likewise.
19141 (CFLAGS-wgenops.c): Likewise.
19142 (CFLAGS-oldiofopen.c): Likewise.
19143 (CFLAGS-iofopen.c): Likewise.
19144 (CFLAGS-iofopen64.c): Likewise.
19145 (CFLAGS-oldtmpfile.c): Likewise.
19146 (CFLAGS-tst_putwc.c): Likewise.
19147 * locale/Makefile (CFLAGS-md5.c): Likewise.
19148 (CFLAGS-charmap.c): Likewise.
19149 (CFLAGS-locfile.c): Likewise.
19150 (CFLAGS-charmap-dir.c): Likewise.
19151 * login/Makefile (CFLAGS-grantpt.c): Likewise.
19152 (CFLAGS-getpt.c): Likewise.
19153 (CFLAGS-pt_chown.c): Likewise.
19154 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
19155 (CFLAGS-obstack.c): Likewise.
19156 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
19157 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
19158 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
19159 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
19160 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
19161 (CFLAGS-test-tgmath.c): Likewise.
19162 (CFLAGS-test-tgmath2.c): Likewise.
19163 (CFLAGS-test-tgmath-ret.c): Likewise.
19164 (CFLAGS-test-powl.c): Likewise.
19165 (CFLAGS-test-snan.c): Likewise.
19166 (CFLAGS-test-signgam-finite.c): Likewise.
19167 (CFLAGS-test-signgam-finite-c99.c): Likewise.
19168 (CFLAGS-test-signgam-finite-c11.c): Likewise.
19169 (CFLAGS-test-signgam-uchar.c): Likewise.
19170 (CFLAGS-test-signgam-uchar-init.c): Likewise.
19171 (CFLAGS-test-signgam-uchar-static.c): Likewise.
19172 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19173 (CFLAGS-test-signgam-uint.c): Likewise.
19174 (CFLAGS-test-signgam-uint-init.c): Likewise.
19175 (CFLAGS-test-signgam-uint-static.c): Likewise.
19176 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19177 (CFLAGS-test-signgam-ullong.c): Likewise.
19178 (CFLAGS-test-signgam-ullong-init.c): Likewise.
19179 (CFLAGS-test-signgam-ullong-static.c): Likewise.
19180 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19181 (CFLAGS-test-math-cxx11.cc): Likewise.
19182 (CFLAGS-test-math-isinff.cc): Likewise.
19183 (CFLAGS-test-math-iszero.cc): Likewise.
19184 (CFLAGS-test-math-issignaling.cc): Likewise.
19185 (CFLAGS-test-math-iscanonical.cc): Likewise.
19186 (CFLAGS-test-iszero-excess-precision.c): Likewise.
19187 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
19188 (CFLAGS-test-flt-eval-method.c): Likewise.
19189 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
19190 (CFLAGS-test-finite-macros.c): Likewise.
19191 * misc/Makefile (CFLAGS-select.c): Likewise.
19192 (CFLAGS-tsearch.c): Likewise.
19193 (CFLAGS-lsearch.c): Likewise.
19194 (CFLAGS-pselect.c): Likewise.
19195 (CFLAGS-readv.c): Likewise.
19196 (CFLAGS-writev.c): Likewise.
19197 (CFLAGS-preadv.c): Likewise.
19198 (CFLAGS-preadv64.c): Likewise.
19199 (CFLAGS-pwritev.c): Likewise.
19200 (CFLAGS-pwritev64.c): Likewise.
19201 (CFLAGS-preadv2.c): Likewise.
19202 (CFLAGS-preadv64v2.c): Likewise.
19203 (CFLAGS-pwritev2.c): Likewise.
19204 (CFLAGS-pwritev64v2.c): Likewise.
19205 (CFLAGS-usleep.c): Likewise.
19206 (CFLAGS-syslog.c): Likewise.
19207 (CFLAGS-error.c): Likewise.
19208 (CFLAGS-getpass.c): Likewise.
19209 (CFLAGS-mkstemp.c): Likewise.
19210 (CFLAGS-mkstemp64.c): Likewise.
19211 (CFLAGS-getsysstats.c): Likewise.
19212 (CFLAGS-getusershell.c): Likewise.
19213 (CFLAGS-err.c): Likewise.
19214 (CFLAGS-tst-tsearch.c): Likewise.
19215 (CFLAGS-msync.c): Likewise.
19216 (CFLAGS-fdatasync.c): Likewise.
19217 (CFLAGS-fsync.c): Likewise.
19218 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
19219 (CFLAGS-unwind.c): Likewise.
19220 (CFLAGS-unwind-forcedunwind.c): Likewise.
19221 (CFLAGS-pthread_cancel.c): Likewise.
19222 (CFLAGS-pthread_setcancelstate.c): Likewise.
19223 (CFLAGS-pthread_setcanceltype.c): Likewise.
19224 (CFLAGS-cancellation.c): Likewise.
19225 (CFLAGS-libc-cancellation.c): Likewise.
19226 (CFLAGS-pthread_exit.c): Likewise.
19227 (CFLAGS-forward.c): Likewise.
19228 (CFLAGS-pthread_testcancel.c): Likewise.
19229 (CFLAGS-pthread_join.c): Likewise.
19230 (CFLAGS-pthread_timedjoin.c): Likewise.
19231 (CFLAGS-pthread_once.c): Likewise.
19232 (CFLAGS-pthread_cond_wait.c): Likewise.
19233 (CFLAGS-sem_wait.c): Likewise.
19234 (CFLAGS-sem_timedwait.c): Likewise.
19235 (CFLAGS-fcntl.c): Likewise.
19236 (CFLAGS-lockf.c): Likewise.
19237 (CFLAGS-pread.c): Likewise.
19238 (CFLAGS-pread64.c): Likewise.
19239 (CFLAGS-pwrite.c): Likewise.
19240 (CFLAGS-pwrite64.c): Likewise.
19241 (CFLAGS-wait.c): Likewise.
19242 (CFLAGS-waitpid.c): Likewise.
19243 (CFLAGS-sigwait.c): Likewise.
19244 (CFLAGS-msgrcv.c): Likewise.
19245 (CFLAGS-msgsnd.c): Likewise.
19246 (CFLAGS-tcdrain.c): Likewise.
19247 (CFLAGS-open.c): Likewise.
19248 (CFLAGS-open64.c): Likewise.
19249 (CFLAGS-pause.c): Likewise.
19250 (CFLAGS-recv.c): Likewise.
19251 (CFLAGS-send.c): Likewise.
19252 (CFLAGS-accept.c): Likewise.
19253 (CFLAGS-sendto.c): Likewise.
19254 (CFLAGS-connect.c): Likewise.
19255 (CFLAGS-recvfrom.c): Likewise.
19256 (CFLAGS-recvmsg.c): Likewise.
19257 (CFLAGS-sendmsg.c): Likewise.
19258 (CFLAGS-close.c): Likewise.
19259 (CFLAGS-read.c): Likewise.
19260 (CFLAGS-write.c): Likewise.
19261 (CFLAGS-nanosleep.c): Likewise.
19262 (CFLAGS-sigsuspend.c): Likewise.
19263 (CFLAGS-msync.c): Likewise.
19264 (CFLAGS-fdatasync.c): Likewise.
19265 (CFLAGS-fsync.c): Likewise.
19266 (CFLAGS-pt-system.c): Likewise.
19267 (CFLAGS-tst-cleanup2.c): Likewise.
19268 (CFLAGS-tst-cleanupx2.c): Likewise.
19269 (CFLAGS-flockfile.c): Likewise.
19270 (CFLAGS-ftrylockfile.c): Likewise.
19271 (CFLAGS-funlockfile.c): Likewise.
19272 (CFLAGS-tst-initializers1.c): Likewise.
19273 (CFLAGS-tst-initializers1-c89.c): Likewise.
19274 (CFLAGS-tst-initializers1-c99.c): Likewise.
19275 (CFLAGS-tst-initializers1-c11.c): Likewise.
19276 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
19277 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
19278 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19279 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
19280 (CFLAGS-nscd_getgr_r.c): Likewise.
19281 (CFLAGS-nscd_gethst_r.c): Likewise.
19282 (CFLAGS-nscd_getai.c): Likewise.
19283 (CFLAGS-nscd_initgroups.c): Likewise.
19284 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
19285 (CFLAGS-pause.c): Likewise.
19286 (CFLAGS-pread.c): Likewise.
19287 (CFLAGS-pread64.c): Likewise.
19288 (CFLAGS-pwrite.c): Likewise.
19289 (CFLAGS-pwrite64.c): Likewise.
19290 (CFLAGS-sleep.c): Likewise.
19291 (CFLAGS-wait.c): Likewise.
19292 (CFLAGS-waitid.c): Likewise.
19293 (CFLAGS-waitpid.c): Likewise.
19294 (CFLAGS-getopt.c): Likewise.
19295 (CFLAGS-wordexp.c): Likewise.
19296 (CFLAGS-sysconf.c): Likewise.
19297 (CFLAGS-pathconf.c): Likewise.
19298 (CFLAGS-fpathconf.c): Likewise.
19299 (CFLAGS-spawn.c): Likewise.
19300 (CFLAGS-spawnp.c): Likewise.
19301 (CFLAGS-spawni.c): Likewise.
19302 (CFLAGS-glob.c): Likewise.
19303 (CFLAGS-glob64.c): Likewise.
19304 (CFLAGS-getconf.c): Likewise.
19305 (CFLAGS-nanosleep.c): Likewise.
19306 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
19307 (CFLAGS-getpwent.c): Likewise.
19308 (CFLAGS-getpw.c): Likewise.
19309 (CFLAGS-fgetpwent_r.c): Likewise.
19310 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
19311 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
19312 (CFLAGS-mq_timedreceive.c): Likewise.
19313 (CFLAGS-mq_timedsend.c): Likewise.
19314 (CFLAGS-clock_nanosleep.c): Likewise.
19315 (CFLAGS-librt-cancellation.c): Likewise.
19316 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
19317 (CFLAGS-getspent.c): Likewise.
19318 (CFLAGS-fgetspent.c): Likewise.
19319 (CFLAGS-fgetspent_r.c): Likewise.
19320 (CFLAGS-putspent.c): Likewise.
19321 (CFLAGS-getspnam.c): Likewise.
19322 (CFLAGS-getspnam_r.c): Likewise.
19323 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
19324 (CFLAGS-sigsuspend.c): Likewise.
19325 (CFLAGS-sigtimedwait.c): Likewise.
19326 (CFLAGS-sigwait.c): Likewise.
19327 (CFLAGS-sigwaitinfo.c): Likewise.
19328 (CFLAGS-sigreturn.c): Likewise.
19329 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19330 (CFLAGS-vfwprintf.c): Likewise.
19331 (CFLAGS-tmpfile.c): Likewise.
19332 (CFLAGS-tmpfile64.c): Likewise.
19333 (CFLAGS-tempname.c): Likewise.
19334 (CFLAGS-psignal.c): Likewise.
19335 (CFLAGS-vprintf.c): Likewise.
19336 (CFLAGS-cuserid.c): Likewise.
19337 (CFLAGS-errlist.c): Likewise.
19338 (CFLAGS-siglist.c): Likewise.
19339 (CFLAGS-scanf15.c): Likewise.
19340 (CFLAGS-scanf17.c): Likewise.
19341 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
19342 (CFLAGS-msort.c): Likewise.
19343 (CFLAGS-qsort.c): Likewise.
19344 (CFLAGS-system.c): Likewise.
19345 (CFLAGS-fmtmsg.c): Likewise.
19346 (CFLAGS-strfmon.c): Likewise.
19347 (CFLAGS-strfmon_l.c): Likewise.
19348 (CFLAGS-strfromd.c): Likewise.
19349 (CFLAGS-strfromf.c): Likewise.
19350 (CFLAGS-strfroml.c): Likewise.
19351 (CFLAGS-tst-bsearch.c): Likewise.
19352 (CFLAGS-tst-qsort.c): Likewise.
19353 (CFLAGS-tst-makecontext2.c): Likewise.
19354 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
19355 (CFLAGS-xnlm_prot.c): Likewise.
19356 (CFLAGS-xrstat.c): Likewise.
19357 (CFLAGS-xyppasswd.c): Likewise.
19358 (CFLAGS-xklm_prot.c): Likewise.
19359 (CFLAGS-xrex.c): Likewise.
19360 (CFLAGS-xsm_inter.c): Likewise.
19361 (CFLAGS-xmount.c): Likewise.
19362 (CFLAGS-xrusers.c): Likewise.
19363 (CFLAGS-xspray.c): Likewise.
19364 (CFLAGS-xnfs_prot.c): Likewise.
19365 (CFLAGS-xrquota.c): Likewise.
19366 (CFLAGS-xkey_prot.c): Likewise.
19367 (CFLAGS-auth_unix.c): Likewise.
19368 (CFLAGS-key_call.c): Likewise.
19369 (CFLAGS-pmap_rmt.c): Likewise.
19370 (CFLAGS-clnt_perr.c): Likewise.
19371 (CFLAGS-openchild.c): Likewise.
19372 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
19373 (CFLAGS-msgsnd.c): Likewise.
19374 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
19375 * time/Makefile (CFLAGS-tzfile.c): Likewise.
19376 (CFLAGS-tzset.c): Likewise.
19377 (CFLAGS-getdate.c): Likewise.
19378 (CFLAGS-test_time.c): Likewise.
19379 (CPPFLAGS-tst-tzname.c): Likewise.
19380 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
19381 (CFLAGS-zic.c): Likewise.
19382 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
19383 (CFLAGS-wcswidth.c): Likewise.
19384 (CFLAGS-wcstol.c): Likewise.
19385 (CFLAGS-wcstoul.c): Likewise.
19386 (CFLAGS-wcstoll.c): Likewise.
19387 (CFLAGS-wcstoull.c): Likewise.
19388 (CFLAGS-wcstod.c): Likewise.
19389 (CFLAGS-wcstold.c): Likewise.
19390 (CFLAGS-wcstof128.c): Likewise.
19391 (CFLAGS-wcstof.c): Likewise.
19392 (CFLAGS-wcstol_l.c): Likewise.
19393 (CFLAGS-wcstoul_l.c): Likewise.
19394 (CFLAGS-wcstoll_l.c): Likewise.
19395 (CFLAGS-wcstoull_l.c): Likewise.
19396 (CFLAGS-wcstod_l.c): Likewise.
19397 (CFLAGS-wcstold_l.c): Likewise.
19398 (CFLAGS-wcstof128_l.c): Likewise.
19399 (CFLAGS-wcstof_l.c): Likewise.
19400 (CPPFLAGS-tst-wchar-h.c): Likewise.
19401 (CPPFLAGS-wcstold_l.c): Likewise.
19403 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
19405 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
19407 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19408 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19410 * manual/tunables.texi (Hardware Capability Tunables): Document
19411 glibc.tune.cached_memopt.
19412 * sysdeps/powerpc/cpu-features.c: New file.
19413 * sysdeps/powerpc/cpu-features.h: New file.
19414 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
19415 _dl_powerpc_cpu_features.
19416 * sysdeps/powerpc/dl-tunables.list: New file.
19417 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
19418 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19419 (INIT_ARCH): Initialize use_aligned_memopt.
19420 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
19421 IS_IN(rtld))]: Restrict dl_platform_init availability and
19422 initialize CPU features used by tunables.
19423 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
19424 Add memcpy-power8-cached.
19425 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
19426 __memcpy_power8_cached.
19427 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19428 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
19431 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19433 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
19434 (CFLAGS-noinl-tester.c): Likewise.
19435 (CFLAGS-tst-strlen.c): Likewise.
19436 (CFLAGS-stratcliff.c): Likewise.
19437 (CFLAGS-test-ffs.c): Likewise.
19438 (CFLAGS-tst-inlcall.c): Likewise.
19439 (CFLAGS-tst-xbzero-opt.c): Likewise.
19440 (CFLAGS-memcpy.c): Likewise.
19441 (CFLAGS-wordcopy.c): Likewise.
19443 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19445 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
19446 Store r15 on stack and add cfi rule.
19447 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19450 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
19453 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
19456 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19458 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19459 Add s_sinf-sse2 and s_sinf-fma.
19460 (CFLAGS-s_sinf-fma.c): New.
19461 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
19462 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
19463 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
19465 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19467 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
19469 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19472 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
19473 part of result to imaginary part of argument if it is zero and the
19474 real part of the argument is not finite.
19475 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
19476 of result to real part of argument if it is zero and the imaginary
19477 part of the argument is not finite.
19479 2017-12-07 Mike FABIAN <mfabian@redhat.com>
19482 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
19483 and to the list of locales to be built for testing.
19484 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
19485 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
19486 and build the collation rules upon that.
19488 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19490 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
19491 * manual/math.texi (Mathematics): Document support for _Float32.
19492 * math/Makefile (test-types): Add float32.
19493 * math/Versions (GLIBC_2.27): Add _Float32 functions.
19494 * stdlib/Versions (GLIBC_2.27): Likewise.
19495 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19496 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19497 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19498 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19499 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19500 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19501 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19502 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19503 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19504 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19505 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19506 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19507 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19508 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19509 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19510 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19511 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19512 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19513 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19514 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19515 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19516 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19518 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19519 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19520 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19521 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19522 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19540 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19541 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19542 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19543 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19544 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19545 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19546 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19547 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19548 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19549 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19558 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19559 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19560 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19561 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19562 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19563 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19564 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19565 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19567 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19569 * stdlib/strtof.c: Include <bits/floatn.h>
19570 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
19571 and later undefine as macro. Define as weak alias if
19573 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
19574 and later undefine as macro. Define as weak alias if
19576 * stdlib/strtof_l.c: Include <bits/floatn.h>
19577 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
19578 and later undefine as macro. Define as weak alias if
19580 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
19581 and later undefine as macro. Define as weak alias if
19584 * stdlib/strfromf.c: Include <bits/floatn.h>.
19585 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
19586 and later undefine as macro and define as weak alias.
19588 * math/test-float32.h: New file.
19590 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
19591 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
19592 (libm_alias_float_other_r): Create f32 alias.
19593 (libm_alias_float_r): Use semicolon before call to
19594 libm_alias_float_other_r.
19596 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
19597 second argument to libm_alias_float_other.
19598 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
19599 second argument to libm_alias_float_other.
19600 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
19601 argument to libm_alias_float_other.
19604 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
19605 real part of result for argument 0 + i * NaN.
19606 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
19607 results for tests of 0 + i * NaN.
19609 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19611 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19613 2017-12-06 David S. Miller <davem@davemloft.net>
19615 * sysdeps/sparc/fpu/libm-test-ulps: Update
19616 exp_{downward,towardzero,upward} ulps.
19618 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19620 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
19623 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
19625 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
19627 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
19629 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
19632 2017-12-06 Mike FABIAN <mfabian@redhat.com>
19635 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
19636 and to the list of locales to be built for testing.
19637 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
19638 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
19639 and build the collation rules upon that.
19641 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19643 * NEWS: Add sinf to list of optimized functions.
19645 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19647 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
19648 (__HAVE_FLOAT32X): Likewise.
19649 * manual/math.texi (Mathematics): Document support for _Float64
19651 * math/Makefile (test-types): Add float64 and float32x.
19652 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
19654 * stdlib/Versions (GLIBC_2.27): Likewise.
19655 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19656 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19657 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19658 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19659 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19660 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19661 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19662 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19663 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19664 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19665 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19666 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19667 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19668 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19669 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19670 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19671 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19672 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19673 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19674 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19675 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19676 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19678 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19679 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19680 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19681 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19682 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19699 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19700 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19701 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19702 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19703 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19704 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19705 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19706 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19707 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19708 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19717 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19718 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19719 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19720 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19721 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19722 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19723 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19724 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19726 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19728 * bits/floatn-common.h: Include <bits/long-double.h>.
19729 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19730 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
19731 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19732 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
19733 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19734 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
19735 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19736 (__builtin_huge_valf64): Use __builtin_huge_vall.
19737 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19738 (__builtin_inff64): Use __builtin_infl.
19739 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19740 (__builtin_nanf64): Use __builtin_nanl.
19741 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19742 (__builtin_nansf64): Use __builtin_nansl.
19744 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
19745 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19746 Carlos O'Donnell <carlos@redhat.com>
19748 * elf/dl-tunables.list: Add elision parameters.
19749 * manual/tunables.texi: Add entries about elision tunable.
19750 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
19751 Add callback functions to dynamically enable/disable elision.
19752 Add multiple callbacks functions to set elision parameters.
19753 Deleted __libc_enable_secure check.
19754 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
19755 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
19756 * configure: Regenerated.
19757 * configure.ac: Option enable_lock_elision was deleted.
19758 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
19759 * config.make.in: Remove references to enable_lock_elision.
19760 * manual/install.texi: Elision configure option was removed.
19761 * INSTALL: Regenerated to remove enable_lock_elision.
19763 Disable elision so it can verify error case for destroying a mutex.
19764 * sysdeps/powerpc/nptl/elide.h:
19765 Cleanup ENABLE_LOCK_ELISION check.
19766 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
19767 * sysdeps/s390/configure: Regenerated.
19768 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
19769 * nptl/tst-mutex8.c:
19770 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
19771 * sysdeps/powerpc/powerpc32/sysdep.h:
19772 Deleted all ENABLE_LOCK_ELISION checks.
19773 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19774 * sysdeps/powerpc/sysdep.h: Likewise.
19775 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
19776 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
19777 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19778 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19779 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19780 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
19781 enable-lock-elision.
19783 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19785 * stdlib/strtod.c: Include <bits/floatn.h>.
19786 (BUILD_DOUBLE): New macro.
19787 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19788 (strtof64): Define and later undefine as macro. Define as weak
19789 alias if [!USE_WIDE_CHAR].
19790 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19791 (wcstof64): Define and later undefine as macro. Define as weak
19792 alias if [USE_WIDE_CHAR].
19793 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19794 (strtof32x): Define and later undefine as macro. Define as weak
19795 alias if [!USE_WIDE_CHAR].
19796 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19797 (wcstof32x): Define and later undefine as macro. Define as weak
19798 alias if [USE_WIDE_CHAR].
19799 * stdlib/strtod_l.c: Include <bits/floatn.h>.
19800 (BUILD_DOUBLE): New macro.
19801 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19802 (strtof64_l): Define and later undefine as macro. Define as weak
19803 alias if [!USE_WIDE_CHAR].
19804 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19805 (wcstof64_l): Define and later undefine as macro. Define as weak
19806 alias if [USE_WIDE_CHAR].
19807 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19808 (strtof32x_l): Define and later undefine as macro. Define as weak
19809 alias if [!USE_WIDE_CHAR].
19810 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19811 (wcstof32x_l): Define and later undefine as macro. Define as weak
19812 alias if [USE_WIDE_CHAR].
19814 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19816 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
19817 (reduced): Use ones as double instead of integer.
19819 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
19821 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
19823 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19825 * stdlib/strfromd.c: Include <bits/floatn.h>.
19826 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
19827 and later undefine as macro and define as weak alias.
19828 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
19831 * math/test-float32x.h: New file.
19832 * math/test-float64.h: Likewise.
19834 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
19835 (libm_alias_double_other_r_f64): New macro.
19836 (libm_alias_double_other_r_f32x): Likewise.
19837 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19838 libm_alias_double_other_r_f32x.
19839 (libm_alias_double_r): Use semicolon before call to
19840 libm_alias_double_other_r.
19841 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
19843 (libm_alias_double_other_r_f64): New macro.
19844 (libm_alias_double_other_r_f32x): Likewise.
19845 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19846 libm_alias_double_other_r_f32x.
19848 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
19850 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
19852 (SINF_FUNC): Likewise. Replace floor with simple casts.
19854 2017-12-05 Mike FABIAN <mfabian@redhat.com>
19857 * localedata/Makefile: Add et_EE.UTF-8 to test-input
19858 and to the list of locales to be built for testing.
19859 * localedata/et_EE.UTF-8.in: New file for testing the collation.
19860 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
19861 and build the collation rules upon that.
19863 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
19865 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
19866 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
19867 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
19868 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
19869 instead of __insn__xxx.
19870 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
19871 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
19872 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
19873 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
19874 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
19875 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
19877 2017-12-05 Florian Weimer <fweimer@redhat.com>
19879 Linux: Implement interfaces for memory protection keys
19880 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
19882 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
19883 * support/xunistd.h (xsysconf): Declare.
19884 * support/xraise.c: New file.
19885 * support/xsigaction.c: Likewise.
19886 * support/xsignal.c: Likewise.
19887 * support/xsysconf.c: Likewise.
19888 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
19889 pkey_set, pkey_get, pkey_mprotect.
19890 [misc] (tests): Add tst-pkey.
19891 (tst-pkey): Link with -lpthread.
19892 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
19893 pkey_free, pkey_set, pkey_get, pkey_mprotect.
19894 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
19895 (PKEY_DISABLE_WRITE): Define.
19896 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
19898 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
19899 (SEGV_PKUERR): Add.
19900 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
19901 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
19902 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
19903 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
19905 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
19906 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
19907 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
19908 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
19909 * sysdeps/unix/sysv/linux/**.abilist: Update.
19911 2017-12-05 Florian Weimer <fweimer@redhat.com>
19913 * support/tst-test_compare.c (subprocess): Use long long instead
19914 of long argument for consistent type width across 32-bit and
19915 64-bit architectures.
19916 (do_test): Adjust expected output.
19918 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19920 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
19921 (cosf): Define using libm_alias_float.
19922 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
19923 (fabsf): Define using libm_alias_float.
19924 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
19925 (fmaf): Define using libm_alias_float.
19926 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
19927 (rintf): Define using libm_alias_float.
19928 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
19929 (sinf): Define using libm_alias_float.
19930 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
19931 <libm-alias-float.h>.
19932 (modff): Define using libm_alias_float.
19933 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
19934 <libm-alias-float.h>.
19935 (logbf): Define using libm_alias_float.
19936 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
19937 <libm-alias-float.h>.
19938 (ceilf): Define using libm_alias_float.
19939 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19940 <libm-alias-float.h>.
19941 (copysignf): Define using libm_alias_float.
19942 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
19943 <libm-alias-float.h>.
19944 (floorf): Define using libm_alias_float.
19945 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19946 <libm-alias-float.h>.
19947 (llrintf): Define using libm_alias_float.
19948 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19949 <libm-alias-float.h>.
19950 (llroundf): Define using libm_alias_float.
19951 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19952 <libm-alias-float.h>.
19953 (lrintf): Define using libm_alias_float.
19954 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19955 <libm-alias-float.h>.
19956 (lroundf): Define using libm_alias_float.
19957 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
19958 <libm-alias-float.h>.
19959 (nearbyintf): Define using libm_alias_float.
19960 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
19961 <libm-alias-float.h>.
19962 (rintf): Define using libm_alias_float.
19963 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
19964 <libm-alias-float.h>.
19965 (roundf): Define using libm_alias_float.
19966 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
19967 <libm-alias-float.h>.
19968 (truncf): Define using libm_alias_float.
19969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
19970 Include <libm-alias-float.h>.
19971 (ceilf): Define using libm_alias_float.
19972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
19973 Include <libm-alias-float.h>.
19974 (copysignf): Define using libm_alias_float.
19975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
19976 Include <libm-alias-float.h>.
19977 (floorf): Define using libm_alias_float.
19978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
19979 Include <libm-alias-float.h>.
19980 (llrintf): Define using libm_alias_float.
19981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
19982 Include <libm-alias-float.h>.
19983 (llroundf): Define using libm_alias_float.
19984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
19985 Include <libm-alias-float.h>.
19986 (logbf): Define using libm_alias_float.
19987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
19988 Include <libm-alias-float.h>.
19989 (lrintf): Define using libm_alias_float.
19990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
19991 Include <libm-alias-float.h>.
19992 (lroundf): Define using libm_alias_float.
19993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
19994 Include <libm-alias-float.h>.
19995 (modff): Define using libm_alias_float.
19996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
19997 Include <libm-alias-float.h>.
19998 (roundf): Define using libm_alias_float.
19999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
20000 Include <libm-alias-float.h>.
20001 (truncf): Define using libm_alias_float.
20002 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
20003 <libm-alias-float.h>.
20004 (llrintf): Define using libm_alias_float.
20005 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20006 <libm-alias-float.h>.
20007 (llroundf): Define using libm_alias_float.
20008 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
20009 <libm-alias-float.h>.
20010 (ceilf): Define using libm_alias_float.
20011 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
20012 <libm-alias-float.h>.
20013 (floorf): Define using libm_alias_float.
20014 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20015 <libm-alias-float.h>.
20016 (llroundf): Define using libm_alias_float.
20017 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20018 <libm-alias-float.h>.
20019 (lroundf): Define using libm_alias_float.
20020 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
20021 <libm-alias-float.h>.
20022 (roundf): Define using libm_alias_float.
20023 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
20024 <libm-alias-float.h>.
20025 (truncf): Define using libm_alias_float.
20026 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20027 <libm-alias-float.h>.
20028 (copysignf): Define using libm_alias_float.
20029 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
20030 <libm-alias-float.h>.
20031 (llrintf): Define using libm_alias_float.
20032 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20033 <libm-alias-float.h>.
20034 (llroundf): Define using libm_alias_float.
20035 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20036 <libm-alias-float.h>.
20037 (lrintf): Define using libm_alias_float.
20038 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20039 <libm-alias-float.h>.
20040 (lroundf): Define using libm_alias_float.
20041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
20042 <libm-alias-float.h>.
20043 (ceilf): Define using libm_alias_float.
20044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
20045 <libm-alias-float.h>.
20046 (copysignf): Define using libm_alias_float.
20047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
20048 <libm-alias-float.h>.
20049 (cosf): Define using libm_alias_float.
20050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
20051 <libm-alias-float.h>.
20052 (floorf): Define using libm_alias_float.
20053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
20054 <libm-alias-float.h>.
20055 (llrintf): Define using libm_alias_float.
20056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
20057 <libm-alias-float.h>.
20058 (llroundf): Define using libm_alias_float.
20059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
20060 <libm-alias-float.h>.
20061 (logbf): Define using libm_alias_float.
20062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
20063 <libm-alias-float.h>.
20064 (modff): Define using libm_alias_float.
20065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
20066 <libm-alias-float.h>.
20067 (roundf): Define using libm_alias_float.
20068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
20069 <libm-alias-float.h>.
20070 (sinf): Define using libm_alias_float.
20071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
20072 <libm-alias-float.h>.
20073 (truncf): Define using libm_alias_float.
20074 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
20075 <libm-alias-float.h>.
20076 (ceilf): Define using libm_alias_float.
20077 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20078 <libm-alias-float.h>.
20079 (copysignf): Define using libm_alias_float.
20080 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
20081 <libm-alias-float.h>.
20082 (floorf): Define using libm_alias_float.
20083 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20084 <libm-alias-float.h>.
20085 (llrintf): Define using libm_alias_float.
20086 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
20087 <libm-alias-float.h>.
20088 (llroundf): Define using libm_alias_float.
20089 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
20090 <libm-alias-float.h>.
20091 (nearbyintf): Define using libm_alias_float.
20092 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
20093 <libm-alias-float.h>.
20094 (rintf): Define using libm_alias_float.
20095 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
20096 <libm-alias-float.h>.
20097 (roundf): Define using libm_alias_float.
20098 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
20099 <libm-alias-float.h>.
20100 (truncf): Define using libm_alias_float.
20101 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
20102 <libm-alias-float.h>.
20103 (ceilf): Define using libm_alias_float.
20104 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
20105 <libm-alias-float.h>.
20106 (floorf): Define using libm_alias_float.
20107 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20108 <libm-alias-float.h>.
20109 (llroundf): Define using libm_alias_float.
20110 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
20111 <libm-alias-float.h>.
20112 (roundf): Define using libm_alias_float.
20113 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
20114 <libm-alias-float.h>.
20115 (truncf): Define using libm_alias_float.
20116 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20117 <libm-alias-float.h>.
20118 (copysignf): Define using libm_alias_float.
20119 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20120 <libm-alias-float.h>.
20121 (llrintf): Define using libm_alias_float.
20122 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20123 <libm-alias-float.h>.
20124 (llroundf): Define using libm_alias_float.
20125 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
20126 <libm-alias-float.h>.
20127 (cosf): Define using libm_alias_float.
20128 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20129 <libm-alias-float.h>.
20130 (llrintf): Define using libm_alias_float.
20131 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20132 <libm-alias-float.h>.
20133 (llroundf): Define using libm_alias_float.
20134 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
20135 <libm-alias-float.h>.
20136 (sinf): Define using libm_alias_float.
20138 2017-12-04 Florian Weimer <fweimer@redhat.com>
20140 * support/check.h (TEST_COMPARE): Define.
20141 (support_test_compare_failure): Declare.
20142 * support/Makefile (libsupport-routines): Add
20143 support_test_compare_failure.
20144 (tests): Add tst-test_compare.
20145 * support /support_test_compare_failure.c: New file.
20146 * support/tst-test_compare.c: Likewise.
20148 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20151 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
20152 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
20153 available, this rewrite of the collation rules does reproduce
20154 the test file in the same order.
20156 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20159 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
20160 digraphs in the month and day names. Using single code points for
20161 digraphs is deprecated. While there are dedicated Unicode
20162 codepoints, for the digraphs, these are included for backwards
20163 compatibility and modern texts use a sequence of Basic Latin
20164 characters. See: https://www.unicode.org/faq/ligature_digraph.html
20165 This makes the month and day names agree exactly with CLDR now,
20166 CLDR does not use the single code points for the digraphs either.
20168 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
20170 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
20172 2017-12-04 Joseph Myers <joseph@codesourcery.com>
20174 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
20177 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
20179 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
20180 Define only for libc.so.
20182 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
20184 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20185 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
20186 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
20187 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
20188 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20190 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20193 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
20195 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
20198 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
20199 PREINIT_FUNCTION_WEAK is nonzero.
20200 (gmon_initializer): New function. Put procedure label for it in
20201 .init_array section.
20202 (_init): Don't call PREINIT_FUNCTION.
20203 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
20204 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
20205 value when map argument is null.
20207 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
20208 depi instruction from PIC pc-relative sequence.
20209 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
20210 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
20211 (elf_machine_load_address): Likewise.
20212 (elf_machine_runtime_setup): Likewise.
20214 2017-12-02 Joseph Myers <joseph@codesourcery.com>
20216 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
20217 <libm-alias-double.h>.
20218 (logb): Define using libm_alias_double.
20219 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20220 <libm-alias-double.h>.
20221 (copysign): Define using libm_alias_double.
20222 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
20223 <libm-alias-double.h>.
20224 (llrint): Define using libm_alias_double.
20225 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
20226 <libm-alias-double.h>.
20227 (llround): Define using libm_alias_double.
20228 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20229 <libm-alias-double.h>.
20230 (lrint): Define using libm_alias_double.
20231 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20232 <libm-alias-double.h>.
20233 (lround): Define using libm_alias_double.
20234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20235 Include <libm-alias-double.h>.
20236 (copysign): Define using libm_alias_double.
20237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
20238 Include <libm-alias-double.h>.
20239 (llrint): Define using libm_alias_double.
20240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
20241 Include <libm-alias-double.h>.
20242 (llround): Define using libm_alias_double.
20243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
20244 <libm-alias-double.h>.
20245 (logb): Define using libm_alias_double.
20246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
20247 Include <libm-alias-double.h>.
20248 (lrint): Define using libm_alias_double.
20249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
20250 Include <libm-alias-double.h>.
20251 (lround): Define using libm_alias_double.
20252 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
20253 <libm-alias-double.h>.
20254 (llrint): Define using libm_alias_double.
20255 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20256 <libm-alias-double.h>.
20257 (llround): Define using libm_alias_double.
20258 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20259 <libm-alias-double.h>.
20260 (llround): Define using libm_alias_double.
20261 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20262 <libm-alias-double.h>.
20263 (lround): Define using libm_alias_double.
20264 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20265 <libm-alias-double.h>.
20266 (copysign): Define using libm_alias_double.
20267 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
20268 <libm-alias-double.h>.
20269 (llrint): Define using libm_alias_double.
20270 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20271 <libm-alias-double.h>.
20272 (llround): Define using libm_alias_double.
20273 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20274 <libm-alias-double.h>.
20275 (lrint): Define using libm_alias_double.
20276 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20277 <libm-alias-double.h>.
20278 (lround): Define using libm_alias_double.
20279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
20280 <libm-alias-double.h>.
20281 (copysign): Define using libm_alias_double.
20282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
20283 <libm-alias-double.h>.
20284 (llrint): Define using libm_alias_double.
20286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
20287 <libm-alias-double.h>.
20288 (llround): Define using libm_alias_double.
20289 (lround): Likewise.
20290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
20291 <libm-alias-double.h>.
20292 (logb): Define using libm_alias_double.
20293 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20294 <libm-alias-double.h>.
20295 (copysign): Define using libm_alias_double.
20296 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20297 <libm-alias-double.h>.
20298 (llrint): Define using libm_alias_double.
20300 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
20301 <libm-alias-double.h>.
20302 (llround): Define using libm_alias_double.
20303 (lround): Likewise.
20304 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20305 <libm-alias-double.h>.
20306 (llround): Define using libm_alias_double.
20307 (lround): Likewise.
20308 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20309 <libm-alias-double.h>.
20310 (copysign): Define using libm_alias_double.
20311 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20312 <libm-alias-double.h>.
20313 (llrint): Define using libm_alias_double.
20315 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20316 <libm-alias-double.h>.
20317 (llround): Define using libm_alias_double.
20318 (lround): Likewise.
20319 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20320 <libm-alias-double.h>.
20321 (llrint): Define using libm_alias_double.
20323 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20324 <libm-alias-double.h>.
20325 (llround): Define using libm_alias_double.
20326 (lround): Likewise.
20328 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20331 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
20332 compat symbol based on llround.
20334 * sysdeps/powerpc/power7/fpu/s_logb.c
20335 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
20336 symbol based on __logb, not on logb.
20337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
20338 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
20340 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20342 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
20343 (rint): Define using libm_alias_double.
20344 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
20345 <libm-alias-double.h>.
20346 (modf): Define using libm_alias_double.
20347 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
20348 <libm-alias-double.h>.
20349 (ceil): Define using libm_alias_double.
20350 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
20351 <libm-alias-double.h>.
20352 (floor): Define using libm_alias_double.
20353 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
20354 <libm-alias-double.h>.
20355 (nearbyint): Define using libm_alias_double.
20356 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
20357 <libm-alias-double.h>.
20358 (rint): Define using libm_alias_double.
20359 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
20360 <libm-alias-double.h>.
20361 (round): Define using libm_alias_double.
20362 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
20363 <libm-alias-double.h>.
20364 (trunc): Define using libm_alias_double.
20365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
20366 <libm-alias-double.h>.
20367 (ceil): Define using libm_alias_double.
20368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
20369 Include <libm-alias-double.h>.
20370 (floor): Define using libm_alias_double.
20371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
20372 <libm-alias-double.h>.
20373 (modf): Define using libm_alias_double.
20374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
20375 Include <libm-alias-double.h>.
20376 (round): Define using libm_alias_double.
20377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
20378 Include <libm-alias-double.h>.
20379 (trunc): Define using libm_alias_double.
20380 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
20381 <libm-alias-double.h>.
20382 (ceil): Define using libm_alias_double.
20383 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
20384 <libm-alias-double.h>.
20385 (floor): Define using libm_alias_double.
20386 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
20387 <libm-alias-double.h>.
20388 (round): Define using libm_alias_double.
20389 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
20390 <libm-alias-double.h>.
20391 (trunc): Define using libm_alias_double.
20392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
20393 <libm-alias-double.h>.
20394 (ceil): Define using libm_alias_double.
20395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
20396 <libm-alias-double.h>.
20397 (floor): Define using libm_alias_double.
20398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
20399 <libm-alias-double.h>.
20400 (modf): Define using libm_alias_double.
20401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
20402 <libm-alias-double.h>.
20403 (round): Define using libm_alias_double.
20404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
20405 <libm-alias-double.h>.
20406 (trunc): Define using libm_alias_double.
20407 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
20408 <libm-alias-double.h>.
20409 (ceil): Define using libm_alias_double.
20410 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
20411 <libm-alias-double.h>.
20412 (floor): Define using libm_alias_double.
20413 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
20414 <libm-alias-double.h>.
20415 (nearbyint): Define using libm_alias_double.
20416 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
20417 <libm-alias-double.h>.
20418 (rint): Define using libm_alias_double.
20419 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
20420 <libm-alias-double.h>.
20421 (round): Define using libm_alias_double.
20422 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
20423 <libm-alias-double.h>.
20424 (trunc): Define using libm_alias_double.
20425 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
20426 <libm-alias-double.h>.
20427 (ceil): Define using libm_alias_double.
20428 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
20429 <libm-alias-double.h>.
20430 (floor): Define using libm_alias_double.
20431 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
20432 <libm-alias-double.h>.
20433 (round): Define using libm_alias_double.
20434 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
20435 <libm-alias-double.h>.
20436 (trunc): Define using libm_alias_double.
20438 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
20439 (fabs): Define using libm_alias_double.
20440 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
20441 (fma): Define using libm_alias_double.
20442 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
20443 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
20444 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
20445 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
20447 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20449 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
20451 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
20452 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
20453 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
20456 due redirect macro.
20458 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
20460 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
20462 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20464 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
20465 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
20466 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
20467 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
20469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20470 (libm-sysdep_routines): Add s_nearbyintf-generic and
20471 s_nearbyint-generic.
20472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
20474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
20475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
20477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
20479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
20481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20485 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
20486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
20488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
20489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
20491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
20492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
20493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20496 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
20497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
20499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
20500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
20502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
20503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
20504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
20506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20507 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
20508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
20510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
20511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
20513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
20514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
20515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20518 (sysdep_calls): New rule.
20519 (sysdep_routines): Use sysdep_calls as base.
20520 (libm-sysdep_routines): Add generic rule for symbols shared with
20521 libc. Add s_copysign-generic and s_copysign-generic objects.
20522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
20524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
20525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
20527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
20528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
20529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
20531 2017-12-01 Mike FABIAN <mfabian@redhat.com>
20534 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
20535 the list of locales to be built for testing.
20536 * localedata/is_IS.UTF-8.in: New file.
20537 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
20540 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20542 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
20543 <libm-alias-float.h>.
20544 (fabsf): Define using libm_alias_float.
20546 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20548 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
20550 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20552 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
20553 <libm-alias-float.h>.
20554 (fabsf): Define using libm_alias_float.
20555 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
20556 <libm-alias-float.h>.
20557 (lrintf): Define using libm_alias_float.
20558 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
20559 <libm-alias-float.h>.
20560 (rintf): Define using libm_alias_float.
20562 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
20563 <libm-alias-double.h>.
20564 (fabs): Define using libm_alias_double.
20565 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
20566 <libm-alias-double.h>.
20567 (lrint): Define using libm_alias_double.
20568 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
20569 <libm-alias-double.h>.
20570 (rint): Define using libm_alias_double.
20572 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
20573 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
20574 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
20575 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
20576 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
20577 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
20578 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
20579 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
20580 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
20581 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
20582 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
20583 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
20584 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
20585 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
20586 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
20587 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
20588 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
20589 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
20591 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
20592 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
20593 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
20595 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
20596 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
20597 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
20599 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
20600 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
20601 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
20602 s_expm1_template.c.
20603 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
20604 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
20605 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
20607 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
20608 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
20609 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
20610 s_floor_template.c.
20611 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
20612 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
20613 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
20614 s_frexp_template.c.
20615 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
20616 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
20617 s_lrint_template.c.
20618 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
20619 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
20620 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
20622 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
20623 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
20624 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
20625 s_nearbyint_template.c.
20626 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
20627 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
20628 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
20629 s_remquo_template.c.
20630 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
20631 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
20632 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
20634 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
20635 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
20636 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
20638 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
20639 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
20640 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
20641 s_sincos_template.c.
20642 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
20643 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
20644 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
20646 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
20647 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
20648 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
20650 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
20651 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
20652 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
20653 s_trunc_template.c.
20654 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
20655 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
20656 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
20657 s_atan.c instead of including s_atan.c.
20658 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
20659 s_atanf.c instead of including s_atanf.c.
20660 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
20661 s_atanl.c instead of including s_atanl.c.
20662 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
20663 instead of s_atan.c.
20664 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
20665 instead of s_atanf.c.
20666 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
20667 instead of s_atanl.c.
20669 * scripts/update-copyrights: Do not handle intl/plural.c
20672 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
20675 * configure.ac (BISON): Require to be present.
20676 * configure: Regenerated.
20677 * intl/Makefile (generated): Add plural.c.
20678 [$(BISON) != no]: Make code unconditional.
20679 (plural.c): Change rule to $(objpfx)plural.c.
20680 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
20681 * intl/plural.c: Remove.
20682 * manual/install.texi (Tools for Compilation): Document bison as
20684 * INSTALL: Regenerated.
20686 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20688 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
20689 <libm-alias-double.h>.
20690 (llrint): Define using libm_alias_double.
20691 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
20692 <libm-alias-float.h>.
20693 (llrintf): Define using libm_alias_float.
20694 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
20695 <libm-alias-ldouble.h>.
20696 (llrintl): Define using libm_alias_ldouble.
20698 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
20699 declare_mgen_alias instead of weak_alias.
20700 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
20701 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
20702 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
20704 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20706 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20708 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
20709 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
20710 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
20712 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20713 Add submul_1-generic.
20714 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
20715 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
20716 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
20718 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20719 Add addmul_1-generic.
20720 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
20721 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
20722 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
20724 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20726 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
20727 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
20728 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
20730 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20732 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
20733 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
20734 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
20736 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20738 According to CLDR, collation rules for Serbian and Bosnian
20739 should be the same as for Croatian.
20742 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
20743 and to the list of locales to be built for testing.
20744 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20745 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20746 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
20747 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
20749 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20751 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
20752 to make test case pass.
20753 * localedata/hr_HR.UTF-8.in: Add more test strings.
20755 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20757 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
20759 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20761 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
20762 the list of locales to built for testing.
20763 * localedata/hr_HR.UTF-8.in: New file.
20765 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20768 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
20770 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
20771 CLDR (except use ligatures for the digraphs, CLDR does not use
20772 the ligatures), add first_workday, some fixes in the date and time
20774 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
20776 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
20777 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
20778 Add int_p_cs_precedes and int_n_cs_precedes.
20779 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
20780 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
20782 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
20783 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
20785 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
20786 and lang_lib. Change postal_fmt.
20788 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20790 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
20792 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20793 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
20794 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20795 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
20796 * sysdeps/generic/setjmpP.h: New file.
20797 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
20798 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
20799 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
20800 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
20801 Add jmp_buf-ssp.sym.
20802 (tests): Add tst-saved_mask-1.
20804 2017-11-30 Arjun Shankar <arjun@redhat.com>
20808 * malloc/malloc.c (__libc_malloc): Use checked_request2size
20809 instead of request2size.
20811 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
20814 (__lllrint): Remove alias.
20815 (lllrint): Likewise.
20816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
20817 (__lllrintf): Likewise.
20818 (lllrintf): Likewise.
20820 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
20821 <libm-alias-float.h>.
20822 (copysignf): Define using libm_alias_float.
20823 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
20824 <libm-alias-float.h>.
20825 (fabsf): Define using libm_alias_float.
20826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20827 Include <libm-alias-float.h>.
20828 (copysignf): Define using libm_alias_float.
20829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
20830 <libm-alias-float.h>.
20831 (fabsf): Define using libm_alias_float.
20832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
20833 <libm-alias-float.h>.
20834 (fdimf): Define using libm_alias_float.
20835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
20836 <libm-alias-float.h>.
20837 (fmaf): Define using libm_alias_float.
20838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
20839 <libm-alias-float.h>.
20840 (llrintf): Define using libm_alias_float.
20841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20842 Include <libm-alias-float.h>.
20843 (nearbyintf): Define using libm_alias_float.
20844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
20845 <libm-alias-float.h>.
20846 (rintf): Define using libm_alias_float.
20847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
20848 <libm-alias-float.h>.
20849 (llrintf): Define using libm_alias_float.
20850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
20851 <libm-alias-float.h>.
20852 (lrintf): Define using libm_alias_float.
20853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
20854 <libm-alias-float.h>.
20855 (nearbyintf): Define using libm_alias_float.
20856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
20857 <libm-alias-float.h>.
20858 (rintf): Define using libm_alias_float.
20859 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
20860 <libm-alias-float.h>.
20861 (ceilf): Define using libm_alias_float.
20862 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
20863 <libm-alias-float.h>.
20864 (floorf): Define using libm_alias_float.
20865 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
20866 <libm-alias-float.h>.
20867 (fmaf): Define using libm_alias_float.
20868 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
20869 <libm-alias-float.h>.
20870 (lrintf): Define using libm_alias_float.
20871 (llrintf): Likewise.
20872 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
20873 <libm-alias-float.h>.
20874 (nearbyintf): Define using libm_alias_float.
20875 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
20876 <libm-alias-float.h>.
20877 (rintf): Define using libm_alias_float.
20878 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
20879 <libm-alias-float.h>.
20880 (truncf): Define using libm_alias_float.
20881 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
20882 <libm-alias-float.h>.
20883 (copysignf): Define using libm_alias_float.
20884 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
20885 <libm-alias-float.h>.
20886 (fabsf): Define using libm_alias_float.
20887 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
20888 <libm-alias-float.h>.
20889 (lrintf): Define using libm_alias_float.
20890 (llrintf): Likewise.
20891 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
20892 <libm-alias-float.h>.
20893 (nearbyintf): Define using libm_alias_float.
20894 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
20895 <libm-alias-float.h>.
20896 (rintf): Define using libm_alias_float.
20898 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20900 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
20901 <libm-alias-double.h>.
20902 (copysign): Define using libm_alias_double.
20903 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
20904 <libm-alias-double.h>.
20905 (fabs): Define using libm_alias_double.
20906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20907 Include <libm-alias-double.h>.
20908 (copysign): Define using libm_alias_double.
20909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
20910 <libm-alias-double.h>.
20911 (fabs): Define using libm_alias_double.
20912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
20913 <libm-alias-double.h>.
20914 (fdim): Define using libm_alias_double.
20915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
20916 <libm-alias-double.h>.
20917 (fma): Define using libm_alias_double.
20918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
20919 <libm-alias-double.h>.
20920 (llrint): Define using libm_alias_double.
20921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
20922 Include <libm-alias-double.h>.
20923 (nearbyint): Define using libm_alias_double.
20924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
20925 <libm-alias-double.h>.
20926 (rint): Define using libm_alias_double.
20927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20928 <libm-alias-double.h>.
20929 (fabs): Define using libm_alias_double.
20930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
20931 <libm-alias-double.h>.
20932 (llrint): Define using libm_alias_double.
20933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
20934 <libm-alias-double.h>.
20935 (nearbyint): Define using libm_alias_double.
20936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
20937 <libm-alias-double.h>.
20938 (rint): Define using libm_alias_double.
20939 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
20940 <libm-alias-double.h>.
20941 (ceil): Define using libm_alias_double.
20942 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
20943 <libm-alias-double.h>.
20944 (floor): Define using libm_alias_double.
20945 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
20946 <libm-alias-double.h>.
20947 (fma): Define using libm_alias_double.
20948 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
20949 <libm-alias-double.h>.
20950 (lrint): Define using libm_alias_double.
20951 (llrint): Likewise.
20952 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
20953 <libm-alias-double.h>.
20954 (nearbyint): Define using libm_alias_double.
20955 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
20956 <libm-alias-double.h>.
20957 (rint): Define using libm_alias_double.
20958 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
20959 <libm-alias-double.h>.
20960 (trunc): Define using libm_alias_double.
20961 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
20962 <libm-alias-double.h>.
20963 (copysign): Define using libm_alias_double.
20964 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
20965 <libm-alias-double.h>.
20966 (fabs): Define using libm_alias_double.
20967 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
20968 <libm-alias-double.h>.
20969 (lrint): Define using libm_alias_double.
20970 (llrint): Likewise.
20971 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
20972 <libm-alias-double.h>.
20973 (nearbyint): Define using libm_alias_double.
20974 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
20975 <libm-alias-double.h>.
20976 (rint): Define using libm_alias_double.
20979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20981 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
20983 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20984 SPARC --disable-multi-arch glibc variants.
20986 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
20987 <libm-alias-float.h>.
20988 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20990 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
20991 <libm-alias-float.h>.
20992 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20994 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
20995 <libm-alias-float.h>.
20996 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20998 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
20999 <libm-alias-float.h>.
21000 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21002 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
21003 <libm-alias-float.h>.
21004 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21006 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
21007 <libm-alias-float.h>.
21008 (ceilf): Define using libm_alias_float.
21009 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
21010 <libm-alias-float.h>.
21011 (floorf): Define using libm_alias_float.
21012 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
21013 <libm-alias-float.h>.
21014 (fmaf): Define using libm_alias_float.
21015 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
21016 <libm-alias-float.h>.
21017 (nearbyintf): Define using libm_alias_float.
21018 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
21019 <libm-alias-float.h>.
21020 (rintf): Define using libm_alias_float.
21021 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
21022 <libm-alias-float.h>.
21023 (truncf): Define using libm_alias_float.
21024 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21025 (copysignf): Define using libm_alias_float.
21026 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
21027 (cosf): Define using libm_alias_float.
21028 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21029 (fabsf): Define using libm_alias_float.
21030 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21031 (fmaxf): Define using libm_alias_float.
21032 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
21033 (fminf): Define using libm_alias_float.
21034 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21035 (llrintf): Define using libm_alias_float.
21036 [!__ILP32__] (lrintf): Likewise.
21037 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
21038 (sincosf): Define using libm_alias_float.
21039 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
21040 (sinf): Define using libm_alias_float.
21041 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21042 (lrintf): Define using libm_alias_float.
21044 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
21045 <libm-alias-double.h>.
21046 (atan): Define using libm_alias_double.
21047 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
21048 <libm-alias-double.h>.
21049 (ceil): Define using libm_alias_double.
21050 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
21051 <libm-alias-double.h>.
21052 (floor): Define using libm_alias_double.
21053 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
21054 <libm-alias-double.h>.
21055 (fma): Define using libm_alias_double.
21056 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
21057 <libm-alias-double.h>.
21058 (nearbyint): Define using libm_alias_double.
21059 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
21060 <libm-alias-double.h>.
21061 (rint): Define using libm_alias_double.
21062 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
21063 <libm-alias-double.h>.
21064 (sin): Define using libm_alias_double.
21066 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
21067 <libm-alias-double.h>.
21068 (tan): Define using libm_alias_double.
21069 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
21070 <libm-alias-double.h>.
21071 (trunc): Define using libm_alias_double.
21072 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
21073 (copysign): Define using libm_alias_double.
21074 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
21075 (fabs): Define using libm_alias_double.
21076 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
21077 (fmax): Define using libm_alias_double.
21078 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
21079 (fmin): Define using libm_alias_double.
21080 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
21081 (llrint): Define using libm_alias_double.
21082 [!__ILP32__] (lrint): Likewise.
21083 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
21084 (lrint): Define using libm_alias_double.
21086 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21088 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21089 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
21091 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
21092 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
21093 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
21094 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
21095 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
21096 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21098 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21099 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
21101 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
21102 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
21103 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
21104 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
21105 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
21106 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21108 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21109 (libm-sysdep_routines): Add s_nearbyint-generic and
21110 s_nearbyintf-generic objects.
21111 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
21112 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
21113 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
21114 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
21115 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
21116 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
21118 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21119 Add s_finitef-generic and s_finite-generic objects.
21120 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
21121 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
21122 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
21123 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
21124 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
21125 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
21127 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21128 Add s_isinff-generic and s_isinf-generic objects.
21129 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
21130 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
21131 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
21132 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
21133 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
21134 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21136 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21137 Add s_isnanf-generic and s_isnan-generic objects.
21138 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
21139 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
21140 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
21141 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
21142 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
21143 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21145 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
21147 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
21149 (sysdep_routines): Use sysdep_calls as base.
21150 (libm-sysdep_routines): Add generic rule for symbols shared with
21151 libc. Add s_signbit-generic and s_signbitf-generic objects.
21152 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
21153 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
21154 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
21155 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
21156 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
21157 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21159 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21161 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
21162 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
21163 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
21164 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
21165 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
21166 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
21167 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
21168 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
21169 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
21170 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
21171 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
21172 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
21173 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
21174 libm_alias_float_r.
21175 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
21176 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
21178 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
21179 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
21180 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
21181 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
21182 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
21183 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
21184 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
21185 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
21186 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
21187 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
21189 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
21191 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
21192 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
21193 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
21194 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
21195 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
21196 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
21197 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
21198 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
21199 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
21200 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
21201 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
21202 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
21203 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
21204 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
21205 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
21206 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
21207 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
21208 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
21209 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
21211 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
21212 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
21213 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
21214 * sysdeps/ia64/fpu/w_lgammaf_main.c
21215 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
21216 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
21218 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21219 Alexandre Oliva <aoliva@redhat.com>
21222 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
21223 * localedata/fr_CA.UTF-8.in: New file with test data for backward
21225 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
21227 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
21228 * localedata/locales/de_DE (LC_COLLATE): Likewise.
21229 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
21230 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
21231 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
21232 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
21233 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
21234 instead of “ifdef DIACRIT_BACKWARD”.
21236 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21238 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
21239 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
21240 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
21241 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
21242 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
21243 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
21244 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
21245 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
21246 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
21247 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
21248 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
21249 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
21250 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
21251 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
21252 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
21253 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21254 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
21255 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
21256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21257 ($(have-as-vis3) == yes): Remove conditional.
21258 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
21260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
21262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
21264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
21266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
21268 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
21269 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
21270 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
21271 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
21272 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
21273 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
21274 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
21275 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
21277 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21279 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
21280 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
21281 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
21282 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
21283 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
21284 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
21285 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
21286 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
21287 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
21288 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
21289 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
21290 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
21291 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
21292 libm_alias_double_r.
21293 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
21295 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
21296 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
21297 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
21298 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
21299 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
21300 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
21301 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
21302 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
21303 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
21304 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
21305 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
21307 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
21309 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
21310 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
21311 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
21312 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
21313 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
21314 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
21315 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
21316 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
21317 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
21318 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
21319 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
21320 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
21321 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
21322 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
21323 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
21324 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
21325 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
21326 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
21328 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
21329 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
21330 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
21331 * sysdeps/ia64/fpu/w_lgamma_main.c
21332 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
21333 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
21335 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
21337 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
21338 address of $global$ into %dp register earlier. Use pc-relative
21339 instruction sequence for PIC case.
21341 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21343 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
21344 (asinhf): Define using libm_alias_float.
21345 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
21346 (atanf): Define using libm_alias_float.
21347 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
21348 (cbrtf): Define using libm_alias_float.
21349 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
21350 (ceilf): Define using libm_alias_float.
21351 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21352 (copysignf): Define using libm_alias_float.
21353 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
21354 (expm1f): Define using libm_alias_float.
21355 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
21356 (fabsf): Define using libm_alias_float.
21357 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
21358 (floorf): Define using libm_alias_float.
21359 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21360 (fmaxf): Define using libm_alias_float.
21361 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
21362 (fminf): Define using libm_alias_float.
21363 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
21364 (frexpf): Define using libm_alias_float.
21365 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21366 (llrintf): Define using libm_alias_float.
21367 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
21368 (logbf): Define using libm_alias_float.
21369 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21370 (lrintf): Define using libm_alias_float.
21371 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
21372 (nearbyintf): Define using libm_alias_float.
21373 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
21374 (remquof): Define using libm_alias_float.
21375 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
21376 (rintf): Define using libm_alias_float.
21377 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
21378 (truncf): Define using libm_alias_float.
21379 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
21380 <libm-alias-float.h>.
21381 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21383 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
21384 <libm-alias-float.h>.
21385 (expf): Define using libm_alias_float, or libm_alias_float_other
21387 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
21388 <libm-alias-float.h>.
21389 (log2f): Define using libm_alias_float, or libm_alias_float_other
21391 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
21392 <libm-alias-float.h>.
21393 (logf): Define using libm_alias_float, or libm_alias_float_other
21395 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
21396 <libm-alias-float.h>.
21397 (powf): Define using libm_alias_float, or libm_alias_float_other
21399 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
21400 <libm-alias-float.h>.
21401 (cosf): Define using libm_alias_float.
21402 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
21403 <libm-alias-float.h>.
21404 (sincosf): Define using libm_alias_float.
21405 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
21406 <libm-alias-float.h>.
21407 (sinf): Define using libm_alias_float.
21408 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21409 (fmaxf): Define using libm_alias_float.
21410 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
21411 (fminf): Define using libm_alias_float.
21412 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21413 <libm-alias-float.h>.
21414 (fmaf): Define using libm_alias_float.
21416 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
21417 (asinh): Define using libm_alias_double.
21418 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
21419 (atan): Define using libm_alias_double.
21420 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
21421 (cbrt): Define using libm_alias_double.
21422 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
21423 (ceil): Define using libm_alias_double.
21424 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
21425 (copysign): Define using libm_alias_double.
21426 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
21427 (expm1): Define using libm_alias_double.
21428 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
21429 (fabs): Define using libm_alias_double.
21430 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
21431 (fdim): Define using libm_alias_double.
21432 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
21433 (floor): Define using libm_alias_double.
21434 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
21435 (fmax): Define using libm_alias_double.
21436 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
21437 (fmin): Define using libm_alias_double.
21438 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
21439 (frexp): Define using libm_alias_double.
21440 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
21441 (llrint): Define using libm_alias_double.
21442 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
21443 (logb): Define using libm_alias_double.
21444 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
21445 (lrint): Define using libm_alias_double.
21446 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
21447 (nearbyint): Define using libm_alias_double.
21448 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
21449 (remquo): Define using libm_alias_double.
21450 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
21451 (rint): Define using libm_alias_double.
21452 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
21453 (trunc): Define using libm_alias_double.
21454 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
21455 (fmax): Define using libm_alias_double.
21456 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
21457 (fmin): Define using libm_alias_double.
21458 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
21459 (fma): Define using libm_alias_double.
21461 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
21464 * elf/dl-hwcaps.c (ROUND): Removed.
21465 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
21466 and ELF_NOTE_NEXT_OFFSET.
21467 * elf/dl-load.c (ROUND): Removed.
21468 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21469 * elf/readelflib.c (ROUND): Removed.
21470 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21471 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
21472 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
21473 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
21475 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21477 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21478 [!__fmaf] (fmaf): Define using libm_alias_float.
21480 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
21481 [!__fma] (fma): Define using libm_alias_double.
21482 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
21484 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21487 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
21488 and implement the collation rules for cs from CLDR on top of that.
21489 * Makefile: Add cs_CZ.UTF-8 to test-input.
21490 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
21492 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
21494 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
21496 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21497 Icarus Sparry <icarus.w.sparry@intel.com>
21499 * benchtests/Makefile:Add BENCHSET to allow subsets of
21500 benchmarks to be run.
21501 * benchtests/README: Add documentation for: Running subsets of
21504 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21506 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
21507 range of tests names.
21509 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
21510 result from property and remove "max", min" and "mean" from
21511 required properties based on benchtests/bench-skeleton.c.
21513 2017-11-28 Florian Weimer <fweimer@redhat.com>
21516 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
21517 due to Internet requirement.
21518 * posix/Makefile (tests): Remove tst-getaddrinfo4,
21520 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
21522 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21524 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21525 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
21526 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21527 (sysdep_routines): Add memset-ultra1.
21528 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
21530 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
21531 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
21532 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
21533 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
21534 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
21535 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
21536 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
21537 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21539 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
21541 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
21542 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
21543 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
21544 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
21545 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
21546 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
21547 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
21549 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21550 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
21551 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21552 (sysdep_routines): Add memcpy-ultra1.
21553 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
21554 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
21556 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21558 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
21559 (cfloat_versions): Take function argument without trailing 'f'.
21560 Call libm_alias_float_other.
21561 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
21562 * sysdeps/alpha/fpu/cargf.c: Likewise.
21563 * sysdeps/alpha/fpu/cimagf.c: Likewise.
21564 * sysdeps/alpha/fpu/conjf.c: Likewise.
21565 * sysdeps/alpha/fpu/crealf.c: Likewise.
21566 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
21567 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
21568 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
21569 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
21570 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
21571 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
21572 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
21573 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
21574 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
21575 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
21576 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
21577 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
21578 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
21579 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
21580 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
21581 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
21582 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
21583 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
21584 (clog10f): Use libm_alias_float_other.
21585 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21586 (ceilf): Define using libm_alias_float.
21587 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
21588 (copysignf): Define using libm_alias_float.
21589 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21590 (fabsf): Define using libm_alias_float.
21591 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
21592 (floorf): Define using libm_alias_float.
21593 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
21594 (fmaxf): Define using libm_alias_float.
21595 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
21596 (fminf): Define using libm_alias_float.
21597 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21598 (lrintf): Define using libm_alias_float.
21599 (llrintf): Likewise.
21600 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21601 (lroundf): Define using libm_alias_float.
21602 (llroundf): Likewise.
21603 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
21604 (rintf): Define using libm_alias_float.
21605 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
21606 (truncf): Define using libm_alias_float.
21608 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21609 (ceilf): Define using libm_alias_float.
21610 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
21611 (floorf): Define using libm_alias_float.
21612 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21613 (fmaf): Define using libm_alias_float.
21614 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
21615 (fmaxf): Define using libm_alias_float.
21616 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
21617 (fminf): Define using libm_alias_float.
21618 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
21619 (llrintf): Define using libm_alias_float.
21620 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
21621 (llroundf): Define using libm_alias_float.
21622 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21623 (lrintf): Define using libm_alias_float.
21624 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21625 (lroundf): Define using libm_alias_float.
21626 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
21627 <libm-alias-float.h>.
21628 (nearbyintf): Define using libm_alias_float.
21629 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
21630 (rintf): Define using libm_alias_float.
21631 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
21632 (roundf): Define using libm_alias_float.
21633 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
21634 (truncf): Define using libm_alias_float.
21636 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
21637 (ceil): Define using libm_alias_double.
21638 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
21639 (copysign): Define using libm_alias_double.
21640 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
21641 (fabs): Define using libm_alias_double.
21642 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
21643 (floor): Define using libm_alias_double.
21644 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
21645 (fmax): Define using libm_alias_double.
21646 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
21647 (fmin): Define using libm_alias_double.
21648 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
21649 (lrint): Define using libm_alias_double.
21650 (llrint): Likewise.
21651 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
21652 (lround): Define using libm_alias_double.
21653 (llround): Likewise.
21654 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
21655 (rint): Define using libm_alias_double.
21656 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
21657 (trunc): Define using libm_alias_double.
21659 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21660 (libm_alias_double_r): Add semicolon after weak_alias call.
21662 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21664 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
21665 (ceil): Define using libm_alias_double.
21666 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
21667 (floor): Define using libm_alias_double.
21668 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
21669 (fma): Define using libm_alias_double.
21670 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
21671 (fmax): Define using libm_alias_double.
21672 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
21673 (fmin): Define using libm_alias_double.
21674 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
21675 (llrint): Define using libm_alias_double.
21676 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
21677 (llround): Define using libm_alias_double.
21678 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
21679 (lrint): Define using libm_alias_double.
21680 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
21681 (lround): Define using libm_alias_double.
21682 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
21683 (nearbyint): Define using libm_alias_double.
21684 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
21685 (rint): Define using libm_alias_double.
21686 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
21687 (round): Define using libm_alias_double.
21688 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
21689 (trunc): Define using libm_alias_double.
21691 2017-11-27 Florian Weimer <fweimer@redhat.com>
21693 * sysdeps/unix/sysv/linux/mlock2.c: New file.
21694 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
21695 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
21696 (tests): Add tst-mlock2.
21697 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
21698 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
21699 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
21700 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
21701 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
21702 for mlock. Document mlock2.
21704 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21706 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
21707 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
21709 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
21711 * sysdeps/x86/Makeconfig: New file.
21712 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
21713 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21714 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
21715 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21716 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21717 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21718 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
21720 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21721 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21722 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21723 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21724 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21725 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21726 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21727 * manual/math.texi (Mathematics): Document support for _Float64x.
21728 * math/Versions (GLIBC_2.27): Add _Float64x functions.
21729 * stdlib/Versions (GLIBC_2.27): Likewise.
21730 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21731 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21732 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21733 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21734 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21735 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21736 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21737 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21738 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21739 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21740 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21741 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21746 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21747 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21748 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21749 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21750 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21751 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21752 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21753 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21754 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21755 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21756 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21757 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21758 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21759 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21761 2017-11-27 Andreas Schwab <schwab@suse.de>
21763 * elf/Makefile (dl-routines): Add dl-sort-maps.
21764 * elf/dl-sort-maps.c: New file.
21765 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
21766 (_dl_sort_maps): Declare.
21767 * elf/dl-fini.c (_dl_sort_fini): Remove.
21768 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
21769 * elf/dl-close.c (_dl_close_worker): Likewise.
21770 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
21772 * elf/dl-open.c (dl_open_worker): Likewise.
21774 2017-11-24 Joseph Myers <joseph@codesourcery.com>
21776 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
21777 using libm_alias_float128.
21778 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
21780 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
21782 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
21783 (setpayloadsigf128): Likewise.
21784 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
21786 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
21789 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
21790 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
21791 -mfloat128 to CFLAGS.
21793 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
21795 (CFLAGS-libm-test-support-float64x.c): New variable.
21796 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
21797 $(f128-loader-link) to gnulib-tests.
21799 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
21800 (libm_alias_float128_other_r): If
21801 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
21803 (libm_alias_float128_r): Add semicolon after weak_alias call.
21804 * sysdeps/generic/libm-alias-ldouble.h
21805 (libm_alias_ldouble_other_r_f128): New macro.
21806 (libm_alias_ldouble_other_r_f64x): Likewise.
21807 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21808 and libm_alias_ldouble_other_r_f64x.
21809 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
21810 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
21811 (libm_alias_ldouble_other_r_f128): New macro.
21812 (libm_alias_ldouble_other_r_f64x): Likewise.
21813 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21814 and libm_alias_ldouble_other_r_f64x.
21816 * stdlib/strfroml.c: Always include <stdlib.h>.
21817 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
21818 undefine as macro and define as weak alias.
21819 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
21820 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
21822 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
21823 Define and later undefine as macro and define as weak alias.
21825 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21826 Define and later undefine as macro. Define as weak alias if
21828 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
21829 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21830 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
21831 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21832 Define and later undefine as macro. Define as weak alias if
21834 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
21835 Define and later undefine as macro. Define as weak alias if
21837 * sysdeps/ieee754/float128/strtof128_l.c
21838 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
21839 Define and later undefine as macro. Define as weak alias if
21841 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
21842 Define and later undefine as macro. Define as weak alias if
21844 * sysdeps/ieee754/ldbl-128/strtold_l.c
21845 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21846 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21847 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21848 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21849 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
21850 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21851 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21852 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21853 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21854 * sysdeps/ieee754/ldbl-96/strtold_l.c
21855 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21856 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21857 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21858 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21860 * math/test-float64x.h: New file.
21861 * math/Makefile (type-float64x-yes): New variable.
21862 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
21864 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
21865 function-like macro.
21866 (min_of_type_): Likewise.
21867 (min_of_type_l): Likewise.
21868 (min_of_type_f128): Likewise.
21869 (min_of_type): Pass () as last argument of __MATH_TG.
21871 * stdlib/tst-strtod-round-skeleton.c
21872 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
21875 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
21876 for combinations of long double with _Float64 and _Float64x.
21878 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
21879 (__DECL_SIMD_cosf32): Likewise.
21880 (__DECL_SIMD_cosf64): Likewise.
21881 (__DECL_SIMD_cosf32x): Likewise.
21882 (__DECL_SIMD_cosf64x): Likewise.
21883 (__DECL_SIMD_cosf128x): Likewise.
21884 (__DECL_SIMD_sinf16): Likewise.
21885 (__DECL_SIMD_sinf32): Likewise.
21886 (__DECL_SIMD_sinf64): Likewise.
21887 (__DECL_SIMD_sinf32x): Likewise.
21888 (__DECL_SIMD_sinf64x): Likewise.
21889 (__DECL_SIMD_sinf128x): Likewise.
21890 (__DECL_SIMD_sincosf16): Likewise.
21891 (__DECL_SIMD_sincosf32): Likewise.
21892 (__DECL_SIMD_sincosf64): Likewise.
21893 (__DECL_SIMD_sincosf32x): Likewise.
21894 (__DECL_SIMD_sincosf64x): Likewise.
21895 (__DECL_SIMD_sincosf128x): Likewise.
21896 (__DECL_SIMD_logf16): Likewise.
21897 (__DECL_SIMD_logf32): Likewise.
21898 (__DECL_SIMD_logf64): Likewise.
21899 (__DECL_SIMD_logf32x): Likewise.
21900 (__DECL_SIMD_logf64x): Likewise.
21901 (__DECL_SIMD_logf128x): Likewise.
21902 (__DECL_SIMD_expf16): Likewise.
21903 (__DECL_SIMD_expf32): Likewise.
21904 (__DECL_SIMD_expf64): Likewise.
21905 (__DECL_SIMD_expf32x): Likewise.
21906 (__DECL_SIMD_expf64x): Likewise.
21907 (__DECL_SIMD_expf128x): Likewise.
21908 (__DECL_SIMD_powf16): Likewise.
21909 (__DECL_SIMD_powf32): Likewise.
21910 (__DECL_SIMD_powf64): Likewise.
21911 (__DECL_SIMD_powf32x): Likewise.
21912 (__DECL_SIMD_powf64x): Likewise.
21913 (__DECL_SIMD_powf128x): Likewise.
21915 * stdlib/Versions (libc): Move entries for wcstof128 and
21916 wcstof128_l to ....
21917 * wcsmbs/Versions (libc): ... here.
21918 Include <float128-abi.h>.
21920 2017-11-24 Florian Weimer <fweimer@redhat.com>
21922 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21923 bits/mman-shared.h.
21924 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
21925 <bits/mman-shared.h>.
21926 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
21928 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
21929 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
21930 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
21931 <bits/mman-shared.h>.
21933 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21936 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
21937 posix_memalign/free.
21938 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
21940 2017-11-22 Mike FABIAN <mfabian@redhat.com>
21943 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
21944 and implement the collation rules for pl from CLDR on top of that.
21945 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
21946 of locales to be built for testing.
21947 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
21949 2017-11-23 Joseph Myers <joseph@codesourcery.com>
21951 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
21952 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
21953 libm_alias_ldouble_other.
21954 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
21955 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
21956 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
21957 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
21958 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
21959 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
21960 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
21961 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
21962 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
21963 libm_alias_ldouble_r.
21964 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
21965 libm_alias_ldouble_other.
21966 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
21967 (log10l): Likewise.
21968 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
21969 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
21970 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
21971 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
21972 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
21973 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
21974 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
21975 (atan2l): Likewise.
21976 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
21977 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
21978 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
21979 libm_alias_ldouble.
21980 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
21982 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
21983 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
21984 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
21986 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
21987 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
21988 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
21989 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
21990 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
21991 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
21992 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
21993 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
21994 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
21995 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
21996 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
21997 libm_alias_ldouble.
21998 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
21999 libm_alias_ldouble_other.
22000 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
22001 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
22002 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
22003 libm_alias_ldouble.
22004 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
22005 libm_alias_ldouble_other.
22006 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
22007 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
22008 * sysdeps/ia64/fpu/w_lgammal_main.c
22009 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
22010 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
22012 2017-11-23 Florian Weimer <fweimer@redhat.com>
22014 * malloc/malloc.c (tcache_thread_shutdown): Rename from
22015 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
22016 alike. Remove freeres marker.
22017 * malloc/arena.c (arena_thread_freeres): Call
22018 tcache_thread_shutdown.
22020 2017-11-23 Florian Weimer <fweimer@redhat.com>
22023 Export nscd hash function as __nss_hash.
22024 * include/nss.h (__nss_hash): Declare.
22025 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
22027 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
22028 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
22030 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
22031 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
22032 * nss/Makefiles (routines): Add nss_hash.
22033 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
22034 * nss/nss_hash.c: Rename from nis/nis_hash.c.
22035 (__nss_hash): Rename from __nis_hash. Define hidden alias.
22036 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
22038 2017-11-23 Florian Weimer <fweimer@redhat.com>
22041 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
22042 Return error code, not -1.
22043 * signal/tst-sigwait-eintr.c: New file.
22044 * signal/Makefile (tests): Add tst-sigwait-eintr.
22046 2017-11-23 Florian Weimer <fweimer@redhat.com>
22048 Linux: Add memfd_create system call wrapper
22049 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
22051 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
22052 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
22053 [__USE_GNU] (memfd_create): Declare.
22054 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
22055 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
22056 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
22057 * sysdeps/unix/sysv/linux/**.abilist: Update.
22058 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
22060 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22062 * localedata/gen-locale.sh: Fix typo in variable name.
22064 * resolv/res_debug.c (p_secstodate): Condition definition on
22065 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
22066 directly as __p_secstodate, and as a compat symbol. Do not use
22067 libresolv_hidden_def.
22068 * resolv/resolv.h (p_secstodate): Remove macro and function
22070 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
22071 using p_secstodate.
22072 * include/resolv.h (__p_secstodate): Do not use
22073 libresolv_hidden_proto.
22074 * resolv/Makefile (tests): Move tst-p_secstodate to ....
22075 (tests-internal): ... here.
22076 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
22077 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
22078 and declare and use __p_secstodate and use compat_symbol_reference
22080 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
22081 implementation returning 77.
22084 * resolv/res_debug.c: Include <libc-diag.h>.
22085 (p_secstodate): Assert time_t at least as wide as u_long. On
22086 overflow, use integer seconds since the epoch as output, or use
22087 "<overflow>" as output and set errno to EOVERFLOW if integer
22088 seconds since the epoch would be 14 or more characters.
22089 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
22091 * resolv/tst-p_secstodate.c: New file.
22092 * resolv/Makefile (tests): Add tst-p_secstodate.
22093 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
22095 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
22096 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22097 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
22099 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
22101 * posix/regcomp.c (init_word_char): Add comments.
22103 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22106 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
22107 strlen to compute length of ut_user and set trailing NUL byte of
22110 2017-11-21 Mike FABIAN <mfabian@redhat.com>
22113 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
22114 using “copy "iso14651_t1"” and then implementing the
22115 collation rules for lv from CLDR on top of that.
22116 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
22117 of locales to be built for testing.
22118 * lv_LV.UTF-8.in: New file with test data to test the Latvian
22121 2017-11-21 Joseph Myers <joseph@codesourcery.com>
22123 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22124 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
22125 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
22126 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
22127 [__USE_MISC] (MADV_HWPOISON): New macro.
22128 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
22130 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22132 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
22133 -Wmissing-braces on GCC 4.9.
22135 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22137 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
22138 * sysdeps/s390/s390-32/start.S (_start): Likewise
22139 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
22140 (thread_start): Likewise.
22141 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
22142 (thread_start): Likewise.
22143 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
22144 (__makecontext_ret): Likewise.
22145 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
22146 (__makecontext_ret): Likewise.
22148 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22150 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
22151 __wcschrnul): Remove attribute_hidden.
22153 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
22155 regex: don't assume uint64_t or uint32_t
22156 This avoids -Werror=overflow errors for 32-bit systems in
22157 the 64-bit case. Problem reported by Joseph Myers in:
22158 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
22159 Also, when this code is used in Gnulib it ports to platforms
22160 that lack uint64_t and uint32_t. The C standard doesn't guarantee
22161 them, and on some 32-bit compilers there is no uint64_t.
22162 Problem reported by Gianluigi Tiesi in:
22163 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
22164 * posix/regcomp.c (init_word_char): Don't assume that the types
22165 uint64_t and uint32_t exist. Adapted from Gnulib patch
22166 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
22167 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
22169 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
22171 * sysdeps/aarch64/memset-reg.h: New file.
22172 * sysdeps/aarch64/memset.S: Use it.
22173 (__memset): Rename to MEMSET macro.
22174 [ZVA_MACRO]: Use zva_macro.
22175 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
22176 Add memset_generic and memset_falkor.
22177 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
22178 (__libc_ifunc_impl_list): Add memset ifuncs.
22179 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
22180 local variable zva_size.
22181 * sysdeps/aarch64/multiarch/memset.c: New file.
22182 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
22183 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
22184 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
22185 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
22186 (DCZID_DZP_MASK): New macro.
22187 (DCZID_BS_MASK): Likewise.
22188 (init_cpu_features): Read and set zva_size.
22189 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
22190 (struct cpu_features): New member zva_size.
22192 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
22193 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
22194 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
22196 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
22197 backwards. Fix timing computation.
22198 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
22199 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
22200 on memset by N at a time. Fix timing computation.
22202 2017-11-20 Florian Weimer <fweimer@redhat.com>
22204 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
22205 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
22207 2017-11-19 Florian Weimer <fweimer@redhat.com>
22209 manual: Document mprotect
22210 * manual/memory.texi (Memory Protection): New section.
22211 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
22212 documentation of PROT_* flags and reference the Memory Protection
22215 2017-11-19 Florian Weimer <fweimer@redhat.com>
22217 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
22218 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
22219 (Scatter-Gather): ... to here. Remove misleading comment.
22221 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
22223 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
22226 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
22227 when /proc/<pid>/setgroups does not exist.
22229 2017-11-18 Florian Weimer <fweimer@redhat.com>
22231 * sysdeps/unix/sysv/linux/tst-ttyname.c
22232 (become_root_in_mount_ns): Remove.
22233 (do_in_chroot_1): Call support_enter_mount_namespace.
22234 (do_in_chroot_2): Likewise.
22235 (do_test): Call support_become_root early.
22237 2017-11-18 Florian Weimer <fweimer@redhat.com>
22239 * support/namespace.h (support_enter_mount_namespace): Declare.
22240 * support/support_enter_mount_namespace.c: New file.
22241 * support/Makefile (libsupport-routines): Add
22242 support_enter_mount_namespace.
22244 2017-11-18 Florian Weimer <fweimer@redhat.com>
22246 * support/temp_file.c (support_create_temp_directory): Use
22247 test_dir and do not rely on the presence of the XXXXXX suffix.
22248 * support/temp_file.h (support_create_temp_directory): Update
22250 * support/tst-xreadlink.c (do_test): Adjust.
22251 * support/support_chroot.c (support_chroot_create): Likewise.
22253 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22255 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
22257 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
22260 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22262 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22263 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22264 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22265 (ceill): Define using libm_alias_ldouble.
22266 * sysdeps/x86_64/fpu/s_copysignl.S: Include
22267 <libm-alias-ldouble.h>.
22268 (copysignl): Define using libm_alias_ldouble.
22269 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22270 (fabsl): Define using libm_alias_ldouble.
22271 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22272 (floorl): Define using libm_alias_ldouble.
22273 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22274 (fmaxl): Define using libm_alias_ldouble.
22275 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22276 (fminl): Define using libm_alias_ldouble.
22277 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22278 (llrintl): Define using libm_alias_ldouble.
22279 (lrintl): Likewise.
22280 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
22281 <libm-alias-ldouble.h>.
22282 (nearbyintl): Define using libm_alias_ldouble.
22283 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22284 (truncl): Define using libm_alias_ldouble.
22285 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
22286 <libm-alias-ldouble.h>.
22287 (lrintl): Define using libm_alias_ldouble.
22289 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22290 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22291 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
22292 (asinhl): Define using libm_alias_ldouble.
22293 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
22294 (atanl): Define using libm_alias_ldouble.
22295 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
22296 (cbrtl): Define using libm_alias_ldouble.
22297 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22298 (ceill): Define using libm_alias_ldouble.
22299 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
22300 (copysignl): Define using libm_alias_ldouble.
22301 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22302 (fabsl): Define using libm_alias_ldouble.
22303 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22304 (floorl): Define using libm_alias_ldouble.
22305 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22306 (fmaxl): Define using libm_alias_ldouble.
22307 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22308 (fminl): Define using libm_alias_ldouble.
22309 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
22310 (frexpl): Define using libm_alias_ldouble.
22311 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22312 (llrintl): Define using libm_alias_ldouble.
22313 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
22314 (logbl): Define using libm_alias_ldouble.
22315 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
22316 (lrintl): Define using libm_alias_ldouble.
22317 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
22318 (nearbyintl): Define using libm_alias_ldouble.
22319 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
22320 (nextafterl): Define using libm_alias_ldouble.
22321 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
22322 (remquol): Define using libm_alias_ldouble.
22323 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
22324 (rintl): Define using libm_alias_ldouble.
22325 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22326 (truncl): Define using libm_alias_ldouble.
22327 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22328 (fmaxl): Define using libm_alias_ldouble.
22329 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22330 (fminl): Define using libm_alias_ldouble.
22332 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
22333 to C syntax instead of availability and properties of types.
22334 * bits/floatn.h [!__ASSEMBLER]: Likewise.
22335 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
22336 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
22337 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
22338 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
22339 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
22341 2017-11-17 Florian Weimer <fweimer@redhat.com>
22343 support_become_root: Enable file creation in namespaces.
22344 * support/support_become_root.c (setup_mapping): New function.
22345 (support_become_root): Call it.
22347 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22349 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
22352 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22354 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
22355 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
22357 2017-11-16 Joseph Myers <joseph@codesourcery.com>
22359 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
22361 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22364 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
22366 * INSTALL: Fix botched up regeneration.
22368 * NEWS: Update sourceare link to https.
22369 * configure.ac: Likewise.
22370 * crypt/md5test-giant.c: Likewise.
22371 * dlfcn/bug-atexit1.c: Likewise.
22372 * dlfcn/bug-atexit2.c: Likewise.
22373 * localedata/README: Likewise.
22374 * malloc/tst-mallocfork.c: Likewise.
22375 * manual/install.texi: Likewise.
22376 * nptl/tst-pthread-getattr.c: Likewise.
22377 * stdio-common/tst-fgets.c: Likewise.
22378 * stdio-common/tst-fwrite.c: Likewise.
22379 * sunrpc/Makefile: Likewise.
22380 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
22381 * wcsmbs/tst-mbrtowc2.c: Likewise.
22382 * configure: Regenerate.
22383 * INSTALL: Regenerate.
22385 2017-11-15 Martin Sebor <msebor@redhat.com>
22387 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
22388 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
22389 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
22391 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22394 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
22395 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
22398 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
22399 Defer is_pty check until end of the function.
22400 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22403 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
22404 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
22405 (ttyname): Likewise.
22406 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
22407 (__ttyname_r): Likewise.
22409 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
22412 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
22414 * manual/terminal.texi (Is It a Terminal):
22415 Mention ENODEV for ttyname and ttyname_r.
22417 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22419 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
22420 constant and macro.
22422 * sysdeps/unix/sysv/linux/bits/mman-linux.h
22423 [__USE_MISC] (MADV_WIPEONFORK): New macro.
22424 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22425 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22426 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
22427 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22429 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22431 * signal/sigrelse.c (sigrelse): Optimize implementation.
22433 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
22434 (__sigpause): Rely on __sigsuspend to implement single thread
22435 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
22437 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22439 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22440 kernel version to 4.14.
22442 2017-11-15 Steve Ellcey <sellcey@cavium.com>
22445 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
22446 Check if ifname is too long.
22448 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22450 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
22452 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22454 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
22455 was accidentally lost.
22457 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22459 * localedata/locales/az_IR: Add standard copyright header.
22461 2017-11-15 Florian Weimer <fweimer@redhat.com>
22464 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
22465 not just the top one. Output a new "subheaps" statistic.
22467 2017-11-15 Florian Weimer <fweimer@redhat.com>
22470 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
22471 under the per-arena lock.
22472 * malloc/Makefile (tests): Add tst-malloc_info.
22473 (tst-malloc_info): Link with libpthread.
22474 * malloc/tst-malloc_info.c: New file.
22476 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22479 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
22480 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
22481 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
22482 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
22483 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
22484 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
22485 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
22486 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
22487 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
22488 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
22489 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
22490 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
22491 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
22492 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
22493 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
22494 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
22495 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
22496 (__floating_type): Likewise.
22497 (__real_integer_type): Likewise.
22498 (__complex_integer_type): Likewise.
22499 (__expr_is_real): Likewise.
22500 (__tgmath_real_type_sub): Likewise.
22501 (__tgmath_real_type): Likewise.
22502 (__tgmath_complex_type_sub): Likewise.
22503 (__tgmath_complex_type): Likewise.
22504 (__TGMATH_F128): Likewise.
22505 (__TGMATH_CF128): Likewise.
22506 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
22508 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
22509 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
22511 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
22513 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
22514 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
22515 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
22516 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
22518 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
22519 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
22521 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
22522 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
22523 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
22525 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
22526 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
22527 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
22531 2017-11-14 Joseph Myers <joseph@codesourcery.com>
22533 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
22534 for stpncpy calls for GCC 8.
22535 (test_strncat): Disable -Wstringop-truncation warning for strncat
22536 calls for GCC 8. Disable -Wstringop-overflow= warning for one
22537 strncat call for GCC 7.
22538 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
22540 (test_memcmp): Use memcpy instead of strncpy for calls not copying
22543 * string/bug-strncat1.c: Include <libc-diag.h>.
22544 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
22546 2017-11-13 Claude Paroz <claude@2xlibre.net>
22549 * localedata/locales/aa_DJ: Improved readibility by replacing
22550 <Uxxxx> sequences in the ASCII printable range by their ASCII
22551 character equivalents.
22552 * localedata/locales/aa_ER: Likewise.
22553 * localedata/locales/aa_ER@saaho: Likewise.
22554 * localedata/locales/aa_ET: Likewise.
22555 * localedata/locales/af_ZA: Likewise.
22556 * localedata/locales/agr_PE: Likewise.
22557 * localedata/locales/ak_GH: Likewise.
22558 * localedata/locales/am_ET: Likewise.
22559 * localedata/locales/anp_IN: Likewise.
22560 * localedata/locales/ar_AE: Likewise.
22561 * localedata/locales/ar_BH: Likewise.
22562 * localedata/locales/ar_DZ: Likewise.
22563 * localedata/locales/ar_EG: Likewise.
22564 * localedata/locales/ar_IN: Likewise.
22565 * localedata/locales/ar_IQ: Likewise.
22566 * localedata/locales/ar_JO: Likewise.
22567 * localedata/locales/ar_KW: Likewise.
22568 * localedata/locales/ar_LB: Likewise.
22569 * localedata/locales/ar_LY: Likewise.
22570 * localedata/locales/ar_MA: Likewise.
22571 * localedata/locales/ar_OM: Likewise.
22572 * localedata/locales/ar_QA: Likewise.
22573 * localedata/locales/ar_SA: Likewise.
22574 * localedata/locales/ar_SD: Likewise.
22575 * localedata/locales/ar_SS: Likewise.
22576 * localedata/locales/ar_SY: Likewise.
22577 * localedata/locales/ar_TN: Likewise.
22578 * localedata/locales/ar_YE: Likewise.
22579 * localedata/locales/as_IN: Likewise.
22580 * localedata/locales/ast_ES: Likewise.
22581 * localedata/locales/ayc_PE: Likewise.
22582 * localedata/locales/az_AZ: Likewise.
22583 * localedata/locales/az_IR: Likewise.
22584 * localedata/locales/be_BY: Likewise.
22585 * localedata/locales/be_BY@latin: Likewise.
22586 * localedata/locales/bem_ZM: Likewise.
22587 * localedata/locales/ber_DZ: Likewise.
22588 * localedata/locales/ber_MA: Likewise.
22589 * localedata/locales/bg_BG: Likewise.
22590 * localedata/locales/bhb_IN: Likewise.
22591 * localedata/locales/bho_IN: Likewise.
22592 * localedata/locales/bi_VU: Likewise.
22593 * localedata/locales/bn_BD: Likewise.
22594 * localedata/locales/bn_IN: Likewise.
22595 * localedata/locales/bo_CN: Likewise.
22596 * localedata/locales/bo_IN: Likewise.
22597 * localedata/locales/br_FR: Likewise.
22598 * localedata/locales/brx_IN: Likewise.
22599 * localedata/locales/bs_BA: Likewise.
22600 * localedata/locales/byn_ER: Likewise.
22601 * localedata/locales/ca_AD: Likewise.
22602 * localedata/locales/ca_ES: Likewise.
22603 * localedata/locales/ca_FR: Likewise.
22604 * localedata/locales/ca_IT: Likewise.
22605 * localedata/locales/ce_RU: Likewise.
22606 * localedata/locales/chr_US: Likewise.
22607 * localedata/locales/cmn_TW: Likewise.
22608 * localedata/locales/crh_UA: Likewise.
22609 * localedata/locales/cs_CZ: Likewise.
22610 * localedata/locales/csb_PL: Likewise.
22611 * localedata/locales/cv_RU: Likewise.
22612 * localedata/locales/cy_GB: Likewise.
22613 * localedata/locales/da_DK: Likewise.
22614 * localedata/locales/de_AT: Likewise.
22615 * localedata/locales/de_BE: Likewise.
22616 * localedata/locales/de_CH: Likewise.
22617 * localedata/locales/de_DE: Likewise.
22618 * localedata/locales/de_IT: Likewise.
22619 * localedata/locales/de_LI: Likewise.
22620 * localedata/locales/de_LU: Likewise.
22621 * localedata/locales/doi_IN: Likewise.
22622 * localedata/locales/dv_MV: Likewise.
22623 * localedata/locales/dz_BT: Likewise.
22624 * localedata/locales/el_CY: Likewise.
22625 * localedata/locales/el_GR: Likewise.
22626 * localedata/locales/en_AG: Likewise.
22627 * localedata/locales/en_AU: Likewise.
22628 * localedata/locales/en_BW: Likewise.
22629 * localedata/locales/en_CA: Likewise.
22630 * localedata/locales/en_DK: Likewise.
22631 * localedata/locales/en_GB: Likewise.
22632 * localedata/locales/en_HK: Likewise.
22633 * localedata/locales/en_IE: Likewise.
22634 * localedata/locales/en_IL: Likewise.
22635 * localedata/locales/en_IN: Likewise.
22636 * localedata/locales/en_NG: Likewise.
22637 * localedata/locales/en_NZ: Likewise.
22638 * localedata/locales/en_PH: Likewise.
22639 * localedata/locales/en_SG: Likewise.
22640 * localedata/locales/en_US: Likewise.
22641 * localedata/locales/en_ZA: Likewise.
22642 * localedata/locales/en_ZM: Likewise.
22643 * localedata/locales/en_ZW: Likewise.
22644 * localedata/locales/eo: Likewise.
22645 * localedata/locales/es_AR: Likewise.
22646 * localedata/locales/es_BO: Likewise.
22647 * localedata/locales/es_CL: Likewise.
22648 * localedata/locales/es_CO: Likewise.
22649 * localedata/locales/es_CR: Likewise.
22650 * localedata/locales/es_CU: Likewise.
22651 * localedata/locales/es_DO: Likewise.
22652 * localedata/locales/es_EC: Likewise.
22653 * localedata/locales/es_ES: Likewise.
22654 * localedata/locales/es_GT: Likewise.
22655 * localedata/locales/es_HN: Likewise.
22656 * localedata/locales/es_MX: Likewise.
22657 * localedata/locales/es_NI: Likewise.
22658 * localedata/locales/es_PA: Likewise.
22659 * localedata/locales/es_PE: Likewise.
22660 * localedata/locales/es_PR: Likewise.
22661 * localedata/locales/es_PY: Likewise.
22662 * localedata/locales/es_SV: Likewise.
22663 * localedata/locales/es_US: Likewise.
22664 * localedata/locales/es_UY: Likewise.
22665 * localedata/locales/es_VE: Likewise.
22666 * localedata/locales/et_EE: Likewise.
22667 * localedata/locales/eu_ES: Likewise.
22668 * localedata/locales/eu_ES@euro: Likewise.
22669 * localedata/locales/fa_IR: Likewise.
22670 * localedata/locales/ff_SN: Likewise.
22671 * localedata/locales/fi_FI: Likewise.
22672 * localedata/locales/fil_PH: Likewise.
22673 * localedata/locales/fo_FO: Likewise.
22674 * localedata/locales/fr_BE: Likewise.
22675 * localedata/locales/fr_CA: Likewise.
22676 * localedata/locales/fr_CH: Likewise.
22677 * localedata/locales/fr_FR: Likewise.
22678 * localedata/locales/fr_LU: Likewise.
22679 * localedata/locales/fur_IT: Likewise.
22680 * localedata/locales/fy_DE: Likewise.
22681 * localedata/locales/fy_NL: Likewise.
22682 * localedata/locales/ga_IE: Likewise.
22683 * localedata/locales/gd_GB: Likewise.
22684 * localedata/locales/gez_ER: Likewise.
22685 * localedata/locales/gez_ET: Likewise.
22686 * localedata/locales/gl_ES: Likewise.
22687 * localedata/locales/gu_IN: Likewise.
22688 * localedata/locales/gv_GB: Likewise.
22689 * localedata/locales/ha_NG: Likewise.
22690 * localedata/locales/hak_TW: Likewise.
22691 * localedata/locales/he_IL: Likewise.
22692 * localedata/locales/hi_IN: Likewise.
22693 * localedata/locales/hif_FJ: Likewise.
22694 * localedata/locales/hne_IN: Likewise.
22695 * localedata/locales/hr_HR: Likewise.
22696 * localedata/locales/hsb_DE: Likewise.
22697 * localedata/locales/ht_HT: Likewise.
22698 * localedata/locales/hu_HU: Likewise.
22699 * localedata/locales/hy_AM: Likewise.
22700 * localedata/locales/i18n: Likewise.
22701 * localedata/locales/ia_FR: Likewise.
22702 * localedata/locales/id_ID: Likewise.
22703 * localedata/locales/ig_NG: Likewise.
22704 * localedata/locales/ik_CA: Likewise.
22705 * localedata/locales/is_IS: Likewise.
22706 * localedata/locales/it_CH: Likewise.
22707 * localedata/locales/it_IT: Likewise.
22708 * localedata/locales/iu_CA: Likewise.
22709 * localedata/locales/ja_JP: Likewise.
22710 * localedata/locales/ka_GE: Likewise.
22711 * localedata/locales/kk_KZ: Likewise.
22712 * localedata/locales/kl_GL: Likewise.
22713 * localedata/locales/kn_IN: Likewise.
22714 * localedata/locales/ko_KR: Likewise.
22715 * localedata/locales/kok_IN: Likewise.
22716 * localedata/locales/ks_IN: Likewise.
22717 * localedata/locales/ks_IN@devanagari: Likewise.
22718 * localedata/locales/ku_TR: Likewise.
22719 * localedata/locales/kw_GB: Likewise.
22720 * localedata/locales/ky_KG: Likewise.
22721 * localedata/locales/lb_LU: Likewise.
22722 * localedata/locales/lg_UG: Likewise.
22723 * localedata/locales/li_BE: Likewise.
22724 * localedata/locales/li_NL: Likewise.
22725 * localedata/locales/lij_IT: Likewise.
22726 * localedata/locales/ln_CD: Likewise.
22727 * localedata/locales/lo_LA: Likewise.
22728 * localedata/locales/lt_LT: Likewise.
22729 * localedata/locales/lv_LV: Likewise.
22730 * localedata/locales/lzh_TW: Likewise.
22731 * localedata/locales/mag_IN: Likewise.
22732 * localedata/locales/mai_IN: Likewise.
22733 * localedata/locales/mg_MG: Likewise.
22734 * localedata/locales/mhr_RU: Likewise.
22735 * localedata/locales/mi_NZ: Likewise.
22736 * localedata/locales/mk_MK: Likewise.
22737 * localedata/locales/ml_IN: Likewise.
22738 * localedata/locales/mn_MN: Likewise.
22739 * localedata/locales/mni_IN: Likewise.
22740 * localedata/locales/mr_IN: Likewise.
22741 * localedata/locales/ms_MY: Likewise.
22742 * localedata/locales/mt_MT: Likewise.
22743 * localedata/locales/my_MM: Likewise.
22744 * localedata/locales/nan_TW: Likewise.
22745 * localedata/locales/nan_TW@latin: Likewise.
22746 * localedata/locales/nb_NO: Likewise.
22747 * localedata/locales/nds_DE: Likewise.
22748 * localedata/locales/nds_NL: Likewise.
22749 * localedata/locales/ne_NP: Likewise.
22750 * localedata/locales/nhn_MX: Likewise.
22751 * localedata/locales/niu_NU: Likewise.
22752 * localedata/locales/niu_NZ: Likewise.
22753 * localedata/locales/nl_AW: Likewise.
22754 * localedata/locales/nl_BE: Likewise.
22755 * localedata/locales/nl_NL: Likewise.
22756 * localedata/locales/nn_NO: Likewise.
22757 * localedata/locales/nr_ZA: Likewise.
22758 * localedata/locales/nso_ZA: Likewise.
22759 * localedata/locales/oc_FR: Likewise.
22760 * localedata/locales/om_ET: Likewise.
22761 * localedata/locales/om_KE: Likewise.
22762 * localedata/locales/or_IN: Likewise.
22763 * localedata/locales/os_RU: Likewise.
22764 * localedata/locales/pa_IN: Likewise.
22765 * localedata/locales/pa_PK: Likewise.
22766 * localedata/locales/pap_AW: Likewise.
22767 * localedata/locales/pap_CW: Likewise.
22768 * localedata/locales/pl_PL: Likewise.
22769 * localedata/locales/ps_AF: Likewise.
22770 * localedata/locales/pt_BR: Likewise.
22771 * localedata/locales/pt_PT: Likewise.
22772 * localedata/locales/quz_PE: Likewise.
22773 * localedata/locales/raj_IN: Likewise.
22774 * localedata/locales/ro_RO: Likewise.
22775 * localedata/locales/ru_RU: Likewise.
22776 * localedata/locales/ru_UA: Likewise.
22777 * localedata/locales/rw_RW: Likewise.
22778 * localedata/locales/sa_IN: Likewise.
22779 * localedata/locales/sat_IN: Likewise.
22780 * localedata/locales/sc_IT: Likewise.
22781 * localedata/locales/sd_IN: Likewise.
22782 * localedata/locales/sd_IN@devanagari: Likewise.
22783 * localedata/locales/se_NO: Likewise.
22784 * localedata/locales/sgs_LT: Likewise.
22785 * localedata/locales/shs_CA: Likewise.
22786 * localedata/locales/si_LK: Likewise.
22787 * localedata/locales/sid_ET: Likewise.
22788 * localedata/locales/sk_SK: Likewise.
22789 * localedata/locales/sl_SI: Likewise.
22790 * localedata/locales/sm_WS: Likewise.
22791 * localedata/locales/so_DJ: Likewise.
22792 * localedata/locales/so_ET: Likewise.
22793 * localedata/locales/so_KE: Likewise.
22794 * localedata/locales/so_SO: Likewise.
22795 * localedata/locales/sq_AL: Likewise.
22796 * localedata/locales/sq_MK: Likewise.
22797 * localedata/locales/sr_ME: Likewise.
22798 * localedata/locales/sr_RS: Likewise.
22799 * localedata/locales/sr_RS@latin: Likewise.
22800 * localedata/locales/ss_ZA: Likewise.
22801 * localedata/locales/st_ZA: Likewise.
22802 * localedata/locales/sv_FI: Likewise.
22803 * localedata/locales/sv_SE: Likewise.
22804 * localedata/locales/sw_KE: Likewise.
22805 * localedata/locales/sw_TZ: Likewise.
22806 * localedata/locales/szl_PL: Likewise.
22807 * localedata/locales/ta_IN: Likewise.
22808 * localedata/locales/ta_LK: Likewise.
22809 * localedata/locales/tcy_IN: Likewise.
22810 * localedata/locales/te_IN: Likewise.
22811 * localedata/locales/tg_TJ: Likewise.
22812 * localedata/locales/th_TH: Likewise.
22813 * localedata/locales/the_NP: Likewise.
22814 * localedata/locales/ti_ER: Likewise.
22815 * localedata/locales/ti_ET: Likewise.
22816 * localedata/locales/tig_ER: Likewise.
22817 * localedata/locales/tk_TM: Likewise.
22818 * localedata/locales/tl_PH: Likewise.
22819 * localedata/locales/tn_ZA: Likewise.
22820 * localedata/locales/to_TO: Likewise.
22821 * localedata/locales/tpi_PG: Likewise.
22822 * localedata/locales/tr_CY: Likewise.
22823 * localedata/locales/tr_TR: Likewise.
22824 * localedata/locales/ts_ZA: Likewise.
22825 * localedata/locales/tt_RU: Likewise.
22826 * localedata/locales/tt_RU@iqtelif: Likewise.
22827 * localedata/locales/ug_CN: Likewise.
22828 * localedata/locales/uk_UA: Likewise.
22829 * localedata/locales/unm_US: Likewise.
22830 * localedata/locales/ur_IN: Likewise.
22831 * localedata/locales/ur_PK: Likewise.
22832 * localedata/locales/uz_UZ: Likewise.
22833 * localedata/locales/uz_UZ@cyrillic: Likewise.
22834 * localedata/locales/ve_ZA: Likewise.
22835 * localedata/locales/vi_VN: Likewise.
22836 * localedata/locales/wa_BE: Likewise.
22837 * localedata/locales/wae_CH: Likewise.
22838 * localedata/locales/wal_ET: Likewise.
22839 * localedata/locales/wo_SN: Likewise.
22840 * localedata/locales/xh_ZA: Likewise.
22841 * localedata/locales/yi_US: Likewise.
22842 * localedata/locales/yo_NG: Likewise.
22843 * localedata/locales/yue_HK: Likewise.
22844 * localedata/locales/yuw_PG: Likewise.
22845 * localedata/locales/zh_CN: Likewise.
22846 * localedata/locales/zh_HK: Likewise.
22847 * localedata/locales/zh_SG: Likewise.
22848 * localedata/locales/zh_TW: Likewise.
22849 * localedata/locales/zu_ZA: Likewise.
22851 2017-11-13 Florian Weimer <fweimer@redhat.com>
22853 * support/next_to_fault.h, support/next_to_fault.c: New files.
22854 * support/Makefile (libsupport-routines): Add next_to_fault.
22855 * resolv/tst-inet_pton.c (struct next_to_fault)
22856 (next_to_fault_allocate, next_to_fault_free): Remove.
22857 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
22859 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
22861 * elf/dl-support.c: Include <dl-procruntime.c>.
22862 * include/link.h: Include <link_map.h>.
22863 * sysdeps/generic/dl-procruntime.c: New file.
22864 * sysdeps/generic/link_map.h: Likewise.
22865 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
22866 the writable ld.so namespace.
22868 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
22870 timezone: pacify GCC -Wstringop-truncation
22871 Problem reported by Martin Sebor in:
22872 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
22873 * timezone/zic.c (writezone): Use memcpy, not strncpy.
22875 2017-11-12 Florian Weimer <fweimer@redhat.com>
22877 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
22879 (tests): Add tst-xreadlink.
22880 * support/support.h (xstrndup): Declare.
22881 * support/xunistd.h (xunlink, xreadlink): Declare.
22882 * support/temp_file.h (support_create_temp_directory): Declare.
22883 * support/temp_file.c (support_create_temp_directory): New function.
22884 * support/support_chroot.c (support_chroot_create): Use it.
22885 * support/xreadlink.c: New file.
22886 * support/xstrndup.c: Likewise.
22887 * support/xunlink.c: Likewise.
22888 * support/tst-xreadlink.c: Likewise.
22890 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
22892 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
22894 2017-11-11 Florian Weimer <fweimer@redhat.com>
22898 * resolv/res_comp.c (printable_string, binary_hnok)
22899 (binary_leading_dash): New functions.
22900 (res_hnok): Reimplement using these functions and ns_name_pton.
22901 (res_ownok): Likewise.
22902 (res_mailok): Reimplement using printable_string, ns_name_pton and
22904 (res_dnok): Reimplement using printable_string and ns_name_pton.
22905 * resolv/tst-res_hnok.c (tests): Add additional tests.
22906 (LETTERDIGITS, PRINTABLE): Define.
22907 (do_test): Adjust one_char results.
22909 2017-11-11 Florian Weimer <fweimer@redhat.com>
22912 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
22913 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
22915 2017-11-11 Florian Weimer <fweimer@redhat.com>
22917 * resolv/tst-ns_name_pton.c: New file.
22918 * resolv/Makefile (tests): Add tst-ns_name_pton.
22919 (tst-ns_name_pton): Link against libresolv.
22921 2017-11-11 Florian Weimer <fweimer@redhat.com>
22923 * resolv/tst-res_hnok.c: New file.
22924 * resolv/Makefile (tests): Add tst-res_hnok.
22925 (tst-res_hnok): Link against libresolv.
22927 2017-11-11 Florian Weimer <fweimer@redhat.com>
22929 * resolv/tst-resolv-network.c: Use test framework instead explicit
22932 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
22934 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
22935 <jmp_buf-macros.h>.
22936 [!_ISOMAC] (STR_HELPER): New.
22937 [!_ISOMAC] (STR): Likewise.
22938 [!_ISOMAC] (TEST_SIZE): Likewise.
22939 [!_ISOMAC] (TEST_ALIGN): Likewise.
22940 [!_ISOMAC] (TEST_OFFSET): Likewise.
22941 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
22942 field offsets of jmp_buf as well as sigjmp_buf.
22943 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
22944 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
22945 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
22946 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
22947 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
22948 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
22949 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
22950 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
22951 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
22952 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
22954 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
22956 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
22957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
22959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
22961 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
22962 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
22963 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
22964 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
22965 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
22966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
22968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
22970 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22971 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
22972 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
22974 2017-11-07 Joseph Myers <joseph@codesourcery.com>
22977 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22978 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
22979 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22980 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
22981 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22982 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
22983 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22984 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
22985 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22986 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
22987 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22988 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
22989 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22990 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
22991 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22992 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
22993 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22994 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
22995 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22996 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
22997 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22998 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
22999 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23000 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
23001 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23002 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
23003 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23004 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
23005 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23006 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
23007 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23008 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
23009 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23010 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
23011 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23012 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
23013 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23014 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
23015 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23016 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
23017 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23018 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
23019 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23020 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
23021 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23022 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
23023 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23024 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
23025 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23026 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
23027 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23028 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
23029 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23030 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
23031 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23032 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
23033 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23034 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
23035 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23036 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
23037 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23038 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
23039 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23040 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
23041 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23042 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
23043 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23044 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
23045 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23046 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
23047 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23048 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
23049 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23050 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
23051 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23052 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
23053 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23054 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
23055 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23056 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
23057 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23058 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
23059 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23060 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
23061 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23062 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
23063 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23064 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
23066 * stdlib/tst-strtod.h (F16): New macro.
23072 (IF_FLOAT16): Likewise.
23073 (IF_FLOAT32): Likewise.
23074 (IF_FLOAT64): Likewise.
23075 (IF_FLOAT32X): Likewise.
23076 (IF_FLOAT64X): Likewise.
23077 (IF_FLOAT128X): Likewise.
23078 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
23079 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
23080 (STRTOD_TEST_FOREACH): Likewise.
23081 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
23082 (CHOOSE_f64): Likewise.
23083 (CHOOSE_f32x): Likewise.
23084 (CHOOSE_f64x): Likewise.
23086 2017-11-07 Andreas Schwab <schwab@suse.de>
23088 * nptl/Makefile (tests-internal): Remove tst-typesizes.
23090 2017-11-07 Mike FABIAN <mfabian@redhat.com>
23093 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
23095 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
23098 2017-11-07 Claude Paroz <claude@2xlibre.net>
23101 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
23103 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
23105 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
23108 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23111 * nptl/allocatestack.c (allocate_stack): Check if
23112 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
23113 __PTHREAD_MUTEX_HAVE_PREV is defined.
23114 * nptl/descr.h (pthread): Likewise.
23115 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23117 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23118 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23119 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
23120 * sysdeps/nptl/bits/thread-shared-types.h
23121 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23123 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
23124 of __WORDSIZE for internal layout.
23125 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
23126 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
23127 instead of __WORDSIZE whether to use an union for __spins and __list
23129 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
23131 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
23132 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23134 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
23135 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23137 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
23138 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23140 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
23141 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23143 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
23144 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23146 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
23147 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23149 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
23150 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23152 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
23153 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23155 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
23156 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23158 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
23159 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23161 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
23162 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23164 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
23165 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23167 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
23168 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23170 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
23171 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23173 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
23174 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23177 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
23179 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
23180 checks for expected input type size.
23181 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23182 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23184 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23185 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
23186 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23187 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
23188 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23189 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
23190 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
23191 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
23192 superflous runtime assert check.
23193 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
23195 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
23197 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23199 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
23201 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
23203 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
23205 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
23206 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
23207 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23209 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23211 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23213 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
23215 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23217 * nptl/pthread_attr_setinheritsched.c
23218 (__pthread_attr_setinheritsched): Likewise.
23219 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
23221 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
23223 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
23224 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
23225 __old_pthread_attr_setstack): Likewise.
23226 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23228 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23230 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
23232 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23233 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23235 * nptl/tst-typesizes.c: Remove file.
23237 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
23238 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
23239 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
23240 checks for internal pthread_mutex_t offsets.
23241 * sysdeps/aarch64/nptl/pthread-offsets.h
23242 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
23243 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
23244 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
23245 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
23246 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
23247 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
23248 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
23249 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
23250 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
23251 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
23252 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
23253 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
23254 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
23255 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
23256 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
23257 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
23258 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
23259 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
23261 2017-11-07 Florian Weimer <fweimer@redhat.com>
23263 * bits/mman-linux.h: Move ...
23264 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
23266 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
23269 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23271 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
23272 Redefine STRNLEN as __strnlen_power8.
23274 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23276 * signal/sighold.c (sighold): Optimize implementation.
23278 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
23279 __NR_rt_sigqueueinfo.
23281 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23283 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
23284 assume __NR_rt_sigtimedwait.
23285 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
23286 and add LIBC_CANCEL_HANDLED for cancellation marking.
23287 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23289 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23290 (sysdeps_routines): Add memchr_noneon.
23291 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
23292 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
23293 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
23294 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
23295 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
23296 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
23297 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
23299 * sysdeps/arm/arm-ifunc.h: New file.
23300 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
23301 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
23302 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
23303 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
23304 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
23305 (__memcpy_neon): Avoid create hidden alias.
23306 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
23307 (__memcpy_vfp): Likewise.
23308 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23309 (sysdep_routines): Add memcpy_arm.
23310 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
23312 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
23315 * Makerules (make-link-multidir): New.
23316 * config.make.in (multidir): New.
23317 * configure.ac (libc_cv_multidir): New. AC_SUBST.
23318 * configure: Regenerated.
23319 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
23320 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
23321 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
23324 2017-11-06 Joseph Myers <joseph@codesourcery.com>
23327 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
23328 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
23330 2017-11-04 Mike FABIAN <mfabian@redhat.com>
23332 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
23335 2017-11-04 Florian Weimer <fweimer@redhat.com>
23337 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
23339 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23341 * math/math.h [__HAVE_DISTINCT_FLOAT16
23342 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23343 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23344 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23345 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
23346 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
23347 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
23348 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23349 (__MATH_TG_F32): New macro.
23350 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23351 (__MATH_TG_F64X): Likewise.
23352 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23353 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
23355 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
23357 * po/de.po: Update translations.
23358 * po/ru.po: Likewise.
23360 2017-11-03 Florian Weimer <fweimer@redhat.com>
23362 * manual/filesys.texi (Hard Links): Document linkat.
23364 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23366 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
23367 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23368 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23369 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23370 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23371 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23372 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
23373 the same as _Float128.
23374 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23375 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23376 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
23379 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
23381 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
23383 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
23385 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23386 (strtof32x): Likewise.
23387 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23388 (strtof64x): Likewise.
23389 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23390 (strtof128x): Likewise.
23391 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23392 (strfromf16): Likewise.
23393 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23394 (strfromf32): Likewise.
23395 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23396 (strfromf64): Likewise.
23397 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23398 (strfromf32x): Likewise.
23399 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23400 (strfromf64x): Likewise.
23401 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23402 (strfromf128x): Likewise.
23403 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
23404 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
23405 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
23406 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
23407 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
23408 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
23410 2017-11-03 Richard Henderson <rth@twiddle.net>
23412 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
23414 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23416 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
23418 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23420 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
23421 DT_TLSDESC_GOT initialization.
23422 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
23423 (_dl_tlsdesc_resolve_hold): Likewise.
23424 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
23425 (_dl_tlsdesc_resolve_hold): Likewise.
23426 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
23427 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23429 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23431 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
23433 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23436 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
23437 non-lazily for R_ARM_TLS_DESC.
23439 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23442 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
23443 R_ARM_TLS_DESC case.
23444 (elf_machine_lazy_rel): Remove the prelink check.
23446 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23448 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
23449 DT_TLSDESC_GOT initialization.
23450 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
23451 (_dl_tlsdesc_resolve_rela): Likewise.
23452 (_dl_tlsdesc_resolve_hold): Likewise.
23453 (_dl_tlsdesc_undefweak): Remove ldar.
23454 (_dl_tlsdesc_dynamic): Likewise.
23455 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
23456 (_dl_tlsdesc_resolve_rela): Likewise.
23457 (_dl_tlsdesc_resolve_hold): Likewise.
23458 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
23459 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23460 (_dl_tlsdesc_resolve_rela): Likewise.
23461 (_dl_tlsdesc_resolve_hold): Likewise.
23463 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23465 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
23466 binding and initialization non-lazily for R_AARCH64_TLSDESC.
23468 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23470 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
23471 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23473 2017-11-02 Joseph Myers <joseph@codesourcery.com>
23475 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
23477 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
23478 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
23479 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
23480 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
23481 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
23482 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
23483 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
23484 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
23485 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
23486 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
23487 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
23489 2017-11-02 Mike FABIAN <mfabian@redhat.com>
23492 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
23493 * localedata/locales/tpi_PG: Add standard header.
23495 2017-11-02 Florian Weimer <fweimer@redhat.com>
23497 test-errno-linux: quotactl can fail with EPERM in containers.
23498 * sysdeps/unix/sysv/linux/test-errno-linux.c
23499 (LIST, LIST_FORWARD): New macros.
23500 (check_error_in_list): New function.
23501 (test_wrp_rv): Accept list of permitted error codes.
23502 (test_wrp_rv2): Remove.
23503 (test_wrp): Call test_wrp_rv with list of error codes.
23504 (test_wrp2): Accept list of error codes.
23505 (do_test): Adjust. Allow EPERM for quotactl.
23507 2017-11-02 Florian Weimer <fweimer@redhat.com>
23509 * stdio-common/bug16.c (do_test): Use array_length.
23510 * stdio-common/errlist.c (_sys_nerr): Likewise.
23511 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
23512 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
23513 * stdio-common/psiginfo.c (psiginfo): Use array_length.
23514 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
23515 (do_test): Use array_length.
23516 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
23517 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
23518 * stdio-common/tst-printf-round.c (do_test): Likewise.
23519 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
23520 (CHECK): Use array_length.
23521 * stdio-common/tstdiomisc.c (t3, F): Likewise.
23522 * stdio-common/tstscanf.c (main): Likewise.
23523 * stdio-common/vfprintf.c (process_string_arg): Likewise.
23525 2017-11-02 Florian Weimer <fweimer@redhat.com>
23527 Add array_length and array_end macros.
23528 * include/array_length.h: New file.
23530 2017-11-02 Florian Weimer <fweimer@redhat.com>
23533 * posix/tst-glob-tilde.c (do_noescape): New variable.
23534 (one_test): Process it.
23535 (do_test): Set do_noescape. Add unescaping test case.
23537 2017-11-01 Joseph Myers <joseph@codesourcery.com>
23540 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
23541 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
23542 with appropriate macros defined and undefined.
23543 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
23544 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23545 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
23546 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23547 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
23548 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23549 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
23550 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23551 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
23552 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23555 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
23556 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
23557 that for long double. Do not condition define and undefine of
23558 _Mdouble_complex_ on [__CFLOAT128].
23560 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
23562 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23563 of <sysdeps/generic/sysdep.h>.
23564 (ALIGNARG): Removed.
23565 (ASM_SIZE_DIRECTIVE): Likewise.
23568 (ENTRY_CHK): Likewise.
23569 (END_CHK): Likewise.
23570 (syscall_error): Likewise.
23571 (mcount): Likewise.
23572 (PSEUDO_END): Likewise.
23574 (atom_text_section): Likewise.
23575 * sysdeps/x86/sysdep.h: New file.
23576 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23577 of <sysdeps/generic/sysdep.h>.
23578 (ALIGNARG): Removed.
23579 (ASM_SIZE_DIRECTIVE): Likewise.
23582 (ENTRY_CHK): Likewise.
23583 (END_CHK): Likewise.
23584 (syscall_error): Likewise.
23585 (mcount): Likewise.
23586 (PSEUDO_END): Likewise.
23588 (atom_text_section): Likewise.
23590 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
23592 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
23593 category of LC_CTYPE set to "i18n:2012".
23594 * localedata/locales/i18n_ctype: Regenerate.
23596 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
23598 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
23599 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
23600 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23601 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23603 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
23604 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
23605 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
23606 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
23608 2017-10-31 Joseph Myers <joseph@codesourcery.com>
23611 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
23613 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
23615 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
23617 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23618 (CMPLXF32X): Likewise.
23619 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23620 (CMPLXF64X): Likewise.
23621 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23622 (CMPLXF128X): Likewise.
23625 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
23626 (__MATH_EVAL_FMT2): Define to add 0.0f.
23628 2017-10-31 Alan Modra <amodra@gmail.com>
23630 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
23632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
23633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
23634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
23635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
23636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
23637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
23638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
23639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
23640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
23641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
23642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
23643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
23644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
23645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
23646 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
23647 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
23648 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
23649 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
23650 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
23651 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
23652 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
23653 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
23654 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
23655 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
23656 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23657 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
23658 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
23659 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
23660 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
23661 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
23662 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23663 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23664 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
23665 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
23666 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
23667 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
23668 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
23669 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
23670 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
23671 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23672 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
23673 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
23674 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
23675 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
23676 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
23677 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
23678 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
23679 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
23680 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23681 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23682 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
23683 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
23684 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
23685 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
23686 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23687 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
23688 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
23689 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
23690 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23691 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23692 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23693 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
23694 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
23695 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23696 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
23697 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
23698 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
23699 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
23700 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
23702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
23703 include sysdep.h and math_ldbl_opt.h.
23705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
23706 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
23707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
23708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
23709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
23710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
23711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
23712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
23713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
23714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
23715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
23716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
23717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
23718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
23719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
23720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
23721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
23722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
23723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
23724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
23725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
23726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
23727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
23728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
23729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
23730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
23732 2017-10-31 Alan Modra <amodra@gmail.com>
23734 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
23735 string/strncase_l.c, not string/strncase.c.
23736 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
23737 (libc_hidden_def): Redefine.
23739 2017-10-31 Alan Modra <amodra@gmail.com>
23741 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
23742 (__STRCMP, STRCMP, __strcasecmp_l): Define.
23743 (__strcasecmp): Don't define.
23745 2017-10-31 Alan Modra <amodra@gmail.com>
23747 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
23749 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23750 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23751 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23753 2017-10-31 Alan Modra <amodra@gmail.com>
23755 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
23758 2017-10-31 Alan Modra <amodra@gmail.com>
23760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
23761 Redefine only when SHARED.
23763 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23765 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23766 Include <bits/math-finite.h> with appropriate macros defined and
23768 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23769 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23770 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23771 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23772 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23774 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
23775 [!_Mlong_double_] (_Mlong_double_): Likewise.
23776 [!_Mfloat16_] (_Mfloat16_): Likewise.
23777 [!_Mfloat32_] (_Mfloat32_): Likewise.
23778 [!_Mfloat64_] (_Mfloat64_): Likewise.
23779 [!_Mfloat128_] (_Mfloat128_): Likewise.
23780 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
23781 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
23782 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
23783 (_Mdouble_): Define without indirection through those macros.
23784 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
23785 [!_Mfloat128_] (_Mfloat128_): Likewise.
23786 [_Mlong_double_] (_Mlong_double_): Likewise.
23787 (_Mdouble_): Define without indirection through those macros.
23788 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
23789 not add -D_Mlong_double_=double.
23790 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
23791 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
23793 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23795 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
23797 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23799 * sysdeps/x86/libc-start.c: Reformat.
23801 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23804 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
23805 (1): Renamed to ...
23808 (L(Src2)): Likewise.
23809 (L(1)): Renamed to ...
23812 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23814 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
23815 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
23816 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
23817 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
23818 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
23819 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
23820 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
23821 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
23822 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
23823 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
23824 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
23825 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
23826 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
23827 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
23828 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
23829 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
23830 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
23831 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
23832 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
23833 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
23834 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
23835 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
23836 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
23837 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
23838 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
23839 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
23840 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
23841 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
23842 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
23843 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
23844 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
23845 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
23846 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
23847 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
23848 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
23849 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
23850 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
23851 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
23852 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
23853 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
23854 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
23855 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
23856 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
23857 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
23858 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
23859 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
23860 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
23861 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
23862 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
23863 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
23864 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
23865 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
23866 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
23867 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
23868 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
23869 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
23870 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
23871 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
23872 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
23873 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
23874 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
23875 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
23876 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
23877 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
23878 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
23879 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
23881 2017-10-30 Florian Weimer <fweimer@redhat.com>
23883 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
23885 * io/tst-mkdirat.c (do_test): Likewise.
23886 * io/tst-mkfifoat.c (do_test): Likewise.
23887 * io/tst-mknodat.c (do_test): Likewise.
23888 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
23889 * locale/programs/locale.c (select_dirs): Likewise.
23890 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
23891 * posix/bug-glob2.c (my_readdir): Likewise.
23892 * posix/tst-dir.c (main): Likewise.
23893 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
23894 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
23896 2017-10-30 Florian Weimer <fweimer@redhat.com>
23898 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
23901 2017-10-30 Florian Weimer <fweimer@redhat.com>
23903 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
23904 Convert to support/test-driver.c.
23905 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
23906 New macro parameters.
23907 (PRINTF): Remove macro. Use test_verbose conditionals instead.
23908 * posix/tst-gnuglob.c: New file.
23909 * posix/tst-gnuglob64.c: Likewise.
23910 * posix/Makefile (tests): Add tst-gnuglob64.
23912 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
23915 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
23916 and use a better translation for March in “mon”.
23917 * localedata/locales/csb_PL: Use more ASCII to improve the
23918 readability of the source.
23920 2017-10-30 Mike FABIAN <mfabian@redhat.com>
23923 * localedata/locales/km_KH: Use ASCII as much
23924 as possible for better readability of the source and
23925 remove useless comments.
23926 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
23927 was commented out and apparently wrong anyway because it was
23928 using Lao characters. If Buddhist era should be used
23929 for km_KH, a native speaker should write the correct formaat
23931 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
23932 (According to CLDR, the first weekday for Cambodia is Sunday).
23933 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
23934 (These were using Lao characters which must be wrong. If we get
23935 the correct data from a native speaker, we could add it back, until
23936 then it is better not to have name_mr and name_mrs at all than
23939 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
23941 * locale/loadlocale.c: Correct size of
23942 _nl_value_type_LC_<category> arrays.
23944 2017-10-27 Joseph Myers <joseph@codesourcery.com>
23946 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23947 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
23948 with appropriate macros defined and undefined.
23949 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23950 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23951 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23952 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23953 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23955 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
23957 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23960 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23962 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
23963 with lowercase letters to make it agree with CLDR.
23965 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23968 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
23969 first letters of yesstr and nostr in yesexpr and noexpr,
23970 not for the full words.
23971 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23972 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
23973 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
23974 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
23975 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
23976 first letters of yesstr and nostr in yesexpr and noexpr,
23977 until now only English was matched in yesexpr and noexpr.
23978 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
23979 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
23980 fil but not for tl. As tl and fil are very similar, using fil
23981 is probably better than using English.
23983 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
23986 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
23987 in yesstr and nostr.
23989 2017-10-26 Joseph Myers <joseph@codesourcery.com>
23991 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23992 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
23993 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
23995 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
23997 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
23999 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
24001 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24002 (SNANF128X): Likewise.
24004 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24005 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
24006 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24007 (HUGE_VAL_F32): Likewise.
24008 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24009 (HUGE_VAL_F64): Likewise.
24010 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24011 (HUGE_VAL_F32X): Likewise.
24012 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24013 (HUGE_VAL_F64X): Likewise.
24014 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24015 (HUGE_VAL_F128X): Likewise.
24017 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24019 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
24020 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
24021 for the br_FR locale.
24023 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24026 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
24028 2017-10-25 Carlos O'Donell <carlos@redhat.com>
24030 * locale/programs/record-status.h: Define globals, and function
24031 prototypes. Move function bodies...
24032 * locale/programs/record-status.c: ... to here. New file.
24033 * iconv/Makefile (iconv_prog-modules): Add record-status.
24034 * locale/Makefile (lib-modules): Likewise.
24035 * iconv/iconv_prog.c: Remove verbose.
24036 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
24037 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
24038 record a warning about ASCII compatibility.
24039 * locale/programs/ld-monetary.c (monetary_finish): If
24040 warn_int_curr_symbol is true then record a warning about the symbol
24041 not being in our ISO 4217 list.
24042 * locale/programs/locale.c: Include record-status.h. Remove verbose.
24043 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
24044 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
24045 (OPT_NO_WARN): Define.
24046 (OPT_WARN): Define.
24047 (options): Add entry for --no-warnings, and --warnings.
24048 (set_warnings): New function to enable/disable warnings.
24049 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
24050 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
24051 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
24052 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
24053 Pass flags to generate_locale.
24054 (generate_locale): Accept new flag argument and pass it to localedef
24056 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
24057 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
24059 * localedata/Makefile (test-input-data): Use full file name.
24060 * localedata/da_DK.in: Rename to...
24061 * localedata/da_DK.ISO-8859-1.in: ...this.
24062 * localedata/de_DE.in: Rename to...
24063 * localedata/de_DE.ISO-8859-1.in: ...this.
24064 * localedata/en_US.in: Rename to...
24065 * localedata/en_US.ISO-8859-1.in: ...this.
24066 * localedata/fr_FR.in: Rename to...
24067 * localedata/fr_FR.UTF-8.in: ... this.
24068 * localedata/hr_HR.in: Rename to...
24069 * localedata/hr_HR.ISO-8859-2.in: ...this.
24070 * localedata/hu_HU.in: Rename to...
24071 * localedata/hu_HU.UTF-8.in: ...this.
24072 * localedata/si_LK.in: Rename to...
24073 * localedata/si_LK.UTF-8.in: ...this.
24074 * localedata/sv_SE.in: Rename to...
24075 * localedata/sv_SE.ISO-8859-1.in: ...this.
24076 * localedata/tr_TR.in: Rename to...
24077 * localedata/tr_TR.UTF-8.in: ...this.
24078 * localedata/uk_UA.in: Rename to...
24079 * localedata/uk_UA.UTF-8.in: ...this.
24080 * localedata/sort-test.sh: Test file is locale name with the
24083 * localedata/unicode-gen/Makefile (check_i18n): Rename to
24084 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
24086 * localedata/locales/i18n_ctype: Regenerate.
24087 * localedata/locales/tr_TR: Likewise.
24088 * localedata/locales/translit_circle: Likewise.
24089 * localedata/locales/translit_cjk_compat: Likewise.
24090 * localedata/locales/translit_combining: Likewise.
24091 * localedata/locales/translit_compat: Likewise.
24092 * localedata/locales/translit_font: Likewise.
24093 * localedata/locales/translit_fraction: Likewise.
24095 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24097 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
24098 lxvd2x/stxvd2x with lvx/stvx.
24099 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
24101 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
24103 * include/alloc_buffer.h: Replace "if if " with "if " in
24105 * sysdeps/mips/memcpy.S: Likkewise.
24106 * sysdeps/mips/memset.S: Likewise.
24107 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
24109 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
24111 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
24114 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24117 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
24118 yesexpr and noexpr.
24119 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24120 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24121 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24122 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24123 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24124 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24125 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24127 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24129 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
24130 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24131 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24132 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24133 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24134 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
24135 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24136 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24137 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24138 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24139 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24140 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24142 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24144 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
24145 as possible for better readability of the source.
24146 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
24147 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
24148 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
24149 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
24150 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
24151 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
24152 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
24153 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
24154 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24155 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
24156 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
24157 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
24158 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
24159 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
24160 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
24161 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
24162 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
24163 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
24164 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
24165 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
24166 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
24167 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
24168 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
24169 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
24170 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
24171 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
24172 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
24173 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
24174 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
24175 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
24176 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
24177 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24178 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
24179 * localedata/locales/en_US (LC_MESSAGES): Likewise.
24180 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
24181 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
24182 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
24183 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
24184 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
24185 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
24186 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
24187 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
24188 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
24189 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
24190 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
24191 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
24192 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
24193 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
24194 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
24195 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
24196 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
24197 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
24198 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
24199 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24200 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24201 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
24202 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
24203 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24204 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
24205 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
24206 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
24207 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
24208 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
24209 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
24210 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
24211 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
24212 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
24213 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
24214 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
24215 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
24216 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
24217 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
24218 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
24219 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
24220 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24221 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
24222 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
24223 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
24224 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
24225 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
24226 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
24227 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
24228 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
24229 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24230 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
24231 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
24232 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
24233 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24234 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
24235 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
24236 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
24237 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
24238 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24239 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
24240 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
24241 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24242 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
24243 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24244 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
24245 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
24246 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
24247 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
24248 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
24249 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
24250 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
24251 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
24252 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
24253 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
24254 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
24255 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
24256 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
24257 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
24258 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24259 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
24260 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
24261 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
24262 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
24263 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
24264 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
24265 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
24266 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
24267 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
24268 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
24269 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
24270 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
24271 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
24272 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
24273 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
24274 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
24275 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
24276 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
24277 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
24278 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
24279 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
24280 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
24281 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
24282 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
24283 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
24284 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
24285 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
24286 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
24287 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
24288 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
24289 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
24290 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
24291 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24292 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
24293 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
24294 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
24295 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
24296 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
24297 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
24298 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
24299 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
24300 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24301 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
24302 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
24303 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
24304 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
24305 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
24306 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
24307 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
24308 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
24309 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
24310 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
24311 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24312 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
24313 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
24314 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
24315 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
24316 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24317 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24318 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24319 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
24321 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24323 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
24324 (Use first letters of yesstr and nostr correctly instead of using
24327 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24329 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
24330 (Use first letters of yesstr and nostr correctly).
24332 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24334 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
24335 also check for the first characters of yesstr and nostr.
24336 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
24337 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
24339 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24341 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
24342 also check for Chinese characters.
24344 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24346 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
24347 match also for the contents of yesstr and nostr. As the first letter
24348 of yesstr and nostr is equal, checking only for the first letter
24351 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24353 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
24354 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
24356 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24358 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
24359 of main contributor.
24361 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24363 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
24364 instead of using English.
24366 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24368 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
24369 by including the first letters of nostr and yesexpr in the regexp.
24370 Also make it more readable by using ASCII where possible.
24372 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24374 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
24375 the first letter of nostr in the regexp. It agrees with CLDR now.
24376 Also make it more readable by using ASCII where possible.
24378 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24380 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
24381 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
24382 these strings contain a U+17D6 (which somewhat looks like a colon)
24383 instead of a real colon to separate the full words for “yes”
24384 and “no” from the single letter responses.
24386 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24388 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
24389 it agree with CLDR (include the first letter of yesstr).
24390 Also make it more readable by using ASCII where possible.
24392 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24394 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
24395 and improve yesexpr and noexpr. The yesstr and nostr apparently
24396 came from CLDR. And CLDR has a bug there: these strings contain
24397 a U+0903 (which looks like a colon) instead of a real colon
24398 to separate the full words for “yes” and “no” from the single
24401 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24403 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
24404 letters of the full yesstr and nostr in yesexpr and noexpr.
24406 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24408 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
24409 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
24410 * localedata/locales/an_ES: Make source more readable by using ASCII
24413 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24416 * localedata/locales/yuw_PG: New file.
24417 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
24418 * locale/iso-639.def: Add Yau (Uruwa).
24420 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24422 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
24424 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24426 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
24427 (__libc_realloc): Likewise.
24428 (_mid_memalign): Likewise.
24429 (__libc_calloc): Likewise.
24431 2017-10-23 Mike FABIAN <mfabian@redhat.com>
24433 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
24434 by adding the generic +1 and -0 as in all other locales.
24435 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
24436 day names and make it more readable by using ASCII where possible.
24438 2017-10-24 Joseph Myers <joseph@codesourcery.com>
24440 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
24441 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
24443 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24445 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
24446 WNOHANG in waitpid call.
24448 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
24450 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
24451 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
24453 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
24454 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
24455 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
24456 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
24457 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
24458 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
24459 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
24460 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
24463 2017-10-23 Michael Collison <michael.collison@arm.com>
24465 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
24466 with __builtin_sqrt.
24467 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
24468 with __builtin_sqrtf.
24469 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
24470 with __builtin_ceil.
24471 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
24472 with __builtin_ceilf.
24473 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
24474 with __builtin_floor.
24475 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
24476 with __builtin_floorf.
24477 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
24478 with __builtin_fma.
24479 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
24480 with __builtin_fmaf.
24481 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
24482 with __builtin_fmax.
24483 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
24484 with __builtin_fmaxf.
24485 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
24486 with __builtin_fmin.
24487 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
24488 with __builtin_fminf.
24489 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
24490 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
24491 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
24492 with builtin_rint and conversion to int.
24493 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
24494 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
24495 with builtin_llround.
24496 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
24497 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
24498 with builtin_rint and conversion to long int.
24499 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
24500 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
24501 with builtin_lround.
24502 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
24503 with builtin_lroundf.
24504 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
24505 statements with __builtin_nearbyint.
24506 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
24507 statements with __builtin_nearbyintf.
24508 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
24509 with __builtin_rint.
24510 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
24511 with __builtin_rintf.
24512 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
24513 with __builtin_round.
24514 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
24515 with __builtin_roundf.
24516 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
24517 with __builtin_trunc.
24518 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
24519 with __builtin_truncf.
24520 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
24521 and s_l[l]round[f].c too.
24523 2017-10-23 Alan Modra <amodra@gmail.com>
24525 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
24526 Adjust stack after restoring regs. Add missing LR cfi_restore.
24528 2017-10-23 Alan Modra <amodra@gmail.com>
24530 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
24531 Move LR save and frame setup/teardown and LR restore to
24532 immediately around memset call. Provide cfi.
24534 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24536 * sysdeps/i386/fpu/e_powf.S: Removed.
24537 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
24538 * sysdeps/i386/fpu/w_powf.c: Likewise.
24539 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
24540 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24541 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24543 (CFLAGS-e_powf-sse2.c): New.
24544 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
24545 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
24547 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24549 * sysdeps/i386/fpu/e_log2f.S: Removed.
24550 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
24551 * sysdeps/i386/fpu/w_log2f.c: Likewise.
24552 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
24553 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24554 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24556 (CFLAGS-e_log2f-sse2.c): New.
24557 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
24558 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
24560 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24562 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24564 (CFLAGS-e_powf-fma.c): New.
24565 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
24566 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
24568 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24570 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24572 (CFLAGS-e_log2f-fma.c): New.
24573 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
24574 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
24576 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24578 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24580 (CFLAGS-e_logf-fma.c): New.
24581 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
24582 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
24584 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24586 * sysdeps/i386/fpu/e_logf.S: Removed.
24587 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
24588 * sysdeps/i386/fpu/w_logf.c: Likewise.
24589 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
24590 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
24591 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24592 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24594 (CFLAGS-e_logf-sse2.c): New.
24595 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
24596 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
24598 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24600 * sysdeps/i386/fpu/e_exp2f.S: Removed.
24601 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
24602 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
24603 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24604 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24606 (CFLAGS-e_exp2f-sse2.c): New.
24607 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
24608 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
24610 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24612 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24614 (CFLAGS-e_exp2f-fma.c): New.
24615 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
24616 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
24618 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24620 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
24621 * sysdeps/i386/fpu/e_expf.S: Likewise.
24622 * sysdeps/i386/fpu/math_errf.c: Likewise.
24623 * sysdeps/i386/fpu/w_expf.c: Likewise.
24624 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
24625 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24626 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
24627 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
24628 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24629 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24630 Remove e_expf-ia32.
24631 (CFLAGS-e_expf-sse2.c): New.
24632 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
24633 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
24635 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24637 * sysdeps/x86_64/fpu/e_expf.S: Removed.
24638 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
24639 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
24640 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
24642 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
24644 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
24645 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
24647 (__redirect_expf): This.
24648 (SYMBOL_NAME): Changed to expf.
24649 (__ieee754_expf): Renamed to ...
24651 (__GI___expf): This.
24652 (__ieee754_expf): Add strong_alias.
24653 (__expf_finite): Likewise.
24655 Include <sysdeps/ieee754/flt-32/e_expf.c>.
24657 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
24660 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
24663 2017-10-21 Florian Weimer <fweimer@redhat.com>
24665 * posix/Makefile (tests): Add tst-glob-tilde.
24666 (tests-special): Add tst-glob-tilde-mem.out
24667 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
24668 (tst-glob-tilde-mem.out): Add mtrace check.
24669 * posix/tst-glob-tilde.c: New file.
24671 2017-10-20 Joseph Myers <joseph@codesourcery.com>
24673 * bits/floatn-common.h: New file.
24674 * math/Makefile (headers): Add bits/floatn-common.h.
24675 * bits/floatn.h: Include <bits/floatn-common.h>.
24676 * sysdeps/ia64/bits/floatn.h: Likewise.
24677 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24678 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
24679 * sysdeps/powerpc/bits/floatn.h: Likewise.
24680 * sysdeps/x86/bits/floatn.h: Likewise.
24682 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24684 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
24685 indicates whether compiler emits an warning for alias for
24686 functions with incompatible types.
24689 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
24690 the auxiliary process is terminated by a signal before calling _exit
24693 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24696 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
24698 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
24699 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
24700 and bit_arch_XSAVEC_Usable if needed.
24701 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
24702 and bit_arch_Use_dl_runtime_resolve_opt.
24703 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
24705 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
24706 (bit_arch_Prefer_No_AVX512): Updated.
24707 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
24708 (bit_arch_XSAVEC_Usable): New.
24709 (STATE_SAVE_OFFSET): Likewise.
24710 (STATE_SAVE_MASK): Likewise.
24711 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
24712 (cpu_features): Add xsave_state_size and xsave_state_full_size.
24713 (index_arch_Use_dl_runtime_resolve_opt): Removed.
24714 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
24715 (index_arch_XSAVEC_Usable): New.
24716 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
24717 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
24718 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
24720 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
24721 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
24722 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
24723 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
24724 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
24725 _dl_runtime_resolve_xsavec.
24726 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
24728 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
24729 instead of VEC_SIZE.
24730 (REGISTER_SAVE_BND0): Removed.
24731 (REGISTER_SAVE_BND1): Likewise.
24732 (REGISTER_SAVE_BND3): Likewise.
24733 (REGISTER_SAVE_RAX): Always defined to 0.
24735 (_dl_runtime_resolve_avx): Likewise.
24736 (_dl_runtime_resolve_avx_slow): Likewise.
24737 (_dl_runtime_resolve_avx_opt): Likewise.
24738 (_dl_runtime_resolve_avx512): Likewise.
24739 (_dl_runtime_resolve_avx512_opt): Likewise.
24740 (_dl_runtime_resolve_sse): Likewise.
24741 (_dl_runtime_resolve_sse_vex): Likewise.
24743 (_dl_runtime_resolve_fxsave): Likewise.
24744 (USE_XSAVE): Likewise.
24745 (_dl_runtime_resolve_xsave): Likewise.
24746 (USE_XSAVEC): Likewise.
24747 (_dl_runtime_resolve_xsavec): Likewise.
24748 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
24750 (_dl_runtime_resolve_avx512_opt): Likewise.
24751 (_dl_runtime_resolve_avx): Likewise.
24752 (_dl_runtime_resolve_avx_opt): Likewise.
24753 (_dl_runtime_resolve_sse): Likewise.
24754 (_dl_runtime_resolve_sse_vex): Likewise.
24755 (_dl_runtime_resolve_fxsave): New.
24756 (_dl_runtime_resolve_xsave): Likewise.
24757 (_dl_runtime_resolve_xsavec): Likewise.
24759 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
24763 * posix/glob.c (__glob): Fix one-byte overflow.
24765 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24767 * malloc/malloc.c (sysdep-cancel.h): Add include.
24769 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24771 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
24773 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
24775 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
24776 (tests): Remove $(objpfx)ga_test depdendency.
24777 * resolv/ga_test.c: Remove file.
24779 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24782 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
24783 * localedata/locales/kab_DZ: New file.
24785 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24787 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
24788 _dl_relocate_static_pie instead of _dl_start to compute load
24789 address in static PIE.
24791 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24793 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
24795 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24798 * localedata/SUPPORTED: Add shn_MM/UTF-8.
24799 * localedata/locales/shn_MM: New file.
24801 2017-10-20 Florian Weimer <fweimer@redhat.com>
24804 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
24805 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
24806 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
24807 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
24808 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
24809 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
24811 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
24813 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24815 2017-10-19 Joseph Myers <joseph@codesourcery.com>
24817 * sysdeps/mips/ieee754/bits/floatn.h: New file.
24820 * sysdeps/mips/bits/long-double.h: Move to ....
24821 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
24823 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
24825 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
24827 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
24828 H.J. Lu <hongjiu.lu@intel.com>
24831 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
24832 GLRO(dl_platform) to NULL.
24833 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
24834 (modules-names): Add tst-platformmod-1 and
24835 x86_64/tst-platformmod-2.
24836 (CFLAGS-tst-platform-1.c): New.
24837 (CFLAGS-tst-platformmod-1.c): Likewise.
24838 (CFLAGS-tst-platformmod-2.c): Likewise.
24839 (LDFLAGS-tst-platformmod-2.so): Likewise.
24840 ($(objpfx)tst-platform-1): Likewise.
24841 ($(objpfx)tst-platform-1.out): Likewise.
24842 (tst-platform-1-ENV): Likewise.
24843 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
24844 * sysdeps/x86_64/tst-platform-1.c: New file.
24845 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
24846 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
24848 2017-10-19 Mike FABIAN <mfabian@redhat.com>
24851 * locale/iso-639.def: Add Karbi.
24852 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
24853 * localedata/locales/mjw_IN: New file.
24855 2017-10-18 Joseph Myers <joseph@codesourcery.com>
24857 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
24858 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24859 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
24860 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
24861 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24862 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24863 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
24865 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24866 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24867 * manual/math.texi (Mathematics): Document additional architecture
24868 support for _Float128.
24869 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24870 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24871 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24872 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24873 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24874 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24875 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24876 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24877 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24878 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24879 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24880 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24881 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24882 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24883 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24885 2017-10-18 Renlin Li <renlin.li@arm.com>
24887 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
24888 _DYNAMIC symbol to calculate load address.
24890 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
24892 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
24893 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
24895 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
24896 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
24898 2017-10-18 Mike FABIAN <mfabian@redhat.com>
24901 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
24902 and improve readability by using more ASCII.
24903 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
24904 and improve readability by using more ASCII.
24906 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
24908 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
24909 not all targets support atomics on bool.
24911 2017-10-17 Joseph Myers <joseph@codesourcery.com>
24913 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
24914 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
24916 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24917 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
24918 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24919 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
24920 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24921 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
24923 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24925 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
24928 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24931 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
24932 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
24933 (do_check_remalloced_chunk): Fix build bug.
24934 (do_check_malloc_state): Add assert that checks arena->top.
24935 (malloc_consolidate): Remove initialization.
24936 (int_mallinfo): Remove call to malloc_consolidate.
24937 (__libc_mallopt): Clarify why malloc_consolidate is needed.
24939 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24941 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
24942 (have_fastchunks): Remove.
24943 (clear_fastchunks): Remove.
24944 (set_fastchunks): Remove.
24945 (malloc_state): Add have_fastchunks.
24946 (malloc_init_state): Use have_fastchunks.
24947 (do_check_malloc_state): Remove incorrect invariant checks.
24948 (_int_malloc): Use have_fastchunks.
24949 (_int_free): Likewise.
24950 (malloc_consolidate): Likewise.
24952 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24954 * malloc/malloc.c (tcache_put): Inline.
24955 (tcache_get): Inline.
24957 2017-10-17 Jordi Mallach <jordi@gnu.org>
24959 Aurelien Jarno <aurelien@aurel32.net>
24961 * localedata/locales/ca_ES@valencia: New file.
24962 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
24964 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
24967 * math/math.h: Let signbit use the builtin in C++ mode with gcc
24970 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24972 * scripts/build-many-glibcs.py (Context.add_all_configs):
24973 Add arm-linux-gnueabihf multiarch extra_glibcs.
24975 * sysdeps/generic/ifunc-init.h: New file.
24976 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
24978 2017-10-17 Mike FABIAN <mfabian@redhat.com>
24981 * localedata/locales/el_GR: Set n_cs_precedes to 0.
24982 * localedata/locales/el_CY: copy "el_GR" because it is identical.
24983 * stdlib/tst-strfmon_l.c: adapt test case.
24985 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24987 * sysdeps/generic/float128-abi.h: New file.
24988 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
24989 non-__prefixed symbols to ....
24990 * math/Versions: ... here. Include <float128-abi.h>.
24991 * stdlib/Versions ... and here. Include <float128-abi.h>
24993 2017-10-16 Florian Weimer <fweimer@redhat.com>
24995 * version.h (VERSION): Switch to ".9000" as the development
24998 2017-10-16 Florian Weimer <fweimer@redhat.com>
25001 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
25002 compat_symbol_reference to access non-default version.
25004 2017-10-16 Florian Weimer <fweimer@redhat.com>
25006 * malloc/Makefile (others-extras): Set to mcheck-init.o.
25008 2017-10-16 Carlos O'Donell <carlos@redhat.com>
25010 * include/shlib-compat.h (compat_symbol_reference): Update
25013 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25015 * math/Makefile (test-types): Add
25016 $(type-float128-$(float128-alias-fcts)).
25017 * math/test-float128.h (TYPE_STR): Define conditional on
25018 [FLT128_MANT_DIG == LDBL_MANT_DIG].
25019 (ULP_IDX): Likewise.
25020 (ULP_I_IDX): Likewise.
25022 * stdlib/strtold.c: Include <bits/floatn.h>
25023 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
25024 and later undefine as macro. Define as weak alias if
25026 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
25027 and later undefine as macro. Define as weak alias if
25029 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
25030 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
25031 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25032 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25033 Define and later undefine as macro. Define as weak alias if
25035 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
25037 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
25038 Define and later undefine as macro. Define as weak alias if
25040 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25041 Define and later undefine as macro. Define as weak alias if
25044 2017-10-15 Carlos O'Donell <carlos@redhat.com>
25046 * localedata/collate-test.c (allocate_arrays): Don't use \n in
25047 record_verbose messages.
25049 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
25052 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
25053 to silence -O3 -Wall warning with GCC 7.
25055 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
25057 * Makeconfig (+link-static-before-libc): Use the first of
25058 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
25059 * gmon/Makefile (tests): Add tst-gmon-static.
25060 (tests-static): Likewise.
25061 (CFLAGS-tst-gmon-static.c): New.
25062 (CRT-tst-gmon-static): Likewise.
25063 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
25064 (tst-gmon-static-ENV): Likewise.
25065 (tests-special): Likewise.
25066 ($(objpfx)tst-gmon-static.out): Likewise.
25067 (clean-tst-gmon-static-data): Likewise.
25068 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
25069 * gmon/tst-gmon-static-gprof.sh: New file.
25070 * gmon/tst-gmon-static.c: Likewise.
25072 2017-10-13 Carlos O'Donell <carlos@redhat.com>
25075 * locale/programs/linereader.c (get_string): Don't warn on
25076 non-symbolic character.
25079 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
25083 * locale/programs/record-status.h: New file
25084 * locale/programs/locale.c: Add comment.
25085 * locale/programs/charmap-dir.c: Don't include error.h.
25086 (charmap_opendir): Use record_error.
25087 * locale/programs/charmap.c: Don't include error.h.
25088 (charmap_read): Use record_error, and record_warning.
25089 (parse_charmap): Likewise.
25090 * locale/programs/ld-address.c: Don't include error.h.
25091 (address_finish): Use record_error, and record_warning.
25092 * locale/programs/ld-collate.c: Don't include error.h.
25093 (collate_finish): Use record_error, and record_error_at_line.
25094 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
25095 (ctype_class_new): Likewise.
25096 (ctype_map_new): Likewise.
25097 (set_one_default): Likewise.
25098 (set_class_defaults): Likewise.
25099 (translit_flatten): Likewise.
25100 (allocate_arrays): Use record_error, and record_verbose.
25101 * locale/programs/ld-identification.c: Don't include error.h.
25102 (indentation_finish): Use record_error and record_warning.
25103 * locale/programs/ld-measurement.c: Don't include error.h.
25104 (measurement_finish): Use record_error.
25105 * locale/programs/ld-messages.c
25106 (message_finish): Likewise.
25107 * locale/programs/ld-monetary.c
25108 (monetary_finish): Likewise.
25109 * locale/programs/ld-name.c (name_finish): Use record_error
25110 and record_warning.
25111 * locale/programs/ld-numeric.c
25112 (numeric_finish): Use record_error.
25113 * locale/programs/ld-paper.c: Don't include error.h.
25114 (paper_finish): Use record_error.
25115 * locale/programs/ld-telephone.c: Don't include error.h.
25116 (telephone_finish): Use record_error.
25117 * locale/programs/ld-time.c (time_finish): Likewise.
25118 * locale/programs/linereader.h (lr_error): Make inline func.
25119 * locale/programs/localedef.c: Define recorded_warning_count,
25120 and recorded_error_count.
25121 (main): Use record_error. Use recorded_error_count and
25122 recorded_warning_count to issue correct error returns.
25123 (add_to_readlist): Use record_error.
25124 (find_locale): Likewise.
25125 (load_locale): Likewise.
25126 * locale/programs/localedef.h: Remove be_quiet
25127 and WITH_CUR_LOCALE.
25128 * locale/programs/locarchive.c (compare_from_file): Use
25130 * locale/programs/locfile.c (write_locale_data): Use
25132 * locale/programs/repertoire.c: Dont include error.h.
25133 (repertoire_complain): Use record_error.
25134 * localedata/tst-fmon.sh: Expect failures from localedef.
25135 * localedata/tst-locale.sh: Likewise.
25136 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
25138 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
25139 (REPORTS): Likewise.
25141 (i18n): Rename to...
25142 (i18n_ctype): ...this.
25143 (i18n-report): Rename to...
25144 (i18n_ctype-report): ...this.
25145 * localedata/locales/i18n_ctype: Regenerate.
25146 * localedata/locales/i18n: copy i18n_ctype.
25148 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25150 * stdlib/strfroml.c: Include <bits/floatn.h>.
25151 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
25152 Define before include of <stdlib.h> and undefine afterwards, then
25153 define as weak alias.
25155 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
25156 Undefine and restore default definition. Use
25157 libm_alias_ldouble_other.
25159 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
25162 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
25165 2017-10-13 James Clarke <jrtc27@jrtc27.com>
25167 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25168 Assign sym_map to be map for local symbols, as TLS relocations
25169 use sym_map to determine whether the symbol is defined and to
25170 extract the TLS information.
25171 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25172 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25174 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25177 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
25178 (math_force_eval): Add powerpc version.
25181 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
25183 (do_test): Likewise.
25184 * stdio-common/tst-printf.sh: Likewise.
25185 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
25186 ifdef clause in order to set the carry bit right. Replace r0 by
25187 0 without changing the behavior.
25189 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25191 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
25192 <libm-alias-ldouble.h>.
25193 (fabsl): Define using libm_alias_ldouble.
25194 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
25195 <libm-alias-ldouble.h>.
25196 (fabsl): Define using libm_alias_ldouble.
25198 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
25199 Remove conditional code.
25201 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
25202 Rename to __clog10_internal_l.
25203 (__clog10_internal_l): Define aliases using
25204 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
25207 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25209 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
25210 * benchtests/sincosf-inputs: New file.
25211 * benchtests/cosf-inputs: New file.
25212 * benchtests/sinf-inputs: New file.
25214 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25216 * posix/tst-spawn.c (do_test): Wait for both children.
25218 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
25221 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
25222 tests-pie): Add tst-gmon-pie.
25223 (CFLAGS-tst-gmon-pie.c): New.
25224 (CRT-tst-gmon-pie): Likewise.
25225 (tst-gmon-pie-ENV): Likewise.
25226 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
25227 ($(objpfx)tst-gmon-pie.out): Likewise.
25228 (clean-tst-gmon-pie-data): Likewise.
25229 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
25230 * gmon/gmon.c [PIC]: Include <link.h>.
25231 [PIC] (callback): New function.
25232 (write_hist): Add an argument for load address. Subtract load
25234 (write_call_graph): Likewise.
25235 (write_gmon): Call __dl_iterate_phdr to get load address, pass
25236 it to write_hist and write_call_graph.
25237 * gmon/tst-gmon-pie.c: New file.
25239 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25241 * math/Makefile (test-types-basic): New variable.
25242 (test-types): Likewise.
25243 (libm-test-support): Use $(test-types) instead of $(types).
25244 (libm-tests-base-normal): Likewise.
25245 (libm-tests-base-finite): Likewise.
25246 (libm-tests-base-inline): Likewise.
25247 (generated): Likewise.
25248 ($(objpfx)libm-test-support-$(t).c): Likewise.
25249 (libm-tests-for-type iterator): Likewise.
25250 (libm-test-support iterator): Likewise.
25251 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
25252 (ulp_idx): Use ULP_IDX.
25253 * math/test-ldouble.h: Include <float.h>.
25254 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
25255 (ULP_IDX): New macro.
25256 (ULP_I_IDX): Likewise.
25257 * math/test-double.h (ULP_IDX): Likewise.
25258 (ULP_I_IDX): Likewise.
25259 * math/test-float.h (ULP_IDX): Likewise.
25260 (ULP_I_IDX): Likewise.
25261 * math/test-float128.h (ULP_IDX): Likewise.
25262 (ULP_I_IDX): Likewise.
25264 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25266 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
25267 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25268 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25269 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
25270 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25271 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
25272 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
25273 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25274 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25275 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25276 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
25277 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25278 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25279 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25280 (SINGLE_THREAD_BY_GLOBAL): Define.
25281 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25283 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25285 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25287 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25289 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
25290 (SINGLE_THREAD_BY_GLOBAL): Likewise.
25291 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25294 2017-10-11 Andreas Schwab <schwab@suse.de>
25296 * nis/Makefile (aux): Remove.
25297 * nscd/Makefile (aux): Add nscd_hash.
25298 (nscd-modules): Likewise.
25299 ($(objpfx)nscd): Don't depend on libnsl.
25300 * nscd/nscd_hash.c: New file.
25301 * nscd/nscd_hash.h: Likewise.
25302 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
25303 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
25304 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
25305 instead of <nis/rpcsvc/nis.h>.
25306 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
25308 2017-10-11 Florian Weimer <fweimer@redhat.com>
25311 Avoid large NSS buffers with many addresses, aliases.
25312 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
25313 using dynarrays and struct alloc_buffer.
25314 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
25315 (tst-nss-files-hosts-multi): Link with -ldl.
25316 * nss/tst-nss-files-hosts-multi.c: New file.
25318 2017-10-11 Florian Weimer <fweimer@redhat.com>
25321 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
25322 scratch_buffer. Eliminate gotos.
25324 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25326 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
25327 libm_alias_ldouble_other.
25328 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
25329 undefine and redefine.
25330 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25331 (exp10l): Do not define here.
25332 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
25333 (weak_alias): Undefine and redefine.
25334 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
25335 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25336 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
25337 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
25339 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
25340 [!__fma] (fma): Define using libm_alias_double.
25341 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
25342 [!__fmaf] (fmaf): Define using libm_alias_float.
25343 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
25344 (fmal): Define using libm_alias_ldouble.
25346 2017-10-10 Joseph Myers <joseph@codesourcery.com>
25348 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
25350 (libm_alias_double_other): Likewise.
25351 (libm_alias_double_r): Use libm_alias_double_other_r.
25352 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
25354 (libm_alias_float_other): Likewise.
25355 (libm_alias_float_r): Use libm_alias_float_other_r.
25356 * sysdeps/generic/libm-alias-float128.h
25357 (libm_alias_float128_other_r): New macro.
25358 (libm_alias_float128_other): Likewise.
25359 (libm_alias_float128_r): Use libm_alias_float128_other_r.
25360 * sysdeps/generic/libm-alias-ldouble.h
25361 (libm_alias_ldouble_other_r): New macro.
25362 (libm_alias_ldouble_other): Likewise.
25363 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25364 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25365 (libm_alias_double_other_r): New macro.
25366 (libm_alias_double_other): Likewise.
25367 (libm_alias_double_r): Use libm_alias_double_other_r.
25368 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25369 (libm_alias_ldouble_other_r): New macro.
25370 (libm_alias_ldouble_other): Likewise.
25371 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25372 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
25373 [!USE_AS_COMPAT]: Use libm_alias_double_other.
25374 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
25375 [!USE_AS_COMPAT]: Use libm_alias_float_other.
25376 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
25377 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
25378 * math/w_exp2f.c: Use libm_alias_float_other.
25379 * math/w_expf.c: Likewise.
25380 * math/w_log2f.c: Likewise.
25381 * math/w_logf.c: Likewise.
25382 * math/w_powf.c: Likewise.
25383 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
25384 [!__exp2f]: Use libm_alias_float_other.
25385 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
25386 [!__expf]: Use libm_alias_float_other.
25387 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
25388 [!__log2f]: Use libm_alias_float_other.
25389 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
25390 [!__logf]: Use libm_alias_float_other.
25391 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
25392 [!__powf]: Use libm_alias_float_other.
25394 2017-10-10 Florian Weimer <fweimer@redhat.com>
25396 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
25398 (_nss_files_gethostbyname3_r): Call it.
25400 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25402 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
25403 error. Remove default definition of declare_mgen_alias.
25404 [!declare_mgen_alias_r]: Likewise.
25405 * sysdeps/generic/math-type-macros-double.h
25406 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
25407 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
25408 (declare_mgen_alias_r): Likewise.
25409 * sysdeps/generic/math-type-macros-float128.h
25410 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25411 * sysdeps/generic/math-type-macros-ldouble.h
25412 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25413 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
25415 (declare_mgen_alias_r_s): Likewise.
25416 (declare_mgen_alias_r): Likewise.
25417 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
25418 (lgamma_r): Define using libm_alias_double_r.
25419 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
25420 (lgammaf_r): Define using libm_alias_float_r.
25421 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
25422 (lgammal_r): Define using libm_alias_ldouble_r.
25423 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
25424 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25426 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25428 * lib/glob.c (__glob_pattern_type): Remove now-spurious
25429 extern declaration.
25431 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25433 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
25435 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
25438 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
25439 [__cplusplus >= 201103] (__USE_ISOC99): Define.
25440 * math/Makefile (test-math-cxx11): New test.
25441 * math/test-math-cxx11.cc: New file.
25443 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
25445 * login/openpty.c (openpty): Close slave pty file descriptor on error.
25447 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
25448 call to allocate the slave pty file descriptor.
25450 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25452 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
25453 [!__fma] (fma): Define using libm_alias_double.
25454 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
25455 [!__fma] (fma): Define using libm_alias_double.
25457 * sysdeps/ieee754/float128/float128_private.h: Include
25458 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
25459 (libm_alias_ldouble_r): Undefine and redefine.
25460 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
25461 <libm-alias-ldouble.h>.
25462 (asinhl): Define using libm_alias_ldouble.
25463 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
25464 <libm-alias-ldouble.h>.
25465 (atanl): Define using libm_alias_ldouble.
25466 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
25467 <libm-alias-ldouble.h>.
25468 (cbrtl): Define using libm_alias_ldouble.
25469 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
25470 <libm-alias-ldouble.h>.
25471 (ceill): Define using libm_alias_ldouble.
25472 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
25473 <libm-alias-ldouble.h>.
25474 (copysignl): Define using libm_alias_ldouble.
25475 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
25476 <libm-alias-ldouble.h>.
25477 (cosl): Define using libm_alias_ldouble.
25478 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
25479 <libm-alias-ldouble.h>.
25480 (erfl): Define using libm_alias_ldouble.
25482 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
25483 <libm-alias-ldouble.h>.
25484 (expm1l): Define using libm_alias_ldouble.
25485 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
25486 <libm-alias-ldouble.h>.
25487 (fabsl): Define using libm_alias_ldouble.
25488 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
25489 <libm-alias-ldouble.h>.
25490 (floorl): Define using libm_alias_ldouble.
25491 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
25492 <libm-alias-ldouble.h>.
25493 (fmal): Define using libm_alias_ldouble.
25494 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
25495 <libm-alias-ldouble.h>.
25496 (frexpl): Define using libm_alias_ldouble.
25497 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
25498 libm_alias_ldouble.
25499 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
25500 <libm-alias-ldouble.h>.
25501 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
25502 libm_alias_ldouble.
25503 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
25504 <libm-alias-ldouble.h>.
25505 (getpayloadl): Define using libm_alias_ldouble.
25506 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
25507 <libm-alias-ldouble.h>.
25508 (llrintl): Define using libm_alias_ldouble.
25509 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
25510 <libm-alias-ldouble.h>.
25511 (llroundl): Define using libm_alias_ldouble.
25512 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
25513 <libm-alias-ldouble.h>.
25514 (logbl): Define using libm_alias_ldouble.
25515 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
25516 <libm-alias-ldouble.h>.
25517 (lrintl): Define using libm_alias_ldouble.
25518 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
25519 <libm-alias-ldouble.h>.
25520 (lroundl): Define using libm_alias_ldouble.
25521 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
25522 <libm-alias-ldouble.h>.
25523 (modfl): Define using libm_alias_ldouble.
25524 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
25525 <libm-alias-ldouble.h>.
25526 (nearbyintl): Define using libm_alias_ldouble.
25527 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
25528 <libm-alias-ldouble.h>.
25529 (nextafterl): Define using libm_alias_ldouble.
25530 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
25531 <libm-alias-ldouble.h>.
25532 (nextupl): Define using libm_alias_ldouble.
25533 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
25534 <libm-alias-ldouble.h>.
25535 (remquol): Define using libm_alias_ldouble.
25536 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
25537 <libm-alias-ldouble.h>.
25538 (rintl): Define using libm_alias_ldouble.
25539 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
25540 <libm-alias-ldouble.h>.
25541 (roundevenl): Define using libm_alias_ldouble.
25542 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
25543 <libm-alias-ldouble.h>.
25544 (roundl): Define using libm_alias_ldouble.
25545 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
25546 using libm_alias_ldouble.
25547 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
25548 <libm-alias-ldouble.h>.
25549 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
25550 Define using libm_alias_ldouble.
25551 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
25552 <libm-alias-ldouble.h>.
25553 (sincosl): Define using libm_alias_ldouble.
25554 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
25555 <libm-alias-ldouble.h>.
25556 (sinl): Define using libm_alias_ldouble.
25557 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
25558 <libm-alias-ldouble.h>.
25559 (tanhl): Define using libm_alias_ldouble.
25560 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
25561 <libm-alias-ldouble.h>.
25562 (tanl): Define using libm_alias_ldouble.
25563 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
25564 <libm-alias-ldouble.h>.
25565 (totalorderl): Define using libm_alias_ldouble.
25566 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
25567 <libm-alias-ldouble.h>.
25568 (totalordermagl): Define using libm_alias_ldouble.
25569 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
25570 <libm-alias-ldouble.h>.
25571 (truncl): Define using libm_alias_ldouble.
25572 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
25573 libm_alias_ldouble.
25574 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
25575 libm_alias_ldouble.
25576 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
25577 <libm-alias-ldouble.h>.
25578 (weak_alias): Do not undefine and redefine.
25579 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25580 (copysignl): Define with long_double_symbol only if [IS_IN
25582 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
25583 <libm-alias-ldouble.h>.
25584 (weak_alias): Do not undefine and redefine.
25585 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25586 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
25587 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
25588 <libm-alias-ldouble.h>.
25589 (weak_alias): Do not undefine and redefine.
25590 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25591 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
25592 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
25593 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
25594 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
25595 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
25596 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
25597 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
25598 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
25599 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
25600 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
25601 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
25602 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
25603 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
25604 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
25605 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
25606 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
25607 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
25608 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
25609 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
25610 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
25611 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
25612 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
25613 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
25614 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
25615 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
25617 2017-10-06 Carlos O'Donell <carlos@redhat.com>
25620 * malloc/malloc.c (tcache_shutting_down): Use bool type.
25621 (tcache_thread_freeres): Set tcache_shutting_down before
25622 freeing the tcache.
25623 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
25624 * malloc/tst-malloc-tcache-leak.c: New file.
25626 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25628 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
25629 back to powerpc32 file.
25630 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25631 (memrchr): Add __memrchr_power8 to ifunc list.
25632 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
25633 extra bytes for unaligned inputs.
25635 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25637 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
25638 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
25639 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
25640 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25641 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25643 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25645 * sysdeps/arm/libm-test-ulps: Update.
25647 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
25648 <libm-alias-ldouble.h>.
25649 (asinhl): Define using libm_alias_ldouble.
25650 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
25651 <libm-alias-ldouble.h>.
25652 (cbrtl): Define using libm_alias_ldouble.
25653 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
25654 <libm-alias-ldouble.h>.
25655 (copysignl): Define using libm_alias_ldouble.
25656 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
25657 <libm-alias-ldouble.h>.
25658 (cosl): Define using libm_alias_ldouble.
25659 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
25660 <libm-alias-ldouble.h>.
25661 (erfl): Define using libm_alias_ldouble.
25663 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
25664 <libm-alias-ldouble.h>.
25665 (fmal): Define using libm_alias_ldouble.
25666 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
25667 <libm-alias-ldouble.h>.
25668 (frexpl): Define using libm_alias_ldouble.
25669 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
25670 libm_alias_ldouble.
25671 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
25672 <libm-alias-ldouble.h>.
25673 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
25674 libm_alias_ldouble.
25675 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
25676 <libm-alias-ldouble.h>.
25677 (getpayloadl): Define using libm_alias_ldouble.
25678 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
25679 <libm-alias-ldouble.h>.
25680 (llrintl): Define using libm_alias_ldouble.
25681 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
25682 <libm-alias-ldouble.h>.
25683 (llroundl): Define using libm_alias_ldouble.
25684 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
25685 <libm-alias-ldouble.h>.
25686 (lrintl): Define using libm_alias_ldouble.
25687 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
25688 <libm-alias-ldouble.h>.
25689 (lroundl): Define using libm_alias_ldouble.
25690 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
25691 <libm-alias-ldouble.h>.
25692 (modfl): Define using libm_alias_ldouble.
25693 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
25694 <libm-alias-ldouble.h>.
25695 (nextupl): Define using libm_alias_ldouble.
25696 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
25697 <libm-alias-ldouble.h>.
25698 (remquol): Define using libm_alias_ldouble.
25699 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
25700 <libm-alias-ldouble.h>.
25701 (roundevenl): Define using libm_alias_ldouble.
25702 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
25703 <libm-alias-ldouble.h>.
25704 (roundl): Define using libm_alias_ldouble.
25705 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
25706 using libm_alias_ldouble.
25707 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
25708 <libm-alias-ldouble.h>.
25709 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
25710 <libm-alias-ldouble.h>.
25711 (setpayloadsigl): Define using libm_alias_ldouble.
25712 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
25713 <libm-alias-ldouble.h>.
25714 (sincosl): Define using libm_alias_ldouble.
25715 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
25716 <libm-alias-ldouble.h>.
25717 (sinl): Define using libm_alias_ldouble.
25718 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
25719 <libm-alias-ldouble.h>.
25720 (tanhl): Define using libm_alias_ldouble.
25721 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
25722 <libm-alias-ldouble.h>.
25723 (tanl): Define using libm_alias_ldouble.
25724 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
25725 <libm-alias-ldouble.h>.
25726 (totalorderl): Define using libm_alias_ldouble.
25727 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
25728 <libm-alias-ldouble.h>.
25729 (totalordermagl): Define using libm_alias_ldouble.
25730 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
25731 libm_alias_ldouble.
25732 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
25733 libm_alias_ldouble.
25735 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
25737 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
25739 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25740 (__libc_ifunc_impl_list): Likewise.
25741 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
25742 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
25744 * benchtests/bench-memmove-walk.c: New file.
25745 * benchtests/Makefile (string-benchset): Add it.
25747 * benchtests/bench-memset-walk.c: New file.
25748 * benchtests/Makefile (string-benchset): Add it.
25750 * benchtests/bench-memcpy-walk.c: New file.
25751 * benchtests/Makefile (string-benchset): Add it.
25753 2017-10-05 Florian Weimer <fweimer@redhat.com>
25755 nscd: Eliminate compilation time dependency in the build output.
25756 * nscd/nscd_stat.c (STATDATA_VERSION)
25757 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
25758 (STATDATA_VERSION_FULL): New macro definitions.
25759 (compilation): Remove.
25760 (struct statdata): Adjust version member.
25761 (send_stats): Set version from STATDATA_VERSION_FULL.
25762 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
25764 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25766 * configure.ac (--enable-add-ons): Remove option.
25767 (machine): Do not mention add-ons in comment.
25768 (LIBC_PRECONFIGURE): Likewise.
25769 (add_ons): Remove variable and sanity checks and logic to locate
25771 (add_ons_automatic): Remove variable.
25772 (configured_add_ons): Likewise.
25773 (add_ons_sfx): Likewise.
25774 (add_ons_pfx): Likewise.
25775 (add_on_subdirs): Likewise.
25776 (sysnames_add_ons): Likewise. Remove loop over add-ons and
25777 consideration of add-ons in Implies handling.
25778 (sysdeps_add_ons): Likewise.
25779 * configure: Regenerated.
25780 * libidn/configure.ac: Remove.
25781 * libidn/configure: Likewise.
25782 * sysdeps/unix/inet/configure.ac: New file.
25783 * sysdeps/unix/inet/configure: New generated file.
25784 * sysdeps/unix/inet/Subdirs: Add libidn.
25785 * Makeconfig (sysdeps-srcdirs): Remove variable.
25786 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
25787 ($(common-objpfx)config.status): Do not depend on add-on files.
25788 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
25790 (all-subdirs): Do not include $(add-on-subdirs).
25791 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
25792 * config.make.in (add-ons): Remove variable.
25793 (add-on-subdirs): Likewise.
25794 (sysdeps-add-ons): Likewise.
25795 * manual/Makefile (add-chapters): Remove.
25796 ($(objpfx)texis): Do not depend on $(add-chapters).
25797 (nonexamples): Do not handle $(add-chapters).
25798 (examples): Do not handle $(add-ons).
25799 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
25801 * manual/install.texi (Installation): Do not mention add-ons.
25802 (--enable-add-ons): Do not document configure option.
25803 * INSTALL: Regenerated.
25804 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
25805 * manual/maint.texi (Hierarchy Conventions): Do not mention
25807 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
25809 * scripts/gen-sorted.awk: Do not handle Subdirs files from
25811 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
25812 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
25814 2017-10-05 Andreas Schwab <schwab@suse.de>
25817 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
25818 (_IO_flush_all_lockp): Always lock list_all_lock.
25819 (_IO_flush_all_linebuffered): Likewise.
25820 (_IO_unbuffer_all): Likewise.
25822 2017-10-05 Florian Weimer <fweimer@redhat.com>
25825 Do not flush stdio streams on abort.
25826 * stdlib/abort.c (fflush): Remove macro definition.
25827 (abort): Remove stages related to stdio flushing.
25829 2017-10-05 Florian Weimer <fweimer@redhat.com>
25831 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
25833 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
25835 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25837 2017-10-05 Florian Weimer <fweimer@redhat.com>
25839 * support/support_format_hostent.c (support_format_hostent): Add
25840 more error information for NETDB_INTERNAL.
25842 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25844 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
25845 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
25846 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
25847 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
25848 AC_DEFINE if multi-arch is enabled.
25849 * sysdeps/i386/configure: Regenerated.
25851 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25853 * Makeconfig (+link-static-before-libc): Use
25854 $(DEFAULT-LDFLAGS-$(@F)).
25855 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
25856 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
25857 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
25859 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25861 * elf/Makefile (tests): Add tst-main1.
25862 (modules-names): Add tst-main1mod.
25863 ($(objpfx)tst-main1): New.
25864 (CRT-tst-main1): Likewise.
25865 (LDFLAGS-tst-main1): Likewise.
25866 (LDLIBS-tst-main1): Likewise.
25867 (tst-main1mod.so-no-z-defs): Likewise.
25868 * elf/tst-main1.c: New file.
25869 * elf/tst-main1mod.c: Likewise.
25871 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25873 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
25875 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25877 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
25878 (fma): Define using libm_alias_double.
25879 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
25880 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
25882 (fmal): Do not define as compat symbol here.
25883 * sysdeps/alpha/fpu/s_fma.c: New file.
25885 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25887 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
25889 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25892 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
25894 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25896 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
25897 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25898 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
25899 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
25900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25901 Include <math_ldbl_opt.h>
25902 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25904 (compat_symbol): Undefine and redefine.
25905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25907 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25908 (compat_symbol): Undefine and redefine.
25909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
25910 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
25911 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
25912 GLIBC_2_1 for libm.
25913 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
25914 GLIBC_2.0 copysignl symbol.
25915 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
25916 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
25918 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
25920 2017-10-04 Florian Weimer <fweimer@redhat.com>
25922 * scripts/check-local-headers.sh: Ignore nspr4 header file
25923 directory in addition to nspr.
25925 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
25928 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
25929 * configure: Regenerate.
25930 * crypt/Makefile (nss-cpp-flags): New variable.
25931 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
25932 (CPPFLAGS-md5-crypt.c): Use it.
25933 * scripts/check-local-headers.sh: Ignore nspr header file
25936 2017-10-04 Andreas Schwab <schwab@suse.de>
25938 * nis/Makefile (services): Remove compat.
25939 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
25940 ($(objpfx)libnss_compat.so): Remove rule.
25941 * nis/Versions (libnss_compat): Remove.
25942 * nss/Makefile (services): Add compat.
25943 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
25944 * nss/Versions (libnss_compat): Define.
25945 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
25946 Don't include <rpc/types.h>. Replace bool_t by bool.
25947 * nss/nss_compat/compat-initgroups.c: Likewise.
25948 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
25949 instead of <rpcsrv/ypclnt.h>.
25950 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
25951 yp_get_default_domain.
25952 * nss/nss_compat/compat-pwd.c: Likewise.
25953 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
25954 yp_get_default_domain.
25955 * nss/nss_compat/nisdomain.c: New file.
25956 * nss/nss_compat/nisdomain.h: Likewise.
25958 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25961 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
25962 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25964 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25967 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
25968 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
25970 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25972 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
25973 "movl main@GOTOFF(%ebx), %eax".
25975 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25977 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
25978 allow undefined _DYNAMIC in PIE libc.a.
25979 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25982 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25984 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
25987 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25989 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
25992 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25994 * math/test-math-iscanonical.cc (error): Replace bool with int.
25996 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25998 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
25999 (modf): Define using libm_alias_double, only if [!__modf].
26000 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
26001 <libm-alias-double.h>.
26002 (modf): Define using libm_alias_double, only if [!__modf].
26003 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
26004 compat symbol here.
26005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
26006 (weak_alias): Do not undefine and redefine.
26007 (strong_alias): Likewise.
26008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
26009 (weak_alias): Likewise.
26010 (strong_alias): Likewise.
26012 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
26013 (logb): Define using libm_alias_double, only if [!__logb].
26014 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
26015 <libm-alias-double.h>.
26016 (logb): Define using libm_alias_double, only if [!__logb].
26017 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
26018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
26019 (weak_alias): Do not undefine and redefine.
26020 (strong_alias): Likewise.
26021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
26022 (weak_alias): Likewise.
26023 (strong_alias): Likewise.
26025 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26027 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
26028 Check SHARED instead PIC.
26030 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26032 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
26033 [!__fmaf] (fmaf): Define using libm_alias_float.
26035 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
26036 (frexp): Define using libm_alias_double.
26037 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
26038 <libm-alias-double.h>.
26039 (frexp): Define using libm_alias_double.
26040 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
26041 compat symbol here.
26043 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26046 * math/math.h: Trivial fix for unbalanced parentheses in comment.
26047 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
26048 (CFLAGS-test-math-iscanonical.cc): New variable.
26049 * math/test-math-iscanonical.cc: New file.
26050 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
26051 Provide a C++ implementation based on function overloading,
26052 rather than using __MATH_TG, which uses C-only builtins.
26053 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
26055 * sysdeps/powerpc/powerpc64le/Makefile
26056 (CFLAGS-test-math-iscanonical.cc): New variable.
26058 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26060 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
26061 (ceil): Define using libm_alias_double.
26062 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
26063 (floor): Define using libm_alias_double.
26064 * sysdeps/ieee754/dbl-64/s_llround.c: Include
26065 <libm-alias-double.h>.
26066 (llround): Define using libm_alias_double.
26067 * sysdeps/ieee754/dbl-64/s_lround.c: Include
26068 <libm-alias-double.h>.
26069 (lround): Define using libm_alias_double.
26070 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
26071 <libm-alias-double.h>.
26072 (nearbyint): Define using libm_alias_double.
26073 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
26074 <libm-alias-double.h>.
26075 (remquo): Define using libm_alias_double.
26076 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
26077 (rint): Define using libm_alias_double.
26078 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
26079 (round): Define using libm_alias_double.
26080 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
26081 (trunc): Define using libm_alias_double.
26082 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
26083 <libm-alias-double.h>.
26084 (ceil): Define using libm_alias_double.
26085 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
26086 <libm-alias-double.h>.
26087 (floor): Define using libm_alias_double.
26088 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
26089 <libm-alias-double.h>.
26090 (llround): Define using libm_alias_double.
26091 [_LP64] (lround): Likewise.
26092 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
26093 <libm-alias-double.h>.
26094 [!_LP64] (lround): Define using libm_alias_double.
26095 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
26096 <libm-alias-double.h>.
26097 (nearbyint): Define using libm_alias_double.
26098 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
26099 <libm-alias-double.h>.
26100 (remquo): Define using libm_alias_double.
26101 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
26102 <libm-alias-double.h>.
26103 (rint): Define using libm_alias_double.
26104 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
26105 <libm-alias-double.h>.
26106 (round): Define using libm_alias_double.
26107 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
26108 <libm-alias-double.h>.
26109 (trunc): Define using libm_alias_double.
26110 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
26111 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
26112 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
26113 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
26114 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
26115 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
26116 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
26117 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
26118 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
26120 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26122 * math/w_remainder.c: New file.
26123 * math/w_remainderf.c: New file.
26124 * math/w_remainderl.c: New file.
26126 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26128 * elf/rtld.c (BOOTSTRAP_MAP): New.
26129 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
26130 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26132 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26134 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26137 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
26139 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
26140 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
26141 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
26142 rtld_hidden_data_ver): Define to empty.
26143 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
26144 __assert_perror_fail): Likewise.
26145 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26146 (__rewinddir): Likewise.
26147 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26148 (__profile_frequency): Likewise.
26149 * include/setjmp.h (__sigsetjmp): Likewise.
26150 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
26151 __libc_sigaction): Likewise.
26152 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
26153 not set hidden attribute.
26154 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
26155 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
26156 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
26157 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
26158 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
26159 __fxstatat64): Likewise.
26160 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26161 (__uname): Likewise.
26162 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26163 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
26164 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
26165 (NO_RTLD_HIDDEN): Set.
26166 * sysdeps/mach/hurd/configure: Refresh.
26167 * config.h.in: Refresh.
26169 2017-10-02 Joseph Myers <joseph@codesourcery.com>
26171 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
26172 (atan): Define using libm_alias_double.
26173 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
26174 (tan): Define using libm_alias_double.
26175 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
26176 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
26178 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
26179 define as weak alias of __atan. Do not define any aliases if
26181 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
26182 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
26183 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
26184 as weak alias of __tan. Do not define any aliases if [__tan].
26185 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
26186 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
26187 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
26189 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
26190 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
26191 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
26192 and define as weak alias of __atan.
26193 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
26195 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
26196 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
26197 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
26198 define as weak alias of __tan.
26200 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26202 * math/w_lgamma.c: New file.
26203 * math/w_lgammaf.c: New file.
26204 * math/w_lgammal.c: New file.
26206 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26208 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
26209 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
26210 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
26211 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
26212 * sysdeps/ieee754/flt-32/w_logf.c: New file.
26213 * sysdeps/ieee754/flt-32/w_powf.c: New file.
26214 * sysdeps/i386/fpu/w_log2f.c: New file.
26215 * sysdeps/i386/fpu/w_logf.c: New file.
26216 * sysdeps/i386/fpu/w_powf.c: New file.
26217 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
26218 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
26219 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
26221 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26222 H.J. Lu <hongjiu.lu@intel.com>
26224 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
26225 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
26226 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
26227 * sysdeps/ieee754/flt-32/w_expf.c: New file.
26228 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
26230 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
26231 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
26232 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
26233 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
26234 * sysdeps/i386/fpu/w_exp2f.c: New file.
26235 * sysdeps/i386/fpu/w_expf.c: New file.
26236 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
26237 * sysdeps/x86_64/fpu/w_expf.c: New file.
26239 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26241 * math/Versions (logf): New libm symbol at GLIBC_2.27.
26244 * math/w_log2f.c: New file.
26245 * math/w_logf.c: New file.
26246 * math/w_powf.c: New file.
26247 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
26248 * math/w_logf_compat.c (__logf_compat): Likewise.
26249 * math/w_powf_compat.c (__powf_compat): Likewise.
26250 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
26251 * sysdeps/ia64/fpu/e_logf.S: Likewise.
26252 * sysdeps/ia64/fpu/e_powf.S: Likewise.
26253 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26254 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26255 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26256 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26257 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26258 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26259 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26260 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26261 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26262 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26263 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26264 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26273 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26274 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26275 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26276 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26277 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26282 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26283 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26284 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26286 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26288 * sysdeps/powerpc/powerpc64/multiarch/Makefile
26289 (sysdep_routines): Add memrchr_power8.
26290 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26291 (memrchr): Add __memrchr_power8 to list of memrchr functions.
26292 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
26294 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26295 (memrchr): Add __memrchr_power8 to ifunc list.
26296 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
26298 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26301 * sysdeps/unix/sysv/linux/posix_fadvise64.c
26302 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
26304 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26305 (__posix_fallocate64_l64): Likewise.
26307 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26310 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26311 (__sched_setaffinity_new): Add libc_hidden_proto and
26314 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26317 * include/glob.h (__glob64): Add libc_hidden_proto.
26318 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
26321 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26324 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
26327 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26330 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
26332 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26335 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
26338 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26341 * csu/version.c (__libc_print_version): Add attribute_hidden.
26343 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26346 * include/libc-internal.h (__init_misc): Add attribute_hidden.
26348 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26351 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
26353 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26356 * nscd/nscd_helper.c (__nis_hash): New prototype.
26358 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26361 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
26362 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
26364 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26365 * termios/tcgetattr.c (__tcgetattr): Likewise.
26367 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26370 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
26371 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
26372 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
26373 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
26374 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
26376 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26379 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
26381 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26384 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
26385 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
26387 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26390 * intl/hash-string.h (__hash_string): Add attribute_hidden.
26392 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26395 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
26396 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
26398 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26401 * include/ifreq.h: New file.
26402 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
26403 (__ifreq): Likewise.
26404 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
26405 (__ifreq): Likewise.
26407 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26410 * include/idna.h: New file.
26411 * inet/getnameinfo.c: Include <idna.h> instead of
26413 (__idna_to_unicode_lzlz): Removed.
26414 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
26416 (__idna_to_ascii_lz): Removed.
26417 (__idna_to_unicode_lzlz): Likewise.
26419 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26422 * include/plural-exp.h: New file.
26423 * intl/plural-exp.c: Include <plural-exp.h> instead of
26426 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26429 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
26430 "getsourcefilter.h".
26431 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
26432 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
26433 "getsourcefilter.h".
26434 (__get_sol): Removed.
26436 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26439 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
26441 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
26443 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26446 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
26449 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26452 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
26454 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26457 * include/search.h (__tdestroy): Add libc_hidden_proto.
26458 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
26460 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26463 * include/assert.h (__assert_fail_base): Add attribute_hidden.
26465 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26468 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
26471 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26474 * include/signal.h (__kill): Add libc_hidden_proto.
26475 (__sigblock): Likewise.
26476 (__sigprocmask): Likewise.
26477 (__sigaltstack): Likewise.
26478 * signal/kill.c (__kill): Add libc_hidden_def.
26479 * signal/sigblock.c (__sigblock): Likewise.
26480 * signal/sigprocmask.c (__sigprocmask): Likewise.
26481 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
26482 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26483 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26484 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26485 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
26487 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26489 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26490 (__sigprocmask): Likewise.
26491 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
26493 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26494 (__sigprocmask): Likewise.
26495 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26498 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26501 * include/string.h (__strsep): Add libc_hidden_proto.
26502 * string/strsep.c (__strsep): Add libc_hidden_def.
26504 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26507 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
26509 (__spawni): Likewise.
26511 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26514 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
26515 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
26518 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26521 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
26523 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26526 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
26527 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
26528 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
26529 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
26530 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
26532 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
26533 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
26535 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26538 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
26539 (__dcigettext): Likewise.
26541 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26544 * include/sys/sysinfo.h (__get_nprocs_conf): Add
26546 (__get_nprocs): Likewise.
26547 (__get_phys_pages): Likewise.
26548 (__get_avphys_pages): Likewise.
26549 (__get_child_max): Add attribute_hidden.
26550 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
26551 (__get_nprocs): Likewise.
26552 (__get_phys_pages): Likewise.
26553 (__get_avphys_pages): Likewise.
26554 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
26556 (__get_nprocs): Likewise.
26557 (__get_phys_pages): Likewise.
26558 (__get_avphys_pages): Likewise.
26559 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
26561 (__get_nprocs_conf): Likewise.
26562 (__get_phys_pages): Likewise.
26563 (__get_avphys_pages): Likewise.
26565 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26568 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
26570 (__netlink_close): Likewise.
26571 (__netlink_free_handle): Likewise.
26572 (__netlink_request): Likewise.
26574 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26577 * include/rpc/rpc.h (__rpc_thread_variables): Add
26579 (__rpc_thread_svc_cleanup): Likewise.
26580 (__rpc_thread_clnt_cleanup): Likewise.
26581 (__rpc_thread_key_cleanup): Likewise.
26583 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26586 * include/sys/uio.h (__readv): Add libc_hidden_proto.
26587 (__writev): Likewise.
26588 * misc/readv.c (__readv): Add libc_hidden_def.
26589 * misc/writev.c (__writev): Likewise.
26590 * sysdeps/posix/readv.c (__readv): Likewise.
26591 * sysdeps/posix/writev.c (__writev): Likewise.
26592 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
26593 (__readv): Likewise.
26594 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
26595 (__writev): Likewise.
26597 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26600 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
26601 (__regcomp): Add libc_hidden_proto.
26602 (__regexec): Likewise.
26603 (__regfree): Likewise.
26604 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
26605 (__regfree): Likewise.
26606 * posix/regexec.c (__regexec): Likewise.
26608 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26611 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
26612 (__getutent): Likewise.
26613 (__getutid): Likewise.
26614 (__getutline): Likewise.
26615 (__pututline): Likewise.
26616 (__getutent_r): Likewise.
26617 (__getutid_r): Likewise.
26618 (__getutline_r): Likewise.
26619 (__utmpname): Add attribute_hidden.
26620 (__setutent): Likewise.
26621 (__endutent): Likewise.
26622 * login/getutent.c (__getutent): Add libc_hidden_def.
26623 * login/getutent_r.c (__getutent_r): Likewise.
26624 (__pututline): Likewise.
26625 * login/getutid.c (__getutid): Likewise.
26626 * login/getutid_r.c (__getutid_r): Likewise.
26627 * login/getutline.c (__getutline): Likewise.
26628 * login/getutline_r.c (__getutline_r): Likewise.
26629 * login/updwtmp.c (__updwtmp): Likewise.
26631 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26634 * include/dirent.h (__opendir): Always add attribute_hidden.
26635 (__fdopendir): Likewise.
26636 (__closedir): Likewise.
26637 (__readdir): Likewise.
26638 (__readdir64): Add libc_hidden_proto.
26639 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
26640 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
26641 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
26642 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
26645 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26648 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
26649 * include/netdb.h (__gethostbyaddr_r): Likewise.
26650 (__gethostbyname_r): Likewise.
26651 (__gethostbyname2_r): Likewise.
26652 (__getnetbyaddr_r): Likewise.
26653 (__getnetbyname_r): Likewise.
26654 (__getservbyname_r): Likewise.
26655 (__getservbyport_r): Likewise.
26656 (__getprotobyname_r): Likewise.
26657 (__getprotobynumber_r): Likewise.
26658 (__getnetgrent_r): Likewise.
26659 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
26660 (__getrpcbynumber_r): Likewise.
26661 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
26663 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26666 * include/stdio.h (__fcloseall): Add attribute_hidden.
26667 (__getline): Likewise.
26668 (__path_search): Likewise.
26669 (__gen_tempname): Likewise.
26670 (__libc_message): Likewise.
26671 (__flockfile): Likewise.
26672 (__funlockfile): Likewise.
26673 (__fxprintf): Likewise.
26674 (__fxprintf_nocancel): Likewise.
26676 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26679 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
26680 (__sgetsgent_r): Likewise.
26682 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26685 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
26686 (__statfs64): Likewise.
26687 (__fstatfs64): Likewise.
26688 * include/sys/statvfs.h (__statvfs64): Likewise.
26689 (__fstatvfs64): Likewise.
26690 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
26691 (__statfs_filesize_max): Likewise.
26692 (__statfs_symlinks): Likewise.
26693 (__statfs_chown_restricted): Likewise.
26695 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26698 * include/time.h (__tzstring): Add attribute_hidden.
26699 (__tzfile_read): Likewise.
26700 (__tzfile_compute): Likewise.
26701 (__tzfile_default): Likewise.
26702 (__tzset_parse_tz): Likewise.
26703 (__offtime): Likewise.
26704 (__asctime_r): Likewise.
26705 (__tzset): Likewise.
26706 (__tz_convert): Likewise.
26707 (__getdate_r): Likewise.
26708 (__getclktck): Likewise.
26710 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26713 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
26714 (__nscd_unmap): Likewise.
26715 (__nscd_cache_search): Likewise.
26716 (__nscd_get_nl_timestamp): Likewise.
26717 (__nscd_getpwnam_r): Likewise.
26718 (__nscd_getpwuid_r): Likewise.
26719 (__nscd_getgrnam_r): Likewise.
26720 (__nscd_getgrgid_r): Likewise.
26721 (__nscd_gethostbyname_r): Likewise.
26722 (__nscd_gethostbyname2_r): Likewise.
26723 (__nscd_gethostbyaddr_r): Likewise.
26724 (__nscd_getai): Likewise.
26725 (__nscd_getgrouplist): Likewise.
26726 (__nscd_getservbyname_r): Likewise.
26727 (__nscd_getservbyport_r): Likewise.
26728 (__nscd_innetgr): Likewise.
26729 (__nscd_setnetgrent): Likewise.
26731 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26734 * include/gmp.h: Declare internal functions only if _ISOMAC is
26736 (__mpn_extract_double): Add attribute_hidden.
26737 (__mpn_extract_long_double): Likewise.
26738 (__mpn_extract_float128): Likewise.
26739 (__mpn_construct_float): Likewise.
26740 (__mpn_construct_double): Likewise.
26741 (__mpn_construct_long_double): Likewise.
26742 (__mpn_construct_float128): Likewise.
26743 (mpn_add_1): Likewise.
26744 (mpn_addmul_1): Likewise.
26745 (mpn_add_n): Likewise.
26746 (mpn_cmp): Likewise.
26747 (mpn_divrem): Likewise.
26748 (mpn_lshift): Likewise.
26749 (mpn_mul): Likewise.
26750 (mpn_mul_1): Likewise.
26751 (mpn_rshift): Likewise.
26752 (mpn_sub_1): Likewise.
26753 (mpn_submul_1): Likewise.
26754 (mpn_sub_n): Likewise.
26756 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26759 * include/wchar.h (__wcsnlen): Add attribute_hidden.
26760 (__wcscat): Likewise.
26761 (__btowc): Likewise.
26762 (__wcrtomb): Likewise.
26763 (__mbsrtowcs): Likewise.
26764 (__wcsrtombs): Likewise.
26765 (__mbsnrtowcs): Likewise.
26766 (__wcsnrtombs): Likewise.
26767 (__wcsncpy): Likewise.
26768 (__wcpncpy): Likewise.
26769 (__wmemcpy): Likewise.
26770 (__wmempcpy): Likewise.
26771 (__wmemmove): Likewise.
26772 (__wcschrnul): Likewise.
26773 (__vfwscanf): Likewise.
26774 (__vswprintf): Likewise.
26775 (__fwprintf): Likewise.
26776 (__vfwprintf): Likewise.
26778 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26781 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
26782 (__getgrgid_r): Likewise.
26783 (__getgrnam_r): Likewise.
26784 * include/pwd.h (__getpwuid_r): Likewise.
26785 (__getpwnam_r): Likewise.
26786 (__fgetpwent_r): Likewise.
26787 * include/shadow.h (__getspnam_r): Likewise.
26788 (__sgetspent_r): Likewise.
26789 (__fgetspent_r): Likewise.
26791 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26794 * include/unistd.h (__access): Add attribute_hidden.
26795 (__lseek64): Likewise.
26796 (__libc_pread64): Likewise.
26797 (__pipe2): Likewise.
26798 (__sleep): Likewise.
26799 (__chdir): Likewise.
26800 (__fchdir): Likewise.
26801 (__getcwd): Likewise.
26802 (__rmdir): Likewise.
26803 (__execvpe): Likewise.
26804 (__execve): Likewise.
26805 (__setsid): Likewise.
26806 (__getuid): Likewise.
26807 (__geteuid): Likewise.
26808 (__getgid): Likewise.
26809 (__getegid): Likewise.
26810 (__getgroups): Likewise.
26811 (__group_member): Likewise.
26812 (__ttyname_r): Likewise.
26813 (__isatty): Likewise.
26814 (__readlink): Likewise.
26815 (__unlink): Likewise.
26816 (__gethostname): Likewise.
26817 (__profil): Likewise.
26818 (__getdtablesize): Likewise.
26820 (__ftruncate): Likewise.
26821 (__ftruncate64): Likewise.
26823 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26826 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
26827 * argp/argp-fs-xinl.c: Likewise.
26828 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
26829 * argp/argp-parse.c: Include <argp.h>.
26830 * argp/argp-xinl.c: Likewise.
26831 * include/argp-fmtstream.h: New file.
26832 * include/argp.h (__argp_error): Add attribute_hidden.
26833 (__argp_failure): Likewise.
26834 (__argp_input): Likewise.
26835 (__argp_state_help): Likewise.
26837 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26840 * include/wchar.h (____wcstof_l_internal): New prototype.
26841 (____wcstod_l_internal): Likewise.
26842 (____wcstold_l_internal): Likewise.
26843 (____wcstol_l_internal): Likewise.
26844 (____wcstoul_l_internal): Likewise.
26845 (____wcstoll_l_internal): Likewise.
26846 (____wcstoull_l_internal): Likewise.
26847 (____wcstof128_l_internal): Likewise.
26848 * sysdeps/ieee754/float128/wcstof128.c
26849 (____wcstof128_l_internal): Removed.
26850 * sysdeps/ieee754/float128/wcstof128_l.c
26851 (____wcstof128_l_internal): Likewise.
26852 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
26853 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
26854 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
26855 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
26856 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
26857 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
26858 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
26859 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
26860 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
26861 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
26863 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26866 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
26867 instead of <sys/statvfs.h>.
26868 (__internal_statvfs): Removed.
26869 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
26870 instead of <sys/statvfs.h>.
26871 (__internal_statvfs64): Removed.
26872 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
26873 "internal_statvfs.h" instead of <sys/statvfs.h>.
26874 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
26875 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
26876 instead of <sys/statvfs.h>.
26877 (__internal_statvfs): Removed.
26878 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
26879 instead of <sys/statvfs.h>.
26880 (__internal_statvfs64): Removed.
26882 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26885 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
26886 (__gconv_close): Likewise.
26887 (__gconv): Likewise.
26888 (__gconv_find_transform): Likewise.
26889 (__gconv_lookup_cache): Likewise.
26890 (__gconv_compare_alias_cache): Likewise.
26891 (__gconv_load_cache): Likewise.
26892 (__gconv_get_path): Likewise.
26893 (__gconv_close_transform): Likewise.
26894 (__gconv_release_cache): Likewise.
26895 (__gconv_find_shlib): Likewise.
26896 (__gconv_release_shlib): Likewise.
26897 (__gconv_get_builtin_trans): Likewise.
26898 (__gconv_compare_alias): Likewise.
26899 * include/dlfcn.h (_dlerror_run): Likewise.
26900 * include/stdio.h (__fortify_fail_abort): Likewise.
26901 * include/time.h (__tz_compute): Likewise.
26902 (__strptime_internal): Likewise.
26903 * intl/gettextP.h (_nl_find_domain): Likewise.
26904 (_nl_load_domain): Likewise.
26905 (_nl_find_msg): Likewise.
26906 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
26907 (EXTRACT_PLURAL_EXPRESSION): Likewise.
26908 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
26909 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
26910 (__gai_find_request): Likewise.
26911 (__gai_remove_request): Likewise.
26912 (__gai_notify): Likewise.
26913 (__gai_notify_only): Likewise.
26914 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
26915 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
26916 (_dl_non_dynamic_init): Likewise.
26917 (_dl_aux_init): Likewise.
26918 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
26919 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
26921 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
26922 (__wcsmbs_clone_conv): Likewise.
26923 (__wcsmbs_named_conv): Likewise.
26925 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26928 * include/stdlib.h (__random): Add attribute_hidden.
26929 (__random_r): Likewise.
26930 (__srandom_r): Likewise.
26931 (__initstate_r): Likewise.
26932 (__setstate_r): Likewise.
26933 (__erand48_r): Likewise.
26934 (__nrand48_r): Likewise.
26935 (__jrand48_r): Likewise.
26936 (__srand48_r): Likewise.
26937 (__seed48_r): Likewise.
26938 (__lcong48_r): Likewise.
26939 (__drand48_iterate): Likewise.
26940 (__setenv): Likewise.
26941 (__unsetenv): Likewise.
26942 (__clearenv): Likewise.
26943 (__ptsname_r): Likewise.
26944 (__posix_openpt): Likewise.
26945 (__add_to_environ): Likewise.
26946 (__realpath): Add libc_hidden_proto.
26947 (__ecvt_r): Likewise.
26948 (__fcvt_r): Likewise.
26949 (__qecvt_r): Likewise.
26950 (__qfcvt_r): Likewise.
26951 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
26952 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
26954 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26957 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
26958 * include/time.h (__mktime_internal): Likewise.
26959 * libio/iolibio.h (__fopen_internal): Likewise.
26961 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
26963 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
26965 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
26966 Correct offset used to restore PIC register.
26968 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
26971 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
26972 code to load address of __getcontext_ret when generating PIC code.
26974 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
26976 * elf/Makefile (tests-static-internal): Add
26977 tst-tls1-static-non-pie.
26978 (LDFLAGS-tst-tls1-static-non-pie): New.
26979 * elf/tst-tls1-static-non-pie.c: New file.
26981 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26983 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
26984 (asinh): Define using libm_alias_double.
26985 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
26986 (cbrt): Define using libm_alias_double.
26987 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
26988 <libm-alias-double.h>.
26989 (copysign): Define using libm_alias_double.
26990 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
26991 (erf): Define using libm_alias_double.
26993 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
26994 (expm1): Define using libm_alias_double.
26995 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
26996 (fabs): Define using libm_alias_double.
26997 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
26999 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
27000 <libm-alias-double.h>.
27001 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
27003 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
27004 <libm-alias-double.h>.
27005 (getpayload): Define using libm_alias_double.
27006 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
27007 <libm-alias-double.h>.
27008 (llrint): Define using libm_alias_double.
27009 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
27010 (lrint): Define using libm_alias_double.
27011 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
27012 <libm-alias-double.h>.
27013 (nextup): Define using libm_alias_double.
27014 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
27015 <libm-alias-double.h>.
27016 (roundeven): Define using libm_alias_double.
27017 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
27019 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
27020 <libm-alias-double.h>.
27021 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
27022 using libm_alias_double.
27023 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
27024 (cos): Define using libm_alias_double.
27026 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
27027 <libm-alias-double.h>.
27028 (sincos): Define using libm_alias_double.
27029 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
27030 (tanh): Define using libm_alias_double.
27031 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
27032 <libm-alias-double.h>.
27033 (totalorder): Define using libm_alias_double.
27034 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
27035 <libm-alias-double.h>.
27036 (totalordermag): Define using libm_alias_double.
27037 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
27039 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
27041 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
27042 <libm-alias-double.h>.
27043 (getpayload): Define using libm_alias_double.
27044 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
27045 <libm-alias-double.h>.
27046 (roundeven): Define using libm_alias_double.
27047 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
27048 <libm-alias-double.h>.
27049 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
27050 <libm-alias-double.h>.
27051 (totalorder): Define using libm_alias_double.
27052 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
27053 <libm-alias-double.h>.
27054 (totalordermag): Define using libm_alias_double.
27055 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
27056 libc compat symbol here.
27057 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
27058 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
27059 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
27060 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
27061 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
27062 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
27063 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
27064 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
27065 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
27066 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
27068 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27070 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
27071 _dl_relocate_static_pie instead of _dl_start to compute load
27072 address in static PIE. Return 0 if _DYNAMIC is undefined for
27075 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27077 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
27078 _DYNAMIC is undefined for static executable.
27080 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27082 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
27084 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27088 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27090 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27091 (__ieee754_lgamma_r): Use fabs rather than __fabs.
27092 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27093 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27094 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27095 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
27096 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
27097 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
27098 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
27099 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27100 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
27101 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27102 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27103 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27104 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27105 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27106 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
27108 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27110 * math/bits/cmathcalls.h (cimag): Remove inline.
27111 (creal): Remove inline.
27112 (conj): Remove inline.
27114 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27116 * math/Makefile (type-float-routines): Add e_powf_log2_data.
27117 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
27118 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
27119 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
27120 (issignalingf_inline): Likewise.
27121 (POWF_LOG2_TABLE_BITS): Likewise.
27122 (POWF_LOG2_POLY_ORDER): Likewise.
27123 (POWF_SCALE_BITS): Likewise.
27124 (POWF_SCALE): Likewise.
27125 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
27126 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
27127 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
27129 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27131 * math/Makefile (type-float-routines): Add e_log2f_data.
27132 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
27133 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
27134 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
27135 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
27136 * sysdeps/i386/fpu/e_log2f_data.c: New file.
27137 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
27138 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
27140 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27142 * math/Makefile (type-float-routines): Add e_logf_data.
27143 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
27144 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
27145 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
27146 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
27147 * sysdeps/i386/fpu/e_logf_data.c: New file.
27148 * sysdeps/ia64/fpu/e_logf_data.c: New file.
27149 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
27151 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
27153 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
27154 undefined _DYNAMIC in PIE libc.a.
27155 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27158 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27160 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
27161 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
27162 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
27163 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
27164 (__signbit): Remove.
27165 (__signbitl): Remove.
27166 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
27167 (__signbit): Remove.
27168 (__signbitl): Remove.
27169 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
27170 (__signbit): Remove.
27171 (__signbitl): Remove.
27172 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
27173 (__signbit): Remove.
27174 (__signbitl): Remove.
27175 * sysdeps/tile/bits/mathinline.h: Delete file.
27176 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
27177 (__signbit): Remove.
27178 (__signbitl): Remove.
27180 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27182 * math/math.h: Improve handling of C99 isgreater macros.
27183 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
27184 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
27185 * sysdeps/powerpc/bits/mathinline.h: Likewise.
27186 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27187 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
27189 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
27191 * sysdeps/aarch64/libm-test-ulps: Update.
27193 2017-09-28 Joseph Myers <joseph@codesourcery.com>
27196 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27197 math_opt_barrier on argument when doing arithmetic on it.
27198 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27199 Likewise. Use math_force_eval not math_opt_barrier after
27201 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
27202 math_opt_barrier on argument when doing arithmetic on it.
27203 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27206 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
27208 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
27210 (__freeifaddrs): Likewise.
27212 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27214 * include/dirent.h (__dirfd): New declaration.
27215 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
27217 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
27218 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
27219 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
27220 * include/unistd.h (__revoke): New declaration.
27221 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
27223 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27224 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
27226 * include/dirent.h (__seekdir): New declaration.
27227 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
27228 redefine as weak alias.
27229 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
27231 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
27232 and use libc_hidden_def on them.
27233 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
27235 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
27236 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
27237 instead of getifaddrs and freeifaddrs.
27239 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27242 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
27243 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
27244 (__dso_handle): Remove declaration.
27245 * dlfcn/tstatexit.c (__dso_handle): Removed.
27246 (main): Don't check __dso_handle.
27247 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
27248 (main): Don't check __dso_handle.
27249 * include/dso_handle.h: New file.
27250 * malloc/mtrace.c: Include <dso_handle.h>.
27251 (mtrace): Pass __dso_handle directly.
27252 * nptl/pthread_atfork.c: Include <dso_handle.h>.
27253 (__dso_handle): Remove declaration.
27254 (__pthread_atfork): Pass __dso_handle directly.
27255 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
27256 (__dso_handle): Removed.
27257 * posix/wordexp-test.c: Include <dso_handle.h>.
27258 (__dso_handle): Remove declaration.
27259 (__app_register_atfork): Pass __dso_handle directly.
27260 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
27261 (__dso_handle): Remove declaration.
27262 (at_quick_exit): Pass __dso_handle directly.
27263 * stdlib/atexit.c: Include <dso_handle.h>.
27264 (__dso_handle): Remove declaration.
27265 (atexit): Pass __dso_handle directly.
27266 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
27267 (__dso_handle): Removed.
27269 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27271 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
27274 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
27276 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
27277 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
27278 values to correct default value for given type.
27280 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27283 * elf/Makefile (tests): Add tst-debug1.
27284 ($(objpfx)tst-debug1): New.
27285 ($(objpfx)tst-debug1.out): Likewise.
27286 ($(objpfx)tst-debug1mod1.so): Likewise.
27287 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
27288 with p_filesz == 0.
27289 * elf/tst-debug1.c: New file.
27291 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27293 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
27294 Define using __ifunc.
27296 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27298 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
27301 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27304 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
27306 2017-09-26 Florian Weimer <fweimer@redhat.com>
27308 * resolv/Makefile (tests-internal): Fix typo in comment.
27310 2017-09-26 Florian Weimer <fweimer@redhat.com>
27312 * resolv/nss_dns/dns-host.c: Fix typo in comment.
27314 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27316 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
27317 Use an union instead of a max_align_t array for __space,
27318 so that __space is the same size on all platforms.
27319 * malloc/scratch_buffer_grow_preserve.c
27320 (__libc_scratch_buffer_grow_preserve): Likewise.
27323 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
27325 * posix/Makefile (routines): Add glob-lstat-compat and
27326 glob64-lstat-compat.
27327 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
27328 * posix/glob-lstat-compat.c: New file.
27329 * posix/glob64-lstat-compat.c: Likewise.
27330 * posix/tst-glob_lstat_compat.c: Likewise.
27331 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
27332 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
27333 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
27334 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
27336 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
27337 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27338 * posix/glob.c (glob_lstat): New function.
27339 (glob): Rename to __glob and add versioned symbol to 2.27.
27340 (glob_in_dir): Use glob_lstat.
27341 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
27342 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
27343 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
27345 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
27346 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
27347 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
27348 gl_lstat on glob call.
27349 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
27350 and glob64 symbols.
27351 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27352 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
27353 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27354 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27355 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
27356 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
27357 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
27358 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
27359 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
27360 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27361 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27362 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
27363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
27365 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
27366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
27367 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27368 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27369 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
27370 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27371 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
27373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
27374 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
27375 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27376 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27378 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
27380 * configure.ac (AS): Require binutils 2.25 or later.
27381 * configure: Regenerated.
27383 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27386 * stdlib/test-atexit-race-common.c (do_test): Minimize required
27389 2017-09-25 DJ Delorie <dj@redhat.com>
27392 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
27395 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
27397 * sysdeps/ieee754/dbl-64/sincos32.h
27398 [SINCCOS32_H]: Remove define.
27399 [SINCOS32_H]: Define.
27401 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27403 * math/Versions (expf): New libm symbol at GLIBC_2.27.
27405 * math/w_exp2f.c: New file.
27406 * math/w_expf.c: New file.
27407 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
27408 * math/w_expf_compat.c (__expf_compat): Likewise.
27409 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
27410 * sysdeps/ia64/fpu/e_expf.S: Likewise.
27411 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27412 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27413 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27414 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27415 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27416 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27417 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27418 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27419 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27420 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27421 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27422 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27431 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27432 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27433 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27434 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27435 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27440 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27441 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27442 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27444 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27446 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
27447 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
27448 (roundtoint, converttoint): Likewise.
27449 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
27450 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
27451 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
27452 * sysdeps/ieee754/flt-32/math_config.h: New file.
27453 * sysdeps/ieee754/flt-32/math_errf.c: New file.
27454 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
27455 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
27456 * sysdeps/i386/fpu/math_errf.c: New file.
27457 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
27458 * sysdeps/ia64/fpu/math_errf.c: New file.
27459 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
27460 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
27462 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
27464 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
27465 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
27466 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
27467 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
27468 to make sure that these symbols are defined.
27469 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
27471 (__need_NULL): Do not define.
27472 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
27474 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
27475 CMGROUP_MAX, cmsgcred): Do not define.
27476 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
27478 * bits/socket.h: Likewise.
27479 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
27480 __gettimeofday instead of gettimeofday.
27481 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
27482 instead of settimeofday.
27484 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27486 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
27487 (asinhf): Define using libm_alias_float.
27488 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
27489 (atanf): Define using libm_alias_float.
27490 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
27491 (cbrtf): Define using libm_alias_float.
27492 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
27493 (ceilf): Define using libm_alias_float.
27494 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
27495 <libm-alias-float.h>.
27496 (copysignf): Define using libm_alias_float.
27497 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
27498 (cosf): Define using libm_alias_float.
27499 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
27500 (erff): Define using libm_alias_float.
27502 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
27503 (expm1f): Define using libm_alias_float.
27504 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
27505 (fabsf): Define using libm_alias_float.
27506 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
27507 (floorf): Define using libm_alias_float.
27508 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
27509 (frexpf): Define using libm_alias_float.
27510 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
27512 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
27513 <libm-alias-float.h>.
27514 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
27516 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
27517 <libm-alias-float.h>.
27518 (getpayloadf): Define using libm_alias_float.
27519 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
27520 <libm-alias-float.h>.
27521 (llrintf): Define using libm_alias_float.
27522 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
27523 <libm-alias-float.h>.
27524 (llroundf): Define using libm_alias_float.
27525 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
27526 (logbf): Define using libm_alias_float.
27527 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
27528 (lrintf): Define using libm_alias_float.
27529 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
27530 (lroundf): Define using libm_alias_float.
27531 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
27532 (modff): Define using libm_alias_float.
27533 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
27534 <libm-alias-float.h>.
27535 (nearbyintf): Define using libm_alias_float.
27536 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
27537 <libm-alias-float.h>.
27538 (nextafterf): Define using libm_alias_float.
27539 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
27540 <libm-alias-float.h>.
27541 (nextupf): Define using libm_alias_float.
27542 * sysdeps/ieee754/flt-32/s_remquof.c: Include
27543 <libm-alias-float.h>.
27544 (remquof): Define using libm_alias_float.
27545 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
27546 (rintf): Define using libm_alias_float.
27547 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
27548 <libm-alias-float.h>.
27549 (roundevenf): Define using libm_alias_float.
27550 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
27551 (roundf): Define using libm_alias_float.
27552 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
27553 using libm_alias_float.
27554 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
27555 <libm-alias-float.h>.
27556 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
27557 Define using libm_alias_float.
27558 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
27559 <libm-alias-float.h>.
27560 (sincosf): Define using libm_alias_float.
27561 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
27562 (sinf): Define using libm_alias_float.
27563 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
27564 (tanf): Define using libm_alias_float.
27565 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
27566 (tanhf): Define using libm_alias_float.
27567 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
27568 <libm-alias-float.h>.
27569 (totalorderf): Define using libm_alias_float.
27570 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
27571 <libm-alias-float.h>.
27572 (totalordermagf): Define using libm_alias_float.
27573 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
27574 (truncf): Define using libm_alias_float.
27575 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
27577 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
27580 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27583 math/math.h: Let fpclassify use the builtin in C++ mode, even
27584 when optimazing for size.
27586 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27588 * csu/Makefile (generated): Do not add version-info.h.
27589 (before-compile): Likewise.
27590 (all-Banner-files): Remove variable.
27591 ($(objpfx)version-info.h): Remove rule.
27592 * csu/version.c (banner): Do not include "version-info.h".
27593 * libidn/Banner: Remove.
27594 * manual/contrib.texi (Simon Josefsson): New entry.
27596 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27598 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27599 Remove conditionals on LDBL_MANT_DIG.
27600 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27601 (__ieee754_lgammal_r): Likewise.
27603 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27605 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
27607 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
27608 _Float128 and L(). Replace _Float128 with long double and L(x)
27609 with xL, throughout the file.
27610 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27611 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27612 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27613 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27615 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27617 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
27618 sysdeps/ieee754/ldbl-128ibm.
27619 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
27620 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
27621 of including it. Keep _Float128 and L() intact. These will be
27622 reviewed by a separate patch.
27623 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27624 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27625 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27626 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27628 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
27631 (__finitef128): Define to __redirect___finitef128.
27632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
27633 (__isinff128): Define to __redirect___isinff128.
27634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
27635 (__isnanf128): Define to __redirect___isnanf128.
27637 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27639 * sysdeps/powerpc/powerpc64le/Makefile
27640 (CFLAGS-tst-strtod-nan-locale.c): New variable.
27641 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
27643 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
27644 Carlos O'Donell <carlos@redhat.com>
27647 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
27648 * stdlib/test-dlclose-exit-race.c: New file.
27649 * stdlib/test-dlclose-exit-race-helper.c: New file.
27650 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
27652 2017-09-21 Joseph Myers <joseph@codesourcery.com>
27654 * crypt/Banner: Remove file.
27655 * nptl/Banner: Likewise.
27656 * resolv/Banner: Likewise.
27657 * soft-fp/Banner: Likewise.
27658 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
27659 ($(objpfx)version.d): Remove dependency on banner.h.
27660 ($(objpfx)version.os): Likewise.
27661 * nptl/version.c (banner): Do not include banner.h.
27662 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
27663 Jelinek and BIND code.
27665 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27666 Carlos O'Donell <carlos@redhat.com>
27668 * support/xdlfcn.h: New file.
27669 * support/xdlfcn.c: New file.
27670 * support/Makefile (libsupport-routines): Add xdlfcn.
27671 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
27673 2017-09-20 Joseph Myers <joseph@codesourcery.com>
27676 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27677 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
27678 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
27679 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
27680 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
27681 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
27682 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
27683 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
27685 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27686 Ricky Zhou <rickyz@google.com>
27687 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
27690 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
27692 (__new_exitfn): Fail registration when we finished at_exit processing.
27693 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27694 * stdlib/on_exit.c (__on_exit): Likewise.
27695 * stdlib/exit.c (__exit_funcs_done): New variable.
27696 (__run_exit_handlers): Use __exit_funcs_lock.
27697 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
27699 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
27700 (test-cxa_atexit-race, test-on_exit-race): New tests.
27701 * stdlib/test-atexit-race-common.c: New file.
27702 * stdlib/test-atexit-race.c: New file.
27703 * stdlib/test-at_quick_exit-race.c: New file.
27704 * stdlib/test-cxa_atexit-race.c: New file.
27705 * stdlib/test-on_exit-race.c: New file.
27707 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
27709 * benchtests/Makefile: Add exp2f and log2f benchmarks.
27710 * benchtests/exp2f-inputs: Copy of expf-inputs.
27711 * benchtests/log2f-inputs: Copy of logf-inputs.
27713 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27715 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
27716 Explicitly take address of first element of array arguments in
27717 call to INLINE_SYSCALL.
27719 2017-09-19 Andreas Schwab <schwab@suse.de>
27722 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
27724 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
27726 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
27727 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
27728 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27729 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
27730 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27731 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27732 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27733 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27734 * posix/Makefile (tests): Add tst-fexecve.
27735 * posix/tst-fexecve.c: New file.
27737 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27739 * benchtests/Makefile: Add logf benchmark.
27740 * benchtests/logf-inputs: Add reduced trace from wrf_r.
27742 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27744 * benchtests/Makefile: Add expf benchmark.
27745 * benchtests/expf-inputs: Add reduced trace from wrf_r.
27747 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27749 * csu/Makefile: Add -funwind-tables to libc-start.c.
27750 * debug/Makefile: Add -funwind-tables to backtrace.c.
27751 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
27752 * sysdeps/arm/Makefile: Likewise.
27753 * sysdeps/i386/Makefile: Likewise.
27754 * sysdeps/m68k/Makefile: Likewise.
27755 * sysdeps/mips/Makefile: Likewise.
27756 * sysdeps/nios2/Makefile: Likewise.
27757 * sysdeps/sh/Makefile: Likewise.
27758 * sysdeps/sparc/Makefile: Likewise.
27760 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27762 * benchtests/Makefile (bench-math): Add trunc and truncf.
27763 (CFLAGS-bench-trunc.c): New variable.
27764 (CFLAGS-bench-truncf.c): Likewise.
27765 * benchtests/trunc-inputs: New file.
27766 * benchtests/truncf-inputs: Likewise.
27768 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27770 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
27772 2017-09-18 Joseph Myers <joseph@codesourcery.com>
27774 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
27775 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
27777 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27778 (exp10l): Define as weak alias.
27779 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
27780 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
27782 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
27783 (remainderl): Define as weak alias.
27785 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
27786 (fmal): Define using libm_alias_ldouble.
27787 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
27788 (acoshl): Define using libm_alias_ldouble.
27789 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
27790 (acosl): Define using libm_alias_ldouble.
27791 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
27792 (asinl): Define using libm_alias_ldouble.
27793 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
27794 (atan2l): Define using libm_alias_ldouble.
27795 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
27796 (atanhl): Define using libm_alias_ldouble.
27797 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
27798 (coshl): Define using libm_alias_ldouble.
27799 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
27800 (exp10l): Define using libm_alias_ldouble.
27801 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
27802 (exp2l): Define using libm_alias_ldouble.
27803 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
27804 (expl): Define using libm_alias_ldouble.
27805 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
27806 (fmodl): Define using libm_alias_ldouble.
27807 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
27808 (hypotl): Define using libm_alias_ldouble.
27809 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
27810 (j0l): Define using libm_alias_ldouble.
27812 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
27813 (j1l): Define using libm_alias_ldouble.
27815 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
27816 (jnl): Define using libm_alias_ldouble.
27818 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
27819 (log10l): Define using libm_alias_ldouble.
27820 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
27821 (log2l): Define using libm_alias_ldouble.
27822 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
27823 (logl): Define using libm_alias_ldouble.
27824 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
27825 (powl): Define using libm_alias_ldouble.
27826 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
27827 (remainderl): Define using libm_alias_ldouble.
27828 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
27829 (sinhl): Define using libm_alias_ldouble.
27830 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
27831 (sqrtl): Define using libm_alias_ldouble.
27832 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
27833 (tgammal): Define using libm_alias_ldouble.
27834 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
27835 (exp10l): Do not use long_double_symbol here.
27836 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27837 [LIBM_SVID_COMPAT] (remainderl): Likewise.
27838 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
27839 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27840 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27841 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27842 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27843 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27844 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27845 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27846 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27847 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27848 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27849 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27850 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27851 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27852 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27853 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27854 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27855 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27856 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27857 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27859 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
27861 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
27862 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
27864 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
27866 * io/read.c (read): Add libc_hidden_weak.
27867 * sysdeps/mach/hurd/read.c (read): Likewise.
27868 * io/write.c (write): Likewise.
27869 * sysdeps/mach/hurd/write.c (write): Likewise.
27870 * io/pread64.c (__pread64): Likewise.
27871 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
27872 * posix/pread64.c (__pread64): Add libc_hidden_def.
27874 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27876 * benchtests/scripts/compare_strings.py: New option -g.
27877 (draw_graph): Print a message that a graph is being generated.
27878 (process_results): Generate graph only if -g is passed.
27879 (main): Process option -g.
27881 * benchtests/scripts/compare_strings.py (process_results):
27882 Better spacing for output.
27884 * benchtests/scripts/compare_strings.py: Use argparse.
27885 * benchtests/README: Document existence of compare_strings.py.
27887 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27889 * math/s_fma.c: Include <libm-alias-double.h>.
27890 (fma): Define using libm_alias_double.
27891 * math/s_nextafter.c: Include <libm-alias-double.h>.
27892 (nextafter): Define using libm_alias_double.
27893 * math/w_acos_compat.c: Include <libm-alias-double.h>.
27894 (acos): Define using libm_alias_double.
27895 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
27896 (aocsh): Define using libm_alias_double.
27897 * math/w_asin_compat.c: Include <libm-alias-double.h>.
27898 (asin): Define using libm_alias_double.
27899 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
27900 (atan2): Define using libm_alias_double.
27901 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
27902 (atanh): Define using libm_alias_double.
27903 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
27904 (cosh): Define using libm_alias_double.
27905 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
27906 (exp10): Define using libm_alias_double.
27907 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
27908 (exp2): Define using libm_alias_double.
27909 * math/w_exp_compat.c: Include <libm-alias-double.h>.
27910 (exp): Define using libm_alias_double.
27911 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
27912 (fmod): Define using libm_alias_double.
27913 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
27914 (hypot): Define using libm_alias_double.
27915 * math/w_j0_compat.c: Include <libm-alias-double.h>.
27916 (j0): Define using libm_alias_double.
27918 * math/w_j1_compat.c: Include <libm-alias-double.h>.
27919 (j1): Define using libm_alias_double.
27921 * math/w_jn_compat.c: Include <libm-alias-double.h>.
27922 (jn): Define using libm_alias_double.
27924 * math/w_log10_compat.c: Include <libm-alias-double.h>.
27925 (log10): Define using libm_alias_double.
27926 * math/w_log2_compat.c: Include <libm-alias-double.h>.
27927 (log2): Define using libm_alias_double.
27928 * math/w_log_compat.c: Include <libm-alias-double.h>.
27929 (log): Define using libm_alias_double.
27930 * math/w_pow_compat.c: Include <libm-alias-double.h>.
27931 (pow): Define using libm_alias_double.
27932 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
27933 (remainder): Define using libm_alias_double.
27934 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
27935 (sinh): Define using libm_alias_double.
27936 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
27937 (sqrt): Define using libm_alias_double.
27938 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
27939 (tgamma): Define using libm_alias_double.
27940 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
27941 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
27942 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
27943 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
27944 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
27945 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
27946 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
27947 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
27948 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
27949 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
27950 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
27951 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
27952 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
27953 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
27954 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
27955 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
27956 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
27957 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
27958 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
27959 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
27960 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
27961 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
27962 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
27963 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
27964 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
27966 * math/e_acoshl.c: Remove.
27967 * math/e_acosl.c: Likewise.
27968 * math/e_asinl.c: Likewise.
27969 * math/e_atan2l.c: Likewise.
27970 * math/e_atanhl.c: Likewise.
27971 * math/e_coshl.c: Likewise.
27972 * math/e_expl.c: Likewise.
27973 * math/e_fmodl.c: Likewise.
27974 * math/e_gammal_r.c: Likewise.
27975 * math/e_hypotl.c: Likewise.
27976 * math/e_j0l.c: Likewise.
27977 * math/e_j1l.c: Likewise.
27978 * math/e_jnl.c: Likewise.
27979 * math/e_lgammal_r.c: Likewise.
27980 * math/e_log10l.c: Likewise.
27981 * math/e_log2l.c: Likewise.
27982 * math/e_logl.c: Likewise.
27983 * math/e_powl.c: Likewise.
27984 * math/e_rem_pio2l.c: Likewise.
27985 * math/e_sinhl.c: Likewise.
27986 * math/e_sqrtf128.c: Likewise.
27987 * math/e_sqrtl.c: Likewise.
27988 * math/k_cosl.c: Likewise.
27989 * math/k_sinl.c: Likewise.
27990 * math/k_tanl.c: Likewise.
27991 * math/s_asinhl.c: Likewise.
27992 * math/s_atanl.c: Likewise.
27993 * math/s_cbrtl.c: Likewise.
27994 * math/s_erfl.c: Likewise.
27995 * math/s_expm1l.c: Likewise.
27996 * math/s_log1pl.c: Likewise.
27997 * math/s_tanhl.c: Likewise.
27999 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28002 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
28003 [$(subdir) = math] (sysdep_calls): New variable. Has the
28004 previous contents of sysdep_routines, but re-sorted..
28005 [$(subdir) = math] (sysdep_routines): Re-use the contents from
28007 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
28008 defined in sysdep_calls and replace by the respective m_* names.
28009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
28010 (compat_symbol): Undefine to avoid duplicated compat symbols in
28013 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28015 * math/s_fmaf.c: Include <libm-alias-float.h>.
28016 (fmaf): Define using libm_alias_float.
28017 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
28018 (acosf): Define using libm_alias_float.
28019 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
28020 (acoshf): Define using libm_alias_float.
28021 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
28022 (asinf): Define using libm_alias_float.
28023 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
28024 (atan2f): Define using libm_alias_float.
28025 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
28026 (atanhf): Define using libm_alias_float.
28027 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
28028 (coshf): Define using libm_alias_float.
28029 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
28030 (exp10f): Define using libm_alias_float.
28031 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
28032 (fmodf): Define using libm_alias_float.
28033 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
28034 (hypotf): Define using libm_alias_float.
28035 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
28036 (j0f): Define using libm_alias_float.
28038 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
28039 (j1f): Define using libm_alias_float.
28041 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
28042 (jnf): Define using libm_alias_float.
28044 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
28045 (log10f): Define using libm_alias_float.
28046 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
28047 (log2f): Define using libm_alias_float.
28048 * math/w_logf_compat.c: Include <libm-alias-float.h>.
28049 (logf): Define using libm_alias_float.
28050 * math/w_powf_compat.c: Include <libm-alias-float.h>.
28051 (powf): Define using libm_alias_float.
28052 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
28053 (remainderf): Define using libm_alias_float.
28054 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
28055 (sinhf): Define using libm_alias_float.
28056 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
28057 (sqrtf): Define using libm_alias_float.
28058 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
28059 (tgammaf): Define using libm_alias_float.
28061 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28063 * include/math.h (roundeven): Change hidden_proto call to
28065 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
28067 [NO_LONG_DOUBLE] (__j0l): New strong alias.
28068 (y0): Rename to __y0 and define as weak alias.
28069 [NO_LONG_DOUBLE] (__y0l): New strong alias.
28070 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
28072 (y0f): Rename to __y0f and define as weak alias.
28073 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
28075 [NO_LONG_DOUBLE] (__j1l): New strong alias.
28076 (y1): Rename to __y1 and define as weak alias.
28077 [NO_LONG_DOUBLE] (__y1l): New strong alias.
28078 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
28080 (y1f): Rename to __y1f and define as weak alias.
28081 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
28083 [NO_LONG_DOUBLE] (__jnl): New strong alias.
28084 (yn): Rename to __yn and define as weak alias.
28085 [NO_LONG_DOUBLE] (__ynl): New strong alias.
28086 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
28088 (ynf): Rename to __ynf and define as weak alias.
28089 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
28090 (fromfp): Define as weak alias.
28091 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
28092 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
28093 (fromfpx): Define as weak alias.
28094 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
28095 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
28096 __getpayload and define as weak alias.
28097 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28098 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
28099 __roundeven and define as weak alias.
28100 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28101 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
28103 (setpayload): Define as weak alias.
28104 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
28105 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
28107 (setpayloadsig): Define as weak alias.
28108 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
28109 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
28110 __totalorder and define as weak alias.
28111 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28112 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
28113 to __totalordermag and define as weak alias.
28114 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28115 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
28116 (ufromfp): Define as weak alias.
28117 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
28118 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
28120 (ufromfpx): Define as weak alias.
28121 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
28122 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
28123 Rename to __getpayload and define as weak alias.
28124 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28125 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
28126 Rename to __roundeven and define as weak alias.
28127 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28128 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
28129 Rename to __totalorder and define as weak alias.
28130 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28131 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
28132 (totalordermag): Rename to __totalordermag and define as weak
28134 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28135 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
28137 (__roundevenl): Likewise.
28138 (__totalorderl): Likewise.
28139 (__totalordermagl): Likewise
28140 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
28142 (fromfpf128): Define as weak alias.
28143 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
28145 (fromfpxf128): Define as weak alias.
28146 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
28148 (setpayloadf128): Define as weak alias.
28149 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
28150 __setpayloadsigf128.
28151 (setpayloadsigf128): Define as weak alias.
28152 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
28154 (ufromfpf128): Define as weak alias.
28155 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
28157 (ufromfpxf128): Define as weak alias.
28158 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
28159 (fromfpf): Define as weak alias.
28160 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
28162 (fromfpxf): Define as weak alias.
28163 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
28164 __getpayloadf and define as weak alias.
28165 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
28166 __roundevenf and define as weak alias.
28167 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
28169 (setpayloadf): Define as weak alias.
28170 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
28172 (setpayloadsigf): Define as weak alias.
28173 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
28174 __totalorderf and define as weak alias.
28175 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
28176 Rename to __totalordermagf and define as weak alias.
28177 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
28179 (ufromfpf): Define as weak alias.
28180 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
28182 (ufromfpxf): Define as weak alias.
28183 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
28185 (fromfpl): Define as weak alias.
28186 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
28188 (fromfpxl): Define as weak alias.
28189 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
28190 to __getpayloadl and define as weak alias.
28191 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
28192 __roundevenl and define as weak alias.
28193 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
28195 (setpayloadl): Define as weak alias.
28196 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
28198 (setpayloadsigl): Define as weak alias.
28199 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
28200 to __totalorderl and define as weak alias.
28201 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
28202 Rename to __totalordermagl and define as weak alias.
28203 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
28205 (ufromfpl): Define as weak alias.
28206 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
28208 (ufromfpxl): Define as weak alias.
28209 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
28211 (fromfpl): Define as weak alias.
28212 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
28214 (fromfpxl): Define as weak alias.
28215 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
28216 Rename to __getpayloadl and define as weak alias.
28217 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
28218 to __roundevenl and define as weak alias. Call __roundeven
28219 instead of roundeven.
28220 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
28222 (setpayloadl): Define as weak alias.
28223 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
28225 (setpayloadsigl): Define as weak alias.
28226 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
28227 Rename to __totalorderl and define as weak alias.
28228 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
28229 Rename to __totalordermagl and define as weak alias.
28230 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
28232 (ufromfpl): Define as weak alias.
28233 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
28235 (ufromfpxl): Define as weak alias.
28236 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
28238 (fromfpl): Define as weak alias.
28239 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
28241 (fromfpxl): Define as weak alias.
28242 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
28243 __getpayloadl and define as weak alias.
28244 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
28245 __roundevenl and define as weak alias.
28246 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
28248 (setpayloadl): Define as weak alias.
28249 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
28251 (setpayloadsigl): Define as weak alias.
28252 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
28253 __totalorderl and define as weak alias.
28254 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
28255 Rename to __totalordermagl and define as weak alias.
28256 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
28258 (ufromfpl): Define as weak alias.
28259 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
28261 (ufromfpxl): Define as weak alias.
28263 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28265 * benchtests/bench-string.h (realloc_bufs): New function.
28266 (test_init): Call it.
28267 * benchtests/bench-memset-large.c (do_test): Likewise.
28268 * benchtests/bench-memset.c (do_test): Likewise.
28270 * benchtests/bench-memset-large.c: Print output in JSON
28272 * benchtests/bench-memset.c: Likewise.
28274 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28277 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
28278 * iconvdata/Makefile: Add IBM858.
28279 * iconvdata/gconv-modules: Likewise.
28280 * iconvdata/tst-tables.sh: Likewise.
28281 * iconvdata/ibm858.c: New file.
28282 * localedata/charmaps/IBM858: Likewise.
28284 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
28287 * locales/niu_NZ (LC_TIME): copy "niu_NU".
28288 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
28290 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28293 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
28294 and add tel_int_fmt.
28296 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28298 * sysdeps/generic/libm-alias-float128.h: New file.
28299 * sysdeps/generic/math-type-macros-float128.h: Include
28300 <libm-alias-float128.h>.
28301 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28303 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28305 * sysdeps/generic/libm-alias-ldouble.h: New file.
28306 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
28307 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
28308 * sysdeps/generic/math-type-macros-ldouble.h: Include
28309 <libm-alias-ldouble.h>.
28310 [!declare_mgen_alias] (declare_mgen_alias): Define to use
28311 libm_alias_ldouble.
28313 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
28315 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
28316 * math/w_exp_compat.c: ... here.
28317 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
28318 * math/w_expf_compat.c: ... here.
28319 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
28320 * math/w_expl_compat.c: ... here.
28321 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
28322 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
28323 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
28324 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28326 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28328 * math/w_scalbln_template.c (strong_alias): Do not undefine and
28330 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
28332 (ldexpl): Only define as compat symbol for libc, not libm.
28333 (scalbnl): Define as compat symbol for libc here.
28334 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
28335 define for [IS_IN (libc)].
28336 (__ldexpl_2): Remove alias.
28337 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
28338 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
28339 name in long_double_symbol call.
28340 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
28341 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28342 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28343 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
28344 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
28346 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
28347 Define as compat symbol.
28349 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28351 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
28352 * sysdeps/unix/sysv/linux/alpha/Makefile
28353 [$(subdir) = csu] (sysdep_routines): Remove rule.
28355 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28357 * sysdeps/generic/libm-alias-double.h: New file.
28358 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
28359 * sysdeps/generic/math-type-macros-double.h: Include
28360 <libm-alias-double.h>.
28361 [declare_mgen_alias] (declare_mgen_alias): Define to use
28363 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
28364 (M_LIBM_NEED_COMPAT): Remove macro.
28365 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
28366 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
28367 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
28369 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28370 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28371 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28372 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28373 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28374 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28375 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28376 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28377 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28378 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28379 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28380 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28381 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28382 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28383 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28384 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28385 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28386 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28387 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28388 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28389 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28390 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28391 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28392 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28393 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28394 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28395 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28396 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
28397 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
28399 (declare_mgen_alias): New macro.
28400 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
28401 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
28402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
28403 (M_LIBM_NEED_COMPAT): Remove macro.
28404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
28405 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
28406 <first-versions.h>.
28407 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
28408 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
28410 2017-09-12 Joseph Myers <joseph@codesourcery.com>
28412 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
28413 (declare_mgen_alias_2): Remove.
28414 * sysdeps/generic/math-type-macros-double.h
28415 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
28417 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
28419 (ldexp): Define with declare_mgen_alias.
28420 (scalbn): Likewise.
28422 2017-09-12 Steve Ellcey <sellcey@cavium.com>
28424 * grp/initgroups.c: Include config.h.
28425 (DEFAULT_CONFIG): New macro.
28426 (internal_getgrouplist): Use DEFAULT_CONFIG.
28427 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28428 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
28429 (DEFAULT_DEFCONFIG): New macro.
28430 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
28431 * nss/grp-lookup.c: Include config.h
28432 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
28433 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
28434 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
28435 * manual/nss.texi: Update default values section.
28437 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
28440 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
28442 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
28443 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28444 Handle MathVec_Prefer_No_AVX512.
28445 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
28446 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
28449 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
28451 * posix/sched_primax.c (__sched_get_priority_max): Add
28453 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
28454 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28455 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28456 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
28457 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
28458 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
28459 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
28460 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
28463 2017-09-11 Joseph Myers <joseph@codesourcery.com>
28465 * sysdeps/generic/libm-alias-float.h: New file.
28466 * sysdeps/generic/math-type-macros-float.h: Include
28467 <libm-alias-float.h>.
28468 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28470 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
28473 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
28474 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
28475 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
28476 (HWCAP_IMPORTANT): Likewise.
28477 (HWCAP_X86_64): New enum.
28478 (HWCAP_X86_AVX512_1): Updated.
28479 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
28480 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
28481 (modules-names): Add x86_64/tst-x86_64mod-1.
28482 (LDFLAGS-tst-x86_64mod-1.so): New.
28483 ($(objpfx)tst-x86_64-1): Likewise.
28484 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
28485 (tst-x86_64-1-clean): Likewise.
28486 * sysdeps/x86_64/tst-x86_64-1.c: New file.
28487 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
28489 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28491 * po/sv.po: Update translations.
28492 * po/fr.po: Likewise.
28494 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28496 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
28498 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
28500 * elf/rtld-Rules: Fix $(error) use.
28502 2017-09-09 Mike FABIAN <mfabian@redhat.com>
28505 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
28506 * locale/iso-639.def: Change “Bengali” to “Bangla”.
28507 * localedata/locales/bn_BD: “Bengali” was still used in some
28508 comments. Change it to “Bangla”.
28510 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
28512 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
28514 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28516 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
28517 thunderx2t99p1 to list of cpu names.
28518 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28519 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
28521 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28523 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
28524 Use strcmp instead of tunable_is_name.
28526 2017-09-08 Joseph Myers <joseph@codesourcery.com>
28528 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28529 (F_GET_RW_HINT): New macro.
28530 [__USE_GNU] (F_SET_RW_HINT): Likewise.
28531 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
28532 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
28533 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
28534 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
28535 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
28536 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
28537 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
28538 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
28540 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28541 (F_ADD_SEALS): New macro.
28542 [__USE_GNU] (F_GET_SEALS): Likewise.
28543 [__USE_GNU] (F_SEAL_SEAL): Likewise.
28544 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
28545 [__USE_GNU] (F_SEAL_GROW): Likewise.
28546 [__USE_GNU] (F_SEAL_WRITE): Likewise.
28548 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28550 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
28551 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
28552 * posix/glob_internal.h (__glob_pattern_type):
28553 * posix/glob.c (glob):
28554 * posix/glob_pattern_p.c (__glob_pattern_p):
28557 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
28558 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28559 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
28560 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
28561 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
28563 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
28564 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
28565 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28566 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28567 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28568 * sysdeps/wordsize-64/glob.c: Likewise.
28569 * sysdeps/wordsize-64/glob64.c: Likewise.
28570 * sysdeps/wordsize-64/globfree.c: Likewise.
28571 * sysdeps/wordsize-64/globfree64.c: Likewise.
28572 * sysdeps/unix/sysv/linux/glob.c: New file.
28573 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
28574 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
28575 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
28576 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28577 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
28578 adds !GLOB_NO_OLD_VERSION as an extra condition.
28579 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
28580 using relative path instead of absolute one.
28581 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
28582 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28583 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28584 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
28585 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
28586 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
28589 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
28590 (glob): Use the same scratch buffer for both getlogin_r and
28591 getpwnam_r. Don’t require preallocation of the login name. This
28592 simplifies storage allocation, and corrects the handling of
28596 * posix/glob.c (glob): Port recent patches to platforms
28597 lacking getpwnam_r.
28598 (glob): Fix longstanding misuse of errno after getpwnam_r, which
28599 returns an error number rather than setting errno.
28601 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
28602 instead of GCC extension.
28603 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
28604 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
28605 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
28609 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
28610 * posix/bug-glob1.c: Remove file.
28611 * posix/tst-glob_symlinks.c: New file.
28612 * posix/glob.c (__lstat64): New macro.
28613 (is_dir): New function.
28614 (glob, glob_in_dir): Match symlinks even if they are dangling.
28615 (link_stat, link_exists_p): Remove. All uses removed.
28619 * posix/glob.c (struct readdir_result): Remove skip_entry member.
28620 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
28625 * posix/Makefile (routines): Add globfree, globfree64, and
28627 * posix/flexmember.h: New file.
28628 * posix/glob_internal.h: Likewise.
28629 * posix/glob_pattern_p.c: Likewise.
28630 * posix/globfree.c: Likewise.
28631 * posix/globfree64.c: Likewise.
28632 * sysdeps/gnu/globfree64.c: Likewise.
28633 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
28634 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28635 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
28636 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28637 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28638 * sysdeps/wordsize-64/globfree.c: Likewise.
28639 * sysdeps/wordsize-64/globfree64.c: Likewise.
28640 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
28641 [NDEBUG): Remove comments.
28642 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
28643 (dirent_type): New type. Use uint_fast8_t not
28644 uint8_t, as C99 does not require uint8_t.
28645 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
28646 (struct readdir_result): Use dirent_type. Do not define skip_entry
28647 unless it is needed; this saves a byte on platforms lacking d_ino.
28648 (readdir_result_type, readdir_result_skip_entry):
28649 New functions, replacing ...
28650 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
28651 these functions, which were removed. This makes the callers
28652 easier to read. All callers changed.
28653 (D_INO_TO_RESULT): Now empty if there is no d_ino.
28654 (size_add_wrapv, glob_use_alloca): New static functions.
28655 (glob, glob_in_dir): Check for size_t overflow in several places,
28656 and fix some size_t checks that were not quite right.
28657 Remove old code using SHELL since Bash no longer
28659 (glob, prefix_array): Separate MS code better.
28660 (glob_in_dir): Remove old Amiga and VMS code.
28661 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
28663 (glob_in_dir): Do not rely on undefined behavior in accessing
28664 struct members beyond their bounds. Use a flexible array member
28666 (link_stat): Rename from link_exists2_p and return -1/0 instead of
28667 0/1. Caller changed.
28668 (glob): Fix memory leaks.
28669 * posix/glob64 (globfree64): Move to separate file.
28670 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
28671 (globfree64): Remove hidden alias.
28672 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
28674 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
28676 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
28678 Move compat code to separate file.
28679 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
28682 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
28684 * resolv/tst-resolv-qtypes.c (domain): Changed to
28685 "const char domain[] =".
28687 2017-09-07 Joseph Myers <joseph@codesourcery.com>
28689 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
28692 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
28693 (TCP_MD5SIG_EXT): Likewise.
28694 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
28695 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
28696 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
28698 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
28700 2017-09-07 Mike FABIAN <mfabian@redhat.com>
28702 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
28704 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
28707 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
28709 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
28711 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
28712 before assuming that the file is empty. Avoid testing buffer content
28715 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28718 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28720 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
28722 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
28724 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
28726 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28728 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
28730 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
28733 2017-09-06 Florian Weimer <fweimer@redhat.com>
28735 * malloc/dynarray_emplace_enlarge.c
28736 (__libc_dynarray_emplace_enlarge): Add missing else.
28738 2017-09-06 Florian Weimer <fweimer@redhat.com>
28741 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
28742 case of failure to obtain the global conf object.
28744 2017-09-06 Florian Weimer <fweimer@redhat.com>
28747 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
28748 dynarray allocation failure.
28750 2017-09-06 Florian Weimer <fweimer@redhat.com>
28752 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
28753 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
28754 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
28756 (response): Call them. Add 'p', '6' flag processing.
28757 (test_reverse): New function.
28758 (test_get2_any): Call it.
28759 (test_no_inet6): Add 'p' test.
28760 (test_inet6): Likewise.
28762 2017-09-06 Florian Weimer <fweimer@redhat.com>
28764 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
28765 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
28767 (test_gai): Adjust query names. Add additional tests.
28768 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
28769 test_get2. Adjust query names. Add additional tests.
28770 (test_no_inet6): New function, extracted from threadfunc.
28771 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
28772 Add additional tests.
28774 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28777 * localedata/unicode-gen/utf8_gen.py: Set the width for
28778 characters with Prepended_Concatenation_Mark property to 1
28779 * localedata/charmaps/UTF-8: Updated using the improved script.
28781 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28784 * localedata/unicode-gen/utf8_gen.py: Improve the script to
28785 use the range notation for all ranges of neighbouring characters
28786 with the same width.
28788 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28790 * sysdeps/generic/math-type-macros-double.h: Include
28791 <math-svid-compat.h>.
28792 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28793 * sysdeps/generic/math-type-macros-float.h: Include
28794 <math-svid-compat.h>.
28795 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28796 * sysdeps/generic/math-type-macros-ldouble.h: Include
28797 <math-svid-compat.h>.
28798 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28799 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
28801 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
28802 * math/w_acosf_compat.c: Likewise.
28803 * math/w_acosh_compat.c: Likewise.
28804 * math/w_acoshf_compat.c: Likewise.
28805 * math/w_acoshl_compat.c: Likewise.
28806 * math/w_acosl_compat.c: Likewise.
28807 * math/w_asin_compat.c: Likewise.
28808 * math/w_asinf_compat.c: Likewise.
28809 * math/w_asinl_compat.c: Likewise.
28810 * math/w_atan2_compat.c: Likewise.
28811 * math/w_atan2f_compat.c: Likewise.
28812 * math/w_atan2l_compat.c: Likewise.
28813 * math/w_atanh_compat.c: Likewise.
28814 * math/w_atanhf_compat.c: Likewise.
28815 * math/w_atanhl_compat.c: Likewise.
28816 * math/w_cosh_compat.c: Likewise.
28817 * math/w_coshf_compat.c: Likewise.
28818 * math/w_coshl_compat.c: Likewise.
28819 * math/w_exp10_compat.c: Likewise.
28820 * math/w_exp10f_compat.c: Likewise.
28821 * math/w_exp10l_compat.c: Likewise.
28822 * math/w_exp2_compat.c: Likewise.
28823 * math/w_exp2f_compat.c: Likewise.
28824 * math/w_exp2l_compat.c: Likewise.
28825 * math/w_fmod_compat.c: Likewise.
28826 * math/w_fmodf_compat.c: Likewise.
28827 * math/w_fmodl_compat.c: Likewise.
28828 * math/w_hypot_compat.c: Likewise.
28829 * math/w_hypotf_compat.c: Likewise.
28830 * math/w_hypotl_compat.c: Likewise.
28831 * math/w_j0_compat.c: Likewise.
28832 * math/w_j0f_compat.c: Likewise.
28833 * math/w_j0l_compat.c: Likewise.
28834 * math/w_j1_compat.c: Likewise.
28835 * math/w_j1f_compat.c: Likewise.
28836 * math/w_j1l_compat.c: Likewise.
28837 * math/w_jn_compat.c: Likewise.
28838 * math/w_jnf_compat.c: Likewise.
28839 * math/w_jnl_compat.c: Likewise.
28840 * math/w_lgamma_r_compat.c: Likewise.
28841 * math/w_lgammaf_r_compat.c: Likewise.
28842 * math/w_lgammal_r_compat.c: Likewise.
28843 * math/w_log10_compat.c: Likewise.
28844 * math/w_log10f_compat.c: Likewise.
28845 * math/w_log10l_compat.c: Likewise.
28846 * math/w_log2_compat.c: Likewise.
28847 * math/w_log2f_compat.c: Likewise.
28848 * math/w_log2l_compat.c: Likewise.
28849 * math/w_log_compat.c: Likewise.
28850 * math/w_logf_compat.c: Likewise.
28851 * math/w_logl_compat.c: Likewise.
28852 * math/w_pow_compat.c: Likewise.
28853 * math/w_powf_compat.c: Likewise.
28854 * math/w_powl_compat.c: Likewise.
28855 * math/w_remainder_compat.c: Likewise.
28856 * math/w_remainderf_compat.c: Likewise.
28857 * math/w_remainderl_compat.c: Likewise.
28858 * math/w_sinh_compat.c: Likewise.
28859 * math/w_sinhf_compat.c: Likewise.
28860 * math/w_sinhl_compat.c: Likewise.
28861 * math/w_sqrt_compat.c: Likewise.
28862 * math/w_sqrtf_compat.c: Likewise.
28863 * math/w_sqrtl_compat.c: Likewise.
28864 * math/w_tgamma_compat.c: Likewise.
28865 * math/w_tgammaf_compat.c: Likewise.
28866 * math/w_tgammal_compat.c: Likewise.
28867 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
28868 [LIBM_SVID_COMPAT].
28869 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
28870 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
28871 [LIBM_SVID_COMPAT].
28872 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
28873 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
28874 [LIBM_SVID_COMPAT].
28875 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
28876 * sysdeps/i386/fpu/w_sqrt.c: New file.
28877 * sysdeps/ia64/fpu/w_acos.c: Likewise.
28878 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
28879 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
28880 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
28881 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
28882 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
28883 * sysdeps/ia64/fpu/w_asin.c: Likewise.
28884 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
28885 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
28886 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
28887 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
28888 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
28889 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
28890 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
28891 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
28892 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
28893 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
28894 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
28895 * sysdeps/ia64/fpu/w_exp.c: Likewise.
28896 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
28897 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
28898 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
28899 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
28900 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
28901 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
28902 * sysdeps/ia64/fpu/w_expf.c: Likewise.
28903 * sysdeps/ia64/fpu/w_expl.c: Likewise.
28904 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
28905 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
28906 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
28907 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
28908 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
28909 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
28910 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
28911 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
28912 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
28913 * sysdeps/ia64/fpu/w_log.c: Likewise.
28914 * sysdeps/ia64/fpu/w_log10.c: Likewise.
28915 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
28916 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
28917 * sysdeps/ia64/fpu/w_log2.c: Likewise.
28918 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
28919 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
28920 * sysdeps/ia64/fpu/w_logf.c: Likewise.
28921 * sysdeps/ia64/fpu/w_logl.c: Likewise.
28922 * sysdeps/ia64/fpu/w_pow.c: Likewise.
28923 * sysdeps/ia64/fpu/w_powf.c: Likewise.
28924 * sysdeps/ia64/fpu/w_powl.c: Likewise.
28925 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
28926 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
28927 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
28928 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
28929 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
28930 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
28931 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
28932 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
28933 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
28934 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
28935 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
28936 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
28937 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
28938 [LIBM_SVID_COMPAT].
28939 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
28940 * sysdeps/ieee754/k_standard.c: Likewise.
28941 * sysdeps/ieee754/k_standardf.c: Likewise.
28942 * sysdeps/ieee754/k_standardl.c: Likewise.
28943 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
28944 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
28945 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
28946 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
28947 long_double_symbol call on [LIBM_SVID_COMPAT].
28948 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28949 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28950 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28951 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28952 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28953 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28954 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28955 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28956 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28957 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28958 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28959 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28960 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28961 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28962 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28963 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28964 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
28965 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28966 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28967 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28968 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
28969 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
28971 2017-09-05 Steve Ellcey <sellcey@cavium.com>
28973 * include/shlib-compat.h (TEST_COMPAT): New Macro.
28974 * malloc/tst-mallocstate.c: Convert from test-skeleton
28975 to test-driver. Ifdef code using TEST_COMPAT macro.
28976 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
28977 * math/test-matherr.c: Likewise.
28979 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28982 * debug/pcprofiledump.c (main): Use byte-swapped mask when
28983 comparing word with byte-swapped constant.
28985 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
28988 * locale/iso-639.def: add Miskito.
28989 * localedata/SUPPORTED: Add miq_NI/UTF-8.
28990 * localedata/locales/miq_NI: New file.
28992 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
28995 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
28996 (__mkdir): Likewise.
28997 * io/chmod.c (__chmod): Add libc_hidden_def.
28998 * io/mkdir.c (__mkdir): Likewise.
28999 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
29000 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
29001 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
29002 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
29004 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29006 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
29010 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
29011 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
29013 2017-09-04 Florian Weimer <fweimer@redhat.com>
29015 * math/math.h: Issue warning if log is defined.
29017 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29019 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
29020 kernel version to 4.13.
29022 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29024 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
29025 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
29027 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
29028 just <bits/types.h>.
29029 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
29030 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
29031 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
29032 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
29033 * misc/preadv2.c: Include <errno.h>.
29034 * misc/preadv64v2.c: Include <errno.h>.
29035 * misc/pwritev2.c: Include <errno.h>.
29036 * misc/pwritev64v2.c: Include <errno.h>.
29037 * sysdeps/posix/preadv2.c: Include <errno.h>.
29038 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
29039 Fix <unistd.h> inclusion.
29040 * sysdeps/posix/pwritev2.c: Include <errno.h>.
29041 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
29042 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
29043 __strtoul_internal): New functions.
29044 * sysdeps/posix/pause.c: Include <sigsetops.h>.
29045 * sysdeps/posix/system.c: Include <sigsetops.h>.
29046 * sysdeps/mach/hurd/i386/Makefile
29047 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
29048 [$(subdir) = csu] (sysdep-only-routines): Likewise.
29049 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
29050 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
29051 __feraiseexcept_renamed to feraiseexcept instead of
29052 __GI_feraiseexcept.
29053 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
29054 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
29055 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
29056 RWF_NOWAIT): Define to 0 if undefined already.
29057 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
29059 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
29060 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
29062 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29064 * manual/math.texi (pow10): Do not document.
29065 (pow10f): Likewise.
29066 (pow10l): Likewise.
29067 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
29068 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
29069 * math/libm-test-exp10.inc (pow10_test): Remove.
29070 (do_test): Do not call pow10.
29071 * math/w_exp10_compat.c (pow10): Make into compat symbol.
29072 [NO_LONG_DOUBLE] (pow10l): Likewise.
29073 * math/w_exp10f_compat.c (pow10f): Likewise.
29074 * math/w_exp10l_compat.c (pow10l): Likewise.
29075 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
29076 (pow10): Make into compat symbol.
29077 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
29078 (pow10f): Make into compat symbol.
29079 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
29080 (pow10l): Make into compat symbol.
29081 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
29083 (CFLAGS-nldbl-pow10.c): Remove variable..
29084 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
29085 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
29086 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
29087 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
29088 Undefine and redefine.
29089 (pow10l): Make into compat symbol.
29090 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
29091 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29092 * sysdeps/arm/libm-test-ulps: Likewise.
29093 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
29094 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29095 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29096 * sysdeps/microblaze/libm-test-ulps: Likewise.
29097 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29098 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29099 * sysdeps/nios2/libm-test-ulps: Likewise.
29100 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29101 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29102 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29103 * sysdeps/sh/libm-test-ulps: Likewise.
29104 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29105 * sysdeps/tile/libm-test-ulps: Likewise.
29106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29108 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29110 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
29112 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29114 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
29115 "../ChangeLog.old/ChangeLog.8".
29116 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
29117 "../ChangeLog.old/ChangeLog.14".
29119 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29121 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
29124 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29126 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
29128 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29130 * csu/version.c (banner): Remove "by Roland McGrath et al.".
29131 * nptl/Banner: Remove "by Ulrich Drepper et al.".
29133 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29135 * stdlib/tst-atexit-common.c (do_test): Test support for at least
29136 32 atexit handlers.
29138 2017-09-01 Zack Weinberg <zackw@panix.com>
29140 * math/math.h (HUGE_VAL): Improve commentary.
29142 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29143 Andreas Schwab <schwab@suse.de>
29146 * include/stdio.h (__gen_tempfd): New function.
29147 * stdio-common/Makefile (routines): Add gentempfd.
29148 * stdio-common/gentempfd.c: New file.
29149 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
29150 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
29151 unnamed file first.
29153 2017-09-01 Florian Weimer <fweimer@redhat.com>
29157 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
29158 result to determine success or failure, not the errno value.
29159 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
29160 (tst-nss-files-hosts-erange): Link with -ldl.
29161 * nss/tst-nss-files-hosts-erange.c: New file.
29162 * nss/tst-resolv-basic.c (response): Handle nodata.example.
29163 (do_test): Add NO_DATA tests.
29164 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
29165 (do_test): Call it.
29167 2017-09-01 Florian Weimer <fweimer@redhat.com>
29170 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
29171 coming from gethostbyname2_r.
29173 2017-09-01 Florian Weimer <fweimer@redhat.com>
29175 * support/namespace.h (struct support_chroot_configuration): Add
29177 (struct support_chroot): Add path_hosts, path_host_conf.
29178 * support/support_chroot.c (write_file): New function.
29179 (support_chroot_create): Call it to process /etc/resolv.conf,
29180 /etc/hosts, /etc/host.conf.
29181 (support_chroot_free): Update.
29183 2017-09-01 Florian Weimer <fweimer@redhat.com>
29185 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
29186 status indicates it is set.
29188 2017-09-01 Florian Weimer <fweimer@redhat.com>
29191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
29192 function lookup failures more reliable.
29194 2017-09-01 Florian Weimer <fweimer@redhat.com>
29196 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
29197 (getcanonname): Likewise.
29198 (gaih_inet): Likewise.
29200 2017-09-01 Florian Weimer <fweimer@redhat.com>
29202 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
29203 (getcanonname): Likewise.
29204 (gaih_inet): Likewise.
29206 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29207 Richard Henderson <rth@twiddle.net>
29209 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
29210 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
29211 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
29212 (IREG_SIZE, OREG_SIZE): New macros.
29213 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
29214 (IREG_SIZE, OREG_SIZE): New macros.
29215 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
29216 (IREG_SIZE): New macro.
29217 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
29218 (IREG_SIZE): New macro.
29219 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
29221 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
29222 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29223 (__CONCATX): Handle exceptions correctly on large values that may
29225 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
29226 Initialize if not already set.
29227 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29229 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29231 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
29232 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
29234 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
29236 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
29238 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
29240 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
29242 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
29244 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
29246 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
29247 (NO_CANCELLATION): Likewise.
29248 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
29250 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
29252 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
29254 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
29255 (NO_CANCELLATION): Likewise.
29256 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
29257 (NO_CANCELLATION): Likewise.
29258 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
29260 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
29262 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
29264 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
29266 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
29268 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
29269 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
29271 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29273 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
29276 2017-08-31 Florian Weimer <fweimer@redhat.com>
29278 * include/libc-symbols.h (internal_function): Remove.
29280 2017-08-31 Florian Weimer <fweimer@redhat.com>
29282 * stdlib/fmtmsg.c (internal_addseverity): Remove
29285 2017-08-31 Florian Weimer <fweimer@redhat.com>
29287 * stdio-common/printf_fp.c (group_number): Remove
29289 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
29291 2017-08-31 Florian Weimer <fweimer@redhat.com>
29293 * posix/fnmatch.c (internal_function): Remove definition.
29294 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
29295 * posix/regcomp.c (peek_token, init_word_char)
29296 (duplicate_node_closure, fetch_token, peek_token)
29297 (peek_token_bracket, build_range_exp, build_collating_symbol):
29299 * posix/regex_internal.c (re_string_construct_common)
29300 (create_ci_newstate, create_cd_newstate, re_string_allocate)
29301 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
29302 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
29303 (re_string_translate_buffer, re_string_reconstruct)
29304 (re_string_peek_byte_case, re_string_fetch_byte_case)
29305 (re_string_destruct, re_string_context_at, re_node_set_alloc)
29306 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
29307 (re_node_set_add_intersect, re_node_set_init_union)
29308 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
29309 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
29310 (re_dfa_add_node, calc_state_hash, re_acquire_state)
29311 (re_acquire_state_context): Likewise.
29312 * posix/regex_internal.h (internal_function): Remove definition.
29313 (re_string_realloc_buffers, build_wcs_buffer)
29314 (build_wcs_upper_buffer, build_upper_buffer)
29315 (re_string_translate_buffer, re_string_context_at)
29316 (re_string_char_size_at, re_string_wchar_at)
29317 (re_string_elem_size_at): Likewise.
29318 * posix/regexec.c (match_ctx_init, match_ctx_clean)
29319 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
29320 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
29321 (re_search_internal, re_search_2_stub, re_search_stub)
29322 (re_copy_regs, prune_impossible_nodes, check_matching)
29323 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
29324 (free_fail_stack_return, sift_states_iter_mb)
29325 (sift_states_backward, build_sifted_states)
29326 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
29327 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
29328 (check_subexp_limits, sift_states_bkref, merge_state_array)
29329 (find_recover_state, transit_state, merge_state_with_log)
29330 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
29331 (transit_state_mb, transit_state_bkref, get_subexp)
29332 (get_subexp_sub, find_subexp_node, check_arrival)
29333 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
29334 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
29335 (check_node_accept_bytes, find_collation_sequence_value)
29336 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
29337 (acquire_init_state_context, check_halt_node_context)
29338 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
29339 (sub_epsilon_src_nodes): Likewise.
29340 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
29341 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
29342 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
29343 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
29344 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
29345 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
29346 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
29347 * sysdeps/posix/ttyname.c (getttyname): Likewise.
29348 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
29349 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
29350 (PREADV): Likewise.
29351 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
29352 (PREADV): Likewise.
29353 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
29354 (PWRITEV): Likewise.
29355 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
29356 (PWRITEV): Likewise.
29357 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
29358 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
29360 2017-08-31 Florian Weimer <fweimer@redhat.com>
29362 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
29363 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
29364 Remove internal_function.
29365 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29366 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
29367 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
29368 (__deallocate_stack, __libc_pthread_init)
29369 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
29370 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
29371 (__libc_disable_asynccancel, __librt_disable_asynccancel):
29373 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
29374 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
29375 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
29377 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
29378 (__pthread_mutex_unlock_usercnt): Likewise.
29380 2017-08-31 Florian Weimer <fweimer@redhat.com>
29382 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
29383 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
29384 (fts_safe_changedir): Remove internal_function.
29385 * io/ftw.c (internal_function): Remove definition.
29386 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
29388 2017-08-31 Florian Weimer <fweimer@redhat.com>
29390 * inet/deadline.c (__deadline_current_time)
29391 (__deadline_from_timeval, __deadline_to_ms): Remove
29393 * inet/getnameinfo.c (nrl_domainname): Likewise.
29394 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
29395 * inet/inet6_option.c (add_pad): Likewise.
29396 * inet/net-internal.h (__deadline_current_time)
29397 (__deadline_from_timeval, __deadline_to_ms): Likewise.
29398 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
29399 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
29400 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
29402 2017-08-31 Joseph Myers <joseph@codesourcery.com>
29404 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
29405 include <bits/nan.h>.
29406 * math/Makefile (headers): Remove bits/nan.h.
29407 * bits/nan.h: Remove.
29408 * sysdeps/ieee754/bits/nan.h: Likewise.
29409 * sysdeps/mips/bits/nan.h: Likewise.
29411 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
29412 not include <bits/inf.h>.
29413 * math/Makefile (headers): Remove bits/inf.h.
29414 * bits/inf.h: Remove.
29415 * sysdeps/ieee754/bits/inf.h: Likewise.
29417 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
29418 bits/huge_vall.h or bits/huge_val_flt128.h.
29419 (HUGE_VAL): Define directly here.
29420 [__USE_ISOC99] (HUGE_VALF): Likewise.
29421 [__USE_ISOC99] (HUGE_VALL): Likewise.
29422 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29423 (HUGE_VAL_F128): Likewise.
29424 * math/Makefile (headers): Remove bits/huge_val.h,
29425 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
29426 * bits/huge_val.h: Remove.
29427 * bits/huge_val_flt128.h: Likewise.
29428 * bits/huge_valf.h: Likewise.
29429 * bits/huge_vall.h: Likewise.
29430 * sysdeps/ia64/bits/huge_vall.h: Likewise.
29431 * sysdeps/ieee754/bits/huge_val.h: Likewise.
29432 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
29433 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
29434 * sysdeps/sh/bits/huge_val.h: Likewise.
29435 * sysdeps/sparc/bits/huge_vall.h: Likewise.
29436 * sysdeps/x86/bits/huge_vall.h: Likewise.
29438 2017-08-31 Florian Weimer <fweimer@redhat.com>
29440 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
29442 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
29444 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
29445 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29446 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
29447 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
29448 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29449 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29450 * elf/dl-libc.c (dlerror_run): Likewise.
29451 * elf/dl-load.c (add_name_to_object, decompose_rpath)
29452 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
29453 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
29454 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
29456 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
29457 (_dl_higher_prime_number, _dl_strtoul): Likewise.
29458 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
29459 * elf/dl-profile.c (_dl_start_profile): Likewise.
29460 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
29461 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
29463 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
29464 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
29465 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
29466 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
29467 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
29468 (_dl_allocate_tls_storage): Likewise.
29469 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
29470 (_dl_check_all_versions): Likewise.
29471 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29472 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
29473 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
29474 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29475 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
29476 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
29477 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
29478 internal_function from __dl_start.
29479 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
29480 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29481 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
29482 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
29483 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
29484 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
29485 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
29486 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
29487 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
29488 (_dl_next_ld_env_entry, _dl_important_hwcaps)
29489 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
29490 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
29491 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
29492 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
29493 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
29495 (struct rtld_global_ro): Remove internal_function from the
29496 _dl_lookup_symbol_x member.
29497 (_dl_symbol_value): Remove. No longer defined anywhere.
29498 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
29500 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29501 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29502 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
29503 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
29504 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
29505 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
29506 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
29507 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
29508 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
29509 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29510 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29511 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29513 2017-08-31 Florian Weimer <fweimer@redhat.com>
29515 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
29516 Remove internal_function.
29517 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29519 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29522 2017-08-31 Florian Weimer <fweimer@redhat.com>
29524 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
29525 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
29526 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
29528 2017-08-31 Florian Weimer <fweimer@redhat.com>
29530 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
29531 (__gai_enqueue_request): Remove internal_function.
29532 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
29533 (__gai_remove_request, __gai_notify, __gai_notify_only)
29534 (__gai_sigqueue): Likewise.
29535 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
29536 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29537 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
29538 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29541 2017-08-31 Florian Weimer <fweimer@redhat.com>
29543 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
29544 * include/dirent.h (__opendirat, __getdents, __getdents64)
29545 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
29546 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
29547 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29548 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29550 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
29552 2017-08-31 Florian Weimer <fweimer@redhat.com>
29554 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
29556 (GETCWD_RETURN_TYPE): Likewise.
29558 2017-08-31 Florian Weimer <fweimer@redhat.com>
29560 * include/time.h (__tz_compute, __strptime_internal): Remove
29562 * time/strptime_l.c (__strptime_internal): Likewise.
29563 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
29565 2017-08-31 Florian Weimer <fweimer@redhat.com>
29567 * iconv/gconv.c (__gconv): Remove internal_function.
29568 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
29569 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
29570 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
29571 (__gconv_release_cache): Likewise.
29572 * iconv/gconv_close.c (__gconv_close): Likewise.
29573 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
29574 (read_conf_file, __gconv_get_path): Likewise.
29575 * iconv/gconv_db.c (derivation_lookup, add_derivation)
29576 (__gconv_release_step, gen_steps, increment_counter)
29577 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
29578 (__gconv_close_transform, free_modules_db): Likewise.
29579 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
29581 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
29582 (__gconv_find_transform, __gconv_lookup_cache)
29583 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
29584 (__gconv_close_transform, __gconv_release_cache)
29585 (__gconv_loaded_object, __gconv_release_shlib)
29586 (__gconv_compare_alias): Likewise.
29587 * iconv/gconv_open.c (__gconv_open): Likewise.
29588 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
29589 * iconv/iconvconfig.c (add_module): Likewise.
29590 * intl/dcigettext.c (plural_lookup, guess_category_value)
29591 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
29592 * intl/eval-plural.h (plural_eval): Likewise.
29593 * intl/finddomain.c (_nl_find_domain): Likewise.
29594 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
29595 (_nl_load_domain, _nl_find_msg): Likewise.
29596 (internal_function): Remove definition.
29597 * intl/loadinfo.h (internal_function): Likewise.
29598 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
29600 * intl/localealias.c (internal_function): Remove definition.
29601 (read_alias_file): Remove internal_function.
29602 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
29603 * intl/plural-exp.h (internal_function): Remove definition.
29604 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
29606 * intl/plural.c: Regenerate.
29607 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
29608 * locale/coll-lookup.c (__collidx_table_lookup)
29609 (__collseq_table_lookup): Likewise.
29610 * locale/coll-lookup.h (__collidx_table_lookup)
29611 (__collseq_table_lookup): Likewise.
29612 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
29613 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29614 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
29615 (_nl_unload_locale): Likewise.
29616 * locale/localeinfo.h (struct __locale_data): Remove
29617 internal_function from cleanup member.
29618 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
29619 (_nl_remove_locale, _nl_load_locale_from_archive)
29620 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
29621 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
29622 (_nl_cleanup_time): Remove internal_function.
29623 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
29624 (_nl_parse_alt_digit): Likewise.
29625 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
29626 (_nl_select_era_entry): Likewise.
29627 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
29628 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29629 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29630 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29631 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29633 2017-08-31 Florian Weimer <fweimer@redhat.com>
29635 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
29636 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29637 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
29638 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
29640 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
29641 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
29642 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
29643 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29645 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
29647 2017-08-31 Florian Weimer <fweimer@redhat.com>
29649 * misc/getttyent.c (skip, value): Remove internal_function.
29650 * misc/syslog.c (openlog_internal): Likewise.
29651 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
29653 2017-08-31 Florian Weimer <fweimer@redhat.com>
29655 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
29656 (__nss_rewrite_field): Remove internal_function.
29657 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29658 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29659 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29660 * nss/nsswitch.c (nss_parse_file, nss_getline)
29661 (nss_parse_service_list, nss_new_service): Likewise.
29662 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
29663 * nss/valid_field.c (__nss_valid_field): Likewise.
29664 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29666 2017-08-31 Florian Weimer <fweimer@redhat.com>
29668 * malloc/arena.c (__malloc_fork_lock_parent)
29669 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
29670 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
29671 internal_function from defintions.
29672 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
29673 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
29674 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
29675 internal_function from declarations.
29676 * malloc/malloc.c (internal_function): Do not define.
29677 (mem2mem_check): Remove internal_function from declaration.
29678 (munmap_chunk, mremap_chunk): Remove internal_function.
29679 * malloc/mtrace.c (tr_where): Likewise.
29681 2017-08-31 Florian Weimer <fweimer@redhat.com>
29683 * include/rpc/pmap_clnt.h (__get_socket): Remove
29685 * sunrpc/auth_des.c (synchronize): Likewise.
29686 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
29687 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
29688 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
29689 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
29690 (key_call): Likewise.
29691 * sunrpc/pm_getport.c (__get_socket): Likewise.
29692 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
29693 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
29694 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
29695 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
29696 (invalidate): Likewise.
29697 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
29698 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
29699 (set_input_fragment, get_input_bytes): Likewise.
29701 2017-08-31 Florian Weimer <fweimer@redhat.com>
29703 * malloc/malloc.c (_int_free): Remove locked variable and related
29706 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
29709 * Makerules (build-module-helper-objlist): Filter out
29710 $(elf-objpfx)sofini.os.
29711 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
29714 2017-08-31 Florian Weimer <fweimer@redhat.com>
29716 * libio/fcloseall.c: Assume weak_alias is defined.
29717 * libio/feof.c: Likewise.
29718 * libio/fileno.c: Likewise.
29719 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
29720 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29722 (_IO_file_open): Call __open directly.
29723 (_IO_new_file_sync): Assume ESPIPE is defined.
29724 (_IO_file_seekoff_maybe_mmap): Call __read directly.
29725 (_IO_new_file_write): Call __write directly.
29726 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
29727 * libio/ftello64.c (__ftello64): Assume EIO is defined.
29728 * libio/genops.c: Assume _LIBC is defined.
29729 (save_for_backup): Remove internal_function.
29730 * libio/getc.c: Assume weak_alias is defined.
29731 * libio/getwc.c: Likewise.
29732 * libio/iofclose.c: Assume _LIBC is defined.
29733 * libio/iofdopen.c: Likewise.
29734 (_IO_fcntl): Remove macro definition.
29735 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
29736 Call __fcntl directly.
29737 * libio/iofflush.c: Assume weak_alias is defined.
29738 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
29740 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
29741 * libio/iofgets.c: Likewise.
29742 * libio/iofopen.c: Assume _LIBC is defined.
29743 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
29744 * libio/iofputs.c: Assume weak_alias is defined.
29745 * libio/iofread.c: Likewise.
29746 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
29747 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
29748 * libio/ioftell.c: Assume weak_alias is defined.
29749 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
29750 * libio/iofwide.c: Assume _LIBC is defined.
29751 (_IO_fwide): Drop SHARED conditional because it is implied by
29753 * libio/iofwrite.c: Assume weak_alias is defined.
29754 * libio/iogetdelim.c: Likewise.
29755 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
29756 * libio/iogetwline.c (wmemcpy): Remove macro definition.
29757 (_IO_getwline): Call __wmemcpy directly.
29758 * libio/iopopen.c: Assume _LIBC is defined.
29759 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29760 (_IO_close): Remove macro definitions.
29761 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
29763 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
29765 * libio/ioputs.c: Assume weak_alias is defined.
29766 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
29767 * libio/iosetbuffer.c: Assume weak_alias is defined.
29768 * libio/iosetvbuf.c: Likewise.
29769 * libio/ioungetc.c: Likewise.
29770 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
29771 libc_hidden_def, libc_hidden_weak, NULL are defined.
29772 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
29773 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
29775 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29777 (_IO_old_file_init_internal): Drop SHARED conditional because it
29778 is implied by SHLIB_COMPAT.
29779 (_IO_old_file_fopen): Call __open directly.
29780 (_IO_old_file_sync): Assume ESPIPE is defined.
29781 (_IO_old_file_write): Call __write directly.
29782 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
29783 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
29784 Call __fcntl directly.
29785 * libio/oldiofgetpos.c: Assume weak_alias is defined.
29786 (_IO_old_fgetpos): Assume EIO is defined.
29787 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
29788 (_IO_old_fgetpos64): Assume EIO is defined.
29789 * libio/oldiofsetpos.c: Assume weak_alias is defined.
29790 (_IO_old_fsetpos): Assume EIO is defined.
29791 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
29792 (_IO_old_fsetpos64): Assume EIO is defined.
29793 * libio/oldiopopen.c: Assume _LIBC is defined.
29794 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29795 (_IO_close): Remove macro definitions.
29796 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
29798 (_IO_old_proc_close): Call __close, __waitpid directly.
29799 * libio/put.c: Assume weak_alias is defined.
29800 * libio/stdfiles.c: Assume _LIBC is defined.
29801 * libio/stdio.c: Likewise.
29802 * libio/wfileops.c: Likewise.
29803 (_IO_wfile_sync): Assume ESPIPE is defined.
29804 * libio/wgenops.c: Assume _LIBC is defined.
29805 (save_for_wbackup): Remove internal_function.
29807 2017-08-31 Florian Weimer <fweimer@redhat.com>
29809 * malloc/malloc.c (top_check): Change return type to void. Remove
29811 * malloc/hooks.c (top_check): Likewise.
29812 (malloc_check, realloc_check, memalign_check): Adjust.
29814 2017-08-30 Joseph Myers <joseph@codesourcery.com>
29817 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29818 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
29819 sigcontext and namespace requirements.
29820 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29821 * sysdeps/m68k/sys/ucontext.h: Likewise.
29822 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
29823 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
29824 <bits/sigcontext.h>.
29825 (__ctx): Define earlier.
29826 (mcontext_t): Define structure contents rather than using struct
29828 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
29829 __glibc_reserved1 instead of __reserved.
29830 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
29831 <bits/sigcontext.h>.
29832 (__ctx): Define earlier.
29833 (mcontext_t): Define structure contents rather than using struct
29835 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
29836 mcontext_t instead of struct sigcontext.
29837 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
29838 <bits/sigcontext.h>.
29839 (__ctx): Define earlier.
29840 (mcontext_t): Define structure contents rather than using struct
29842 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
29843 <bits/sigcontext.h>.
29844 (__ctx): Define earlier.
29845 (mcontext_t): Define structure contents rather than using struct
29847 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
29848 mcontext_t instead of struct sigcontext.
29849 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
29850 mcontext_t instead of struct sigcontext.
29851 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
29852 <bits/sigcontext.h>.
29853 (__ctx): New macro.
29854 (struct __ia64_fpreg_mcontext): New type.
29855 (mcontext_t): Define structure contents rather than using struct
29857 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
29858 (uc_sigmask): Define using __ctx.
29859 (uc_stack): Likewise.
29860 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
29861 <bits/sigcontext.h>.
29862 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29863 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
29864 <bits/sigcontext.h>.
29865 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
29866 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
29867 <bits/sigcontext.h>.
29868 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
29869 <bits/sigcontext.h>.
29870 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
29871 <bits/sigcontext.h>.
29872 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
29873 <bits/sigcontext.h>.
29874 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
29875 <bits/sigcontext.h>.
29876 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
29877 <bits/sigcontext.h>.
29878 * sysdeps/unix/sysv/linux/tile/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/x86/sys/ucontext.h: Do not include
29884 <bits/sigcontext.h>. Include <bits/types.h>.
29885 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
29886 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
29887 (test-xfail-XPG42/ucontext.h/conform): Likewise.
29888 (test-xfail-UNIX98/signal.h/conform): Likewise.
29889 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29890 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29891 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29892 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29893 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29894 (test-xfail-POSIX2008/signal.h/conform): Likewise.
29895 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29896 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29897 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29899 2017-08-30 Florian Weimer <fweimer@redhat.com>
29901 * malloc/dynarray_emplace_enlarge.c
29902 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
29903 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
29904 * malloc/tst-dynarray.c (test_long_overflow): New function.
29905 (do_test): Call it.
29907 2017-08-30 Florian Weimer <fweimer@redhat.com>
29909 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
29910 (set_arena_corrupt): Remove definitions.
29911 (mtrim): Do not check for corrupt arena.
29912 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
29915 2017-08-30 Florian Weimer <fweimer@redhat.com>
29918 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
29920 (ptmalloc_init): Do not set or use check_action.
29921 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
29922 call to malloc_printerr. Remove return statement.
29923 (free_check): Likewise. Remove arena unlock.
29924 (top_check): Update comment. Adjust call to malloc_printerr.
29925 Remove heap repair code.
29926 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
29927 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
29928 (sysmalloc): Adjust call to malloc_printerr.
29929 (munmap_chunk, __libc_realloc): Likewise. Remove return
29931 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
29932 Remove errout label and corresponding gotos.
29933 (_int_free): Likewise. Remove arena unlock.
29934 (do_set_mallopt_check): Do not set check_action.
29935 (malloc_printerr): Adjust parameter list. Do not mark arena as
29937 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
29939 * manual/probes.texi (Memory Allocation Probes): Remove
29940 memory_mallopt_check_action.
29942 2017-08-30 Steve Ellcey <sellcey@cavium.com>
29944 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
29945 Use pointer to uint64_t instead of long int for sp.
29947 2017-08-30 Florian Weimer <fweimer@redhat.com>
29950 * malloc/malloc.c (malloc_printerr): Always terminate the process,
29951 without printing a backtrace. Do not leak any information in the
29953 * manual/memory.texi (Heap Consistency Checking): Update.
29954 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
29956 2017-08-30 Florian Weimer <fweimer@redhat.com>
29958 Do not scale NPTL tests with available number of CPUs.
29959 * nptl/tst-cond16.c (count): Set to constant value of 8.
29960 * nptl/tst-cond18.c (count): Likewise.
29962 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29965 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
29966 Define to take a second argument that is a macro that
29967 concatentates a suffix, not the suffix itself.
29968 (__CONCAT_d): New macro.
29969 (__CONCAT_f): Likewise.
29970 (__CONCAT_l): Likewise.
29972 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
29974 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
29977 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29978 Aurelien Jarno <aurelien@aurel32.net>
29979 Maciej W. Rozycki <macro@imgtec.com>
29982 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
29983 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
29984 `mips16-syscall6' and `mips16-syscall7'.
29985 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
29986 (CFLAGS-mips16-syscall7.c): Remove.
29987 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
29988 Remove `__mips16_syscall5', `__mips16_syscall6' and
29989 `__mips16_syscall7'.
29990 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
29991 (__mips16_syscall0): Rename `__mips16_syscall_return' to
29992 `__mips_syscall_return'.
29993 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
29994 (__mips16_syscall1): Likewise.
29995 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
29996 (__mips16_syscall2): Likewise.
29997 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
29998 (__mips16_syscall3): Likewise.
29999 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
30000 (__mips16_syscall4): Likewise.
30001 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
30003 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
30005 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
30007 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
30008 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
30009 `__mips16_syscall5'. Remove prototype.
30010 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
30011 `__mips16_syscall6'. Remove prototype.
30012 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
30013 `__mips16_syscall7'. Remove prototype.
30014 (__nomips16, __mips16_syscall_return): Move to...
30015 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
30016 (__nomips16, __mips_syscall_return): ... here.
30017 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
30018 `__mips16_syscall_return' to `__mips_syscall_return'.
30019 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
30020 `internal_syscall##nr'.
30021 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
30022 `internal_syscall##nr'.
30023 (FORCE_FRAME_POINTER): Remove.
30024 (__mips_syscall5): New prototype.
30025 (internal_syscall5): Rewrite to call `__mips_syscall5'.
30026 (__mips_syscall6): New prototype.
30027 (internal_syscall6): Rewrite to call `__mips_syscall6'.
30028 (__mips_syscall7): New prototype.
30029 (internal_syscall7): Rewrite to call `__mips_syscall7'.
30030 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
30031 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
30032 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
30033 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
30034 (sysdep_routines): Add libc-do-syscall.
30035 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
30036 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
30038 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30041 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
30042 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
30043 (advise_stack_range): New function.
30044 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
30045 stack non required to advise_stack_range at allocatestack.c
30047 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30049 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
30051 2017-08-29 Florian Weimer <fweimer@redhat.com>
30054 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
30055 __end_fct. Mangle __end_fct after setting it to NULL.
30056 * iconv/Makefile (tests): Add tst-gconv-init-failure.
30057 (modules-names, modules-names-tests): Add
30058 tst-gconv-init-failure-mod.
30059 (gconv-modules): New target.
30060 (tst-gconv-init-failure-mod.so): Link against libsupport.
30061 (tst-gconv-init-failure): Depend on gconv-modules,
30062 tst-gconv-init-failure-mod.so.
30063 * iconv/tst-gconv-init-failure-mod.c: New file.
30064 * iconv/tst-gconv-init-failure.c: Likewise.
30065 * iconv/test-gconv-modules: Likewise.
30067 2017-08-29 Florian Weimer <fweimer@redhat.com>
30070 * iconv/gconv_db.c (free_derivation): Remove redundant
30072 (gen_steps): Unconditionally mangle __btowc_fct after
30074 (increment_counter): Likewise. Do not call init_fct for internal
30077 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30080 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30081 (_MSUF_): Remove macro.
30082 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
30084 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30085 (__REDIRFROM_X): New macro.
30086 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
30088 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
30089 (__REDIRTO_X): Likewise.
30090 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
30092 (__MATH_REDIRCALL_2): Likewise.
30093 (__MATH_REDIRCALL_INTERNAL): Likewise.
30094 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30095 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
30096 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
30097 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30098 * math/test-finite-macros.c: New file.
30099 * math/Makefile (tests): Add test-finite-macros.
30100 (CFLAGS-test-finite-macros.c): New variable.
30102 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
30103 Jeff Law <law@redhat.com>
30106 Mangle NULL pointers in iconv/gconv.
30107 * iconv/gconv_cache.c (find_module): Demangle init_fct before
30108 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
30109 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
30110 is non-NULL before demangling the end_fct. Check for NULL
30111 end_fct after demangling.
30112 (__gconv_release_step): Demangle the end_fct before checking
30113 it for NULL. Remove assert on __shlibc_handle != NULL.
30114 (gen_steps): Don't check btowc_fct for NULL before mangling.
30115 Demangle init_fct before checking for NULL.
30116 (increment_counter): Likewise.
30117 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
30118 end_fct for NULL before mangling.
30119 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
30122 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
30125 * locale/iso-639.def: add Morisyen.
30127 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30130 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
30131 (iszero): New C++ implementation that does not use
30132 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
30133 signaling nans are enabled, since __builtin_types_compatible_p
30134 is a C-only feature.
30135 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
30136 defined, include ieee754_float128.h for access to the union and
30137 member ieee854_float128.ieee.
30138 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
30139 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
30140 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30141 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
30142 options of test-math-zero on powerpc64le.
30144 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
30146 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30147 Change double to float.
30149 2017-08-28 Joseph Myers <joseph@codesourcery.com>
30151 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
30153 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
30154 conditional code; define contents only for [LIBM_SVID_COMPAT].
30156 2017-08-28 Florian Weimer <fweimer@redhat.com>
30158 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
30159 (abi-lp64_be-options): Remove.
30160 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
30161 (abi-hard-options): Likewise.
30162 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
30163 (abi-o32_hard-options, abi-o32_soft_2008-options)
30164 (abi-o32_hard_2008-options, abi-n32_soft-options)
30165 (abi-n32_hard-options, abi-n32_soft_2008-options)
30166 (abi-n32_hard_2008-options, abi-n64_soft-options)
30167 (abi-n64_hard-options, abi-n64_soft_2008-options)
30168 (abi-n64_hard_2008-options): Likewise.
30169 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
30170 (abi-64-v1-options, abi-64-v2-options): Likewise.
30171 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
30172 (abi-64-options): Likewise.
30173 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
30174 (abi-64-options): Likewise.
30175 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
30176 (abi-64-options): Likewise.
30177 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
30178 (abi-64-options, abi-x32-options): Likewise.
30180 2017-08-28 Florian Weimer <fweimer@redhat.com>
30182 Store supported list of SYS_* system calls in the source tree.
30183 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
30184 (bits/syscall.h): Generate from list file.
30185 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
30186 [$(subdir) = misc] (tests): Add tst-syscall-list.
30187 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
30188 [$(subdir) = misc] (tst-syscall-list-macros.list)
30189 [$(subdir) = misc] (tst-syscall-list-nr.list)
30190 (tst-syscall-list-sys.list): Helper targets for new
30191 tst-syscall-list test.
30192 [$(subdir) = misc] (tst-syscall-list.out): Run test script
30193 tst-syscall-list.sh.
30194 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
30195 target. Do not include bits/syscall.d.
30196 [$(subdir) = misc] (generated): Do not update.
30197 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
30198 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
30199 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
30200 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
30202 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30204 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
30205 (tst-cxa_atexit, tst-on_exit): Likewise.
30206 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
30207 tst-cxa_atexit, and tst-on_exit.
30208 * stdlib/tst-atexit-common.c: New file.
30209 * stdlib/tst-atexit.c: New file.
30210 * stdlib/tst-at_quick_exit.c: New file.
30211 * stdlib/tst-cxa_atexit.c: New file.
30212 * stdlib/tst-on_exit.c: New file.
30214 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30216 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
30217 * mach/stack_chk_fail_local.c: New file.
30218 * hurd/stack_chk_fail_local.c: New file.
30219 * mach/Machrules ($(interface-library)-routines): Add
30220 stack_chk_fail_local.
30221 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
30222 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
30223 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
30224 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
30225 * hurd/Makefile (CFLAGS-hurdstartup.o,
30226 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
30228 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
30230 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30231 (index_cpu_*, index_arch_*): Removed.
30233 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30235 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
30236 Use uint64_t instead of unsigned long.
30238 2017-08-25 Joseph Myers <joseph@codesourcery.com>
30240 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
30241 [__HAVE_DISTINCT_FLOAT128].
30243 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
30244 of <bits/math-finite.h>.
30245 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
30246 inclusion of <bits/math-finite.h>.
30247 * math/bits/math-finite.h (__REDIRTO_X): Do not define
30248 conditionally on [__MATH_DECLARING_LDOUBLE && defined
30249 __NO_LONG_DOUBLE_MATH].
30250 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
30251 (__MATH_REDIRCALL_2): Likewise.
30252 (__MATH_REDIRCALL_INTERNAL): Likewise.
30253 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30254 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
30255 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
30259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
30261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
30263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
30265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
30267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
30269 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30270 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30271 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30272 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
30274 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
30275 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
30276 w_sqrtf_compat-ppc32.
30278 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30280 * math/math.h [defined __cplusplus] (issignaling): In the long
30281 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
30282 is not defined. Call __issignaling, otherwise.
30284 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30286 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
30287 syscall definitions and replace __builtin_expect with __glibc_likely.
30288 * sysdeps/unix/syscall-template.S: Update comment about cancellable
30290 (SYSCALL_CANCELLABLE): Removedefinition
30291 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
30293 (PSEUDO_END): Likewise.
30294 [IS_IN (libpthread)] (CENABLE): Likewise.
30295 [IS_IN (libpthread)] (CDISABLE): Likewise.
30296 [IS_IN (libc)] (CENABLE): Likewise.
30297 [IS_IN (libc)] (CENABLE): Likewise.
30298 [IS_IN (librt)] (CDISABLE): Likewise.
30299 [IS_IN (librt)] (CDISABLE): Likewise.
30300 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30301 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
30303 (PSEUDO_END): Likewise.
30304 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
30305 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
30306 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30307 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30308 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30309 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30310 (CENABLE): Likewise.
30311 (CDISABLE): Likewise.
30312 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30313 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
30315 (PSEUDO_END): Likewise.
30316 [IS_IN (libpthread)] (CENABLE): Likewise.
30317 [IS_IN (libpthread)] (CDISABLE): Likewise.
30318 [IS_IN (libc)] (CENABLE): Likewise.
30319 [IS_IN (libc)] (CENABLE): Likewise.
30320 [IS_IN (librt)] (CDISABLE): Likewise.
30321 [IS_IN (librt)] (CDISABLE): Likewise.
30322 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30323 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
30325 (PSEUDO_END): Likewise.
30326 [IS_IN (libpthread)] (CENABLE): Likewise.
30327 [IS_IN (libpthread)] (CDISABLE): Likewise.
30328 [IS_IN (libc)] (CENABLE): Likewise.
30329 [IS_IN (libc)] (CENABLE): Likewise.
30330 [IS_IN (librt)] (CDISABLE): Likewise.
30331 [IS_IN (librt)] (CDISABLE): Likewise.
30332 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30333 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
30335 (PSEUDO_END): Likewise.
30336 [IS_IN (libpthread)] (CENABLE): Likewise.
30337 [IS_IN (libpthread)] (CDISABLE): Likewise.
30338 [IS_IN (libc)] (CENABLE): Likewise.
30339 [IS_IN (libc)] (CENABLE): Likewise.
30340 [IS_IN (librt)] (CDISABLE): Likewise.
30341 [IS_IN (librt)] (CDISABLE): Likewise.
30342 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30343 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
30345 (PSEUDO_END): Likewise.
30346 [IS_IN (libpthread)] (CENABLE): Likewise.
30347 [IS_IN (libpthread)] (CDISABLE): Likewise.
30348 [IS_IN (libc)] (CENABLE): Likewise.
30349 [IS_IN (libc)] (CENABLE): Likewise.
30350 [IS_IN (librt)] (CDISABLE): Likewise.
30351 [IS_IN (librt)] (CDISABLE): Likewise.
30352 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30353 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
30355 (PSEUDO_END): Likewise.
30356 [IS_IN (libpthread)] (CENABLE): Likewise.
30357 [IS_IN (libpthread)] (CDISABLE): Likewise.
30358 [IS_IN (libc)] (CENABLE): Likewise.
30359 [IS_IN (libc)] (CENABLE): Likewise.
30360 [IS_IN (librt)] (CDISABLE): Likewise.
30361 [IS_IN (librt)] (CDISABLE): Likewise.
30362 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30363 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
30365 (PSEUDO_END): Likewise.
30366 [IS_IN (libpthread)] (CENABLE): Likewise.
30367 [IS_IN (libpthread)] (CDISABLE): Likewise.
30368 [IS_IN (libc)] (CENABLE): Likewise.
30369 [IS_IN (libc)] (CENABLE): Likewise.
30370 [IS_IN (librt)] (CDISABLE): Likewise.
30371 [IS_IN (librt)] (CDISABLE): Likewise.
30372 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30373 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
30375 (PSEUDO_END): Likewise.
30376 [IS_IN (libpthread)] (CENABLE): Likewise.
30377 [IS_IN (libpthread)] (CDISABLE): Likewise.
30378 [IS_IN (libc)] (CENABLE): Likewise.
30379 [IS_IN (libc)] (CENABLE): Likewise.
30380 [IS_IN (librt)] (CDISABLE): Likewise.
30381 [IS_IN (librt)] (CDISABLE): Likewise.
30382 (SINGLE_THREAD_P): Likewise.
30383 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
30385 (PSEUDO_END): Likewise.
30386 [IS_IN (libpthread)] (CENABLE): Likewise.
30387 [IS_IN (libpthread)] (CDISABLE): Likewise.
30388 [IS_IN (libc)] (CENABLE): Likewise.
30389 [IS_IN (libc)] (CENABLE): Likewise.
30390 [IS_IN (librt)] (CDISABLE): Likewise.
30391 [IS_IN (librt)] (CDISABLE): Likewise.
30392 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30393 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
30395 (PSEUDO_END): Likewise.
30396 [IS_IN (libpthread)] (CENABLE): Likewise.
30397 [IS_IN (libpthread)] (CDISABLE): Likewise.
30398 [IS_IN (libc)] (CENABLE): Likewise.
30399 [IS_IN (libc)] (CENABLE): Likewise.
30400 [IS_IN (librt)] (CDISABLE): Likewise.
30401 [IS_IN (librt)] (CDISABLE): Likewise.
30402 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30403 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
30404 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30405 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
30406 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
30408 (PSEUDO_END): Likewise.
30409 [IS_IN (libpthread)] (CENABLE): Likewise.
30410 [IS_IN (libpthread)] (CDISABLE): Likewise.
30411 [IS_IN (libc)] (CENABLE): Likewise.
30412 [IS_IN (libc)] (CENABLE): Likewise.
30413 [IS_IN (librt)] (CDISABLE): Likewise.
30414 [IS_IN (librt)] (CDISABLE): Likewise.
30415 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30416 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
30418 (PSEUDO_END): Likewise.
30419 [IS_IN (libpthread)] (CENABLE): Likewise.
30420 [IS_IN (libpthread)] (CDISABLE): Likewise.
30421 [IS_IN (libc)] (CENABLE): Likewise.
30422 [IS_IN (libc)] (CENABLE): Likewise.
30423 [IS_IN (librt)] (CDISABLE): Likewise.
30424 [IS_IN (librt)] (CDISABLE): Likewise.
30425 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30426 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
30428 (PSEUDO_END): Likewise.
30429 [IS_IN (libpthread)] (CENABLE): Likewise.
30430 [IS_IN (libpthread)] (CDISABLE): Likewise.
30431 [IS_IN (libc)] (CENABLE): Likewise.
30432 [IS_IN (libc)] (CENABLE): Likewise.
30433 [IS_IN (librt)] (CDISABLE): Likewise.
30434 [IS_IN (librt)] (CDISABLE): Likewise.
30435 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30436 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
30437 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30438 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
30439 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
30441 (PSEUDO_END): Likewise.
30442 [IS_IN (libpthread)] (CENABLE): Likewise.
30443 [IS_IN (libpthread)] (CDISABLE): Likewise.
30444 [IS_IN (libc)] (CENABLE): Likewise.
30445 [IS_IN (libc)] (CENABLE): Likewise.
30446 [IS_IN (librt)] (CDISABLE): Likewise.
30447 [IS_IN (librt)] (CDISABLE): Likewise.
30448 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30449 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
30451 (PSEUDO_END): Likewise.
30452 [IS_IN (libpthread)] (CENABLE): Likewise.
30453 [IS_IN (libpthread)] (CDISABLE): Likewise.
30454 [IS_IN (libc)] (CENABLE): Likewise.
30455 [IS_IN (libc)] (CENABLE): Likewise.
30456 [IS_IN (librt)] (CDISABLE): Likewise.
30457 [IS_IN (librt)] (CDISABLE): Likewise.
30458 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30460 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30462 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
30464 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30466 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30468 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30471 * string/stratcliff.c (do_test): Declare size, nchars, inner,
30472 middle and outer with size_t instead of int. Repleace %d and
30473 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
30474 "MAX (outer, nchars - 64)" to support unsigned outer and
30475 nchars. Also exit loop when outer == 0.
30477 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30479 * include/fcntl.h (__fcntl_nocancel): Remove definition.
30480 * include/signal.h (__sigsuspend_nocancel): Likewise.
30481 * include/time.h (__nanosleep_nocancel): Likewise.
30482 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
30483 * login/utmp_file.c: Include non cancellable syscall header.
30484 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
30487 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30489 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
30490 .byte sequences with AVX512F instructions.
30491 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
30492 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
30493 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30494 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
30496 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30499 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
30500 Steve Ellcey <sellcey@cavium.com>
30502 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
30503 Use PTR_REG macro in cmp instruction.
30505 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30507 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
30508 Change the return type of the ifunc resolver to match the return
30509 type of the target function.
30511 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30513 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
30514 (preadv64): Likewise.
30515 (pwrite64(: Likewise.
30516 (pwritev64): Likewise.
30518 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30519 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
30520 (LOAD_ARGS_0): Likewise.
30521 (LOAD_ARGS_1): Likewise.
30522 (LOAD_ARGS_2): Likewise.
30523 (LOAD_ARGS_3): Likewise.
30524 (LOAD_ARGS_4): Likewise.
30525 (LOAD_ARGS_5): Likewise.
30526 (LOAD_ARGS_6): Likewise.
30527 (LOAD_REGS_0): Likewise.
30528 (LOAD_REGS_1): Likewise.
30529 (LOAD_REGS_2): Likewise.
30530 (LOAD_REGS_3): Likewise.
30531 (LOAD_REGS_4): Likewise.
30532 (LOAD_REGS_5): Likewise.
30533 (LOAD_REGS_6): Likewise.
30534 (ASM_ARGS_0): Likewise.
30535 (ASM_ARGS_1): Likewise.
30536 (ASM_ARGS_2): Likewise.
30537 (ASM_ARGS_3): Likewise.
30538 (ASM_ARGS_4): Likewise.
30539 (ASM_ARGS_5): Likewise.
30540 (ASM_ARGS_6): Likewise.
30541 (LOAD_ARGS_TYPES_1): Likewise.
30542 (LOAD_ARGS_TYPES_2): Likewise.
30543 (LOAD_ARGS_TYPES_3): Likewise.
30544 (LOAD_ARGS_TYPES_4): Likewise.
30545 (LOAD_ARGS_TYPES_5): Likewise.
30546 (LOAD_ARGS_TYPES_6): Likewise.
30547 (LOAD_REGS_TYPES_1): Likewise.
30548 (LOAD_REGS_TYPES_2): Likewise.
30549 (LOAD_REGS_TYPES_3): Likewise.
30550 (LOAD_REGS_TYPES_4): Likewise.
30551 (LOAD_REGS_TYPES_5): Likewise.
30552 (LOAD_REGS_TYPES_6): Likewise.
30553 (TYPEFY): New define.
30554 (ARGIFY): Likewise.
30555 (internal_syscall0): Likewise.
30556 (internal_syscall1): Likewise.
30557 (internal_syscall2): Likewise.
30558 (internal_syscall3): Likewise.
30559 (internal_syscall4): Likewise.
30560 (internal_syscall5): Likewise.
30561 (internal_syscall6): Likewise.
30562 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
30563 (INTERNAL_SYSCALL_NCS): Remove define.
30564 (internal_syscall1): Add define.
30566 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30568 * math/w_remainder_compat.c: Remove duplicate inclusion of
30569 math-svid-compat.h.
30570 * math/w_remainderf_compat.c: Likewise.
30571 * math/w_remainderl_compat.c: Likewise.
30573 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30577 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30580 * math/tgmath.h (__floating_type): Simplify definitions.
30581 (__real_integer_type): New macro.
30582 (__complex_integer_type): Likewise.
30583 (__expr_is_real): Likewise.
30584 (__tgmath_real_type_sub): Update comment to describe handling of
30586 (__tgmath_complex_type_sub): New macro.
30587 (__tgmath_complex_type): Likewise.
30588 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30589 (__TGMATH_CF128): Use __expr_is_real.
30590 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
30592 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30593 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
30594 * math/gen-tgmath-tests.py (Type.create_type): Create complex
30597 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30599 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
30601 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
30603 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
30606 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
30607 nanosleep_not_cancel with __nanosleep_nocancel.
30608 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
30609 (__nanosleep_nocancel): New macro.
30610 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
30612 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
30614 (__nanosleep_nocancel): New prototype.
30616 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
30617 pause_not_cancel with __pause_nocancel.
30618 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
30619 (__pause_nocancel): New macro.
30620 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
30622 (__pause_nocancel): New prototype.
30623 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
30625 2017-08-22 Martin Sebor <msebor@redhat.com>
30627 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
30628 to return a pointer to the same type as the target function.
30630 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30634 * include/printf.h (__printf_fphex): Add attribute_hidden.
30635 (__guess_grouping): New prototype.
30636 * stdio-common/printf_fp.c (__guess_grouping): Removed.
30637 * stdio-common/reg-printf.c (__register_printf_specifier): Add
30638 libc_hidden_proto and libc_hidden_def.
30639 * stdlib/strfmon_l.c (__guess_grouping): Removed.
30640 (__vstrfmon_l): Remove the third argument passed to
30643 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30645 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
30646 definition for issignaling that does not rely on __MATH_TG,
30647 since __MATH_TG uses __builtin_types_compatible_p, which is only
30648 available in C mode.
30649 (CFLAGS-test-math-issignaling.cc): New variable.
30650 * math/Makefile [CXX] (tests): Add test-math-issignaling.
30651 * math/test-math-issignaling.cc: New test for C++ implementation
30652 of type-generic issignaling.
30653 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30654 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
30655 options of test-math-issignaling on powerpc64le.
30657 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30659 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30661 (hidden_proto): Likewise.
30662 (hidden_tls_proto): Likewise.
30663 (__hidden_proto): Likewise.
30665 2017-08-22 Florian Weimer <fweimer@redhat.com>
30667 math: Statically link tests of internal functionality.
30668 * math/Makefile (tests): Remove atest-exp, atest-sincos,
30670 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
30671 (gmp-objs): Remove assignment.
30672 (atest-exp, atest-sincos, atest-exp2): Remove targets.
30674 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30677 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
30679 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
30681 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
30684 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
30685 variable definitions above inclusion of ../Rules.
30687 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30689 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
30690 case calling __builtin_unreachable.
30692 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30694 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
30695 __waitpid_nocancel.
30696 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
30697 (__waitpid_nocancel): New macro.
30698 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
30700 (__waitpid_nocancel): Replace macro with a function.
30701 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
30704 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
30706 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
30707 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
30709 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
30710 __writev_nocancel_nostatus.
30711 (write_call_graph): Likewise.
30712 (write_bb_counts): Likewise.
30713 * resolv/herror.c (herror): Likewise.
30714 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
30716 (__writev_nocancel_nostatus): New macro.
30717 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
30719 (__writev_nocancel_nostatus): New function.
30721 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30724 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30726 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30728 (hidden_proto): Likewise.
30729 (hidden_tls_proto): Likewise.
30730 (__hidden_proto): Likewise.
30733 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
30734 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
30739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
30743 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
30744 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30745 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30746 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30747 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
30748 GLIBC_2.0 sqrtl symbol.
30750 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
30751 [__USE_MISC] (_LIB_VERSION): Likewise.
30752 [__USE_MISC] (struct exception): Likewise.
30753 [__USE_MISC] (matherr): Likewise.
30754 [__USE_MISC] (DOMAIN): Likewise.
30755 [__USE_MISC] (SING): Likewise.
30756 [__USE_MISC] (OVERFLOW): Likewise.
30757 [__USE_MISC] (UNDERFLOW): Likewise.
30758 [__USE_MISC] (TLOSS): Likewise.
30759 [__USE_MISC] (PLOSS): Likewise.
30760 [__USE_MISC] (HUGE): Likewise.
30761 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
30762 * math/math-svid-compat.h: New file.
30763 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
30765 * include/math.h [!_ISOMAC] (__matherr): Remove.
30766 * manual/arith.texi (FP Exceptions): Do not document matherr.
30767 * math/Makefile (tests): Change test-matherr to test-matherr-3.
30768 (tests-internal): New variable.
30769 (install-lib): Do not add libieee.a.
30770 (non-lib.a): Likewise.
30771 (extra-objs): Do not add libieee.a and ieee-math.o.
30772 (CPPFLAGS-s_lib_version.c): Remove variable.
30773 ($(objpfx)libieee.a): Remove rule.
30774 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
30775 * math/ieee-math.c: Remove.
30776 * math/libm-test-support.c (matherr): Remove.
30777 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
30778 and license notices. Include <math-svid-compat.h> and
30780 (matherr): Undefine as macro. Use compat_symbol_reference.
30781 (_LIB_VERSION): Likewise.
30782 * math/test-matherr-2.c: New file.
30783 * math/test-matherr-3.c: Likewise.
30784 * sysdeps/generic/math_private.h (__kernel_standard): Remove
30786 (__kernel_standard_f): Likewise.
30787 (__kernel_standard_l): Likewise.
30788 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
30789 <math_private.h>. Include <math-svid-compat.h>.
30790 (_LIB_VERSION): Undefine as macro.
30791 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
30792 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
30793 [LIBM_SVID_COMPAT], use compat_symbol.
30794 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
30795 <math_private.h>. Include <math-svid-compat.h>.
30796 (matherr): Undefine as macro.
30797 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
30799 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
30800 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
30801 compat_symbol_reference.
30802 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
30803 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
30804 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
30805 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
30806 (MATHERR_D): Remove declaration.
30807 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
30808 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
30809 [LIBM_BUILD] (pmatherrf): Likewise.
30810 [LIBM_BUILD] (pmatherr): Likewise.
30811 [LIBM_BUILD] (pmatherrl): Likewise.
30812 (DOMAIN): Likewise.
30814 (OVERFLOW): Likewise.
30815 (UNDERFLOW): Likewise.
30818 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
30819 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
30821 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
30822 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
30824 * math/lgamma-compat.h: Include <math-svid-compat.h>.
30825 * math/w_acos_compat.c: Likewise.
30826 * math/w_acosf_compat.c: Likewise.
30827 * math/w_acosh_compat.c: Likewise.
30828 * math/w_acoshf_compat.c: Likewise.
30829 * math/w_acoshl_compat.c: Likewise.
30830 * math/w_acosl_compat.c: Likewise.
30831 * math/w_asin_compat.c: Likewise.
30832 * math/w_asinf_compat.c: Likewise.
30833 * math/w_asinl_compat.c: Likewise.
30834 * math/w_atan2_compat.c: Likewise.
30835 * math/w_atan2f_compat.c: Likewise.
30836 * math/w_atan2l_compat.c: Likewise.
30837 * math/w_atanh_compat.c: Likewise.
30838 * math/w_atanhf_compat.c: Likewise.
30839 * math/w_atanhl_compat.c: Likewise.
30840 * math/w_cosh_compat.c: Likewise.
30841 * math/w_coshf_compat.c: Likewise.
30842 * math/w_coshl_compat.c: Likewise.
30843 * math/w_exp10_compat.c: Likewise.
30844 * math/w_exp10f_compat.c: Likewise.
30845 * math/w_exp10l_compat.c: Likewise.
30846 * math/w_exp2_compat.c: Likewise.
30847 * math/w_exp2f_compat.c: Likewise.
30848 * math/w_exp2l_compat.c: Likewise.
30849 * math/w_fmod_compat.c: Likewise.
30850 * math/w_fmodf_compat.c: Likewise.
30851 * math/w_fmodl_compat.c: Likewise.
30852 * math/w_hypot_compat.c: Likewise.
30853 * math/w_hypotf_compat.c: Likewise.
30854 * math/w_hypotl_compat.c: Likewise.
30855 * math/w_j0_compat.c: Likewise.
30856 * math/w_j0f_compat.c: Likewise.
30857 * math/w_j0l_compat.c: Likewise.
30858 * math/w_j1_compat.c: Likewise.
30859 * math/w_j1f_compat.c: Likewise.
30860 * math/w_j1l_compat.c: Likewise.
30861 * math/w_jn_compat.c: Likewise.
30862 * math/w_jnf_compat.c: Likewise.
30863 * math/w_jnl_compat.c: Likewise.
30864 * math/w_lgamma_main.c: Likewise.
30865 * math/w_lgamma_r_compat.c: Likewise.
30866 * math/w_lgammaf_main.c: Likewise.
30867 * math/w_lgammaf_r_compat.c: Likewise.
30868 * math/w_lgammal_main.c: Likewise.
30869 * math/w_lgammal_r_compat.c: Likewise.
30870 * math/w_log10_compat.c: Likewise.
30871 * math/w_log10f_compat.c: Likewise.
30872 * math/w_log10l_compat.c: Likewise.
30873 * math/w_log2_compat.c: Likewise.
30874 * math/w_log2f_compat.c: Likewise.
30875 * math/w_log2l_compat.c: Likewise.
30876 * math/w_log_compat.c: Likewise.
30877 * math/w_logf_compat.c: Likewise.
30878 * math/w_logl_compat.c: Likewise.
30879 * math/w_pow_compat.c: Likewise.
30880 * math/w_powf_compat.c: Likewise.
30881 * math/w_powl_compat.c: Likewise.
30882 * math/w_remainder_compat.c: Likewise.
30883 * math/w_remainderf_compat.c: Likewise.
30884 * math/w_remainderl_compat.c: Likewise.
30885 * math/w_scalb_compat.c: Likewise.
30886 * math/w_scalbf_compat.c: Likewise.
30887 * math/w_scalbl_compat.c: Likewise.
30888 * math/w_sinh_compat.c: Likewise.
30889 * math/w_sinhf_compat.c: Likewise.
30890 * math/w_sinhl_compat.c: Likewise.
30891 * math/w_sqrt_compat.c: Likewise.
30892 * math/w_sqrtf_compat.c: Likewise.
30893 * math/w_sqrtl_compat.c: Likewise.
30894 * math/w_tgamma_compat.c: Likewise.
30895 * math/w_tgammaf_compat.c: Likewise.
30896 * math/w_tgammal_compat.c: Likewise.
30897 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
30898 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30899 * sysdeps/ieee754/k_standard.c: Likewise.
30900 * sysdeps/ieee754/k_standardf.c: Likewise.
30901 * sysdeps/ieee754/k_standardl.c: Likewise.
30902 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30903 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30904 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30905 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30906 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30907 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30908 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30909 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
30910 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30915 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
30916 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30917 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30918 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30920 2017-08-21 Florian Weimer <fweimer@redhat.com>
30923 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
30924 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
30925 Move before inclusion of ../Rules.
30927 2017-08-21 Florian Weimer <fweimer@redhat.com>
30930 * assert/assert.h (assert): Use static_cast (bool) for C++.
30931 Use the ternary operator in the warning branch for GNU C.
30932 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
30933 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
30934 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
30935 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
30936 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
30938 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30941 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30942 (__syscall_clock_gettime): Add attribute_hidden.
30943 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
30944 (__start_context): Likewise.
30946 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30948 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30950 (hidden_proto): Likewise.
30951 (hidden_tls_proto): Likewise.
30952 (__hidden_proto): Likewise.
30954 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30956 * include/libc-symbols.h (attribute_hidden): Enable hidden
30957 visibility in libc.a compiled with PIE.
30959 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30962 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
30963 Add attribute_hidden.
30965 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30968 * Makerules (all-nonlib): Add $(others-extras).
30969 * catgets/Makefile (others-extras): New.
30970 * elf/Makefile (others-extras): Likewise.
30971 * nss/Makefile (others-extras): Likewise.
30973 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30976 * csu/libc-start.c (__libc_multiple_libcs): Removed.
30977 * elf/dl-open.c: Include <libc-internal.h>.
30978 (__libc_multiple_libcs): Removed.
30979 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
30981 * include/libc-internal.h (__libc_multiple_libcs): New.
30982 * misc/sbrk.c: Include <libc-internal.h>.
30983 (__libc_multiple_libcs): Removed.
30985 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30988 * grp/initgroups.c (__nss_group_database): Removed.
30989 (__nss_initgroups_database): Likewise.
30990 * nscd/gai.c (__nss_hosts_database): Likewise.
30991 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
30992 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
30993 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
30994 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
30995 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
30996 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
30998 * nss/nsswitch.c (__nss_database_custom): Define only if
30999 USE_NSCD is defined.
31000 (__nss_configure_lookup): Use __nss_database_custom only if
31001 USE_NSCD is defined.
31002 * nss/nsswitch.h (__nss_database_custom): Declare only if
31003 USE_NSCD is defined. Add attribute_hidden.
31004 (__nss_setent): Add attribute_hidden.
31005 (__nss_endent): Likewise.
31006 (__nss_getent_r): Likewise.
31007 (__nss_getent): Likewise.
31008 (DEFINE_DATABASE): Declare __nss_##arg##_database.
31010 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31013 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
31014 libc_hidden_proto and libc_hidden_def.
31016 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31019 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
31020 Add libc_hidden_proto.
31021 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
31022 Add libc_hidden_def.
31024 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31027 * gmon/Makefile (routines): Remove bb_init_func and
31029 (elide-routines.os): Removed.
31030 * gmon/bb_exit_func.c: Likewise.
31031 * gmon/bb_init_func.c: Likewise.
31032 * include/sys/gmon.h (__bb): Likewise.
31033 (__bb_init_func): Likewise.
31034 (__bb_exit_func): Likewise.
31035 * sysdeps/alpha/bb_init_func.S: Likewise.
31037 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31039 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
31040 * include/setjmp.h (____longjmp_chk): Here. Add
31043 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
31046 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
31048 (__strspn_sse2): Likewise.
31050 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31052 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
31053 (close_not_cancel_no_status): Likewise.
31054 (__close_nocancel): New macro.
31055 (__close_nocancel_nostatus): Likewise.
31056 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
31058 (close_not_cancel): Likewise.
31059 (close_not_cancel_no_status): Likewise.
31060 (__close_nocancel): New prototype.
31061 (__close_nocancel_nostatus): New function.
31062 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
31063 * catgets/open_catalog.c (__open_catalog): Replace
31064 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
31065 * gmon/gmon.c (write_gmon): Likewise.
31066 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31067 * intl/loadmsgcat.c (close): Likewise.
31068 * io/ftw.c (open_dir_stream): Likewise.
31069 (ftw_startup): Likewise.
31070 * libio/fileops.c (_IO_file_open): Likewise.
31071 (_IO_file_close_mmap): Likewise.
31072 (_IO_file_close): Likewise.
31073 * libio/iopopen.c (_IO_dup2): Likewise.
31074 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31075 * locale/loadlocale.c (_nl_load_locale): Likewise.
31076 * login/utmp_file.c (pututline_file): Likewise.
31077 (endutent_file): Likewise.
31078 * misc/daemon.c (daemon): Likewise.
31079 * nscd/nscd_getai.c (__nscd_getai): Likewise.
31080 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31081 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31082 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31083 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31084 * nscd/nscd_helper.c (open_socket): Likewise.
31085 (__nscd_open_socket): Likewise.
31086 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31087 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
31088 (__nscd_innetgr): Likewise.
31089 * nss/nss_db/db-open.c (internal_setent): Likewise.
31090 * resolv/res-close.c (__res_iclose): Likewise.
31091 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
31092 * sysdeps/posix/closedir.c (__closedir): Likewise.
31093 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
31094 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31095 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31096 (opendir_tail): Likewise.
31097 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31098 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
31099 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31100 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31101 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31102 (gethostid): Likewise.
31103 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31104 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31106 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31107 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
31108 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31109 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31111 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
31112 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
31113 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31115 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
31116 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31118 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31120 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31121 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31122 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31125 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
31126 (openat_not_cancel_3): Likewise.
31127 (openat64_not_cancel_3): Likewise).
31128 (openat_not_cancel_3): Likewise).
31129 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
31131 (openat_not_cancel_3): Likewise.
31132 (openat64_not_cancel): Likewise.
31133 (openat64_not_cancel_3): Likewise.
31134 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
31135 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
31136 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
31137 __open{64}_nocancel.
31138 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31139 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31140 * sysdeps/posix/opendir.c (__opendirat): Likewise.
31142 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31145 * include/argz.h (__argz_create_sep): New function prototype.
31146 (__argz_append): Likewise.
31147 (__argz_add): Likewise.
31148 (__argz_add_sep): Likewise.
31149 (__argz_delete): Likewise.
31150 (__argz_insert): Likewise.
31151 (__argz_replace): Likewise.
31152 * string/argz.h (__argz_create_sep): Removed.
31153 (__argz_append): Likewise.
31154 (__argz_add): Likewise.
31155 (__argz_add_sep): Likewise.
31156 (__argz_delete): Likewise.
31157 (__argz_insert): Likewise.
31158 (__argz_replace): Likewise.
31160 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31162 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
31163 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
31164 (GNU_PROPERTY_STACK_SIZE): Likewie.
31165 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
31166 (GNU_PROPERTY_LOPROC): Likewise.
31167 (GNU_PROPERTY_HIPROC): Likewise.
31168 (GNU_PROPERTY_LOUSER): Likewise.
31169 (GNU_PROPERTY_HIUSER): Likewise.
31170 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
31171 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
31172 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
31173 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
31174 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
31175 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
31176 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
31177 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
31178 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
31179 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
31180 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
31181 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
31182 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
31183 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
31184 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
31185 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
31186 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
31187 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
31188 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
31189 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
31190 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
31191 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
31192 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
31194 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31196 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
31199 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31202 * math/math.h (isinf): Check if in C or C++ mode before using
31203 __builtin_types_compatible_p, since this is a C mode feature.
31205 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31207 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
31208 (__write_nocancel): New macro.
31209 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
31210 Rewrite as a function prototype.
31211 (write_not_cancel): Remove macro.
31212 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
31213 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
31214 (write_gmon): Likewise.
31215 * libio/fileops.c (_IO_new_file_write): Likewise.
31216 * login/utmp_file.c (pututline_file): Likewise.
31217 (updwtmp_file): Likewise.
31218 * stdio-common/psiginfo.c (psiginfo): Likewise.
31219 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31220 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31221 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31223 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31226 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
31227 (__read_nocancel): New macro.
31228 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31230 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
31232 (__read_nocancel): New prototype.
31233 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
31234 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
31235 with __read_nocancel.
31236 * intl/loadmsgcat.c (read): Likewise.
31237 * libio/fileops.c (_IO_file_read): Likewise.
31238 * locale/loadlocale.c (_nl_load_locale): Likewise.
31239 * login/utmp_file.c (getutent_r_file): Likewise.
31240 (internal_getut_r): Likewise.
31241 (getutline_r_file): Likewise.
31242 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31243 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31244 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31245 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31247 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
31248 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31249 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31251 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31253 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31255 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31257 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31259 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31262 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
31263 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
31266 2017-08-17 DJ Delorie <dj@redhat.com>
31268 * bug17079.c: Update to new test harness.
31269 * test-digits-dots.c: Likewise.
31270 * test-netdb.c: Likewise.
31271 * tst-field.c: Likewise.
31272 * tst-nss-getpwent.c: Likewise.
31273 * tst-nss-static.c: Likewise.
31274 * tst-nss-test1.c: Likewise.
31275 * tst-nss-test2.c: Likewise.
31276 * tst-nss-test3.c: Likewise.
31277 * tst-nss-test4.c: Likewise.
31278 * tst-nss-test5.c: Likewise.
31280 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31282 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
31283 (open_not_cancel_2): Likewise.
31284 (open_nocancel): New macro.
31285 (open64_nocancel): Likewise.
31286 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
31287 (open_not_cancel_2): Likewise.
31288 (__open_nocancel): New prototype.
31289 (__open64_nocancel): Likewise.
31290 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31292 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
31293 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
31294 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
31295 with __open_nocancel.
31296 * csu/check_fds.c (check_one_fd): Likewise.
31297 * gmon/gmon.c (write_gmon): Likewise.
31298 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
31299 * intl/loadmsgcat.c (open): Likewise.
31300 * libio/fileops.c (_IO_file_open): Likewise.
31301 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31302 * locale/loadlocale.c (_nl_load_locale): Likewise.
31303 * login/utmp_file.c (setutent_file): Likewise.
31304 * misc/daemon.c (daemon): Likewise.
31305 * nss/nss_db/db-open.c (internal_setent): Likewise.
31306 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31307 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
31308 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31309 (__opendir): Likewise.
31310 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31311 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31312 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31313 (gethostid): Likewise.
31314 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31315 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31317 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31318 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
31319 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31320 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31322 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31324 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31326 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31328 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31330 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31332 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31333 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31335 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
31337 * benchtests/bench-skeleton.c (main): Add support for
31338 latency benchmarking.
31339 * benchtests/scripts/bench.py: Add support for latency benchmarking.
31341 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
31343 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
31344 the startup object.
31346 2017-08-17 Florian Weimer <fweimer@redhat.com>
31348 * include/sys/socket.h (__opensock): Remove internal_function.
31349 * socket/opensock.c (__opensock): Likewise.
31350 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
31352 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31355 * signal/bits/types/__sigval_t.h: New file.
31356 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
31357 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
31358 and define sigval_t using __sigval_t.
31359 * include/bits/types/__sigval_t.h: New file.
31360 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
31361 instead of <bits/types/__sigval_t.h>.
31362 (struct sigevent): Use __sigval_t instead of sigval_t.
31363 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
31364 instead of <bits/types/__sigval_t.h>.
31365 (siginfo_t): Use __sigval_t instead of sigval_t.
31366 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
31367 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31368 (struct sigevent): Use __sigval_t instead of sigval_t.
31369 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
31370 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31371 (siginfo_t): Use __sigval_t instead of sigval_t.
31372 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
31374 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31376 * NEWS: Remove "[Add new features here]" for 2.27.
31378 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31380 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
31383 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31385 * NEWS: Mention x86-64 FMA optimization.
31387 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31390 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31392 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
31393 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
31394 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
31396 2017-08-16 Andreas Schwab <schwab@suse.de>
31400 * elf/ldd.bash.in: Never run file directly.
31402 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
31405 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
31406 (L(SP_INF_0)): Likewise.
31408 2017-08-15 Florian Weimer <fweimer@redhat.com>
31410 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
31413 2017-08-15 Florian Weimer <fweimer@redhat.com>
31415 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
31416 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
31417 BROKEN_THREAD_SIGNALS code.
31418 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
31419 request_list): Remove caller_pid member used for
31420 BROKEN_THREAD_SIGNALS.
31421 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
31422 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31423 Remove BROKEN_THREAD_SIGNALS support.
31424 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
31425 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
31427 2017-08-15 Florian Weimer <fweimer@redhat.com>
31429 * gmon/Makefile (tests): Add tst-gmon.
31430 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
31432 (tests-special): Add tst-gmon-prof.out.
31433 (tst-gmon.out): Depend on clean-tst-gmon-data.
31434 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
31435 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
31436 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
31438 * aclocal.m4 (GPROF): Set and substitute.
31439 * config.amke.in (GPROF): Set.
31440 * configure: Regenerate.
31442 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
31444 * elf/elf.h A (NT_PPC_TAR): New macro.
31445 (NT_PPC_PPR): Likewise.
31446 (NT_PPC_DSCR): Likewise.
31447 (NT_PPC_EBB): Likewise.
31448 (NT_PPC_PMU): Likewise.
31449 (NT_PPC_TM_CGPR): Likewise.
31450 (NT_PPC_TM_CFPR): Likewise.
31451 (NT_PPC_TM_CVMX): Likewise.
31452 (NT_PPC_TM_CVSX): Likewise.
31453 (NT_PPC_TM_SPR): Likewise.
31454 (NT_PPC_TM_CTAR): Likewise.
31455 (NT_PPC_TM_CPPR): Likewise.
31456 (NT_PPC_TM_CDSCR): Likewise.
31458 2017-08-15 Florian Weimer <fweimer@redhat.com>
31460 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
31461 regparm (2) instead of internal_function.
31462 (_MCOUNT_DECL): Adjust.
31464 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31466 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
31467 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31469 2017-08-14 Joseph Myers <joseph@codesourcery.com>
31471 * conform/data/sys/wait.h-data (si_value): Do not expect for
31474 2017-08-14 Florian Weimer <fweimer@redhat.com>
31477 NSS: Create stubs for accidentally exported lookup functions.
31478 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
31479 Remove declaration.
31480 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
31481 (ether_hostton): Call __nss_ethers_lookup2 instead.
31482 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
31483 (ether_ntohost): Call __nss_ethers_lookup2 instead.
31484 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
31485 (setup): Call __nss_netgroup_lookup2 instead.
31486 * nss/Makefile (routines): Add compat-lookup.
31487 * nss/Versions (GLIBC_2.27): Add symbol version.
31488 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
31489 (DB_COMPAT_FCT): Remove.
31490 * nss/compat-lookup.c: New file.
31491 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
31492 from databases.def.
31493 * nss/service-lookup.c (NO_COMPAT): Remove definition.
31494 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
31495 (netname2user): Call __nss_publickey_lookup2 instead.
31496 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
31497 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
31500 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31501 Sergei Trofimovich <slyfox@inbox.ru>
31504 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
31505 Rename to MMAP2_PAGE_UNIT.
31506 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
31507 __OFF_T_MATCHES_OFF64_T is not defined.
31508 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
31510 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
31511 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
31513 2017-08-14 Florian Weimer <fweimer@redhat.com>
31515 i386: Do not set internal_function.
31516 * config.h.in (USE_REGPARMS, internal_function): Remove.
31517 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
31518 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
31520 2017-08-14 Florian Weimer <fweimer@redhat.com>
31522 * elf/dl-init.c (_dl_init): Remove internal_function.
31523 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
31524 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
31526 2017-08-14 Florian Weimer <fweimer@redhat.com>
31528 * elf/rtld.c (_dl_start): Remove internal_function.
31529 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
31532 2017-08-14 Florian Weimer <fweimer@redhat.com>
31534 * elf/dl-fini.c (_dl_fini): Remove internal_function
31535 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31537 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
31539 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
31540 (bit_cpu_SHSTK): Likewise.
31541 (index_cpu_IBT): Likewise.
31542 (index_cpu_SHSTK): Likewise.
31543 (reg_IBT): Likewise.
31544 (reg_SHSTK): Likewise.
31545 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31546 Handle index_cpu_IBT and index_cpu_SHSTK.
31548 2017-08-14 Mike FABIAN <mfabian@redhat.com>
31551 * po/fr.po: Fix spelling mistake.
31553 2017-08-13 Florian Weimer <fweimer@redhat.com>
31555 * elf/dl-addr.c (_dl_addr): Remove internal_function.
31556 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
31557 (_dl_catch_error, _dl_receive_error): Likewise.
31558 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
31559 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
31560 (_dl_deallocate_tls): Likewise.
31561 * include/dlfcn.h (_dl_addr): Likewise.
31562 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
31563 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
31564 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
31567 2017-08-13 Florian Weimer <fweimer@redhat.com>
31569 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
31570 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
31572 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
31574 2017-08-13 Florian Weimer <fweimer@redhat.com>
31576 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
31578 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
31579 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
31580 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
31581 internal_function from _dl_make_stack_executable_hook member.
31582 (_dl_make_stack_executable): Remove internal_function.
31583 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
31585 * sysdeps/unix/sysv/linux/dl-execstack.c
31586 (_dl_make_stack_executable): Likewise.
31588 2017-08-13 Florian Weimer <fweimer@redhat.com>
31590 * sysdeps/unix/sysv/linux/netlinkaccess.h
31591 (__netlink_assert_response): Remove internal_function.
31592 * sysdeps/unix/sysv/linux/netlink_assert_response.c
31593 (__netlink_assert_response): Likewise.
31595 2017-08-13 Florian Weimer <fweimer@redhat.com>
31597 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
31599 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
31601 2017-08-13 Florian Weimer <fweimer@redhat.com>
31603 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
31605 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
31606 * inet/netgroup.h (__internal_setnetgrent)
31607 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31608 * inet/getnetgrent_r.c (__internal_setnetgrent)
31609 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31610 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
31611 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
31612 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
31613 * nss/nsswitch.h (db_lookup_function): Likewise.
31615 2017-08-13 Florian Weimer <fweimer@redhat.com>
31617 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
31618 Remove internal_function.
31619 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
31620 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
31621 message argument on the stack.
31622 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
31625 2017-08-12 Mike FABIAN <mfabian@redhat.com>
31627 Adapt test case data to the changes in the thousands
31631 * localedata/tst-langinfo.sh: Adapt test case data.
31632 * stdlib/tst-strfmon_l.c: Likewise.
31633 * stdlib/tst-strtod4.c: Likewise.
31634 * stdlib/tst-strtod5i.c: Likewise.
31636 2017-08-11 Florian Weimer <fweimer@redhat.com>
31639 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
31640 Suppress pedantic warning resulting from statement expression.
31641 (__ASSERT_FUNCTION): Add missing __extension__.
31643 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31645 * benchtests/bench-memmove-large.c: Print output in JSON
31647 * benchtests/bench-memmove.c: Likewise.
31649 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
31650 * benchtests/bench-memchr.c (do_one_test): Likewise.
31651 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
31652 * benchtests/bench-memcpy.c (do_one_test): Likewise.
31653 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
31654 * benchtests/bench-memmove.c (do_one_test): Likewise.
31655 * benchtests/bench-memset-large.c (do_one_test): Likewise.
31656 * benchtests/bench-memset.c (do_one_test): Likewise.
31657 * benchtests/bench-string.h (test_init): Remove memsets.
31659 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31662 (Computing the Width of an Integer Data Type): Rename section to
31663 "Width of an Integer Type". Remove inaccurate statement regarding
31664 lack of C language facilities for determining width of integer
31665 types, and reorder content to improve flow and context of
31668 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31670 * lang.texi (va_copy): Change standard from ISO to C99.
31671 (__va_copy): Add standard and header annotation.
31672 Update description for clarity of origins and current use.
31674 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31677 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
31678 xssqrtqp requires operands to be in Vector Registers
31679 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
31680 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
31681 (__ieee754_sqrtf128): Likewise.
31683 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
31685 * sysdeps/aarch64/memcmp.S (memcmp):
31686 Rewrite of optimized memcmp.
31688 2017-08-10 Florian Weimer <fweimer@redhat.com>
31690 Introduce ld.so exceptions.
31691 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
31692 (_dl_exception_create, _dl_exception_create_format)
31693 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
31694 (_dl_catch_exception): Declare.
31695 (_dl_catch_error): Update comment.
31696 * elf/dl-error-skeleton.c (struct catch): Replace objname,
31697 errstring, malloced members with exception member.
31698 (_dl_out_of_memory): Remove.
31699 (fatal_error): New function, extracted from _dl_signal_error.
31700 (_dl_signal_exception, _dl_signal_cexception): New functions.
31701 (_dl_signal_error): Call _dl_exception_create to allocate an
31703 (_dl_catch_exception): New function, based on _dl_catch_error.
31704 (_dl_catch_error): Implement using _dl_catch_exception.
31705 * elf/dl-exception.c: New file.
31706 * elf/Makefile (dl-routines): Add dl-exception.
31707 (elide-routines.os): Likewise.
31708 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
31709 _dl_exception_create_format, _dl_exception_free.
31710 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
31711 _dl_signal_exception.
31712 * elf/dl-lookup.c (make_string): Remove.
31713 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
31714 _dl_signal_cexception, _dl_exception_free.
31715 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
31716 _dl_signal_exception.
31717 * elf/dl-sym.c (do_sym): Likewise.
31718 * elf/dl-version.c (make_string): Remove.
31719 (match_symbol): Use _dl_exception_create_format,
31720 _dl_signal_cexception, _dl_exception_free.
31721 (_dl_check_map_versions): Likewise.
31722 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
31723 _dl_catch_exception.
31724 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
31725 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
31726 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
31727 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
31728 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
31729 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
31730 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
31731 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
31733 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
31734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
31736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
31738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
31740 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
31741 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
31742 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
31744 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
31746 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
31748 2017-08-10 Florian Weimer <fweimer@redhat.com>
31750 * inet/net-internal.h (__inet6_scopeid_pton): Remove
31751 attribute_hidden, internal_function.
31752 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
31755 2017-08-10 Florian Weimer <fweimer@redhat.com>
31757 * malloc/malloc.c (get_max_fast): Reimplement as an inline
31758 function which calls __builtin_unreachable.
31760 2017-08-10 Mike FABIAN <mfabian@redhat.com>
31762 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
31763 Indian monetary formatting
31764 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
31767 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
31769 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
31770 Fix typo in comment.
31773 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
31774 PTRACE_SEIZE_DEVEL): Remove.
31775 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
31776 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31777 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31778 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31779 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31781 2017-08-09 Joseph Myers <joseph@codesourcery.com>
31783 * posix/bits/types.h (__qaddr_t): Remove.
31786 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
31787 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31789 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
31790 (ucontext_t): Use __ctx with uc_flags.
31791 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
31792 (__ctxt): Likewise.
31793 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31795 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
31796 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31798 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
31799 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31801 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
31803 (ucontext_t): Use __ctx with uc_flags.
31804 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
31805 (ucontext_t): Use __ctx with uc_flags.
31806 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
31807 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
31808 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
31809 (ucontext_t): Use __ctx with uc_flags.
31810 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
31811 undefine further down.
31812 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31814 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
31815 undefine further down.
31816 (ucontext_t): Use __ctx with uc_flags.
31817 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
31818 undefine further down.
31819 (ucontext_t): Use __ctx with uc_flags.
31820 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
31821 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
31822 Rename uc_pad to __glibc_reserved1.
31823 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
31824 undefine further down.
31825 (ucontext_t): Use __ctx with uc_flags.
31826 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
31828 (ucontext_t): Use __ctx with uc_flags.
31829 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
31830 __ctx with uc_flags.
31831 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
31832 (ucontext_t): Use __ctx with uc_flags.
31833 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
31834 __ctx with uc_flags.
31836 2017-08-09 Florian Weimer <fweimer@redhat.com>
31839 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
31840 before early return.
31842 2017-08-09 Andreas Schwab <schwab@suse.de>
31845 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
31849 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
31850 tst-compat-forwarder.
31851 (modules-names): Add tst-compat-forwarder-mod.
31852 ($(objpfx)tst-compat-forwarder): Depend on
31853 $(objpfx)tst-compat-forwarder-mod.so.
31854 * nptl/tst-compat-forwarder.c: New file.
31855 * nptl/tst-compat-forwarder-mod.c: New file.
31857 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
31859 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
31862 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
31863 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31865 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
31867 (__libc_ifunc_impl_list): Add __memcpy_falkor.
31868 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
31869 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
31870 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31872 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
31875 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31878 * manual/setjmp.texi (getcontex): Document uc_stack value
31879 compatibility differences.
31881 2017-08-08 Joseph Myers <joseph@codesourcery.com>
31883 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
31884 (old_malloc_hook): Likewise.
31885 (old_memalign_hook): Likewise.
31886 (old_realloc_hook): Likewise.
31887 (struct hdr): Likewise.
31889 (freehook): Likewise.
31890 (mallochook): Likewise.
31891 (memalignhook): Likewise.
31892 (reallochook): Likewise.
31893 (mprobe): Likewise.
31894 * malloc/mtrace.c (mallwatch): Likewise.
31895 (tr_old_free_hook): Likewise.
31896 (tr_old_malloc_hook): Likewise.
31897 (tr_old_realloc_hook): Likewise.
31898 (tr_old_memalign_hook): Likewise.
31899 (tr_where): Likewise.
31900 (lock_and_info): Likewise.
31901 (tr_freehook): Likewise.
31902 (tr_mallochook): Likewise.
31903 (tr_reallochook): Likewise.
31904 (tr_memalignhook): Likewise.
31905 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
31906 * misc/mmap.c (__mmap): Likewise.
31907 * misc/mmap64.c (__mmap64): Likewise.
31908 * misc/mprotect.c (__mprotect): Likewise.
31909 * misc/msync.c (msync): Likewise.
31910 * misc/munmap.c (__munmap): Likewise.
31911 * posix/posix_madvise.c (posix_madvise): Likewise.
31912 * socket/send.c (__send): Likewise.
31913 * socket/sendto.c (__sendto): Likewise.
31914 * socket/setsockopt.c (__setsockopt): Likewise.
31915 * string/memcmp.c (__ptr_t): Remove macro.
31916 (MEMCMP): Use void * instead of ptr_t.
31917 * string/memrchr.c (__ptr_t): Remove macro.
31918 (__memrchr): Use void * instead of ptr_t.
31919 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
31920 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31921 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31922 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
31923 * sysdeps/mach/msync.c (msync): Likewise.
31924 * sysdeps/mach/munmap.c (__munmap): Likewise.
31925 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
31927 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31928 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
31929 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
31930 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
31931 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
31932 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31933 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
31934 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
31936 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31937 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
31938 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
31939 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
31940 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
31941 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
31942 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
31943 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
31944 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
31946 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
31947 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
31948 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
31949 (MEMCMP): Use void * instead of ptr_t.
31950 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
31951 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
31953 2017-08-08 Florian Weimer <fweimer@redhat.com>
31955 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
31958 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
31961 * csu/libc-tls.c: Include <startup.h> first.
31962 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
31963 * elf/dl-tunables.c: Include <startup.h> first.
31964 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
31965 * sysdeps/generic/startup.h: New file.
31966 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
31967 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
31968 (I386_USE_SYSENTER): New. Defined to 0.
31970 2017-08-08 Andreas Schwab <schwab@suse.de>
31973 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
31974 * nptl/pt-system.c (system): Likewise.
31976 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31979 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
31981 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
31982 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
31983 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
31984 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
31985 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
31986 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
31987 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
31989 2017-08-07 Joseph Myers <joseph@codesourcery.com>
31992 * bits/sigaction.h (struct sigaction): Define sa_handler and
31993 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
31994 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31995 [__USE_XOPEN_EXTENDED].
31996 (SA_RESTART): Likewise.
31997 (SA_NODEFER): Likewise.
31998 (SA_RESETHAND): Likewise.
31999 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
32000 (struct sigaction): Define sa_handler and sa_sigaction using union
32001 also for [__USE_XOPEN_EXTENDED].
32002 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32003 [__USE_XOPEN_EXTENDED].
32004 (SA_RESTART): Likewise.
32005 (SA_NODEFER): Likewise.
32006 (SA_RESETHAND): Likewise.
32007 * sysdeps/unix/sysv/linux/bits/sigaction.h
32008 (struct sigaction): Define sa_handler and sa_sigaction using union
32009 also for [__USE_XOPEN_EXTENDED].
32010 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32011 [__USE_XOPEN_EXTENDED].
32012 (SA_RESTART): Likewise.
32013 (SA_NODEFER): Likewise.
32014 (SA_RESETHAND): Likewise.
32015 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
32016 (struct sigaction): Define sa_handler and sa_sigaction using union
32017 also for [__USE_XOPEN_EXTENDED].
32018 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32019 [__USE_XOPEN_EXTENDED].
32020 (SA_RESTART): Likewise.
32021 (SA_NODEFER): Likewise.
32022 (SA_RESETHAND): Likewise.
32023 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
32024 (struct sigaction): Define sa_handler and sa_sigaction using union
32025 also for [__USE_XOPEN_EXTENDED].
32026 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32027 [__USE_XOPEN_EXTENDED].
32028 (SA_RESTART): Likewise.
32029 (SA_NODEFER): Likewise.
32030 (SA_RESETHAND): Likewise.
32031 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32032 (struct sigaction): Define sa_handler and sa_sigaction using union
32033 also for [__USE_XOPEN_EXTENDED].
32034 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32035 [__USE_XOPEN_EXTENDED].
32036 (SA_RESTART): Likewise.
32037 (SA_NODEFER): Likewise.
32038 (SA_RESETHAND): Likewise.
32039 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32040 (struct sigaction): Define sa_handler and sa_sigaction using union
32041 also for [__USE_XOPEN_EXTENDED].
32042 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32043 [__USE_XOPEN_EXTENDED].
32044 (SA_RESTART): Likewise.
32045 (SA_NODEFER): Likewise.
32046 (SA_RESETHAND): Likewise.
32047 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32048 (struct sigaction): Define sa_handler and sa_sigaction using union
32049 also for [__USE_XOPEN_EXTENDED].
32050 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32051 [__USE_XOPEN_EXTENDED].
32052 (SA_RESTART): Likewise.
32053 (SA_NODEFER): Likewise. Define directly rather than as alias.
32054 (SA_RESETHAND): Likewise.
32055 (SA_INTERRUPT): Define only for [__USE_MISC].
32056 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
32057 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
32059 (SA_STACK): Define only for [__USE_MISC].
32060 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
32061 (struct sigaction): Define sa_handler and sa_sigaction using union
32062 also for [__USE_XOPEN_EXTENDED].
32063 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32064 [__USE_XOPEN_EXTENDED].
32065 (SA_RESTART): Likewise.
32066 (SA_NODEFER): Likewise.
32067 (SA_RESETHAND): Likewise.
32068 (SA_NOPTRACE): Define only for [__USE_MISC].
32070 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
32071 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
32072 (struct catalog_info): Likewise.
32073 * inet/htontest.c (lo): Likewise.
32075 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32076 * inet/inet_net.c (inet_network): Likewise.
32077 * inet/inet_netof.c (inet_netof): Likewise.
32078 * inet/rcmd.c (__ivaliduser): Likewise.
32079 (iruserok): Likewise.
32080 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
32081 * locale/programs/locale-spec.c (locale_special): Likewise.
32082 * nis/nis_findserv.c (struct findserv_req): Likewise.
32083 (__nis_findfastest_with_timeout): Likewise.
32084 * nss/test-netdb.c (test_network): Likewise.
32085 * resolv/inet_neta.c (inet_neta): Likewise.
32086 * resolv/ns_date.c (ns_datetosecs): Likewise.
32087 (SECS_PER_DAY): Likewise.
32088 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
32090 * resolv/res_comp.c (__putlong): Likewise.
32091 (__putshort): Likewise.
32092 (_getlong): Likewise.
32093 (_getshort): Likewise.
32094 * resolv/res_debug.c (p_time): Likewise.
32095 (precsize_ntoa): Likewise.
32096 (precsize_aton): Likewise.
32097 (latlon2ul): Likewise.
32098 (loc_aton): Likewise.
32099 (loc_ntoa): Likewise.
32100 * resolv/res_hconf.c (struct netaddr): Likewise.
32101 (_res_hconf_reorder_addrs): Likewise.
32102 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
32103 (clnttcp_control): Likewise.
32104 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32105 (clntudp_control): Likewise.
32106 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
32107 (clntunix_control): Likewise.
32108 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
32109 * sunrpc/rpc/auth.h (union des_block): Likewise.
32110 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
32111 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
32112 (xdrrec_create): Likewise.
32113 (xdrrec_endofrecord): Likewise.
32114 (flush_out): Likewise.
32115 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
32116 (xdrstdio_putlong): Likewise.
32117 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
32120 * misc/sys/cdefs.h (__long_double_t): Remove.
32121 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
32122 instead of __long_double_t,
32123 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
32125 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
32127 * benchtests/scripts/compare_strings.py: Avoid display error when
32128 running on a text terminal.
32130 * benchtests/scripts/compare_strings.py (main): Add an
32131 optional -base option.
32132 (process_results): New argument base_func.
32134 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
32136 * benchtests/bench-memcpy-large.c (test_name): Likewise.
32137 * benchtests/bench-memcpy-random.c (test_name): Likewise.
32139 2017-08-07 Andreas Schwab <schwab@suse.de>
32141 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
32142 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32143 * intl/Makefile ($(objpfx)tst-gettext.out)
32144 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
32145 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
32146 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32147 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32148 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
32149 * posix/Makefile ($(objpfx)globtest.out)
32150 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
32151 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
32152 ($(objpfx)tst-printf.out): Likewise.
32153 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
32154 ($(objpfx)tst-setcontext3.out): Likewise.
32156 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
32158 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32159 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
32160 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
32161 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
32162 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
32164 (CFLAGS-doasin-fma.c): New.
32165 (CFLAGS-dosincos-fma.c): Likewise.
32166 (CFLAGS-e_asin-fma.c): Likewise.
32167 (CFLAGS-e_atan2-fma.c): Likewise.
32168 (CFLAGS-e_exp-fma.c): Likewise.
32169 (CFLAGS-e_log-fma.c): Likewise.
32170 (CFLAGS-e_pow-fma.c): Likewise.
32171 (CFLAGS-halfulp-fma.c): Likewise.
32172 (CFLAGS-mpa-fma.c): Likewise.
32173 (CFLAGS-mpatan-fma.c): Likewise.
32174 (CFLAGS-mpatan2-fma.c): Likewise.
32175 (CFLAGS-mpexp-fma.c): Likewise.
32176 (CFLAGS-mplog-fma.c): Likewise.
32177 (CFLAGS-mpsqrt-fma.c): Likewise.
32178 (CFLAGS-mptan-fma.c): Likewise.
32179 (CFLAGS-s_atan-fma.c): Likewise.
32180 (CFLAGS-sincos32-fma.c): Likewise.
32181 (CFLAGS-slowexp-fma.c): Likewise.
32182 (CFLAGS-slowpow-fma.c): Likewise.
32183 (CFLAGS-s_sin-fma.c): Likewise.
32184 (CFLAGS-s_tan-fma.c): Likewise.
32185 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
32186 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
32187 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
32188 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
32189 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
32190 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
32191 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
32192 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
32193 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
32194 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
32195 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
32196 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
32197 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
32198 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
32199 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
32200 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
32201 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
32202 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
32203 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
32204 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
32205 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
32206 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
32207 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
32208 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
32209 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32210 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32211 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32212 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32213 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32214 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32215 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32217 2017-08-04 Joseph Myers <joseph@codesourcery.com>
32219 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
32220 (min_of_type_f): New macro.
32221 (min_of_type_): Likewise.
32222 (min_of_type_l): Likewise.
32223 (min_of_type_f128): Likewise.
32224 (min_of_type): Define using __MATH_TG and taking an expression
32226 (math_check_force_underflow): Pass expression instead of type to
32228 (math_check_force_underflow_nonneg): Likewise.
32230 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32232 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32233 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
32234 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
32236 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32238 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32239 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
32240 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
32241 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
32242 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
32243 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
32244 memcpy_chk-nonshared, mempcpy_chk-nonshared,
32245 memmove_chk-nonshared and memset_chk-nonshared
32246 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
32247 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
32248 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
32249 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
32250 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
32251 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
32252 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
32253 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
32254 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
32255 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
32256 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
32257 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
32258 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
32259 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
32260 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
32261 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
32262 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
32263 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
32264 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
32265 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
32266 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
32267 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
32268 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
32269 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
32270 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
32271 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
32272 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
32273 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
32274 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
32275 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
32276 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
32277 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
32278 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
32279 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32280 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32281 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
32282 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
32283 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
32284 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
32285 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
32286 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
32287 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
32288 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
32289 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
32290 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
32291 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
32292 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
32293 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
32294 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
32295 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
32296 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
32297 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
32298 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
32299 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
32300 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
32301 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
32302 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
32303 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
32304 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
32305 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
32306 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
32307 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
32308 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
32309 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
32310 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
32311 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
32312 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
32313 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
32314 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
32315 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
32316 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
32317 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32318 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32319 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32320 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32321 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32322 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32323 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32324 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32325 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32326 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32327 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32328 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32329 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32330 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32331 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32332 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32333 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32334 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32335 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32336 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32337 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32338 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32339 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32340 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32341 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32342 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32343 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32344 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32345 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32346 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32347 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32348 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32349 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32350 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32351 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32352 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32353 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32355 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32357 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
32358 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
32359 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
32360 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
32361 svml_d_log2_core-sse2, svml_d_log4_core-sse,
32362 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
32363 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
32364 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
32365 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
32366 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
32367 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
32368 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
32369 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
32370 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
32371 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
32372 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
32373 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
32374 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
32375 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
32376 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
32377 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
32378 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
32379 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
32380 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
32381 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
32382 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
32383 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
32384 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
32385 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
32386 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
32387 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
32388 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
32389 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
32390 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
32391 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
32392 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
32393 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
32394 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
32395 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
32396 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
32397 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
32398 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
32399 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
32400 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
32401 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
32402 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
32403 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
32404 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
32405 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
32406 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
32407 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
32408 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
32409 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
32410 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
32411 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
32412 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
32413 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
32414 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
32415 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
32417 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
32418 Don't include <sysdep.h> nor <init-arch.h>.
32419 (_ZGVbN2v_cos): Removed.
32420 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
32422 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
32423 Don't include <sysdep.h> nor <init-arch.h>.
32424 (_ZGVdN4v_cos): Removed.
32425 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
32427 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
32428 Don't include <sysdep.h> nor <init-arch.h>.
32429 (_ZGVeN8v_cos): Removed.
32430 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
32432 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
32433 Don't include <sysdep.h> nor <init-arch.h>.
32434 (_ZGVbN2v_exp): Removed.
32435 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
32437 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
32438 Don't include <sysdep.h> nor <init-arch.h>.
32439 (_ZGVdN4v_exp): Removed.
32440 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
32442 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
32443 Don't include <sysdep.h> nor <init-arch.h>.
32444 (_ZGVeN8v_exp): Removed.
32445 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
32447 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
32448 Don't include <sysdep.h> nor <init-arch.h>.
32449 (_ZGVbN2v_log): Removed.
32450 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
32452 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
32453 Don't include <sysdep.h> nor <init-arch.h>.
32454 (_ZGVdN4v_log): Removed.
32455 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
32457 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
32458 Don't include <sysdep.h> nor <init-arch.h>.
32459 (_ZGVeN8v_log): Removed.
32460 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
32462 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
32463 Don't include <sysdep.h> nor <init-arch.h>.
32464 (_ZGVbN2vv_pow): Removed.
32465 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
32467 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
32468 Don't include <sysdep.h> nor <init-arch.h>.
32469 (_ZGVdN4vv_pow): Removed.
32470 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
32472 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
32473 Don't include <sysdep.h> nor <init-arch.h>.
32474 (_ZGVeN8vv_pow): Removed.
32475 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
32477 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
32478 Don't include <sysdep.h> nor <init-arch.h>.
32479 (_ZGVbN2v_sin): Removed.
32480 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
32482 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
32483 Don't include <sysdep.h> nor <init-arch.h>.
32484 (_ZGVbN4v_sin): Removed.
32485 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
32487 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
32488 Don't include <sysdep.h> nor <init-arch.h>.
32489 (_ZGVbN8v_sin): Removed.
32490 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
32492 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
32493 Don't include <sysdep.h> nor <init-arch.h>.
32494 (_ZGVbN2vvv_sincos): Removed.
32495 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
32497 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
32498 Don't include <sysdep.h> nor <init-arch.h>.
32499 (_ZGVdN4vvv_sincos): Removed.
32500 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
32502 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
32503 Don't include <sysdep.h> nor <init-arch.h>.
32504 (_ZGVeN8vvv_sincos): Removed.
32505 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
32507 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
32508 Don't include <sysdep.h> nor <init-arch.h>.
32509 (_ZGVeN16v_cosf): Removed.
32510 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
32512 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
32513 Don't include <sysdep.h> nor <init-arch.h>.
32514 (_ZGVbN4v_cosf): Removed.
32515 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
32517 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
32518 Don't include <sysdep.h> nor <init-arch.h>.
32519 (_ZGVdN8v_cosf): Removed.
32520 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
32522 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
32523 Don't include <sysdep.h> nor <init-arch.h>.
32524 (_ZGVeN16v_expf): Removed.
32525 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
32527 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
32528 Don't include <sysdep.h> nor <init-arch.h>.
32529 (_ZGVbN4v_expf): Removed.
32530 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
32532 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
32533 Don't include <sysdep.h> nor <init-arch.h>.
32534 (_ZGVdN8v_expf): Removed.
32535 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
32537 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
32538 Don't include <sysdep.h> nor <init-arch.h>.
32539 (_ZGVeN16v_logf): Removed.
32540 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
32542 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
32543 Don't include <sysdep.h> nor <init-arch.h>.
32544 (_ZGVbN4v_logf): Removed.
32545 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
32547 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
32548 Don't include <sysdep.h> nor <init-arch.h>.
32549 (_ZGVdN8v_logf): Removed.
32550 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
32552 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
32553 Don't include <sysdep.h> nor <init-arch.h>.
32554 (_ZGVeN16vv_powf): Removed.
32555 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
32557 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
32558 Don't include <sysdep.h> nor <init-arch.h>.
32559 (_ZGVbN4vv_powf): Removed.
32560 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
32562 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
32563 Don't include <sysdep.h> nor <init-arch.h>.
32564 (_ZGVdN8vv_powf): Removed.
32565 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
32567 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
32568 Don't include <sysdep.h> nor <init-arch.h>.
32569 (_ZGVeN16vvv_sincosf): Removed.
32570 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
32572 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
32573 Don't include <sysdep.h> nor <init-arch.h>.
32574 (_ZGVbN4vvv_sincosf): Removed.
32575 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
32577 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
32578 Don't include <sysdep.h> nor <init-arch.h>.
32579 (_ZGVdN8vvv_sincosf): Removed.
32580 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
32582 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
32583 Don't include <sysdep.h> nor <init-arch.h>.
32584 (_ZGVeN16v_sinf): Removed.
32585 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
32587 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
32588 Don't include <sysdep.h> nor <init-arch.h>.
32589 (_ZGVbN4v_sinf): Removed.
32590 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
32592 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
32593 Don't include <sysdep.h> nor <init-arch.h>.
32594 (_ZGVdN8v_sinf): Removed.
32596 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32598 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32599 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
32600 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
32601 s_rint-sse4_1 and s_rintf-sse4_1.
32602 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
32603 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
32604 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
32605 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
32606 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
32607 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
32608 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
32609 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
32610 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
32611 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
32612 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
32613 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32615 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
32616 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
32617 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32618 (__ceilf): Removed.
32619 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
32620 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
32621 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32622 (__floor): Removed.
32623 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
32624 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
32625 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32626 (__floorf): Removed.
32627 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
32628 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
32629 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32630 (__nearbyint): Removed.
32631 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
32632 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
32633 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32634 (__nearbyintf): Removed.
32635 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
32636 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
32637 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32639 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
32640 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
32641 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32642 (__rintf): Removed.
32644 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32646 * sysdeps/i386/start.S (_start): Check Check PIC instead of
32647 SHARED. Avoid dynamic relocation against main in static PIE.
32649 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32652 * elf/Makefile (CFLAGS-tst-prelink.c): New.
32653 (LDFLAGS-tst-prelink): Likewise.
32655 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32657 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
32658 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
32659 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
32660 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
32661 (INTERNAL_SYSCALL_NCS): Likewise.
32662 (LOADARGS_1): Likewise.
32663 (LOADARGS_5): Likewise.
32664 (RESTOREARGS_1): Likewise.
32665 (RESTOREARGS_5): Likewise.
32667 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32669 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
32670 (MEMPCPY_SYMBOL): Likewise.
32671 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32672 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
32673 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
32675 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32676 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
32678 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
32679 (__hidden_ver1): Don't use in libc.a.
32680 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
32681 (__mempcpy): Don't create a weak alias in libc.a.
32682 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
32684 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
32685 (__hidden_ver1): Don't use in libc.a.
32687 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32689 * config.make.in (have-insert): New.
32690 * configure.ac (libc_cv_insert): New. Set to yes if linker
32691 supports INSERT in linker script.
32692 (AC_SUBST(libc_cv_insert): New.
32693 * configure: Regenerated.
32694 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
32695 if $(have-insert) == yes.
32697 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32699 * elf/Makefile (tests): Add vismain only if
32700 $(have-protected-data) == yes.
32701 (tests-pie): Likewise.
32703 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32706 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
32707 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
32709 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32712 * sysdeps/i386/i586/memset.S
32713 (__memset_zero_constant_len_parameter): Removed.
32714 * sysdeps/i386/i686/memset.S
32715 (__memset_zero_constant_len_parameter): Likewise.
32716 * sysdeps/i386/i686/multiarch/memset_chk.S
32717 (__memset_zero_constant_len_parameter): Likewise.
32718 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
32721 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32723 * stdlib/getentropy.c (getentropy): Change return type to int.
32725 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32727 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
32729 2017-08-03 Joseph Myers <joseph@codesourcery.com>
32731 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
32733 * math/s_nexttowardf.c (__nexttowardf): Likewise.
32734 * sysdeps/generic/math_private.h (ieee_double_shape_type):
32736 (ieee_float_shape_type): Likewise.
32737 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
32738 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
32739 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
32740 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32741 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
32742 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
32743 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
32744 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32745 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
32747 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32748 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
32749 (__ieee754_yn): Likewise.
32750 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32751 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32752 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
32754 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32755 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
32756 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
32757 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
32758 (__erfc): Likewise.
32759 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
32760 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
32761 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
32762 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
32763 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
32764 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
32766 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
32767 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
32768 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
32769 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
32770 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32771 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
32772 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
32773 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
32774 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
32775 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
32776 (__issignaling): Likewise.
32777 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
32778 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
32779 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
32781 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32782 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32783 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
32784 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
32786 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
32788 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
32789 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
32790 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
32791 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
32792 (__erfcf): Likewise.
32793 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
32794 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
32795 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
32796 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
32798 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
32799 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
32801 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
32802 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
32803 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
32804 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
32805 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
32806 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32807 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
32808 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
32810 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
32812 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
32814 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
32815 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
32817 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
32819 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32820 (__ieee754_ynl): Likewise.
32821 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
32822 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
32824 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
32826 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
32827 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
32828 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32830 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
32831 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
32832 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
32833 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
32834 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
32835 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
32836 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
32837 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
32839 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
32840 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
32841 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
32843 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
32844 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
32845 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
32846 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
32847 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
32848 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32850 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
32852 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32854 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32856 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
32857 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32858 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32859 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
32860 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
32861 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
32862 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
32864 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32866 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32867 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32869 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
32870 (__ieee754_remainderl): Likewise.
32871 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32872 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32873 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32874 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32876 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32877 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32879 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32880 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
32881 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
32882 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
32883 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32884 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32886 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
32887 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
32888 (__ieee754_y0l): Likewise.
32891 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32892 (__ieee754_y1l): Likewise.
32895 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32896 (__ieee754_ynl): Likewise.
32897 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
32898 (__ieee754_lgammal_r): Likewise.
32899 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
32901 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
32902 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
32903 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
32904 (__erfcl): Likewise.
32905 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
32906 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
32908 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
32909 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
32910 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
32911 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
32912 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
32913 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32914 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32916 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
32917 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32918 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
32919 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
32920 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32922 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
32923 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
32925 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
32926 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
32927 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
32928 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
32929 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
32931 2017-08-03 Florian Weimer <fweimer@redhat.com>
32934 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
32935 on memory allocation failure.
32937 2017-08-03 Alan Modra <amodra@gmail.com>
32939 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
32940 tst-tlsopt-powerpc.c with function name change and no test harness.
32941 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
32942 Call tls_get_addr_opt_test.
32943 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
32944 (modules-names): Add mod-tlsopt-powerpc.
32945 (mod-tlsopt-powerpc.so-no-z-defs): Define.
32946 (tst-tlsopt-powerpc): Depend on .so.
32947 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
32948 define. Expand use in TLS_GD and TLS_LD.
32950 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32952 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
32954 * sysdeps/posix/shm_open.c: Include <pthread.h>.
32956 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32959 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
32960 comparing size with that of double.
32961 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32962 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32963 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32964 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32965 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32966 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
32967 unsigned __int128 types.
32969 2017-08-02 Steve Ellcey <sellcey@cavium.com>
32971 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
32972 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
32973 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
32974 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
32975 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
32977 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32979 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
32981 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32983 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
32985 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
32986 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32987 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32988 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32989 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32990 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32991 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32993 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32996 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
32997 bit-field expressions passed to sizeof or typeof.
32998 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32999 (__TGMATH_F128): Likewise.
33000 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33001 (__TGMATH_CF128): Likewise.
33002 (__TGMATH_UNARY_REAL_ONLY): Likewise.
33003 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
33004 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
33005 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
33006 (__TGMATH_BINARY_REAL_ONLY): Likewise.
33007 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33008 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33009 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33010 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33011 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
33012 (__TGMATH_UNARY_REAL_IMAG): Likewise.
33013 (__TGMATH_UNARY_IMAG): Likewise.
33014 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
33015 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33016 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
33018 (define_vars_for_type): Handle bit_field type specially.
33019 (Tests.__init__): Declare structure with bit-field element.
33021 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33024 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
33025 (MEMCPY_CHK): Define only if SHARED is defined.
33026 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
33028 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
33031 See ChangeLog.18 for earlier changes.