1 2019-03-07 Martin Liska <mliska@suse.cz>
3 * math/Makefile: Change location where math-vector-fortran.h is
5 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
6 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
7 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
8 * scripts/check-installed-headers.sh: Skip Fortran header files.
9 * scripts/check-wrapper-headers.py: Likewise.
11 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13 * nptl/nptl-init.c (__have_futex_clock_realtime,
14 __have_futex_clock_realtime): Remove definition.
15 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
16 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
17 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
18 __ASSUME_FUTEX_CLOCK_REALTIME support.
19 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
20 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
21 * sysdeps/unix/sysv/linux/kernel-features.h
22 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
23 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
26 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
29 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
30 __GI___wcscpy and wcscpy.
32 2019-03-04 Florian Weimer <fweimer@redhat.com>
34 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
36 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
39 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
41 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
42 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
47 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
48 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
50 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
52 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
55 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
56 (do_test_call_varg): Likewise.
57 (do_test_call_rarg): Likewise.
58 * sysdeps/ieee754/ldbl-opt/Makefile
59 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
61 ($(objpfx)tst-nldbl-warn.c): New rule.
62 ($(objpfx)tst-nldbl-error.c): Likewise.
63 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
66 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
69 * include/bits/error-ldbl.h: New file.
70 * include/error.h: Include stdarg.h. Declare internal functions
71 __error_internal and __error_at_line_internal.
72 * misc/Makefile (headers): Add bits/error-ldbl.h.
73 * misc/bits/error-ldbl.h: New file.
74 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
75 avoid the inclusion of bits/error.h.
76 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
77 and __nldbl_error_at_line.
78 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
79 (__nldbl_error, __ndlbl_error_at_line): New functions.
80 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
81 Redirect error and error_at_line.
82 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
83 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
85 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
87 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
89 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
91 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
92 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
93 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
95 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
98 * include/bits/err-ldbl.h: New file.
99 * include/err.h: Add prototypes for the internal functions:
100 __vwarnx_internal and __vwarn_internal.
101 * misc/Makefile (headers): Add bits/err-ldbl.h.
102 * misc/bits/err-ldbl.h: New file.
103 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
104 defined, i.e.: when -mlong-double-64 is in use.
105 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
106 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
107 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
108 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
109 (VA_CALL): New macro.
110 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
111 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
113 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
114 declare prototypes for the new functions.
115 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
124 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
125 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
126 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
128 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
130 * sysdeps/ieee754/ldbl-opt/Makefile
131 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
132 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
133 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
135 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
138 * argp/Makefile (headers): Add bits/argp-ldbl.h.
139 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
140 * argp/bits/argp-ldbl.h: New file.
141 * include/argp.h: Include stdarg.h. Add prototypes for internal
142 functions: __argp_error_internal and __argp_failure_internal.
143 * include/bits/argp-ldbl.h: New file.
144 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
145 __nldbl_argp_error and __nldbl_argp_failure.
146 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
147 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
148 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
149 Redirect argp_error and argp_failure calls.
150 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
159 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
160 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
161 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
163 2019-03-01 Florian Weimer <fweimer@redhat.com>
166 * elf/tst-big-note-lib.S: Create a syntactically valid note.
167 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
168 code, to avoid creating an ABI tag note.
169 (modules-names-nobuild): Add tst-big-note-lib.
171 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
173 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
174 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
176 2019-03-01 Florian Weimer <fweimer@redhat.com>
179 * sysdeps/unix/sysv/linux/netlink_assert_response.c
180 (__netlink_assert_response): Add additional missing newlines.
182 2019-02-28 Joseph Myers <joseph@codesourcery.com>
184 * sysdeps/powerpc/powerpc32/dl-machine.c
185 (__elf_machine_fixup_plt): Use space before '('.
186 (__process_machine_rela): Likewise.
187 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
189 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
191 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
193 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
196 (check_result): Likewise.
197 (check_excepts): Likewise.
198 (check_op): Likewise.
200 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
201 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
203 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
206 (__makecontext): Likewise.
207 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
210 2019-02-28 Florian Weimer <fweimer@redhat.com>
213 elf: Add test with a local IFUNC resolver.
214 * elf/ifuncmain9.c: New file.
215 * elf/ifuncmain9pic.c: Likewise.
216 * elf/ifuncmain9picstatic.c: Likewise.
217 * elf/ifuncmain9pie.c: Likewise.
218 * elf/ifuncmain9static.c: Likewise.
219 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
220 ifuncmain9static, ifuncmain9picstatic.
221 * elf/Makefile [multi-arch && build-shared] (tests-internal):
222 Add ifuncmain9, ifuncmain9pic.
223 * elf/Makefile [multi-arch && build-shared && have-fpie]
224 (ifunc-pie-tests): Add ifuncmain9pie.
225 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
226 (CFLAGS-ifuncmain9picstatic.c): Likewise.
227 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
229 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
231 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
232 * configure: Regenerated.
233 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
235 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
237 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
238 symbol as __wcspcy instead of wcscpy.
240 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
242 * include/stdio.h (__renameat2): New hidden prototype.
243 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
244 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
245 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
246 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
248 2019-02-27 Joseph Myers <joseph@codesourcery.com>
250 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
253 * benchtests/bench-strcpy.c (do_test): Use space before '('.
254 * benchtests/bench-string.h (cmdline_process_function): Likewise.
255 * benchtests/bench-strlen.c (do_test): Likewise.
256 (test_main): Likewise.
257 * catgets/gencat.c (read_old): Likewise.
258 * elf/cache.c (load_aux_cache): Likewise.
259 * iconvdata/bug-iconv8.c (do_test): Likewise.
260 * math/test-tgmath-ret.c (do_test): Likewise.
261 * nis/nis_call.c (rec_dirsearch): Likewise.
262 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
263 * nptl/tst-audit-threads.c (do_test): Likewise.
264 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
265 * nss/nss_test1.c (init): Likewise.
266 * nss/test-netdb.c (test_hosts): Likewise.
267 * posix/execvpe.c (maybe_script_execute): Likewise.
268 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
269 * stdio-common/tst-printf.c (do_test): Likewise.
270 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
271 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
272 * stdlib/qsort.c (STACK_SIZE): Likewise.
273 * stdlib/test-canon.c (do_test): Likewise.
274 * stdlib/tst-swapcontext1.c (do_test): Likewise.
275 * string/memcmp.c (OPSIZ): Likewise.
276 * string/test-strcpy.c (do_test): Likewise.
277 (do_random_tests): Likewise.
278 * string/test-strlen.c (do_test): Likewise.
279 (test_main): Likewise.
280 * string/test-strrchr.c (do_test): Likewise.
281 (do_random_tests): Likewise.
282 * string/tester.c (test_memrchr): Likewise.
283 (test_memchr): Likewise.
284 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
285 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
286 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
287 (read_encoded_value_with_base): Likewise.
288 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
289 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
290 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
291 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
292 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
293 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
295 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
297 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
298 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
299 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
301 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
303 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
305 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
307 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
308 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
309 (FP_XSTATE_MAGIC2_SIZE): Likewise.
310 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
311 * time/test_time.c (main): Likewise.
313 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
315 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
317 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
320 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
323 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
325 * include/wchar.h (__wcscpy): New prototype.
326 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
327 (__wcscpy): Route internal symbol to generic implementation.
328 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
329 Add internal __wcscpy alias.
330 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
331 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
332 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
333 * wcsmbs/wcscpy.c (wcscpy): Add
334 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
335 use generic implementation.
336 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
338 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
341 * sysdeps/m68k/wcpcpy.c: Remove file.
342 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
344 2019-02-26 Joseph Myers <joseph@codesourcery.com>
346 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
347 than after operators.
348 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
349 * sysdeps/mach/hurd/getcwd.c
350 (__hurd_canonicalize_directory_name_internal): Likewise.
351 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
352 (pthread_mutex_consistent): Likewise.
353 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
355 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
356 (__pthread_mutex_transfer_np): Likewise.
357 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
358 (__pthread_mutex_unlock): Likewise.
359 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
360 (mtx_owned_p): Likewise.
361 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
362 (pthread_mutexattr_getrobust): Likewise.
363 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
364 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
366 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
367 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
368 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
369 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
370 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
371 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
372 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
374 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
376 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
377 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
378 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
379 (____longjmp_chk): Likewise.
380 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
382 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
383 (INTERNAL_SYSCALL): Likewise.
384 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
385 (INTERNAL_SYSCALL): Likewise.
386 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
387 (__get_clockfreq_via_cpuinfo): Likewise.
389 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
391 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
392 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
393 (WORD_COPY_BWD): Likewise.
394 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
395 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
397 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
398 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
400 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
402 2019-02-25 Joseph Myers <joseph@codesourcery.com>
404 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
405 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
406 rather than after operators.
407 * elf/cache.c (print_cache): Likewise.
408 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
409 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
410 * hurd/hurdinit.c (_hurd_setproc): Likewise.
411 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
412 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
413 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
414 (reauth_proc): Likewise.
415 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
416 (__file_name_split_at): Likewise.
417 (__directory_name_split_at): Likewise.
418 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
419 * hurd/port2fd.c (_hurd_port2fd): Likewise.
420 * iconv/gconv_dl.c (do_print): Likewise.
421 * inet/netinet/in.h (struct sockaddr_in): Likewise.
422 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
423 * locale/setlocale.c (new_composite_name): Likewise.
424 * malloc/memusagestat.c (main): Likewise.
425 * misc/fstab.c (fstab_convert): Likewise.
426 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
428 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
429 (getgrent_next_file): Likewise.
430 (internal_getgrnam_r): Likewise.
431 (internal_getgrgid_r): Likewise.
432 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
434 (internal_getgrent_r): Likewise.
435 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
436 (getpwent_next_nss): Likewise.
437 (getpwent_next_file): Likewise.
438 (internal_getpwnam_r): Likewise.
439 (internal_getpwuid_r): Likewise.
440 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
442 (getspent_next_nss): Likewise.
443 (internal_getspnam_r): Likewise.
444 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
445 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
446 * string/strchr.c (STRCHR): Likewise.
447 * string/strchrnul.c (STRCHRNUL): Likewise.
448 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
449 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
450 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
451 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
452 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
454 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
455 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
456 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
457 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
458 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
459 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
460 (open_file): Likewise.
461 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
462 (pthread_mutexattr_setprotocol): Likewise.
463 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
464 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
465 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
466 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
467 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
469 (elf_machine_rela): Likewise.
470 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
471 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
472 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
473 * sysdeps/posix/rename.c (rename): Likewise.
474 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
475 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
476 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
477 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
478 * sysdeps/unix/grantpt.c (grantpt): Likewise.
479 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
480 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
482 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
484 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
485 * time/tzfile.c (__tzfile_compute): Likewise.
487 2019-02-22 Joseph Myers <joseph@codesourcery.com>
489 * benchtests/bench-memmem.c (simple_memmem): Break lines before
490 rather than after operators.
491 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
492 * crypt/md5.c (md5_finish_ctx): Likewise.
493 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
494 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
495 * elf/cache.c (load_aux_cache): Likewise.
496 * elf/dl-load.c (open_verify): Likewise.
497 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
498 * elf/readelflib.c (process_elf_file): Likewise.
499 * elf/rtld.c (dl_main): Likewise.
500 * elf/sprof.c (generate_call_graph): Likewise.
501 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
502 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
503 * hurd/dtable.c (reauth_dtable): Likewise.
504 * hurd/getdport.c (__getdport): Likewise.
505 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
506 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
507 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
509 * hurd/hurdioctl.c (fioctl): Likewise.
510 * hurd/hurdselect.c (_hurd_select): Likewise.
511 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
512 (STOPSIGS): Likewise.
513 * hurd/hurdstartup.c (_hurd_startup): Likewise.
514 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
515 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
516 * hurd/msgportdemux.c (msgport_server): Likewise.
517 * hurd/setauth.c (_hurd_setauth): Likewise.
518 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
519 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
520 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
521 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
522 * login/tst-utmp.c (do_check): Likewise.
523 (simulate_login): Likewise.
524 * mach/lowlevellock.h (lll_lock): Likewise.
525 (lll_trylock): Likewise.
526 * math/test-fenv.c (ALL_EXC): Likewise.
527 * math/test-fenvinline.c (ALL_EXC): Likewise.
528 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
529 * nis/nis_call.c (__do_niscall3): Likewise.
530 * nis/nis_callback.c (cb_prog_1): Likewise.
531 * nis/nis_defaults.c (searchaccess): Likewise.
532 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
533 * nis/nis_ismember.c (internal_ismember): Likewise.
534 * nis/nis_local_names.c (nis_local_principal): Likewise.
535 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
536 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
538 * nis/ypclnt.c (yp_match): Likewise.
539 (yp_first): Likewise.
541 (yp_master): Likewise.
542 (yp_order): Likewise.
543 * nscd/hstcache.c (cache_addhst): Likewise.
544 * nscd/initgrcache.c (addinitgroupsX): Likewise.
545 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
546 (internal_getpwuid_r): Likewise.
547 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
548 * posix/glob.h (__GLOB_FLAGS): Likewise.
549 * posix/regcomp.c (peek_token): Likewise.
550 (peek_token_bracket): Likewise.
551 (parse_expression): Likewise.
552 * posix/regexec.c (sift_states_iter_mb): Likewise.
553 (check_node_accept_bytes): Likewise.
554 * posix/tst-spawn3.c (do_test): Likewise.
555 * posix/wordexp-test.c (testit): Likewise.
556 * posix/wordexp.c (parse_tilde): Likewise.
557 (exec_comm): Likewise.
558 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
559 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
560 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
561 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
562 * stdio-common/tst-fileno.c (do_test): Likewise.
563 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
564 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
565 * stdlib/strtod_l.c (round_and_return): Likewise.
566 (____STRTOF_INTERNAL): Likewise.
567 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
568 * string/strcspn.c (STRCSPN): Likewise.
569 * string/test-memmem.c (simple_memmem): Likewise.
570 * termios/tcsetattr.c (tcsetattr): Likewise.
571 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
572 * time/asctime.c (asctime_internal): Likewise.
573 * time/strptime_l.c (__strptime_internal): Likewise.
574 * time/sys/time.h (timercmp): Likewise.
575 * time/tzfile.c (__tzfile_compute): Likewise.
577 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
580 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
582 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
584 * argp/argp-help.c (__argp_error_internal): New function,
585 renamed from __argp_error, but that takes a 'mode_flags'
586 parameter to control the format of long double parameters.
587 (__argp_error): Converted into a call __argp_error_internal.
588 (__argp_failure_internal): New function, renamed from
589 __argp_failure, but that takes a 'mode_flags' parameter.
590 (__argp_failure): Converted into a call __argp_failure_internal.
591 * misc/err.c (__vwarnx_internal): New function, renamed from
592 vwarnx, but that takes a 'mode_flags' parameter.
593 (vwarnx): Converted into a call to __vwarnx_internal.
594 (__vwarn_internal): New function, renamed from vwarn, but that
595 takes a 'mode_flags' parameter.
596 (vwarn): Converted into a call to __vwarn_internal.
597 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
598 call to __vfxprintf with 'mode_flags'.
599 (__error_internal): New function, renamed from error, but that
600 takes a 'mode_flags' parameter.
601 (error): Converted into a call to __error_internal.
602 (__error_at_line_internal): New function, renamed from
603 error_at_line, but that takes a 'mode_flags' parameter.
604 (error_at_line): Converted into a call to
605 __error_at_line_internal.
606 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
607 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
610 2019-02-20 Martin Liska <mliska@suse.cz>
612 * math/Makefile: Install math-vector-fortran.h.
613 * bits/math-vector-fortran.h: New file.
614 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
616 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
618 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
619 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
621 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
623 * nptl/pthread_mutex_trylock.c: Fix comment.
625 2019-02-19 Carlos O'Donell <carlos@redhat.com>
627 * nptl/pthread_tryjoin.c: Fix comment.
629 2019-02-18 Joseph Myers <joseph@codesourcery.com>
632 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
633 after R_SPARC_H34 case.
635 2019-02-18 Florian Weimer <fweimer@redhat.com>
637 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
638 (getanswer): Do not call Dprintf.
639 (res_gethostbyname2_context): Likewise.
640 (res_gethostbyaddr_context): Likewise.
642 2019-02-18 Florian Weimer <fweimer@redhat.com>
644 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
646 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
648 * libio/stdfiles.c: Update comment.
649 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
650 set _IO_stdin, _IO_stdout, _IO_stderr.
651 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
652 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
654 (_IO_deallocate_file): New inline function.
655 * libio/iolibio.h (_IO_vprintf): Remove definition.
656 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
657 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
658 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
660 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
661 __builtin_expect. Use _IO_legacy_file.
663 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
665 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
666 Initialize ctid with a known value and remove update of ctid
668 (wait_tid): Adjust arguments and call futex_wait with ctid_val
669 as assumed current value of ctid_ptr.
671 2019-02-15 Florian Weimer <fweimer@redhat.com>
673 Check that non-sysdeps headers have wrapper headers.
674 * scripts/check-wrapper-headers.py: New file.
675 * Makefile (tests-special): Add check-wrapper-headers.out.
676 (check-wrapper-headers.out): New target.
677 * Rules (tests-special): Add check-wrapper-headers.out.
678 (check-wrapper-headers.out): New target.
680 2019-02-15 Florian Weimer <fweimer@redhat.com>
682 Add missing header wrappers under include/.
683 * include/ar.h: New file.
684 * include/bits/mqueue2.h: Likewise.
685 * include/bits/stdio.h: Likewise.
686 * include/bits/stdio2.h: Likewise.
687 * include/fstab.h: Likewise.
688 * include/fts.h: Likewise.
689 * include/lastlog.h: Likewise.
690 * include/netinet/icmp6.h: Likewise.
691 * include/netinet/igmp.h: Likewise.
692 * include/netinet/ip6.h: Likewise.
693 * include/re_comp.h: Likewise.
694 * include/regexp.h: Likewise.
695 * include/rpcsvc/bootparam.h: Likewise.
696 * include/rpcsvc/yp_prot.h: Likewise.
697 * include/sys/random.h: Likewise.
698 * include/sys/stropts.h: Likewise.
699 * include/sys/ttychars.h: Likewise.
700 * include/sys/vfs.h: Likewise.
701 * include/wait.h: Likewise.
703 2019-02-15 Florian Weimer <fweimer@redhat.com>
705 * nptl_db/proc_service.h: Move to ...
706 * sysdeps/nptl/proc_service.h: ... here.
707 * nptl_db/thread_db.h: Move to ...
708 * sysdeps/nptl/thread_db.h: ... here.
709 * nptl/descr.h: Include <thread_db.h>.
711 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
713 * io/Makefile (tests): Add tst-lockf.
714 * io/lockf.c (lockf): Use __fcntl and only define for
715 !__OFF_T_MATCHES_OFF64_T.
716 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
717 __OFF_T_MATCHES_OFF64_T case.
718 * io/tst-lockf.c: New file.
719 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
720 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
721 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
722 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
723 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
725 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
726 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
727 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
729 2019-02-15 Florian Weimer <fweimer@redhat.com>
732 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
733 pd->result after the thread descriptor has been freed.
735 2019-02-15 Joseph Myers <joseph@codesourcery.com>
737 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
738 from function return type.
740 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
742 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
744 * scripts/test_printers_common.py: Set TERM to a known harmless
747 2019-02-14 Joseph Myers <joseph@codesourcery.com>
749 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
750 (xdr_u_int): Likewise.
751 (xdr_enum): Likewise.
752 (xdr_bytes): Reword fall-through comment.
753 (xdr_string): Likewise.
755 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
758 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
759 (tests): Add tst-join8 tst-join9.
760 * nptl/lll_timedwait_tid.c: Remove file.
761 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
762 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
763 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
764 * nptl/pthread_join_common.c (timedwait_tid): New function.
765 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
767 * nptl/tst-join5.c (thread_join): New function.
768 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
770 * nptl/tst-join8.c: New file.
771 * nptl/tst-join9.c: Likewise.
772 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
773 lll_futex_timed_wait_cancel): Add generic macros.
774 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
776 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
777 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
778 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
779 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
781 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
783 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
784 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
785 (lll_futex_timed_wait_cancel): New macro.
787 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
789 * benchtests/Makefile: Add malloc-simple benchmark.
790 * benchtests/bench-malloc-simple.c: New benchmark.
792 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
794 * benchtests/bench-memmove.c (do_one_test): Remove unused
797 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
801 2019-01-13 Jim Wilson <jimw@sifive.com>
804 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
805 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
807 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
809 * nptl/Makefile (tests): Add tst-unwind-thread.
810 (CFLAGS-tst-unwind-thread.c): Define.
811 * nptl/tst-unwind-thread.c: New file.
812 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
815 2019-02-13 Joseph Myers <joseph@codesourcery.com>
817 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
819 * nis/nis_call.c (__do_niscall3): Likewise.
821 * catgets/gencat.c (normalize_line): Use braces around empty
823 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
824 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
825 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
826 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
827 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
828 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
829 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
832 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
835 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
837 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
838 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
839 * benchtests/bench-strchr.c (stupid_strchr): Remove.
840 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
841 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
842 * benchtests/bench-strlen.c (builtin_strlen): Remove.
843 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
844 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
845 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
846 * benchtests/bench-strspn.c (stupid_strspn): Remove.
847 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
848 * benchtests/bench-bcopy.c: Delete file.
849 * benchtests/bench-bzero.c: Likewise.
850 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
851 (simple_memccpy): Remove.
852 (generic_memccpy): Add function.
853 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
854 * benchtests/bench-memmove.c (simple_bcopy): Remove.
855 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
856 (generic_mempcpy): Add new function.
857 * benchtests/bench-memset.c (simple_bzero): Remove.
858 (builtin_bzero): Remove.
859 (builtin_memset): Remove.
860 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
861 (generic_rawmemchr): Add new function.
863 2019-02-12 Florian Weimer <fweimer@redhat.com>
865 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
867 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
870 * elf/Makefile (tests): Add tst-audit13.
871 (modules-names): Add tst-audit13mod1.
872 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
874 * elf/tst-audit13.c: New file.
875 * elf/tst-audit13mod1.c: Likewise.
877 2019-02-12 Florian Weimer <fweimer@redhat.com>
880 * elf/rtld.c (unload_audit_module): New function.
881 (report_audit_module_load_error): Likewise.
882 (load_audit_module): Likewise. Extracted from dl_main. Call
883 _dl_close if the laversion symbol cannot be found. Use early
884 returns for error handling. Add malloc error check. Check for a
885 zero return value from la_version. Remove spurious comment about
886 static TLS initialization. Remove useless casts.
887 (notify_audit_modules_of_loaded_object): New function. Extracted
889 (load_audit_module): Likewise.
890 (dl_main): Call load_audit_modules.
892 2019-02-12 Joseph Myers <joseph@codesourcery.com>
894 * elf/dl-exception.c (_dl_exception_create_format): Add
895 fall-through comments.
896 * elf/ldconfig.c (parse_conf_include): Likewise.
897 * elf/rtld.c (print_statistics): Likewise.
898 * locale/programs/charmap.c (parse_charmap): Likewise.
899 * misc/mntent_r.c (__getmntent_r): Likewise.
900 * posix/wordexp.c (parse_arith): Likewise.
901 (parse_backtick): Likewise.
902 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
903 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
904 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
906 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
908 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
909 Use float instead of double.
911 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
913 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
915 2019-02-08 Joseph Myers <joseph@codesourcery.com>
917 * sysdeps/powerpc/bits/mathinline.h: Remove.
919 2019-02-08 Florian Weimer <fweimer@redhat.com>
921 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
922 * math/bits/math-finite.h: Move to ...
923 * bits/math-finite.h: ... here.
925 2019-02-08 Florian Weimer <fweimer@redhat.com>
927 * sysdeps/generic/bits/unistd_ext.h: Move to ...
928 * bits/unistd_ext.h: here.
930 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
933 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
934 * nss/tst-nss-files-hosts-long.c: New file.
935 * nss/tst-nss-files-hosts-long.root: New directory.
936 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
937 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
939 2019-02-08 Florian Weimer <fweimer@redhat.com>
941 * include/bits/unistd_ext.h: Remove file.
942 * posix/bits/unistd_ext.h: Move to ...
943 * sysdeps/generic/bits/unistd_ext.h: ... here.
945 2019-02-08 Florian Weimer <fweimer@redhat.com>
947 * include/bits/unistd_ext.h: New file.
949 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
951 * time/tst-strftime2.c: Use array_length macros instead of magic
954 2019-02-08 Florian Weimer <fweimer@redhat.com>
957 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
959 * nptl/register-atfork.c (__run_fork_handlers): Only perform
960 locking if the new do_locking argument is true.
961 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
964 2019-02-08 Florian Weimer <fweimer@redhat.com>
967 Linux: Add gettid system call wrapper.
968 * posix/Makefile (headers): Add bits/unistd_ext.h.
969 * posix/bits/unistd_ext.h: New file.
970 * posix/unistd.h: Include it.
971 * manual/process.texi (Process Identification): Document gettid.
972 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
973 tst-gettid, tst-gettid-kill.
974 (tst-gettid): Link with $(shared-thread-library).
975 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
976 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
977 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
978 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
979 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
980 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
982 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
984 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
985 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
987 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
989 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
991 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
993 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
995 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
997 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
999 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1000 (GLIBC_2.30): Likewise.
1001 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1002 (GLIBC_2.30): Likewise.
1003 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1004 (GLIBC_2.30): Likewise.
1005 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1006 (GLIBC_2.30): Likewise.
1007 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1010 (GLIBC_2.30): Likewise.
1011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1012 (GLIBC_2.30): Likewise.
1013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1014 (GLIBC_2.30): Likewise.
1015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1016 (GLIBC_2.30): Likewise.
1017 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1019 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1021 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1023 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1024 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1026 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1028 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1030 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1032 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
1034 2019-02-07 Florian Weimer <fweimer@redhat.com>
1036 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
1037 compatibility symbols.
1039 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
1042 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1043 Add compiler barriers and comments.
1045 2019-02-07 Florian Weimer <fweimer@redhat.com>
1047 * include/array_length.h (array_length): Do not use a statement
1048 expression and _Static_assert, so that array_length can be used at
1049 file scope and as a constant expression.
1051 2019-02-07 Florian Weimer <fweimer@redhat.com>
1053 * support/xdlfcn.h (xdlmopen): Declare.
1054 * support/xdlmopen.c: New file.
1055 * support/Makefile (libsupport-routines): Add xdlmopen.
1057 2019-02-06 Joseph Myers <joseph@codesourcery.com>
1059 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
1060 before return type, without separate inline.
1061 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
1062 * elf/dl-tunables.h (tunable_is_name): Likewise.
1063 * malloc/malloc.c (do_set_trim_threshold): Likewise.
1064 (do_set_top_pad): Likewise.
1065 (do_set_mmap_threshold): Likewise.
1066 (do_set_mmaps_max): Likewise.
1067 (do_set_mallopt_check): Likewise.
1068 (do_set_perturb_byte): Likewise.
1069 (do_set_arena_test): Likewise.
1070 (do_set_arena_max): Likewise.
1071 (do_set_tcache_max): Likewise.
1072 (do_set_tcache_count): Likewise.
1073 (do_set_tcache_unsorted_limit): Likewise.
1074 * nis/nis_subr.c (count_dots): Likewise.
1075 * nptl/allocatestack.c (advise_stack_range): Likewise.
1076 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
1078 (reduce_sincos): Likewise.
1079 (do_sincos): Likewise.
1080 * sysdeps/unix/sysv/linux/x86/elision-conf.c
1081 (do_set_elision_enable): Likewise.
1082 (TUNABLE_CALLBACK_FNDECL): Likewise.
1084 2019-02-06 Florian Weimer <fweimer@redhat.com>
1086 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
1087 (xdlsym): Use dlerror to detect a NULL symbol.
1089 2019-02-06 Florian Weimer <fweimer@redhat.com>
1091 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
1093 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1095 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1097 * libio/tst-bz24153.c (wide): Use wide char format specifier.
1099 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1101 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
1102 __wmemcmp and weak alias to wmemcmp.
1104 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1107 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
1108 TLS_TCB_AT_TP tls variant.
1109 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
1110 Add alignment checks.
1111 * support/Makefile (libsupport-routines): Add xposix_memalign and
1113 * support/support.h: Add xposix_memalign.
1114 * support/xthread.h: Add xpthread_attr_setstack.
1115 * support/xposix_memalign.c: New File.
1116 * support/xpthread_attr_setstack.c: Likewise.
1118 2019-02-05 Florian Weimer <fweimer@redhat.com>
1121 arm: Use "nr" constraint for Systemtap probes, to avoid the
1122 compiler using memory operands for constants, due to the "o"
1123 alternative in the default "nor" constraint.
1124 * include/stap-probe.h [USE_STAP_PROBE]: Include
1125 <stap-probe-machine.h>
1126 * sysdeps/generic/stap-probe-machine.h: New file.
1127 * sysdeps/arm/stap-probe-machine.h: Likewise.
1129 2019-02-04 Joseph Myers <joseph@codesourcery.com>
1131 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
1132 with 0, not tcache->entries[tc_idx].
1134 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
1137 2019-02-04 Andreas Schwab <schwab@suse.de>
1141 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
1142 looking up collating elements match against (wide) character
1143 sequence instead of name. Correct alignment adjustment.
1144 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
1145 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
1146 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
1147 (LOCALES): Add cs_CZ.ISO-8859-2.
1148 * posix/tst-fnmatch4.c: New file.
1149 * posix/tst-fnmatch5.c: New file.
1150 * include/wchar.h (__wmemcmp): Declare.
1151 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
1152 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
1153 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1154 * sysdeps/s390/wmemcmp.c: Likewise.
1156 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
1160 * NEWS: Updated for CVE-2019-7309.
1161 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
1162 upper 32 bits of RDX register for x32. Use unsigned Jcc
1163 instructions, instead of signed.
1164 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
1165 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
1167 2019-02-04 Florian Weimer <fweimer@redhat.com>
1169 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
1170 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
1171 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
1173 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
1174 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
1175 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
1176 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
1178 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
1180 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
1182 (posix_spawn_file_actions_addopen): Likewise.
1183 (posix_spawn_file_actions_addclose): Likewise.
1184 (posix_spawn_file_actions_adddup2): Likewise.
1185 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
1187 (posix_spawn_file_actions_addfchdir_np): Likewise.
1189 2019-02-04 David Newall <glibc@davidnewall.com>
1191 elf: Implement --preload option for the dynamic linker.
1192 * elf/rtld.c (preloadarg): New variable.
1193 (handle_preload_list): Pass through “where” argument to
1195 (dl_main): Handle "--preload" and add second call to
1196 handle_preload_list.
1197 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
1198 (tst-rtld-preload-OBJS): Set variable.
1199 (tst-rtld-preload.out): New target.
1200 * elf/tst-rtld-preload.sh: New file.
1202 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
1204 * Makefile (testrun.sh): Exit in case of incorrect argument.
1206 2019-02-04 Florian Weimer <fweimer@redhat.com>
1208 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
1211 2019-02-03 Florian Weimer <fweimer@redhat.com>
1213 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
1214 implicit overflow checks.
1216 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
1218 * stdlib/isomac.c: Include <unistd.h>.
1220 2019-02-03 Florian Weimer <fweimer@redhat.com>
1222 * include/time.h (__tzfile_default): Use int, not long int, for
1224 * time/tzfile.c (struct ttinfo): Change type of the offset member
1226 (__tzfile_read): Remove useless cast.
1227 (__tzfile_default): Adjust prototype.
1228 * time/tzset.c (tz_rule): Change type of the offset member to int.
1229 (parse_offset): Change the type of the sign variable to int.
1231 2019-02-03 Florian Weimer <fweimer@redhat.com>
1234 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
1235 * libio/getchar.c (getchar): Likewise.
1236 * libio/getchar_u.c (getchar_unlocked): Likewise.
1237 * libio/getwchar.c (getwchar): Likewise.
1238 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1239 * libio/iogets.c (_IO_gets): Likewise.
1240 * libio/vscanf.c (_IO_vscanf): Likewise.
1241 * libio/vwscanf.c (__vwscanf): Likewise.
1242 * libio/tst-bz24153.c: New file.
1243 * libio/Makefile (tests): Add it.
1245 2019-02-02 Florian Weimer <fweimer@redhat.com>
1248 * manual/resource.texi (Basic Scheduling Functions): Add
1249 portability note. Change process to task throughout the section.
1250 Remove incorrect comment about sched_yield as it affects
1251 tasks/threads, not entire processes.
1252 * sysdeps/unix/sysv/linux/bits/posix_opt.h
1253 (_POSIX_PRIORITY_SCHEDULING): Update comment.
1255 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1257 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
1258 * configure: Regenerated.
1259 * manual/install.texi (Tools for Compilation): Update minimum GCC
1261 * INSTALL: Regenerated.
1263 2019-02-01 Florian Weimer <fweimer@redhat.com>
1265 * support/support_test_compare_string.c
1266 (support_test_compare_string): Use "string" in error message.
1267 * support/tst-test_compare_string.c (do_test): Adjust.
1269 2019-02-01 Florian Weimer <fweimer@redhat.com>
1271 * support/support_format_address_family.c
1272 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
1274 2019-02-01 Florian Weimer <fweimer@redhat.com>
1276 * manual/socket.texi (Internet Address Formats): Clarify the byte
1277 order of struct sockaddr_in, struct sockaddr_in6. Document
1278 sin6_flowinfo and sin6_scope_id.
1280 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
1282 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
1283 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
1284 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
1285 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
1286 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
1287 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
1289 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1291 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
1292 [!MEMCHR](MEMCHR): Set to __memchr.
1293 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1294 Add memchr_generic and memchr_nosimd.
1295 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1296 (__libc_ifunc_impl_list): Add memchr ifuncs.
1297 * sysdeps/aarch64/multiarch/memchr.c: New file.
1298 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
1299 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
1301 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1303 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1305 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1306 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
1307 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
1308 Add IS_EMAG check for ifunc dispatch.
1309 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
1310 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
1312 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1314 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
1315 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1317 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
1320 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
1322 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
1324 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
1326 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
1327 syscall-template file.
1329 2019-01-31 Carlos O'Donell <carlos@redhat.com>
1330 Torvald Riegel <triegel@redhat.com>
1331 Rik Prohaska <prohaska7@gmail.com>
1334 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
1335 tst-rwlock-trywrlock-stall.
1336 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1337 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
1338 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
1339 Set __wrphase_fute to 1 only if we started the write phase.
1340 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
1341 * nptl/tst-rwlock-trywrlock-stall.c: New file.
1342 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
1343 * support/xpthread_rwlock_destroy.c: New file.
1344 * support/xthread.h: Declare xpthread_rwlock_destroy.
1346 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1348 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1351 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1354 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
1355 * libio/fileops.c (_IO_new_file_underflow): Likewise
1356 * libio/wfileops.c (_IO_wfile_underflow): Likewise
1357 * libio/putchar.c (putchar): Likewise.
1358 * libio/putchar_u.c (putchar_unlocked): Likewise.
1359 * libio/putwchar.c (putchar): Likewise.
1360 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1361 * libio/tst-bz24051.c: New test.
1362 * libio/Makefile (tests): Add tst-bz24051
1364 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
1366 regex: fix read overrun [BZ #24114]
1367 Problem found by AddressSanitizer, reported by Hongxu Chen in:
1368 https://debbugs.gnu.org/34140
1369 * posix/regexec.c (proceed_next_node):
1370 Do not read past end of input buffer.
1372 2019-01-31 Florian Weimer <fweimer@redhat.com>
1375 * nss/nss_files/files-alias.c (get_next_alias): Handle
1376 continuation line without newline at the end.
1377 * nss/tst-nss-files-alias-truncated.c: New file.
1378 * nss/Makefile [$(build-shared)] (tests): Add
1379 tst-nss-files-alias-truncated.
1380 (tst-nss-files-alias-truncated): Link with libnss_files.so.
1381 * support/namespace.h (struct support_chroot_configuration): Add
1383 (struct support_chroot): Add path_aliases member.
1384 * support/support_chroot.c (support_chroot_create): Handle
1386 (support_chroot_free): Free path_aliases.
1388 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1390 * version.h (RELEASE): Set to "development".
1391 (VERSION): Set to "2.29.9000".
1392 * NEWS: Add section for 2.30.
1394 * version.h (RELEASE): Set to "stable".
1395 (VERSION): Set to "2.29".
1396 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
1398 * NEWS: Add the list of bugs fixed in 2.29.
1399 * manual/contrib.texi: Update contributors list with some more
1401 * manual/install.texi: Update latest versions of packages
1403 * INSTALL: Regenerated.
1405 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
1407 * po/be.po: Update translations.
1408 * po/bg.po: Likewise.
1409 * po/ca.po: Likewise.
1410 * po/cs.po: Likewise.
1411 * po/da.po: Likewise.
1412 * po/de.po: Likewise.
1413 * po/el.po: Likewise.
1414 * po/eo.po: Likewise.
1415 * po/es.po: Likewise.
1416 * po/fi.po: Likewise.
1417 * po/fr.po: Likewise.
1418 * po/gl.po: Likewise.
1419 * po/hr.po: Likewise.
1420 * po/hu.po: Likewise.
1421 * po/ia.po: Likewise.
1422 * po/id.po: Likewise.
1423 * po/it.po: Likewise.
1424 * po/ja.po: Likewise.
1425 * po/ko.po: Likewise.
1426 * po/lt.po: Likewise.
1427 * po/nb.po: Likewise.
1428 * po/nl.po: Likewise.
1429 * po/pl.po: Likewise.
1430 * po/pt_BR.po: Likewise.
1431 * po/ru.po: Likewise.
1432 * po/rw.po: Likewise.
1433 * po/sk.po: Likewise.
1434 * po/sl.po: Likewise.
1435 * po/sv.po: Likewise.
1436 * po/tr.po: Likewise.
1437 * po/uk.po: Likewise.
1438 * po/vi.po: Likewise.
1439 * po/zh_CN.po: Likewise.
1440 * po/zh_TW.po: Likewise.
1442 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
1445 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
1446 of $f3 register on $y_is_neg path.
1448 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
1451 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
1452 sigaltstack.ss_flags.
1454 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
1457 * manual/time.texi (strftime): Document "%Ey".
1458 * time/strftime_l.c (__strftime_internal): Set the default width
1459 padding with zero of "%Ey" to 2.
1462 * manual/time.texi (strftime): Document "%EC" and "%EY".
1463 * time/Makefile (tests): Add tst-strftime2.
1464 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
1465 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
1466 override padding for "%Ey".
1467 If an optional flag ('_' or '-') is specified to "%EY", interpret the
1468 "%Ey" in the subformat as if decorated with that flag.
1469 * time/tst-strftime2.c: New file.
1471 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1473 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
1477 * elf/Makefile (tests): Add tst-audit13.
1478 (modules-names): Add tst-audit13mod1.
1479 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1481 * elf/rtld.c (dl_main): Handle invalid audit module version.
1482 * elf/tst-audit13.c: New file.
1483 * elf/tst-audit13mod1.c: Likewise.
1485 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1487 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
1488 returned by __hurd_at_flags.
1489 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
1490 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
1491 directly instead of __hurd_file_name_lookup.
1493 2019-01-21 Joseph Myers <joseph@codesourcery.com>
1495 * scripts/build-many-glibcs.py (Context.checkout): Default
1496 binutils version to 2.32 branch.
1498 2019-01-21 Florian Weimer <fweimer@redhat.com>
1502 resolv: Reject trailing characters in host names
1503 * include/arpa/inet.h (__inet_aton_exact): Declare.
1504 (inet_aton): Remove hidden prototype. No longer used internally.
1505 * nscd/gai.c (__inet_aton): Do not define.
1506 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
1507 * nss/digits_dots.c (__inet_aton): Likewise.
1508 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
1509 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
1510 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
1511 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
1512 (tst-resolv-trailing): Likewise.
1513 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
1515 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
1516 Make static. Add endp parameter.
1517 (__inet_aton_exact): New function.
1518 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
1519 (__inet_addr): Call inet_aton_end.
1520 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
1521 not just IPv6. Call __inet_aton_exact.
1522 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
1523 (tests): Make const. Add additional test cases with trailing
1525 (do_test): Use array_length.
1526 * resolv/tst-inet_aton_exact.c: New file.
1527 * resolv/tst-resolv-trailing.c: Likewise.
1528 * resolv/tst-resolv-nondecimal.c: Likewise.
1529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
1531 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1535 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
1536 Clear the upper 32 bits of RSI register.
1537 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
1538 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
1539 and tst-size_t-wcsnlen.
1540 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
1541 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
1543 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1547 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
1548 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1549 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1550 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
1551 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
1553 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1557 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
1558 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1559 * sysdeps/x86_64/strcmp.S: Likewise.
1560 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
1561 tst-size_t-strncmp and tst-size_t-wcsncmp.
1562 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
1563 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
1564 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
1566 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1570 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
1571 RDX_LP for length. Clear the upper 32 bits of RDX register.
1572 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
1573 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
1574 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
1575 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
1577 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1581 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
1582 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
1583 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
1584 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
1586 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1590 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
1591 length. Clear the upper 32 bits of RDX register.
1592 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1593 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1595 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1597 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
1599 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
1601 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1605 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
1606 length. Clear the upper 32 bits of RDX register.
1607 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1608 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1609 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
1611 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
1612 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
1614 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1618 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
1619 upper 32 bits of RDX register.
1620 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1621 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
1623 * sysdeps/x86_64/x32/test-size_t.h: New file.
1624 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
1625 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
1627 2019-01-18 Florian Weimer <fweimer@redhat.com>
1630 resolv: Do not send queries for non-host-names in nss_dns.
1631 * resolv/nss_dns/dns-host.c (check_name): New function.
1632 (_nss_dns_gethostbyname2_r): Use it.
1633 (_nss_dns_gethostbyname_r): Likewise.
1634 (_nss_dns_gethostbyname4_r): Likewise.
1636 2019-01-21 Florian Weimer <fweimer@redhat.com>
1638 * resolv/inet_addr.c: Reformat to GNU style.
1639 (__inet_addr, __inet_aton): Update comment.
1641 2019-01-18 Florian Weimer <fweimer@redhat.com>
1643 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
1644 ("malloc: Use current (C11-style) atomics for fastbin access").
1645 This commit introduces a substantial performance regression on
1647 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
1648 (REMOVE_FB): Define.
1649 (_int_malloc): Use it and reindent.
1650 (_int_free): Use CAS loop with
1651 catomic_compare_and_exchange_val_rel.
1652 (malloc_consolidate): Use atomic_exchange_acq.
1655 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
1657 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
1659 (LDFLAGS-tst-minsigstksz-2): Likewise.
1660 (LDFLAGS-tst-minsigstksz-3): Likewise.
1661 (LDFLAGS-tst-minsigstksz-3a): Likewise.
1662 (LDFLAGS-tst-minsigstksz-4): Likewise.
1664 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
1666 * manual/time.texi (strftime): Fix the wording to "alternative" rather
1669 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
1671 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
1673 2019-01-16 Zack Weinberg <zackw@panix.com>
1675 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
1676 (xget_sigstack_location): New test support functions.
1677 * support/xsigstack.c: New file, implementing them.
1678 * support/tst-xsigstack.c: New test for them.
1679 * support/Makefile: Update.
1681 * signal/tst-minsigstksz-1.c
1682 * signal/tst-minsigstksz-2.c
1683 * signal/tst-minsigstksz-3.c
1684 * signal/tst-minsigstksz-3a.c
1685 * signal/tst-minsigstksz-4.c: New tests.
1686 * signal/Makefile: Run them.
1688 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
1690 * po/libc.pot: Regenerate.
1692 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1694 * math/libm-test-fma.inc (fma_test_data): Set
1695 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
1697 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1699 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
1700 (do_test): Changed __vector __int128_t to __vector unsigned int.
1702 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1704 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1705 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
1706 stpcpy-avx2 and stpncpy-avx2.
1707 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
1708 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
1709 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
1711 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
1712 ifunc-strcpy.h}: rename header for a more generic name.
1713 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
1714 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
1715 AVX unaligned load is fast and vzeroupper is preferred.
1716 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
1717 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
1718 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
1719 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
1720 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
1721 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
1723 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
1725 * argp/argp-help.c: Fix typo in comment.
1726 * misc/sys/cdefs.h: Likewise.
1727 * posix/regexec.c (sift_states_iter_mb): Likewise.
1728 * socket/sockatmark.c: Likewise.
1729 * socket/sys/socket.h: Likewise.
1730 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1731 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1732 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1733 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1734 * sysdeps/unix/sockatmark.c: Likewise.
1735 * time/strptime_l.c: Likewise.
1737 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1739 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
1740 missing space after the cast of "_NL_CURRENT".
1742 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1744 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
1745 ifdef to fix read of VSCR.
1746 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
1747 tst-ucontext-ppc64-vscr.c to test list.
1748 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
1750 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
1752 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
1755 2019-01-09 Jim Wilson <jimw@sifive.com>
1757 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
1759 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
1761 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
1762 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
1763 __memcpy_falkor for ares.
1764 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
1766 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1769 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
1772 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1773 4_FP_W_TYPEs are used for IEEE quad precision.
1774 * soft-fp/extendhftf2.c: Likewise.
1775 * soft-fp/extendsftf2.c: Likewise.
1776 * soft-fp/extendxftf2.c: Likewise.
1777 * soft-fp/trunctfdf2.c: Likewise.
1778 * soft-fp/trunctfhf2.c: Likewise.
1779 * soft-fp/trunctfsf2.c: Likewise.
1780 * soft-fp/trunctfxf2.c: Likewise.
1781 * sysdeps/alpha/ots_cvttx.c: Likewise.
1782 * sysdeps/alpha/ots_cvtxt.c: Likewise.
1783 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
1784 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
1785 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
1786 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
1787 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
1788 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
1789 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
1790 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
1791 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
1792 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
1793 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
1794 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
1795 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
1796 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
1797 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
1798 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
1800 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1803 * Makeconfig: Build libm with -fno-math-errno but build the remaining
1804 code with -fmath-errno.
1805 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
1806 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
1807 * string/test-strerror-errno.c: New file.
1809 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1812 * localedata/locales/en_US (date_fmt): Add, set to
1813 "%a %d %b %Y %r %Z".
1815 2019-01-07 Florian Weimer <fweimer@redhat.com>
1818 * manual/arith.texi (Math Error Reporting): Use @code{errno}
1819 instead of @var{errno}.
1820 (Parsing of Integers): Likewise.
1821 (Parsing of Floats): Likewise.
1822 * manual/filesys.texi (Working with Directory Trees): Likewise.
1823 (Temporary Files): Likewise.
1824 * manual/job.texi (Terminal Access Functions): Likewise.
1825 * manual/llio.texi (Synchronizing I/O): Likewise.
1826 * manual/math.texi (SVID Random): Likewise.
1827 * manual/message.texi (The catgets Functions): Likewise.
1828 (Translation with gettext): Likewise.
1829 (Locating gettext catalog): Likewise.
1830 (Charset conversion in gettext): Likewise.
1831 * manual/nss.texi (NSS Module Function Internals): Likewise.
1832 * manual/search.texi (Hash Search Function): Likewise.
1833 * manual/setjmp.texi (System V contexts): Likewise.
1834 * manual/time.texi (Sleeping): Likewise.
1835 * manual/users.texi (Lookup User): Likewise.
1836 (Lookup Group): Likewise.
1838 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1840 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
1843 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
1846 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
1847 __builtin_unreachable for default case in switch.
1848 (__ieee754_yn): Likewise.
1849 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1850 (__ieee754_ynl): Likewise.
1851 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1852 (__ieee754_ynl): Likewise.
1853 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1854 (__ieee754_ynl): Likewise.
1856 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1858 * manual/maint.texi: Use @{ and @}.
1860 2019-01-04 Florian Weimer <fweimer@redhat.com>
1862 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
1864 (do_in_chroot_1): Call it.
1866 Improve error reporting in case it is not possible to create a
1867 collision for the PTY name required by the test.
1869 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1871 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
1872 lll_wait_tid with timeout.
1873 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
1874 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
1875 futex_reltimed_wait_cancelable for cancelabla mode.
1876 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
1877 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
1879 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
1880 * sysdeps/posix/waitid.c (__sigwait): Likewise.
1881 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
1882 SYSCALL_CANCEL_NCS): New macro.
1883 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
1884 (lll_timedwait_tid): Remove macro.
1885 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
1887 (lll_timedwait_tid): Likewise.
1888 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
1890 (lll_timedwait_tid): Likewise.
1891 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
1893 (lll_timedwait_tid): Likewise.
1894 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
1895 Use INTERNAL_SYSCALL_CANCEL.
1896 * sysdeps/unix/sysv/linux/futex-internal.h
1897 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
1898 instead of __pthread_{enable,disable}_asynccancel.
1899 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1900 (lll_futex_wait_cancel): New macro.
1902 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1903 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1905 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1906 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1908 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
1909 in backtrace analysis.
1910 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
1912 (tf_send): Likewise.
1914 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
1915 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
1916 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
1917 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
1918 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1919 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1920 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
1921 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
1922 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
1923 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
1924 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
1925 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
1927 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
1928 tst-cancel-wrappers.sh.
1929 (generated): Remove tst-cancel-wrappers.out.
1930 (tst-cancel-wrappers.out): Remove rule.
1931 * nptl/tst-cancel-wrappers.sh: Remove file.
1933 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1935 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
1936 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1939 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1942 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
1943 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
1944 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
1945 close-on-exec reset for adddup2 file action.
1946 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1948 2019-01-03 Zack Weinberg <zackw@panix.com>
1950 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
1951 parameter. Only use deprecated scanf when __USE_GNU is defined
1952 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
1953 than 201103L, whichever is relevant for the language being compiled.
1955 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
1956 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
1957 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
1958 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
1959 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
1963 * libio/iovswscanf.c
1968 * stdio-common/fscanf.c
1969 * stdio-common/scanf.c
1970 * stdio-common/vfscanf.c
1971 * stdio-common/vfwscanf.c
1972 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1973 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
1974 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
1975 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
1976 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
1977 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
1978 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
1979 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
1980 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
1981 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
1982 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
1983 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
1984 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
1985 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
1986 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
1988 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
1989 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
1990 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
1992 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
1993 with a preprocessor macro.
1995 * stdio-common/bug21.c, stdio-common/scanf14.c:
1996 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
1997 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1998 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
1999 to xscanf, xfscanf, xsscanf.
2001 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
2002 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2003 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
2004 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
2006 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
2007 override feature selection macros or provide definitions of u_char etc.
2008 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
2009 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
2010 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
2013 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2015 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2016 bits/termios-misc.h.
2017 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
2018 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2019 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2020 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2021 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
2022 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
2024 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
2025 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2026 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
2027 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
2028 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
2029 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
2031 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
2032 (sysdep_headers): Add termios-misc.h.
2034 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
2035 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2036 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2038 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2040 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
2041 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
2042 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
2043 TCSAFLUSH): Move to termios-tcflow.h.
2044 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2045 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2046 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2047 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2049 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2051 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
2052 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
2053 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
2054 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
2055 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
2056 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
2057 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
2058 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
2060 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2061 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2062 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2063 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2065 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2067 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
2068 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
2069 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
2070 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
2071 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
2073 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2074 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2075 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2076 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2079 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2081 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
2082 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
2083 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
2084 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
2085 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
2086 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
2087 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
2088 __MAX_BAUD): Move to termios-baud.h.
2089 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
2090 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
2091 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2092 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2093 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2095 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2097 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
2098 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
2099 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
2100 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
2101 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
2102 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
2104 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
2105 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
2107 [USE_MISC] (XTABS): Likewise.
2108 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2109 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2110 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2111 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
2113 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2115 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
2116 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
2117 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
2118 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
2119 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
2120 IUTF8): Move to termios-c_iflag.h.
2121 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2122 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2123 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2124 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2126 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2128 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
2129 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
2130 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
2131 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
2132 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
2133 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
2134 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
2135 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
2136 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2137 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2138 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2139 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2141 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
2142 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
2143 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
2144 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
2145 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2147 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
2149 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
2151 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
2153 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
2155 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
2157 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
2158 _HAVE_C_OSPEED): Define.
2159 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
2160 _HAVE_C_OSPEED): Likewise.
2161 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
2162 _HAVE_C_OSPEED): Likewise.
2163 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
2164 (cfsetospeed): Check for define value instead of existence.
2165 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
2166 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2167 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
2168 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2169 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
2172 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
2174 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2175 (TIOCSER_TEMT): Likewise.
2176 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
2177 (TEOCSER_TEMT): Likewise.
2179 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
2182 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
2184 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2186 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2188 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2190 * sysdeps/htl/pt-barrierattr-setpshared.c
2191 (pthread_barrierattr_setpshared): Add stub warning.
2192 * sysdeps/htl/pt-condattr-setpshared.c
2193 (pthread_condattr_setpshared): Likewise.
2194 * sysdeps/htl/pt-mutexattr-setpshared.c
2195 (pthread_mutexattr_setpshared): Likewise.
2196 * sysdeps/htl/pt-rwlockattr-setpshared.c
2197 (pthread_rwlockattr_setpshared): Likewise.
2198 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
2199 (pthread_mutexattr_setpshared): Likewise.
2201 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2203 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
2204 constants to match with Linux 4.20.
2206 * sysdeps/mips/mips32/libm-test-ulps: Update.
2207 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2209 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
2212 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
2213 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
2214 than __typeof (...) for the a_ptr variable.
2216 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2218 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
2219 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
2220 * libio/Makefile (tests): Add tst-sprintf-ub and
2222 (CFLAGS-tst-sprintf-ub.c): New variable.
2223 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
2224 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
2225 destination buffer and check for overflows in fortified mode.
2226 * libio/libioP.h (PRINTF_CHK): New macro.
2227 * libio/tst-sprintf-chk-ub.c: New file.
2228 * libio/tst-sprintf-ub.c: Likewise.
2230 2019-01-02 Florian Weimer <fweimer@redhat.com>
2233 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
2236 2019-01-02 Florian Weimer <fweimer@redhat.com>
2238 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
2240 2019-01-01 Joseph Myers <joseph@codesourcery.com>
2242 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
2245 * sysdeps/unix/sysv/linux/netpacket/packet.h
2246 (PACKET_IGNORE_OUTGOING): New macro.
2248 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
2251 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2253 (riscv_flush_icache): New syscall.
2255 * manual/texinfo.tex: Update to version 2018-12-28.17 with
2256 trailing whitespace removed.
2257 * scripts/config.guess: Update to version 2019-01-01.
2258 * scripts/config.sub: Update to version 2019-01-01.
2259 * scripts/move-if-change: Update from gnulib.
2261 * NEWS: Update copyright dates.
2262 * catgets/gencat.c (print_version): Likewise.
2263 * csu/version.c (banner): Likewise.
2264 * debug/catchsegv.sh: Likewise.
2265 * debug/pcprofiledump.c (print_version): Likewise.
2266 * debug/xtrace.sh (do_version): Likewise.
2267 * elf/ldconfig.c (print_version): Likewise.
2268 * elf/ldd.bash.in: Likewise.
2269 * elf/pldd.c (print_version): Likewise.
2270 * elf/sotruss.sh: Likewise.
2271 * elf/sprof.c (print_version): Likewise.
2272 * iconv/iconv_prog.c (print_version): Likewise.
2273 * iconv/iconvconfig.c (print_version): Likewise.
2274 * locale/programs/locale.c (print_version): Likewise.
2275 * locale/programs/localedef.c (print_version): Likewise.
2276 * login/programs/pt_chown.c (print_version): Likewise.
2277 * malloc/memusage.sh (do_version): Likewise.
2278 * malloc/memusagestat.c (print_version): Likewise.
2279 * malloc/mtrace.pl: Likewise.
2280 * manual/libc.texinfo: Likewise.
2281 * nptl/version.c (banner): Likewise.
2282 * nscd/nscd.c (print_version): Likewise.
2283 * nss/getent.c (print_version): Likewise.
2284 * nss/makedb.c (print_version): Likewise.
2285 * posix/getconf.c (main): Likewise.
2286 * scripts/test-installation.pl: Likewise.
2287 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2289 * All files with FSF copyright notices: Update copyright dates
2290 using scripts/update-copyrights.
2291 * locale/programs/charmap-kw.h: Regenerated.
2292 * locale/programs/locfile-kw.h: Likewise.
2294 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2296 * timezone/zdump.c: Update from tzcode 2018i.
2297 * timezone/zic.c: Likewise.
2299 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
2301 regex: improve Gnulib port to AIX
2302 From the glibc point of view, this removes duplicate macro
2303 definitions and is obviously safe.
2304 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
2305 * posix/regex_internal.h:
2306 (__attribute__, __attribute_warn_unused_result__):
2307 Remove; already defined elsewhere.
2309 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
2312 * malloc/malloc.c (_int_realloc): Always call memcpy for the
2313 copying operation. (ncopies had the wrong type, resulting in an
2314 integer wraparound and too few elements being copied.)
2316 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
2319 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
2320 <asm/syscalls.h> exists with __has_include__ before including it.
2322 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2324 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2327 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
2329 * hurd/lookup-retry: Include <unistd.h>.
2330 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
2331 Release it on return. Handle "pid" magical lookup retry.
2333 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2336 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
2337 (t_fmt_ampm): Likewise.
2338 * localedata/locales/aa_ER (t_fmt): Likewise.
2339 (t_fmt_ampm): Likewise.
2340 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
2341 (t_fmt_ampm): Likewise.
2342 * localedata/locales/aa_ET (t_fmt): Likewise.
2343 (t_fmt_ampm): Likewise.
2344 * localedata/locales/am_ET (t_fmt): Likewise.
2345 (t_fmt_ampm): Likewise.
2346 * localedata/locales/byn_ER (t_fmt): Likewise.
2347 (t_fmt_ampm): Likewise.
2348 * localedata/locales/om_ET (t_fmt): Likewise.
2349 (t_fmt_ampm): Likewise.
2350 * localedata/locales/sid_ET (t_fmt): Likewise.
2351 (t_fmt_ampm): Likewise.
2352 * localedata/locales/so_DJ (t_fmt): Likewise.
2353 (t_fmt_ampm): Likewise.
2354 * localedata/locales/so_ET (t_fmt): Likewise.
2355 (t_fmt_ampm): Likewise.
2356 * localedata/locales/so_SO (t_fmt): Likewise.
2357 (t_fmt_ampm): Likewise.
2358 * localedata/locales/ti_ER (t_fmt): Likewise.
2359 (t_fmt_ampm): Likewise.
2360 * localedata/locales/ti_ET (t_fmt): Likewise.
2361 (t_fmt_ampm): Likewise.
2362 * localedata/locales/tig_ER (t_fmt): Likewise.
2363 (t_fmt_ampm): Likewise.
2364 * localedata/locales/wal_ET (t_fmt): Likewise.
2365 (t_fmt_ampm): Likewise.
2367 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
2368 * localedata/locales/ar_IN (t_fmt): Likewise.
2369 * localedata/locales/bhb_IN (t_fmt): Likewise.
2370 * localedata/locales/bho_IN (t_fmt): Likewise.
2371 * localedata/locales/bi_VU (t_fmt): Likewise.
2372 * localedata/locales/bn_BD (t_fmt): Likewise.
2373 * localedata/locales/bn_IN (t_fmt): Likewise.
2374 * localedata/locales/brx_IN (t_fmt): Likewise.
2375 * localedata/locales/doi_IN (t_fmt): Likewise.
2376 * localedata/locales/en_HK (t_fmt): Likewise.
2377 (t_fmt_ampm): Likewise.
2378 * localedata/locales/en_IN (t_fmt): Likewise.
2379 * localedata/locales/en_PH (t_fmt): Likewise.
2380 * localedata/locales/gu_IN (t_fmt): Likewise.
2381 * localedata/locales/hi_IN (t_fmt): Likewise.
2382 * localedata/locales/hif_FJ (t_fmt): Likewise.
2383 * localedata/locales/hne_IN (t_fmt): Likewise.
2384 * localedata/locales/kn_IN (t_fmt): Likewise.
2385 * localedata/locales/kok_IN (t_fmt): Likewise.
2386 * localedata/locales/ks_IN (t_fmt): Likewise.
2387 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
2388 * localedata/locales/mag_IN (t_fmt): Likewise.
2389 * localedata/locales/mai_IN (t_fmt): Likewise.
2390 * localedata/locales/mjw_IN (t_fmt): Likewise.
2391 * localedata/locales/ml_IN (t_fmt): Likewise.
2392 * localedata/locales/mni_IN (t_fmt): Likewise.
2393 * localedata/locales/mr_IN (t_fmt): Likewise.
2394 * localedata/locales/ms_MY (t_fmt): Likewise.
2395 * localedata/locales/pa_IN (t_fmt): Likewise.
2396 * localedata/locales/raj_IN (t_fmt): Likewise.
2397 * localedata/locales/sa_IN (t_fmt): Likewise.
2398 * localedata/locales/sat_IN (t_fmt): Likewise.
2399 * localedata/locales/sd_IN (t_fmt): Likewise.
2400 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
2401 * localedata/locales/tcy_IN (t_fmt): Likewise.
2402 * localedata/locales/the_NP (t_fmt): Likewise.
2403 * localedata/locales/to_TO (t_fmt): Likewise.
2404 * localedata/locales/ur_IN (t_fmt): Likewise.
2406 * localedata/locales/hif_FJ (d_t_fmt): Set to
2407 "%A %d %b %Y %I:%M:%S %p".
2408 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
2410 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
2411 * localedata/locales/ar_BH (t_fmt): Likewise.
2412 * localedata/locales/ar_DZ (t_fmt): Likewise.
2413 * localedata/locales/ar_EG (t_fmt): Likewise.
2414 * localedata/locales/ar_IQ (t_fmt): Likewise.
2415 * localedata/locales/ar_JO (t_fmt): Likewise.
2416 * localedata/locales/ar_KW (t_fmt): Likewise.
2417 * localedata/locales/ar_LB (t_fmt): Likewise.
2418 * localedata/locales/ar_LY (t_fmt): Likewise.
2419 * localedata/locales/ar_OM (t_fmt): Likewise.
2420 * localedata/locales/ar_QA (t_fmt): Likewise.
2421 * localedata/locales/ar_SD (t_fmt): Likewise.
2422 * localedata/locales/ar_SS (t_fmt): Likewise.
2423 * localedata/locales/ar_SY (t_fmt): Likewise.
2424 * localedata/locales/ar_TN (t_fmt): Likewise.
2425 * localedata/locales/ar_YE (t_fmt): Likewise.
2427 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
2428 (t_fmt_ampm): Likewise.
2429 * localedata/locales/gez_ET (t_fmt): Likewise.
2430 (t_fmt_ampm): Likewise.
2432 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
2433 (t_fmt_ampm): Likewise.
2434 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
2436 * localedata/locales/zh_HK (t_fmt):
2437 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
2439 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
2440 because this locale does not use the 12-hour clock.
2441 (t_fmt): Set to "%Z %H:%M:%S".
2442 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
2444 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
2445 because this locale does not use the 12-hour clock.
2446 (t_fmt): Set to "%H:%M:%S %Z".
2447 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
2449 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
2450 because this locale does not use the 12-hour clock.
2451 (t_fmt): Set to "%T".
2452 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
2453 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
2455 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
2456 because this locale does not use the 12-hour clock.
2457 (t_fmt): Set to "%H:%M:%S %Z".
2458 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
2460 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
2461 because this locale does not use the 12-hour clock.
2462 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
2463 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
2465 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2469 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
2470 (t_fmt_ampm): Likewise.
2471 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
2472 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
2473 (d_fmt): Set to "%-d.%-m.%y".
2475 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2477 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
2478 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
2479 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
2481 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2482 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
2483 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
2485 * support/blob_repeat.c (check_mul_overflow_size_t,
2486 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
2488 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
2490 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
2492 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
2494 regex: simplify Gnulib port
2495 This simplifies the code, by removing stuff intended for porting
2496 to Gnulib but no longer needed there.
2497 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
2498 uses of libc_hidden_def, weak_alias.
2499 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
2500 _Restrict_ except for public-facing headers.
2501 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
2502 Remove; already defined elsewhere.
2503 * posix/regex.c, posix/regex_internal.h:
2504 Use __GNUC_PREREQ instead of rolling our own.
2505 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
2507 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
2509 * benchtests/bench-strlen.c (generic_strlen): New function.
2510 (memchr_strlen): New function.
2512 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2514 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
2515 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2516 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
2518 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2520 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2522 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2524 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
2525 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
2526 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
2527 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
2528 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
2529 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
2530 <sysdeps/ieee754/flt-32/s_sincosf.c>.
2532 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2535 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
2536 PLT reference in libc.so.
2537 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
2538 _Q_lltoq and _Q_qtod PLT references in libc.so.
2540 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2542 * benchtests/bench-memchr.c: Cleanup defines.
2543 * benchtests/bench-memcmp.c: Likewise.
2544 * benchtests/bench-memset.c: Likewise.
2545 * benchtests/bench-memset-large.c: Likewise.
2546 * benchtests/bench-memset-walk.c: Likewise.
2547 * benchtests/bench-stpcpy.c: Likewise.
2548 * benchtests/bench-stpncpy.c: Likewise.
2549 * benchtests/bench-strcat.c: Likewise.
2550 * benchtests/bench-strchr.c: Likewise.
2551 * benchtests/bench-strcmp.c: Likewise.
2552 * benchtests/bench-strcpy.c: Likewise.
2553 * benchtests/bench-strcspn.c: Likewise.
2554 * benchtests/bench-string.h: Likewise.
2555 * benchtests/bench-strlen.c: Likewise.
2556 * benchtests/bench-strncat.c: Likewise.
2557 * benchtests/bench-strncmp.c: Likewise.
2558 * benchtests/bench-strncpy.c: Likewise.
2559 * benchtests/bench-strnlen.c: Likewise.
2560 * benchtests/bench-strpbrk.c: Likewise.
2561 * benchtests/bench-strrchr.c: Likewise.
2562 * benchtests/bench-strspn.c: Likewise.
2564 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2566 * stdlib/longlong.h: Update from GCC.
2569 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
2570 * configure: Regenerated.
2571 * manual/install.texi (Tools for Compilation): Update minimum GCC
2573 * INSTALL: Regenerated.
2575 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
2577 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
2579 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
2581 * malloc/malloc.c (mremap_chunk): Additional checks.
2583 2018-12-21 Mao Han <han_mao@c-sky.com>
2585 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
2586 * scripts/build-many-glibcs.py: Add C-SKY targets.
2587 * sysdeps/csky/Implies: New file.
2588 * sysdeps/csky/Makefile: Likewise.
2589 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
2590 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
2591 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
2592 * sysdeps/csky/abiv2/memcmp.S: Likewise.
2593 * sysdeps/csky/abiv2/memcpy.S: Likewise.
2594 * sysdeps/csky/abiv2/memmove.S: Likewise.
2595 * sysdeps/csky/abiv2/memset.S: Likewise.
2596 * sysdeps/csky/abiv2/setjmp.S: Likewise.
2597 * sysdeps/csky/abiv2/start.S: Likewise.
2598 * sysdeps/csky/abiv2/strcmp.S: Likewise.
2599 * sysdeps/csky/abiv2/strcpy.S: Likewise.
2600 * sysdeps/csky/abiv2/strlen.S: Likewise.
2601 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
2602 * sysdeps/csky/abort-instr.h: Likewise.
2603 * sysdeps/csky/atomic-machine.h: Likewise.
2604 * sysdeps/csky/bits/endian.h: Likewise.
2605 * sysdeps/csky/bits/fenv.h: Likewise.
2606 * sysdeps/csky/bits/link.h: Likewise.
2607 * sysdeps/csky/bits/setjmp.h: Likewise.
2608 * sysdeps/csky/bsd-_setjmp.S: Likewise.
2609 * sysdeps/csky/bsd-setjmp.S: Likewise.
2610 * sysdeps/csky/configure: Likewise.
2611 * sysdeps/csky/configure.ac: Likewise.
2612 * sysdeps/csky/dl-machine.h: Likewise.
2613 * sysdeps/csky/dl-procinfo.c: Likewise.
2614 * sysdeps/csky/dl-procinfo.h: Likewise.
2615 * sysdeps/csky/dl-sysdep.h: Likewise.
2616 * sysdeps/csky/dl-tls.h: Likewise.
2617 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
2618 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
2619 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
2620 * sysdeps/csky/fpu/fegetenv.c: Likewise.
2621 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
2622 * sysdeps/csky/fpu/fegetmode.c: Likewise.
2623 * sysdeps/csky/fpu/fegetround.c: Likewise.
2624 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
2625 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
2626 * sysdeps/csky/fpu/fenv_private.h: Likewise.
2627 * sysdeps/csky/fpu/fesetenv.c: Likewise.
2628 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
2629 * sysdeps/csky/fpu/fesetmode.c: Likewise.
2630 * sysdeps/csky/fpu/fesetround.c: Likewise.
2631 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
2632 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
2633 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
2634 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
2635 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
2636 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
2637 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
2638 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
2639 * sysdeps/csky/fpu_control.h: Likewise.
2640 * sysdeps/csky/gccframe.h: Likewise.
2641 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
2642 * sysdeps/csky/ldsodefs.h: Likewise.
2643 * sysdeps/csky/libc-tls.c: Likewise.
2644 * sysdeps/csky/linkmap.h: Likewise.
2645 * sysdeps/csky/machine-gmon.h: Likewise.
2646 * sysdeps/csky/memusage.h: Likewise.
2647 * sysdeps/csky/nofpu/Implies: Likewise.
2648 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
2649 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
2650 * sysdeps/csky/nptl/Makefile: Likewise.
2651 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
2652 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
2653 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
2654 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
2655 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
2656 * sysdeps/csky/nptl/tls.h: Likewise.
2657 * sysdeps/csky/preconfigure: Likewise.
2658 * sysdeps/csky/sfp-machine.h: Likewise.
2659 * sysdeps/csky/sotruss-lib.c: Likewise.
2660 * sysdeps/csky/stackinfo.h: Likewise.
2661 * sysdeps/csky/sysdep.h: Likewise.
2662 * sysdeps/csky/tininess.h: Likewise.
2663 * sysdeps/csky/tst-audit.h: Likewise.
2664 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
2665 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
2666 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
2667 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
2668 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2669 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
2670 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2671 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
2672 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
2673 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
2674 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
2675 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
2676 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
2677 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
2678 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
2679 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
2680 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
2681 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
2682 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
2683 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
2684 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
2685 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
2686 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
2687 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2688 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
2689 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
2690 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
2691 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
2692 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
2693 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
2694 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
2695 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
2696 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
2697 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
2698 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
2699 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2700 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
2701 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
2702 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
2703 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
2704 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
2705 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
2706 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
2707 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
2709 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2711 * include/time.h (__difftime64): Add.
2712 * time/difftime.c (subtract): convert to 64-bit time.
2713 * time/difftime.c (__difftime64): Add.
2714 * time/difftime.c (__difftime): Wrap around __difftime64.
2716 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2718 * manual/examples/add.c: Remove redundant "if not".
2719 * manual/examples/argp-ex1.c: Likewise.
2720 * manual/examples/argp-ex2.c: Likewise.
2721 * manual/examples/argp-ex3.c: Likewise.
2722 * manual/examples/argp-ex4.c: Likewise.
2723 * manual/examples/atexit.c: Likewise.
2724 * manual/examples/db.c: Likewise.
2725 * manual/examples/dir.c: Likewise.
2726 * manual/examples/dir2.c: Likewise.
2727 * manual/examples/execinfo.c: Likewise.
2728 * manual/examples/filecli.c: Likewise.
2729 * manual/examples/filesrv.c: Likewise.
2730 * manual/examples/fmtmsgexpl.c: Likewise.
2731 * manual/examples/genpass.c: Likewise.
2732 * manual/examples/inetcli.c: Likewise.
2733 * manual/examples/inetsrv.c: Likewise.
2734 * manual/examples/isockad.c: Likewise.
2735 * manual/examples/longopt.c: Likewise.
2736 * manual/examples/memopen.c: Likewise.
2737 * manual/examples/memstrm.c: Likewise.
2738 * manual/examples/mkdirent.c: Likewise.
2739 * manual/examples/mkfsock.c: Likewise.
2740 * manual/examples/mkisock.c: Likewise.
2741 * manual/examples/mygetpass.c: Likewise.
2742 * manual/examples/pipe.c: Likewise.
2743 * manual/examples/popen.c: Likewise.
2744 * manual/examples/rprintf.c: Likewise.
2745 * manual/examples/search.c: Likewise.
2746 * manual/examples/select.c: Likewise.
2747 * manual/examples/setjmp.c: Likewise.
2748 * manual/examples/sigh1.c: Likewise.
2749 * manual/examples/sigusr.c: Likewise.
2750 * manual/examples/stpcpy.c: Likewise.
2751 * manual/examples/strdupa.c: Likewise.
2752 * manual/examples/strftim.c: Likewise.
2753 * manual/examples/subopt.c: Likewise.
2754 * manual/examples/swapcontext.c: Likewise.
2755 * manual/examples/termios.c: Likewise.
2756 * manual/examples/testopt.c: Likewise.
2757 * manual/examples/testpass.c: Likewise.
2758 * manual/examples/timeval_subtract.c: Likewise.
2760 2018-12-19 Joseph Myers <joseph@codesourcery.com>
2762 * sysdeps/x86/fpu/math_private.h: New file.
2763 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
2765 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
2770 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2772 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
2773 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
2774 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
2775 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
2777 (_dl_show_auxv): Give a special treatment to
2778 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
2779 and AT_L3_CACHEGEOMETRY.
2780 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
2781 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
2782 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
2783 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
2785 2018-12-19 Andreas Schwab <schwab@suse.de>
2787 * nscd/connections.c (check_use): Don't abort on invalid len.
2789 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
2791 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
2792 values in the 64bit value cases.
2794 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2800 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
2806 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
2809 (__gmtime64_r): Add.
2811 (__gmtime64_r): Add.
2812 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2818 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2821 (__localtime64_r): Add.
2823 (__localtime64_r): Add.
2824 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
2826 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2828 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
2829 kernel_sigction definition.
2831 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
2833 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
2835 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
2836 __syscall_rt_sigaction.
2837 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
2838 (kernel_sigaction): Use Linux generic defintion.
2840 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
2841 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
2842 (__syscall_rt_sigaction): Remove implementation.
2843 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
2845 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
2846 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
2847 INTERNAL_SYSCALL): Remove definitions.
2848 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
2849 action and signal set size.
2850 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
2851 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
2853 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2854 James Clarke <jrtc27@jrtc27.com>
2857 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
2858 Define if SA_RESTORER is defined.
2859 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
2860 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
2862 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
2863 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
2865 (HAS_SA_RESTORER): Define.
2866 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
2867 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
2868 (HAS_SA_RESTORER): Define.
2869 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
2870 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
2871 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
2872 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
2873 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2875 2018-12-18 Joseph Myers <joseph@codesourcery.com>
2877 * sysdeps/unix/sysv/linux/kernel-features.h
2878 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
2879 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2880 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
2881 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2882 (__ASSUME_ST_INO_64_BIT): Likewise.
2883 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2884 <kernel-features.h>.
2885 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2886 Remove conditional code.
2887 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2888 <kernel-features.h>.
2889 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2890 Remove conditional code.
2891 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
2892 <kernel-features.h>.
2893 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2894 Remove conditional code.
2895 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
2896 <kernel-features.h>.
2897 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
2898 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
2900 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2902 * sysdeps/s390/multiarch/ifunc-resolve.h
2903 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
2904 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
2905 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
2906 Delete macro definition.
2907 (s390_libc_ifunc_init): Rename to
2908 s390_libc_ifunc_expr_stfle_init.
2909 * sysdeps/s390/bzero: Use
2910 s390_libc_ifunc_expr_stfle_init instead of
2911 s390_libc_ifunc_init.
2912 * sysdeps/s390/memcmp.c: Likewise.
2913 * sysdeps/s390/memcpy.c: Likewise.
2914 * sysdeps/s390/mempcpy.c: Likewise.
2915 * sysdeps/s390/memset.c: Likewise.
2917 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2919 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
2920 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
2922 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2924 * sysdeps/s390/multiarch/Makefile
2925 (sysdep_routines): Remove wmemcmp variants.
2926 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
2927 * sysdeps/s390/multiarch/ifunc-impl-list.c
2928 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
2929 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
2930 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
2931 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
2932 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
2933 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
2934 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
2935 * sysdeps/s390/ifunc-wmemcmp.h: New file.
2937 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2939 * sysdeps/s390/multiarch/Makefile
2940 (sysdep_routines): Remove wmemset variants.
2941 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
2942 * sysdeps/s390/multiarch/ifunc-impl-list.c
2943 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
2944 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
2945 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
2946 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
2947 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
2948 * sysdeps/s390/multiarch/wmemset.c: Move to ...
2949 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
2950 * sysdeps/s390/ifunc-wmemset.h: New file.
2952 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2954 * sysdeps/s390/multiarch/Makefile
2955 (sysdep_routines): Remove wmemchr variants.
2956 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
2957 * sysdeps/s390/multiarch/ifunc-impl-list.c
2958 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
2959 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
2960 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
2961 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
2962 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
2963 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
2964 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
2965 * sysdeps/s390/ifunc-wmemchr.h: New file.
2967 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2969 * sysdeps/s390/multiarch/Makefile
2970 (sysdep_routines): Remove wcscspn variants.
2971 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
2972 * sysdeps/s390/multiarch/ifunc-impl-list.c
2973 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
2974 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
2975 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
2976 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
2977 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
2978 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
2979 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
2980 * sysdeps/s390/ifunc-wcscspn.h: New file.
2982 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2984 * sysdeps/s390/multiarch/Makefile
2985 (sysdep_routines): Remove wcspbrk variants.
2986 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
2987 * sysdeps/s390/multiarch/ifunc-impl-list.c
2988 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
2989 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
2990 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
2991 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
2992 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
2993 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
2994 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
2995 * sysdeps/s390/ifunc-wcspbrk.h: New file.
2997 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2999 * sysdeps/s390/multiarch/Makefile
3000 (sysdep_routines): Remove wcsspn variants.
3001 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
3002 * sysdeps/s390/multiarch/ifunc-impl-list.c
3003 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
3004 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
3005 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
3006 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
3007 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
3008 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
3009 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
3010 * sysdeps/s390/ifunc-wcsspn.h: New file.
3012 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3014 * sysdeps/s390/multiarch/Makefile
3015 (sysdep_routines): Remove wcsrchr variants.
3016 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
3017 * sysdeps/s390/multiarch/ifunc-impl-list.c
3018 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
3019 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
3020 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
3021 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
3022 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
3023 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
3024 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
3025 * sysdeps/s390/ifunc-wcsrchr.h: New file.
3027 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3029 * sysdeps/s390/multiarch/Makefile
3030 (sysdep_routines): Remove wcschrnul variants.
3031 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
3032 * sysdeps/s390/multiarch/ifunc-impl-list.c
3033 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
3034 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
3035 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
3036 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
3037 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
3038 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
3039 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
3040 * sysdeps/s390/ifunc-wcschrnul.h: New file.
3042 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3044 * sysdeps/s390/multiarch/Makefile
3045 (sysdep_routines): Remove wcschr variants.
3046 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
3047 * sysdeps/s390/multiarch/ifunc-impl-list.c
3048 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
3049 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
3050 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
3051 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
3052 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
3053 * sysdeps/s390/multiarch/wcschr.c: Move to ...
3054 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
3055 * sysdeps/s390/ifunc-wcschr.h: New file.
3057 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3059 * sysdeps/s390/multiarch/Makefile
3060 (sysdep_routines): Remove wcsncmp variants.
3061 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
3062 * sysdeps/s390/multiarch/ifunc-impl-list.c
3063 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
3064 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
3065 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
3066 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
3067 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
3068 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
3069 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
3070 * sysdeps/s390/ifunc-wcsncmp.h: New file.
3072 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3074 * sysdeps/s390/multiarch/Makefile
3075 (sysdep_routines): Remove wcscmp variants.
3076 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
3077 * sysdeps/s390/multiarch/ifunc-impl-list.c
3078 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
3079 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
3080 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
3081 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
3082 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
3083 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
3084 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
3085 * sysdeps/s390/ifunc-wcscmp.h: New file.
3087 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3089 * sysdeps/s390/multiarch/Makefile
3090 (sysdep_routines): Remove wcsncat variants.
3091 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
3092 * sysdeps/s390/multiarch/ifunc-impl-list.c
3093 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
3094 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
3095 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
3096 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
3097 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
3098 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
3099 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
3100 * sysdeps/s390/ifunc-wcsncat.h: New file.
3102 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3104 * sysdeps/s390/multiarch/Makefile
3105 (sysdep_routines): Remove wcscat variants.
3106 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
3107 * sysdeps/s390/multiarch/ifunc-impl-list.c
3108 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
3109 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
3110 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
3111 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
3112 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
3113 * sysdeps/s390/multiarch/wcscat.c: Move to ...
3114 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
3115 * sysdeps/s390/ifunc-wcscat.h: New file.
3117 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3119 * sysdeps/s390/multiarch/Makefile
3120 (sysdep_routines): Remove wcpncpy variants.
3121 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
3122 * sysdeps/s390/multiarch/ifunc-impl-list.c
3123 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
3124 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
3125 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
3126 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
3127 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
3128 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
3129 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
3130 * sysdeps/s390/ifunc-wcpncpy.h: New file.
3132 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3134 * sysdeps/s390/multiarch/Makefile
3135 (sysdep_routines): Remove wcsncpy variants.
3136 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
3137 * sysdeps/s390/multiarch/ifunc-impl-list.c
3138 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
3139 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
3140 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
3141 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
3142 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
3143 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
3144 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
3145 * sysdeps/s390/ifunc-wcsncpy.h: New file.
3147 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3149 * sysdeps/s390/multiarch/Makefile
3150 (sysdep_routines): Remove wcpcpy variants.
3151 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
3152 * sysdeps/s390/multiarch/ifunc-impl-list.c
3153 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
3154 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
3155 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
3156 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
3157 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
3158 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
3159 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
3160 * sysdeps/s390/ifunc-wcpcpy.h: New file.
3162 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3164 * sysdeps/s390/multiarch/Makefile
3165 (sysdep_routines): Remove wcscpy variants.
3166 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
3167 * sysdeps/s390/multiarch/ifunc-impl-list.c
3168 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
3169 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
3170 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
3171 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
3172 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
3173 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
3174 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
3175 * sysdeps/s390/ifunc-wcscpy.h: New file.
3177 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3179 * sysdeps/s390/multiarch/Makefile
3180 (sysdep_routines): Remove wcsnlen variants.
3181 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
3182 * sysdeps/s390/multiarch/ifunc-impl-list.c
3183 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
3184 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
3185 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
3186 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
3187 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
3188 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
3189 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
3190 * sysdeps/s390/ifunc-wcsnlen.h: New file.
3192 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3194 * sysdeps/s390/multiarch/Makefile
3195 (sysdep_routines): Remove wcslen variants.
3196 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
3197 * sysdeps/s390/multiarch/ifunc-impl-list.c
3198 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
3199 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
3200 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
3201 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
3202 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
3203 * sysdeps/s390/multiarch/wcslen.c: Move to ...
3204 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
3205 * sysdeps/s390/ifunc-wcslen.h: New file.
3207 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3209 * sysdeps/s390/multiarch/Makefile
3210 (sysdep_routines): Remove memrchr variants.
3211 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
3212 * sysdeps/s390/multiarch/ifunc-impl-list.c
3213 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
3214 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
3215 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
3216 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
3217 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
3218 * sysdeps/s390/multiarch/memrchr.c: Move to ...
3219 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
3220 * sysdeps/s390/ifunc-memrchr.h: New file.
3222 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3224 * sysdeps/s390/multiarch/Makefile
3225 (sysdep_routines): Remove memccpy variants.
3226 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
3227 * sysdeps/s390/multiarch/ifunc-impl-list.c
3228 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
3229 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
3230 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
3231 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
3232 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
3233 * sysdeps/s390/multiarch/memccpy.c: Move to ...
3234 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
3235 * sysdeps/s390/ifunc-memccpy.h: New file.
3237 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3239 * sysdeps/s390/multiarch/Makefile
3240 (sysdep_routines): Remove rawmemchr variants.
3241 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
3242 * sysdeps/s390/multiarch/ifunc-impl-list.c
3243 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
3244 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
3245 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
3246 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
3247 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
3248 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
3249 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
3250 * sysdeps/s390/ifunc-rawmemchr.h: New file.
3252 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3254 * sysdeps/s390/multiarch/Makefile
3255 (sysdep_routines): Remove memchr variants.
3256 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
3257 * sysdeps/s390/multiarch/ifunc-impl-list.c
3258 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
3259 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
3260 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
3261 * sysdeps/s390/multiarch/memchr.c: Move to ...
3262 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
3263 * sysdeps/s390/ifunc-memchr.h: New file.
3264 * sysdeps/s390/s390-64/memchr.S: Move to ...
3265 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
3266 for 31/64bit and ifunc handling.
3267 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
3268 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
3269 * sysdeps/s390/s390-32/memchr.S: Likewise.
3271 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3273 * sysdeps/s390/multiarch/Makefile
3274 (sysdep_routines): Remove strcspn variants.
3275 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
3276 * sysdeps/s390/multiarch/ifunc-impl-list.c
3277 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
3278 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
3279 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
3280 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
3281 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
3282 * sysdeps/s390/multiarch/strcspn.c: Move to ...
3283 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
3284 * sysdeps/s390/ifunc-strcspn.h: New file.
3286 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3288 * sysdeps/s390/multiarch/Makefile
3289 (sysdep_routines): Remove strpbrk variants.
3290 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
3291 * sysdeps/s390/multiarch/ifunc-impl-list.c
3292 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
3293 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
3294 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
3295 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
3296 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
3297 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
3298 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
3299 * sysdeps/s390/ifunc-strpbrk.h: New file.
3301 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3303 * sysdeps/s390/multiarch/Makefile
3304 (sysdep_routines): Remove strspn variants.
3305 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
3306 * sysdeps/s390/multiarch/ifunc-impl-list.c
3307 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
3308 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
3309 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
3310 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
3311 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
3312 * sysdeps/s390/multiarch/strspn.c: Move to ...
3313 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
3314 * sysdeps/s390/ifunc-strspn.h: New file.
3316 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3318 * sysdeps/s390/multiarch/Makefile
3319 (sysdep_routines): Remove strrchr variants.
3320 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
3321 * sysdeps/s390/multiarch/ifunc-impl-list.c
3322 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
3323 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
3324 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
3325 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
3326 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
3327 * sysdeps/s390/multiarch/strrchr.c: Move to ...
3328 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
3329 * sysdeps/s390/ifunc-strrchr.h: New file.
3331 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3333 * sysdeps/s390/multiarch/Makefile
3334 (sysdep_routines): Remove strchrnul variants.
3335 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
3336 * sysdeps/s390/multiarch/ifunc-impl-list.c
3337 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
3338 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
3339 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
3340 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
3341 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
3342 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
3343 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
3344 * sysdeps/s390/ifunc-strchrnul.h: New file.
3346 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3348 * sysdeps/s390/multiarch/Makefile
3349 (sysdep_routines): Remove strchr variants.
3350 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
3351 * sysdeps/s390/multiarch/ifunc-impl-list.c
3352 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
3353 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
3354 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
3355 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
3356 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
3357 * sysdeps/s390/multiarch/strchr.c: Move to ...
3358 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
3359 * sysdeps/s390/ifunc-strchr.h: New file.
3361 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3363 * sysdeps/s390/multiarch/Makefile
3364 (sysdep_routines): Remove strncmp variants.
3365 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
3366 * sysdeps/s390/multiarch/ifunc-impl-list.c
3367 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
3368 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
3369 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
3370 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
3371 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
3372 * sysdeps/s390/multiarch/strncmp.c: Move to ...
3373 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
3374 * sysdeps/s390/ifunc-strncmp.h: New file.
3376 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3378 * sysdeps/s390/multiarch/Makefile
3379 (sysdep_routines): Remove strcmp variants.
3380 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
3381 * sysdeps/s390/multiarch/ifunc-impl-list.c
3382 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
3383 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
3384 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
3385 * sysdeps/s390/multiarch/strcmp.c: Move to ...
3386 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
3387 * sysdeps/s390/ifunc-strcmp.h: New file.
3388 * sysdeps/s390/s390-64/strcmp.S: Move to ...
3389 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
3390 for 31/64bit and ifunc handling.
3391 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
3392 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3393 * sysdeps/s390/s390-32/strcmp.S: Likewise.
3395 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3397 * sysdeps/s390/multiarch/Makefile
3398 (sysdep_routines): Remove strncat variants.
3399 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
3400 * sysdeps/s390/multiarch/ifunc-impl-list.c
3401 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
3402 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
3403 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
3404 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
3405 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
3406 * sysdeps/s390/multiarch/strncat.c: Move to ...
3407 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
3408 * sysdeps/s390/ifunc-strncat.h: New file.
3410 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3412 * sysdeps/s390/multiarch/Makefile
3413 (sysdep_routines): Remove strcat variants.
3414 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
3415 * sysdeps/s390/multiarch/ifunc-impl-list.c
3416 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
3417 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
3418 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
3419 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
3420 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
3421 * sysdeps/s390/multiarch/strcat.c: Move to ...
3422 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
3423 * sysdeps/s390/ifunc-strcat.h: New file.
3425 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3427 * sysdeps/s390/multiarch/Makefile
3428 (sysdep_routines): Remove stpncpy variants.
3429 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
3430 * sysdeps/s390/multiarch/ifunc-impl-list.c
3431 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
3432 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
3433 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
3434 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
3435 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
3436 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
3437 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
3438 * sysdeps/s390/ifunc-stpncpy.h: New file.
3440 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3442 * sysdeps/s390/multiarch/Makefile
3443 (sysdep_routines): Remove strncpy variants.
3444 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
3445 * sysdeps/s390/multiarch/ifunc-impl-list.c
3446 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
3447 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
3448 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
3449 * sysdeps/s390/multiarch/strncpy.c: Move to ...
3450 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
3451 * sysdeps/s390/ifunc-strncpy.h: New file.
3452 * sysdeps/s390/s390-64/strncpy.S: Move to ...
3453 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
3454 and adjust ifunc handling.
3455 * sysdeps/s390/s390-32/strncpy.S: Move to ...
3456 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
3457 and adjust ifunc handling.
3458 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
3459 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3461 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3463 * sysdeps/s390/multiarch/Makefile
3464 (sysdep_routines): Remove stpcpy variants.
3465 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
3466 * sysdeps/s390/multiarch/ifunc-impl-list.c
3467 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
3468 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
3469 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
3470 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
3471 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
3472 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
3473 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
3474 * sysdeps/s390/ifunc-stpcpy.h: New file.
3476 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3478 * sysdeps/s390/multiarch/Makefile
3479 (sysdep_routines): Remove strcpy variants.
3480 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
3481 * sysdeps/s390/multiarch/ifunc-impl-list.c
3482 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
3483 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
3484 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
3485 * sysdeps/s390/multiarch/strcpy.c: Move to ...
3486 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
3487 * sysdeps/s390/ifunc-strcpy.h: New file.
3488 * sysdeps/s390/s390-64/strcpy.S: Move to ...
3489 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
3490 for 31/64bit and ifunc handling.
3491 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
3492 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3493 * sysdeps/s390/s390-32/strcpy.S: Likewise.
3495 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3497 * sysdeps/s390/multiarch/Makefile
3498 (sysdep_routines): Remove strnlen variants.
3499 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
3500 * sysdeps/s390/multiarch/ifunc-impl-list.c
3501 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
3502 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
3503 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
3504 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
3505 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
3506 * sysdeps/s390/multiarch/strnlen.c: Move to ...
3507 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
3508 * sysdeps/s390/ifunc-strnlen.h: New file.
3510 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3512 * sysdeps/s390/multiarch/Makefile
3513 (sysdep_routines): Remove strlen variants.
3514 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
3515 * sysdeps/s390/multiarch/ifunc-impl-list.c
3516 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
3517 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
3518 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
3519 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
3520 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
3521 * sysdeps/s390/multiarch/strlen.c: Move to ...
3522 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
3523 * sysdeps/s390/ifunc-strlen.h: New file.
3525 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3527 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
3528 * sysdeps/s390/multiarch/ifunc-impl-list.c
3529 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
3530 * sysdeps/s390/ifunc-memmem.h: New file.
3531 * sysdeps/s390/memmem.c: Likewise.
3532 * sysdeps/s390/memmem-c.c: Likewise.
3533 * sysdeps/s390/memmem-vx.c: Likewise.
3535 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3537 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
3538 * sysdeps/s390/multiarch/ifunc-impl-list.c
3539 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
3540 * sysdeps/s390/ifunc-strstr.h: New file.
3541 * sysdeps/s390/strstr.c: Likewise.
3542 * sysdeps/s390/strstr-c.c: Likewise.
3543 * sysdeps/s390/strstr-vx.c: Likewise.
3545 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3547 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
3548 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
3549 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
3550 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
3552 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
3553 * sysdeps/s390/memmove-c.c: New file.
3554 * sysdeps/s390/memmove.c: Likewise.
3555 * sysdeps/s390/multiarch/ifunc-impl-list.c
3556 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
3558 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3560 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
3561 * sysdeps/s390/configure.ac: Add check for z13 support.
3562 * sysdeps/s390/configure: Regenerated.
3564 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3566 * sysdeps/s390/memcopy.h: New file.
3568 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3570 * sysdeps/s390/s390-32/bcopy.S: Remove.
3571 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3573 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3575 * sysdeps/s390/ifunc-memcpy.h: New File.
3576 * sysdeps/s390/memcpy.S: Move to ...
3577 * sysdeps/s390/memcpy-z900.S ... here.
3578 Move implementations from memcpy-s390x.s to here.
3579 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
3580 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3581 Remove memcpy/mempcpy variants.
3582 * sysdeps/s390/Makefile (sysdep_routines):
3583 Add memcpy/mempcpy variants.
3584 * sysdeps/s390/multiarch/ifunc-impl-list.c
3585 (__libc_ifunc_impl_list): Adjust ifunc variants for
3587 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
3589 * sysdeps/s390/memcpy.c: ... here.
3590 Adjust ifunc variants for memcpy.
3591 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
3592 * sysdeps/s390/mempcpy.c: ... here.
3593 Adjust ifunc variants for mempcpy.
3594 * sysdeps/s390/mempcpy.S: Delete file.
3596 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3598 * sysdeps/s390/s390-64/memcpy.S: Move to ...
3599 * sysdeps/s390/memcpy.S: ... here.
3600 Adjust to be usable for 31/64bit.
3601 * sysdeps/s390/s390-32/memcpy.S: Delete File.
3602 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
3603 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
3604 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3605 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
3606 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
3607 Adjust to be usable for 31/64bit.
3608 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
3609 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
3610 * sysdeps/s390/multiarch/memcpy.c: ... here.
3611 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
3613 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3615 * sysdeps/s390/ifunc-memcmp.h: New File.
3616 * sysdeps/s390/memcmp.S: Move to ...
3617 * sysdeps/s390/memcmp-z900.S ... here.
3618 Move implementations from memcmp-s390x.s to here.
3619 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
3620 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3621 Remove memcmp variants.
3622 * sysdeps/s390/Makefile (sysdep_routines):
3623 Add memcmp variants.
3624 * sysdeps/s390/multiarch/ifunc-impl-list.c
3625 (__libc_ifunc_impl_list): Adjust ifunc variants for
3627 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
3629 * sysdeps/s390/memcmp.c: ... here.
3630 Adjust ifunc variants for memcmp.
3632 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3634 * sysdeps/s390/s390-64/memcmp.S: Move to ...
3635 * sysdeps/s390/memcmp.S: ... here.
3636 Adjust to be usable for 31/64bit.
3637 * sysdeps/s390/s390-32/memcmp.S: Delete File.
3638 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
3639 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3641 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3642 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
3643 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
3644 Adjust to be usable for 31/64bit.
3645 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
3646 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
3647 * sysdeps/s390/multiarch/memcmp.c: ... here.
3648 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
3650 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3652 * sysdeps/s390/s390-32/bzero.S: Delete file.
3653 * sysdeps/s390/s390-64/bzero.S: Likewise.
3654 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
3655 * sysdeps/s390/bzero.c: New file.
3656 * sysdeps/s390/memset-z900.S: Add bzero entry points.
3657 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
3658 * sysdeps/s390/multiarch/ifunc-impl-list.c
3659 (__libc_ifunc_impl_list): Add bzero ifunc variants.
3661 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3663 * sysdeps/s390/ifunc-memset.h: New File.
3664 * sysdeps/s390/memset.S: Move to ...
3665 * sysdeps/s390/memset-z900.S ... here.
3666 Move implementations from memset-s390x.s to here.
3667 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
3668 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3669 Remove memset variants.
3670 * sysdeps/s390/Makefile (sysdep_routines):
3671 Add memset variants.
3672 * sysdeps/s390/multiarch/ifunc-impl-list.c
3673 (__libc_ifunc_impl_list): Adjust ifunc variants for
3675 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
3677 * sysdeps/s390/memset.c: ... here.
3678 Adjust ifunc variants for memset.
3680 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3682 * sysdeps/s390/s390-64/memset.S: Move to ...
3683 * sysdeps/s390/memset.S: ... here.
3684 Adjust to be usable for 31/64bit.
3685 * sysdeps/s390/s390-32/memset.S: Delete File.
3686 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
3687 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3689 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3690 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
3691 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
3692 Adjust to be usable for 31/64bit.
3693 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
3694 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
3695 * sysdeps/s390/multiarch/memset.c: ... here.
3696 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
3698 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3700 * sysdeps/s390/multiarch/ifunc-resolve.h
3701 (s390_libc_ifunc_init, s390_libc_ifunc,
3702 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
3704 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3706 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
3707 * sysdeps/s390/configure.ac: Add check for z10 support.
3708 * sysdeps/s390/configure: Regenerated.
3710 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
3712 * sysdeps/i386/atomic-machine.h: Merged with ...
3713 * sysdeps/x86_64/atomic-machine.h: To ...
3714 * sysdeps/x86/atomic-machine.h: This. New file.
3716 2018-12-18 Florian Weimer <fweimer@redhat.com>
3718 Rewrite locale/gen-translit.pl in Python.
3719 * locale/Makefile (generated): Add C-translit.h.
3720 (before-compile): Add $(objpfx)C-translit.h.
3721 (C-translit.h): Move to $(objpfx). Create target directory.
3722 Build using Python script.
3723 * locale/gen-translit.py: New file.
3724 * locale/gen-translit.pl: Remove file.
3725 * locale/C-translit.h.in: Change comment character to '#' for
3726 easier parsing without a C preprocessor.
3727 * locale/C-translit.h: Remove generated file.
3728 * manual/install.texi (Tools for Compilation): Do not mention
3730 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3731 Remove locale/C-translit.h.
3732 * scripts/update-copyrights: Likewise.
3733 * INSTALL: Regenerate.
3735 2018-12-18 Florian Weimer <fweimer@redhat.com>
3738 * localedata/locales/bi_VU: Remove executable bit from file.
3740 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
3743 (__localtime64): Add.
3744 * manual/maint.texi: Document Y2038 symbol handling.
3746 (__localtime64): Add.
3747 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
3749 2018-12-17 Joseph Myers <joseph@codesourcery.com>
3751 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
3754 * scripts/glibcextract.py (compare_macro_consts): Take parameters
3755 to allow extra macros from first or second sources.
3756 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
3757 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3758 (tests-special): Add $(objpfx)tst-mman-consts.out.
3759 ($(objpfx)tst-mman-consts.out): New makefile target.
3761 2018-12-17 Mao Han <han_mao@c-sky.com>
3763 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
3764 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
3765 without stat64 system call support.
3766 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
3767 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
3768 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3769 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
3770 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
3771 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
3772 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
3773 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
3774 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
3775 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
3776 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
3778 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
3780 regex: fix storage-exhaustion error
3782 * posix/regexec.c (get_subexp):
3783 Do not continue if storage is exhausted.
3785 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
3787 regex: fix heap-use-after-free error
3789 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
3790 https://debbugs.gnu.org/32592
3791 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
3792 call extend_buffers which reallocates the re_string_t internal buffer.
3793 Local variable 'buf' was not updated in such case, resulting in
3795 * posix/regexec.c (get_subexp): Update 'buf' after call to
3798 2018-12-15 Florian Weimer <fweimer@redhat.com>
3800 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
3801 (minimum_stride_size): Use it.
3802 (support_blob_repeat_allocate): Likewise.
3804 2018-12-14 Joseph Myers <joseph@codesourcery.com>
3806 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
3811 2018-12-14 Florian Weimer <fweimer@redhat.com>
3813 * manual/process.texi (Process Creation Concepts): Remove
3814 documentation of process (ID) lifetime. List more process
3815 creation functions. Reference Process Identification section.
3816 (Process Identification): Add information about process ID
3817 lifetime. Describe Linux thread/task IDs.
3818 * manual/signal.texi (Signaling Another Process): Mention that the
3819 signal is always sent to the process.
3821 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3823 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
3824 and tst-ldbl-efgcvt.
3825 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
3826 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
3827 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
3828 (fcvt_tests, output_error, output_r_error, do_test): Use the
3829 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
3830 select the type of floating-point variables and arguments; to
3831 produce extra tests for double and conversion specifiers for
3832 printf; and to set the names of called functions.
3833 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
3834 in tst-efgcvt-template.c.
3835 * misc/tst-ldbl-efgcvt.c: Likewise.
3837 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
3839 * nss/Makefile (tst-nss-test3.out): New rule.
3841 2018-12-13 Joseph Myers <joseph@codesourcery.com>
3843 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
3846 2018-12-13 fanjinke <fanjinke@hygon.cn>
3848 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
3851 2018-12-13 Andreas Schwab <schwab@suse.de>
3854 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
3855 (__pthread_rwlock_rdlock_full): Update expected value for
3856 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
3857 * nptl/tst-rwlock-pwn.c: New file.
3858 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3860 2018-12-12 Joseph Myers <joseph@codesourcery.com>
3862 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
3865 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3867 * benchtests/scripts/compare_bench.py (do_compare): write to
3868 stderr in casestat is not present.
3869 * benchtests/scripts/compare_bench.py (plot_graphs): write to
3870 stderr in case timings field is not present. Also string showing
3871 the output filename goes into the stderr.
3873 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3875 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
3876 and ZeroDivisorError exceptions.
3877 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
3878 argument to loop through user provided statistics.
3879 * benchtests/scripts/compare_bench.py (main): Include the --stats
3882 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3884 * benchtests/scripts/compare_bench.py (compare_runs): Continue
3887 2018-12-12 Florian Weimer <fweimer@redhat.com>
3889 * sysdeps/posix/timespec_get.c: Add missing “any later version”
3890 clause to copyright header.
3892 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3895 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
3896 registers saved in the stack frame.
3897 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
3898 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
3900 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3902 * include/bits/monetary-ldbl.h: New file.
3903 * include/bits/printf-ldbl.h: Likewise.
3904 * include/bits/stdio-ldbl.h: Likewise.
3905 * include/bits/stdlib-ldbl.h: Likewise.
3906 * include/bits/syslog-ldbl.h: Likewise.
3907 * include/bits/wchar-ldbl.h: Likewise.
3909 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3911 * libio/libio.h: Remove redirection for _IO_vfprintf.
3913 2018-12-11 Andreas Schwab <schwab@suse.de>
3915 * Makerules: Remove all references to abilist-pattern.
3916 (update-all-abi): Simplify find expression.
3918 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3921 * math/auto-libm-test-in: Add new test case.
3922 * math/auto-libm-test-out-pow: Regenerated.
3923 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
3925 2018-12-10 DJ Delorie <dj@redhat.com>
3928 * support/test-container.c: Move postclean step to before we
3931 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3933 * scripts/gen-as-const.py (main): Handle --python option.
3934 * scripts/gen-py-const.awk: Remove.
3935 * Makerules (py-const-script): Use gen-as-const.py.
3936 ($(py-const)): Likewise.
3937 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
3938 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
3939 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
3940 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
3941 ~PTHREAD_MUTEX_NO_ELISION_NP.
3942 * manual/README.pretty-printers: Update reference to
3945 * scripts/glibcextract.py: New file.
3946 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
3947 or tempfile. Import glibcexctract.
3948 (compute_c_consts): Remove. Moved to glibcextract.py.
3949 (gen_test): Update reference to compute_c_consts.
3951 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
3952 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
3953 * sysdeps/unix/sysv/linux/Makefile
3954 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
3955 Redirect stderr as well as stdout.
3957 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
3960 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
3961 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
3962 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
3963 ALWAYS_USE_VSYSCALL.
3964 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
3965 ALWAYS_USE_VSYSCALL.
3966 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
3967 ALWAYS_USE_VSYSCALL.
3969 2018-12-10 Florian Weimer <fweimer@redhat.com>
3972 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
3973 offset instead of count for clarity. Fix typo in comment.
3974 (__old_getdents64): Keep track of previous offset. Use it to call
3976 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
3977 that d_off is never zero.
3979 2018-12-10 Andreas Schwab <schwab@suse.de>
3981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
3982 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
3983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
3984 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
3985 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
3987 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3989 * timezone/private.h: Update from tzcode 2018g.
3990 * timezone/tzfile.h: Likewise.
3991 * timezone/tzselect.ksh: Likewise.
3992 * timezone/zdump.c: Likewise.
3993 * timezone/zic.c: Likewise.
3995 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3998 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
3999 (do_test): Adjust buffer size and fix format.
4001 2018-12-07 DJ Delorie <dj@redhat.com>
4004 * malloc/tst-tcfree3.c: New.
4005 * malloc/Makefile: Add it.
4007 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4009 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
4011 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4013 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
4014 used as a mask for the mode argument of __vfscanf_internal and
4015 __vfwscanf_internal.
4016 * stdio-common/vfscanf-internal.c
4017 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
4018 (__strtof128_internal): Define to __wcstof128_internal.
4019 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
4020 __strtof128_internal or __wcstof128_internal when the format of
4021 long double is the same as _Float128.
4023 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
4025 * include/unistd.h (__confstr): Add prototype and hidden prototype.
4026 * posix/confstr.c (confstr): Rename to __confstr.
4027 (__confstr): Add hidden def.
4028 (confstr): Add weak alias for __confstr.
4029 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
4032 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4034 * NEWS: Mention getcpu.
4035 * include/sched.h (__getcpu): New libc_hidden_proto.
4036 * manual/resource.texi: Document getcpu.
4037 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
4038 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
4039 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
4040 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4041 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4042 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4043 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4044 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4045 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4046 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4047 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4048 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4049 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4051 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4052 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4053 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4062 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4063 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4064 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4065 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4066 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4067 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4068 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4069 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4070 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
4071 * sysdeps/unix/sysv/linux/getcpu.c: New file.
4072 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
4075 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4077 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
4079 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
4081 2018-12-07 Florian Weimer <fweimer@redhat.com>
4084 * posix/Makefile (routines): Add spawn_faction_addfchdir.
4085 * posix/Versions (GLIBC_2.29): Export
4086 posix_spawn_file_actions_addfchdir_np.
4087 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
4088 * posix/spawn_faction_destroy.c
4089 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
4090 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
4091 and the field action.fchdir_action.
4092 * posix/tst-spawn-chdir.c (add_chdir): New function.
4093 (do_test): Add do_fchdir loop. Call add_chdir.
4094 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
4095 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4096 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4097 posix_spawn_file_actions_addfchdir_np.
4098 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4100 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4102 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4103 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4105 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4107 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4109 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4111 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4113 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4115 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4116 (GLIBC_2.29): Likewise.
4117 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4118 (GLIBC_2.29): Likewise.
4119 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4120 (GLIBC_2.29): Likewise.
4121 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4122 (GLIBC_2.29): Likewise.
4123 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4126 (GLIBC_2.29): Likewise.
4127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4128 (GLIBC_2.29): Likewise.
4129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4130 (GLIBC_2.29): Likewise.
4131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4132 (GLIBC_2.29): Likewise.
4133 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4135 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4137 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4139 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4140 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4142 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4144 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4146 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4149 2018-12-06 Joseph Myers <joseph@codesourcery.com>
4151 * manual/texinfo.tex: Update to version 2018-09-21.20 with
4152 trailing whitespace removed.
4153 * scripts/config.guess: Update to version 2018-11-28.
4154 * scripts/config.sub: Update to version 2018-11-28.
4155 * scripts/install-sh: Update to version 2018-03-11.20.
4156 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
4157 * scripts/move-if-change: Update to version 2018-03-07 03:47.
4159 2018-12-07 Florian Weimer <fweimer@redhat.com>
4163 * inet/tst-if_index-long.c: New file.
4164 * inet/Makefile (tests): Add tst-if_index-long.
4166 2018-12-07 Florian Weimer <fweimer@redhat.com>
4168 * support/check.h (support_record_failure_is_failed): Declare.
4169 * support/descriptors.h: New file.
4170 * support/support_descriptors.c: Likewise.
4171 * support/tst-support_descriptors.c: Likewise.
4172 * support/support_record_failure.c
4173 (support_record_failure_is_failed): New function.
4174 * support/Makefile (libsupport-routines): Add support_descriptors.
4175 (tests): Add tst-support_descriptors.
4177 2018-12-05 Zack Weinberg <zackw@panix.com>
4178 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4180 * stdio-common/vfprintf-internal.c
4181 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
4182 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
4183 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
4184 and __no_long_double.
4185 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
4186 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
4187 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
4188 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
4189 and __nldbl_*syslog* functions.
4190 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
4191 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
4192 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
4193 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
4194 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
4195 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
4196 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
4197 (__nldbl_vwprintf, __nldbl_wprintf):
4198 Directly call the appropriate __v*printf_internal routine, passing
4199 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
4201 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
4202 (__nldbl___printf_chk, __nldbl___snprintf_chk)
4203 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
4204 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
4205 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
4206 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4207 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
4208 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
4209 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
4210 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
4211 Likewise, and also pass PRINTF_FORTIFY when appropriate.
4212 (__nldbl_syslog, __nldbl_vsyslog):
4213 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
4214 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4216 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4219 2018-12-05 Zack Weinberg <zackw@panix.com>
4220 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4223 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
4224 Moved here from debug/vsprintf_chk.c.
4225 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
4226 and completion logic for the strfile to match exactly what
4227 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
4228 _IO_str_init_static_internal instead of maxlen-1.
4229 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4230 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
4231 __vsprintf_internal.
4233 * debug/vsprintf_chk.c (__vsprintf_chk)
4234 * debug/sprintf_chk.c (__sprintf_chk):
4235 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
4236 'flags' argument is positive, and slen as maxlen. No need to lock
4237 the FILE and/or construct a temporary FILE. Minimize and normalize
4238 header inclusions and variable names. Do not libc_hidden_def anything.
4240 * debug/asprintf_chk.c (__asprintf_chk)
4241 * debug/dprintf_chk.c (__dprintf_chk)
4242 * debug/fprintf_chk.c (__fprintf_chk)
4243 * debug/fwprintf_chk.c (__fwprintf_chk)
4244 * debug/printf_chk.c (__printf_chk)
4245 * debug/snprintf_chk.c (__snprintf_chk)
4246 * debug/swprintf_chk.c (__swprintf_chk)
4247 * debug/vasprintf_chk.c (__vasprintf_chk)
4248 * debug/vdprintf_chk.c (__vdprintf_chk)
4249 * debug/vfprintf_chk.c (__vfprintf_chk)
4250 * debug/vfwprintf_chk.c (__vfwprintf_chk)
4251 * debug/vprintf_chk.c (__vprintf_chk)
4252 * debug/vsnprintf_chk.c (__vsnprintf_chk)
4253 * debug/vswprintf_chk.c (__vswprintf_chk)
4254 * debug/vwprintf_chk.c (__vwprintf_chk)
4255 * debug/wprintf_chk.c (__wprintf_chk):
4256 Directly call the corresponding vxxprintf_internal function, passing
4257 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
4258 the FILE and/or construct a temporary FILE. Minimize and normalize
4259 header inclusions and variable names. Do not libc_hidden_def anything.
4261 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
4262 __obstack_vprintf_internal.
4263 (__obstack_vprintf_chk): Convert into a wrapper that calls
4264 __obstack_vprintf_internal (these two functions already had the
4265 same code) and move to new file...
4266 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
4268 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
4269 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
4270 * debug/Makefile (routines): Add vobprintf_chk.
4272 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4273 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4274 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
4275 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4276 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
4277 (__nldbl___obstack_vfprintf_chk):
4278 Directly call the corresponding vxxprintf_internal function,
4279 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
4280 duplicate comparison of slen with 0 or maxlen from the corresponding
4281 non-__nldbl function.
4283 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
4284 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
4285 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
4286 Remove libc_hidden_proto.
4288 * stdio-common/vfprintf-internal.c
4289 (__vfprintf_internal, __vfwprintf_internal):
4290 Do not check _IO_FLAGS2_FORTIFY.
4291 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
4292 * libio/libioP.h: Update prototype of __vsprintf_internal and add
4293 a comment explaining why it has the maxlen argument.
4294 (_IO_acquire_lock_clear_flags2_fct): Remove.
4295 (_IO_acquire_lock_clear_flags2): Remove.
4296 (_IO_release_lock): Remove conditional statement which will
4298 (_IO_acquire_lock): Remove variable which is now unused.
4299 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4300 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4302 * stdio-common/Makefile (tests): Add tst-bz11319 and
4303 tst-bz11319-fortify2.
4304 (CFLAGS-tst-bz11319-fortify2.c): New macro.
4305 * stdio-common/tst-bz11319-fortify2.c: New file.
4306 * stdio-common/tst-bz11319.c: Likewise.
4308 2018-12-05 Zack Weinberg <zackw@panix.com>
4309 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4311 * misc/syslog.c: Include libioP.h, not iolibio.h.
4312 (__vsyslog_internal): New function with the former body of
4313 __vsyslog_chk; takes mode_flags argument same as
4314 __v*printf_internal. Call __vfprintf_internal directly.
4316 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
4317 Remove libc_hidden_def.
4318 (__syslog, __syslog_chk): Use __vsyslog_internal.
4319 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
4321 * include/sys/syslog.h: Add multiple inclusion guard.
4322 Add prototype for __vsyslog_internal.
4323 Remove declaration and libc_hidden_proto for __vsyslog_chk.
4325 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
4326 Use __vsyslog_internal.
4328 2018-12-05 Zack Weinberg <zackw@panix.com>
4329 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4331 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
4332 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
4333 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
4335 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
4336 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
4338 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
4339 Include wctype.h here if COMPILE_WPRINTF is defined.
4340 Define __vfprintf_internal or __vfwprintf_internal, depending
4342 Temporarily, on entry to this function, update mode_flags
4343 according to the environmental settings corresponding to
4344 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
4345 Throughout, check mode_flags instead of __ldbl_is_dbl and
4346 _IO_FLAGS2_FORTIFY on the destination FILE.
4347 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
4348 Include vfprintf-internal.c. Don't include wctype.h.
4349 * stdio-common/vfprintf.c: New file. Just define __vfprintf
4350 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
4352 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
4353 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
4355 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
4357 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
4358 and add mode_flags argument; use __vfprintf_internal.
4359 (__vdprintf): New function. Alias vdprintf to this.
4360 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
4361 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
4362 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
4363 (__obstack_printf): Use __obstack_printf_internal.
4364 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
4365 public aliases __vsnprintf and vsnprintf.
4366 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
4368 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
4369 public aliases _IO_vsprintf and vsprintf.
4370 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
4371 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
4372 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
4373 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
4374 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
4376 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
4377 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
4378 * stdio-common/fprintf.c, stdio-common/fxprintf.c
4379 * stdio-common/printf.c: Use __vfprintf_internal.
4381 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
4382 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
4383 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
4385 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
4386 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
4387 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
4388 __vfwprintf_internal.
4390 * libio/libio.h: Remove libc_hidden_proto and declaration for
4392 Remove declaration of _IO_vfwprintf.
4393 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
4395 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
4397 * include/stdio.h: Add prototype for __vasprintf.
4398 (__vsnprintf): Remove declaration, because there are no more
4400 * include/wchar.h (__vfwprintf, __vswprintf): Remove
4401 declaration, because there are no more internal calls.
4403 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
4404 __vsnprintf_internal, instead of _IO_vsnprintf.
4405 * argp/argp-help.c (__argp_error, __argp_failure): Use
4406 __vasprintf_internal, instead of _IO_vasprintf.
4407 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
4408 redefine, because there are no more internal calls.
4410 2018-12-05 Zack Weinberg <zackw@panix.com>
4411 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4413 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
4414 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
4415 Include libio/strfile.h instead of libioP.h.
4416 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
4417 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
4418 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
4419 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
4420 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
4421 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
4422 necessary. Do not set __no_long_double. Normalize variable names.
4423 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
4424 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
4425 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
4426 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
4427 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
4428 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
4429 Call __vfscanf_internal / __vfwscanf_internal directly, passing
4430 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
4431 Do not set __no_long_double. Normalize variable names.
4433 2018-12-05 Zack Weinberg <zackw@panix.com>
4434 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4436 * stdio-common/isoc99_scanf.c
4437 * stdio-common/isoc99_fscanf.c
4438 * stdio-common/isoc99_sscanf.c
4439 * stdio-common/isoc99_vscanf.c
4440 * stdio-common/isoc99_vfscanf.c
4441 * stdio-common/isoc99_vsscanf.c
4442 * wcsmbs/isoc99_wscanf.c
4443 * wcsmbs/isoc99_fwscanf.c
4444 * wcsmbs/isoc99_swscanf.c
4445 * wcsmbs/isoc99_vwscanf.c
4446 * wcsmbs/isoc99_vfwscanf.c
4447 * wcsmbs/isoc99_vswscanf.c:
4448 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
4449 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
4450 No need to lock and unlock the FILE passed to that function.
4452 * stdio-common/vfscanf-internal.c
4453 (__vfscanf_internal, __vfwscanf_internal):
4454 Don't look at _IO_FLAGS2_SCANF_STD.
4455 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
4456 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
4457 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
4459 2018-12-05 Zack Weinberg <zackw@panix.com>
4460 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4462 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
4463 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
4464 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
4465 * libio/strfile.h: Add multiple inclusion guard.
4466 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
4468 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
4469 consistency with the other version of this file.
4470 (ldbl_compat_symbol): New macro.
4471 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
4474 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
4475 Define __vfscanf_internal or __vfwscanf_internal, depending on
4476 COMPILE_WSCANF; don't define any other public symbols.
4477 Remove errval and code to set errp.
4478 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
4479 as the mode_flags argument.
4480 (encode_error, conv_error, input_error): Don't set errval.
4481 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
4482 Include vfscanf-internal.c.
4483 * stdio-common/vfscanf.c: New file defining the public entry
4484 point vfscanf, which calls __vfscanf_internal.
4485 * stdio-common/vfwscanf.c: New file defining the public entry
4486 point vfwscanf, which calls __vfwscanf_internal.
4488 * stdio-common/iovfscanf.c: New file.
4489 * stdio-common/iovfwscanf.c: Likewise.
4491 * stdio-common/Makefile (routines): Add vfscanf-internal,
4492 vfwscanf-internal, iovfscanf, iovfwscanf.
4493 * stdio-common/Versions: Mention GLIBC_2.29, so that
4494 it can be used in SHLIB_COMPAT expressions.
4495 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
4496 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
4497 Call __vfscanf_internal, instead of _IO_vfscanf.
4498 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
4500 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
4503 * libio/iovsscanf.c: Clean up includes, when possible. Use
4504 _IO_strfile_read or _IO_strfile_readw, when needed. Call
4505 __vfscanf_internal or __vfwscanf_internal directly.
4506 * libio/iovswscanf.c: Likewise.
4507 * libio/swscanf.c: Likewise.
4508 * libio/vscanf.c: Likewise.
4509 * libio/vwscanf.c: Likewise.
4510 * libio/wscanf.c: Likewise.
4511 * stdio-common/isoc99_fscanf.c: Likewise.
4512 * stdio-common/isoc99_scanf.c: Likewise.
4513 * stdio-common/isoc99_sscanf.c: Likewise.
4514 * stdio-common/isoc99_vfscanf.c: Likewise.
4515 * stdio-common/isoc99_vscanf.c: Likewise.
4516 * stdio-common/isoc99_vsscanf.c: Likewise.
4517 * stdio-common/scanf.c: Likewise.
4518 * stdio-common/sscanf.c: Likewise.
4519 * wcsmbs/isoc99_fwscanf.c: Likewise.
4520 * wcsmbs/isoc99_swscanf.c: Likewise.
4521 * wcsmbs/isoc99_vfwscanf.c: Likewise.
4522 * wcsmbs/isoc99_vswscanf.c: Likewise.
4523 * wcsmbs/isoc99_vwscanf.c: Likewise.
4524 * wcsmbs/isoc99_wscanf.c: Likewise.
4526 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
4529 (__tz_compute): Replace time_t with __time64_t.
4530 (__tz_convert): Replace time_t* with __time64_t.
4531 (__offtime): Replace time_t* with __time64_t.
4533 (__gmtime_r): Adjust call to __tz_convert.
4536 (__localtime_r): Likewise.
4537 (localtime): Likewise.
4538 * time/offtime.c: Replace time_t with __time64_t.
4539 * time/tzset.c: Likewise.
4541 2018-12-04 Joseph Myers <joseph@codesourcery.com>
4543 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
4544 dynamic linker unless [$(run-built-tests) = yes].
4546 2018-12-03 DJ Delorie <dj@delorie.com>
4548 * support/test-container.c (check_for_unshare_hints): New.
4549 (main): Call it if unshare fails. Add support for "su" scriptlet
4552 2018-12-03 Joseph Myers <joseph@codesourcery.com>
4554 * scripts/gen-as-const.py (compute_c_consts): Take an argument
4555 'START' to indicate that start text should be output.
4556 (gen_test): Likewise.
4557 (main): Generate 'START' for first symbol or '--' line, or at end
4558 of input if not previously generated.
4560 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
4563 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
4564 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
4565 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
4566 ALWAYS_USE_VSYSCALL.
4568 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4571 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
4574 2018-12-03 Carlos O'Donell <carlos@redhat.com>
4577 * locale/programs/localedef.c: Declare boolean hard_links default true.
4578 (options): Add --no-hard-links option.
4579 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
4580 * locale/programs/localedef.h: Declare prototype for hard_links.
4581 * locale/programs/locfile.c (write_locale_data): Don't use hard
4582 links if hard_links is false.
4584 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
4586 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
4588 (__cache_sysconf): Likewise.
4589 (init_cacheinfo): Likewise.
4590 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
4591 populate COMMON_CPUID_INDEX_80000007 and
4592 COMMON_CPUID_INDEX_80000008.
4593 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
4594 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
4595 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
4596 (init_cpu_features): Use _Static_assert on
4597 index_arch_Fast_Unaligned_Load.
4598 __get_cpuid_registers and __get_arch_feature. Updated for
4599 cpu_features_basic. Set stepping in cpu_features.
4600 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
4601 (FEATURE_INDEX_2): New.
4602 (FEATURE_INDEX_MAX): Changed to enum.
4603 (COMMON_CPUID_INDEX_D_ECX_1): New.
4604 (COMMON_CPUID_INDEX_80000007): Likewise.
4605 (COMMON_CPUID_INDEX_80000008): Likewise.
4606 (cpuid_registers): Likewise.
4607 (cpu_features_basic): Likewise.
4608 (CPU_FEATURE_USABLE): Likewise.
4609 (bit_arch_XXX_Usable): Likewise.
4610 (cpu_features): Use cpuid_registers and cpu_features_basic.
4611 (bit_arch_XXX): Reweritten.
4612 (bit_cpu_XXX): Likewise.
4613 (index_cpu_XXX): Likewise.
4614 (reg_XXX): Likewise.
4615 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
4617 (CHECK_CPU_FEATURE): New.
4618 (CHECK_CPU_FEATURE_USABLE): Likewise.
4619 (cpu_kinds): Likewise.
4620 (do_test): Print vendor, family, model and stepping. Check
4621 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
4622 (TEST_FUNCTION): Removed.
4623 Include <support/test-driver.c> instead of
4624 "../../test-skeleton.c".
4625 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
4626 Check POPCNT instead of POPCOUNT.
4627 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
4629 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4631 * scripts/gen-as-const.py (main): Avoid emitting empty line when
4632 there is no element in `consts'.
4634 2018-12-01 Florian Weimer <fweimer@redhat.com>
4636 * support/support_capture_subprocess.c
4637 (support_capture_subprocess): Check that pipe descriptors have
4638 expected values. Close original pipe descriptors in subprocess.
4640 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4643 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
4644 attr with __pthread_default_barrierattr.
4645 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
4646 attr with __pthread_default_condattr.
4647 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
4648 attr with __pthread_default_mutexattr.
4649 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
4650 attr with __pthread_default_rwlockattr.
4652 2018-12-01 Kemi Wang <kemi.wang@intel.com>
4654 * manual/tunables.texi (POSIX Thread Tunables): New node.
4655 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
4656 * nptl/nptl-init.c: Include pthread_mutex_conf.h
4657 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
4658 __pthread_tunables_init.
4659 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
4660 (max_adaptive_count): Define.
4661 * nptl/pthread_mutex_conf.c: New file.
4662 * nptl/pthread_mutex_conf.h: New file.
4663 * sysdeps/generic/adaptive_spin_count.h: New file.
4664 * sysdeps/nptl/dl-tunables.list: New file.
4665 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4666 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
4667 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
4670 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4673 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
4674 * stdlib/on_exit.c (__on_exit): Likewise.
4675 * stdlib/Makefile (tests): Add tst-bz20544.
4676 * stdlib/tst-bz20544.c: New test.
4678 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
4681 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
4682 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
4685 2018-11-30 Florian Weimer <fweimer@redhat.com>
4687 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
4688 Extend error logging.
4689 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
4692 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4694 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
4695 __sigismember instead of sigismember.
4696 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
4697 cancel_handler): New definitions.
4698 (do_system): Use posix_spawn instead of fork and execl and remove
4700 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
4701 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
4702 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
4703 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4704 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4705 * sysdeps/unix/sysv/linux/system.c: Likewise.
4709 * NEWS: Add new semantic for atfork with popen and system.
4710 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
4713 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4716 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
4717 modification order when accessing reloc_result->addr.
4718 * include/link.h (reloc_result): Add field init.
4719 * nptl/Makefile (tests): Add tst-audit-threads.
4720 (modules-names): Add tst-audit-threads-mod1 and
4721 tst-audit-threads-mod2.
4722 Add rules to build tst-audit-threads.
4723 * nptl/tst-audit-threads-mod1.c: New file.
4724 * nptl/tst-audit-threads-mod2.c: Likewise.
4725 * nptl/tst-audit-threads.c: Likewise.
4726 * nptl/tst-audit-threads.h: Likewise.
4728 2018-11-30 Joseph Myers <joseph@codesourcery.com>
4730 * scripts/gen-as-const.py: New file.
4731 * scripts/gen-as-const.awk: Remove.
4732 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
4734 ($(objpfx)test-as-const-%.c): Likewise.
4736 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4738 * elf/dl-exception.c: Include <_itoa.h>.
4740 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
4742 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
4743 returned by __f_setlk.
4745 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4746 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4748 * elf/Makefile (tests-internal): Add tst-create_format1.
4749 * elf/dl-exception.c (_dl_exception_create_format): Support
4751 * elf/tst-create_format1.c: New file.
4753 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
4755 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
4756 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
4758 * argp/argp-help.c (__argp_failure): Likewise.
4760 2018-11-29 Mao Han <han_mao@c-sky.com>
4762 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
4763 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
4764 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
4765 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
4766 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
4767 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
4768 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
4769 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
4770 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
4771 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
4772 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
4773 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
4774 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
4775 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
4776 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
4777 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
4778 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
4779 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
4780 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
4781 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
4782 (R_CKCORE_TLS_TPOFF32): New defines.
4784 2018-11-29 Florian Weimer <fweimer@redhat.com>
4786 * posix/Makefile (before-compile): Remove testcases.h and
4788 (generated): Add testcases.h and ptestcases.h.
4789 (testcases.h, ptestcases.h): Move to $(objpfx).
4790 (runtests.o): Add dependency on testcases.h.
4791 (runptests.o): Add dependency on ptestcases.h.
4792 * posix/testcases.h, posix/ptestcases.h: Remove files.
4793 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
4794 not touch posix/testcases.h and posix/ptestcases.h.
4796 2018-11-28 Florian Weimer <fweimer@redhat.com>
4798 support: Add signal support to support_capture_subprocess_check.
4799 * support/capture_subprocess.h (support_capture_subprocess_check):
4800 Adjust comment and rename parameter.
4801 * support/support_capture_subprocess_check.c
4802 (print_actual_status): New function.
4803 (support_capture_subprocess_check): Support negative
4804 status_or_signal. Call print_actual_status.
4805 * support/tst-support_capture_subprocess.c (do_test): Call
4806 support_capture_subprocess_check.
4807 * libio/tst-vtables-common.c (termination_status)
4808 (init_termination_status): Remove.
4809 (check_for_termination): Adjust support_capture_subprocess_check
4811 (do_test): Remove call to init_termination_status.
4813 2018-11-28 Joseph Myers <joseph@codesourcery.com>
4815 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
4816 source directory instead of a copy.
4817 (CommandList.create_copy_dir): Remove.
4819 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
4821 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4823 2018-11-28 Florian Weimer <fweimer@redhat.com>
4825 * support/support.h (support_quote_string): Do not use str
4828 2018-11-27 Joseph Myers <joseph@codesourcery.com>
4830 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
4831 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
4833 2018-11-27 Florian Weimer <fweimer@redhat.com>
4835 * support/support.h (support_quote_string): Declare.
4836 * support/support_quote_string.c: New file.
4837 * support/tst-support_quote_string.c: Likewise.
4838 * support/Makefile (libsupport-routines): Add
4839 support_quote_string.
4840 (tests): Add tst-support_quote_string.
4842 2018-11-27 Florian Weimer <fweimer@redhat.com>
4846 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
4847 descriptor leak in case of ENODEV error.
4849 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
4852 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
4853 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
4854 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
4856 2018-11-26 Carlos O'Donell <carlos@redhat.com>
4858 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
4859 Error for unknown lines.
4861 2018-11-26 Joseph Myers <joseph@codesourcery.com>
4863 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4864 Touch additional files.
4866 2018-11-26 Florian Weimer <fweimer@redhat.com>
4869 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
4872 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
4875 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
4876 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
4877 SHARED. Include sysdep.h.
4878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
4879 ALWAYS_USE_VSYSCALL.
4880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
4881 ALWAYS_USE_VSYSCALL.
4883 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
4886 * nptl/Makefile (tests-static): Add tst-cond11-static.
4888 * nptl/tst-cond11-static.c: New File.
4889 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
4890 tst-affinity-static.
4892 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
4894 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
4895 (USE_VSYSCALL): Likewise.
4896 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
4897 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
4899 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
4901 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
4904 2018-11-23 Joseph Myers <joseph@codesourcery.com>
4907 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4908 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
4911 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
4913 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
4914 (tst-cet-legacy-1a-ARGS): New.
4915 ($(objpfx)tst-cet-legacy-1a): New target.
4916 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
4918 2018-11-22 Joseph Myers <joseph@codesourcery.com>
4920 * conform/conformtest.py (CompileSubTest.__init__): Set
4921 self.run_early to False.
4922 (ExecuteSubTest.__init__): Likewise.
4923 (HeaderTests.run): Try running all non-optional, non-XFAILed
4924 compilation tests in a single execution of the compiler.
4926 * conform/conformtest.py (CompileSubTest): New class.
4927 (ExecuteSubTest): Likewise.
4928 (ElementTest.run): Rename to gen_subtests. Append tests to
4929 self.subtests instead of running them.
4930 (ConstantTest.run): Likewise.
4931 (SymbolTest.run): Likewise.
4932 (TypeTest.run): Likewise.
4933 (TagTest.run): Likewise.
4934 (FunctionTest.run): Likewise.
4935 (VariableTest.run): Likewise.
4936 (MacroFunctionTest.run): Likewise.
4937 (MacroStrTest.run): Likewise.
4938 (HeaderTests.handle_test_line): Generate subtests for tests.
4939 (HeaderTests.run): Run subtests for tests.
4941 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4943 * math/Versions (GLIBC_2.29): Add pow.
4944 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
4946 * math/w_pow.c: New file.
4947 * sysdeps/i386/fpu/w_pow.c: New file.
4948 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
4949 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
4950 and add necessary aliases.
4951 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
4952 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
4953 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4954 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4955 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4956 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4957 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4958 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4959 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4960 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4961 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4962 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4963 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4964 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4965 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4970 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4971 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4972 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4973 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4974 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4975 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4976 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4977 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
4979 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
4980 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
4981 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
4983 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4985 * math/Versions (GLIBC_2.29): Add log2.
4986 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
4988 * math/w_log2.c: New file.
4989 * sysdeps/i386/fpu/w_log2.c: New file.
4990 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
4991 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
4992 and add necessary aliases.
4993 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
4994 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
4995 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4996 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4997 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4998 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4999 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5000 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5001 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5002 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5003 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5004 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5005 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5006 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5007 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5012 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5013 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5014 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5015 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5016 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5017 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5018 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5020 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5022 * math/Versions (GLIBC_2.29): Add log.
5023 * math/w_log_compat.c (__log_compat): Change to versioned compat
5025 * math/w_log.c: New file.
5026 * sysdeps/i386/fpu/w_log.c: New file.
5027 * sysdeps/ia64/fpu/e_log.S: Update.
5028 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
5029 and add necessary aliases.
5030 * sysdeps/ieee754/dbl-64/w_log.c: New file.
5031 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
5032 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5033 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5034 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5035 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5036 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5037 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5038 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5039 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5040 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5041 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5042 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5043 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5044 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5049 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5050 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5051 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5052 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5053 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5054 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5055 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5056 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
5058 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
5059 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
5060 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
5061 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
5063 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5065 * math/Versions (GLIBC_2.29): Add exp and exp2.
5066 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
5067 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
5068 * math/w_exp_compat.c (__exp_compat): Likewise.
5069 * math/w_exp.c: New file.
5070 * math/w_exp2.c: New file.
5071 * sysdeps/i386/fpu/w_exp.c: New file.
5072 * sysdeps/i386/fpu/w_exp2.c: New file.
5073 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
5074 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
5075 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
5076 and add necessary aliases.
5077 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
5078 and add necessary aliases.
5079 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
5080 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
5081 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
5082 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
5083 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5084 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5085 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5086 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5087 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5088 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5089 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5090 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5091 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5092 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5093 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5094 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5095 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5100 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5101 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5102 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5103 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5104 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5105 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5106 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5107 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
5108 (__ieee754_exp): Rename to __exp.
5109 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
5110 (__ieee754_exp): Rename to __exp.
5111 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
5112 (__ieee754_exp): Rename to __exp.
5113 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
5115 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
5117 2018-11-20 DJ Delorie <dj@redhat.com>
5119 * malloc/malloc.c (tcache_entry): Add key field.
5120 (tcache_put): Set it.
5121 (tcache_get): Likewise.
5122 (_int_free): Check for double free in tcache.
5123 * malloc/tst-tcfree1.c: New.
5124 * malloc/tst-tcfree2.c: New.
5125 * malloc/Makefile: Run the new tests.
5126 * manual/probes.texi: Document memory_tcache_double_free probe.
5128 * dlfcn/dlerror.c (check_free): Prevent double frees.
5130 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
5132 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
5134 2018-11-20 Joseph Myers <joseph@codesourcery.com>
5136 * conform/conformtest.py (ElementTest.run): Use unique identifiers
5137 in tests. Use names for format arguments.
5138 (ConstantTest.run): Likewise.
5139 (SymbolTest.run): Likewise.
5140 (TypeTest.run): Likewise.
5141 (TagTest.run): Likewise.
5142 (FunctionTest.run): Likewise.
5143 (VariableTest.run): Likewise.
5144 (MacroFunctionTest.run): Likewise.
5145 (MacroStrTest.run): Likewise.
5146 (HeaderTests.__init__): Set self.num_tests.
5147 (HeaderTests.handle_test_line): Set test.num. Increment
5150 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5152 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
5153 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
5156 2018-11-19 Mao Han <han_mao@c-sky.com>
5158 * scripts/config.guess: Update to version 2018-08-29.
5159 * scripts/config.sub: Update to version 2018-08-29.
5161 2018-11-19 Florian Weimer <fweimer@redhat.com>
5163 support: Print timestamps in timeout handler.
5164 * support/support_test_main.c (print_timestamp): New function.
5165 (signal_handler): Use it to print the termination time and the
5166 time of the last write to standard output.
5168 2018-11-16 Zack Weinberg <zackw@panix.com>
5169 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5171 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
5172 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
5174 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
5175 and add flags argument. Check flags instead of __ldbl_is_dbl when
5176 deciding whether to set is_long_double.
5177 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
5178 passing zero for flags argument.
5179 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
5181 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5182 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
5183 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
5184 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
5185 variable names. Remove libc_hidden_def/libc_hidden_proto from
5186 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
5187 longer called from within the library.
5188 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
5189 for __nldbl___vstrfmon_l, declare it explicitly.
5191 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
5193 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
5195 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
5197 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
5198 F_SETLK64, F_SETLKW64, respectively.
5199 * sysdeps/mach/hurd/f_setlk.c: New file.
5200 * sysdeps/mach/hurd/f_setlk.h: New file.
5201 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
5203 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
5204 (__libc_fcntl): Move non-flock operations to...
5205 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
5206 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
5208 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
5210 mktime: DEBUG_MKTIME cleanup
5211 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
5212 And it’s no longer needed now that glibc and Gnulib both have
5213 their own testing mechanisms for mktime.
5214 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
5216 mktime: fix non-EOVERFLOW errno handling
5218 mktime was not properly reporting failures when the underlying
5219 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
5220 them like EOVERFLOW failures, and set errno to EOVERFLOW.
5221 The problem could happen on non-glibc platforms, with Gnulib.
5222 * time/mktime.c (guess_time_tm): Remove, replacing with ...
5223 (tm_diff): ... this simpler function, which does not change errno.
5224 All callers changed to deal with errno themselves.
5225 (ranged_convert, __mktime_internal): Return failure immediately if
5226 the underlying function reports any failure other than EOVERFLOW.
5227 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
5230 mktime: fix bug with Y2038 DST transition
5232 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
5233 mishandle a DST transition that jumps over the Y2038 boundary.
5234 No such DST transitions are known so this is only a theoretical
5235 bug, but we might as well do things right.
5237 mktime: make more room for overflow
5239 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
5240 This is so that we can add tm_diff results to a previous guess,
5241 which will be useful in a later patch.
5243 mktime: simplify offset guess
5245 * time/mktime.c (__mktime_internal): Omit excess precision.
5247 mktime: new test for mktime failure
5249 Based on a test suggested by Albert Aribaud in:
5250 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
5251 * time/Makefile (tests): Add bug-mktime4.
5252 * time/bug-mktime4.c: New file.
5254 mktime: fix EOVERFLOW bug
5256 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
5257 Include libc-config.h, not config.h, for __set_errno.
5258 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
5260 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
5262 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
5263 __attribute_copy__ to copy attributes from name. Drop static qualifier
5264 to avoid warnings about leaf attribute not having effect on static
5267 2018-11-13 Florian Weimer <fweimer@redhat.com>
5269 * malloc/malloc.c (fastbin_push_entry): New function.
5270 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
5271 (REMOVE_FB): Remove macro.
5272 (_int_malloc): Use fastbin_pop_entry and reindent.
5273 (_int_free): Use fastbin_push_entry.
5274 (malloc_consolidate): Use atomic_exchange_acquire.
5276 2018-11-13 Joseph Myers <joseph@codesourcery.com>
5278 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
5279 alias attribute, not with strong_alias.
5281 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
5282 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
5283 with additional parameter thread.
5284 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
5285 in terms of __hidden_ver2.
5286 (hidden_tls_def): New macro.
5287 (libc_hidden_tls_def): Likewise.
5288 (rtld_hidden_tls_def): Likewise.
5289 (libm_hidden_tls_def): Likewise.
5290 (libmvec_hidden_tls_def): Likewise.
5291 (libresolv_hidden_tls_def): Likewise.
5292 (librt_hidden_tls_def): Likewise.
5293 (libdl_hidden_tls_def): Likewise.
5294 (libnss_files_hidden_tls_def): Likewise.
5295 (libnsl_hidden_tls_def): Likewise.
5296 (libnss_nisplus_hidden_tls_def): Likewise.
5297 (libutil_hidden_tls_def): Likewise.
5298 (libutil_hidden_tls_def): Likweise.
5299 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
5300 libc_hidden_tls_def.
5301 (__sim_disabled_exceptions_thread): Likewise.
5302 (__sim_round_mode_thread): Likewise.
5304 * sysdeps/sparc/sparc-ifunc.h [SHARED]
5305 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
5306 copy attributes from name.
5308 2018-11-12 Joseph Myers <joseph@codesourcery.com>
5310 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
5311 Use __attribute_copy__ to copy attributes from name.
5313 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
5314 with __hidden_ver1 call.
5315 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
5316 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
5317 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
5318 (__cosf): Do not declare here.
5319 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
5320 (__sincosf): Do not declare here.
5321 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
5322 (__sinf): Do not declare here.
5324 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
5325 (__BIG_ENDIAN): Likewise.
5326 (__BYTE_ORDER): Likewise.
5327 (strong_alias): Likewise.
5328 (_strong_alias): Likewise.
5330 2018-11-12 Florian Weimer <fweimer@redhat.com>
5332 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
5333 function. Move after the definition of in_smallbin_range. Do not
5334 use __builtin_expect for paths that lead to a noreturn function.
5335 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
5336 because it is unclear whether this is in fact an unlikely
5338 (_int_malloc, _int_free): Adjust.
5339 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
5341 * malloc/arena.c (heap_trim): Likewise.
5343 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5345 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
5346 it, free it if needed.
5347 (reauthenticate): Test and use ccwdir.
5348 (child_init_port): In non-resetids case, test and use ccwdir.
5349 (child_chdir): New nested function to set ccwdir.
5350 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
5351 * hurd/hurd/port.h (_hurd_port_move): New function.
5352 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
5353 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
5354 * hurd/Versions (_hurd_port_move): Export function.
5355 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
5357 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
5358 of dtablesize for allocating dtable_cloexec.
5360 2018-11-09 Martin Sebor <msebor@redhat.com>
5362 * include/libc-symbols.h (__attribute_copy__): Define macro unless
5363 it's already defined.
5364 (_strong_alias): Use __attribute_copy__.
5365 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
5366 * misc/sys/cdefs.h (__attribute_copy__): New macro.
5367 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
5368 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
5369 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
5370 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
5371 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
5372 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
5373 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
5374 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
5375 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
5376 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
5377 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
5378 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
5379 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
5380 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
5381 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
5382 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
5383 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
5385 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5387 * misc/tst-efgcvt.c: Include support/check.h and
5388 support/test-driver.c. Do not include test-skeleton.c.
5389 (error_count): Remove.
5390 (output_error): Replace increments to error_count with calls to
5391 support_record_failure.
5392 (output_r_error): Likewise.
5393 (special): Likewise.
5394 (do_test): Unconditionally return zero.
5395 (TEST_FUNCTION): Remove.
5397 2018-11-09 Joseph Myers <joseph@codesourcery.com>
5399 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
5401 ($(linknamespace-header-tests)): Likewise.
5403 * conform/conformtest.py: New file.
5404 * conform/conformtest.pl: Remove.
5405 * conform/GlibcConform.pm: Likewise.
5406 * conform/glibcconform.py (KEYWORDS_C90): New constant.
5407 (KEYWORDS_C99): Likewise.
5408 (KEYWORDS): Likewise.
5409 * conform/Makefile ($(conformtest-header-tests)): Use
5410 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
5411 option. Use --header instead of --headers.
5412 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
5414 * conform/data/spawn.h-data: Likewise.
5415 * conform/data/fcntl.h-data (openat): Add space after function
5417 * conform/data/wchar.h-data (wcscasecmp): Likewise.
5418 (wcscasecmp_l): Likewise.
5419 * conform/data/termios.h-data (c_cc): Add space after element
5422 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5424 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
5425 instead of manually comparing and reporting mismatching strings.
5426 * misc/tst-ldbl-error.c (do_one_test): Likewise.
5427 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5429 2018-11-08 Joseph Myers <joseph@codesourcery.com>
5431 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
5432 __ASSUME_SOCKETCALL.
5433 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5434 (__ASSUME_SOCKETCALL): Remove.
5435 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5436 (__ASSUME_SOCKETCALL): Likewise.
5437 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5438 (__ASSUME_SOCKETCALL): Likewise.
5439 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5440 (__ASSUME_SOCKETCALL): Likewise.
5441 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5442 (__ASSUME_SOCKETCALL): Likewise.
5443 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5444 (__ASSUME_SOCKETCALL): Likewise.
5445 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5446 (__ASSUME_SOCKETCALL): Likewise.
5448 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
5451 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
5452 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
5453 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
5454 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
5455 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
5458 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
5461 * resolv/tst-resolv-network.c: Add test for getnetbyname.
5463 2018-11-07 Joseph Myers <joseph@codesourcery.com>
5466 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5467 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5468 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5469 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5471 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5473 * support/support_test_compare_string.c
5474 (support_test_compare_string): Fix printf format.
5476 2018-11-07 Florian Weimer <fweimer@redhat.com>
5478 Implement TEST_COMPARE_STRING.
5479 * support/check.h (TEST_COMPARE_STRING): Define.
5480 (support_test_compare_string): Declare.
5481 * support/Makefile (libsupport-routines): Add
5482 support_test_compare_string.
5483 (tests): Add tst-test_compare_string.
5484 * support/support_test_compare_string.c: New file.
5485 * support/tst-test_compare_string.c: Likewise.
5487 2018-11-07 Andreas Schwab <schwab@suse.de>
5490 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
5491 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
5494 2018-11-06 Joseph Myers <joseph@codesourcery.com>
5497 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5498 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
5499 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
5500 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
5503 2018-11-06 Florian Weimer <fweimer@redhat.com>
5506 * posix/Makefile (routines): Add spawn_faction_addchdir.
5507 (tests): Add tst-spawn-chdir.
5508 * posix/Versions (GLIBC_2.29): Add
5509 posix_spawn_file_actions_addchdir_np.
5510 * posix/spawn_faction_addchdir.c: New file.
5511 * posix/spawn_faction_destroy.c
5512 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
5513 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
5514 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
5516 * posix/tst-spawn-chdir.c: New file.
5517 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
5518 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5519 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5520 posix_spawn_file_actions_addchdir_np.
5521 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5523 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5525 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5526 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5528 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5530 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5532 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5534 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5536 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5538 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5539 (GLIBC_2.29): Likewise.
5540 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5541 (GLIBC_2.29): Likewise.
5542 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5543 (GLIBC_2.29): Likewise.
5544 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5545 (GLIBC_2.29): Likewise.
5546 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5549 (GLIBC_2.29): Likewise.
5550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5551 (GLIBC_2.29): Likewise.
5552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5553 (GLIBC_2.29): Likewise.
5554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5555 (GLIBC_2.29): Likewise.
5556 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5558 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5560 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5562 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5563 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5565 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5567 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5569 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5572 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5574 * misc/Makefile (tests): Add tst-ldbl-error.
5575 * misc/tst-ldbl-error.c: New file.
5577 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5579 * misc/Makefile (tests): Add tst-ldbl-warn.
5580 * misc/tst-ldbl-warn.c: New file.
5582 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5584 * argp/Makefile (tests): Add tst-ldbl-argp.
5585 * argp/tst-ldbl-argp.c: New file.
5587 2018-11-05 Arjun Shankar <arjun@redhat.com>
5589 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
5590 __gconv_path_elem and call __gconv_get_path unconditionally.
5592 2018-11-05 Andreas Schwab <schwab@suse.de>
5595 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
5596 creating the first helper thread failed.
5598 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5600 * sysdeps/mach/hurd/msync.c: New file.
5602 2018-11-02 Florian Weimer <fweimer@redhat.com>
5604 * support/shell-container.c (copy_func): Call
5605 support_copy_file_range instead of copy_file_range to support
5606 cross-device copies.
5608 2018-11-02 Florian Weimer <fweimer@redhat.com>
5610 * support/test-container.c: Include <libc-pointer-arith.h> for
5613 2018-11-01 Zong Li <zong@andestech.com>
5615 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
5616 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
5617 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
5618 (__FP_FRAC_SET_8): Add implementation for RV32 use.
5620 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
5621 variable to avoid overlap arguments.
5623 2018-11-01 Joseph Myers <joseph@codesourcery.com>
5625 * posix/bug-regex22.c (main): Use puts with distinct error
5626 messages for unexpected success of re_compile_pattern, not printf
5627 with NULL argument to %s.
5629 * stdio-common/bug22.c: Include <libc-diag.h>.
5630 (do_test): Disable -Wformat-overflow= warnings around fprintf
5631 calls outputting more than INT_MAX characters.
5632 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
5633 around printf call with NULL %s argument.
5636 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
5637 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
5639 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5640 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5641 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5642 (__ASSUME_SENDTO_SYSCALL): Likewise.
5643 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5644 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
5646 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5647 (__ASSUME_CONNECT_SYSCALL): Likewise.
5648 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5649 (__ASSUME_RECVFROM_SYSCALL): Likewise.
5650 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
5652 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
5654 [__LINUX_KERNEL_VERSION >= 0x040400]
5655 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5656 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
5659 (setsockopt): Likewise.
5661 2018-11-01 Fredrik Noring <noring@nocrew.org>
5663 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
5664 with the ISA override.
5666 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
5668 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
5671 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
5673 * manual/errno.texi (EIEIO): Document how translators should
5674 translate the error message.
5675 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
5676 printing trailing whitespaces refused by git.
5677 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
5678 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5679 * hurd/Makefile (user-interfaces): Add pci.
5681 2018-10-30 Joseph Myers <joseph@codesourcery.com>
5683 * conform/linknamespace.py: New file.
5684 * conform/linknamespace.pl: Remove file.
5685 * conform/Makefile ($(linknamespace-header-tests)): Use
5686 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
5689 2018-10-30 Florian Weimer <fweimer@redhat.com>
5691 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
5694 2018-10-30 Florian Weimer <fweimer@redhat.com>
5696 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
5698 2018-10-30 Florian Weimer <fweimer@redhat.com>
5700 * stdlib/tst-strtod-overflow.c (do_test): Switch to
5701 support_blob_repeat.
5703 2018-10-30 Florian Weimer <fweimer@redhat.com>
5705 Avoid spurious test failures in stdlib/test-bz22786.
5706 * support/Makefile (libsupport-routines): Add blob_repeat.
5707 (tests): Add tst-support_blob_repeat.
5708 * support/blob_repeat.h: New file.
5709 * support/blob_repeat.c: Likewise.
5710 * support/tst-support_blob_repeat.c: Likewise.
5711 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
5712 support_blob_repeat_allocate.
5714 2018-10-30 Andreas Schwab <schwab@suse.de>
5717 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
5718 Don't use tail call.
5719 * elf/tst-unwind-main.c: New file.
5720 * elf/Makefile (tests): Add tst-unwind-main.
5721 (CFLAGS-tst-unwind-main.c): Define.
5723 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
5726 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
5728 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
5730 2018-10-29 Joseph Myers <joseph@codesourcery.com>
5732 * conform/glibcconform.py: Do not import shutil.
5733 (list_exported_functions): Use tempfile.TemporaryDirectory instead
5736 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
5737 critic_missing for versions before 3.4.
5738 * configure: Regenerated.
5739 * manual/install.texi (Tools for Compilation): Document
5740 requirement for Python to build glibc.
5741 * INSTALL: Regenerated.
5742 * Rules [PYTHON]: Make code unconditional.
5743 * benchtests/Makefile [PYTHON]: Likewise.
5744 * conform/Makefile [PYTHON]: Likewise.
5745 * manual/Makefile [PYTHON]: Likewise.
5746 * math/Makefile [PYTHON]: Likewise.
5748 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5750 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
5751 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
5752 answer to interrupt_operation, return EIEIO instead of EINTR.
5753 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
5754 _hurd_intr_rpc_msg_about_to global point to start of controlled
5755 assembly snippet. Make it check canceled flag.
5756 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
5757 the _hurd_intr_rpc_msg_about_to point.
5758 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
5759 issue, remove cancel flag check.
5761 2018-10-26 Joseph Myers <joseph@codesourcery.com>
5763 * scripts/build-many-glibcs.py: Remove compatibility for missing
5764 os.cpu_count and re.fullmatch.
5766 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5769 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
5770 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
5771 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
5773 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5775 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
5778 2018-10-25 Florian Weimer <fweimer@redhat.com>
5782 XFAIL siginfo_t si_band conform test on sparc64.
5783 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
5784 (__SI_BAND_TYPE): Only override long int default type on sparc64.
5785 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5786 (conformtest-xfail-conds): Add sparc64-linux.
5787 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
5789 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
5791 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5793 * elf/elf.h (NT_MIPS_DSP): New macro.
5794 (NT_MIPS_FP_MODE): Likewise.
5796 2018-10-25 Zong Li <zong@andestech.com>
5798 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
5799 name by adding the file extension (.so).
5801 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
5803 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
5804 (test-xfail-ISO11/threads.h/linknamespace,
5805 test-xfail-ISO11/threads.h/conform): Add.
5807 2018-10-24 Joseph Myers <joseph@codesourcery.com>
5809 * math/gen-libm-test.py: Import os.
5810 (ALL_FLOATS_MANUAL): New constant.
5811 (ALL_FLOATS_SUFFIX): Likewise.
5812 (Ulps.all_functions): New function.
5813 (real_all_ulps): Likewise.
5814 (generate_err_table_sub): Likewise.
5815 (generate_err_table): Likewise.
5816 (main): Handle -s and -m options.
5817 * manual/libm-err-tab.pl: Remove.
5818 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
5819 instead of libm-err-tab.pl.
5820 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
5822 * manual/install.texi (Tools for Compilation): Document
5823 requirement for Python to build manual.
5824 * INSTALL: Regenerated.
5826 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5828 * bits/time64.h: New file.
5829 * include/time.h: Replace internal_time_t with __time64_t.
5830 * posix/bits/types (__time64_t): Add.
5831 * stdlib/Makefile: Add bits/time64.h to includes.
5832 * time/tzfile.c: Replace internal_time_t with __time64_t.
5834 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5836 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
5837 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
5838 __posix_spawn_file_actions_init, __posix_spawnattr_init,
5839 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
5840 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
5842 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
5843 * posix/spawn_faction_addclose.c
5844 (__posix_spawn_file_actions_addclose): Add hidden definition.
5845 * posix/spawn_faction_adddup2.c
5846 (__posix_spawn_file_actions_adddup2): Likewise.
5847 * posix/spawn_faction_destroy.c
5848 (__posix_spawn_file_actions_destroy): Likewise.
5849 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
5851 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
5852 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
5853 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
5855 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
5856 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
5859 2018-10-24 Andreas Schwab <schwab@suse.de>
5862 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
5864 * elf/cache.c (print_cache): Likewise.
5866 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5868 * bits/timesize.h: New file.
5869 * stdlib/Makefile (headers): Add bits/timesize.h.
5870 * sysdeps/unix/sysv/linux/bits/msq-pad.h
5871 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
5872 * sysdeps/unix/sysv/linux/bits/sem-pad.h
5873 (__SEM_PAD_AFTER_TIME): Likewise.
5874 * sysdeps/unix/sysv/linux/bits/shm-pad.h
5875 (__SHM_PAD_AFTER_TIME): Likewise.
5876 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
5877 (__MSQ_PAD_BEFORE_TIME): Likewise.
5878 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
5879 (__SEM_PAD_BEFORE_TIME): Likewise.
5880 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
5881 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5882 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
5883 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
5884 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
5885 (__MSQ_PAD_BEFORE_TIME): Likewise.
5886 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
5887 (__SEM_PAD_BEFORE_TIME): Likewise.
5888 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
5889 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5890 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
5891 (__MSQ_PAD_BEFORE_TIME): Likewise.
5892 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
5893 (__SEM_PAD_BEFORE_TIME): Likewise.
5894 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
5895 (__SHM_PAD_BEFORE_TIME): Likewise.
5896 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
5897 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5898 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
5900 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
5902 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
5903 USE_RDTSCP is defined.
5904 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
5905 USE_RDTSCP is defined.
5907 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5909 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
5913 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
5914 independently of other flags.
5916 2018-10-23 Florian Weimer <fweimer@redhat.com>
5918 * time/tst-mktime2.c (N_STRINGS): Remove.
5919 (set_timezone): New function.
5920 (spring_forward_gap): Call it. Use FAIL_EXIT1.
5921 (mktime_test1): Report localtime failure and check errno value.
5923 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
5924 (do_test): Remove alarm call. Use set_timezone and array_length.
5926 2018-10-23 Andreas Schwab <schwab@suse.de>
5928 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
5929 (__start_context): Use END instead of PSEUDO_END.
5931 2018-10-22 Joseph Myers <joseph@codesourcery.com>
5933 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5936 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5940 * wcsmbs/c32rtomb.c: New file.
5941 * wcsmbs/mbrtoc32.c: Likewise.
5942 * wcsmbs/tst-c32-state.c: Likewise.
5943 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
5944 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
5945 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
5946 (tests): Add tst-c32-state.
5947 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
5950 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
5952 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
5953 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
5955 2018-10-19 Joseph Myers <joseph@codesourcery.com>
5958 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
5959 pair and return 0 in that case, and use saved character to
5960 interpret following character.
5961 * wcsmbs/tst-c16-surrogate.c: New file.
5962 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
5963 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
5964 Depend on $(gen-locales)
5966 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
5969 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
5970 (struct siginfo_t): Use correct type for si_band.
5972 2018-10-19 Florian Weimer <fweimer@redhat.com>
5975 * resource/bits/types/struct_rusage.h (struct rusage): Update
5976 comment on struct. Remove extraneous field comment.
5978 2018-10-18 David S. Miller <davem@davemloft.net>
5980 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
5981 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
5982 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
5983 sysdep_routines in subdir elf.
5984 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
5985 version for __vdso_clock_gettime.
5986 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
5988 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5989 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5991 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
5993 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
5995 * sysdeps/i386/init-arch.h: Removed.
5996 * sysdeps/i386/i586/init-arch.h: Likewise.
5997 * sysdeps/i386/i686/init-arch.h: Likewise.
5998 * sysdeps/i386/i686/hp-timing.h: Likewise.
5999 * sysdeps/x86_64/hp-timing.h: Likewise.
6000 * sysdeps/i386/isa.h: New file.
6001 * sysdeps/i386/i586/isa.h: Likewise.
6002 * sysdeps/i386/i686/isa.h: Likewise.
6003 * sysdeps/x86_64/isa.h: Likewise.
6004 * sysdeps/x86/hp-timing.h: New file.
6005 * sysdeps/x86/init-arch.h: Include <isa.h>.
6007 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6009 * math/libm-test-pow.inc (pow_test_data): Do not allow
6010 divide-by-zero exception for pow(+/- 0, -Inf).
6012 2018-10-17 Zack Weinberg <zackw@panix.com>
6014 * manual/job.texi (Job Control is Optional): Remove node, as
6015 job control has not been optional in quite some time.
6016 (Job Control): Mention briefly that systems older than
6017 POSIX.1-2001 might not support job control.
6018 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
6019 defined on systems conforming to POSIX.1-2001.
6021 2018-10-17 Arjun Shankar <arjun@redhat.com>
6024 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
6026 * (__gconv_read_conf): Mark function static.
6027 * (once): New static variable.
6028 * (__gconv_load_conf): New function.
6029 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
6030 * iconv/gconv_db.c (once): Remove static variable.
6031 * (__gconv_compare_alias): Use __gconv_load_conf instead of
6033 * (__gconv_find_transform): Likewise.
6034 * iconv/tst-iconv-mt.c: New test.
6035 * iconv/Makefile: Add tst-iconv_mt.
6037 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6039 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6041 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
6042 (shmatt_t): Define as __syscall_ulong_t.
6043 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
6044 and [__SHM_PAD_AFTER_TIME].
6045 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
6046 Define shm_segsz and associated padding based on
6047 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
6048 Use __syscall_ulong_t instead of unsigned long int.
6049 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
6051 [__USE_MISC] (struct shm_info): Likewise.
6052 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
6053 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
6054 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
6055 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
6056 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
6057 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6058 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
6059 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
6060 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6061 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6062 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6064 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6066 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
6067 (SHMLBA): Remove macro.
6068 (__getpagesize): Remove function declaration.
6069 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
6071 (SHMLBA): Remove macro.
6072 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
6074 (SHMLBA): Remove macro.
6075 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
6077 (SHMLBA): Remove macro.
6078 (__getpagesize): Remove function declaration.
6079 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
6081 (SHMLBA): Remove macro.
6082 (__getshmlba): Remove function declaration.
6083 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
6084 (SHMLBA): Remove macro.
6085 (__getpagesize): Remove function declaration.
6086 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
6087 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
6088 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6089 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
6090 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
6091 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
6092 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
6093 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
6094 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
6095 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
6097 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
6100 * nptl/tst-mutex10.c: New File.
6101 * nptl/Makefile (tests): Add tst-mutex10.
6102 (tst-mutex10-ENV): New variable.
6103 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
6104 Ensure that elision path is used if elision is available.
6105 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
6107 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
6109 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
6110 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
6111 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
6112 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
6114 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
6115 (__pthread_mutex_cond_lock_adjust): Likewise.
6116 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6118 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
6119 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6120 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6121 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
6123 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6124 Use atomic_load_relaxed and atomic_store_relaxed.
6125 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
6126 Use atomic_store_relaxed.
6128 2018-10-17 Andreas Schwab <schwab@suse.de>
6130 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
6131 * crypt/badsalttest.c (TIMEOUT): Likewise.
6132 * crypt/sha256c-test.c (TIMEOUT): Likewise.
6133 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
6134 * io/test-lfs.c (TIMEOUT): Likewise.
6135 * libio/tst-atime.c (TIMEOUT): Likewise.
6136 * localedata/tst-leaks.c (TIMEOUT): Likewise.
6137 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
6138 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
6139 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
6140 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
6141 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
6142 * nptl/tst-cond11.c (TIMEOUT): Likewise.
6143 * nptl/tst-cond14.c (TIMEOUT): Likewise.
6144 * nptl/tst-cond15.c (TIMEOUT): Likewise.
6145 * nptl/tst-cond24.c (TIMEOUT): Likewise.
6146 * nptl/tst-cond25.c (TIMEOUT): Likewise.
6147 * nptl/tst-kill2.c (TIMEOUT): Likewise.
6148 * nptl/tst-kill3.c (TIMEOUT): Likewise.
6149 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
6150 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
6151 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
6152 * nptl/tst-once2.c (TIMEOUT): Likewise.
6153 * nptl/tst-once3.c (TIMEOUT): Likewise.
6154 * nptl/tst-once4.c (TIMEOUT): Likewise.
6155 * nptl/tst-robust8.c (TIMEOUT): Likewise.
6156 * nptl/tst-robust9.c (TIMEOUT): Likewise.
6157 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
6158 * nptl/tst-sem14.c (TIMEOUT): Likewise.
6159 * nptl/tst-sem6.c (TIMEOUT): Likewise.
6160 * nptl/tst-signal3.c (TIMEOUT): Likewise.
6161 * nptl/tst-spin4.c (TIMEOUT): Likewise.
6162 * nptl/tst-tls3.c (TIMEOUT): Likewise.
6163 * nptl/tst-tls4.c (TIMEOUT): Likewise.
6164 * posix/tst-chmod.c (TIMEOUT): Likewise.
6165 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
6166 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
6167 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
6168 * posix/tst-regex2.c (TIMEOUT): Likewise.
6169 * posix/tst-waitid.c (TIMEOUT): Likewise.
6170 * rt/tst-aio.c (TIMEOUT): Likewise.
6171 * rt/tst-aio10.c (TIMEOUT): Likewise.
6172 * rt/tst-aio4.c (TIMEOUT): Likewise.
6173 * rt/tst-aio5.c (TIMEOUT): Likewise.
6174 * rt/tst-aio6.c (TIMEOUT): Likewise.
6175 * rt/tst-aio64.c (TIMEOUT): Likewise.
6176 * rt/tst-aio7.c (TIMEOUT): Likewise.
6177 * rt/tst-aio9.c (TIMEOUT): Likewise.
6178 * rt/tst-clock.c (TIMEOUT): Likewise.
6179 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
6180 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
6181 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
6182 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
6183 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
6184 * rt/tst-timer4.c (TIMEOUT): Likewise.
6185 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
6186 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
6187 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
6188 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
6189 * time/tst-ftime.c (TIMEOUT): Likewise.
6190 * timezone/tst-tzset.c (TIMEOUT): Likewise.
6192 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
6194 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
6195 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
6198 2018-10-15 Joseph Myers <joseph@codesourcery.com>
6200 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6202 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
6203 instead of <bits/wordsize.h>.
6204 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
6205 and [__SEM_PAD_AFTER_TIME].
6206 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
6207 __syscall_ulong_t instead of unsigned long int.
6208 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
6209 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
6210 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
6211 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
6212 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
6213 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
6214 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
6215 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
6216 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6217 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6218 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6220 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
6222 regex: simplify by using intprops.h
6224 * posix/regex_internal.h [_LIBC]: Include intprops.h.
6225 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
6226 intprops.h defines them.
6228 regex: __builtin_expect → __glibc_unlikely
6230 This refactoring was prompted by a problem when the regex code is
6231 used as part of Gnulib and when the builder’s compiler does not grok
6232 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
6233 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
6234 Although this refactoring does not fix the problem directly,
6235 we might as well have Gawk use the now-preferred glibc style for when
6236 __builtin_expect is unavailable.
6237 * posix/regex_internal.h (BE): Remove.
6238 All uses replaced by __glibc_unlikely or __glibc_likely.
6240 2018-10-11 Joseph Myers <joseph@codesourcery.com>
6242 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6244 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
6245 instead of <bits/wordsize.h>.
6246 (msgqnum_t): Define as __syscall_ulong_t.
6247 (msglen_t): Likewise.
6248 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
6249 and [__MSQ_PAD_AFTER_TIME].
6250 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
6251 __syscall_ulong_t instead of unsigned long int.
6252 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
6253 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
6254 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
6255 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
6256 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
6257 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
6258 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
6259 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
6260 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6261 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6262 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6264 2018-10-10 Joseph Myers <joseph@codesourcery.com>
6266 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
6267 (struct shmid_ds): Condition padding after time fields on
6269 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
6270 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
6271 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6273 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
6274 (struct semid_ds): Condition padding after time fields on
6276 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
6277 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
6278 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
6279 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6281 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
6282 (struct msqid_ds): Condition padding after time fields on
6284 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
6285 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
6286 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
6287 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6289 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6291 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
6293 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6295 * libio/tst-readline.c (TIMEOUT): Define.
6297 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
6299 mktime fix for Gnulib + coreutils
6301 This fix affects only Gnulib. Problem discovered when
6302 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
6304 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
6305 Do not define since it is not used. Defining an unused static
6306 function prompts a warning from GCC when Coreutils is configured
6307 with --enable-gcc-warnings.
6309 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6311 * benchtests/scripts/compare_bench.py (main): set float type on
6314 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
6317 * localedata/locales/kl_GL (mon): Update, the relative case.
6318 (alt_mon): Add, fill with month names in the nominative case.
6319 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
6320 (d_fmt): Set to "%b %d %Y".
6322 2018-10-04 Joseph Myers <joseph@codesourcery.com>
6324 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
6325 <bits/mman-linux.h>.
6326 (PROT_READ): Don't define here.
6327 (PROT_WRITE): Likewise.
6328 (PROT_EXEC): Likewise.
6329 (PROT_NONE): Likewise.
6330 (PROT_GROWSDOWN): Likewise.
6331 (PROT_GROWSUP): Likewise.
6332 (MAP_SHARED): Likewise.
6333 (MAP_PRIVATE): Likewise.
6334 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
6335 [__USE_MISC] (MAP_FILE): Likewise.
6336 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
6337 [__USE_MISC] (MAP_ANON): Likewise.
6338 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
6339 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
6340 (MCL_CURRENT): Likewise.
6341 (MCL_FUTURE): Likewise.
6342 (MCL_ONFAULT): Likewise.
6343 [__USE_MISC] (MADV_NORMAL): Likewise.
6344 [__USE_MISC] (MADV_RANDOM): Likewise.
6345 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
6346 [__USE_MISC] (MADV_WILLNEED): Likewise.
6347 [__USE_MISC] (MADV_DONTNEED): Likewise.
6348 [__USE_MISC] (MADV_FREE): Likewise.
6349 [__USE_MISC] (MADV_REMOVE): Likewise.
6350 [__USE_MISC] (MADV_DONTFORK): Likewise.
6351 [__USE_MISC] (MADV_DOFORK): Likewise.
6352 [__USE_MISC] (MADV_HWPOISON): Likewise.
6353 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
6354 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
6355 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
6356 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
6357 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
6358 (__MAP_ANONYMOUS): New macro.
6359 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
6360 <bits/mman-linux.h> inclusion.
6361 (MAP_FIXED): Likewise.
6362 (MS_SYNC): Likewise.
6363 (MS_ASYNC): Likewise.
6364 (MS_INVALIDATE): Likewise.
6365 [__USE_MISC] (MADV_MERGEABLE): Likewise.
6366 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
6367 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
6368 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
6369 [__USE_MISC] (MADV_DONTDUMP): Likewise.
6370 [__USE_MISC] (MADV_DODUMP): Likewise.
6371 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
6372 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
6375 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
6377 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
6378 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
6379 Add test-nldbl-redirect.
6380 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
6381 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
6382 $(objpfx)libnldbl_nonshared.a.
6384 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
6386 * support/support.h (support_objdir_elf_ldso): New variable.
6387 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
6388 * support/Makefile (CFLAGS-support_paths.c): Add definition
6389 for OBJDIR_ELF_LDSO_PATH.
6390 * support/test-container.c (main): Search for the ld.so
6391 which is also used by the testsuite.
6393 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
6396 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
6397 should be "sap" rather than "sab".
6398 (day): Fix spelling of Sunday, should be "sapaat" rather than
6401 2018-10-02 Joseph Myers <joseph@codesourcery.com>
6403 * math/libm-test-fma.inc (fma_test_data): Add more tests.
6405 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
6408 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
6409 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
6410 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
6412 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6414 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
6416 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
6418 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
6420 (CFLAGS-elision-unlock.c): Likewise.
6421 (CFLAGS-elision-timed.c): Likewise.
6422 (CFLAGS-elision-trylock.c): Likewise.
6423 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
6425 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6428 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
6429 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
6430 new fd_to_filename interface.
6431 * libio/freopen64.c (freopen64): Likewise.
6432 * libio/tst-memstream.h: New file.
6433 * libio/tst-memstream4.c: Likewise.
6434 * libio/tst-wmemstream4.c: Likewise.
6435 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
6436 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
6437 and remove internal dynamic allocation.
6439 2018-10-01 Joseph Myers <joseph@codesourcery.com>
6441 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6442 (MREMAP_MAYMOVE): Do not define here.
6443 [__USE_GNU] (MREMAP_FIXED): Likewise.
6444 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
6445 (MREMAP_MAYMOVE): Define here instead.
6446 [__USE_GNU] (MREMAP_FIXED): Likewise.
6447 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
6448 (MREMAP_MAYMOVE): Remove.
6449 [__USE_GNU] (MREMAP_FIXED): Likewise.
6451 2018-09-28 Joseph Myers <joseph@codesourcery.com>
6453 * math/fromfp.h: Do not include <math_private.h>.
6454 * math/s_cacosh_template.c: Likewise.
6455 * math/s_casin_template.c: Likewise.
6456 * math/s_casinh_template.c: Likewise.
6457 * math/s_ccos_template.c: Likewise.
6458 * math/s_cproj_template.c: Likewise.
6459 * math/s_fdim_template.c: Likewise.
6460 * math/s_fmaxmag_template.c: Likewise.
6461 * math/s_fminmag_template.c: Likewise.
6462 * math/s_iseqsig_template.c: Likewise.
6463 * math/s_ldexp_template.c: Likewise.
6464 * math/s_nextdown_template.c: Likewise.
6465 * math/w_log1p_template.c: Likewise.
6466 * math/w_scalbln_template.c: Likewise.
6467 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6468 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6469 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6470 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6471 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
6472 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
6473 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
6474 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
6475 * sysdeps/i386/fpu/s_atanl.c: Likewise.
6476 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
6477 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
6478 * sysdeps/i386/fpu/s_fdim.c: Likewise.
6479 * sysdeps/i386/fpu/s_logbl.c: Likewise.
6480 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6481 * sysdeps/i386/fpu/s_significandl.c: Likewise.
6482 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
6483 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
6484 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6485 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6486 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6487 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6488 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6489 * sysdeps/ieee754/k_standardf.c: Likewise.
6490 * sysdeps/ieee754/k_standardl.c: Likewise.
6491 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6492 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6493 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
6494 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6495 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6496 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6497 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6498 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6499 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6500 * sysdeps/ieee754/s_signgam.c: Likewise.
6501 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6502 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
6503 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
6504 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6505 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6506 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6507 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6508 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6509 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6510 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6511 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6512 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6513 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6514 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6515 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6516 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6517 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6518 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6519 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6520 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6521 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6522 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6523 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6524 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6525 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6526 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6527 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6528 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6529 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6530 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6531 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6532 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6533 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6534 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6535 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6536 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6537 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
6539 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6541 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
6544 * sysdeps/i386/dl-cet.c: Removed.
6545 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
6547 (_dl_runtime_profile_shstk): Likewise.
6548 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
6549 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
6551 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6554 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
6555 do_test_with_invalid_iov): New tests.
6556 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
6557 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
6558 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
6560 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6561 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6562 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6564 2018-09-27 Joseph Myers <joseph@codesourcery.com>
6566 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6567 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
6568 (MATH_REDIRECT_BINARY_ARGS): New macro.
6569 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6570 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
6571 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
6573 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
6574 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6575 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
6576 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6577 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6578 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6579 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
6584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
6586 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
6587 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
6588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
6590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
6592 * sysdeps/generic/math_private_calls.h
6593 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
6594 Do not declare and define as an inline function.
6595 * math/divtc3.c (__divtc3): Use copysign functions instead of
6596 __copysign variants.
6597 * math/multc3.c (__multc3): Likewise.
6598 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
6599 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
6600 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6601 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6603 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6604 (__ieee754_yn): Likewise.
6605 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6606 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
6607 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6608 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6609 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
6611 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
6612 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6614 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6616 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6618 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6619 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6621 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6622 (__ieee754_ynf): Likewise.
6623 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6624 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6625 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6626 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6628 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6629 (__ieee754_ynl): Likewise.
6630 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6631 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6632 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6634 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6635 (__ieee754_ynl): Likewise.
6636 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
6637 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6638 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6639 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6641 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6643 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
6644 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6645 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
6646 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6647 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6649 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6650 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
6651 using MATH_REDIRECT.
6652 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
6654 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
6655 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6656 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6657 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
6658 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6659 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6660 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
6662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
6663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
6664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
6665 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6666 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6667 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6668 (round): Redirect to __round.
6669 (__roundl): Call round instead of __round.
6670 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
6672 [_ARCH_PWR5X] (__roundf): Likewise.
6673 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
6674 functions instead of __round variants.
6675 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6676 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6678 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6680 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6682 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
6683 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
6685 (__ieee754_expl): Call roundl instead of __roundl.
6687 2018-09-27 Andreas Schwab <schwab@suse.de>
6690 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
6691 (do_test): Make st1 static.
6693 2018-09-26 Andreas Schwab <schwab@suse.de>
6696 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
6697 * elf/Makefile (tests): Add tst-unwind-ctor.
6698 (modules-names): Add tst-unwind-ctor-lib.
6699 ($(objpfx)tst-unwind-ctor): Depend on
6700 $(objpfx)tst-unwind-ctor-lib.so.
6702 2018-09-26 Joseph Myers <joseph@codesourcery.com>
6704 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
6705 file. Most contents moved from ....
6706 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
6707 and include <bits/mman-map-flags-generic.h>.
6708 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6709 (sysdep_headers): Add bits/mman-map-flags-generic.h.
6710 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
6711 <bits/mman-map-flags-generic.h>.
6712 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
6713 macros defined in <bits/mman-map-flags-generic.h>.
6714 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
6715 <bits/mman-map-flags-generic.h>.
6716 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
6717 defined in <bits/mman-map-flags-generic.h>.
6719 2018-09-26 Andreas Schwab <schwab@suse.de>
6721 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
6724 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
6725 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6726 Fangrui Song <maskray@google.com>
6729 * config.make.in (have-textrel_ifunc): New define.
6730 * configure.ac: Add check if linker supports textrel relocation with
6732 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
6734 (CFLAGS-tst-ifunc-textrel.c): New rule.
6735 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
6736 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
6737 * elf/tst-ifunc-textrel.c: New file.
6739 2018-09-25 Joseph Myers <joseph@codesourcery.com>
6741 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6742 <bits/procfs-prregset.h>.
6743 (prgregset_t): Define using __prgregset_t.
6744 (prfpregset_t): Define using __prfpregset_t.
6745 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6746 (sysdep_headers): Add bits/procfs-prregset.h.
6747 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
6748 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
6749 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
6750 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
6752 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6753 <bits/procfs-id.h> and <bits/procfs-extra.h>.
6754 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
6756 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6757 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
6758 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
6759 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
6760 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
6761 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
6762 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
6763 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
6764 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
6765 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
6766 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
6767 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
6768 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
6769 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
6770 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
6771 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
6772 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
6773 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
6774 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
6775 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
6776 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
6777 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
6778 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6779 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
6781 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
6782 AArch64 version. Include <bits/procfs.h>.
6783 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6784 (sysdep_headers): Add bits/procfs.h.
6785 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
6786 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
6787 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
6788 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
6789 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
6790 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
6791 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
6792 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
6793 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
6794 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
6795 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
6796 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
6797 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
6798 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
6799 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
6800 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6801 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
6803 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6805 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
6808 2018-09-25 Arjun Shankar <arjun@redhat.com>
6810 * iconv/gconv_int.h (__gconv_path_elem): Remove.
6811 (__gconv_max_path_elem_len): Likewise.
6812 (__gconv_nmodules): Likewise.
6813 (__gconv_get_path): Likewise.
6814 (path_elem): Move to ...
6815 * iconv/gconv_conf.c: ... here.
6816 (__gconv_get_path): Mark function static.
6817 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
6818 * iconv/gconv_open.c: ... here.
6820 2018-09-24 Andreas Schwab <schwab@suse.de>
6822 * scripts/haveversions.awk: New file.
6823 * Makerules ($(common-objpfx)Versions.def)
6824 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6825 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6827 * Makeconfig ($(common-objpfx)Versions.def)
6828 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6829 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6831 ($(common-objpfx)Versions.mk): New rule. Include it.
6832 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
6833 Emit error if build-obsolete-nsl = yes.
6834 * manual/install.texi (Configuring and compiling): Describe
6835 --enable-obsolete-nsl as unavaiable after version 2.28.
6836 * INSTALL: Regenerate.
6838 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6840 * NEWS: Add note about new TLE support on powerpc64le.
6841 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
6842 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
6844 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
6845 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
6846 * sysdeps/powerpc/powerpc32/sysdep.h,
6847 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
6848 ABORT_TRANSACTION): Remove macros.
6849 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
6850 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
6851 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
6852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
6853 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6854 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
6856 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
6858 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
6861 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
6862 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
6863 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
6864 which is the same as in it_IT.
6865 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
6866 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
6868 2018-09-20 Joseph Myers <joseph@codesourcery.com>
6870 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6871 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
6872 using MATH_REDIRECT.
6873 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
6875 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
6876 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6877 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
6878 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6879 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6880 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
6882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
6883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
6884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
6885 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6886 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6887 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
6888 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
6889 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
6890 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
6891 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
6892 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6893 (ceil): Redirect to __ceil.
6894 (floor): Redirect to __floor.
6895 (trunc): Redirect to __trunc.
6896 (__truncl): Call trunc instead of __trunc.
6897 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
6899 [_ARCH_PWR5X] (__truncf): Likewise.
6900 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
6901 trunc functions instead of __trunc variants.
6902 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6904 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6906 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6908 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6911 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
6912 [__i586__ || __pentium__].
6913 [__i486__]: Handle explicitly.
6914 (HAS_CPUID): Define to 1 if above macros are undefined.
6915 (HAS_I586): Likewise.
6916 (HAS_I686): Likewise.
6918 2018-09-20 Florian Weimer <fweimer@redhat.com>
6920 * misc/tst-gethostid.c: New file.
6921 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
6922 (tst-gethostid): Link with -ldl.
6924 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
6926 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
6927 value from gethostbyname_r.
6929 2018-09-19 Carlos O'Donell <carlos@redhat.com>
6931 * stdlib/tst-setcontext9.c (f1): Rename to...
6933 (f1b): New function implementing lower half of f1 in alternate stack.
6935 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
6937 Fix mktime localtime offset confusion
6939 * include/time.h (__mktime_internal): The localtime offset is now
6940 of type long int instead of time_t. This is the longstanding type
6941 in glibc, and it is more than enough to represent difference
6942 between localtime and gmtime even if it is 32 bits and time_t is
6943 64. Changing it now will let us avoid an unnecessary change when
6944 time_t is widened to 64 bits on 32-bit platforms.
6945 * time/mktime-internal.h (mktime_offset_t): Now long int.
6947 Merge mktime, timegm from upstream Gnulib
6948 [BZ #23603][BZ #16346]
6949 This fixes some obscure problems with integer overflow.
6950 Although it looks scary, it is almost all a byte-for-byte copy
6951 from Gnulib, and the Gnulib code has been tested reasonably well.
6952 * include/intprops.h: New file, copied from Gnulib.
6953 * include/verify.h, time/mktime-internal.h:
6954 New tiny files, simplified from Gnulib.
6955 * time/mktime.c: Copy from Gnulib. This has the following changes:
6956 Do not include config.h if DEBUG_MKTIME is nonzero.
6957 Include stdbool.h, intprops.h, verify.h.
6958 Include string.h only if needed.
6959 Include stdlib.h on MS-Windows.
6960 Include mktime-internal.h.
6961 (DEBUG_MKTIME): Default to 0, and simplify later uses.
6962 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
6963 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
6964 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
6965 simplify later conditionals; default the others to zero. Use
6966 these conditionals to express only the code needed on the current
6967 platform. In uses of these conditionals, explicitly spell out how
6968 _LIBC affects things, so it’s easier to review from a glibc
6970 (WRAPV): Remove; no longer needed now that we have
6971 systematic overflow checking.
6972 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
6973 compartmentalize tzset issues. Move system-dependent tzsettish
6974 code here from mktime.
6975 (verify): Remove; now done by verify.h. All uses changed.
6976 (long_int): Use a more-conservative definition, to avoid
6978 (SHR): Remove, replacing with ...
6979 (shr): New function, which means we needn’t worry about side
6980 effects in args, and conversion analysis is simpler.
6981 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
6982 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
6983 (time_t_avg, time_t_add_ok): Remove.
6984 (mktime_min, mktime_max): New constants.
6985 (leapyear, isdst_differ): Use bool for booleans.
6986 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
6987 Use long_int, not time_t, for mktime differences.
6988 (long_int_avg): New function, replacing time_t_avg.
6989 INT_ADD_WRAPV replaces time_t_add_ok.
6990 (guess_time_tm): 6th arg is now long_int, not time_t const *.
6992 (convert_time): New function.
6993 (ranged_convert): Use it.
6994 (__mktime_internal): Last arg now points to mktime_offset_t, not
6995 time_t. All uses changed. This is a no-op on glibc, where
6996 mktime_offset_t is always time_t. Use int, not time_t, for UTC
6997 offset guess. Directly check for integer overflow instead of
6998 using a heuristic that works only 99.9...% of the time.
6999 Access *OFFSET only once, to avoid an unlikely race if the
7000 compiler delays a load and if this cascades into a signed integer
7002 (mktime): Move tzsettish code to my_tzset, and move
7003 localtime_offset to within mktime so that it doesn’t
7004 need a separate ifdef.
7005 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
7006 instead of localtime.
7007 * time/timegm.c: Copy from Gnulib. This has the following changes:
7008 Include mktime-internal.h.
7009 [!_LIBC]: Include config.h and time.h. Do not include
7010 timegm.h or time_r.h. Make __mktime_internal a macro,
7011 and include mktime-internal.h to get its declaration.
7012 (timegm): Temporary is now mktime_offset_t, not time_t.
7013 This affects only Gnulib.
7015 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
7018 * string/test-strstr.c (pr23637): New function.
7019 (test_main): Add tests with longer needles.
7020 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
7021 * string/strstr.c (AVAILABLE): Likewise.
7023 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7025 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
7027 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7029 * NEWS: Mention pow improvements.
7030 * math/Makefile (type-double-routines): Add e_pow_log_data.
7031 * sysdeps/generic/math_private.h (__exp1): Remove.
7032 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
7033 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
7034 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
7036 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
7037 (exp_inline): Remove.
7038 (__ieee754_exp): Only single double input is handled.
7039 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
7040 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
7041 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
7042 (__pow_log_data): Define.
7043 * sysdeps/ieee754/dbl-64/upow.h: Remove.
7044 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
7045 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
7046 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
7048 (CFLAGS-e_pow-fma4.c): Likewise.
7050 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
7052 Simplify tzfile fstat failure code
7054 * time/tzfile.c (__tzfile_read): Simplify slightly.
7056 Fix tzfile low-memory assertion failure
7058 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
7059 when registering time zone abbreviations.
7061 2018-09-18 Joseph Myers <joseph@codesourcery.com>
7063 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
7064 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
7065 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7066 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7067 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
7068 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
7069 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
7070 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7071 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7073 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
7075 (__ceill): Call ceil instead of __ceil.
7076 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
7078 (__floorl): Call floor instead of __floor.
7080 2018-09-17 Joseph Myers <joseph@codesourcery.com>
7082 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7083 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
7084 using MATH_REDIRECT.
7085 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
7087 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
7088 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7089 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7090 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
7091 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7092 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7093 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7094 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
7095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
7096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
7097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
7098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
7099 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7100 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7101 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7103 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7104 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7105 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
7107 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
7108 functions instead of __ceil variants.
7109 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7110 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7112 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7114 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7115 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7117 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7118 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7121 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
7123 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
7124 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
7125 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
7126 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
7127 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
7128 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
7129 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
7130 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
7131 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
7132 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
7133 (ILL_BADIADDR): Remove constant.
7134 (TRAP_BRANCH): Likewise.
7135 (TRAP_HWBKPT): Likewise.
7137 2018-09-14 Joseph Myers <joseph@codesourcery.com>
7140 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
7141 Remove [_MIPS_SIM = _ABIN32] conditional case.
7142 (struct elf_prpsinfo): Likewise.
7145 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
7146 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
7147 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
7149 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
7150 elf_prpsinfo): Likewise.
7151 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
7152 elf_prpsinfo): Likewise.
7153 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
7156 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7157 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
7158 using MATH_REDIRECT.
7159 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
7161 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
7162 * sysdeps/alpha/fpu/s_rint.c: Likewise.
7163 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
7164 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7165 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7166 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7167 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
7168 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7169 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7170 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7171 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
7172 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
7173 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
7174 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7175 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7176 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7177 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7178 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
7179 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7182 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7183 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7184 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7185 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7186 * sysdeps/x86_64/fpu/math_private.h: Remove file.
7187 * math/e_scalb.c (invalid_fn): Use rint functions instead of
7189 * math/e_scalbf.c (invalid_fn): Likewise.
7190 * math/e_scalbl.c (invalid_fn): Likewise.
7191 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7193 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7195 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7196 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
7197 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7199 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7201 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7203 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
7204 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
7206 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7207 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
7209 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7210 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
7211 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7212 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
7213 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7214 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
7215 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7216 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
7217 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7218 && !NO_MATH_REDIRECT] (floor): Likewise.
7219 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
7221 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
7222 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7223 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7224 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
7225 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7226 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7227 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7228 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
7230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
7231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
7232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
7233 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7234 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7235 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7236 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7237 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7238 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7239 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
7241 [_ARCH_PWR5X] (__floorf): Likewise.
7242 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
7244 [__SSE4_1__] (__floorf): Likewise.
7245 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
7246 instead of __floor variants.
7247 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
7248 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
7249 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
7250 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
7251 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
7252 * math/w_tgamma_compat.c (__tgamma): Likewise.
7253 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
7254 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
7255 * math/w_tgammal_compat.c (__tgammal): Likewise.
7256 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
7257 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7259 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7260 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
7261 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7262 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7264 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7265 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
7267 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7268 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
7270 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7271 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
7273 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7274 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7275 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7276 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
7277 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7278 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7280 2018-09-12 Joseph Myers <joseph@codesourcery.com>
7282 * elf/Makefile (modules-names-tests): New variable.
7284 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7286 * NEWS: Mention log2 improvements.
7287 * math/Makefile (type-double-routines): Add e_log2_data.
7288 * sysdeps/i386/fpu/e_log2_data.c: New file.
7289 * sysdeps/ia64/fpu/e_log2_data.c: New file.
7290 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
7291 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
7292 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
7293 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
7294 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
7296 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7298 * NEWS: Mention log improvement.
7299 * math/Makefile (type-double-routines): Add e_log_data.
7300 * sysdeps/i386/fpu/e_log_data.c: New file.
7301 * sysdeps/ia64/fpu/e_log_data.c: New file.
7302 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
7303 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
7304 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
7305 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
7306 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
7307 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
7309 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
7310 Xuepeng Guo <xuepeng.guo@intel.com>
7313 * sysdeps/i386/start.S: Include <sysdep.h>
7314 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
7315 enabled. Add cfi_undefined (eip).
7317 2018-09-11 Joseph Myers <joseph@codesourcery.com>
7319 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
7321 (EXTRACT_WORDS64): Likewise.
7322 (INSERT_WORDS64): Likewise.
7323 (GET_FLOAT_WORD): Likewise.
7324 (SET_FLOAT_WORD): Likewise.
7326 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
7328 (Config.build_gcc): Use --disable-libsanitizer for first GCC
7329 build, but not for second build if --full-gcc. Use
7330 --enable-languages=all for second build if --full-gcc.
7331 (get_parser): Add --full-gcc option.
7332 (main): Update call to Context.
7334 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
7337 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
7338 Single Quotation Mark).
7339 (thousands_sep): Likewise.
7340 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
7341 * localedata/locales/it_IT (thousands_sep): Use ".".
7342 (grouping): Use "3;3".
7344 2018-09-10 Joseph Myers <joseph@codesourcery.com>
7346 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7347 x86_64 and i686 configs using --enable-obsolete-rpc
7348 --enable-obsolete-nsl.
7350 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7352 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7354 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7356 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
7357 Increment size of new_argv by one.
7359 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
7362 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
7363 * localedata/locales/ar_IN (d_fmt): Likewise.
7364 * localedata/locales/bhb_IN (d_fmt): Likewise.
7365 * localedata/locales/bho_IN (d_fmt): Likewise.
7366 * localedata/locales/bn_BD (d_fmt): Likewise.
7367 * localedata/locales/bn_IN (d_fmt): Likewise.
7368 * localedata/locales/doi_IN (d_fmt): Likewise.
7369 * localedata/locales/gu_IN (d_fmt): Likewise.
7370 * localedata/locales/hi_IN (d_fmt): Likewise.
7371 * localedata/locales/hne_IN (d_fmt): Likewise.
7372 * localedata/locales/kn_IN (d_fmt): Likewise.
7373 * localedata/locales/mag_IN (d_fmt): Likewise.
7374 * localedata/locales/mai_IN (d_fmt): Likewise.
7375 * localedata/locales/mjw_IN (d_fmt): Likewise.
7376 * localedata/locales/ml_IN (d_fmt): Likewise.
7377 * localedata/locales/mni_IN (d_fmt): Likewise.
7378 * localedata/locales/mr_IN (d_fmt): Likewise.
7379 * localedata/locales/pa_IN (d_fmt): Likewise.
7380 * localedata/locales/raj_IN (d_fmt): Likewise.
7381 * localedata/locales/sat_IN (d_fmt): Likewise.
7382 * localedata/locales/sd_IN (d_fmt): Likewise.
7383 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
7384 * localedata/locales/ta_IN (d_fmt): Likewise.
7385 * localedata/locales/ta_LK (d_fmt): Likewise.
7386 * localedata/locales/tcy_IN (d_fmt): Likewise.
7387 * localedata/locales/ur_IN (d_fmt): Likewise.
7389 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
7390 * localedata/locales/ks_IN (d_fmt): Likewise.
7391 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
7393 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
7394 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
7395 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
7396 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
7398 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
7400 * NEWS: Mention exp and exp2 improvements.
7401 * math/Makefile (libm-support): Remove t_exp.
7402 (type-double-routines): Add math_err and e_exp_data.
7403 * sysdeps/aarch64/libm-test-ulps: Update.
7404 * sysdeps/arm/libm-test-ulps: Update.
7405 * sysdeps/i386/fpu/e_exp_data.c: New file.
7406 * sysdeps/i386/fpu/math_err.c: New file.
7407 * sysdeps/i386/fpu/t_exp.c: Remove.
7408 * sysdeps/ia64/fpu/e_exp_data.c: New file.
7409 * sysdeps/ia64/fpu/math_err.c: New file.
7410 * sysdeps/ia64/fpu/t_exp.c: Remove.
7411 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
7412 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
7413 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
7414 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
7415 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
7416 * sysdeps/ieee754/dbl-64/math_config.h: New file.
7417 * sysdeps/ieee754/dbl-64/math_err.c: New file.
7418 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
7419 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
7420 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
7421 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
7422 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
7423 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
7424 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
7425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7426 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7428 2018-09-05 Joseph Myers <joseph@codesourcery.com>
7430 * sysdeps/alpha/fpu/math_private.h: Remove.
7432 * sysdeps/generic/math_private.h
7433 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
7434 Move this inline function ....
7435 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
7436 * include/math.h [!_ISOMAC]: To here....
7438 2018-09-04 Joseph Myers <joseph@codesourcery.com>
7440 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
7442 [!FE_HAVE_ROUNDING_MODES]: And this code ....
7443 * include/fenv.h [!_ISOMAC]: ... to here.
7444 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
7445 (feraiseexcept): Likewise.
7446 * math/fromfp.h: Do not include <fenv_private.h>.
7447 * math/s_cexp_template.c: Likewise.
7448 * math/s_csin_template.c: Likewise.
7449 * math/s_csinh_template.c: Likewise.
7450 * math/s_ctan_template.c: Likewise.
7451 * math/s_ctanh_template.c: Likewise.
7452 * math/s_iseqsig_template.c: Likewise.
7453 * math/w_acos_compat.c: Likewise.
7454 * math/w_acosf_compat.c: Likewise.
7455 * math/w_acosl_compat.c: Likewise.
7456 * math/w_asin_compat.c: Likewise.
7457 * math/w_asinf_compat.c: Likewise.
7458 * math/w_asinl_compat.c: Likewise.
7459 * math/w_j0_compat.c: Likewise.
7460 * math/w_j0f_compat.c: Likewise.
7461 * math/w_j0l_compat.c: Likewise.
7462 * math/w_j1_compat.c: Likewise.
7463 * math/w_j1f_compat.c: Likewise.
7464 * math/w_j1l_compat.c: Likewise.
7465 * math/w_jn_compat.c: Likewise.
7466 * math/w_jnf_compat.c: Likewise.
7467 * math/w_log10_compat.c: Likewise.
7468 * math/w_log10f_compat.c: Likewise.
7469 * math/w_log10l_compat.c: Likewise.
7470 * math/w_log2_compat.c: Likewise.
7471 * math/w_log2f_compat.c: Likewise.
7472 * math/w_log2l_compat.c: Likewise.
7473 * math/w_log_compat.c: Likewise.
7474 * math/w_logf_compat.c: Likewise.
7475 * math/w_logl_compat.c: Likewise.
7476 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7477 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7478 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7479 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7480 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7481 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7482 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7483 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7484 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7485 * sysdeps/ieee754/k_standardl.c: Likewise.
7486 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7487 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7488 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7489 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7490 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7491 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7492 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7493 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7494 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7495 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7496 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7497 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7498 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7499 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7500 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7501 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7502 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7503 * math/w_ilogb_template.c: Include <fenv.h> instead of
7505 * math/w_llogb_template.c: Likewise.
7506 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7507 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7509 2018-09-03 Joseph Myers <joseph@codesourcery.com>
7511 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
7512 * math/fromfp.h: Include <fenv_private.h>.
7513 * math/math-narrow.h: Likewise.
7514 * math/s_cexp_template.c: Likewise.
7515 * math/s_csin_template.c: Likewise.
7516 * math/s_csinh_template.c: Likewise.
7517 * math/s_ctan_template.c: Likewise.
7518 * math/s_ctanh_template.c: Likewise.
7519 * math/s_iseqsig_template.c: Likewise.
7520 * math/w_acos_compat.c: Likewise.
7521 * math/w_acosf_compat.c: Likewise.
7522 * math/w_acosl_compat.c: Likewise.
7523 * math/w_asin_compat.c: Likewise.
7524 * math/w_asinf_compat.c: Likewise.
7525 * math/w_asinl_compat.c: Likewise.
7526 * math/w_ilogb_template.c: Likewise.
7527 * math/w_j0_compat.c: Likewise.
7528 * math/w_j0f_compat.c: Likewise.
7529 * math/w_j0l_compat.c: Likewise.
7530 * math/w_j1_compat.c: Likewise.
7531 * math/w_j1f_compat.c: Likewise.
7532 * math/w_j1l_compat.c: Likewise.
7533 * math/w_jn_compat.c: Likewise.
7534 * math/w_jnf_compat.c: Likewise.
7535 * math/w_llogb_template.c: Likewise.
7536 * math/w_log10_compat.c: Likewise.
7537 * math/w_log10f_compat.c: Likewise.
7538 * math/w_log10l_compat.c: Likewise.
7539 * math/w_log2_compat.c: Likewise.
7540 * math/w_log2f_compat.c: Likewise.
7541 * math/w_log2l_compat.c: Likewise.
7542 * math/w_log_compat.c: Likewise.
7543 * math/w_logf_compat.c: Likewise.
7544 * math/w_logl_compat.c: Likewise.
7545 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7546 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7547 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7548 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7549 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7550 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7551 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7552 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7553 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7554 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7555 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7556 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7557 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
7558 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
7559 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7560 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7561 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7562 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7563 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7564 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7565 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7566 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7567 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7568 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7569 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7570 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7571 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7572 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7573 * sysdeps/ieee754/float128/float128_private.h: Likewise.
7574 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7575 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7576 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7577 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7578 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7579 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7580 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7581 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7582 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7583 * sysdeps/ieee754/k_standardl.c: Likewise.
7584 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7585 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7586 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7587 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7588 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7589 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7590 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7591 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7592 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7593 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7594 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7595 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7596 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7597 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7598 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7599 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7600 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7601 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7602 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7603 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7604 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7605 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7606 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7607 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7608 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7609 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7610 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7612 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7613 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7614 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7615 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7616 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7617 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7618 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7619 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7620 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7621 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7622 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7623 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7624 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7625 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7626 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7627 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7628 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7629 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7630 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7631 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7632 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7633 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7634 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7635 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7636 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7637 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7638 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7639 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7640 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7641 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7642 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7643 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7644 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7645 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7646 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7647 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7648 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7649 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7650 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7651 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7652 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7653 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7654 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7656 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7659 * include/stdio.h (__libc_fatal): Mention newline in comment.
7660 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
7661 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
7662 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7663 * nss/nsswitch.c (__nss_next2): Likewise.
7664 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
7665 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
7666 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
7667 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7668 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
7669 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
7670 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
7671 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
7672 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
7673 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
7674 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
7675 * sysdeps/unix/sysv/linux/netlink_assert_response.c
7676 (__netlink_assert_response): Likewise.
7678 2018-08-31 Joseph Myers <joseph@codesourcery.com>
7680 * conform/glibcconform.py: New file.
7681 * conform/list-header-symbols.py: Likewise.
7682 * conform/list-header-symbols.pl: Remove.
7683 * conform/Makefile (tests-special): Only add linknamespace tests
7685 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
7687 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
7690 * support/Makefile (libsupport-routines): Add
7691 support_copy_file_range and xcopy_file_range.
7692 * support/support.h: Include <sys/types.h>.
7693 (support_copy_file_range): New prototype.
7694 * support/support_copy_file_range.c: New file. Copied and
7695 modified from io/copy_file_range-compat.c.
7696 * support/test-container.c (copy_one_file): Call xcopy_file_rang
7697 instead of copy_file_range.
7698 * support/xcopy_file_range.c: New file.
7699 * support/xunistd.h (xcopy_file_range): New prototype.
7701 2018-08-30 Carlos O'Donell <carlos@redhat.com>
7703 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
7704 xpthread_create and xpthread_join.
7706 2018-08-30 Florian Weimer <fweimer@redhat.com>
7708 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
7710 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
7712 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
7715 2018-08-29 Joseph Myers <joseph@codesourcery.com>
7717 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
7718 and minus_oflow as non-finite.
7720 2018-08-28 Joseph Myers <joseph@codesourcery.com>
7722 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
7723 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
7724 moved to fenv_private.h except for ...
7725 (TOINT_INTRINSICS): Kept in math_private.h.
7726 (roundtoint): Likewise.
7727 (converttoint): Likewise.
7728 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
7729 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7730 * sysdeps/arm/math_private.h: Remove.
7731 * sysdeps/generic/fenv_private.h: New file. Contents moved from
7733 * sysdeps/generic/math_private.h: ... this file. Include
7734 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
7735 Include <fenv_private.h>. Remove functions and macros moved to
7737 * sysdeps/i386/fpu/math_private.h: Remove.
7738 * sysdeps/mips/math_private.h: Move to ....
7739 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
7740 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
7741 [__mips_hard_float] conditional. Include next <fenv_private.h>.
7742 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
7743 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7744 * sysdeps/powerpc/fpu/math_private.h: Do not include
7746 * sysdeps/riscv/rvf/math_private.h: Move to ....
7747 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
7748 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
7750 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
7751 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7752 * sysdeps/sparc/fpu/math_private.h: Remove.
7753 * sysdeps/i386/fpu/fenv_private.h: Move to ....
7754 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
7755 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
7757 * sysdeps/x86_64/fpu/math_private.h: Do not include
7758 <sysdeps/i386/fpu/fenv_private.h>.
7760 2018-08-28 Florian Weimer <fweimer@redhat.com>
7763 * posix/tst-regcomp-truncated.c: New file.
7764 * posix/Makefile (tests): Add it.
7765 (tst-regcomp-truncated.out): Depend on generated locales.
7767 2018-08-28 Florian Weimer <fweimer@redhat.com>
7769 * support/test-container.c (main): Treat unshare failure with
7770 EPERM as an unsupported test.
7772 2018-08-28 Florian Weimer <fweimer@redhat.com>
7775 nscd: Fix use-after-free in addgetnetgrentX and its callers.
7776 * nscd/netgroupcache.c
7777 (addgetnetgrentX): Add tofreep parameter. Do not free
7778 heap-allocated buffer.
7779 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
7780 (addgetnetgrentX_ignore): New function.
7781 (addgetnetgrent): Call it.
7782 (readdgetnetgrent): Likewise.
7784 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7786 * string/memmem.c: Use memcmp for first match.
7788 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7791 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
7793 2018-08-27 DJ Delorie <dj@redhat.com>
7795 * support/Makefile (others): Don't list programs explicitly as a
7796 dependency of "others".
7798 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7800 * sysdeps/generic/math-tests-trap-force.h: New file.
7801 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
7802 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
7803 * sysdeps/powerpc/math-tests.h: Remove file.
7804 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
7806 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
7807 Torvald Riegel <triegel@redhat.com>
7810 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
7811 Update r to include the set wake-request flag if waiters are
7812 remaining after spinning.
7814 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7816 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
7818 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
7821 regex: fix uninitialized memory access
7822 I introduced this bug into gnulib in commit
7823 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
7824 eventually it was merged into glibc. The bug was found by
7825 project-repo <bugs@feusi.co> and reported here:
7826 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
7827 Diagnosis and draft fix reported by Assaf Gordon here:
7828 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
7829 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
7830 * posix/regex_internal.c (build_wcs_upper_buffer):
7831 Fix bug when mbrtowc returns 0.
7833 2018-08-24 Carlos O'Donell <carlos@redhat.com>
7835 * po/be.po: Update translation.
7837 2018-08-24 DJ Delorie <dj@delorie.com>
7839 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
7842 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7845 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
7846 create temporary files in source tree.
7848 2018-08-24 Joseph Myers <joseph@codesourcery.com>
7850 * sysdeps/generic/math-tests-trap.h: New file.
7851 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
7852 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
7853 * sysdeps/aarch64/math-tests.h: Remove file.
7854 * sysdeps/arm/math-tests.h: Likewise.
7855 * sysdeps/riscv/math-tests.h: Likewise.
7856 * sysdeps/aarch64/math-tests-trap.h: New file.
7857 * sysdeps/arm/math-tests-trap.h: Likewise.
7858 * sysdeps/riscv/math-tests-trap.h: Likewise.
7860 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
7862 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
7863 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
7864 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
7865 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
7866 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
7867 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
7868 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7869 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
7870 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
7871 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7872 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7873 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7874 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7875 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
7876 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
7877 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
7878 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7879 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7881 2018-08-23 Joseph Myers <joseph@codesourcery.com>
7883 * sysdeps/generic/math-tests-exceptions.h: New file.
7884 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
7885 (EXCEPTION_TESTS_float): Do not define here.
7886 (EXCEPTION_TESTS_double): Likewise.
7887 (EXCEPTION_TESTS_long_double): Likewise.
7888 (EXCEPTION_TESTS_float128): Likewise.
7889 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
7891 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
7892 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
7893 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
7894 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
7895 * sysdeps/mips/math-tests.h: Likewise.
7896 * sysdeps/nios2/math-tests.h: Likewise.
7897 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7898 (EXCEPTION_TESTS_float): Do not define here.
7899 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
7900 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
7901 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
7903 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7905 * NEWS: Move optimized sinf entry to 2.29.
7907 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7909 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
7911 2018-08-22 DJ Delorie <dj@redhat.com>
7913 * Makefile (testroot.pristine): New rules to initialize the
7914 test-in-container "testroot".
7915 * Makerules (all-testsuite): Add tests-container.
7916 * Rules (tests-expected): Add tests-container.
7917 (binaries-all-tests): Likewise.
7918 (tests-container): New, run these tests in the testroot container.
7919 * support/Makefile (others): Add *-container, support_paths.c,
7920 xmkdirp, and links-dso-program.
7921 * support/links-dso-program-c.c: New.
7922 * support/links-dso-program.cc: New.
7923 * support/test-container.c: New.
7924 * support/shell-container.c: New.
7925 * support/echo-container.c: New.
7926 * support/true-container.c: New.
7927 * support/xmkdirp.c: New.
7928 * support/xsymlink.c: New.
7929 * support/support_paths.c: New.
7930 * support/support.h: Add support paths prototypes.
7931 * support/xunistd.h: Add xmkdirp () and xsymlink ().
7933 * nss/tst-nss-test3.c: Convert to test-in-container.
7934 * nss/tst-nss-test3.root/: New.
7936 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
7938 regex: port Gnulib code to z/OS POSIX environment
7939 Problem reported by Arnold Robbins in:
7940 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
7941 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
7944 2018-08-22 Joseph Myers <joseph@codesourcery.com>
7946 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
7947 (ROUNDING_TESTS_double): Remove.
7948 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
7949 (ROUNDING_TESTS_double): Remove.
7950 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
7951 (ROUNDING_TESTS_double): Remove.
7952 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
7953 (ROUNDING_TESTS_float): Remove.
7954 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
7955 (ROUNDING_TESTS_float): Remove.
7956 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
7957 (ROUNDING_TESTS_float): Remove.
7958 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
7960 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7961 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7963 * sysdeps/generic/math-tests-rounding.h: New file.
7964 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
7965 (ROUNDING_TESTS_float): Do not define here.
7966 (ROUNDING_TESTS_double): Likewise.
7967 (ROUNDING_TESTS_long_double): Likewise.
7968 (ROUNDING_TESTS_float128): Likewise.
7969 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
7970 (ROUNDING_TESTS_double): Undefine before defining.
7971 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
7972 (ROUNDING_TESTS_double): Undefine before defining.
7973 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
7974 (ROUNDING_TESTS_double): Undefine before defining.
7975 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
7976 (ROUNDING_TESTS_float): Undefine before defining.
7977 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
7978 (ROUNDING_TESTS_float): Undefine before defining.
7979 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
7980 (ROUNDING_TESTS_float): Undefine before defining.
7981 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
7982 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
7984 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
7985 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
7986 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
7987 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7988 (ROUNDING_TESTS_float): Do not define here.
7989 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
7990 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
7991 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
7992 (ROUNDING_TESTS_float): Likewise.
7993 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
7994 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
7995 * sysdeps/mips/math-tests.h [__mips_soft_float]
7996 (ROUNDING_TESTS_float): Likewise.
7997 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
7998 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
7999 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
8000 (ROUNDING_TESTS_double): Likewise.
8001 (ROUNDING_TESTS_long_double): Likewise.
8003 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
8005 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
8006 (PF_XDP): New macro.
8007 (AF_XDP): New macro.
8008 (SOL_XDP): New macro.
8010 2018-08-21 Joseph Myers <joseph@codesourcery.com>
8012 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
8013 (TCP_INQ): Likewise.
8014 (TCP_CM_INQ): Likewise.
8015 (TCP_REPAIR_ON): Likewise.
8016 (TCP_REPAIR_OFF): Likewise.
8017 (TCP_REPAIR_OFF_NO_WP): Likewise.
8018 (struct tcp_zerocopy_receive): New type.
8020 2018-08-21 Florian Weimer <fweimer@redhat.com>
8022 * support/support.h (support_descriptor_supports_holes): Declare.
8023 * support/Makefile (libsupport-routines): Add
8024 support_descriptor_supports_holes.
8025 * support/support_descriptor_supports_holes.c: New file.
8026 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
8027 and stop testing if holes are not supported.
8028 * io/test-lfs.c (do_prepare): Likewise.
8029 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
8031 * timezone/tst-tzset.c (create_tz_file): Likewise.
8032 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
8034 (do_prepare): Set it.
8035 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
8037 2018-08-21 Florian Weimer <fweimer@redhat.com>
8040 * Makeconfig (+cflags): Do not sort (and deduplicate).
8042 2018-08-21 Florian Weimer <fweimer@redhat.com>
8044 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
8045 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
8047 2018-08-20 Florian Weimer <fweimer@redhat.com>
8049 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
8050 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
8052 2018-08-20 Joseph Myers <joseph@codesourcery.com>
8054 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
8055 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
8056 and ssi_arch members.
8058 * elf/elf.c (NT_VMCOREDD): New macro.
8059 (AT_MINSIGSTKSZ): Likewise.
8061 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8063 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8064 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
8065 s_cosf-ppc64 and s_cosf-power8.
8066 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
8067 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8068 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8069 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
8073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
8074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8076 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
8077 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8079 2018-08-17 Florian Weimer <fweimer@redhat.com>
8081 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8083 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
8085 * malloc/malloc.c (_int_malloc): Additional binning code checks.
8087 2018-08-16 Florian Weimer <fweimer@redhat.com>
8089 * configure.ac: Add --with-nonshared-cflags option.
8090 * config.make.in (extra-nonshared-cflags): Set variable.
8091 * Makeconfig (CFLAGS-.oS): Use it.
8092 * manual/install.texi (Configuring and compiling): Document
8093 --with-nonshared-cflags.
8094 * configure: Regenerate.
8095 * INSTALL: Likewise.
8097 2018-08-16 Florian Weimer <fweimer@redhat.com>
8099 * Makeconfig (ASFLAGS): Always append required assembler flags.
8101 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
8103 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
8104 (malloc_consolidate): Likewise.
8106 2018-08-16 Pochang Chen <johnchen902@gmail.com>
8108 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
8110 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8112 * benchtests/bench-strlen.c (do_test): Allocate buffers before
8115 * benchtests/bench-strlen.c: Print performance numbers in json.
8117 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8119 * sysdeps/powerpc/powerpc64/multiarch/Makefile
8120 (sysdep_routines): Build strcmp-power9 and strncmp-power9
8121 only for little endian.
8122 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8123 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
8124 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
8125 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
8126 Add check for little endian.
8127 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8128 (__strcmp_power9): Add check for little endian.
8129 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
8130 Add check for little endian.
8131 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8132 (__strncmp_power9): Add check for little endian.
8133 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
8134 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
8135 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
8136 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
8137 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
8139 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
8141 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
8142 [!STRLEN](STRLEN): Set to __strlen.
8143 * sysdeps/aarch64/multiarch/strlen.c: New file.
8144 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
8145 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
8146 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8147 (__libc_ifunc_impl_list): Add strlen.
8148 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8149 strlen_generic and strlen_asimd.
8151 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8153 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
8154 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
8155 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8157 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8159 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
8161 2018-08-14 Florian Weimer <fweimer@redhat.com>
8164 * include/stdio.h (__vfxprintf): Declare.
8165 * stdio-common/fxprintf.c (__vfxprintf): New function.
8166 (__fxprintf): Call it.
8167 * misc/err.c (convert_and_print): Remove function.
8168 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
8169 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
8170 * misc/Makefile (tests): Add tst-warn-wide.
8171 * misc/tst-warn-wide.c: New file.
8173 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
8174 Szabolcs Nagy <szabolcs.nagy@arm.com>
8176 * NEWS: Mention sinf, cosf, sincosf.
8177 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
8178 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
8179 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
8180 constants rather than including generic sincosf.h.
8181 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
8182 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
8183 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
8184 (reduced_cos): Remove.
8185 (sinf_poly): New function.
8186 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
8188 2018-08-14 Florian Weimer <fweimer@redhat.com>
8192 * nss/nss_files/files-alias.c (get_next_alias): During :include:
8193 processing, bail out if no room, and close the stream before
8195 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
8196 (tst-nss-files-alias-leak): Link with libdl.
8197 (tst-nss-files-alias-leak.out): Depend on nss_files.
8199 * nss/tst-nss-files-alias-leak.c: New file.
8201 2018-08-14 Florian Weimer <fweimer@redhat.com>
8203 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
8204 server_user, stat_user.
8206 2018-08-13 Joseph Myers <joseph@codesourcery.com>
8208 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8210 (io_pgetevents): New syscall.
8213 * manual/install.texi (Configuring and compiling): Do not list
8214 tools used for testing pretty printers here.
8215 (Tools for Compilation): List Python, PExpect and GDB here.
8216 Update descriptions of uses of Perl and Python.
8217 * INSTALL: Regenerate.
8219 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8222 2018-08-13 Florian Weimer <fweimer@redhat.com>
8224 * misc/error.c (error): Add missing va_end call.
8225 (error_at_line): Likewise.
8227 2018-08-13 Florian Weimer <fweimer@redhat.com>
8229 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
8231 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8233 * benchtests/scripts/benchout.schema.json (properties): Add
8236 * benchtests/bench-skeleton.c (main): Add duration and
8237 iterations attributes.
8239 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
8241 regex: Gnulib unibyte RRI uses bytes not chars
8242 Adjust the non-glibc code to agree with what Gawk needs for
8243 rational range interpretation (RRI) for regular expression ranges.
8244 In unibyte locales, Gawk wants ranges to use the underlying byte
8245 rather than the character code point. This change does not affect
8247 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
8248 In unibyte locales, use the byte value rather than
8249 running it through btowc.
8251 2018-08-10 Joseph Myers <joseph@codesourcery.com>
8253 * sysdeps/generic/math-tests-snan.h: New file.
8254 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
8255 (SNAN_TESTS_float): Do not define here.
8256 (SNAN_TESTS_double): Likewise.
8257 (SNAN_TESTS_long_double): Likewise.
8258 (SNAN_TESTS_float128): Likewise.
8259 * sysdeps/i386/fpu/math-tests-snan.h: New file.
8260 * sysdeps/i386/fpu/math-tests.h: Remove file.
8261 * sysdeps/ia64/math-tests-snan.h: New file.
8262 * sysdeps/ia64/math-tests.h: Remove file.
8263 * sysdeps/x86/math-tests.h: Likewise.
8264 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
8266 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8267 Szabolcs Nagy <szabolcs.nagy@arm.com>
8269 * math/Makefile: Add s_sincosf_data.c.
8270 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
8271 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
8272 (sincosf_poly): Likewise.
8273 (reduce_small): Likewise.
8274 (reduce_large): Likewise.
8275 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
8276 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
8277 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
8278 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
8280 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8281 Szabolcs Nagy <szabolcs.nagy@arm.com>
8283 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
8284 (converttoint): Use lround.
8285 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
8286 document the semantics when TOINT_INTRINSICS is set.
8287 (converttoint): Likewise.
8288 (TOINT_RINT): Remove.
8289 (TOINT_SHIFT): Remove.
8290 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
8293 2018-08-10 Florian Weimer <fweimer@redhat.com>
8296 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
8298 (__old_getdents64): Use getdents64. Convert entries without
8300 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
8301 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
8302 tst-readdir64-compat.
8304 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8306 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
8309 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8311 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
8312 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
8313 code to s390x-mcount.h and #include it.
8314 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
8315 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8318 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8320 * stdlib/Versions: Remove __fentry__.
8321 * sysdeps/i386/Versions: Add __fentry__.
8322 * sysdeps/x86_64/Versions: Add __fentry__.
8324 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8326 * sysdeps/s390/Makefile: Register the new tests.
8327 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
8328 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
8329 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
8330 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
8331 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
8332 * sysdeps/s390/tst-dl-runtime.c: New file.
8334 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8336 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8339 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8341 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8344 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8346 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8349 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8351 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8354 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8356 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8357 Use symbolic offsets for stack variables.
8359 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8361 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8362 Use symbolic offsets for stack variables.
8364 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8366 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8367 Use symbolic offsets for stack variables.
8369 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8371 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8372 Use symbolic offsets for stack variables.
8374 2018-08-09 Joseph Myers <joseph@codesourcery.com>
8376 * math/gen-libm-test.py: New file.
8377 * math/gen-libm-test.pl: Remove.
8378 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
8379 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
8381 ($(libm-test-c-noauto-obj)): Likewise.
8382 ($(libm-test-c-auto-obj)): Likewise.
8383 ($(libm-test-c-narrow-obj)): Likewise.
8384 (regen-ulps): Likewise.
8385 * math/README.libm-test: Update references to gen-libm-test.pl.
8386 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
8387 referencing gen-libm-test.pl.
8388 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
8389 * math/libm-test-support.c: Likewise.
8390 * math/libm-test-support.h: Likewise.
8391 * sysdeps/generic/libm-test-ulps: Likewise.
8393 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8395 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
8398 2018-08-08 Joseph Myers <joseph@codesourcery.com>
8400 * math/libm-test-nextdown.inc (do_test): Move comment to ....
8401 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
8403 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8405 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
8407 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
8408 __pthread_setspecific): Add hidden proto.
8409 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
8410 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
8412 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8414 * benchtests/bench-string.h (buf1_size, buf2_size): New
8416 (init_sizes): New function.
8417 (test_init): Use it.
8418 (alloc_buf, exit_error): New functions.
8419 (alloc_bufs): Use ALLOC_BUF.
8420 (realloc_bufs): Remove.
8421 * benchtests/bench-memcmp.c (do_test): Adjust.
8422 * benchtests/bench-memset-large.c (do_test): Likewise.
8423 * benchtests/bench-memset-walk.c (do_test): Likewise.
8424 * benchtests/bench-memset.c (do_test): Likewise.
8425 * benchtests/bench-strncmp.c (do_test): Likewise.
8427 2018-08-06 Andreas Schwab <schwab@suse.de>
8429 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
8430 of CONST_THREAD_AREA.
8432 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
8434 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
8435 (STATE_SAVE_MASK): Likewise.
8436 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
8437 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
8438 (STATE_SAVE_MASK): Likewise.
8439 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
8440 instead of <cpu-features.h>.
8442 2018-08-03 DJ Delorie <dj@redhat.com>
8444 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
8445 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
8447 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
8449 2018-08-03 Joseph Myers <joseph@codesourcery.com>
8451 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
8453 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
8454 * math/libm-test-logb.inc (logb_test_data): Likewise.
8456 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
8458 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
8459 * string/strstr.c (AVAILABLE): Likewise.
8461 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8463 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
8465 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
8466 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
8467 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
8469 2018-08-03 Carlos O'Donell <carlos@redhat.com>
8471 * po/be.po: Update translation.
8473 * po/be.po: Update translation.
8475 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8477 * sysdeps/x86/cpu-features-offsets.sym
8478 (rtld_global_ro_offsetof): Removed.
8479 (CPU_FEATURES_SIZE): Likewise.
8480 (CPUID_OFFSET): Likewise.
8481 (CPUID_SIZE): Likewise.
8482 (CPUID_EAX_OFFSET): Likewise.
8483 (CPUID_EBX_OFFSET): Likewise.
8484 (CPUID_ECX_OFFSET): Likewise.
8485 (CPUID_EDX_OFFSET): Likewise.
8486 (FAMILY_OFFSET): Likewise.
8487 (MODEL_OFFSET): Likewise.
8488 (FEATURE_OFFSET): Likewise.
8489 (FEATURE_SIZ): Likewise.
8490 (COMMON_CPUID_INDEX_1): Likewise.
8491 (COMMON_CPUID_INDEX_7): Likewise.
8492 (FEATURE_INDEX_1): Likewise.
8493 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
8495 2018-08-02 Carlos O'Donell <carlos@redhat.com>
8497 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
8498 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
8499 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
8500 (install-locales): Depend on install-locale-archive.
8501 (install-locale-archive): Define.
8502 (install-locale-files): Define.
8503 (build-one-locale): Define macro.
8504 * manual/install.texi (Running make install): Document.
8505 * manual/INSTALL: Regenerate.
8507 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8509 * benchtests/scripts/compare_strings.py: Import traceback.
8510 (parse_file): Pretty-print error.
8512 * NEWS: Mention the change.
8513 * elf/dl-tunables.list: Rename tune namespace to cpu.
8514 * sysdeps/powerpc/dl-tunables.list: Likewise.
8515 * sysdeps/x86/dl-tunables.list: Likewise.
8516 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
8518 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
8519 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
8520 * manual/README.tunables: Likewise.
8521 * manual/tunables.texi: Likewise.
8522 * sysdeps/powerpc/cpu-features.c: Likewise.
8523 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8524 (init_cpu_features): Likewise.
8525 * sysdeps/x86/cpu-features.c: Likewise.
8526 * sysdeps/x86/cpu-features.h: Likewise.
8527 * sysdeps/x86/cpu-tunables.c: Likewise.
8528 * sysdeps/x86_64/Makefile: Likewise.
8529 * sysdeps/x86/dl-cet.c: Likewise.
8531 2018-08-02 Joseph Myers <joseph@codesourcery.com>
8534 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
8535 [__mips_hard_float].
8536 (FE_UNDERFLOW): Likewise.
8537 (FE_OVERFLOW): Likewise.
8538 (FE_DIVBYZERO): Likewise.
8539 (FE_INVALID): Likewise.
8540 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
8541 (FE_TOWARDZERO): Define only if [__mips_hard_float].
8542 (FE_UPWARD): Likewise.
8543 (FE_DOWNWARD): Likewise.
8544 (__FE_UNDEFINED): Define if [!__mips_hard_float]
8545 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
8546 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
8547 [__mips_hard_float].
8548 (FP_ROUNDMODE): Likewise.
8549 (FP_RND_NEAREST): Likewise.
8550 (FP_RND_ZERO): Likewise.
8551 (FP_RND_PINF): Likewise.
8552 (FP_RND_MINF): Likewise.
8553 (FP_EX_INVALID): Likewise.
8554 (FP_EX_OVERFLOW): Likewise.
8555 (FP_EX_UNDERFLOW): Likewise.
8556 (FP_EX_DIVZERO): Likewise.
8557 (FP_EX_INEXACT): Likewise.
8558 (FP_INIT_ROUNDMODE): Likewise.
8559 * sysdeps/mips/nofpu/fesetenv.c: New file.
8560 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
8562 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8564 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
8565 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
8566 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
8567 conditional on [FE_UPWARD].
8569 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
8571 regex: fix memory leak in Gnulib
8572 Problem and fix reported by Assaf Gordon in:
8573 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
8574 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
8575 range_ends members too, as they are defined in 'struct
8576 re_charset_t' even if not _LIBC. This affects only Gnulib.
8578 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
8580 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
8582 (get_common_indices): This.
8583 (init_cpu_features): Updated.
8585 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8587 * sysdeps/generic/math-tests-snan-payload.h: New file.
8588 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
8589 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
8590 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
8591 * sysdeps/generic/math-tests.h: Include
8592 <math-tests-snan-payload.h>.
8593 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8594 * sysdeps/hppa/math-tests.h: Remove file.
8595 * sysdeps/mips/math-tests.h [!__mips_nan2008]
8596 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8597 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
8600 * sysdeps/generic/math-tests-snan-cast.h: New file.
8601 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
8602 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
8603 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
8604 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
8606 2018-08-01 Carlos O'Donel <carlos@redhat.com>
8608 * version.h (RELEASE): Set to "development".
8609 (VERSION): Set to "2.28.9000".
8610 * NEWS (2.29): New section.
8612 * version.h (RELEASE): Set to "stable".
8613 (VERSION): Set to "2.28".
8614 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
8615 * NEWS: Add the list of bugs fixed in 2.28.
8617 * po/ca.po: Update to latest version.
8618 * po/cs.po: Likewise
8619 * po/da.po: Likewise
8620 * po/el.po: Likewise
8621 * po/eo.po: Likewise
8622 * po/es.po: Likewise
8623 * po/fi.po: Likewise
8624 * po/fr.po: Likewise
8625 * po/gl.po: Likewise
8626 * po/hu.po: Likewise
8627 * po/ia.po: Likewise
8628 * po/id.po: Likewise
8629 * po/it.po: Likewise
8630 * po/ja.po: Likewise
8631 * po/ko.po: Likewise
8632 * po/lt.po: Likewise
8633 * po/nb.po: Likewise
8634 * po/nl.po: Likewise
8635 * po/pt_BR.po: Likewise
8636 * po/ru.po: Likewise
8637 * po/rw.po: Likewise
8638 * po/sk.po: Likewise
8639 * po/sl.po: Likewise
8640 * po/tr.po: Likewise
8641 * po/zh_CN.po: Likewise
8642 * po/zh_TW.po: Likewise
8644 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8646 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
8648 (init): ... before initializing libpthread.
8650 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
8651 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
8652 (__mach_setup_tls): ... new function.
8653 (mach_setup_tls): New alias.
8654 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
8655 __mach_setup_thread.
8656 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
8657 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
8658 * mach/Versions [libc] (mach_setup_tls): Add symbol.
8659 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
8661 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8663 * manual/install.texi: Update versions.
8664 * INSTALL: Regenerate.
8666 * manual/contrib.texi (Contributors): Update contributions.
8668 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8670 * po/be.po: Update translations.
8672 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8674 * sysdeps/sh/libm-test-ulps: Update.
8676 2018-07-30 Carlos O'Donell <carlos@redhat.com>
8678 * po/bg.po: Update translations.
8679 * po/de.po: Likewise.
8680 * po/hr.po: Likewise.
8681 * po/pt_BR.po: Likewise.
8682 * po/sv.po: Likewise.
8683 * po/vi.po: Likewise.
8685 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8688 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8689 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
8690 (CFLAGS-tst-cet-property-1.o): New.
8691 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
8692 ($(objpfx)tst-cet-property-2): Likewise.
8693 ($(objpfx)tst-cet-property-2.out): Likewise.
8694 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
8695 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
8696 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
8697 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
8698 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
8700 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8703 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
8705 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8707 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
8708 __sbrk): Do not set attribute_hidden.
8709 * sysdeps/mach/hurd/not-errno.h: New file.
8710 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8711 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
8713 2018-07-27 Carlos O'Donell <carlos@redhat.com>
8715 * po/uk.po: Update translations.
8716 * po/cs.po: Likewise.
8717 * po/pl.po: Likewise.
8719 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
8721 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
8722 parse beyond the note end.
8724 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8726 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
8727 kernel does not support OFD locks.
8728 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
8730 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8732 * sysdeps/mach/hurd/Versions (libc): Make __access and
8733 __access_noerrno external so they can override the ld symbols.
8734 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
8735 __writev, __open64, __access_noerrno extern so they can be overrided.
8736 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
8737 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8739 2018-07-26 Carlos O'Donell <carlos@redhat.com>
8741 * po/libc.pot: Regenerate.
8743 2018-07-26 Joseph Myers <joseph@codesourcery.com>
8745 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
8747 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8750 * sysdeps/x86/cpu-features.c (get_extended_indices): New
8752 (init_cpu_features): Call get_extended_indices for both Intel
8754 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
8755 Remove "for AMD" comment.
8757 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8760 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
8761 COMMON_CPUID_INDEX_80000001.
8763 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
8765 * string/tst-xbzero-opt.c (use_test_buffer): New function.
8766 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
8768 2018-07-26 Florian Weimer <fweimer@redhat.com>
8770 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
8771 aliases for symbols not in the implementation namespace.
8773 2018-07-25 Carlos O'Donell <carlos@redhat.com>
8776 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
8777 lowercase in LATIN script.
8778 * localedata/Makefile (test-input): Add en_US.UTF-8.
8779 * localedata/en_US.UTF-8.in: New file.
8780 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
8781 and restore old tests.
8782 * posix/tst-regexloc.c (do_test): Add back range expression test.
8784 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8786 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
8788 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8790 * nptl/threads.h: Move to ...
8791 * sysdeps/nptl/threads.h: ... here.
8792 * sysdeps/hurd/stdc-predef.h: New file.
8794 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8796 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8797 tst-cet-setcontext-1 if CET is enabled.
8798 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
8799 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
8801 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8803 * include/threads.h: Move to ...
8804 * sysdeps/nptl/threads.h: ... here.
8805 * sysdeps/htl/threads.h: New file.
8806 * conform/Makefile (linknamespace-libs-ISO11): Use
8807 static-thread-library instead of linking libpthread.
8808 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
8810 2018-07-25 Florian Weimer <fweimer@redhat.com>
8812 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
8813 nanoseconds into seconds.
8814 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
8815 (do_test): Likewise.
8816 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
8817 (do_test): Likewise. Avoid nanosecond overflow and spurious
8818 timeouts due to system load.
8819 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
8820 (child_wait): Increment it.
8821 (do_test): Wait as long as necessary until all expected threads
8824 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
8825 H.J. Lu <hongjiu.lu@intel.com>
8827 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
8829 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
8830 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
8831 (__push___start_context): New.
8832 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
8834 (__getcontext): Record the current shadow stack base. Save the
8835 caller's shadow stack pointer and base.
8836 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
8837 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
8838 (__push___start_context): New prototype.
8839 (__makecontext): Call __push___start_context to allocate a new
8840 shadow stack, push __start_context onto the new stack as well
8841 as the new shadow stack.
8842 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
8844 (__setcontext): Restore the target shadow stack.
8845 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
8847 (__swapcontext): Record the current shadow stack base. Save
8848 the caller's shadow stack pointer and base. Restore the target
8850 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8851 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
8852 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
8854 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8856 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
8857 tst-setcontext8 and tst-setcontext9.
8858 * stdlib/tst-setcontext6.c: New file.
8859 * stdlib/tst-setcontext7.c: Likewise.
8860 * stdlib/tst-setcontext8.c: Likewise.
8861 * stdlib/tst-setcontext9.c: Likewise.
8863 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8865 * stdlib/Makefile ((tests): Add tst-setcontext5.
8866 * stdlib/tst-setcontext5.c: New file.
8868 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8870 * stdlib/Makefile (tests): Add tst-setcontext4.
8871 * stdlib/tst-setcontext4.c: New file.
8873 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8875 * stdlib/Makefile (tests): Add tst-swapcontext1.
8876 * stdlib/tst-swapcontext1.c: New test.
8878 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8880 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
8881 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
8882 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
8883 and tst-cet-legacy-4c.
8884 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
8885 and tst-cet-legacy-mod-4.
8886 (CFLAGS-tst-cet-legacy-2.c): New.
8887 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
8888 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
8889 (CFLAGS-tst-cet-legacy-3.c): Likewise.
8890 (CFLAGS-tst-cet-legacy-4.c): Likewise.
8891 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
8892 ($(objpfx)tst-cet-legacy-1): Likewise.
8893 ($(objpfx)tst-cet-legacy-2): Likewise.
8894 ($(objpfx)tst-cet-legacy-2.out): Likewise.
8895 ($(objpfx)tst-cet-legacy-2a): Likewise.
8896 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
8897 ($(objpfx)tst-cet-legacy-4): Likewise.
8898 ($(objpfx)tst-cet-legacy-4.out): Likewise.
8899 ($(objpfx)tst-cet-legacy-4a): Likewise.
8900 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
8901 (tst-cet-legacy-4a-ENV): Likewise.
8902 ($(objpfx)tst-cet-legacy-4b): Likewise.
8903 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
8904 (tst-cet-legacy-4b-ENV): Likewise.
8905 ($(objpfx)tst-cet-legacy-4c): Likewise.
8906 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
8907 (tst-cet-legacy-4c-ENV): Likewise.
8908 * sysdeps/x86/tst-cet-legacy-1.c: New file.
8909 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
8910 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
8911 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
8912 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
8913 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
8914 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
8915 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
8916 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
8917 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
8918 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
8920 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8922 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8923 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8925 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8926 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8929 2018-07-25 Andreas Schwab <schwab@suse.de>
8932 * locale/weightwc.h (findidx): Handle the case where usrc is a
8933 prefix of cp but one character too short.
8935 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8937 * NEWS: Add ISO C threads addition.
8939 2018-07-24 Florian Weimer <fweimer@redhat.com>
8941 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8942 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
8943 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
8946 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8948 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
8949 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
8950 <sys/prctl.h> and <asm/prctl.h>.
8951 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
8952 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
8954 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
8955 ARCH_CET_LEGACY_BITMAP.
8956 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
8957 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
8958 * sysdeps/x86/libc-start.c: Include <startup.h>.
8960 2018-07-24 Florian Weimer <fweimer@redhat.com>
8962 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
8963 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
8965 2018-07-24 Rical Jasan <rj@2c3t.io>
8966 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8967 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8970 * manual/debug.texi: Update adjacent chapter name.
8971 * manual/probes.texi: Likewise.
8972 * manual/threads.texi (ISO C Threads): New section.
8973 (POSIX Threads): Convert to a section.
8975 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8976 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8979 * nptl/Makefile (tests): Add new test files.
8980 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
8981 * nptl/tst-cnd-basic.c: Likewise.
8982 * nptl/tst-cnd-broadcast.c: Likewise.
8983 * nptl/tst-cnd-timedwait.c: Likewise.
8984 * nptl/tst-mtx-basic.c: Likewise.
8985 * nptl/tst-mtx-recursive.c: Likewise.
8986 * nptl/tst-mtx-timedlock.c: Likewise.
8987 * nptl/tst-mtx-trylock.c: Likewise.
8988 * nptl/tst-thrd-basic.c: Likewise.
8989 * nptl/tst-thrd-detach.c: Likewise.
8990 * nptl/tst-thrd-sleep.c: Likewise.
8991 * nptl/tst-tss-basic.c: Likewise.
8993 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8996 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8997 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
8999 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9000 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9001 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9002 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9003 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9004 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9005 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9006 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9007 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9008 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9009 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9010 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9018 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9019 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9020 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9021 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9022 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9023 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9024 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9025 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9026 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
9027 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
9028 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
9029 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
9030 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
9032 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9033 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9034 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9035 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9036 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9037 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9038 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9039 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9040 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9041 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9042 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9043 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9050 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9051 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9052 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9053 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9054 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9055 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9056 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9057 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9060 * conform/data/threads.h-data (thread_local): New macro.
9061 (TSS_DTOR_ITERATIONS): Likewise.
9063 (tss_dtor_t): Likewise.
9064 (tss_create): New function.
9065 (tss_get): Likewise.
9066 (tss_set): Likewise.
9067 (tss_delete): Likewise.
9068 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
9069 tss_get, and tss_set objects.
9070 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9071 * nptl/tss_create.c: New file.
9072 * nptl/tss_delete.c: Likewise.
9073 * nptl/tss_get.c: Likewise.
9074 * nptl/tss_set.c: Likewise.
9075 * sysdeps/nptl/threads.h (thread_local): New define.
9076 (TSS_DTOR_ITERATIONS): Likewise.
9077 (tss_t): New typedef.
9078 (tss_dtor_t): Likewise.
9079 (tss_create): New prototype.
9080 (tss_get): Likewise.
9081 (tss_set): Likewise.
9082 (tss_delete): Likewise.
9085 * conform/data/threads.h-data (cnd_t): New type.
9086 (cnd_init): New function.
9087 (cnd_signal): Likewise.
9088 (cnd_broadcast): Likewise.
9089 (cnd_wait): Likewise.
9090 (cnd_timedwait): Likewise.
9091 (cnd_destroy): Likewise.
9092 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
9093 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
9095 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9096 * nptl/cnd_broadcast.c: New file.
9097 * nptl/cnd_destroy.c: Likewise.
9098 * nptl/cnd_init.c: Likewise.
9099 * nptl/cnd_signal.c: Likewise.
9100 * nptl/cnd_timedwait.c: Likewise.
9101 * nptl/cnd_wait.c: Likewise.
9102 * sysdeps/nptl/threads.h (cnd_t): New type.
9103 (cnd_init): New prototype.
9104 (cnd_signa): Likewise.
9105 (cnd_broadcast): Likewise.
9106 (cnd_wait): Likewise.
9107 (cnd_timedwait): Likewise.
9108 (cnd_destroy): Likewise.
9111 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
9112 (once_flag): New type.
9113 (call_once): New function.
9114 * nptl/Makefile (libpthread-routines): Add call_once object.
9115 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
9116 * nptl/call_once.c: New file.
9117 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
9118 (once_flag): New type.
9119 (call_once): New prototype.
9122 * conform/data/threads.h-data (mtx_plain): New constant.
9123 (mtx_recursive): Likewise.
9124 (mtx_timed): Likewise.
9126 (mtx_init): New function.
9127 (mtx_lock): Likewise.
9128 (mtx_timedlock): Likewise.
9129 (mtx_trylock): Likewise.
9130 (mtx_unlock): Likewise.
9131 (mtx_destroy): Likewise.
9132 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
9133 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
9134 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
9135 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
9136 * nptl/mtx_destroy.c: New file.
9137 * nptl/mtx_init.c: Likewise.
9138 * nptl/mtx_lock.c: Likewise.
9139 * nptl/mtx_timedlock.c: Likewise.
9140 * nptl/mtx_trylock.c: Likewise.
9141 * nptl/mtx_unlock.c: Likewise.
9142 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
9143 (mtx_recursive): Likewise.
9144 (mtx_timed): Likewise.
9146 (mtx_init): New prototype.
9147 (mtx_lock): Likewise.
9148 (mtx_timedlock): Likewise.
9149 (mtx_trylock): Likewise.
9150 (mtx_unlock): Likewise.
9151 (mtx_destroy): Likewise.
9154 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
9155 (linknamespace-libs-ISO11): Add libpthread.a.
9156 * conform/data/threads.h-data: New file: add C11 thrd_* types and
9158 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
9159 * nptl/Makefile (headers): Add threads.h.
9160 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
9161 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
9163 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
9164 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
9165 thrd_join, thrd_sleep, and thrd_yield symbols.
9166 * nptl/descr.h (struct pthread): Add c11 field.
9167 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
9168 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
9169 routine with expected function prototype.
9170 (__pthread_create_2_1): Add C11 threads check based on attribute
9172 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
9173 * nptl/thrd_create.c: New file.
9174 * nptl/thrd_current.c: Likewise.
9175 * nptl/thrd_detach.c: Likewise.
9176 * nptl/thrd_equal.c: Likewise.
9177 * nptl/thrd_exit.c: Likewise.
9178 * nptl/thrd_join.c: Likewise.
9179 * nptl/thrd_priv.h: Likewise.
9180 * nptl/thrd_sleep.c: Likewise.
9181 * nptl/thrd_yield.c: Likewise.
9182 * include/threads.h: Likewise.
9184 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9186 * bits/indirect-return.h: New file.
9187 * misc/sys/cdefs.h (__glibc_has_attribute): New.
9188 * sysdeps/x86/bits/indirect-return.h: Likewise.
9189 * stdlib/Makefile (headers): Add bits/indirect-return.h.
9190 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
9191 (swapcontext): Add __INDIRECT_RETURN.
9192 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
9193 (prepare_test_buffer): Use it.
9195 2018-07-24 Andreas Schwab <schwab@suse.de>
9198 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
9199 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
9201 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9203 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
9204 Redefine if shadow stack is enabled.
9205 (SYSCALL_ERROR_LABEL): Likewise.
9206 (__vfork): Pop shadow stack and jump back to to caller directly
9207 when shadow stack is in use.
9208 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
9209 Redefine if shadow stack is enabled.
9210 (SYSCALL_ERROR_LABEL): Likewise.
9211 (__vfork): Pop shadow stack and jump back to to caller directly
9212 when shadow stack is in use.
9214 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9216 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
9219 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
9222 2018-07-20 Joseph Myers <joseph@codesourcery.com>
9224 * scripts/build-many-glibcs.py (Context.checkout): Default
9225 binutils version to 2.31 branch.
9227 2018-07-20 Zong Li <zong@andestech.com>
9229 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
9230 URL of gcc's tarball.
9232 2018-07-20 Florian Weimer <fweimer@redhat.com>
9235 * posix/regcomp.c (build_equiv_class): When comparing weights, do
9236 not compare an extra byte after the end of the weights.
9238 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9240 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
9242 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
9244 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
9245 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
9246 * scripts/check-execstack.awk: Consider `xfail' variable containing a
9247 list of libraries whose stack executability is expected.
9248 * elf/Makefile ($(objpfx)check-execstack.out): Pass
9249 $(check-execstack-xfail) to check-execstack.awk through `xfail'
9251 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
9252 libc.so libpthread.so.
9254 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
9256 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
9258 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
9260 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
9262 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
9264 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9266 * benchtests/scripts/compare_bench.py (__main__): use the argparse
9267 library to improve command line parsing.
9268 (__main__): make schema file as optional parameter (--schema),
9269 defaulting to benchtests/scripts/benchout.schema.json.
9270 (main): move out of the parsing stuff to __main_ and leave it
9271 only as caller of main comparison functions.
9273 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
9275 * NEWS: Add a note for Intel CET status.
9276 * manual/install.texi: Likewise.
9277 * INSTALL: Regenerated.
9279 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
9282 * localedata/locales/oc_FR (mon): Rename to...
9283 (alt_mon): This, then update October (typo fix).
9284 (mon): New content (genitive case, month names preceded by
9288 * localedata/locales/oc_FR (abday): Update all items.
9289 (day): Update Wednesday and Saturday (typo fixes).
9290 (abmon): Update all items, except May.
9291 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
9292 (LC_IDENTIFICATION): Bump the revision number and date.
9293 Keep the "category" entries in alphabetic order.
9294 (LC_ADDRESS): Remove no longer needed comment.
9295 (LC_COLLATE): Use “copy "ca_ES"”.
9296 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
9299 2018-07-18 Joseph Myers <joseph@codesourcery.com>
9301 * grp/tst_fgetgrent.c: Include <unistd.h>.
9302 (main): Use mkstemp instead of tmpnam.
9303 * io/test-utime.c (main): Likewise.
9304 * posix/annexc.c (macrofile): Change to modifiable array.
9305 (main): Remove macrofile here.
9306 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9308 (check_header): Do not remove macrofile here.
9309 * posix/bug-getopt1.c: Include <stdlib.h>.
9310 (do_test): Use mkstemp instead of tmpnam.
9311 * posix/bug-getopt2.c: Include <stdlib.h>.
9312 (do_test): Use mkstemp instead of tmpnam.
9313 * posix/bug-getopt3.c: Include <stdlib.h>.
9314 (do_test): Use mkstemp instead of tmpnam.
9315 * posix/bug-getopt4.c: Include <stdlib.h>.
9316 (do_test): Use mkstemp instead of tmpnam.
9317 * posix/bug-getopt5.c: Include <stdlib.h>.
9318 (do_test): Use mkstemp instead of tmpnam.
9319 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
9320 (main): Use mkstemp instead of tmpnam.
9321 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
9322 (main): Use mkstemp instead of tmpnam.
9323 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
9324 (main): use mkstemp instead of tmpnam.
9325 * stdlib/isomac.c (macrofile): Change to modifiable array.
9326 (main): Remove macrofile here.
9327 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9329 (check_header): Do not remove macrofile here.
9331 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9333 * manual/tunables.texi: Document glibc.tune.x86_ibt and
9334 glibc.tune.x86_shstk.
9336 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9338 * NEWS: Mention --enable-cet.
9339 * manual/install.texi: Document --enable-cet.
9340 * INSTALL: Regenerated.
9342 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9344 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
9345 Add _CET_NOTRACK before indirect jump to jump table.
9347 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9349 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
9350 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9353 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9355 * sysdeps/i386/i686/multiarch/strcat-sse2.S
9356 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9359 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9361 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
9362 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9365 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9367 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
9368 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9371 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9373 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
9374 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9376 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
9378 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9380 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
9381 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9384 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9386 * sysdeps/i386/i686/multiarch/memset-sse2.S
9387 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9390 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9392 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
9393 indirect jump to jump table.
9395 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9397 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
9398 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9402 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9404 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
9405 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9409 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9411 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9412 _CET_NOTRACK before indirect jump to jump table.
9414 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9416 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
9417 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9420 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9422 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
9423 indirect jump to jump table.
9425 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
9428 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
9429 (LOCALES): Likewise.
9430 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
9431 * localedata/locales/sah_RU: New file.
9432 * localedata/sah_RU.UTF-8.in: New file.
9434 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9436 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
9438 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9439 _CET_ENDBR to indirect jump targets and adjust jump destination
9441 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
9443 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9444 _CET_ENDBR to indirect jump targets and adjust jump destination
9446 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
9448 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
9449 _CET_ENDBR to indirect jump targets and adjust jump destination
9452 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9454 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9457 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9459 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
9461 (_dl_tlsdesc_undefweak): Likewise.
9462 (_dl_tlsdesc_dynamic): Likewise.
9463 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
9464 (_dl_tlsdesc_resolve_rel): Likewise.
9465 (_dl_tlsdesc_resolve_rela): Likewise.
9466 (_dl_tlsdesc_resolve_hold): Likewise.
9467 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
9468 (_dl_tlsdesc_undefweak): Likewise.
9469 (_dl_tlsdesc_dynamic): Likewise.
9470 (_dl_tlsdesc_resolve_rela): Likewise.
9471 (_dl_tlsdesc_resolve_hold): Likewise.
9473 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9475 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
9477 * sysdeps/x86_64/crti.S (_init): Likewise.
9480 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
9483 * localedata/locales/os_RU (mon): Rename to...
9485 (mon): Import from CLDR (genitive case).
9487 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9489 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
9490 cet-tunables.h> when CET is enabled.
9492 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
9495 * configure.ac: Add --enable-cet.
9496 * configure: Regenerated.
9497 * elf/Makefille (all-built-dso): Add a comment.
9498 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
9499 Include <dl-prop.h>.
9500 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
9502 * elf/dl-open.c: Include <dl-prop.h>.
9503 (dl_open_worker): Call _dl_open_check.
9504 * elf/rtld.c: Include <dl-prop.h>.
9505 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
9507 * sysdeps/generic/dl-prop.h: New file.
9508 * sysdeps/i386/dl-cet.c: Likewise.
9509 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
9510 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
9511 * sysdeps/x86/cet-tunables.h: Likewise.
9512 * sysdeps/x86/check-cet.awk: Likewise.
9513 * sysdeps/x86/configure: Likewise.
9514 * sysdeps/x86/configure.ac: Likewise.
9515 * sysdeps/x86/dl-cet.c: Likewise.
9516 * sysdeps/x86/dl-procruntime.c: Likewise.
9517 * sysdeps/x86/dl-prop.h: Likewise.
9518 * sysdeps/x86/libc-start.h: Likewise.
9519 * sysdeps/x86/link_map.h: Likewise.
9520 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
9522 (_dl_runtime_profile): Likewise.
9523 (_dl_runtime_resolve_shstk): New.
9524 (_dl_runtime_profile_shstk): Likewise.
9525 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
9527 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
9528 (CFLAGS-.os): Likewise.
9529 (CFLAGS-.op): Likewise.
9530 (CFLAGS-.oS): Likewise.
9531 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
9533 (tests-special): Add $(objpfx)check-cet.out.
9534 (cet-built-dso): New.
9535 (+$(cet-built-dso:=.note)): Likewise.
9536 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
9537 ($(objpfx)check-cet.out): New.
9538 (generated): Add check-cet.out.
9539 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
9541 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
9542 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9543 (init_cpu_features): Call get_cet_status to check CET status
9544 and update dl_x86_feature_1 with CET status. Call
9545 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
9546 (set_x86_shstk). Disable and lock CET in libc.a.
9547 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
9548 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
9549 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9550 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
9551 (_CET_ENDBR): Define if not defined.
9552 (ENTRY): Add _CET_ENDBR.
9553 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
9555 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
9557 (_dl_runtime_profile): Likewise.
9559 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
9562 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
9563 restore r2 on longjmp.
9564 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
9566 Added rules to build test tst-setjmp-bug21895-static.
9567 Added module setjmp-bug21895 and rules to build a shared object from it.
9568 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
9569 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
9571 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
9573 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
9574 * benchtests/bench-strstr.c: Likewise.
9575 * string/memmem.c (FASTSEARCH): Define.
9576 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
9577 Add support for FASTSEARCH.
9578 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
9579 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
9580 (FASTSEARCH): Define.
9581 * string/test-strcasestr.c: Rename __strnlen to strnlen.
9582 * string/test-strstr.c: Likewise.
9584 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
9586 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
9587 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
9589 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
9590 H.J. Lu <hongjiu.lu@intel.com>
9592 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
9593 (__longjmp): Restore shadow stack pointer if shadow stack is
9594 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9595 isn't defined for __longjmp_cancel.
9596 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
9597 (_setjmp): Save shadow stack pointer if shadow stack is enabled
9598 and SHADOW_STACK_POINTER_OFFSET is defined.
9599 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
9600 (setjmp): Save shadow stack pointer if shadow stack is enabled
9601 and SHADOW_STACK_POINTER_OFFSET is defined.
9602 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
9603 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9604 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9605 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
9607 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9608 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9609 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
9610 Remove jmp_buf-ssp.sym.
9611 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9613 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9614 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9615 * sysdeps/x86/Makefile (gen-as-const-headers): Add
9617 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
9618 * sysdeps/x86_64/__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/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
9623 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9624 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9626 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
9629 * nptl/pthread_create.c: Include <tls-setup.h>.
9630 (__pthread_create_2_1): Call tls_setup_tcbhead.
9631 * sysdeps/generic/tls-setup.h: New file.
9632 * sysdeps/x86/nptl/tls-setup.h: Likewise.
9633 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
9634 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
9636 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
9638 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9639 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
9640 (X86_FEATURE_1_SHSTK): Likewise.
9641 (CET_ENABLED): Likewise.
9642 (IBT_ENABLED): Likewise.
9643 (SHSTK_ENABLED): Likewise.
9645 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
9648 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
9649 (LOCALES): Likewise.
9650 * localedata/dsb_DE.UTF-8.in: New file.
9651 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
9653 2018-07-12 Florian Weimer <fweimer@redhat.com>
9655 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
9656 __mprotect, not mprotect.
9658 2018-07-11 Florian Weimer <fweimer@redhat.com>
9660 * io/Makefile (headers): Add bits/statx.h.
9662 2018-07-10 Mike FABIAN <mfabian@redhat.com>
9664 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
9665 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
9667 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
9668 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
9671 2018-07-10 Florian Weimer <fweimer@redhat.com>
9673 * io/Makefile (routines): Add statx.
9674 (tests-internal): Add tst-statx.
9675 * io/Versions (GLIBC_2.28): Export statx.
9676 * io/bits/statx.h: New file.
9677 * io/sys/stat.h [__USE_GNU]: Include it.
9678 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
9679 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
9681 * io/statx.c: New file.
9682 * io/statx_generic.: Likewise.
9683 * io/tst-statx.: Likewise.
9684 * include/bits/statx.h: Likewise.
9685 * sysdeps/unix/sysv/linux/kernel-features.h
9686 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
9687 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9688 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
9689 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
9691 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9692 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
9693 * sysdeps/unix/sysv/linux/statx.c: New file.
9694 * manual/filesys.texi: Note that statx is undocumented.
9695 * sysdeps/**/libc*.abilist: Update.
9697 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9699 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
9700 a kernel issue which lead to test failure in some cases.
9702 2018-07-10 Florian Weimer <fweimer@redhat.com>
9705 * posix/regexec.c (check_node_accept_bytes): When comparing
9706 weights, do not compare an extra byte after the end of the
9709 2018-07-10 Florian Weimer <fweimer@redhat.com>
9711 * libio/readline.c: Fix copyright year.
9712 * libio/tst-readline.c Likewise.
9713 * nss/tst-nss-files-hosts-getent.c: Likewise.
9715 2018-07-06 Florian Weimer <fweimer@redhat.com>
9718 * nss/nss_files/files-XXX.c (internal_getent): Use
9719 __libc_readline_unlocked. Seek back to the start of the line if
9720 parsing failes with ERANGE.
9721 (get_contents_ret, get_contents): Remove.
9722 * nss/tst-nss-files-hosts-getent.c: New file.
9723 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
9724 (tst-nss-files-hosts-getent): Link with -ldl.
9726 2018-07-06 Florian Weimer <fweimer@redhat.com>
9728 * include/stdio.h (__libc_readline_unlocked): Declare.
9729 (__ftello64, __fseeko64): Declare aliases.
9730 * libio/readline.c: New file.
9731 * libio/tst-readline.c: Likewise.
9732 (routines): Add readline.
9733 (tests-internal): Add tst-readlime.
9734 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
9735 __libc_readline_unlocked.
9736 * libio/fseeko.c (__fseeko): Rename from fseeko.
9737 (fseeko): Add alias.
9738 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
9739 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
9740 (fseeko64): Add alias.
9741 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
9742 * libio/ftello64.c (__ftello64): Rename from ftello64.
9743 (ftello64): Add alias.
9745 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9747 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
9750 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9752 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
9753 Use dl_hwcap without masking.
9754 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
9757 2018-07-06 Florian Weimer <fweimer@redhat.com>
9759 * conform/conformtest.pl (checknamespace): Escape literal braces
9760 in regular expressions.
9762 2018-07-06 Amit Pawar <amit.pawar@amd.com>
9764 * sysdeps/x86/cpu-features.c (get_common_indeces):
9765 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
9766 * sysdeps/x86/cpu-features.c (init_cpu_features):
9767 AVX_Fast_Unaligned_Load is disabled for Excavator core.
9769 2018-07-05 Florian Weimer <fweimer@redhat.com>
9771 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
9773 (CFLAGS-elf-init.oS): Likewise.
9775 2018-07-05 Florian Weimer <fweimer@redhat.com>
9776 Carlos O'Donell <carlos@redhat.com>
9778 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
9779 $(no-stack-protector). stack_chk_fail_local.c can be compiled
9780 with stack protector enabled because there is no risk of infinite
9783 2018-07-05 Maciej W. Rozycki <macro@mips.com>
9787 * libc-abis (ABSOLUTE): New ABI.
9788 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
9789 * NEWS: Mention the new ABI.
9791 2018-07-05 Florian Weimer <fweimer@redhat.com>
9794 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
9795 (RENAME_WHITEOUT): Define.
9796 [__USE_GNU] (renameat2): Declare.
9797 * stdio-common/Makefile (routines): Add renameat2.
9798 (tests): Add tst-renameat2.
9799 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
9800 * stdio-common/renameat2.c: New file.
9801 * stdio-common/tst-renameat2.c: Likewise.
9802 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
9803 * manual/filesys.texi (Temporary Files): Note that renameat2 is
9805 * sysdeps/unix/sysv/linux/kernel-features.h
9806 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
9807 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9808 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9809 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9810 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9811 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9812 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
9813 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9814 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
9815 * include/stdio.h (__renameat): Add alias for renameat.
9816 * stdio-common/renameat.c (__renameat): Rename from renameat.
9817 Add hidden definition and alias.
9818 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9819 * sysdeps/mach/hurd/renameat.c: Likewise.
9820 * sysdeps/**/libc*.abilist: Add renameat2.
9822 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9824 * posix/bug-regex33.c: Fix build after regex sync.
9826 2018-07-04 Carlos O'Donell <carlos@redhat.com>
9829 * localedata/tst-langinfo-setlocale.c: New file.
9830 * localedata/tst-langinfo-setlocale-static.c: New file.
9831 * localedata/tst-langinfo-newlocale.c: New file.
9832 * localedata/tst-langinfo-newlocale-static.c: New file.
9833 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
9834 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
9835 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
9836 (tests-static): Remove tst-langinfo-static. Add
9837 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
9838 (tests-special): Remove $(objpfx)tst-langinfo.out,
9839 $(objpfx)tst-langinfo-static.out. Add
9840 $(objpfx)tst-langinfo-setlocale.out,
9841 $(objpfx)tst-langinfo-newlocale.out,
9842 $(objpfx)tst-langinfo-setlocale-static.out,
9843 $(objpfx)tst-langinfo-newlocale-static.out.
9844 ($(objpfx)tst-langinfo.out): Remove.
9845 ($(objpfx)tst-langinfo-static.out): Remove.
9846 ($(objpfx)tst-langinfo-newlocale.out): New target.
9847 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
9848 (test-xfail-tst-langinfo-newlocale-static): Add.
9849 ($(objpfx)tst-langinfo-setlocale.out): New target.
9850 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
9851 * localedata/tst-langinfo.c: Call test_locale.
9852 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
9855 2018-07-04 Florian Weimer <fweimer@redhat.com>
9857 testrun.sh: Implement --tool=strace, --tool=valgrind
9858 * Makefile (testrun-script): Define variable.
9859 (testrun.sh): Use variable.
9860 * manual/install.texi (Tools for Compilation): make 4.0 or later
9862 * configure.ac: Check for make 4.0 or later.
9863 * INSTALL: Regenerate.
9864 * configure: Likewise.
9866 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9872 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
9873 * posix/PCRE.tests: Remove invalid test.
9874 * posix/bug-regex28.c: Fix expected values for used syntax.
9875 * posix/bug-regex37.c: New file.
9876 * posix/bug-regex38.c: Likewise.
9877 * posix/regcomp.c: Sync with gnulib.
9878 * posix/regex.c: Likewise.
9879 * posix/regex.h: Likewise.
9880 * posix/regex_internal.c: Likewise.
9881 * posix/regex_internal.h: Likewise.
9882 * posix/regexec.c: Likewise.
9884 2018-06-26 Mike FABIAN <mfabian@redhat.com>
9887 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
9888 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
9889 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
9890 * localedata/unicode-gen/PropList.txt: likewise.
9891 * localedata/unicode-gen/UnicodeData.txt: likewise.
9892 * localedata/charmaps/UTF-8: Regenerate.
9893 * localedata/locales/i18n_ctype: likewise.
9894 * localedata/locales/tr_TR: likewise.
9895 * localedata/locales/translit_circle: likewise.
9896 * localedata/locales/translit_cjk_compat: likewise.
9897 * localedata/locales/translit_combining: likewise.
9898 * localedata/locales/translit_compat: likewise.
9899 * localedata/locales/translit_font: likewise.
9900 * localedata/locales/translit_fraction: likewise.
9902 2018-07-03 Florian Weimer <fweimer@redhat.com>
9905 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
9906 * stdio-common/tst-printf.sh: Adjust expected output.
9909 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9911 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
9914 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9916 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
9917 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
9918 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
9919 * stdio-common/tst-printfsz-islongdouble.c: New file.
9920 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
9921 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
9922 [subdir == stdio-common] (routines): Add ieee128-printf_size.
9923 [subdir == stdio-common] (tests-internal): Add
9924 test-printf-size-ieee128, and test-printf-size-ibm128.
9925 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
9926 (CFLAGS-test-printf-size-ibm128.c): New variables.
9927 [subdir == stdio-common] (tests-special): Add
9928 $(objpfx)test-printf-size-ieee128.out and
9929 $(objpfx)test-printf-size-ibm128.out.
9930 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
9931 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
9932 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
9933 __printf_sizeieee128.
9934 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
9936 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
9938 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
9941 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9943 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
9944 (exp2f_inline): Likewise.
9945 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
9946 (__math_uflowf): Likewise.
9947 (__math_may_uflowf): Likewise.
9948 (__math_divzerof): Likewise.
9949 (__math_invalidf): Likewise.
9950 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
9951 (__math_oflowf): Likewise.
9952 (__math_uflowf): Likewise.
9953 (__math_may_uflowf): Likewise.
9954 (__math_divzerof): Likewise.
9955 (__math_invalidf): Likewise.
9957 2018-06-29 DJ Delorie <dj@redhat.com>
9958 Carlos O'Donell <carlos@redhat.com>
9961 * include/libc-symbols.h: Comment the freeres framework.
9962 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
9963 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
9964 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
9965 * dlfcn/dlerror.c: Include libc-symbols.h
9966 (__dlerror_main_freeres): New function.
9967 * dlfcn/dlfreeres.c: New file.
9968 * dlfcn/sdlfreeres.c: New file.
9969 * include/dlfcn.h: Declare __dlerror_main_freeres.
9970 * malloc/set-freeres.c: Declare __libdl_freeres, and
9971 __libpthread_freeres.
9972 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
9973 the releavant libraries are loaded.
9974 * malloc/thread-freeres.c: Add comments.
9975 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
9976 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
9977 * nptl/allocatestack.c (__nptl_free_stacks): New function.
9978 (__free_stacks): Rename to...
9979 (free_stacks): ...this. Mark static.
9980 (queue_stack): Call free_stacks.
9981 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
9982 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
9983 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
9984 ptr_freeres element from struct.
9985 (pthread_functions): Remove .ptr_freeres from struct initializer.
9986 [SHARED] (nptl_freeres): Remove.
9987 * nptl/nptlfreeres.c: New file.
9989 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
9990 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
9992 (__free_stacks): Rename to...
9993 (__nptl_stacks_freeres): ...this.
9994 (__shm_directory_freeres): Declare.
9995 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
9996 (__nptl_unwind_freeres): ...this.
9997 * resolv/res-close.c: Add comment.
9998 * resolv/resolv_conf.c: Include libc-symbols.h.
9999 * string/strerror_l.c: Include libc-symbols.h.
10000 * sunrpc/rpc_thread.c: Include libc-symbols.h.
10001 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
10002 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
10003 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
10005 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10007 * stdlib/tst-strfmon_l.c: Add tests for long double.
10009 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
10012 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
10013 * localedata/locales/dsb_DE: New file.
10015 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10018 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
10020 (alt_mon): New entry, import from CLDR (nominative case).
10022 2018-06-29 Sylvain Lesage <severo@rednegra.net>
10025 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
10027 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
10029 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10030 Use vector registers.
10032 * sysdeps/aarch64/multiarch/memmove_falkor.S
10033 (__memcpy_falkor): Use vector registers.
10035 2018-06-29 Martin Sebor <msebor@redhat.com>
10037 * manual/stdio.texi (Customizing Printf): Mention interaction
10038 with GCC built-ins.
10040 2018-06-29 Maciej W. Rozycki <macro@mips.com>
10043 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
10044 `st_value' is 0 if `st_shndx' is SHN_ABS.
10045 * elf/tst-absolute-zero.c: New file.
10046 * elf/tst-absolute-zero-lib.c: New file.
10047 * elf/tst-absolute-zero-lib.lds: New file.
10048 * elf/Makefile (tests): Add `tst-absolute-zero'.
10049 (modules-names): Add `tst-absolute-zero-lib'.
10050 (LDLIBS-tst-absolute-zero-lib.so): New variable.
10051 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
10052 ($(objpfx)tst-absolute-zero: New dependency.
10054 2018-06-29 Zack Weinberg <zackw@panix.com>
10056 * configure.ac: New command-line option --disable-crypt.
10057 Force --disable-nss-crypt when --disable-crypt is given, with a
10058 warning if it was explicitly enabled.
10059 * configure: Regenerate.
10060 * config.make.in: New boolean substitution variable $(build-crypt).
10061 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
10062 when $(build-crypt).
10063 * manual/install.texi: Document --disable-crypt.
10064 * INSTALL: Regenerate.
10066 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
10067 which is never set.
10068 * conform/Makefile: Only include libcrypt.a in
10069 linknamespace-libs-xsi and linknamespace-libs-XPG4
10070 when $(build-crypt).
10071 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
10072 USE_CRYPT to 1 when $(build-crypt).
10073 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
10074 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
10075 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
10077 2018-06-29 Zack Weinberg <zackw@panix.com>
10079 * crypt/crypt.h, posix/unistd.h: Update comments and
10080 prototypes for crypt and crypt_r.
10082 * manual/crypt.texi (Cryptographic Functions): New initial
10084 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
10085 (Unpredictable Bytes): Improve initial exposition. Clarify error
10086 behavior of getentropy and getrandom.
10087 * manual/examples/genpass.c: Generate a salt using getentropy
10088 instead of the current time. Use hash $5$ (SHA-2-256).
10089 * manual/examples/testpass.c: Demonstrate validation against
10090 hashes generated with three different one-way functions.
10092 * manual/intro.texi: crypt.texi does not need an overview
10095 * manual/nss.texi, manual/memory.texi, manual/socket.texi
10096 * manual/terminal.texi: Consistently refer to "passphrases"
10097 * instead of "passwords", and to the "user database" instead
10098 * of the "password database".
10099 * manual/users.texi: Similarly. Add notes about how actual
10100 passphrase hashes are now stored in the shadow database.
10101 Remove 20-year-old junk todo note.
10103 2018-06-29 Zack Weinberg <zackw@panix.com>
10105 * manual/crypt.texi: Use a normal top-level @node declaration.
10106 Move most of the introductory text to the 'crypt' section.
10107 Move the example programs below the @deftypefun for 'crypt_r'.
10108 Move the 'getpass' section...
10109 * manual/terminal.texi: ...here.
10111 2018-06-29 Zack Weinberg <zackw@panix.com>
10112 Florian Weimer <fweimer@redhat.com>
10114 * posix/unistd.h: Do not declare encrypt.
10115 (_XOPEN_CRYPT): Remove macro definition.
10116 (crypt): Declare only for _USE_MISC.
10117 * stdlib/stdlib.h: Do not declare setkey.
10118 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
10119 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
10121 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
10122 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
10123 into compat symbols. Don't define initial_perm if it's not
10125 * crypt/cert.c: Link explicitly with the expected versions for
10126 setkey and encrypt. If they are not available at all, mark
10127 the test as unsupported.
10129 * sunrpc/des_crypt.c: Unconditionally block linkage with
10130 cbc_crypt and ecb_crypt for new binaries.
10131 * sunrpc/des_soft.c: Unconditionally block linkage with
10132 des_setparity for new binaries.
10134 * manual/crypt.texi: Remove the entire "DES Encryption"
10135 section. Also remove the paragraph talking about FIPS 140-2
10136 from the introduction.
10137 * manual/string.texi (strfry, memfrob): Revise. Recommend use
10138 of libgcrypt for "real" encryption, not DES.
10139 * manual/conf.texi (Constants for Sysconf): Mention that
10140 _XOPEN_CRYPT is no longer impelemented.
10142 * conform/data/unistd.h-data: Remove crypt function declaration.
10144 2018-06-29 Florian Weimer <fweimer@redhat.com>
10147 * malloc/hooks.c: Update comments on restoring of dumped heaps.
10148 (disallow_malloc_check): Remove variable.
10149 (__malloc_check_init): Adjust.
10150 (malloc_set_state): Update comment.
10151 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
10154 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10157 * localedata/locales/ast_ES (mon): Rename to...
10159 (mon): Import from CLDR (genitive case).
10161 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
10162 Jakub Sitnicki <jkbs@redhat.com>
10165 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
10166 on NLM_F_DUMP_INTR.
10168 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10170 * manual/llio.texi: Remove spurious space.
10172 2018-06-28 Florian Weimer <fweimer@redhat.com>
10175 * time/bits/types/struct_timespec.h: Change header inclusion guard to
10178 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10180 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
10181 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
10182 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
10183 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
10184 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
10185 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
10186 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
10188 2018-06-27 Maciej W. Rozycki <macro@mips.com>
10191 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
10192 Copy and null-terminate entries that are not terminated, in
10193 addition to empty ones.
10195 2018-06-27 Florian Weimer <fweimer@redhat.com>
10198 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
10199 (extend_alloca_account): Remove.
10200 * manual/stdio.texi (Variable Arguments Output): Update comment.
10202 2018-06-27 Joseph Myers <joseph@codesourcery.com>
10204 * nptl/sockperf.c: Remove file.
10206 2018-06-27 Florian Weimer <fweimer@redhat.com>
10209 * elf/dl-deps.c (_dl_map_object_deps): Use struct
10210 scratch_buffer instead of extend_alloca.
10212 2018-06-27 Florian Weimer <fweimer@redhat.com>
10215 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
10216 scratch_buffer instead of extend_alloca. Update comments.
10218 2018-06-27 Florian Weimer <fweimer@redhat.com>
10221 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
10222 instead of extend_alloca.
10224 2018-06-26 Joseph Myers <joseph@codesourcery.com>
10227 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
10228 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
10230 * scripts/test-installation.pl: Put temporary files in build
10231 directory, not /tmp.
10232 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
10233 (CFLAGS-bug4.c): Likewise.
10234 (CFLAGS-bug5.c): Likewise.
10235 (CFLAGS-test-fseek.c): Likewise.
10236 (CFLAGS-test-popen.c): Likewise.
10237 (CFLAGS-test_rdwr.c): Likewise.
10238 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
10240 * stdio-common/bug4.c (main): Likewise.
10241 * stdio-common/bug5.c (main): Likewise.
10242 * stdio-common/test-fseek.c (TESTFILE): Likewise.
10243 * stdio-common/test-popen.c (do_test): Likewise.
10244 * stdio-common/test_rdwr.c (main): Likewise.
10246 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
10248 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
10249 (sem_open): Set sem.newsem.pad to zero for valgrind.
10251 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10254 * NEWS: Mention fcntl64 addition.
10255 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
10256 * login/utmp_file.c: Likewise.
10257 * sysdeps/posix/fdopendir.c: Likewise.
10258 * sysdeps/posix/opendir.c: Likewise.
10259 * sysdeps/unix/pt-fcntl.c: Likewise.
10260 * include/fcntl.h (__libc_fcntl64, __fcntl64,
10261 __fcntl64_nocancel_adjusted): New prototype.
10262 (__fcntl_nocancel_adjusted): Remove prototype.
10263 * io/Makefile (routines): Add fcntl64.
10264 (CFLAGS-fcntl64.c): New rule.
10265 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
10266 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
10267 * io/fcntl.h (fcntl64): Add prototype and redirect if
10268 __USE_FILE_OFFSET64 is defined.
10269 * io/fcntl64.c: New file.
10270 * manual/llio.text: Add a note for which commands fcntl acts a
10271 cancellation point.
10272 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
10273 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
10274 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
10276 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
10277 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
10279 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
10280 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
10281 to __fcntl64_nocancel.
10282 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
10283 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
10284 to __fcntl64_nocancel.
10285 * sysdeps/generic/not-cancel.h: Likewise.
10286 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
10287 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
10288 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10289 (fcntl64): New symbol.
10290 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10291 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10292 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10295 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10296 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10297 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10298 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10299 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10300 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
10301 fcntl64): Likewise.
10302 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10303 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
10304 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10305 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10306 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10307 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10308 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10309 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10310 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10315 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10316 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10317 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10319 2018-06-26 Florian Weimer <fweimer@redhat.com>
10321 Run thread shutdown functions in an explicit order.
10322 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
10324 (__libc_thread_freeres): Call thread shutdown functions
10326 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
10327 * include/string.h (__strerror_thread_freeres): Declare.
10328 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
10329 arena_thread_freeres. No longer static. Remove thread shutdown
10331 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
10333 * resolv/res-close.c (__res_thread_freeres): Renamed from
10334 res_thread_freeres. No longer static. Remove thread shutdown
10336 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
10337 * resolv/resolv_conf.c (freeres): Remove incorrect section
10338 attribute and use libc_freeres_fn.
10339 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
10340 strerror_thread_freeres. No longer static. Remove thread
10341 shutdown hook registration.
10342 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
10343 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
10344 shutdown hook registration.
10345 * Makerules (shlib.lds): Do not provide section boundary symbols
10346 for __libc_thread_subfreeres.
10347 * manual/memory.texi (Basic Allocation): Update comment.
10349 2018-06-26 Florian Weimer <fweimer@redhat.com>
10351 Remove always-defined _RPC_THREAD_SAFE_ macro.
10352 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
10353 Do not define _RPC_THREAD_SAFE_.
10354 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
10356 * sunrpc/clnt_perr.c: Likewise.
10357 * sunrpc/clnt_raw.c: Likewise.
10358 * sunrpc/clnt_simp.c: Likewise.
10359 * sunrpc/key_call.c: Likewise.
10360 * sunrpc/rpc_common.c: Likewise.
10361 * sunrpc/rpc_main.c: Likewise.
10362 * sunrpc/rpc_thread.c: Likewise.
10363 * sunrpc/svc.c: Likewise.
10364 * sunrpc/svc_raw.c: Likewise.
10365 * sunrpc/svc_simple.c: Likewise.
10366 * sumrpc/svcauth_des.c: Likewise.
10368 2018-06-26 Florian Weimer <fweimer@redhat.com>
10370 * libio/Makefile (tests-internal): Add tst-vtables,
10371 tst-vtables-interposed.
10372 * libio/tst-vtables.c: New file.
10373 * libio/tst-vtables-common.c: Likewise.
10374 * libio/tst-vtables-interposed.c: Likewise.
10376 2018-06-26 Florian Weimer <fweimer@redhat.com>
10378 * support/support_test_main.c (support_test_main): Only call
10379 setvbuf if not disables.
10380 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
10381 * support/test-driver.h (struct test_config): Add no_setvbuf member.
10383 2018-06-26 Florian Weimer <fweimer@redhat.com>
10386 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
10388 2018-06-25 Florian Weimer <fweimer@redhat.com>
10391 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10392 Use struct scratch_buffer instead of extend_alloca.
10394 2018-06-25 Florian Weimer <fweimer@redhat.com>
10397 * nss/getent.c (initgroups_keys): Use dynarray instead of
10400 2018-06-25 Florian Weimer <fweimer@redhat.com>
10403 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
10404 Use struct scratch_buffer instead of extend_alloca.
10406 2018-06-25 Florian Weimer <fweimer@redhat.com>
10409 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
10410 back to malloc directly, without stack allocations.
10412 2018-06-25 Florian Weimer <fweimer@redhat.com>
10415 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
10418 2018-06-25 Florian Weimer <fweimer@redhat.com>
10421 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
10423 * nscd/hstcache.c (addhstbyX): Likewise.
10424 * nscd/pwdcache.c (addpwbyX): Likewise.
10425 * nscd/servicescache.c (addservbyX): Likewise.
10427 2018-06-25 Florian Weimer <fweimer@redhat.com>
10430 * nscd/connections.c (read_cmdline): New function.
10431 (restart): Use it. Update comment.
10433 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10436 * localedata/locales/csb_PL (mon): Rename to...
10438 (abmon): Rename to...
10439 (ab_alt_mon): This.
10440 (mon): Add with proper genitive forms, copy from Wikipedia.
10443 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10446 * localedata/locales/csb_PL (mon): Fix typos:
10447 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
10448 (yesstr): Add, value is "jo".
10449 (nostr): Add, value is "nié".
10451 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10453 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
10454 all log1p and significand functions on m680x0.
10455 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
10456 of s_significand.c..
10457 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10458 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
10459 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
10460 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
10461 s_log1p.c and include it..
10463 2018-06-21 Vincent Chen <vincentc@andestech.com>
10465 * elf/elf.h (R_NDS32_NONE): New define.
10466 (R_NDS32_32_RELA): Likewise.
10467 (R_NDS32_COPY): Likewise.
10468 (R_NDS32_GLOB_DAT): Likewise.
10469 (R_NDS32_JUMP_SLOT): Likewise.
10470 (R_NDS32_RELATIVE): Likewise.
10471 (R_NDS32_TLS_TPOFF): Likewise.
10472 (R_NDS32_TLS_DESC): Likewise.
10474 2018-06-21 Mark Wielaard <mark@klomp.org>
10476 * elf/elf.h (R_BPF_MAP_FD): Removed.
10477 (R_BPF_64_64, R_BPF_64_32): New.
10479 2018-06-21 Florian Weimer <fweimer@redhat.com>
10482 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
10483 Renamed from libc_feholdsetround_ctx.
10484 (default_libc_feresetround_ctx): Renamed from
10485 libc_feresetround_ctx.
10486 (default_libc_feholdsetround_noex_ctx): Renamed from
10487 libc_feholdsetround_noex_ctx.
10488 (default_libc_feresetround_noex_ctx): Renamed from
10489 libc_feresetround_noex_ctx.
10490 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
10491 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
10492 forwardning to the old implementations under the new names.
10493 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
10494 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
10495 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
10496 (libc_feresetround_ctx): Forward to default implements for i386
10497 and MATH_SET_BOTH_ROUNDING_MODES.
10498 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
10499 Add -DMATH_SET_BOTH_ROUNDING_MODES.
10501 2018-06-20 Joseph Myers <joseph@codesourcery.com>
10503 * string/tst-cmp.c: Include <libc-diag.h>.
10504 (strncmp_max): Disable -Wstringop-overflow= around call to
10506 (strncasecmp_max): Disable -Wstringop-overflow= around call to
10509 * string/bug-strpbrk1.c: Include <libc-diag.h>.
10510 (main): Disable -Wunused-value around call to strpbrk.
10511 * string/bug-strspn1.c: Include <libc-diag.h>.
10512 (main): Disable -Wunused-value around call to strspn.
10514 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10515 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10517 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
10518 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
10520 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10522 * math/Makefile (libm-calls): Move s_significandF to...
10523 (gen-libm-calls): ... here.
10524 * math/s_significand_template.c: New file.
10525 * math/s_significand.c: Removed.
10526 * math/s_significandf.c: Removed.
10527 * math/s_significandl.c: Removed.
10528 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
10529 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
10531 * math/e_exp2_template.c (declare_mgen_finite_alias,
10532 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
10533 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
10534 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
10536 2018-06-20 Florian Weimer <fweimer@redhat.com>
10538 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
10540 2018-06-19 Joseph Myers <joseph@codesourcery.com>
10543 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
10544 floating-point number to strtod functions rather than possibly
10545 negating result of those functions.
10546 * stdio-common/tst-scanf-round.c: New file.
10547 * stdio-common/Makefile (tests): Add tst-scanf-round.
10548 ($(objpfx)tst-scanf-round): Depend on $(libm).
10550 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10552 * sysdeps/mach/hurd/localplt.data: Move to...
10553 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
10554 R_386_GLOB_DAT like on Linux i386.
10556 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10558 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
10559 (SHM_STAT_ANY): New macro.
10560 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
10561 (SHM_STAT_ANY): Likewise.
10562 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
10563 (SHM_STAT_ANY): Likewise.
10564 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
10565 (SHM_STAT_ANY): Likewise.
10566 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
10567 (SHM_STAT_ANY): Likewise.
10568 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
10569 (SHM_STAT_ANY): Likewise.
10570 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
10571 (SHM_STAT_ANY): Likewise.
10572 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
10573 (SHM_STAT_ANY): Likewise.
10574 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
10575 (SHM_STAT_ANY): Likewise.
10576 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
10577 (SHM_STAT_ANY): Likewise.
10578 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
10579 (SHM_STAT_ANY): Likewise.
10580 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
10581 (SHM_STAT_ANY): Likewise.
10583 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
10584 (SEM_STAT_ANY): New macro.
10585 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
10586 (SEM_STAT_ANY): Likewise.
10587 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
10588 (SEM_STAT_ANY): Likewise.
10589 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
10590 (SEM_STAT_ANY): Likewise.
10591 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
10592 (SEM_STAT_ANY): Likewise.
10593 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
10594 (SEM_STAT_ANY): Likewise.
10595 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
10596 (SEM_STAT_ANY): Likewise.
10597 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
10598 (SEM_STAT_ANY): Likewise.
10599 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
10600 (SEM_STAT_ANY): Likewise.
10601 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
10602 (SEM_STAT_ANY): Likewise.
10604 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
10605 (MSG_STAT_ANY): New macro.
10606 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
10607 (MSG_STAT_ANY): Likewise.
10608 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
10609 (MSG_STAT_ANY): Likewise.
10610 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
10611 (MSG_STAT_ANY): Likewise.
10612 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
10613 (MSG_STAT_ANY): Likewise.
10614 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
10615 (MSG_STAT_ANY): Likewise.
10616 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
10617 (MSG_STAT_ANY): Likewise.
10618 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
10619 (MSG_STAT_ANY): Likewise.
10620 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
10621 (MSG_STAT_ANY): Likewise.
10622 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
10623 (MSG_STAT_ANY): Likewise.
10625 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10626 (MAP_TYPE): Change value to 0x2b.
10628 2018-06-18 Florian Weimer <fweimer@redhat.com>
10631 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
10632 socket with SOCK_CLOEXEC.
10634 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10637 * sysdeps/powerpc/powerpc64/le/Makefile
10638 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
10639 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
10640 (gnulib-tests): Also add $(f128-loader-link) for
10641 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
10643 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10645 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
10646 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
10648 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
10649 (sendfile64): New strong alias.
10650 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
10651 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
10652 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
10653 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
10655 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
10656 ___pthread_get_cleanup_stack.
10657 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
10658 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
10659 * mach/shortcut.awk: Make syscall stubs include
10660 <mach-shortcuts-hidden.h> and add hidden definition.
10661 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
10662 (__mach_msg): Add hidden prototype.
10663 * mach/msg.c: Include <mach.h>.
10664 (__mach_msg): Add hidden definition.
10665 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
10666 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
10667 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
10668 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
10669 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
10670 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
10671 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
10672 prototype and definition.
10673 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
10674 hidden target for _hurd_self_sigstate.
10676 2018-06-15 Joseph Myers <joseph@codesourcery.com>
10679 * stdlib/tst-strtod-nan-sign-main.c: New file.
10680 * stdlib/tst-strtod-nan-sign.c: Likewise.
10681 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
10682 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
10683 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
10684 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
10685 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
10687 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
10690 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
10693 2018-06-14 Florian Weimer <fweimer@redhat.com>
10696 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
10697 that the result stays within the ISO-8859-1 range.
10698 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
10699 characters are defined in IBM273.
10701 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10703 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
10704 __mach_task_self): Remove attribute_hidden.
10706 2018-06-14 Joseph Myers <joseph@codesourcery.com>
10708 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
10709 ignore -Wrestrict for one test.
10711 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
10712 Szabolcs Nagy <szabolcs.nagy@arm.com>
10714 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
10716 2018-06-14 Florian Weimer <fweimer@redhat.com>
10718 * scripts/update-abilist.sh: Accept empty list of files to patch.
10720 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
10722 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
10723 test-xfail-check-abi-libmachuser): Add.
10724 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
10725 __libc_read and __libc_write to __read and __write.
10726 * sysdeps/hurd/include/hurd/port.h: New file.
10727 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
10728 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
10729 __thread_switch, __evc_wait): Move declarations to...
10730 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
10732 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
10733 use PLT to call _hurd_self_sigstate.
10735 2018-06-13 Joseph Myers <joseph@codesourcery.com>
10738 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
10739 MAX_EXP as overflowing.
10740 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
10742 (round_str): Output also whether result overflows in each rounding
10744 * stdlib/tst-strtod-round-data: Add more tests.
10745 * stdlib/tst-strtod-round-data.h: Regenerated.
10746 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
10747 (TEST): Handle extra arguments for overflow flags.
10748 (struct test_overflow): New type.
10749 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
10750 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
10751 (test_in_one_mode): Take argument with overflow information.
10752 (do_test): Update calls to test_in_one_mode.
10754 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10756 * elf/dl-load (_dl_dst_substitute): Correct comment.
10757 (_dl_dst_count): Likewise.
10759 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
10760 lll_futex_timed_wait.
10762 2018-06-12 Joseph Myers <joseph@codesourcery.com>
10765 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
10767 * math/test-nan-const.c: New file.
10768 * math/Makefile (tests): Add test-nan-const.
10769 (CFLAGS-test-nan-const.c): New variable.
10771 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10773 * benchtests/scripts/compare_strings.py (process_results): Add
10774 funcs argument. Compare only functions which are selected.
10775 (main): Check if base function is among selected functions.
10776 Pass selected functions to process_results.
10777 (__main__): Add -f/--functions argument.
10779 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
10780 Hongbo Zhang <hongbo.zhang@linaro.org>
10782 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
10783 __memcpy_falkor for phecda core.
10784 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
10785 __memmove_falkor for phecda core.
10786 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
10787 __memset_falkor for phecda core.
10788 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
10790 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
10791 macro to identify phecda core.
10793 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10794 Andreas Schwab <schwab@suse.de>
10795 Dmitry V. Levin <ldv@altlinux.org>
10796 Florian Weimer <fweimer@redhat.com>
10803 * elf/dl-dst.h: Remove DL_DST_COUNT.
10804 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
10805 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
10806 (is_dst): Comment. Support ELF gABI.
10807 (_dl_dst_count): Comment. Simplify and count DSTs.
10808 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
10809 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
10812 2018-06-12 Zack Weinberg <zackw@panix.com>
10814 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
10815 * sysdeps/unix/sysv/linux/dl-sysdep.c
10816 Include not-cancel.h. Use __close_nocancel instead of __close,
10817 __open64_nocancel instead of __open, __read_nocancel instead of
10818 __libc_read, and __write_nocancel instead of __libc_write.
10820 * csu/check_fds.c (check_one_fd)
10821 * sysdeps/posix/fdopendir.c (__fdopendir)
10822 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
10823 instead of __fcntl and/or __libc_fcntl.
10825 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
10826 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
10827 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
10828 Use __open64_nocancel instead of __open_nocancel.
10830 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
10831 hidden_proto declarations to the end and issue them if either
10832 IS_IN(libc) or IS_IN(rtld).
10833 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
10834 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
10835 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
10836 read_nocancel, waitpid_nocancel, write_nocancel.
10838 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
10839 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
10840 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
10842 * nptl/pt-fcntl.c: New file.
10843 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
10844 (libpthread-routines): Add pt-fcntl.
10845 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
10846 (__libc_fcntl): Remove attribute_hidden.
10847 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
10848 __fcntl_nocancel_adjusted, not fcntl_common.
10849 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
10850 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
10851 to fcntl_nocancel.c.
10852 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
10853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
10854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10855 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
10857 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
10858 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
10859 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
10860 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
10861 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
10862 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
10863 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
10864 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
10865 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
10866 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
10867 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
10868 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
10869 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
10870 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
10871 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
10872 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
10873 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
10874 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
10875 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
10876 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
10878 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
10879 libpthread-routines.
10880 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
10883 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
10884 __libc_read, and __write instead of __libc_write. Define
10885 __open64 in addition to __open.
10887 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10891 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
10892 to _private_tm[3] and add __glibc_reserved2.
10893 Add _Static_assert of offset of __private_ss == 0x30.
10894 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
10895 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
10897 2018-06-12 Florian Weimer <fweimer@redhat.com>
10899 x86: Make strncmp usable from rtld.
10900 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
10901 __strncmp_ia32 if in libc (and not in rtld).
10902 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
10903 strncmp if not in libc (and not to __strncmp_sse2).
10905 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
10908 * localedata/locales/gd_GB (mon): Rename to...
10910 (mon): Import from CLDR (genitive case).
10911 * localedata/locales/hsb_DE (mon): Rename to...
10913 (mon): Import from CLDR (genitive case).
10914 * localedata/locales/wa_BE (mon): Rename to...
10916 (mon): Add, fill with the proper genitive forms, but CLDR data
10917 is incomplete; completed according to the comments in this file.
10918 (d_t_fmt): Do not use "di" before the month name, no longer needed.
10920 * localedata/locales/wa_BE (country_name): Reword
10921 "Beljike" -> "Beldjike".
10923 2018-06-11 Joseph Myers <joseph@codesourcery.com>
10926 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
10927 cases of non-finite arguments.
10928 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10930 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
10933 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
10935 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10938 * include/unistd.h (__execvpex): New prototype.
10939 * posix/Makefile (tests): Add tst-spawn4.
10940 (tests-internal): Add tst-spawn4-compat.
10941 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
10942 * posix/tst-spawn4-compat.c: New file.
10943 * posix/tst-spawn4.c: Likewise.
10944 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
10945 binaries as shell scripts.
10946 * sysdeps/posix/spawni.c (__spawni): Likewise.
10948 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
10951 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
10952 ($(all-built-dso:=.dynsym): New target.
10953 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
10954 ($(objpfx)check-initfini.out): New target.
10955 (generated): Add check-initfini.out.
10956 * scripts/check-initfini.awk: New file.
10957 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
10959 * sysdeps/alpha/crti.S (_init): Mark as hidden.
10961 * sysdeps/arm/crti.S (_init): Mark as hidden.
10963 * sysdeps/hppa/crti.S (_init): Mark as hidden.
10965 * sysdeps/i386/crti.S (_init): Mark as hidden.
10967 * sysdeps/ia64/crti.S (_init): Mark as hidden.
10969 * sysdeps/m68k/crti.S (_init): Mark as hidden.
10971 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
10973 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
10975 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
10977 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
10979 * sysdeps/nios2/crti.S (_init): Mark as hidden.
10981 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
10983 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
10985 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
10987 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
10989 * sysdeps/sh/crti.S (_init): Mark as hidden.
10991 * sysdeps/sparc/crti.S (_init): Mark as hidden.
10993 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
10996 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10998 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
10999 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
11000 and TF redirection to KFtype and KF only when the default
11001 long double type is not the IEEE 128-bit floating point type.
11003 2018-06-05 Joseph Myers <joseph@codesourcery.com>
11005 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
11007 (HWCAP_USCAT): Likewise.
11008 (HWCAP_ILRCPC): Likewise.
11009 (HWCAP_FLAGM): Likewise.
11010 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11012 (_dl_aarch64_cap_flags): Add new flag names.
11014 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
11015 (MAP_FIXED_NOREPLACE): New macro.
11016 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
11017 (MAP_FIXED_NOREPLACE): Likewise.
11018 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
11019 (MAP_FIXED_NOREPLACE): Likewise.
11020 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11021 (MAP_FIXED_NOREPLACE): Likewise.
11022 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
11023 (MAP_FIXED_NOREPLACE): Likewise.
11024 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
11025 (MAP_FIXED_NOREPLACE): Likewise.
11026 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
11027 (MAP_FIXED_NOREPLACE): Likewise.
11028 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
11029 (MAP_FIXED_NOREPLACE): Likewise.
11030 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
11031 (MAP_FIXED_NOREPLACE): Likewise.
11032 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
11033 (MAP_FIXED_NOREPLACE): Likewise.
11034 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
11035 (MAP_FIXED_NOREPLACE): Likewise.
11036 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
11037 (MAP_FIXED_NOREPLACE): Likewise.
11038 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
11039 (MAP_FIXED_NOREPLACE): Likewise.
11040 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
11041 (MAP_FIXED_NOREPLACE): Likewise.
11042 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
11043 (MAP_FIXED_NOREPLACE): Likewise.
11045 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11048 2018-06-04 Joseph Myers <joseph@codesourcery.com>
11050 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11053 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11055 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
11057 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
11059 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11061 * benchtests/scripts/compare_string.py: (process_results) Catch
11062 exception in non-existent base_func and catch exception in
11063 non-existent attribute.
11064 (parse_file) Catch exception if input file does not exist.
11066 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11068 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
11069 options to avoid diff calculation and omit header, respectively.
11070 (main): process --no-diff and --no-header
11072 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11073 H.J. Lu <hongjiu.lu@intel.com>
11075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11076 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
11078 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11079 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
11080 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
11081 and __wcsncmp_sse2.
11082 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
11083 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
11084 AVX unaligned load is fast and vzeroupper is preferred.
11085 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
11086 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
11087 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
11088 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
11089 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
11090 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
11091 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
11092 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
11093 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
11094 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
11097 2018-06-01 Florian Weimer <fweimer@redhat.com>
11099 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
11100 configuring with --disable-multi-arch, building with
11101 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
11104 2018-06-01 Florian Weimer <fweimer@redhat.com>
11106 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
11107 results from building with “-march=x86-64 -mtune=generic
11108 -mfpmath=sse” and running on a Haswell-era CPU.
11110 2018-06-01 Joseph Myers <joseph@codesourcery.com>
11113 * soft-fp/sqrttf2.c: Remove file.
11114 * soft-fp/sqrtdf2.c: Move to ....
11115 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
11117 (__sqrtdf2): Make conditional on
11118 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11120 * soft-fp/sqrtsf2.c: Move to ....
11121 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
11123 (__sqrtsf2): Make conditional on
11124 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11126 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
11127 (gcc-double-routines): Remove sqrtdf2.
11128 (gcc-quad-routines): Remove sqrttf2.
11129 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11130 Do not filter out sqrtsf2 and sqrtdf2.
11131 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11132 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
11134 2018-06-01 Florian Weimer <fweimer@redhat.com>
11136 * sysdeps/generic/libcidn.abilist: Remove file.
11138 2018-06-01 Florian Weimer <fweimer@redhat.com>
11141 * libio/strfile.h (struct _IO_str_fields): Rename members to
11142 discourage their use and add comment.
11143 (_IO_STR_DYNAMIC): Remove unused macro.
11144 * libio/strops.c (_IO_str_init_static_internal): Do not use
11145 callback pointers. Call malloc and free.
11146 (_IO_str_overflow): Do not use callback pointers. Call malloc
11148 (enlarge_userbuf): Likewise.
11149 (_IO_str_finish): Call free.
11150 * libio/wstrops.c (_IO_wstr_init_static): Initialize
11151 _allocate_buffer_unused.
11152 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
11154 (enlarge_userbuf): Likewise.
11155 (_IO_wstr_finish): Call free.
11156 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
11157 _allocate_buffer_unused, _free_buffer_unused.
11158 * libio/memstream.c (__open_memstream): Likewise.
11159 * libio/vasprintf.c (_IO_vasprintf): Likewise.
11160 * libio/wmemstream.c (open_wmemstream): Likewise.
11162 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
11164 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
11167 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11169 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
11170 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
11171 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
11173 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
11175 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
11177 2018-05-29 Florian Weimer <fweimer@redhat.com>
11179 * support/Makefile (libsupport-routines): Add
11180 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
11181 xpthread_barrierattr_setpshared.
11182 * support/xpthread_barrierattr_destroy.c: New file.
11183 * support/xpthread_barrierattr_init.c: Likewise.
11184 * support/xpthread_barrierattr_setpshared.c: Likewise.
11186 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
11189 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
11190 _r_debug and update DT_DEBUG for debugger.
11192 2018-05-29 Florian Weimer <fweimer@redhat.com>
11194 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
11195 (tst-strtod5i.out): Likewise.
11197 2018-05-25 Joseph Myers <joseph@codesourcery.com>
11199 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
11200 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
11201 (sparc64-quad-routines): New variable. Moved from ....
11202 [$(subdir) = soft-fp] (sysdep_routines): Add
11203 $(sparc64-quad-routines). Moved from ....
11204 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
11205 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
11206 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
11208 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
11209 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
11210 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
11211 * sysdeps/sparc/sparc64/qp_add.c: ... here.
11212 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
11213 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
11214 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
11215 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
11216 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
11217 * sysdeps/sparc/sparc64/qp_div.c: ... here.
11218 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
11219 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
11220 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
11221 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
11222 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
11223 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
11224 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
11225 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
11226 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
11227 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
11228 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
11229 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
11230 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
11231 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
11232 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
11233 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
11234 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
11235 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
11236 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
11237 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
11238 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
11239 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
11240 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
11241 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
11242 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
11243 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
11244 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
11245 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
11246 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
11247 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
11248 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
11249 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
11250 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
11251 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
11252 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
11253 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
11254 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
11255 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
11256 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
11257 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
11258 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
11259 * sysdeps/sparc/sparc64/qp_util.c: ... here.
11260 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
11261 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
11262 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
11263 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
11264 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
11265 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
11267 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
11268 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
11269 (sparc32-quad-routines): New variable. Moved from ....
11270 [$(subdir) = soft-fp] (sysdep_routines): Add
11271 $(sparc32-quad-routines). Moved from ....
11272 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
11273 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
11275 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
11276 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
11277 * sysdeps/sparc/sparc32/q_add.c: ... here.
11278 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
11279 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
11280 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
11281 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
11282 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
11283 * sysdeps/sparc/sparc32/q_div.c: ... here.
11284 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
11285 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
11286 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
11287 * sysdeps/sparc/sparc32/q_feq.c: ... here.
11288 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
11289 * sysdeps/sparc/sparc32/q_fge.c: ... here.
11290 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
11291 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
11292 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
11293 * sysdeps/sparc/sparc32/q_fle.c: ... here.
11294 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
11295 * sysdeps/sparc/sparc32/q_flt.c: ... here.
11296 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
11297 * sysdeps/sparc/sparc32/q_fne.c: ... here.
11298 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
11299 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
11300 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
11301 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
11302 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
11303 * sysdeps/sparc/sparc32/q_mul.c: ... here.
11304 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
11305 * sysdeps/sparc/sparc32/q_neg.c: ... here.
11306 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
11307 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
11308 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
11309 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
11310 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
11311 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
11312 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
11313 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
11314 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
11315 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
11316 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
11317 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
11318 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
11319 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
11320 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
11321 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
11322 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
11323 * sysdeps/sparc/sparc32/q_sub.c: ... here.
11324 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
11325 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
11326 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
11327 * sysdeps/sparc/sparc32/q_util.c: ... here.
11328 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
11329 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
11330 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
11331 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
11333 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11334 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11336 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
11337 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
11338 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
11339 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
11341 2018-05-24 Joseph Myers <joseph@codesourcery.com>
11343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
11345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11347 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
11348 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
11350 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11353 * math/math.h [C++] (iseqsig): Fix parameter type for the long
11356 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11358 * sysdeps/sh/Implies: Remove sh/soft-fp.
11359 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
11360 * sysdeps/sh/sfp-machine.h: ... here.
11362 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11364 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11365 (__mempcpy_erms): Skip zero length.
11366 (__memmove_erms): Likewise.
11367 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11368 (__memset_erms): Likewise.
11370 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11372 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
11373 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11374 Add functions moved from ....
11375 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
11376 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
11377 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
11379 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
11380 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
11381 * sysdeps/alpha/e_sqrtl.c: ... here.
11382 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
11383 * sysdeps/alpha/local-soft-fp.h: ... here.
11384 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
11385 * sysdeps/alpha/ots_add.c: ... here.
11386 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
11387 * sysdeps/alpha/ots_cmp.c: ... here.
11388 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
11389 * sysdeps/alpha/ots_cmpe.c: ... here.
11390 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
11391 * sysdeps/alpha/ots_cvtqux.c: ... here.
11392 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
11393 * sysdeps/alpha/ots_cvtqx.c: ... here.
11394 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
11395 * sysdeps/alpha/ots_cvttx.c: ... here.
11396 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
11397 * sysdeps/alpha/ots_cvtxq.c: ... here.
11398 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
11399 * sysdeps/alpha/ots_cvtxt.c: ... here.
11400 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
11401 * sysdeps/alpha/ots_div.c: ... here.
11402 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
11403 * sysdeps/alpha/ots_mul.c: ... here.
11404 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
11405 * sysdeps/alpha/ots_nintxq.c: ... here.
11406 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
11407 * sysdeps/alpha/ots_sub.c: ... here.
11408 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
11409 * sysdeps/alpha/sfp-machine.h: ... here.
11411 2018-05-23 Florian Weimer <fweimer@redhat.com>
11419 Switch to extern IDNA implementation (libidn2).
11420 * libidn: Remove subdirectory.
11421 * LICENSES: Do not mention licensing conditions for the removed
11423 * config.h.in (HAVE_LIBIDN): Remove.
11424 * include/dlfcn.h (__libc_dlopen): Update comment.
11425 * include/idna.h: Remove file.
11426 * inet/Makefile (routines): Add idna.
11427 (tests-static, tests-internal): Add tst-idna_name_classify.
11428 (LOCALES): Generate locales for tests.
11429 (tst-idna_name_classify.out): Depend on generated locales.
11430 * inet/idna_name_classify.c: New file.
11431 * inet/tst-idna_name_classify.c: Likewise.
11432 * inet/net-internal.h (__idna_to_dns_encoding)
11433 (__idna_from_dns_encoding): Declare.
11434 * inet/net-internal.h (enum idna_name_classification): Define.
11435 (__idna_name_classify): Declare.
11436 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
11437 __idna_from_dns_encoding.
11438 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
11439 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
11440 name as a fallback in case of encoding errors.
11441 (getnameinfo): Use DEPRECATED_NI_IDN.
11442 * inet/idna.c: New file.
11443 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
11444 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
11445 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
11446 (modules-names): Add tst-no-libidn2.
11447 (extra-test-objs): Add tst-no-libidn2.os.
11448 (LDFLAGS-tst-no-libidn2.so): Set soname.
11449 (LOCALES): Set, and generate locales.
11450 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
11451 (tst-resolv-ai_idn-latin1): Likewise.
11452 (tst-resolv-ai_idn-nolibidn2): Likewise.
11453 (tst-resolv-ai_idn.out): Depend on locales.
11454 (tst-resolv-ai_idn-latin1.out): Depend on locales.
11455 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
11457 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
11458 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
11459 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
11460 * resolv/tst-resolv-ai_idn.c: New file.
11461 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
11462 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
11463 * resolv/tst-no-libidn2.c: Likewise.
11464 * support/support_format_addrinfo.c (format_ai_flags): Do not
11465 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
11466 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
11467 (gaih_inet): Call __idna_to_dns_encoding and
11468 __idna_from_dns_encoding, and use the original (punycode) name if
11469 __idna_from_dns_encoding fails due to an encoding error.
11470 (getaddrinfo): Use DEPRECATED_AI_IDN.
11471 * sysdeps/unix/inet/Subdirs (libidn): Remove.
11472 * sysdeps/unix/inet/configure: Remove file.
11473 * sysdeps/unix/inet/configure.ac: Likewise.
11475 2018-05-23 Florian Weimer <fweimer@redhat.com>
11477 Implement allocate_once.
11478 * include/allocate_once.h: New file.
11479 * misc/allocate_once.c: Likewise.
11480 * misc/tst-allocate_once.c: Likewise.
11481 * misc/Makefile (routines): Add allocate_once.
11482 (tests-internal): Add tst-allocate_once.
11483 (generated): Add tst-allocate_once.mtrace,
11484 tst-allocate_once-mem.out.
11485 (tests-special): Add tst-allocate_once-mem.out.
11486 (tst-allocate_once-ENV): Set MALLOC_TRACE.
11487 (tst-allocate_once-mem.out): Call mtrace.
11488 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
11490 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11493 * string/test-memcpy.c (do_test1): New function.
11494 (test_main): Call it.
11496 2018-05-23 Andreas Schwab <schwab@suse.de>
11500 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
11501 (L(preloop_large)): Save initial destination pointer in %r11 and
11502 use it instead of %rax after the loop.
11503 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
11505 2018-05-22 Joseph Myers <joseph@codesourcery.com>
11507 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
11508 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
11509 -I../soft-fp. Moved from ....
11510 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
11511 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
11512 * sysdeps/aarch64/e_sqrtl.c: ... here.
11513 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
11514 * sysdeps/aarch64/sfp-machine.h: ... here.
11516 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
11517 -Wmaybe-uninitialized around access to fq[0].
11518 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11522 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
11523 aliases for non-libc case of versioned symbols.
11524 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
11525 (llseek): Define as compat symbol if
11526 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
11528 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
11529 Make into a compat symbol, disabled for minimum symbol version
11530 GLIBC_2.28 and later.
11531 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
11533 2018-05-22 Florian Weimer <fweimer@redhat.com>
11535 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
11536 not add -mpreferred-stack-boundary=4.
11537 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
11538 (stack-align-test-flags): Likewise.
11539 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
11541 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
11542 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
11543 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
11544 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
11545 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
11546 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
11547 (CFLAGS-tst-align2.c): Likewise.
11549 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11551 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
11552 (index_arch_Prefer_FSRM): Likewise.
11553 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11554 Also check Prefer_FSRM.
11555 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
11556 Also return OPTIMIZE (erms) for Prefer_FSRM.
11558 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11560 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
11561 (index_cpu_FSRM): Likewise.
11562 (reg_FSRM): Likewise.
11564 2018-05-18 Joseph Myers <joseph@codesourcery.com>
11566 * math/gen-tgmath-tests.py: Import sys.
11567 (Tests.__init__): Initialize macros_seen.
11568 (Tests.add_tests): Add macro to macros_seen. Only generate tests
11569 if requested to do so for this macro.
11570 (Tests.add_all_tests): Take argument for macro for which to
11572 (Tests.check_macro_list): New function.
11573 (main): Handle check-list argument and argument specifying macro
11574 for which to generate tests.
11575 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
11576 [PYTHON] (tgmath3-macro-tests): Likewise.
11577 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
11578 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
11579 not test-tgmath3.c.
11580 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
11581 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
11583 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
11584 [PYTHON] ($(foreach
11585 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
11587 [PYTHON] (tests-special): Add
11588 $(objpfx)test-tgmath3-macro-list.out.
11589 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
11591 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
11592 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
11596 * time/tzset.c (SECSPERDAY): Cast to time_t.
11597 * time/tst-y2039.c: New file.
11598 * time/Makefile (tests): Add tst-y2039.
11600 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11602 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11603 (PREFETCH_ONE_SET): Remove duplicate line.
11605 2018-05-17 Florian Weimer <fweimer@redhat.com>
11607 * sysdeps/generic/math-type-macros-double.h: Include
11608 <math-nan-payload-double.h> after <libm-alias-double.h>.
11609 * sysdeps/generic/math-type-macros-float.h: Include
11610 <math-nan-payload-float.h> after <libm-alias-float.h>.
11611 * sysdeps/generic/math-type-macros-float128.h: Include
11612 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
11613 * sysdeps/generic/math-type-macros-ldouble.h: Include
11614 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
11616 2018-05-17 Andreas Schwab <schwab@suse.de>
11618 * resolv/res_send.c (__res_context_send): Don't set errno when
11619 returing error after malloc failure.
11621 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
11623 * nptl/allocatestack.c (allocate_stack): Remove the
11624 !__ASSUME_PRIVATE_FUTEX paths.
11625 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
11626 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11628 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
11629 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11630 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11631 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11632 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
11633 !__ASSUME_PRIVATE_FUTEX path.
11634 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
11635 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
11636 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11637 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
11638 !__ASSUME_PRIVATE_FUTEX macros.
11639 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11640 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11641 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11642 * sysdeps/unix/sysv/linux/kernel-features.h
11643 (__ASSUME_PRIVATE_FUTEX): Removed.
11645 2018-05-17 Joseph Myers <joseph@codesourcery.com>
11647 * math/Makefile (libm-narrow-fns): Add div.
11648 (libm-test-funcs-narrow): Likewise.
11649 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
11650 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
11651 * math/gen-auto-libm-tests.c (test_functions): Add div.
11652 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
11653 (NARROW_DIV_ROUND_TO_ODD): Likewise.
11654 (NARROW_DIV_TRIVIAL): Likewise.
11655 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
11657 (__ddivl): Likewise.
11658 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
11660 (CFLAGS-nldbl-ddiv.c): New variable.
11661 (CFLAGS-nldbl-fdiv.c): Likewise.
11662 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11664 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
11666 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
11667 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
11668 * math/auto-libm-test-in: Add tests of div.
11669 * math/auto-libm-test-out-narrow-div: New generated file.
11670 * math/libm-test-narrow-div.inc: New file.
11671 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
11672 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
11673 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
11674 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
11675 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
11676 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
11677 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
11678 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
11679 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
11680 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
11681 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
11682 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
11683 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
11684 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
11685 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
11686 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
11687 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
11688 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
11689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11690 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11691 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11692 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11693 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11694 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11695 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11696 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11697 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11698 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11699 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11700 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11701 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11702 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11707 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11708 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11709 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11710 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11711 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11712 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11713 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11714 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11716 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11719 * nscd/nscd-client.h (sendfileall): Remove prototype.
11720 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
11721 (handle_request): Use writeall instead of sendfileall.
11722 * nscd/aicache.c (addhstaiX): Likewise.
11723 * nscd/grpcache.c (cache_addgr): Likewise.
11724 * nscd/hstcache.c (cache_addhst): Likewise.
11725 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11726 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
11727 * nscd/pwdcache.c (cache_addpw): Likewise.
11728 * nscd/servicescache.c (cache_addserv): Likewise.
11729 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
11730 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
11731 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
11734 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
11736 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
11737 Include <string/strncat.c>.
11738 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
11740 (__GI___strncat): New hidden alias.
11742 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11744 * sysdeps/mips/mips32/libm-test-ulps: Update.
11745 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11747 2018-05-16 Florian Weimer <fweimer@redhat.com>
11749 * support/Makefile (libsupport-routines): Add support_quote_blob,
11750 support_test_compare_blob.
11751 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
11752 * support/check.h (TEST_COMPARE_BLOB): Define.
11753 (support_test_compare_blob): Declare.
11754 * support/support.h (support_quote_blob): Declare.
11755 * support/support_quote_blob.c: New file.
11756 * support/support_test_compare_blob.c: Likewise.
11757 * support/tst-support_quote_blob.c: Likewise.
11758 * support/tst-test_compare_blob.c: Likewise.
11760 2018-05-16 Florian Weimer <fweimer@redhat.com>
11762 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
11763 of <strtod_nan_double.h>.
11764 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
11765 instead of SET_MANTISSA.
11766 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
11767 of include <strtod_nan_float.h>.
11768 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
11769 instead of <strtod_nan_ldouble.h>.
11770 * stdlib/strtod_nan_double.h: Move to ...
11771 * sysdeps/generic/math-nan-payload-double.h: ... here.
11772 (FLOAT): Remove definition.
11773 (SET_MANTISSA): Rename to ...
11774 (SET_NAN_PAYLOAD): ... this.
11775 * stdlib/strtod_nan_float.h: Move to ...
11776 * sysdeps/generic/math-nan-payload-float.h: ... here.
11777 (FLOAT): Remove definition.
11778 (SET_MANTISSA): Rename to ...
11779 (SET_NAN_PAYLOAD): ... this.
11780 * sysdeps/generic/math-type-macros-double.h: Include
11781 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
11782 instead of <math-svid-compat.h>.
11783 * sysdeps/generic/math-type-macros-float.h: Include
11784 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
11785 instead of <math-svid-compat.h>.
11786 * sysdeps/generic/math-type-macros-float128.h: Include
11787 <math-nan-payload-float128.h>.
11788 * sysdeps/generic/math-type-macros-ldouble.h: Include
11789 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
11790 instead of <math-svid-compat.h>.
11791 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
11792 check for definition.
11793 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
11794 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
11795 Include <ieee754_float128.h>.
11796 (FLOAT): Remove definition.
11797 (SET_MANTISSA): Rename to ...
11798 (SET_NAN_PAYLOAD): ... this.
11799 * sysdeps/ieee754/float128/strtof128_nan.c: Include
11800 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
11801 Do not include <float128_private.h>.
11802 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
11803 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
11804 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
11805 (FLOAT): Remove definition.
11806 (SET_MANTISSA): Rename to ...
11807 (SET_NAN_PAYLOAD): ... this.
11808 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
11809 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
11810 (FLOAT): Remove definition.
11811 (SET_MANTISSA): Rename to ...
11812 (SET_NAN_PAYLOAD): ... this.
11813 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
11814 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
11815 (FLOAT): Remove definition.
11816 (SET_MANTISSA): Rename to ...
11817 (SET_NAN_PAYLOAD): ... this.
11818 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
11819 of "../stdlib/strtod_nan_double.h".
11820 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
11821 of "../stdlib/strtod_nan_float.h".
11822 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
11823 instead of "../stdlib/strtod_nan_ldouble.h".
11824 * manual/arith.texi (Parsing of Floats): Adjust comment.
11826 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11828 * math/Makefile (libm-narrow-fns): Add mul.
11829 (libm-test-funcs-narrow): Likewise.
11830 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
11831 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
11832 * math/gen-auto-libm-tests.c (test_functions): Add mul.
11833 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
11834 (NARROW_MUL_ROUND_TO_ODD): Likewise.
11835 (NARROW_MUL_TRIVIAL): Likewise.
11836 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
11837 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
11839 (__dmull): Likewise.
11840 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
11842 (CFLAGS-nldbl-dmul.c): New variable.
11843 (CFLAGS-nldbl-fmul.c): Likewise.
11844 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11846 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
11848 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
11849 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
11850 * math/auto-libm-test-in: Add tests of mul.
11851 * math/auto-libm-test-out-narrow-mul: New generated file.
11852 * math/libm-test-narrow-mul.inc: New file.
11853 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
11854 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
11855 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
11856 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
11857 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
11858 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
11859 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
11860 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
11861 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
11862 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
11863 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
11864 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
11865 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
11866 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
11867 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
11868 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
11869 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
11870 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
11871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11872 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11873 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11874 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11875 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11876 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11877 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11878 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11879 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11880 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11881 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11882 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11883 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11884 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11889 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11890 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11891 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11892 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11893 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11894 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11895 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11896 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11898 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11900 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11901 with *%eax in call.
11903 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11905 * sysdeps/i386/ldsodefs.h: Removed.
11906 * sysdeps/x86_64/ldsodefs.h: Moved to ...
11907 * sysdeps/x86/ldsodefs.h: This.
11908 (La_i86_regs): New.
11909 (La_i86_retval): Likewise.
11910 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
11911 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
11913 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11915 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
11918 2018-05-13 Alan Modra <amodra@gmail.com>
11920 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
11921 R_PARISC_TLS_DTPOFF32 reloc addend.
11923 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11925 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
11926 * math/math.h: Restrict the prototype definition for the functions
11927 issignaling(_Float128) and iszero(_Float128); and template
11928 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
11929 __HAVE_FLOAT128_UNLIKE_LDBL.
11930 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
11931 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
11932 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
11933 __f128() constants; define the type _Float128 as long double;
11934 and reuse long double in __CFLOAT128.
11936 2018-05-11 Joseph Myers <joseph@codesourcery.com>
11938 * sysdeps/generic/math_private.h: Do not include
11940 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
11942 * math/fromfp.h: Include <math-barriers.h>.
11943 * math/math-narrow.h: Likewise.
11944 * math/s_nextafter.c: Likewise.
11945 * math/s_nexttowardf.c: Likewise.
11946 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11947 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11948 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11949 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11950 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11951 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11952 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11953 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11954 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11955 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11956 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11957 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11958 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11959 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11960 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11961 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11962 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11963 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11964 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11965 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11966 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11967 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11968 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11969 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11970 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11971 * sysdeps/ieee754/k_standardl.c: Likewise.
11972 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11973 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11974 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11975 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11976 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11977 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11978 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11979 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11980 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11981 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11982 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11983 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11984 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11985 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11986 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11987 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11988 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11989 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11990 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11991 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11992 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
11993 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
11995 2018-05-11 Florian Weimer <fweimer@redhat.com>
11997 Use 64-bit epoch values in the time zone file parser.
11998 * include/time.h (internal_time_t): Define.
11999 (__tzfile_compute): Use it.
12000 * time/tzfile.c (struct leap): Use internal_time_t for epoch
12002 (transitions): Switch to internal_time_t.
12003 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
12005 (__tzfile_compute): Use internal_time_t for timer argument. Check
12006 for truncation before calling __offtime.
12008 2018-05-11 Florian Weimer <fweimer@redhat.com>
12011 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
12012 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
12014 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
12015 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
12016 export without --enable-obsolete-rpc.
12017 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
12018 symbol. This should not have been exported, ever.
12020 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
12023 * localedata/locales/gd_GB (abmon): Fix typo in May:
12024 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
12026 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12028 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12029 Use multiple registers to copy data in loop tail.
12031 * sysdeps/aarch64/multiarch/memmove_falkor.S
12032 (__memmove_falkor): Use multiple registers to move data in
12035 2018-05-10 Joseph Myers <joseph@codesourcery.com>
12037 * math/math-underflow.h: New file.
12038 * sysdeps/generic/math_private.h: Do not include <float.h>.
12039 (fabs_tg): Remove macro. Moved to math-underflow.h.
12040 (min_of_type_f): Likewise.
12041 (min_of_type_): Likewise.
12042 (min_of_type_l): Likewise.
12043 (min_of_type_f128): Likewise.
12044 (min_of_type): Likewise.
12045 (math_check_force_underflow): Likewise.
12046 (math_check_force_underflow_nonneg): Likewise.
12047 (math_check_force_underflow_complex): Likewise.
12048 * math/e_exp2_template.c: Include <math-underflow.h>.
12049 * math/k_casinh_template.c: Likewise.
12050 * math/s_catan_template.c: Likewise.
12051 * math/s_catanh_template.c: Likewise.
12052 * math/s_ccosh_template.c: Likewise.
12053 * math/s_cexp_template.c: Likewise.
12054 * math/s_clog10_template.c: Likewise.
12055 * math/s_clog_template.c: Likewise.
12056 * math/s_csin_template.c: Likewise.
12057 * math/s_csinh_template.c: Likewise.
12058 * math/s_csqrt_template.c: Likewise.
12059 * math/s_ctan_template.c: Likewise.
12060 * math/s_ctanh_template.c: Likewise.
12061 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12062 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12063 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12064 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12065 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12066 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12067 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12068 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12069 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12070 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12071 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12072 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12073 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12074 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12075 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12076 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12077 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12078 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12079 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12080 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12081 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12082 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12083 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12084 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12085 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12086 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12087 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12088 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12089 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12090 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12091 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12092 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12093 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12094 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12095 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12096 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12097 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12098 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12099 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12100 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12101 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12102 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12103 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12104 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12105 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12106 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12107 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12108 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12109 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12110 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12111 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12112 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12113 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12114 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12115 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12116 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12117 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12118 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12119 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12120 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12121 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12122 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12123 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12124 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12125 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12126 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12127 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12128 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12129 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12130 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12131 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12132 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12133 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12134 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
12135 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12136 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12137 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12138 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12139 * sysdeps/x86/fpu/powl_helper.c: Likewise.
12140 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
12141 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
12142 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12143 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12144 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12146 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12148 * sysdeps/generic/math-barriers.h: New file.
12149 * sysdeps/generic/math_private.h [!math_opt_barrier]
12150 (math_opt_barrier): Move to math-barriers.h.
12151 [!math_opt_barrier] (math_force_eval): Likewise.
12152 * sysdeps/aarch64/fpu/math-barriers.h: New file.
12153 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
12155 (math_force_eval): Likewise.
12156 * sysdeps/alpha/fpu/math-barriers.h: New file.
12157 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
12159 (math_force_eval): Likewise.
12160 * sysdeps/x86/fpu/math-barriers.h: New file.
12161 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
12163 (math_force_eval): Likewise.
12164 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
12165 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
12166 multiple-include guard for rename.
12167 * sysdeps/powerpc/fpu/math-barriers.h: New file.
12168 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
12170 (math_force_eval): Likewise.
12172 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
12176 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
12178 * stdlib/Makefile (test-bz22786): New test.
12179 * stdlib/test-bz22786.c: New test.
12181 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12183 * include/math-narrow-eval.h: New file. Contents moved from ....
12184 * sysdeps/generic/math_private.h: ... here.
12185 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
12186 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12187 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
12188 * stdlib/strtod_l.c: Likewise.
12189 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12190 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12191 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12192 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12193 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12194 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12195 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12196 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12197 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12198 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12199 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12200 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12201 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12202 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12203 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12204 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12205 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12206 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12207 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12208 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12209 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12210 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12211 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12212 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12213 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12214 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12215 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12216 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12217 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12219 2018-05-08 Andreas Schwab <schwab@suse.de>
12221 * sysdeps/nptl/internaltypes.h: Fix comment.
12223 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
12225 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12226 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
12229 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12231 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
12232 of I into loop header.
12233 * benchtests/bench-memmove-walk.c
12234 (test_main): Likewise.
12236 2018-05-07 Alexandre Oliva <oliva@gnu.org>
12239 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12240 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12242 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12245 * elf/dl-load.c (open_verify): Fix stack overflow.
12246 * elf/Makefile (tst-big-note): New test.
12247 * elf/tst-big-note-lib.S: New.
12248 * elf/tst-big-note.c: New.
12250 2018-05-04 Joseph Myers <joseph@codesourcery.com>
12252 * scripts/abilist.awk: Ignore absolute symbols.
12253 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
12254 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
12255 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
12256 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
12257 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
12258 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
12259 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12260 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
12261 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
12262 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
12263 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
12264 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
12265 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12266 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
12267 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
12268 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12269 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
12270 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
12271 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12272 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
12273 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12274 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
12275 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
12276 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
12277 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
12278 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12279 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
12280 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
12281 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12282 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
12283 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
12284 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12285 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
12286 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12287 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
12288 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
12289 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
12290 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
12291 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12292 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
12293 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
12294 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12295 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
12296 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
12297 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12298 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
12299 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12300 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
12301 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
12302 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
12303 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
12304 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12305 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
12306 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
12307 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12308 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
12309 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
12310 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12311 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
12312 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12313 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
12314 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
12315 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
12316 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
12317 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12318 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
12319 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
12320 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12321 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
12322 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
12323 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12324 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
12325 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12326 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
12327 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
12328 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
12329 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
12330 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12331 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
12332 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
12333 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12334 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
12335 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
12336 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12337 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
12338 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12339 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
12340 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
12341 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
12342 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
12343 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12344 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12346 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
12347 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12348 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
12349 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
12350 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12351 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
12352 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12353 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
12354 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
12355 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
12356 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
12357 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12358 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12360 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
12361 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12362 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
12363 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
12364 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12365 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
12366 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12367 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
12368 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
12369 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
12370 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
12371 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12372 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
12373 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
12374 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12375 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
12376 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
12377 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12378 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
12379 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12380 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
12381 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
12382 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
12383 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
12384 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12385 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12386 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12388 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
12389 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
12390 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
12391 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
12392 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12393 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
12394 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
12395 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
12396 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
12397 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
12398 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
12399 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
12400 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
12401 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12402 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
12403 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
12404 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
12405 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
12406 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12407 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12409 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
12410 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
12411 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
12412 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12413 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
12414 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12415 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
12416 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
12417 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
12418 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12419 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12420 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
12421 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12422 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12423 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
12424 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12425 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
12426 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
12427 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12428 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
12429 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
12430 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12431 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
12432 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12433 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
12434 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
12435 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
12436 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
12437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
12443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
12444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
12445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
12446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
12450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
12451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
12454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
12466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
12467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
12472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
12473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
12474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
12478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
12479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
12487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
12488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
12489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
12496 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12497 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
12499 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12500 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12501 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
12502 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12503 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12504 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12505 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12506 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
12507 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12508 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
12509 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12510 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
12511 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12512 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12514 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12515 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
12516 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
12517 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12518 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
12519 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12520 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
12521 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
12522 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
12523 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
12524 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12525 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12527 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12528 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
12529 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
12530 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12531 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
12532 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12533 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
12534 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
12535 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
12536 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
12537 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12538 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
12539 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
12540 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12541 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
12542 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
12543 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12544 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
12545 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12546 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
12547 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
12548 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
12549 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
12550 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12551 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12553 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
12554 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12555 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
12556 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
12557 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12558 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
12559 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12560 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
12561 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
12562 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
12563 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
12564 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12565 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12567 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
12568 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12569 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
12570 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
12571 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12572 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
12573 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12574 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
12575 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
12576 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
12577 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
12578 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12579 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
12580 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
12581 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12582 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
12583 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
12584 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12585 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
12586 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12587 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
12588 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
12589 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
12590 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
12591 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12592 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12593 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
12594 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
12595 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12596 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
12597 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
12598 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12599 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
12600 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12601 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
12602 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
12603 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
12604 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
12606 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
12609 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
12610 Use atomic_load_acquire to load __tid.
12612 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12614 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
12615 Restore the pointer into %rdx, after syscall and use %rdx,
12616 instead of %rsi, to restore context.
12618 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12620 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
12621 Pop the pointer into %rdx after syscall and use %rdx, instead
12622 of %rsi, to restore context.
12624 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12626 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
12627 handlers after setjmp.
12628 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
12630 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
12631 <libc-pointer-arith.h>.
12632 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
12633 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
12634 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
12635 _JUMP_BUF_SIGSET_BITS_PER_WORD.
12636 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
12637 * sysdeps/x86/__longjmp_cancel.S: New file.
12638 * sysdeps/x86/longjmp.c: Likewise.
12639 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
12641 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12643 * NEWS: Add ustat.h deprecation entry.
12644 * bits/ustat.h: Remove file.
12645 * misc/sys/ustat.h: Likewise.
12646 * misc/ustat.h: Likewise.
12647 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
12648 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
12649 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
12650 compatibility mode.
12651 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
12652 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
12653 generic Linux implementation.
12655 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12657 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
12658 * math/w_expl_compat.c: Likewise.
12659 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
12661 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12663 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12665 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12667 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
12668 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
12669 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
12671 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
12672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12673 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12674 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
12675 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
12678 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12680 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
12682 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
12683 * math/w_asin_template.c: Likewise.
12684 * math/w_atanh_template.c: Likewise.
12686 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12688 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
12689 to powerpc/powerpc64/be for big-endian.
12690 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
12693 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
12694 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
12695 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
12696 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
12697 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12698 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
12699 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
12700 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
12701 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
12702 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12703 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
12704 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
12705 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
12706 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
12707 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
12708 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
12709 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
12710 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
12711 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
12712 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
12713 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
12714 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12715 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
12716 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
12717 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
12718 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12719 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
12720 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
12721 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
12722 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12723 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12724 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12726 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
12727 adjusted to imply powerpc64 and older processors on powerpc64/be.
12728 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
12729 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
12730 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
12731 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
12732 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
12733 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
12734 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
12735 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
12736 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
12737 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
12738 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
12739 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
12740 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
12741 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
12742 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
12743 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
12744 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
12745 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
12746 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
12747 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
12748 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
12749 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
12750 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
12751 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
12752 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
12753 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
12754 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
12755 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
12756 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
12757 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
12758 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
12760 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
12761 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
12762 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
12763 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
12765 * sysdeps/powerpc/powerpc64/be/Implies: New file.
12766 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
12767 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
12768 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
12770 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
12771 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
12772 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
12773 * sysdeps/powerpc/powerpc64le/configure: Likewise.
12774 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
12775 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
12776 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
12777 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
12778 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
12779 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
12780 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
12782 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
12783 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
12784 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
12785 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
12786 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
12787 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
12788 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
12789 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
12790 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
12791 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
12792 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
12794 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
12795 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
12796 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
12797 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
12798 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
12799 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
12800 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
12801 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
12802 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
12803 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
12804 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
12805 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
12807 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
12808 and adjusted to imply olders processors.
12809 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
12810 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
12811 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
12812 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
12813 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
12814 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
12815 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
12816 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
12817 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
12818 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
12819 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
12821 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
12823 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
12824 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
12826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
12828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
12829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
12831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
12833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
12835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
12837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
12838 powerpc64 and adjusted.
12839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
12840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
12841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
12844 2018-04-27 Joseph Myers <joseph@codesourcery.com>
12846 * sysdeps/tile: Remove.
12847 * sysdeps/unix/sysv/linux/tile: Likewise.
12848 * README (tilegx-*-linux-gnu): Remove from list of supported
12850 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
12851 contribution of support for generic Linux kernel syscall
12853 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
12854 tilegx configurations.
12855 (Config.install_linux_headers): Do not handle tile.
12856 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
12858 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
12859 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
12860 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12861 conditional undefine and redefine.
12862 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
12864 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12865 conditional undefine and redefine.
12867 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
12869 * signal/tst-sigaction.c: New file to test BZ #23069.
12870 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
12872 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12875 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
12876 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
12877 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
12878 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
12880 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12882 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
12883 _DIRENT_MATCHES_DIRENT64 is not defined.
12884 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
12885 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
12887 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
12888 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
12890 2018-04-25 Joseph Myers <joseph@codesourcery.com>
12892 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
12893 version to GCC 8 branch.
12895 2018-04-24 Joseph Myers <joseph@codesourcery.com>
12897 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
12898 (check_no_hidden): Use type of original function when declaring
12901 * sysdeps/unix/sysv/linux/sys/ptrace.h
12902 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
12903 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
12904 (struct __ptrace_seccomp_metadata): New type.
12905 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12906 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12907 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
12908 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12909 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
12910 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12911 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12912 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12913 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12914 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12915 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12916 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12917 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
12918 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12919 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
12920 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12922 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12924 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
12926 * dirent/versionsort.c (versionsort): Likewise.
12927 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
12928 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
12929 * dirent/versionsort64.c (versionsort64): Likewise.
12930 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
12931 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
12932 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
12933 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
12934 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
12935 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
12936 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
12937 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
12938 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
12939 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
12940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
12941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
12942 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
12943 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
12945 2018-04-23 Joseph Myers <joseph@codesourcery.com>
12947 * elf/elf.h (NT_PPC_PKEY): New macro.
12949 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
12952 * localedata/locales/hr_HR: fix thousands_sep and
12955 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12957 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
12958 (XTABS): Define to TAB3.
12960 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12962 * sysdeps/hppa/fpu/libm-test-ulps: Update.
12964 * dirent/scandir-tail-common.c: New file.
12965 * dirent/scandir-tail.c: Use scandir-tail-common.c.
12966 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
12967 * dirent/scandir.c: Use scandir-tail-common.c.
12968 * dirent/scandirat.c: Likewise.
12969 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
12970 * dirent/scandir64.c (scandir64): Always build and alias to scandir
12971 if _DIRENT_MATCHES_DIRENT64 is defined.
12972 * dirent/scandirat64.c (scandirat64): Likewise.
12973 * include/dirent.h (__scandir_tail): Only define iff
12974 _DIRENT_MATCHES_DIRENT64 is not defined.
12975 (__scandir64_tail): Define regardless.
12976 (__scandirat, scandirat64): Remove libc_hidden_proto.
12977 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
12978 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
12979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
12980 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
12981 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12982 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
12983 * sysdeps/unix/sysv/linux/scandir64.c: New file.
12985 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12987 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
12989 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12991 (_dl_aarch64_cap_flags): Add asimdfhm.
12993 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
12995 * sysdeps/nios2/libm-test-ulps: Update.
12997 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12999 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
13000 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
13002 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
13004 (_DIRENT_MATCHES_DIRENT64): Undef
13005 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
13006 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
13007 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
13008 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
13009 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
13010 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
13011 use getdents64 syscalls as base.
13012 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
13013 symbol if required.
13014 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
13015 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
13016 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
13017 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
13018 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
13019 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
13020 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
13021 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
13022 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13023 (__get_clockfreq_via_proc_openprom): Use __getdents64.
13024 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
13026 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13028 * scripts/test_printers_common.py (init_test): Disable lock elision.
13030 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13032 * math/test-tgmath.c (count_double, count_float,
13033 count_ldouble, count_cdouble, count_cfloat,
13034 count_cldouble): Use volatile int.
13036 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13038 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
13039 (conformtest-xfail-conds): Add i386-gnu.
13040 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
13042 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
13043 ipc_perm.cuid, ipc_perm.cgid): Likewise.
13044 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
13045 msqid_ds.msg_lrpid): Likewise.
13046 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
13048 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
13049 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
13050 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
13051 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
13053 (struct statvfs64): Likewise.
13054 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
13056 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
13057 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
13058 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
13059 instead of wait_queue.
13060 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
13061 instead of vm_area_struct.
13062 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
13063 struct sched_param definition to it.
13064 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13065 * bits/types/struct_sched_param.h: New file.
13066 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
13067 <bits/types/struct_sched_param.h> instead of <sched.h>.
13068 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
13069 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
13070 generic version but include <bits/pthreadtypes.h> to make struct
13071 sigevent's sigev_notify_attributes field a pthread_attr_t*.
13072 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
13074 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
13075 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
13076 [__USE_XOPEN] (OFDEL): New macro.
13077 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
13078 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
13079 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
13081 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
13082 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
13083 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
13085 * sysdeps/i386/sys/ucontext.h: Likewise.
13086 * sysdeps/m68k/sys/ucontext.h: Likewise.
13087 * sysdeps/mips/sys/ucontext.h: Likewise.
13088 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
13089 * sysdeps/mach/hurd/i386/Makefile
13090 (test-xfail-POSIX/fcntl.h/conform): Add.
13091 (test-xfail-POSIX/signal.h/conform): Add.
13092 (test-xfail-POSIX/semaphore.h/conform): Add.
13093 (test-xfail-POSIX/regex.h/conform): Add.
13094 (test-xfail-POSIX/aio.h/conform): Add.
13095 (test-xfail-POSIX/mqueue.h/conform): Add.
13096 (test-xfail-POSIX/sys/types.h/conform): Add.
13097 (test-xfail-UNIX98/fcntl.h/conform): Add.
13098 (test-xfail-UNIX98/netdb.h/conform): Add.
13099 (test-xfail-UNIX98/signal.h/conform): Add.
13100 (test-xfail-UNIX98/semaphore.h/conform): Add.
13101 (test-xfail-UNIX98/regex.h/conform): Add.
13102 (test-xfail-UNIX98/aio.h/conform): Add.
13103 (test-xfail-UNIX98/ftw.h/conform): Add.
13104 (test-xfail-UNIX98/mqueue.h/conform): Add.
13105 (test-xfail-UNIX98/netinet/in.h/conform): Add.
13106 (test-xfail-UNIX98/sys/wait.h/conform): Add.
13107 (test-xfail-UNIX98/sys/sem.h/conform): Add.
13108 (test-xfail-UNIX98/sys/uio.h/conform): Add.
13109 (test-xfail-UNIX98/sys/socket.h/conform): Add.
13110 (test-xfail-UNIX98/sys/types.h/conform): Add.
13111 (test-xfail-UNIX98/stdlib.h/conform): Add.
13112 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
13113 (test-xfail-POSIX2008/fcntl.h/conform): Add.
13114 (test-xfail-POSIX2008/netdb.h/conform): Add.
13115 (test-xfail-POSIX2008/signal.h/conform): Add.
13116 (test-xfail-POSIX2008/semaphore.h/conform): Add.
13117 (test-xfail-POSIX2008/regex.h/conform): Add.
13118 (test-xfail-POSIX2008/aio.h/conform): Add.
13119 (test-xfail-POSIX2008/mqueue.h/conform): Add.
13120 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
13121 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
13122 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
13123 (test-xfail-POSIX2008/sys/types.h/conform): Add.
13124 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
13125 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
13126 (test-xfail-XOPEN2K/netdb.h/conform): Add.
13127 (test-xfail-XOPEN2K/signal.h/conform): Add.
13128 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
13129 (test-xfail-XOPEN2K/regex.h/conform): Add.
13130 (test-xfail-XOPEN2K/aio.h/conform): Add.
13131 (test-xfail-XOPEN2K/ftw.h/conform): Add.
13132 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
13133 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
13134 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
13135 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
13136 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
13137 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
13138 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
13139 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
13140 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
13141 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
13142 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
13143 (test-xfail-XOPEN2K8/signal.h/conform): Add.
13144 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
13145 (test-xfail-XOPEN2K8/regex.h/conform): Add.
13146 (test-xfail-XOPEN2K8/aio.h/conform): Add.
13147 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
13148 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
13149 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
13150 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
13151 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
13152 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
13153 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
13154 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
13155 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
13156 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
13157 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
13159 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
13160 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
13162 2018-04-18 Joseph Myers <joseph@codesourcery.com>
13164 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
13165 --enable-obsolete for powerpc-linux-gnuspe.
13167 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13169 * conform/data/sys/un.h-data: Allow sun_ prefix.
13170 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
13172 * sysdeps/mach/include/mach.h: Likewise.
13173 * sysdeps/mach/include/mach/mig_support.h: Likewise.
13174 * sysdeps/mach/include/mach_error.h: Likewise.
13176 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13178 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
13179 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
13180 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
13181 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
13183 2018-04-16 Andreas Schwab <schwab@suse.de>
13186 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
13188 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13190 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
13191 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
13193 2018-04-12 DJ Delorie <dj@redhat.com>
13195 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13198 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13200 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
13201 (struct kernel_sigaction): Use the same definition on 31bit as is used
13204 2018-04-09 Florian Weimer <fweimer@redhat.com>
13207 * resolv/res_send.c (send_dg): Use designated initializers instead
13208 of assignment to zero-initialize other fields of struct mmsghdr.
13210 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13212 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
13213 __READDIR_ALIAS): Undefine after usage.
13214 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
13215 __READDIR_R_ALIAS): Likewise.
13216 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
13217 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
13218 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
13219 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
13220 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
13221 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
13222 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13223 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13224 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
13225 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
13226 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
13227 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
13228 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13229 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
13230 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
13231 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
13232 * sysdeps/unix/sysv/linux/readdir.c: New file.
13233 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
13234 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
13235 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
13237 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13239 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
13241 * manual/charset.texi (Converting a Character): Fix typo.
13243 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13247 * sysdeps/arm/libm-test-ulps: Update.
13249 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
13250 as base implementation.
13251 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13252 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13253 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13254 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13255 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13256 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
13257 remove unrequired definitions and update comments.
13258 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
13259 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
13260 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
13261 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
13262 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
13263 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
13264 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
13265 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
13266 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
13267 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
13268 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
13269 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13270 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13271 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
13272 and RESET_SA_RESTORER hooks.
13274 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
13276 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13278 2018-04-05 Florian Weimer <fweimer@redhat.com>
13280 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
13281 integer overflow, memory leak on error, and indeterminate errno
13282 value. Add a null wide character to terminate the result string.
13283 * manual/charset.texi (Converting a Character): Mention embedded
13284 null bytes in the mbrtowc input string. Explain what happens in
13285 the -2 result case. Do not claim that mbrtowc is simple or
13286 obvious to use. Adjust the description of the code example. Use
13287 @code, not @var, for concrete variables.
13289 2018-04-05 Florian Weimer <fweimer@redhat.com>
13291 * manual/examples/mbstouwcs.c: New file.
13292 * manual/charset.texi (Converting a Character): Include it.
13294 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13296 * include/dirent.h (dirfd): Add hidden proto.
13297 * dirent/dirfd.c (dirfd): Add hidden def.
13298 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
13299 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
13301 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13303 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
13304 sin, cos and sincos to 1 ULP.
13306 2018-04-04 Maciej W. Rozycki <macro@mips.com>
13309 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
13311 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
13312 * elf/tst-absolute-sym.c: New file.
13313 * elf/tst-absolute-sym-lib.c: New file.
13314 * elf/tst-absolute-sym-lib.lds: New file.
13315 * elf/Makefile (tests): Add `tst-absolute-sym'.
13316 (modules-names): Add `tst-absolute-sym-lib'.
13317 (LDLIBS-tst-absolute-sym-lib.so): New variable.
13318 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
13319 ($(objpfx)tst-absolute-sym): New dependency.
13322 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
13324 (SYMBOL_ADDRESS): New macro.
13325 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
13326 SYMBOL_ADDRESS for symbol address calculation.
13327 * elf/dl-runtime.c (_dl_fixup): Likewise.
13328 (_dl_profile_fixup): Likewise.
13329 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
13330 * elf/rtld.c (dl_main): Likewise.
13331 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
13332 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
13333 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
13334 (elf_machine_rela): Likewise.
13335 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
13336 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
13337 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13338 (elf_machine_rela): Likewise.
13339 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13340 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
13341 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
13342 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13344 (elf_machine_reloc): Likewise.
13345 (elf_machine_got_rel): Likewise.
13346 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
13347 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
13348 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13350 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13352 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
13353 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13355 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13357 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13358 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13360 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13362 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
13363 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13365 2018-04-04 Zack Weinberg <zackw@panix.com>
13367 * sysdeps/generic/internal-signals.h: Include signal.h,
13368 sigsetops.h, and stdbool.h.
13369 (__libc_signal_block_all): Actually block all signals.
13370 (__libc_signal_block_app): Likewise.
13371 (__libc_signal_restore_set): Actually restore the signal mask.
13373 2018-04-04 Florian Weimer <fweimer@redhat.com>
13375 inet: Actually build and run tst-deadline.
13376 * inet/Makefile (tests-internal): Add tst-deadline and do not
13377 overwrite the variable.
13378 (tests-static-internal): Remove variable.
13380 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
13383 * bits/uio-ext.h (RWF_APPEND): New.
13384 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
13385 * manual/llio.texi: Document RWF_APPEND.
13386 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
13387 (RWF_SUPPORTED): Add RWF_APPEND.
13389 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13392 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
13393 check for internal nptl signals.
13394 * nptl/sigaction.c (__sigaction): Likewise.
13395 * signal/sigaddset.c (sigaddset): Likewise.
13396 * signal/sigdelset.c (sigdelset): Likewise.
13397 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13398 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
13400 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
13401 to filter out internal nptl signals.
13402 * signal/tst-sigset.c (do_test): Check ech signal indidually and
13403 also check realtime signals using standard macros.
13404 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
13405 __is_internal_signal, __libc_signal_block_all,
13406 __libc_signal_block_app, __libc_signal_restore_set): New functions.
13407 * sysdeps/nptl/sigfillset.c: Remove file.
13408 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
13409 Change return to bool.
13410 (__clear_internal_signals): Remove SIGTIMER clean since it is
13411 equal to SIGCANEL on Linux.
13412 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
13413 signal set was constructed using standard functions.
13415 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13417 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
13418 ifname is too long.
13419 * hurd/hurdsig.c (interrupted_reply_port_location): Use
13420 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
13421 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
13423 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
13424 * signal/sigaddset.c: Include <sigsetopts.h>.
13425 * signal/sigdelset.c: Likewise.
13427 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13429 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
13431 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
13432 logic as sin and cos.
13434 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13436 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
13437 inputs. Return correct sign.
13438 (do_sincos): Remove small input check before do_sin, let do_sin set
13443 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13445 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
13446 (do_cos_slow): Likewise.
13447 (do_sin_slow): Likewise.
13448 (reduce_and_compute): Likewise.
13453 (sloww1): Likewise.
13454 (sloww2): Likewise.
13456 (bslow1): Likewise.
13457 (bslow2): Likewise.
13458 (cslow2): Likewise.
13460 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13462 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
13463 (do_cos): Remove corp parameter and calculations.
13464 (do_sin): Likewise.
13465 (do_sincos): Remove cor variable.
13466 (__sin): Use do_sincos for huge inputs.
13468 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13469 (reduce_and_compute_sincos): Remove unused function.
13471 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13473 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
13474 reduce_sincos, improve accuracy to 136 bits.
13475 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
13476 (__sin): Use improved reduction and simplified do_sincos calculation.
13478 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13480 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13482 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
13483 (do_sincos_2): Likewise.
13484 (__sin): Remove middle range reduction case.
13486 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
13489 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13491 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
13492 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
13495 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
13497 2018-04-03 Joseph Myers <joseph@codesourcery.com>
13499 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13502 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13504 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
13505 Remove definitions.
13506 (opendir_oflags): Use O_DIRECTORY regardless.
13507 (__opendir, __opendirat): Remove need_isdir_precheck usage.
13508 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
13510 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13512 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
13513 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
13515 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
13516 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
13517 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
13518 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
13519 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
13520 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
13522 * htl/Makefile: Bump licence to LGPL 2.1+.
13523 * htl/alloca_cutoff.c: Likewise.
13524 * htl/cthreads-compat.c: Likewise.
13525 * htl/lockfile.c: Likewise.
13526 * htl/pt-alloc.c: Likewise.
13527 * htl/pt-cancel.c: Likewise.
13528 * htl/pt-cleanup.c: Likewise.
13529 * htl/pt-create.c: Likewise.
13530 * htl/pt-dealloc.c: Likewise.
13531 * htl/pt-detach.c: Likewise.
13532 * htl/pt-exit.c: Likewise.
13533 * htl/pt-getattr.c: Likewise.
13534 * htl/pt-initialize.c: Likewise.
13535 * htl/pt-internal.h: Likewise.
13536 * htl/pt-join.c: Likewise.
13537 * htl/pt-self.c: Likewise.
13538 * htl/pt-setcancelstate.c: Likewise.
13539 * htl/pt-setcanceltype.c: Likewise.
13540 * htl/pt-sigmask.c: Likewise.
13541 * htl/pt-spin-inlines.c: Likewise.
13542 * htl/pt-testcancel.c: Likewise.
13543 * htl/pt-yield.c: Likewise.
13544 * htl/tests/test-1.c: Likewise.
13545 * htl/tests/test-10.c: Likewise.
13546 * htl/tests/test-11.c: Likewise.
13547 * htl/tests/test-12.c: Likewise.
13548 * htl/tests/test-13.c: Likewise.
13549 * htl/tests/test-14.c: Likewise.
13550 * htl/tests/test-15.c: Likewise.
13551 * htl/tests/test-16.c: Likewise.
13552 * htl/tests/test-17.c: Likewise.
13553 * htl/tests/test-2.c: Likewise.
13554 * htl/tests/test-3.c: Likewise.
13555 * htl/tests/test-4.c: Likewise.
13556 * htl/tests/test-5.c: Likewise.
13557 * htl/tests/test-6.c: Likewise.
13558 * htl/tests/test-7.c: Likewise.
13559 * htl/tests/test-8.c: Likewise.
13560 * htl/tests/test-9.c: Likewise.
13561 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
13562 * sysdeps/htl/bits/cancelation.h: Likewise.
13563 * sysdeps/htl/bits/pthread-np.h: Likewise.
13564 * sysdeps/htl/bits/pthread.h: Likewise.
13565 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
13566 * sysdeps/htl/bits/semaphore.h: Likewise.
13567 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
13568 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
13569 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
13570 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
13571 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
13572 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
13573 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
13574 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
13575 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
13576 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
13577 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
13578 * sysdeps/htl/old_pt-atfork.c: Likewise.
13579 * sysdeps/htl/pt-atfork.c: Likewise.
13580 * sysdeps/htl/pt-attr-destroy.c: Likewise.
13581 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
13582 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
13583 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
13584 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
13585 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
13586 * sysdeps/htl/pt-attr-getscope.c: Likewise.
13587 * sysdeps/htl/pt-attr-getstack.c: Likewise.
13588 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
13589 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
13590 * sysdeps/htl/pt-attr-init.c: Likewise.
13591 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
13592 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
13593 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
13594 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
13595 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
13596 * sysdeps/htl/pt-attr-setscope.c: Likewise.
13597 * sysdeps/htl/pt-attr-setstack.c: Likewise.
13598 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
13599 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
13600 * sysdeps/htl/pt-attr.c: Likewise.
13601 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
13602 * sysdeps/htl/pt-barrier-init.c: Likewise.
13603 * sysdeps/htl/pt-barrier-wait.c: Likewise.
13604 * sysdeps/htl/pt-barrier.c: Likewise.
13605 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
13606 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
13607 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
13608 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
13609 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
13610 * sysdeps/htl/pt-cond-destroy.c: Likewise.
13611 * sysdeps/htl/pt-cond-init.c: Likewise.
13612 * sysdeps/htl/pt-cond-signal.c: Likewise.
13613 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
13614 * sysdeps/htl/pt-cond-wait.c: Likewise.
13615 * sysdeps/htl/pt-cond.c: Likewise.
13616 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
13617 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
13618 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
13619 * sysdeps/htl/pt-condattr-init.c: Likewise.
13620 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
13621 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
13622 * sysdeps/htl/pt-destroy-specific.c: Likewise.
13623 * sysdeps/htl/pt-equal.c: Likewise.
13624 * sysdeps/htl/pt-getconcurrency.c: Likewise.
13625 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
13626 * sysdeps/htl/pt-getschedparam.c: Likewise.
13627 * sysdeps/htl/pt-getspecific.c: Likewise.
13628 * sysdeps/htl/pt-init-specific.c: Likewise.
13629 * sysdeps/htl/pt-key-create.c: Likewise.
13630 * sysdeps/htl/pt-key-delete.c: Likewise.
13631 * sysdeps/htl/pt-key.h: Likewise.
13632 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
13633 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
13634 * sysdeps/htl/pt-mutex-init.c: Likewise.
13635 * sysdeps/htl/pt-mutex-lock.c: Likewise.
13636 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
13637 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
13638 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
13639 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
13640 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
13641 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
13642 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
13643 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
13644 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
13645 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
13646 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
13647 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
13648 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
13649 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
13650 * sysdeps/htl/pt-mutexattr.c: Likewise.
13651 * sysdeps/htl/pt-once.c: Likewise.
13652 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
13653 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
13654 * sysdeps/htl/pt-rwlock-init.c: Likewise.
13655 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
13656 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
13657 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
13658 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
13659 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
13660 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
13661 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
13662 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
13663 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
13664 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
13665 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
13666 * sysdeps/htl/pt-setconcurrency.c: Likewise.
13667 * sysdeps/htl/pt-setschedparam.c: Likewise.
13668 * sysdeps/htl/pt-setschedprio.c: Likewise.
13669 * sysdeps/htl/pt-setspecific.c: Likewise.
13670 * sysdeps/htl/pt-spin.c: Likewise.
13671 * sysdeps/htl/pt-startup.c: Likewise.
13672 * sysdeps/htl/pthread.h: Likewise.
13673 * sysdeps/htl/sem-close.c: Likewise.
13674 * sysdeps/htl/sem-destroy.c: Likewise.
13675 * sysdeps/htl/sem-getvalue.c: Likewise.
13676 * sysdeps/htl/sem-init.c: Likewise.
13677 * sysdeps/htl/sem-open.c: Likewise.
13678 * sysdeps/htl/sem-post.c: Likewise.
13679 * sysdeps/htl/sem-timedwait.c: Likewise.
13680 * sysdeps/htl/sem-trywait.c: Likewise.
13681 * sysdeps/htl/sem-unlink.c: Likewise.
13682 * sysdeps/htl/sem-wait.c: Likewise.
13683 * sysdeps/hurd/htl/pt-kill.c: Likewise.
13684 * sysdeps/i386/htl/pt-machdep.h: Likewise.
13685 * sysdeps/mach/htl/pt-block.c: Likewise.
13686 * sysdeps/mach/htl/pt-spin.c: Likewise.
13687 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
13688 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
13689 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
13690 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
13691 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
13692 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
13693 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
13694 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
13695 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
13696 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
13697 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
13698 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
13699 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
13700 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
13701 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
13702 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
13703 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
13704 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
13705 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
13706 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
13707 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
13708 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
13709 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
13710 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
13711 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
13712 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
13713 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
13714 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
13715 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
13716 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
13717 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
13718 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
13719 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
13720 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
13721 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
13722 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
13723 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
13724 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
13725 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
13726 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
13727 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
13728 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
13729 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
13731 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
13732 * README: Remove the mention of out-of-tree patches needed for
13735 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
13736 (UTIME_NOW, UTIME_OMIT): Define macros.
13738 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
13739 instead of pthread_detach.
13740 (__cthread_fork): Call __pthread_create instead of pthread_create.
13741 (__cthread_keycreate): Call __pthread_key_create instead of
13742 pthread_key_create.
13743 (__cthread_getspecific): Call __pthread_getspecific instead of
13744 pthread_getspecific.
13745 (__cthread_setspecific): Call __pthread_setspecific instead of
13746 pthread_setspecific.
13747 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
13748 __pthread_mutex_unlock instead of pthread_mutex_lock and
13749 pthread_mutex_unlock.
13750 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
13751 ___pthread_get_cleanup_stack.
13752 (__pthread_get_cleanup_stack): New strong alias.
13753 * htl/pt-create.c: Include <pthreadP.h>.
13754 (entry_point): Call __pthread_exit instead of pthread_exit.
13755 (pthread_create): Rename to __pthread_create.
13756 (pthread_create): New strong alias.
13757 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
13758 (pthread_detach): New strong alias.
13759 (__pthread_detach): Call __pthread_cond_broadcast instead of
13760 pthread_cond_broadcast.
13761 * htl/pt-exit.c: Include <pthreadP.h>.
13762 (__pthread_exit): Call __pthread_setcancelstate and
13763 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
13764 __pthread_get_cleanup_stack.
13765 * htl/pt-testcancel.c: Include <pthreadP.h>.
13766 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
13767 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
13768 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
13769 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
13770 pthread_attr_getstacksize.
13771 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
13772 Rename to __pthread_attr_getstackaddr.
13773 (pthread_attr_getstackaddr): New strong alias.
13774 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
13775 Rename to __pthread_attr_getstacksize.
13776 (pthread_attr_getstacksize): New strong alias.
13777 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
13778 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
13779 (pthread_attr_setstack): New strong alias.
13780 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
13781 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
13782 pthread_attr_getstacksize, pthread_attr_setstacksize and
13783 pthread_attr_setstackaddr.
13784 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
13785 Rename to __pthread_attr_setstackaddr.
13786 (pthread_attr_setstackaddr): New strong alias.
13787 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
13788 Rename to __pthread_attr_setstacksize.
13789 (pthread_attr_setstacksize): New strong alias.
13790 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
13791 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
13793 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
13794 (__pthread_key_create): New hidden def.
13795 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
13796 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
13797 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
13798 __pthread_exit, __pthread_key_create, __pthread_getspecific,
13799 __pthread_setspecific, __pthread_setcancelstate,
13800 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
13801 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
13802 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
13804 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
13805 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
13806 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
13807 (pthread_attr_setstackaddr): New strong alias.
13808 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
13809 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
13810 (pthread_attr_setstacksize): New strong alias.
13811 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
13812 (call_exit): Call __pthread_exit instead of pthread_exit.
13813 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
13814 (_pthread_mutex_init): New hidden definition.
13815 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
13816 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
13817 instead of pthread_attr_init and pthread_attr_setstack.
13819 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
13820 __vm_deallocate instead of vm_allocate and vm_deallocate.
13821 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
13823 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
13825 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
13827 * hurd/siginfo.c: Include <libioP.h>.
13828 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
13829 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
13831 * mach/devstream.c: Include <libioP.h>.
13832 (dealloc_ref): Call __mach_port_deallocate instead of
13833 mach_port_deallocate.
13834 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
13835 Call __mach_port_deallocate instead of mach_port_deallocate.
13836 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
13838 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
13840 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
13841 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
13842 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
13844 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
13846 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
13847 instead of sysconf.
13848 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
13849 __clock_gettime instead of clock_gettime.
13850 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
13851 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13852 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
13853 * sysdeps/unix/bsd/stty.c (stty): Likewise.
13854 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
13856 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
13857 __clock_gettime and __nanosleep instead of clock_gettime and
13859 * hurd/catch-signal.c (hurd_catch_signal): Rename to
13860 __hurd_catch_signal.
13861 (hurd_catch_signal): New strong alias.
13862 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
13863 __hurd_catch_signal instead of hurd_catch_signal.
13864 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
13865 * hurd/hurdexec.c (_hurd_init): Add hidden def.
13866 * hurd/hurdinit.c (_hurd_init): Add hidden def.
13867 * hurd/hurdsig.c: Include <mach/mig_support.h>.
13868 (_hurd_thread_sigstate): Add hidden def.
13869 (_hurd_internal_post_signal): Use __mutex_unlock instead of
13871 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
13872 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
13873 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
13874 __hurd_file_name_path_lookup.
13875 (hurd_file_name_path_lookup): New strong alias.
13876 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
13877 hurd_file_name_path_lookup.
13878 * mach/errstring.c (mach_error_type): Add hidden def.
13879 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
13880 * mach/mutex-init.c (__mutex_init): Add hidden def.
13881 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
13882 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
13883 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
13884 * sysdeps/mach/hurd/getcwd.c
13885 (_hurd_canonicalize_directory_name_internal): Rename to
13886 __hurd_canonicalize_directory_name_internal.
13887 (_hurd_canonicalize_directory_name_internal): New strong alias.
13888 (__canonicalize_directory_name_internal, __getcwd): Call
13889 __hurd_canonicalize_directory_name_internal instead of
13890 _hurd_canonicalize_directory_name_internal.
13891 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
13892 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
13894 * sysdeps/hurd/include/hurd.h: New file.
13895 * sysdeps/hurd/include/hurd/fd.h: New file.
13896 * sysdeps/hurd/include/hurd/signal.h: New file.
13897 * sysdeps/mach/include/lock-intern.h: New file.
13898 * sysdeps/mach/include/mach.h: New file.
13899 * sysdeps/mach/include/mach/mig_support.h: New file.
13900 * sysdeps/mach/include/mach_error.h: New file.
13901 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
13903 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
13904 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
13905 _HEADER_H_HIDDEN_DEF macro.
13906 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
13907 _hurd_fd_error_signal): Add hidden prototype.
13908 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
13910 * libio/iolibio.h (_IO_puts): New hidden prototype.
13911 * libio/ioputs.c (_IO_puts): New hidden def.
13912 * sysdeps/mach/hurd/localplt.data: New file.
13914 2018-04-02 Agustina Arzille <avarzille@riseup.net>
13915 Amos Jeffries <squid3@treenet.co.nz>
13916 David Michael <fedora.dm0@gmail.com>
13917 Marco Gerards <marco@gnu.org>
13918 Marcus Brinkmann <marcus@gnu.org>
13919 Neal H. Walfield <neal@gnu.org>
13920 Pino Toscano <toscano.pino@tiscali.it>
13921 Richard Braun <rbraun@sceen.net>
13922 Roland McGrath <roland@gnu.org>
13923 Samuel Thibault <samuel.thibault@ens-lyon.org>
13924 Thomas DiModica <ricinwich@yahoo.com>
13925 Thomas Schwinge <tschwinge@gnu.org>
13927 * htl: New directory.
13928 * sysdeps/htl: New directory.
13929 * sysdeps/hurd/htl: New directory.
13930 * sysdeps/i386/htl: New directory.
13931 * sysdeps/mach/htl: New directory.
13932 * sysdeps/mach/hurd/htl: New directory.
13933 * sysdeps/mach/hurd/i386/htl: New directory.
13934 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
13935 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
13936 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
13938 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13940 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
13941 signals in thread created for runing timers.
13943 2018-04-01 Florian Weimer <fweimer@redhat.com>
13945 * support/support_format_addrinfo.c (support_format_addrinfo):
13946 Include unknown error number in formatted result.
13948 2018-03-29 Florian Weimer <fweimer@redhat.com>
13950 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
13953 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13955 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
13956 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
13957 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13958 (__ASSUME_CLONE_BACKWARDS): Define.
13960 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
13963 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
13964 early when linux sentinel value is set.
13966 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13968 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
13970 2018-03-27 Andreas Schwab <schwab@suse.de>
13973 * resolv/res_send.c (__res_context_send): Return ENOMEM if
13974 allocation of private copy of nsaddr_list fails.
13976 2018-03-26 Joseph Myers <joseph@codesourcery.com>
13979 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
13980 * sysdeps/unix/sysv/linux/umount.c: ... here.
13981 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
13982 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
13983 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
13984 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
13985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
13986 * sysdeps/unix/sysv/linux/umount.S: Likewise.
13987 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
13989 2018-03-26 Andreas Schwab <schwab@suse.de>
13991 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
13992 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
13993 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
13994 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
13995 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
13996 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
13997 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
13998 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
13999 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
14000 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
14001 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
14002 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
14003 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
14004 (R_RISCV_NUM): Define.
14006 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14008 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
14009 TLS declaration of errno.
14010 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
14012 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
14013 (ARCH_SETUP_TLS): Likewise.
14014 * sysdeps/mach/hurd/libc-start.h: New file copied from
14015 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
14016 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
14017 instead of __libc_setup_tls.
14018 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
14019 __libc_setup_tls before initializing libpthread and running _hurd_init
14020 which starts the signal thread.
14021 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
14023 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14025 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
14028 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
14029 after it is defined.
14031 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
14032 Max Horn <max@quendi.de>
14036 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
14038 * string/test-memmove.c (do_test2): New testcase.
14040 2018-03-22 Joseph Myers <joseph@codesourcery.com>
14042 * sysdeps/generic/frame.h: Remove file.
14043 * sysdeps/arm/frame.h: Likewise.
14044 * sysdeps/hppa/frame.h: Likewise.
14045 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
14047 (GET_FRAME): Likewise.
14048 (GET_STACK): Likewise.
14049 (CALL_SIGHANDLER): Likewise.
14050 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
14052 (GET_FRAME): Likewise.
14053 (GET_STACK): Likewise.
14054 (CALL_SIGHANDLER): Likewise.
14055 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
14056 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14057 (GET_FRAME): Likewise.
14058 (GET_STACK): Likewise.
14059 (CALL_SIGHANDLER): Likewise.
14060 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
14061 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14062 (GET_FRAME): Likewise.
14063 (GET_STACK): Likewise.
14064 (ADVANCE_STACK_FRAME): Likewise.
14065 (CALL_SIGHANDLER): Likewise.
14066 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
14067 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14068 (GET_FRAME): Likewise.
14069 (GET_STACK): Likewise.
14070 (CALL_SIGHANDLER): Likewise.
14071 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
14072 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14073 (GET_FRAME): Likewise.
14074 (GET_STACK): Likewise.
14075 (CALL_SIGHANDLER): Likewise.
14076 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
14077 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14078 (GET_FRAME): Likewise.
14079 (GET_STACK): Likewise.
14080 (CALL_SIGHANDLER): Likewise.
14081 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
14082 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14083 (GET_FRAME): Likewise.
14084 (GET_STACK): Likewise.
14085 (CALL_SIGHANDLER): Likewise.
14086 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
14087 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14088 (GET_FRAME): Likewise.
14089 (GET_STACK): Likewise.
14090 (CALL_SIGHANDLER): Likewise.
14091 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
14092 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14093 (GET_FRAME): Likewise.
14094 (GET_STACK): Likewise.
14095 (CALL_SIGHANDLER): Likewise.
14096 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
14097 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14098 (GET_FRAME): Likewise.
14099 (GET_STACK): Likewise.
14100 (CALL_SIGHANDLER): Likewise.
14101 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
14102 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14103 (GET_FRAME): Likewise.
14104 (GET_STACK): Likewise.
14105 (CALL_SIGHANDLER): Likewise.
14106 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
14107 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14108 (GET_FRAME): Likewise.
14109 (GET_STACK): Likewise.
14110 (CALL_SIGHANDLER): Likewise.
14111 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
14112 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14113 (FIRST_FRAME_POINTER): Likewise.
14114 (ADVANCE_STACK_FRAME): Likewise.
14115 (GET_STACK): Likewise.
14116 (GET_FRAME): Likewise.
14117 (CALL_SIGHANDLER): Likewise.
14118 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
14119 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14120 (ADVANCE_STACK_FRAME): Likewise.
14121 (GET_STACK): Likewise.
14122 (GET_FRAME): Likewise.
14123 (CALL_SIGHANDLER): Likewise.
14124 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
14125 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14126 (GET_FRAME): Likewise.
14127 (GET_STACK): Likewise.
14128 (CALL_SIGHANDLER): Likewise.
14129 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
14130 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14131 (GET_FRAME): Likewise.
14132 (GET_STACK): Likewise.
14133 (CALL_SIGHANDLER): Likewise.
14135 2018-03-21 Joseph Myers <joseph@codesourcery.com>
14137 * sysdeps/x86_64/backtrace.c: Move to ....
14138 * debug/backtrace.c: ... here.
14139 * sysdeps/aarch64/backtrace.c: Remove file.
14140 * sysdeps/alpha/backtrace.c: Likewise.
14141 * sysdeps/hppa/backtrace.c: Likewise.
14142 * sysdeps/ia64/backtrace.c: Likewise.
14143 * sysdeps/mips/backtrace.c: Likewise.
14144 * sysdeps/nios2/backtrace.c: Likewise.
14145 * sysdeps/riscv/backtrace.c: Likewise.
14146 * sysdeps/sh/backtrace.c: Likewise.
14147 * sysdeps/tile/backtrace.c: Likewise.
14149 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14152 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
14155 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
14158 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
14159 possibly overflowing computations.
14161 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14163 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
14164 values from Linux-specific section now that it is in the GNU section.
14165 * sysdeps/gnu/errlist.c: Regenerate.
14167 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14169 * math/Makefile (libm-narrow-fns): Add sub.
14170 (libm-test-funcs-narrow): Likewise.
14171 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
14172 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
14173 * math/gen-auto-libm-tests.c (test_functions): Add sub.
14174 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
14175 (NARROW_SUB_ROUND_TO_ODD): Likewise.
14176 (NARROW_SUB_TRIVIAL): Likewise.
14177 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
14179 (__dsubl): Likewise.
14180 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
14182 (CFLAGS-nldbl-dsub.c): New variable.
14183 (CFLAGS-nldbl-fsub.c): Likewise.
14184 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14186 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
14188 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
14189 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
14190 * math/auto-libm-test-in: Add tests of sub.
14191 * math/auto-libm-test-out-narrow-sub: New generated file.
14192 * math/libm-test-narrow-sub.inc: New file.
14193 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14194 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
14195 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
14196 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
14197 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
14198 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
14199 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
14200 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
14201 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
14202 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
14203 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
14204 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
14205 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
14206 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
14207 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
14208 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
14209 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
14210 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
14211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14212 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14213 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14214 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14215 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14216 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14217 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14218 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14219 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14220 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14221 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14222 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14223 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14224 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14229 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14230 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14231 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14232 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14233 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14234 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14235 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14236 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14237 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14238 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14240 2018-03-19 Joseph Myers <joseph@codesourcery.com>
14243 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
14245 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
14247 * benchtests/bench-timing.h (attribute_hidden): Undefine.
14249 2018-03-18 Richard Braun <rbraun@sceen.net>
14251 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
14254 2018-03-18 Agustina Arzille <avarzille@riseup.net>
14256 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
14257 (__libc_cleanup_fct): Define function.
14258 (__libc_cleanup_region_start, __libc_cleanup_region_end,
14259 __libc_cleanup_end): Rewrite implementation using
14260 __attribute__ ((__cleanup__)).
14261 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
14262 * hurd/Makefile (routines): Add hurdlock.
14263 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
14265 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
14266 * hurd/hurdpid.c: Include <lowlevellock.h>
14267 (_S_msg_proc_newids): Use lll_wait to synchronize.
14268 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
14269 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
14270 * mach/Makefile (lock-headers): Remove machine-lock.h.
14271 * mach/lock-intern.h: Include <lowlevellock.h> instead of
14273 (__spin_lock_t): New type.
14274 (__SPIN_LOCK_INITIALIZER): New macro.
14275 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
14276 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
14277 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
14278 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
14279 (__mutex_init): Initialize with lll.
14280 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
14281 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
14283 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14284 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
14285 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
14286 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
14287 (__setpgid): Use lll for synchronization.
14288 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
14289 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
14290 instead of <cthreads.h>.
14291 (_IO_lock_inexpensive): New macro
14292 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
14293 (__libc_lock_self0): New declaration.
14294 (__libc_lock_owner_self): New macro.
14295 (__libc_key_t): Remove type.
14296 (_LIBC_LOCK_INITIALIZER): New macro.
14297 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
14298 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
14299 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
14300 __libc_lock_define_initialized_recursive,
14301 __rtld_lock_define_initialized_recursive,
14302 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
14303 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
14304 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
14305 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
14306 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
14307 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
14308 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
14310 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
14311 * hurd/hurdlock.c: New file.
14312 * hurd/hurdlock.h: New file.
14313 * mach/lowlevellock.h: New file
14315 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14317 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
14318 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
14319 when opening a symlink with O_NOFOLLOW.
14320 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
14321 path when flags contains O_NOFOLLOW.
14322 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
14323 if flags contains O_DIRECTORY and the result is a directory.
14324 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
14325 oneself when the pointer given in D is nul (as set by ext2fs).
14326 * sysdeps/mach/hurd/mlockall.c: New file.
14327 * sysdeps/mach/hurd/munlockall.c: New file.
14329 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14331 * hurd/hurdsig.c: Include <pthread.h>.
14332 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
14333 get the signal thread stack layout.
14334 * hurd/Makefile (headers): Remove threadvar.h.
14335 (inline-headers): Remove threadvar.h.
14336 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
14337 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
14338 __hurd_threadvar_max, __hurd_errno_location.
14339 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
14340 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
14341 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
14342 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
14343 unless TLS is not initialized yet, in which case we do not need a
14344 critical section yet anyway.
14345 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
14347 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
14349 (__hurd_threadvar_index): Remove enum.
14350 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
14351 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
14353 (__hurd_reply_port0): New variable declaration.
14354 (__hurd_local_reply_port): New macro.
14355 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
14356 (interrupted_reply_port_location): Add thread_t parameter. Use it
14357 with THREAD_TCB to access thread-local variables.
14358 (_hurdsig_abort_rpcs): Pass ss->thread to
14359 interrupted_reply_port_location.
14360 (_hurd_internal_post_signal): Likewise.
14361 (_hurdsig_init): Use presence of cthread_fork instead of
14362 __hurd_threadvar_stack_mask to start signal thread by hand.
14363 Remove signal thread threadvar initialization.
14364 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
14365 * hurd/sigunwind.c: Include <hurd/threadvar.h>
14366 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
14368 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
14370 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
14371 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
14372 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
14373 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
14374 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
14375 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
14376 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
14378 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
14379 <hurd/threadvar.h>.
14380 [IS_IN(rtld)] (rtld_errno): New variable.
14381 [IS_IN(rtld)] (__errno_location): New weak function.
14382 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
14383 * sysdeps/mach/hurd/errno.c: Remove file.
14384 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
14385 (__fork): Remove THREADVAR_SPACE macro and its use.
14386 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
14388 (init): Do not initialize threadvar.
14389 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
14391 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
14392 __hurd_local_reply_port instead of threadvar.
14393 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
14394 _hurd_sigstate fields.
14395 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
14396 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
14397 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
14398 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
14399 instead of threadvar.
14400 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
14401 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
14402 (use_threadvar, global_reply_port): Remove variables.
14403 (__hurd_reply_port0): New variable.
14404 (__mig_get_reply_port): Use __hurd_local_reply_port and
14405 __hurd_reply_port0 instead of threadvar.
14406 (__mig_dealloc_reply_port): Likewise.
14407 (__mig_init): Do not initialize threadvar.
14408 * sysdeps/mach/hurd/profil.c: Fix comment.
14409 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
14410 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
14411 cthread_keycreate, cthread_getspecific, cthread_setspecific to
14412 __cthread_fork, __cthread_detach, __pthread_getattr_np,
14413 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
14414 __cthread_setspecific.
14415 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
14416 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
14417 __cthread_t instead of cthread_fork, cthread_detach,
14418 pthread_getattr_np, pthread_attr_getstack.
14419 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
14420 __cthread_keycreate.
14421 (cthread_getspecific): Rename to __cthread_getspecific.
14422 (cthread_setspecific): Rename to __cthread_setspecific.
14423 (__libc_getspecific): Use __cthread_getspecific instead of
14424 cthread_getspecific.
14425 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
14426 __cthread_keycreate instead of cthread_keycreate.
14427 (__libc_setspecific): Use __cthread_setspecific instead of
14428 cthread_setspecific.
14429 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
14431 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
14432 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
14433 testing whether it is defined.
14435 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14437 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
14439 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
14440 * sysdeps/mach/i386/thread_state.h
14441 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
14443 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
14445 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
14447 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
14448 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
14450 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
14452 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
14453 descriptor instead of creating a new one.
14454 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
14456 * mach/setup-thread.c: Include <ldsodefs.h>.
14457 (__mach_setup_thread): Call _dl_allocate_tls, pass
14458 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
14459 MACHINE_THREAD_STATE_FLAVOR, before getting
14460 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
14461 MACHINE_THREAD_STATE_FLAVOR with the result.
14462 * hurd/hurdfault.c (_hurdsig_fault_init): Call
14463 MACHINE_THREAD_STATE_FIX_NEW.
14464 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
14465 too. Add original thread parameter.
14467 2018-03-16 Joseph Myers <joseph@codesourcery.com>
14469 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
14470 Remove inline function.
14472 * sysdeps/i386/fpu/libm-test-ulps: Update.
14473 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14475 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
14477 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
14480 2018-03-15 Joseph Myers <joseph@codesourcery.com>
14482 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
14483 (__sincos_code): Remove define and undefine.
14484 [__FAST_MATH__] (__sincos): Remove inline function.
14485 [__FAST_MATH__] (__sincosf): Remove inline function.
14486 [__FAST_MATH__] (__sincosl): Remove inline function.
14487 (__atan2l): Remove inline functions.
14488 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
14489 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
14491 (floor): Remove inline function.
14493 [__FAST_MATH__] (__ldexp_code): Remove macro.
14494 [__FAST_MATH__] (ldexp): Remove inline function.
14495 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
14496 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
14497 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
14498 [__USE_ISOC99] (__lrint_code): Remove macro.
14499 [__USE_ISOC99] (__llrint_code): Likewise.
14500 [__USE_ISOC99] (lrintf): Remove inline function.
14501 [__USE_ISOC99] (lrint): Likewise.
14502 [__USE_ISOC99] (lrintl): Likewise.
14503 [__USE_ISOC99] (llrint): Likewise.
14504 [__USE_ISOC99] (llrintf): Likewise.
14505 [__USE_ISOC99] (llrintl): Likewise.
14507 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14509 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
14510 (__ieee754_sqrtf): Remove.
14511 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
14512 (__ieee754_sqrtf): Remove.
14513 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
14514 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14515 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
14516 (__ieee754_sqrtf): Remove.
14517 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
14518 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
14521 (__ieee754_sqrt): Remove.
14522 (__ieee754_sqrtf): Remove.
14523 (__ieee754_sqrtl): Remove.
14524 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14525 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
14526 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
14527 (__ieee754_sqrtf): Remove.
14528 (__ieee754_sqrtl): Remove.
14530 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14532 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
14533 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14534 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14535 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
14536 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
14537 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14538 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14539 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14541 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
14542 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
14543 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14544 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14545 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
14546 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
14547 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14548 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
14549 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14550 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14551 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
14552 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14553 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
14554 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
14555 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
14556 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14557 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14558 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14559 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
14560 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
14561 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14562 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14563 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
14564 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
14565 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
14566 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
14567 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14568 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14569 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
14570 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14571 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14572 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
14573 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14574 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
14575 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14576 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14577 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
14578 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
14579 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14580 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
14582 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14584 * include/math.h (sqrt): Declare with asm redirect.
14587 (sqrtf128): Likewise.
14588 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
14589 nonlib and libnldbl with -fmath-errno.
14590 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
14591 * math/w_sqrt_template.c: Likewise.
14592 * math/w_sqrtf_compat.c: Likewise.
14593 * math/w_sqrtl_compat.c: Likewise.
14594 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
14595 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
14596 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
14599 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14601 * benchtests/Makefile: Define _ISOMAC.
14602 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
14603 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
14604 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
14605 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
14606 * benchtests/bench-timing.h: Define attribute_hidden.
14608 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14610 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
14613 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14616 * localedata/locales/cs_CZ (mon): Rename to...
14618 (mon): Import from CLDR (genitive case).
14620 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14623 * localedata/locales/el_CY (abmon): Rename to...
14624 (ab_alt_mon): This.
14625 (abmon): Import from CLDR (abbreviated genitive case).
14626 * localedata/locales/el_GR (abmon): Rename to...
14627 (ab_alt_mon): This.
14628 (abmon): Import from CLDR (abbreviated genitive case).
14630 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14633 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
14635 2018-03-15 Robert Buj <robert.buj@gmail.com>
14638 * localedata/locales/ca_ES (abmon): Rename to...
14639 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14640 (mon): Rename to...
14642 (abmon): Import from CLDR (genitive case, month names preceded by
14645 (abday): Synchronize with CLDR.
14646 (d_t_fmt): Likewise.
14650 (LC_TIME): Improve indentation.
14651 (LC_TELEPHONE): Likewise.
14652 (LC_NAME): Likewise.
14653 (LC_ADDRESS): Likewise.
14655 2018-03-14 Joseph Myers <joseph@codesourcery.com>
14657 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
14658 (lrintf): Remove definitions used only with old GCC.
14659 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
14660 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
14661 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
14662 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
14663 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
14664 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
14665 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
14666 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
14667 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
14668 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
14669 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
14670 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
14671 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
14672 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
14673 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
14674 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
14675 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
14676 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
14677 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
14678 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
14679 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
14680 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
14681 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
14682 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
14683 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
14684 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
14685 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
14686 [__FAST_MATH__] (__M_SQRT2): Remove macro.
14688 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
14690 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
14691 instruction to unbreak builds with binutils 2.26 and older.
14693 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
14695 * sysdeps/aarch64/strncmp.S (count): New macro.
14696 (strncmp): Store misaligned length in SRC1 in COUNT.
14697 (mutual_align): Adjust.
14698 (misaligned8): Load dword at a time when it is safe.
14700 2018-03-12 Zack Weinberg <zackw@panix.com>
14704 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
14705 if the _IO_EOF_SEEN bit is already set; update commentary.
14706 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
14707 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
14709 * support/support_openpty.c, support/tty.h: New files.
14710 * support/Makefile (libsupport-routines): Add support_openpty.
14712 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
14714 * libio/Makefile (tests): Add tst-fgetc-after-eof.
14715 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
14717 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
14719 * po/pt_BR.po: Update translations.
14721 2018-03-12 David Michael <fedora.dm0@gmail.com>
14723 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
14724 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
14725 get a port to the startup server.
14727 2018-03-11 Zack Weinberg <zackw@panix.com>
14729 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
14730 before nldbl-compat.h.
14732 2018-03-10 Zack Weinberg <zackw@panix.com>
14734 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
14735 math.h or math_private.h.
14737 * sysdeps/alpha/fpu/s_isnan.c
14738 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
14739 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
14740 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
14741 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
14742 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
14743 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
14744 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
14745 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
14746 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
14747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
14748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
14749 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
14750 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
14751 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
14752 Include math_private.h.
14754 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
14755 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
14756 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
14757 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
14758 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
14759 * sysdeps/powerpc/power7/fpu/s_logb.c:
14760 Include math.h and math_private.h.
14762 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
14763 uses of $at in .set noat / .set at.
14765 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
14767 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
14768 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
14769 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
14770 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
14773 2018-03-09 Florian Weimer <fweimer@redhat.com>
14775 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
14778 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
14781 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
14782 Add nop before __startcontext, add explaining comments.
14784 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14787 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
14789 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
14790 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
14791 Do not build hardware transactional code for __SPE__.
14792 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14793 (__lll_trylock_elision): Likewise.
14794 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14795 (__lll_unlock_elision): Likewise.
14797 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
14798 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
14799 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
14800 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
14801 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
14802 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
14803 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
14804 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
14805 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
14806 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
14807 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
14808 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
14809 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
14810 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
14811 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
14812 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
14813 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
14814 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
14815 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
14816 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
14817 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
14818 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14819 (__ASSUME_CLONE_BACKWARDS): Define.
14820 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
14821 __clone2 if __NR_clone2 is defined.
14822 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14823 (__ASSUME_CLONE_BACKWARDS): Likewise.
14824 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14825 (__ASSUME_CLONE_BACKWARDS): Likewise.
14826 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14827 (__ASSUME_CLONE2): Likewise.
14828 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14829 (__ASSUME_CLONE_BACKWARDS3): Likewise.
14830 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
14831 variants and the define architecture can use.
14832 (__ASSUME_CLONE_DEFAULT): Define as default.
14833 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14834 (__ASSUME_CLONE_BACKWARDS): Likewise.
14835 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14836 (__ASSUME_CLONE_BACKWARDS): Likewise.
14837 * sysdeps/unix/sysv/linux/s390/kernel-features.h
14838 (__ASSUME_CLONE_BACKWARDS2): Likewise.
14840 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
14842 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
14844 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
14847 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
14848 (do_test_limit): Likewise.
14850 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
14851 for every implementation.
14852 (do_test): Likewise.
14854 * benchtests/bench-strncmp.c: Convert output to json.
14856 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14858 * io/futimens.c: Add missing start-of-file descriptive comment.
14859 * io/utime.c: Likewise.
14860 * misc/futimesat.c: Likewise.
14861 * misc/utimes.c: Likewise.
14862 * sysdeps/mach/hurd/futimesat.c: Likewise.
14863 * sysdeps/mach/hurd/utimes.c: Likewise.
14864 * sysdeps/posix/utime.c: Likewise.
14865 * sysdeps/posix/utimes.c: Likewise.
14866 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
14867 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14868 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
14869 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
14871 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14873 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
14875 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
14876 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
14877 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
14878 (__futimens): Move implementation to...
14879 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
14880 utime_tvalue_from_tspec): ... new helper functions.
14881 (hurd_futimens): New function.
14882 * sysdeps/mach/hurd/futimesat.c: New file.
14883 * sysdeps/mach/hurd/utimensat.c: New file.
14885 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
14887 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
14888 UTIME_OMIT): New macros.
14889 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
14890 before reverting to converting time spec to time value and calling
14892 * sysdeps/mach/hurd/utime-helper.c: New file.
14893 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
14894 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
14895 reverting to utime_tvalue_from_tval and __file_utimes.
14896 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
14897 (__lutimes): Just call hurd_futimens after lookup.
14898 * sysdeps/mach/hurd/utimes.c: Likewise.
14900 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14902 * bits/sigaction.h: Add include guard.
14903 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
14904 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
14905 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
14906 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
14907 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
14908 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
14909 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
14910 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
14911 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
14913 2018-03-05 Joseph Myers <joseph@codesourcery.com>
14915 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
14916 -Wmaybe-uninitialized for -Os.
14917 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
14920 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14922 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
14923 __INO_T_MATCHES_INO64_T is defined.
14924 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
14925 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
14927 * dirent/alphasort64.c: Likewise.
14928 * dirent/scandir.c: Likewise.
14929 * dirent/scandir64-tail.c: Likewise.
14930 * dirent/scandir64.c: Likewise.
14931 * dirent/scandirat.c: Likewise.
14932 * dirent/scandirat64.c: Likewise.
14933 * dirent/versionsort.c: Likewise.
14934 * dirent/versionsort64.c: Likewise.
14935 * include/dirent.h: Likewise.
14937 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
14938 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
14939 for socketpair endpoint.
14940 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
14941 WRITE_BUFFER_SIZE as buffer size for sending socket.
14942 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
14943 issue on system where send is implemented with sendto syscall.
14944 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
14945 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
14946 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
14947 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
14950 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
14951 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
14952 sa_restorer for vDSO case.
14953 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
14955 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14957 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
14958 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
14959 * hurd/hurd/ioctl.h: Include <mach/port.h>
14960 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
14961 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
14962 <mach/mach_types.h> and <mach/message.h>.
14963 (headers): Move mach/param.h to bits/mach/param.h.
14964 * sysdeps/mach/i386/mach/param.h: Move file to ...
14965 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
14966 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
14968 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
14969 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
14970 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
14971 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
14972 trivial, for C++ conformity.
14973 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
14974 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
14975 Process mig output through $(migheadersed).
14976 * hurd/Makefile (migheadersed): Define variable.
14977 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
14978 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
14980 * hurd/hurd.h: Include <bits/types/sigset_t.h>
14981 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
14982 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
14983 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
14984 <bits/types/sigset_t.h>.
14985 [!defined __USE_GNU]: Do not #error out.
14986 (struct hurd_sigstate): Use _NSIG instead of NSIG.
14987 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
14988 Include <stddef.h> and <bits/types/sigset_t.h>
14989 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
14990 instead of sighandler_t.
14991 * stdlib/errno.h (error_t): Move definition to...
14992 * bits/types/error_t.h: ... new header.
14993 * stdlib/Makefile (headers): Add bits/types/error_t.h.
14994 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
14995 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
14996 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
14997 * hurd/hurd.h: Include <bits/types/error_t.h>
14998 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
14999 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
15000 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
15001 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
15002 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
15003 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
15004 * sysdeps/mach/hurd/futimens.c: New file.
15006 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
15009 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
15010 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
15011 * nscd/gai.c (__nss_hosts_database): Readd definition.
15012 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
15013 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
15014 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
15016 2018-03-02 Joseph Myers <joseph@codesourcery.com>
15018 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
15019 (ifunc_one): Likewise.
15021 2018-03-01 DJ Delorie <dj@delorie.com>
15024 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
15027 2018-03-01 Maciej W. Rozycki <macro@mips.com>
15029 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
15030 `match_pid' parameter.
15031 (td_ta_thr_iter): Update accordingly.
15033 2018-03-01 Florian Weimer <fweimer@redhat.com>
15035 * nptl/Makefile (install-lib-ldscripts): Remove.
15036 (install): Remove rule.
15037 ($(inst_libdir)/libpthread.so): Likewise.
15039 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15042 * localedata/locales/an_ES: update month and day names,
15043 improve d_fmt, improve postal_fmt, add country_post,
15046 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15048 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
15049 Ukrainian instead of Bulgarian.
15051 2018-03-01 Florian Weimer <fweimer@redhat.com>
15053 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
15056 2018-03-01 Florian Weimer <fweimer@redhat.com>
15058 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
15059 * nptl/Makefile (routines): Add pthread_atfork.
15060 (static-only-routines): Set to pthread_atfork.
15061 (libpthread-routines): Remove pthread_atfork.
15062 (libpthread-static-only-routines): Remove.
15063 (install): Update comment.
15064 (libpthread.so): Do not install libpthread_nonshared.a.
15065 (tests): Do not link with libpthread_nonshared.a.
15066 (generated): Remove libpthread_nonshared.a.
15067 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
15068 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
15069 with libpthread_nonshared.a.
15071 2018-02-28 Joseph Myers <joseph@codesourcery.com>
15074 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
15075 (libc_feholdexcept_setroundf128): New macro.
15076 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
15079 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
15081 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
15082 * include/inttypes.h: New file.
15084 2018-02-27 Joseph Myers <joseph@codesourcery.com>
15086 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
15087 -Os in two more places.
15089 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15091 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
15092 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
15093 be sorted correctly at the moment because of a bug.
15095 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15097 [BZ #22550] - es_ES locale (and other es_* locales): collation should
15098 treat ñ as a primary different character, sync the collation
15099 for Spanish with CLDR.
15100 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
15101 * localedata/Makefile: Add new test files.
15102 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
15103 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
15105 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
15106 * localedata/am_ET.UTF-8.in: New test file.
15107 * localedata/az_AZ.UTF-8.in: Likewise.
15108 * localedata/be_BY.UTF-8.in: Likewise.
15109 * localedata/ber_DZ.UTF-8.in: Likewise.
15110 * localedata/ber_MA.UTF-8.in: Likewise.
15111 * localedata/bg_BG.UTF-8.in: Likewise.
15112 * localedata/br_FR.UTF-8.in: Likewise.
15113 * localedata/cmn_TW.UTF-8.in: Likewise.
15114 * localedata/crh_UA.UTF-8.in: Likewise.
15115 * localedata/csb_PL.UTF-8.in: Likewise.
15116 * localedata/cv_RU.UTF-8.in: Likewise.
15117 * localedata/cy_GB.UTF-8.in: Likewise.
15118 * localedata/dz_BT.UTF-8.in: Likewise.
15119 * localedata/eo.UTF-8.in: Likewise.
15120 * localedata/es_ES.UTF-8.in: Likewise.
15121 * localedata/fa_IR.UTF-8.in: Likewise.
15122 * localedata/fi_FI.UTF-8.in: Likewise.
15123 * localedata/fil_PH.UTF-8.in: Likewise.
15124 * localedata/fur_IT.UTF-8.in: Likewise.
15125 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
15126 * localedata/ha_NG.UTF-8.in: Likewise.
15127 * localedata/ig_NG.UTF-8.in: Likewise.
15128 * localedata/ik_CA.UTF-8.in: Likewise.
15129 * localedata/kk_KZ.UTF-8.in: Likewise.
15130 * localedata/ku_TR.UTF-8.in: Likewise.
15131 * localedata/ky_KG.UTF-8.in: Likewise.
15132 * localedata/ln_CD.UTF-8.in: Likewise.
15133 * localedata/mi_NZ.UTF-8.in: Likewise.
15134 * localedata/ml_IN.UTF-8.in: Likewise.
15135 * localedata/mn_MN.UTF-8.in: Likewise.
15136 * localedata/mr_IN.UTF-8.in: Likewise.
15137 * localedata/mt_MT.UTF-8.in: Likewise.
15138 * localedata/nb_NO.UTF-8.in: Likewise.
15139 * localedata/om_KE.UTF-8.in: Likewise.
15140 * localedata/os_RU.UTF-8.in: Likewise.
15141 * localedata/ps_AF.UTF-8.in: Likewise.
15142 * localedata/ro_RO.UTF-8.in: Likewise.
15143 * localedata/ru_RU.UTF-8.in: Likewise.
15144 * localedata/sc_IT.UTF-8.in: Likewise.
15145 * localedata/se_NO.UTF-8.in: Likewise.
15146 * localedata/sq_AL.UTF-8.in: Likewise.
15147 * localedata/sv_SE.UTF-8.in: Likewise.
15148 * localedata/szl_PL.UTF-8.in: Likewise.
15149 * localedata/tg_TJ.UTF-8.in: Likewise.
15150 * localedata/tk_TM.UTF-8.in: Likewise.
15151 * localedata/tt_RU.UTF-8.in: Likewise.
15152 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
15153 * localedata/ug_CN.UTF-8.in: Likewise.
15154 * localedata/uz_UZ.UTF-8.in: Likewise.
15155 * localedata/vi_VN.UTF-8.in: Likewise.
15156 * localedata/yi_US.UTF-8.in: Likewise.
15157 * localedata/yo_NG.UTF-8.in: Likewise.
15158 * localedata/zh_CN.UTF-8.in: Likewise.
15159 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
15160 file and fix bugs in the collation.
15161 * localedata/locales/az_AZ: Likewise.
15162 * localedata/locales/be_BY: Likewise.
15163 * localedata/locales/ber_DZ: Likewise.
15164 * localedata/locales/ber_MA: Likewise.
15165 * localedata/locales/bg_BG: Likewise.
15166 * localedata/locales/br_FR: Likewise.
15167 * localedata/locales/br_FR@euro: Likewise.
15168 * localedata/locales/ca_ES: Likewise.
15169 * localedata/locales/cns11643_stroke: Likewise.
15170 * localedata/locales/crh_UA: Likewise.
15171 * localedata/locales/cs_CZ: Likewise.
15172 * localedata/locales/csb_PL: Likewise.
15173 * localedata/locales/cv_RU: Likewise.
15174 * localedata/locales/cy_GB: Likewise.
15175 * localedata/locales/da_DK: Likewise.
15176 * localedata/locales/dz_BT: Likewise.
15177 * localedata/locales/en_CA: Likewise.
15178 * localedata/locales/eo: Likewise.
15179 * localedata/locales/es_CU: Likewise.
15180 * localedata/locales/es_EC: Likewise.
15181 * localedata/locales/es_ES: Likewise.
15182 * localedata/locales/es_US: Likewise.
15183 * localedata/locales/et_EE: Likewise.
15184 * localedata/locales/fa_IR: Likewise.
15185 * localedata/locales/fi_FI: Likewise.
15186 * localedata/locales/fil_PH: Likewise.
15187 * localedata/locales/fur_IT: Likewise.
15188 * localedata/locales/gez_ER@abegede: Likewise.
15189 * localedata/locales/ha_NG: Likewise.
15190 * localedata/locales/hr_HR: Likewise.
15191 * localedata/locales/hsb_DE: Likewise.
15192 * localedata/locales/hu_HU: Likewise.
15193 * localedata/locales/ig_NG: Likewise.
15194 * localedata/locales/ik_CA: Likewise.
15195 * localedata/locales/is_IS: Likewise.
15196 * localedata/locales/iso14651_t1_pinyin: Likewise.
15197 * localedata/locales/kk_KZ: Likewise.
15198 * localedata/locales/ku_TR: Likewise.
15199 * localedata/locales/ky_KG: Likewise.
15200 * localedata/locales/ln_CD: Likewise.
15201 * localedata/locales/lt_LT: Likewise.
15202 * localedata/locales/lv_LV: Likewise.
15203 * localedata/locales/mi_NZ: Likewise.
15204 * localedata/locales/ml_IN: Likewise.
15205 * localedata/locales/mn_MN: Likewise.
15206 * localedata/locales/mr_IN: Likewise.
15207 * localedata/locales/mt_MT: Likewise.
15208 * localedata/locales/nb_NO: Likewise.
15209 * localedata/locales/om_KE: Likewise.
15210 * localedata/locales/os_RU: Likewise.
15211 * localedata/locales/pl_PL: Likewise.
15212 * localedata/locales/ps_AF: Likewise.
15213 * localedata/locales/ro_RO: Likewise.
15214 * localedata/locales/ru_RU: Likewise.
15215 * localedata/locales/ru_UA: Likewise.
15216 * localedata/locales/sc_IT: Likewise.
15217 * localedata/locales/se_NO: Likewise.
15218 * localedata/locales/si_LK: Likewise.
15219 * localedata/locales/sq_AL: Likewise.
15220 * localedata/locales/sv_FI: Likewise.
15221 * localedata/locales/sv_FI@euro: Likewise.
15222 * localedata/locales/sv_SE: Likewise.
15223 * localedata/locales/szl_PL: Likewise.
15224 * localedata/locales/tg_TJ: Likewise.
15225 * localedata/locales/ti_ER: Likewise.
15226 * localedata/locales/tk_TM: Likewise.
15227 * localedata/locales/tl_PH: Likewise.
15228 * localedata/locales/tr_TR: Likewise.
15229 * localedata/locales/tt_RU: Likewise.
15230 * localedata/locales/tt_RU@iqtelif: Likewise.
15231 * localedata/locales/ug_CN: Likewise.
15232 * localedata/locales/uk_UA: Likewise.
15233 * localedata/locales/uz_UZ: Likewise.
15234 * localedata/locales/uz_UZ@cyrillic: Likewise.
15235 * localedata/locales/vi_VN: Likewise.
15236 * localedata/locales/yi_US: Likewise.
15237 * localedata/locales/yo_NG: Likewise.
15239 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15241 * gen-locales.mk: Make test files which contain @ modifiers in their
15243 * localedata/gen-locale.sh: Likewise.
15245 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15247 * posix/tst-fnmatch.input: Fix results for range expressions
15249 * posix/tst-regexloc.c: Do not use a range expression for
15250 de_DE.ISO-8859-1 locale.
15252 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15254 * posix/bug-regex5.c: Fix test case because with the new
15255 iso14651_t1_common file, the da_DK locale now has 6 collating elements
15256 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
15259 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15261 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
15262 downloaded from ISO, the collation order of @-. and space has changed.
15263 Therefore, this test file needed to be adapted.
15264 * localedata/fr_CA.UTF-8.in: Likewise.
15265 * localedata/fr_FR.UTF-8.in: Likewise.
15266 * localedata/uk_UA.UTF-8.in: Likewise.
15268 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15270 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
15271 order of ȥ in the new iso14651_t1_common file.
15272 * localedata/pl_PL.UTF-8.in: Likewise.
15274 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15276 * localedata/locales/iso14651_t1_common: Add sections for various
15277 scripts to the iso14651_t1_common file.
15279 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15281 * localedata/locales/iso14651_t1_common: Use the code point of a
15282 character in the fourth collation level instead of IGNORE for all
15283 entries which have IGNORE on all 4 levels.
15285 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15287 * localedata/locales/iso14651_t1_common: Add some convenient collation
15288 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
15289 rules similar to those in CLDR.
15291 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15293 * localedata/locales/iso14651_t1_common: The new version of this
15294 file downloaded from ISO contained several syntax errors which
15295 are fixed by this patch.
15297 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15299 * localedata/locales/iso14651_t1_common: replace all <U.....>
15300 with <U000.....> because glibc understands only 4 digit or 8 digit
15302 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15304 * localedata/locales/iso14651_t1_common: Necessary changes
15305 to make the file downloaded from ISO usable by glibc.
15307 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15310 * localedata/locales/iso14651_t1_common: Update file to
15311 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
15313 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15315 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
15316 of <nptl/pthreadP.h>
15317 (thread_attr_compare): Move function to...
15318 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
15319 * sysdeps/nptl/timer_routines.h: ... new header.
15320 * sysdeps/mach/hurd/gai_misc.h: New file.
15322 2018-02-26 Joseph Myers <joseph@codesourcery.com>
15324 * string/strcoll_l.c: Include <libc-diag.h>.
15325 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
15326 declarations of seq1 and seq2.
15329 * stdlib/atoi.c (atoi): Use libc_hidden_def.
15330 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
15332 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
15336 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
15337 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
15338 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
15339 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
15340 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
15341 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
15343 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15345 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
15346 macros used in __ptrace_request.
15348 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
15351 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
15353 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
15354 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
15355 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
15358 2018-02-23 Joseph Myers <joseph@codesourcery.com>
15361 * ctype/ctype.c (tolower): Use libc_hidden_def.
15362 (toupper): Likewise.
15363 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
15364 [!_ISOMAC] (toupper): Likewise.
15366 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15368 * localedata/Makefile: Remove --quiet argument when
15371 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15374 * localedata/locales/pt_BR (LC_TIME): use / instead of -
15376 * localedata/locales/pt_PT (LC_TIME): likewise
15378 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15381 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
15382 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
15383 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
15385 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15389 * nptl/Makefile (routines): Remove unregister-atfork.
15390 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
15391 (fork_handler_alloc): Remove function.
15392 (fork_handlers, fork_handler_init): New variables.
15393 (__fork_lock): Rename to atfork_lock.
15394 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
15395 to use a dynamic array to add/remove atfork handlers.
15396 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15397 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
15398 Remove declaration.
15399 (fork_handler): Remove next, refcntr, and need_signal member.
15400 (__run_fork_handler_type): New enum.
15401 (__run_fork_handlers): New prototype.
15402 * nptl/register-atfork.c: Remove file.
15403 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
15405 * sysdeps/nptl/nptl-signals.h: Move to ...
15406 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
15408 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
15409 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
15410 unnecessary check for SIGTIMER.
15411 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
15412 remove unnecessary removal of SIGTIMER.
15413 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
15414 include-signals.h rename.
15415 * nptl/pthreadP.h: Likewise.
15416 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
15417 __is_internal_signal instead of __nptl_is_internal_signal.
15419 2018-02-22 Andrew Waterman <andrew@sifive.com>
15422 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
15423 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
15424 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
15425 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
15427 2018-02-22 DJ Delorie <dj@delorie.com>
15429 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
15431 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
15433 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
15434 do_misaligned, not misaligned8.
15436 2018-02-22 Steve Ellcey <sellcey@cavium.com>
15438 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
15439 Add memcpy_thunderx2.
15440 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15442 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
15443 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
15444 and IS_THUNDERX2PA checks.
15445 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
15446 Use macro to set name appropriately.
15447 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
15448 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
15449 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
15451 (IS_THUNDERX2): New macro.
15453 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
15455 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15457 2018-02-21 Zack Weinberg <zackw@panix.com>
15459 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
15460 Define here, unconditionally.
15461 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
15462 * libio/libioP.h: Remove #if 0 blocks.
15463 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
15464 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
15465 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
15467 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
15468 Assume weak_alias is always defined.
15470 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
15471 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
15472 Remove #if 0 and #ifdef TODO blocks.
15473 Assume text_set_element is always defined.
15475 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
15476 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
15477 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
15479 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
15480 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
15481 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
15482 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
15483 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
15484 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
15485 Reformat bit flags for _flags field to make occupancy clearer.
15487 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
15488 Keep definitions consistent with those in libio/libio.h.
15490 * libio/libio.h (_IO_file_flags): Remove macro.
15491 All uses changed to _flags.
15493 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
15494 (__HAVE_COLUMN, _IO_BE): Don't define.
15495 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
15496 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
15497 * libio/libioP.h (EOF): Don't define.
15498 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
15499 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
15500 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
15501 testing _IO_UNIFIED_JUMPTABLES.
15503 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
15504 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
15505 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
15506 (_IO_size_t): Delete; all uses changed to size_t.
15507 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
15508 (_IO_off_t): Delete; all uses changed to off_t.
15509 (_IO_off64_t): Delete; all uses changed to off64_t.
15510 (_IO_pid_t): Delete; all uses changed to pid_t.
15511 (_IO_uid_t): Delete; all uses changed to uid_t.
15512 (_IO_wint_t): Delete; all uses changed to wint_t.
15513 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
15514 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
15515 (_IO_cookie_io_functions_t): Delete; all uses changed to
15516 cookie_io_functions_t.
15517 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
15518 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
15519 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
15520 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
15522 * libio/iofopncook.c: Remove unnecessary forward declarations.
15523 * libio/iolibio.h: Correct outdated commentary.
15524 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
15525 * stdio-common/fxprintf.c (__fxprintf_nocancel):
15526 Remove unnecessary casts.
15527 * stdio-common/getline.c: Use _IO_getdelim directly.
15528 Don't redefine ssize_t.
15529 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
15530 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
15531 Remove outdated comments.
15532 * stdio-common/vfscanf.c: Don't redefine va_list.
15534 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
15535 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
15536 Remove preprocessor conditionals on _LIBC and __USE_GNU,
15537 which are always true, and __cplusplus, which is always false.
15539 2018-02-21 Joseph Myers <joseph@codesourcery.com>
15543 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
15544 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
15545 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
15546 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
15548 [!_ISOMAC] (putc_unlocked): Likewise.
15549 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
15550 define inline if [__USE_EXTERN_INLINES].
15551 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
15556 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
15557 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
15558 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
15559 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
15560 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
15562 * time/tzfile.c (__tzfile_read): Likewise.
15564 2018-02-21 Mike FABIAN <mfabian@redhat.com>
15567 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
15569 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15571 * io/fcntl.h: Fix a typo in a comment.
15573 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15576 * include/features.h: Add _ISOC11_SOURCE to test for whether to
15577 define _DEFAULT_SOURCE.
15578 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
15580 2018-02-21 Florian Weimer <fweimer@redhat.com>
15583 * elf/cache.c (save_cache): Call fsync on temporary file before
15585 (save_aux_cache): Call fdatasync on temporary file before renaming
15588 2018-02-21 Florian Weimer <fweimer@redhat.com>
15591 * include/caller.h: Remove file.
15592 * elf/dl-caller.c: Likewise.
15593 * elf/Makefile (dl-routines): Remove dl-caller.
15594 (shared-only-routines): Do not add dl-caller.
15595 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
15597 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
15599 (dl_open_worker): Do not call __check_caller.
15600 (_dl_open): Do not set caller_dl_open member.
15601 * elf/rtld.c (_rtld_global_ro): Do not initialize
15602 _dl_check_caller member.
15603 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
15604 _dl_check_caller member.
15605 (_dl_check_caller): Remove declaration.
15606 * sysdeps/unix/sysv/linux/dl-execstack.c
15607 (_dl_make_stack_executable): Do not call __check_caller.
15609 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
15611 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
15612 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
15614 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15616 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
15619 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15622 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
15623 of 199606L, 200112L, and 200809L.
15624 (_XOPEN_SOURCE): Document special values of 600 and 700.
15625 (_ISOC11_SOURCE): Document macro.
15626 (_ATFILE_SOURCE): Likewise.
15627 (_FORTIFY_SOURCE): Likewise.
15629 2018-02-19 Joseph Myers <joseph@codesourcery.com>
15633 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
15634 and define as weak alias of __ferror_unlocked. Use
15636 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
15638 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
15639 function if [__USE_EXTERN_INLINES].
15640 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
15643 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
15646 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
15648 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15651 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
15652 the GLIBC_2.1 version.
15654 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15657 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
15658 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
15659 intl/tst-gettext-de.po from po/de.po by removing the
15660 POT-Creation-Date line.
15661 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
15663 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
15666 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15668 * mach/Makefile (headers): Add mach/param.h.
15669 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
15670 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
15671 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
15672 (__ptsname_r): Move implementation to...
15673 (__ptsname_internal): ... new function. Add filling the STP
15676 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
15678 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
15681 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
15683 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
15686 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15688 * nptl/Makefile (tst-mutex8-ENV): Delete.
15689 * nptl/tst-mutex8.c (check_type):
15690 Add runtime check if mutex will be elided.
15692 2018-02-15 Joseph Myers <joseph@codesourcery.com>
15696 * manual/install.texi (Configuring and compiling): Describe
15697 passing CC and CFLAGS on configure command line, not as
15698 environment variables. Use @code markup on those variables.
15699 Specify what options go in CC and what go in CFLAGS. Note the
15700 requirement to compile with optimization.
15701 * INSTALL: Regenerated.
15704 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
15705 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
15706 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
15707 __sigprocmask instead of sigprocmask.
15708 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
15710 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
15711 __sigsetjmp and sigprocmask.
15714 * include/argz.h (argz_next): Use libc_hidden_proto.
15715 (__argz_next): Likewise.
15716 * string-argz-next.c (__argz_next): Use libc_hidden_def.
15717 (argz_next): Use libc_hidden_weak.
15720 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
15722 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
15726 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
15728 * libio/iofputs.c (fputs): Use libc_hidden_weak.
15732 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
15733 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
15734 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
15735 (__feof_unlocked): New declaration, and inline function if
15736 [__USE_EXTERN_INLINES].
15737 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
15738 instead of feof_unlocked.
15739 * intl/localealias.c [_LIBC] (FEOF): Likewise.
15740 * nss/nsswitch.c (nss_parse_file): Likewise.
15741 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
15743 * time/getdate.c (__getdate_r): Likewise.
15744 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
15745 Define as macro to call __feof_unlocked.
15747 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15749 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
15751 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15753 * math/Makefile: Remove mpexp.c and mplog.c
15754 * sysdeps/i386/fpu/mpexp.c: Delete file.
15755 * sysdeps/i386/fpu/mplog.c: Likewise.
15756 * sysdeps/ia64/fpu/mpexp.c: Likewise.
15757 * sysdeps/ia64/fpu/mplog.c: Likewise.
15758 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
15759 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
15760 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
15761 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15762 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
15763 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
15764 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
15765 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
15766 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
15767 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15768 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
15769 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
15770 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15771 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
15772 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
15773 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15775 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15777 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15779 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15781 * sysdeps/sh/libm-test-ulps: Update.
15783 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15785 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
15788 2018-02-12 Zack Weinberg <zackw@panix.com>
15791 * posix/sys/types.h: Don't include sys/sysmacros.h.
15792 * misc/sys/sysmacros.h: Remove the conditional deprecation
15793 warnings for the macros defined by this header.
15795 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15797 * manual/probes.texi: Remove slowexp probes.
15798 * math/Makefile: Remove slowexp.
15799 * sysdeps/generic/math_private.h (__slowexp): Remove.
15800 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
15801 document error bounds.
15802 * sysdeps/i386/fpu/slowexp.c: Remove.
15803 * sysdeps/ia64/fpu/slowexp.c: Remove.
15804 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
15805 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
15806 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
15807 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
15808 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
15809 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
15810 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
15811 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
15812 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
15813 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
15814 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
15816 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
15819 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
15820 * benchtests/pow-inputs: Update comment for slow path cases.
15821 * manual/probes.texi (slowpow_p10): Delete removed probe.
15822 (slowpow_p10): Likewise.
15823 * math/Makefile: Remove halfulp.c and slowpow.c.
15824 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
15825 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
15826 (__halfulp): Remove.
15827 (__slowpow): Remove.
15828 * sysdeps/i386/fpu/halfulp.c: Delete file.
15829 * sysdeps/i386/fpu/slowpow.c: Likewise.
15830 * sysdeps/ia64/fpu/halfulp.c: Likewise.
15831 * sysdeps/ia64/fpu/slowpow.c: Likewise.
15832 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
15833 improve comments and add error analysis.
15834 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
15835 (power1): Remove function:
15836 (log1): Remove error argument, add error analysis.
15837 (my_log2): Remove function.
15838 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
15839 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15840 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
15841 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
15842 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
15843 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
15844 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
15845 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
15846 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
15847 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
15848 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
15849 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15850 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
15851 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15853 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
15855 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
15856 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
15858 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
15861 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
15862 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
15863 and PTRACE_SETHBPREGS.
15865 2018-02-10 Zack Weinberg <zackw@panix.com>
15868 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
15870 * malloc/tst-malloc-stats-cancellation.c: New test case.
15871 * malloc/Makefile: Add new test case.
15873 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
15875 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
15877 2018-02-10 Joseph Myers <joseph@codesourcery.com>
15879 * math/Makefile (libm-narrow-fns): Add add.
15880 (libm-test-funcs-narrow): Likewise.
15881 * math/Versions (GLIBC_2.28): Add narrowing add functions.
15882 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
15883 * math/gen-auto-libm-tests.c (test_functions): Add add.
15884 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
15885 (NARROW_ADD_ROUND_TO_ODD): Likewise.
15886 (NARROW_ADD_TRIVIAL): Likewise.
15887 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
15889 (__daddl): Likewise.
15890 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
15892 (CFLAGS-nldbl-dadd.c): New variable.
15893 (CFLAGS-nldbl-fadd.c): Likewise.
15894 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15896 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
15898 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
15899 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
15900 * math/auto-libm-test-in: Add tests of add.
15901 * math/auto-libm-test-out-narrow-add: New generated file.
15902 * math/libm-test-narrow-add.inc: New file.
15903 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15904 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
15905 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
15906 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
15907 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
15908 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
15909 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
15910 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
15911 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
15912 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
15913 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
15914 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
15915 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
15916 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
15917 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
15918 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
15919 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
15920 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
15921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15922 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15923 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15924 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15925 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15926 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15927 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15928 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15929 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15930 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15931 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15932 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15933 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15934 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15939 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15940 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15941 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15942 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15943 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15944 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15945 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15946 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15947 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15948 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15950 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
15951 (f128-pairs): New variable.
15952 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
15953 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
15955 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
15956 Also make tests add $(f128-loader-link) to gnulib-tests.
15958 2018-02-09 DJ Delorie <dj@redhat.com>
15961 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
15962 64-bit ELF type for 64-bit ELF objects.
15964 2018-02-09 Joseph Myers <joseph@codesourcery.com>
15966 * math/libm-test-driver.c (snan_tests_arg): New variable.
15967 * math/libm-test-support.h (snan_tests_arg): New declaration.
15968 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
15970 * math/Makefile (test-type-pairs): New variable.
15971 (test-type-pairs-f64xf128-yes): Likewise.
15972 (tests): Add test-narrow-macros.
15973 (libm-test-funcs-narrow): New variable.
15974 (libm-test-c-narrow): Likewise.
15975 (generated): Add $(libm-test-c-narrow).
15976 (libm-tests-base-narrow): New variable.
15977 (libm-tests-narrow): Likewise.
15978 (libm-tests): Add $(libm-tests-narrow).
15979 (libm-tests-for-type): Handle $(libm-tests-narrow).
15980 (libm-test-c-narrow-obj): New variable.
15981 ($(libm-test-c-narrow-obj)): New rule.
15982 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
15983 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
15984 $(o-iterator) to set dependencies and CFLAGS.
15985 * math/gen-auto-libm-tests.c: Document use for narrowing
15987 (output_for_one_input_case): Take argument NARROW.
15988 (generate_output): Likewise. Update call to
15989 output_for_one_input_case.
15990 (main): Take --narrow option. Update call to generate_output.
15991 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
15992 (apply_lit): Update call to _apply_lit.
15993 (apply_arglit): New function.
15994 (parse_args): Handle "a" arguments.
15995 (parse_auto_input): Handle format names using ":".
15996 * math/README.libm-test: Document "a" parameter type.
15997 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
15998 (ARG_TYPE_TRUE_MIN): Likewise.
15999 (ARG_TYPE_MAX): Likwise.
16000 (ARG_MIN_EXP): Likewise.
16001 (ARG_MAX_EXP): Likewise.
16002 (ARG_MANT_DIG): Likewise.
16003 (TEST_COND_arg_ibm128): Likewise.
16004 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
16005 (TEST_COND_arg_fmt): New macro.
16006 (init_max_error): Update prototype.
16007 * math/libm-test-support.c (test_ibm128): New variable.
16008 (init_max_error): Take argument testing_ibm128 and set test_ibm128
16009 instead of using [TEST_COND_ibm128] conditional.
16010 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
16011 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
16012 [TEST_NARROW] (TEST_MSG): New definition.
16013 (arg_plus_zero): New macro.
16014 (arg_minus_zero): Likewise.
16015 (arg_plus_infty): Likewise.
16016 (arg_minus_infty): Likewise.
16017 (arg_qnan_value_pl): Likewise.
16018 (arg_qnan_value): Likewise.
16019 (arg_snan_value_pl): Likewise.
16020 (arg_snan_value): Likewise.
16021 (arg_max_value): Likewise.
16022 (arg_min_value): Likewise.
16023 (arg_min_subnorm_value): Likewise.
16024 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
16025 (RUN_TEST_LOOP_aa_f): New macro.
16026 (TEST_SUFF): New macro.
16027 (TEST_SUFF_STR): Likewise.
16028 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
16029 (TEST_COND_any_ibm128): New macro.
16030 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
16031 this_func. Update call to init_max_error.
16032 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
16033 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
16034 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
16035 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
16036 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
16037 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
16038 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
16039 * math/test-math-scalar.h (TEST_NARROW): Likewise.
16040 * math/test-math-vector.h (TEST_NARROW): Likewise.
16041 * math/test-arg-double.h: New file.
16042 * math/test-arg-float128.h: Likewise.
16043 * math/test-arg-float32x.h: Likewise.
16044 * math/test-arg-float64.h: Likewise.
16045 * math/test-arg-float64x.h: Likewise.
16046 * math/test-arg-ldouble.h: Likewise.
16047 * math/test-math-narrow.h: Likewise.
16048 * math/test-narrow-macros.c: Likewise.
16049 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
16050 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
16051 test-narrow-macros-ldbl-64.
16052 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
16054 * math/bits/mathcalls-narrow.h: New file.
16055 * include/bits/mathcalls-narrow.h: Likewise.
16056 * math/math-narrow.h: Likewise.
16057 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
16058 (__MATHCALL_NARROW_ARGS_2): Likewise.
16059 (__MATHCALL_NARROW_ARGS_3): Likewise.
16060 (__MATHCALL_NARROW_NORMAL): Likewise.
16061 (__MATHCALL_NARROW_REDIR): Likewise.
16062 (__MATHCALL_NARROW): Likewise.
16063 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
16064 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
16066 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16067 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
16068 (libm-narrow-fns): New variable.
16069 (libm-narrow-types-basic): Likewise.
16070 (libm-narrow-types-ldouble-yes): Likewise.
16071 (libm-narrow-types-float128-yes): Likewise.
16072 (libm-narrow-types-float128-alias-yes): Likewise.
16073 (libm-narrow-types): Likewise.
16074 (libm-routines): Add narrowing functions.
16075 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
16076 (libc_feholdexcept_setroundf128): New macro.
16077 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
16078 * sysdeps/ieee754/float128/float128_private.h: Include
16079 <math/math-narrow.h>.
16080 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
16081 Undefine and redefine.
16082 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
16083 (libm_alias_float_ldouble): Undefine and redefine.
16084 (libm_alias_double_ldouble): Likewise.
16086 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
16088 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
16090 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
16093 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
16095 * manual/creature.texi: Convert references to gcc.info to gcc.
16096 * manual/stdio.texi: Likewise.
16097 * manual/string.texi: Likewise.
16099 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16102 * posix/bits/types.h (__int_least8_t): New typedef.
16103 (__uint_least8_t): Likewise.
16104 (__int_least16_t): Likewise.
16105 (__uint_least16_t): Likewise.
16106 (__int_least32_t): Likewise.
16107 (__uint_least32_t): Likewise.
16108 (__int_least64_t): Likewise.
16109 (__uint_least64_t): Likewise.
16110 * sysdeps/generic/stdint.h (int_least8_t): Define using
16112 (int_least16_t): Define using __int_least16_t.
16113 (int_least32_t): Define using __int_least32_t.
16114 (int_least64_t): Define using __int_least64_t.
16115 (uint_least8_t): Define using __uint_least8_t.
16116 (uint_least16_t): Define using __uint_least16_t.
16117 (uint_least32_t): Define using __uint_least32_t.
16118 (uint_least64_t): Define using __uint_least64_t.
16119 * wcsmbs/uchar.h: Include <bits/types.h>.
16120 (char16_t): Define using __uint_least16_t conditional only on
16122 (char32_t): Define using __uint_least32_t conditional only on
16124 * wcsmbs/test-char-types.c: New file.
16125 * wcsmbs/Makefile (tests): Add test-char-types.
16127 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
16130 2018-02-07 Zack Weinberg <zackw@panix.com>
16132 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
16133 Delete all contents except for definitions of _G_HAVE_MMAP and
16134 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
16135 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
16136 sysdeps/unix/sysv/linux/_G_config.h. Make same content
16139 * libio/libio.h: Don't include bits/_G_config.h here.
16140 Include stddef.h with __need_wchar_t defined. Include
16141 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
16142 Define _IO_iconv_t here, directly.
16143 Don't define _IO_HAVE_ST_BLKSIZE.
16144 * libio/libioP.h: Include _G_config.h here. Move include of
16145 shlib-compat.h up with rest of includes. Simplify conditionals
16146 controlling definition of _IO_JUMPS_OFFSET.
16148 * csu/init.c: Remove always-true #if around entire file.
16149 Don't include stdio.h. Set _IO_stdin_used to hardwired
16150 constant 0x20001, and update commentary.
16151 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
16152 Replace all uses of _G_va_list with __gnuc_va_list.
16153 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
16154 instead of #if _IO_HAVE_ST_BLKSIZE.
16155 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
16156 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
16159 * libio/bits/libio.h: Move back to libio/libio.h and adjust
16160 multiple-include guard to match.
16161 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
16163 Remove preprocessor conditionals that are always true and/or
16164 redundant to other preprocessor conditionals in the same nest.
16165 Include shlib-compat.h unconditionally.
16166 Error out if _LIBC is not defined, or if _ISOMAC is defined,
16167 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
16168 defined after including stdio.h.
16169 Use __BEGIN_DECLS/__END_DECLS.
16171 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
16172 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
16173 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
16175 2018-02-07 Zack Weinberg <zackw@panix.com>
16177 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
16178 New single-type headers split from _G_config.h.
16179 * libio/bits/types/cookie_io_functions_t.h
16180 * libio/bits/types/struct_FILE.h
16181 New single-type headers split from libio.h.
16183 * libio/Makefile: Install the above new headers. Don't install
16184 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
16186 * libio/_G_config.h, libio/libio.h: Delete file.
16188 * libio/bits/libio.h: Remove improper-inclusion guard.
16189 Include stdio.h and don't repeat anything that it does.
16190 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
16191 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
16192 __io_read_fn as cookie_read_function_t,
16193 __io_write_fn as cookie_write_function_t,
16194 __io_seek_fn as cookie_seek_function_t,
16195 __io_close_fn as cookie_close_function_t,
16196 and _IO_cookie_io_functions_t as cookie_io_functions_t.
16197 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
16198 here, in the "compatibility defines" section. Remove an #if 0
16199 block. Use the "body" macros from bits/types/struct_FILE.h to
16200 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
16201 and _IO_ferror_unlocked.
16202 Move prototypes of __uflow and __overflow...
16204 * libio/stdio.h: ...here. Don't include bits/libio.h.
16205 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
16206 directly from stdarg.h. Include bits/types/__fpos_t.h,
16207 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
16208 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
16209 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
16210 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
16211 cookie_io_functions_t, not _IO_cookie_io_functions_t;
16212 __ssize_t, not _IO_ssize_t. Unconditionally define
16213 BUFSIZ as 8192 and EOF as (-1).
16215 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
16216 macros from bits/types/struct_FILE.h instead of _IO_* macros
16217 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
16218 instead of _IO_ssize_t.
16219 * libio/bits/stdio2.h: Similarly.
16221 * libio/iolibio.h: Add multiple-include guard.
16222 Include bits/libio.h after stdio.h.
16223 * libio/libioP.h: Add multiple-include guard.
16224 Include stdio.h and bits/libio.h before iolibio.h.
16226 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
16227 * include/bits/types/cookie_io_functions_t.h
16228 * include/bits/types/struct_FILE.h: New wrappers.
16230 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
16231 Get definitions of _G_fpos_t and _G_fpos64_t from
16232 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
16233 respectively. Remove improper-inclusion guards.
16235 * conform/data/stdio.h-data: Update expectations of va_list.
16236 * scripts/check-installed-headers.sh: Remove special case for
16237 libio.h and _G_config.h.
16239 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16243 * include/sys/sysmacros.h [!_ISOMAC]
16244 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
16245 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
16246 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
16247 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
16249 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
16250 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
16252 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
16253 Undefine and redefine to add use __gnu_dev_ prefix.
16254 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
16256 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
16257 and define as hidden inline function.
16258 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
16260 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
16262 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
16263 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
16264 (gnu_dev_minor): Likewise.
16265 (gnu_dev_makedev): Likewise.
16266 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
16268 * posix/wordexp.c (exec_comm_child): Likewise.
16269 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
16270 instead of minor and __gnu_dev_major instead of major.
16271 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
16272 __gnu_dev_major instead of major.
16273 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
16274 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
16275 instead of gnu_dev_minor.
16276 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
16277 (SLAVE_P): Likewise.
16278 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
16279 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
16283 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
16285 * locale/weightwc.h (findidx): Likewise.
16287 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
16289 * manual/probes.texi (slowlog): Delete documentation of removed probe.
16290 (slowlog_inexact): Likewise
16291 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
16292 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
16294 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
16297 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
16298 missing second underscore to parameter name.
16300 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16306 * bits/byteswap.h: Update file comment. Do not include
16307 <bits/byteswap-16.h>.
16308 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
16310 (__bswap_16): Define as inline function.
16311 (__bswap_constant_32): Reformat definition.
16312 (__bswap_32): Always define as inline function, not macro, using
16313 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
16314 otherwise __bswap_constant_32.
16315 (__bswap_constant_64): Reformat definition. Do not use
16316 __extension__ here.
16317 (__bswap_64): Always define as inline function, not macro. Use
16318 __extension__ on function definition. Use __builtin_bswap64 if
16319 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
16320 * string/test-endian-file-scope.c: New file.
16321 * string/test-endian-sign-conversion.c: Likewise.
16322 * string/Makefile (headers): Remove bits/byteswap-16.h.
16323 (tests): Add test-endian-file-scope and
16324 test-endian-sign-conversion.
16325 (CFLAGS-test-endian-sign-conversion.c): New variable.
16326 * bits/byteswap-16.h: Remove file.
16327 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
16328 * sysdeps/ia64/bits/byteswap.h: Likewise.
16329 * sysdeps/m68k/bits/byteswap.h: Likewise.
16330 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16331 * sysdeps/s390/bits/byteswap.h: Likewise.
16332 * sysdeps/tile/bits/byteswap.h: Likewise.
16333 * sysdeps/x86/bits/byteswap-16.h: Likewise.
16334 * sysdeps/x86/bits/byteswap.h: Likewise.
16337 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
16338 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
16339 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
16340 199901L] (__restrict): Define to restrict.
16343 * string/testcopy.c: Include <support/support.h>. Do not include
16344 <malloc.h>. Use <support/test-driver.c>.
16345 (main): Rename to do_test. Make static. Use xmalloc instead of
16349 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
16350 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
16351 (SSIZE_MAX): Define to INT_MAX.
16352 * posix/test-ssize-max.c: New file.
16353 * posix/Makefile (tests): Add test-ssize-max.
16356 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
16357 <support/support.h>. Do not include <malloc.h>.
16358 (query_auxv): Use xmalloc instead of malloc.
16361 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
16362 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
16365 2018-02-06 Florian Weimer <fweimer@redhat.com>
16368 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16369 Use scratch_buffer instead of extend_alloca.
16371 2018-02-06 Zack Weinberg <zackw@panix.com>
16373 * libio/stdio.h: Don't define getc or putc as macros.
16374 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
16375 not _IO_getc and _IO_putc.
16377 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
16378 * stdio-common/tstgetln.c: Don't redefine ssize_t.
16380 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16382 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
16383 (TCP_FASTOPEN_NO_COOKIE): Likewise.
16385 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
16388 * elf/elf.h (NT_PRFPREG): New macro.
16389 (NT_S390_VXRS_LOW): Likewise.
16390 (NT_S390_VXRS_HIGH): Likewise.
16391 (NT_S390_GS_CB): Likewise.
16392 (NT_S390_GS_BC): Likewise.
16393 (NT_S390_RI_CB): Likewise.
16395 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16396 (MAP_SYNC): New macro.
16397 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
16399 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16400 (MAP_SYNC): Likewise.
16401 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16402 (MAP_SYNC): Likewise.
16403 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16404 (MAP_SYNC): Likewise.
16405 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16406 (MAP_SYNC): Likewise.
16407 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16408 (MAP_SYNC): Likewise.
16409 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16410 (MAP_SYNC): Likewise.
16411 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
16413 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
16416 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
16417 (MAP_SHARED_VALIDATE): New macro.
16418 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16419 (MAP_SHARED_VALIDATE): Likewise.
16421 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16423 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
16424 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
16425 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16427 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16429 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
16430 (DT_NUM): Updated to 35.
16432 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16434 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
16435 __builtin_expect with __glibc_likely and __glibc_unlikely.
16436 (elf_machine_rela): Likewise.
16437 (elf_machine_lazy_rel): Likewise.
16439 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16441 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
16442 __builtin_expect with __glibc_likely and __glibc_unlikely.
16443 (elf_machine_lazy_rel): Likewise.
16445 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16448 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
16450 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
16452 2018-02-05 Andreas Schwab <schwab@suse.de>
16455 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
16458 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16460 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
16461 not check against PTHREAD_STACK_MIN.
16463 2018-02-02 Sean McKean <smckean83@gmail.com>
16466 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
16468 2018-02-02 Florian Weimer <fweimer@redhat.com>
16471 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
16472 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16473 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16474 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
16475 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16476 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16477 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16478 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
16479 * manual/llio.texi (Scatter-Gather): Mention offset -1.
16480 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
16481 * misc/tst-preadvwritev2.c (do_test): Call it.
16482 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
16484 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16486 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
16488 * benchtests/bench-memcmp.c: Print json instead of plain text.
16490 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
16493 2018-02-01 Joseph Myers <joseph@codesourcery.com>
16495 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16497 (s390_sthyi): New syscall.
16499 * sysdeps/generic/ldbl-classify-compat.h: New file.
16500 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
16501 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
16502 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
16503 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
16504 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
16505 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
16506 * sysdeps/ieee754/dbl-64/s_finite.c: Include
16507 <ldbl-classify-compat.h>.
16508 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16509 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
16510 <ldbl-classify-compat.h>.
16511 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16512 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
16513 <ldbl-classify-compat.h>.
16514 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16515 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
16516 <ldbl-classify-compat.h>.
16517 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16518 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
16519 <ldbl-classify-compat.h>.
16520 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16521 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
16522 <ldbl-classify-compat.h>.
16523 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16524 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
16525 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16526 * sysdeps/m68k/coldfire/math_private.h: Remove file.
16527 * sysdeps/microblaze/math_private.h: Likewise.
16528 * sysdeps/nios2/math_private.h: Likewise.
16529 * sysdeps/sh/math_private.h: Likewise.
16531 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
16532 * sysdeps/m68k/coldfire/math_private.h: ... here.
16533 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
16534 * sysdeps/tile/math_private.h: Likewise.
16535 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
16537 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
16540 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
16542 (libc_fetestexcept): Likewise.
16543 (libc_feupdateenv_test): Likewise.
16544 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
16545 (libc_fetestexcept): Likewise.
16546 (libc_feupdateenv_test): Likewise.
16547 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
16548 (libc_fetestexcept): Likewise.
16549 (libc_feupdateenv_test): Likewise.
16550 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
16551 (libc_fetestexcept): Likewise.
16552 (libc_feupdateenv_test): Likewise.
16554 * sysdeps/generic/math_private.h
16555 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
16556 New inline function.
16557 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
16560 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
16561 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
16562 * sysdeps/generic/math_private.h
16563 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
16565 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
16567 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
16569 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
16571 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
16573 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
16575 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
16576 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
16577 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
16578 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
16579 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
16580 (__fegetenv): Likewise.
16581 (fesetenv): Likewise.
16582 (__fesetenv): Likewise.
16583 (feupdateenv): Likewise.
16584 (__feupdateenv): Likewise.
16585 (fegetround): Likewise.
16586 (__fegetround): Likewise.
16587 (fesetround): Likewise.
16588 (__fesetround): Likewise.
16590 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
16591 (feraiseexcept): New macro.
16592 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
16593 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
16595 (__feraiseexcept): Likewise.
16596 (feclearexcept): Likewise.
16597 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
16598 (__feraiseexcept): Likewise.
16599 (feclearexcept): Likewise.
16600 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
16601 (__feraiseexcept): Likewise.
16602 (feclearexcept): Likewise.
16603 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
16604 (__feraiseexcept): Likewise.
16605 (feclearexcept): Likewise.
16606 (fetestexcept): Likewise.
16608 * sysdeps/m68k/coldfire/math-tests.h: New file.
16610 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
16611 * sysdeps/m68k/bits/fenv.h: ... here.
16612 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
16614 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
16616 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
16618 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
16620 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
16622 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
16624 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
16625 (__FE_UNDEFINED): New enum constant.
16626 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
16628 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
16630 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
16632 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
16633 to match generic bits/fenv.h.
16634 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
16637 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
16639 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
16640 * soft-fp/half.h (union _FP_UNION_H): Likewise.
16641 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
16642 * soft-fp/single.h (union _FP_UNION_S): Likewise.
16644 2018-02-01 Carlos O'Donell <carlos@redhat.com>
16645 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
16646 Joseph Myers <joseph@codesourcery.com>
16649 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
16650 (__log1p): Disable -Wmaybe-uninitialized for -Os around
16651 computation using c.
16652 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
16653 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
16654 computation using c.
16656 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16658 * version.h (RELEASE): Set to "development".
16659 (VERSION): Set to "2.27.9000".
16660 * NEWS (2.28): New section.
16662 * version.h (RELEASE): Set to "stable".
16663 (VERSION): Set to "2.27".
16664 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
16666 * NEWS: Add the list of bugs fixed in 2.27.
16668 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16670 * stdlib/test-atexit-race-common.c (do_test): Check stack size
16671 against PTHREAD_STACK_MIN.
16673 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16675 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
16677 (Rafal Luzynski, Andreas Schwab): Update.
16679 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
16682 * NEWS: List the languages which actually use the alternative
16683 months feature in this release. Also explain that "alt_mon" and
16684 "ab_alt_mon" are optional.
16686 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
16689 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
16691 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
16693 * manual/install.texi (Tools for Compilation): Update the newest
16694 versions of gcc, binutils, texinfo, gawk, bison, and sed.
16695 * INSTALL: Regenerated.
16697 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16699 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
16700 instead of __builtin_expect.
16702 2018-01-30 Florian Weimer <fweimer@redhat.com>
16704 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
16706 * nss/tst-nss-getpwent.c (do_test): Likewise.
16708 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
16711 * localedata/locales/hr_HR (mon): Rename to...
16713 (mon): Import from CLDR (genitive case).
16714 (d_t_fmt): Update the comment.
16716 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
16718 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
16719 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
16720 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
16722 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16724 * mach/Versions: Fix version when __mach_host_self_ was added.
16725 * hurd/Versions: Fix version when _hurd_exec_paths was added.
16726 * sysdeps/mach/hurd/i386/ld.abilist: New file.
16727 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
16728 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
16729 * sysdeps/mach/hurd/i386/libc.abilist: New file.
16730 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
16731 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
16732 * sysdeps/mach/hurd/i386/libm.abilist: New file.
16733 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
16734 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
16735 * sysdeps/mach/hurd/i386/librt.abilist: New file.
16736 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
16737 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
16738 || to respect codestyle.
16739 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
16740 (do_test_bz20181): Rename accordingly.
16741 * malloc/malloc.c: Include <assert.h>.
16742 (assert): Do not define.
16743 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
16744 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
16745 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
16746 * sysdeps/mach/hurd/hp-timing.h: New file.
16747 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
16749 2018-01-29 Darius Rad <darius@bluespec.com>
16751 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
16753 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
16755 * sysdeps/init_array/crti.S (.section .init_array): Add
16756 PREINIT_FUNCTION when defined.
16757 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
16758 * config.h.in: Regenerate.
16759 * manual/platform.texi: Add RISC-V documenation for
16760 __riscv_flush_icache.
16761 * sysdeps/riscv/__longjmp.S: New file.
16762 * sysdeps/riscv/backtrace.c: Likewise.
16763 * sysdeps/riscv/bits/endian.h: Likewise.
16764 * sysdeps/riscv/bits/setjmp.h: Likewise.
16765 * sysdeps/riscv/bits/wordsize.h: Likewise.
16766 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
16767 * sysdeps/riscv/bsd-setjmp.c: Likewise.
16768 * sysdeps/riscv/dl-trampoline.S: Likewise.
16769 * sysdeps/riscv/gccframe.h: Likewise.
16770 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
16771 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
16772 * sysdeps/riscv/machine-gmon.h: Likewise.
16773 * sysdeps/riscv/memusage.h: Likewise.
16774 * sysdeps/riscv/setjmp.S: Likewise.
16775 * sysdeps/riscv/sys/asm.h: Likewise.
16776 * sysdeps/riscv/tls-macros.h: Likewise.
16777 * sysdeps/riscv/dl-tls.h: New file.
16778 * sysdeps/riscv/libc-tls.c: Likewise.
16779 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
16780 * sysdeps/riscv/nptl/tls.h: Likewise.
16781 * sysdeps/riscv/stackinfo.h: Likewise.
16782 * sysdeps/riscv/bits/fenv.h: New file.
16783 * sysdeps/riscv/e_sqrtl.c: Likewise.
16784 * sysdeps/riscv/fpu_control.h: Likewise.
16785 * sysdeps/riscv/math-tests.h: Likewise.
16786 * sysdeps/riscv/nofpu/Implies: Likewise.
16787 * sysdeps/riscv/sfp-machine.h: Likewise.
16788 * sysdeps/riscv/tininess.h: Likewise.
16789 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
16790 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
16791 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
16792 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
16793 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
16794 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
16795 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
16796 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
16797 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
16798 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
16799 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
16800 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
16801 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
16802 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
16803 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
16804 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
16805 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
16806 * sysdeps/riscv/rvd/s_finite.c: Likewise.
16807 * sysdeps/riscv/rvd/s_fma.c: Likewise.
16808 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
16809 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
16810 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
16811 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
16812 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
16813 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
16814 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
16815 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
16816 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
16817 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
16818 * sysdeps/riscv/rvf/fegetround.c: Likewise.
16819 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
16820 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
16821 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
16822 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
16823 * sysdeps/riscv/rvf/fesetround.c: Likewise.
16824 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
16825 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
16826 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
16827 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
16828 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
16829 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
16830 * sysdeps/riscv/rvf/math_private.h: Likewise.
16831 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
16832 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
16833 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
16834 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
16835 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
16836 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
16837 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
16838 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
16839 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
16840 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
16841 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
16842 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
16843 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
16844 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
16845 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
16846 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
16847 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
16848 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
16849 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
16850 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
16851 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
16852 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16853 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
16854 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
16855 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
16856 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
16857 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
16858 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
16859 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
16860 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
16861 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
16862 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
16863 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
16864 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
16865 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
16866 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
16867 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
16868 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
16869 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
16870 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
16871 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
16872 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
16873 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
16874 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
16875 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
16876 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
16877 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
16878 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
16879 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
16880 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
16881 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
16882 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
16883 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
16884 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
16885 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
16886 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
16887 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
16888 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
16889 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
16890 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
16891 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16892 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16893 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16894 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16895 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16896 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16897 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16898 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16899 * sysdeps/riscv/Implies: New file.
16900 * sysdeps/riscv/Makefile: Likewise.
16901 * sysdeps/riscv/configure: Likewise.
16902 * sysdeps/riscv/configure.ac: Likewise.
16903 * sysdeps/riscv/nptl/Makefile: Likewise.
16904 * sysdeps/riscv/preconfigure: Likewise.
16905 * sysdeps/riscv/rv64/Implies-after: Likewise.
16906 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
16907 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
16908 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
16909 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
16910 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
16911 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
16912 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
16913 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
16914 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
16915 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
16916 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
16917 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
16918 (Config): Likewise.
16920 2018-01-29 Florian Weimer <fweimer@redhat.com>
16923 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
16924 libnsl_hidden_proto.
16925 * include/rpcsvc/yp.h (yp_xdrall): Declare with
16926 libnsl_hidden_proto.
16927 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
16928 * nis/Makefile (libnsl-routines): Add nss-default only for
16929 build-obsolete-nsl.
16930 * nis/nis_defaults.c (__nis_default_ttl): Add
16931 libnsl_hidden_nolink_def.
16932 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
16934 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
16935 * nis/ypclnt.c (yp_maplist): Likewise.
16937 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
16939 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16940 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
16942 2018-01-29 Joseph Myers <joseph@codesourcery.com>
16944 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
16945 clean -dxfq for git updates when replacing sources.
16947 * scripts/build-many-glibcs.py (Config.build_gcc): Use
16948 --disable-libcilkrts unconditionally, not just for the final GCC
16951 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16954 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16957 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
16960 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16963 * localedata/locales/be_BY (mon): Rename to...
16964 (alt_mon): This, then synchronize with CLDR (nominative case).
16965 (abmon): Rename to...
16966 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16967 (mon): Import from CLDR (genitive case).
16969 * localedata/locales/be_BY@latin (mon): Rename to...
16971 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
16973 * localedata/locales/be_BY@latin (lang_name): Reworded to
16974 "biełaruskaja mova".
16976 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16979 * localedata/locales/el_CY (mon): Renamed to...
16981 (mon): Import from CLDR (genitive case).
16982 * localedata/locales/el_GR: Likewise.
16984 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16987 * localedata/locales/ru_RU (mon): Rename to...
16989 (abmon): Rename to...
16990 (ab_alt_mon): This.
16991 (mon): Import from CLDR (genitive case).
16992 (abmon): Copy from the old content except the 5th month which is
16993 now in the genitive case, even when abbreviated.
16994 * localedata/locales/ru_UA: Likewise.
16995 * time/tst-strptime.c (day_tests): Add an actual example of
16996 a difference between %b and %Ob in Russian.
16998 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17000 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
17001 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
17003 * resolv/res-close.c: Include <stdlib.h>.
17004 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
17005 <sys/wait.h>, <time.h>, <sys/uio.h>.
17006 (NOT_CANCEL_H): Add inclusion guard.
17007 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
17008 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
17009 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
17011 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
17012 vm_address_t * to ElfW(Addr) * for dl_main parameter.
17013 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
17015 * sysdeps/pthread/timer_create.c (timer_create): Do not use
17016 timer_ptr2id to cast struct timer_node * to void *.
17017 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
17018 --disable-libcilkrts to gcc configure.
17019 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
17020 and make them the default for now.
17021 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
17022 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
17023 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
17024 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
17025 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
17027 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
17028 __task_terminate would ever return successfully.
17029 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
17031 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
17032 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
17033 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
17034 critical section to make code simpler and avoid warning.
17035 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
17036 critical section to make code simpler and avoid warning.
17037 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
17038 const char * instead of char *.
17039 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
17040 __hurd_file_name_split, hurd_file_name_split,
17041 __hurd_directory_name_split, hurd_directory_name_split,
17042 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
17043 hurd_file_name_path_lookup): Make lookup function parameter take a
17044 const char *name instead of char *name.
17045 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
17046 __hurd_directory_name_split): Likewise.
17047 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
17048 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
17049 * sysdeps/mach/hurd/check_native.c: New file.
17050 * sysdeps/mach/hurd/check_pf.c: New file.
17051 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
17052 (__freeifaddrs): Define macro to freeifaddrs.
17053 * sysdeps/mach/hurd/libhurduser.abilist: New file.
17054 * sysdeps/mach/libmachuser.abilist: New file.
17055 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
17056 (do_test_bz20181): Rename accordingly.
17057 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
17058 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
17060 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
17061 version only if __USE_EXTERN_INLINES is defined.
17062 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
17063 __hurd_sockfail): Likewise.
17064 (_hurd_fd_get): Always declare functions, and provide inline versions
17065 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
17066 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
17067 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
17068 _hurd_port_set): Always declare functions, and provide inline versions
17069 only if __USE_EXTERN_INLINES and _LIBC are defined and
17071 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
17072 _hurd_critical_section_unlock): Likewise.
17073 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
17074 * __hurd_threadvar_location): Likewise.
17075 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
17076 _hurd_userlink_clear): Likewise.
17077 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
17078 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
17079 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
17080 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
17081 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
17082 __spin_lock_locked): Likewise.
17083 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
17084 __spin_lock_locked): Likewise.
17085 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
17086 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
17087 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
17088 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
17089 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
17090 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
17091 _POSIX_NO_TRUNC): Define to 0.
17092 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
17093 check size against PTHREAD_STACK_MIN.
17094 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
17095 IS_IN(libpthread)]: Include <sigsetops.h>.
17096 * mach/Makefile (user-interfaces): Add mach/gnumach.
17097 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
17098 * sysdeps/mach/configure (mach_interface_list): Regenerate.
17099 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
17100 instead of invalid -1.
17101 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
17102 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
17103 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
17106 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
17108 * hurd/fcntl-internal.h: New file.
17110 2018-01-27 James Clarke <jrtc27@jrtc27.com>
17112 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17114 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17116 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
17119 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
17120 Build only shared objects.
17122 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17124 * README: Update for hppa.
17126 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17128 * sysdeps/sparc/fpu/libm-test-ulps: Update
17129 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
17131 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17135 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17138 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17139 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17140 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17141 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17144 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17147 * bits/types/__cancel_jmp_buf_tag.h: New file.
17148 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17149 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17150 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17151 * nptl/Makefile (headers): Add
17152 bits/types/__cancel_jmp_buf_tag.h.
17153 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17154 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17155 * sysdeps/nptl/pthread.h: Include
17156 <bits/types/__cancel_jmp_buf_tag.h>.
17157 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17159 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17161 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
17164 * localedata/locales/uk_UA (mon): Renamed to...
17166 (alt_digits): "0" removed and then renamed to...
17168 (date_fmt): Definition changed not to use the alternative
17171 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
17173 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
17174 FLAG_RISCV_FLOAT_ABI_DOUBLE.
17175 * elf/elf.h (EF_RISCV_RVC): New define.
17176 (EF_RISCV_FLOAT_ABI): Likewise.
17177 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
17178 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
17179 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17180 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
17181 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
17183 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17185 2018-01-25 Andreas Schwab <schwab@suse.de>
17187 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
17189 * sysdeps/gnu/configure: Regenerate.
17190 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17191 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17193 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17194 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17195 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
17196 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17197 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17199 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17201 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
17202 URL, and run autoconf, make it the default for now.
17204 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17206 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17207 soft-float ColdFire configuration.
17209 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
17210 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
17211 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
17213 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
17216 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
17218 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
17220 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
17223 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
17224 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
17225 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
17228 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17231 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
17232 Rename to __reserved and add comment.
17233 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
17234 Rename to __reserved.
17236 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17238 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17239 i686-gnu configurations.
17240 (Context.run_builds): Include mig, gnumach and hurd in components
17242 (Context.checkout): Add mig, gnumach and hurd to components.
17243 (Context.checkout_tar): Add URL mappings for mig, gnumach and
17245 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
17246 (Config.build): Install gnumach headers, build mig and install
17247 hurd headers for 'gnu' OS.
17248 (Config.install_gnumach_headers): New function.
17249 (Config.install_hurd_headers): Likewise.
17250 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
17251 when building for 'gnu' OS.
17253 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
17255 * manual/tunables.texi (Hardware Capability Tunables): Fix
17258 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
17260 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
17261 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
17262 (ALTMON_11, ALTMON_12): Improve documentation.
17263 * manual/time.texi (strftime): Likewise.
17265 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17268 * localedata/locales/pl_PL: Alternative month names added,
17269 primary month names are genitive now.
17270 * time/tst-strptime.c (day_tests): Actually use a genitive case
17271 of a month name in Polish language.
17273 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17276 * manual/locale.texi: Document ALTMON_1..12 constants for
17277 nl_langinfo. Specify when to use ALTMON instead of MON.
17278 * manual/time.texi (strftime, strptime): Document GNU extension
17279 permitting O modifier with %B and %b. Specify when to use
17282 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17285 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
17286 names, define them as the same as abbreviated month names explicitly.
17287 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
17288 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
17289 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
17290 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
17291 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
17292 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
17293 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
17294 _NL_WABALTMON_12): New enum constants.
17295 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
17296 wab_alt_mon, and ab_alt_mon_defined members.
17297 (time_output): Output ab_alt_mon and wab_alt_mon members.
17298 (time_read): Read them, initialize them as copies of abmon and wabmon
17299 respectively if they are missing, initialize ab_alt_mon_defined.
17300 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
17301 * locale/programs/locfile-kw.h: Regenerate.
17302 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
17303 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
17305 * time/strftime_l.c (a_altmonth, aam_len): New macros.
17306 [!COMPILE_WIDE] (ABALTMON_1): New macro.
17307 (__strftime_internal): Handle %Ob and %Oh formats.
17308 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
17309 (__strptime_internal): Handle %Ob and %Oh formats.
17310 * time/tst-strptime.c (day_tests): Add more tests to parse different
17311 forms of month names including the new %Ob format specifier.
17313 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17316 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
17317 define them as the same as primary full month names explicitly.
17318 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
17319 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
17320 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
17321 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
17322 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
17323 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
17324 _NL_WALTMON_12): New enum constants.
17325 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
17326 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
17328 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
17329 walt_mon, and alt_mon_defined members.
17330 (time_output): Output alt_mon and walt_mon members.
17331 (time_read): Read them, initialize them as copies of mon and wmon
17332 respectively if they are missing, initialize alt_mon_defined.
17333 * locale/programs/locfile-kw.gperf (alt_mon): Define.
17334 * locale/programs/locfile-kw.h: Regenerate.
17335 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
17336 * localedata/tst-langinfo.c (map): Add tests for the new constants
17337 ALTMON_1 .. ALTMON_12.
17338 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
17340 * time/strftime_l.c (f_altmonth): New macro.
17341 (__strftime_internal): Handle %OB format.
17342 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
17343 (__strptime_internal): Handle %OB format.
17344 * time/tst-strptime.c (day_tests): Add tests to parse different forms
17345 of month names including the new %OB format specifier.
17347 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17350 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
17351 from ABORT_TRANSACTION.
17352 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
17353 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
17354 ABORT_TRANSACTION_IMPL): Likewise.
17355 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
17356 Linux code, but remove the code that aborts transactions.
17358 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17360 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
17362 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
17364 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
17365 in date: "2004-14-09" should be "2004-09-14".
17366 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
17367 "2003-15-09" should be "2003-09-15".
17369 2018-01-18 Arjun Shankar <arjun@redhat.com>
17375 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
17377 (_int_memalign): check for integer overflow before calling
17379 * malloc/tst-malloc-too-large.c: New test.
17380 * malloc/Makefile: Add tst-malloc-too-large.
17382 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
17384 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
17385 in date: "2017-24-07" should be "2017-07-24".
17386 * localedata/locales/mai_IN: Likewise.
17387 * localedata/locales/mai_NP: Likewise.
17389 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
17391 * po/ru.po: Update translations.
17393 2018-01-17 Joseph Myers <joseph@codesourcery.com>
17396 * sysdeps/hppa/backtrace.c: New file.
17398 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
17401 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
17402 align La_x86_64_retval to VEC_SIZE.
17404 2018-01-16 Joseph Myers <joseph@codesourcery.com>
17406 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
17407 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
17409 2018-01-16 Florian Weimer <fweimer@redhat.com>
17411 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
17412 Move tst-thread-exit-clobber ...
17413 [$(CXX)] (tests-unsupported): ... to here.
17415 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17417 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
17418 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
17419 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17420 (_dl_aarch64_cap_flags): Update.
17421 (_DL_HWCAP_COUNT): Update.
17423 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17425 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
17426 (_DL_HWCAP_LAST): Remove.
17427 (_DL_HWCAP_COUNT): Move to ...
17428 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17429 (_DL_HWCAP_COUNT): ... here.
17431 2018-01-16 Florian Weimer <fweimer@redhat.com>
17433 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
17434 mode with GNU extensions.
17436 2018-01-15 Alan Hayward <alan.hayward@arm.com>
17438 * elf/elf.h (NT_ARM_SVE): Define.
17440 2018-01-15 Florian Weimer <fweimer@redhat.com>
17443 * nptl/tst-minstack-throw.cc: New file.
17444 * nptl/Makefile (tests): Add tst-minstack-throw.
17445 (LDLIBS-tst-minstack-throw): Link with libstdc++.
17446 [!CXX] (tests-unsupported): Add tst-minstack-throw.
17448 2018-01-15 Joseph Myers <joseph@codesourcery.com>
17450 * scripts/build-many-glibcs.py (Context.checkout): Default
17451 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
17454 2018-01-13 Carlos O'Donell <carlos@redhat.com>
17457 * elf/elf.h (DF_1_STUB): Define.
17458 (DF_1_PIE): Define.
17460 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17463 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
17464 Do not add 0.5 to integer or out-of-range arguments.
17466 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17468 * po/bg.po: Update translations.
17469 * po/cs.po: Likewise.
17470 * po/de.po: Likewise.
17471 * po/ko.po: Likewise.
17472 * po/pl.po: Likewise.
17473 * po/sv.po: Likewise.
17474 * po/uk.po: Likewise.
17475 * po/vi.po: Likewise.
17477 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17479 * aarch64/start.S (_start): Use __wrap_main.
17480 (__wrap_main): New local symbol.
17482 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17486 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
17487 generic_getcwd if the path returned by getcwd syscall is not absolute.
17488 * io/tst-getcwd-abspath.c: New test.
17489 * io/Makefile (tests): Add tst-getcwd-abspath.
17491 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
17493 * malloc/malloc.c (malloc_consolidate): Add size check.
17495 2018-01-12 Florian Weimer <fweimer@redhat.com>
17497 * support/write_message.c (write_message): Preserve errno.
17498 * support/check.c (print_failure): Likewise.
17499 * support/support_test_verify_impl.c (support_test_verify_impl):
17501 * support/support_test_compare_failure.c
17502 (support_test_compare_failure): Likewise.
17504 2018-01-12 Florian Weimer <fweimer@redhat.com>
17507 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
17508 Prevent installation of libnsl.so.
17509 (libnsl-inhibit-o): Do not build (or install) static libraries.
17511 2018-01-12 Egmont Koblinger <egmont@gmail.com>
17514 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
17515 before the day number which may produce a double space.
17516 (date_fmt): Likewise.
17518 2018-01-12 Joseph Myers <joseph@codesourcery.com>
17520 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
17521 instead of fegetenv.
17523 2018-01-11 Joseph Myers <joseph@codesourcery.com>
17526 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
17527 comment to say exceptions are discarded.
17528 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
17530 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
17533 2018-01-11 Florian Weimer <fweimer@redhat.com>
17535 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
17538 2018-01-11 Florian Weimer <fweimer@redhat.com>
17541 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
17542 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
17544 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17547 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
17548 negative arguments in test for NaN or infinity argument.
17550 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
17552 * po/libc.pot: Regenerate.
17554 2018-01-10 Florian Weimer <fweimer@redhat.com>
17557 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
17558 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
17560 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17562 * hurd/hurd/fd.h: Include <fcntl.h>
17563 (__hurd_at_flags): New function.
17564 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
17565 with call to __hurd_at_flags.
17566 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
17567 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
17569 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
17570 (__access_noerrno): Use __faccessat_common instead of access_common.
17571 (__access): Likewise.
17572 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
17573 with a call to __faccessat.
17574 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
17575 (__faccessat_common): ... this. Move implementation of __access into it when
17576 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
17577 reauthenticate_cwdir_at helper to implement AT mechanism.
17578 (__faccessat_noerrno): New function, just calls __faccessat_common.
17579 (__faccessat): New function, just calls __faccessat_common.
17580 (faccessat): Define weak alias.
17582 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17585 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17586 (CFLAGS-s_fmaxmagl.c): New variable.
17587 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
17590 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
17591 long int for arguments of possibly overflowing addition or
17593 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17595 2018-01-09 Joseph Myers <joseph@codesourcery.com>
17598 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17599 (CFLAGS-e_remainderl.c): New variable.
17602 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
17604 (CFLAGS-s_cacoshl.c): Likewise.
17605 (CFLAGS-s_casinhl.c): Likewise.
17606 (CFLAGS-s_catanl.c): Likewise.
17607 (CFLAGS-s_catanhl.c): Likewise.
17608 (CFLAGS-s_cexpl.c): Likewise.
17609 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
17610 (CFLAGS-s_csinhl.c): Likewise.
17611 (CFLAGS-s_clogl.c): Likewise.
17612 (CFLAGS-s_clog10l.c): Likewise.
17613 (CFLAGS-s_csinl.c): Likewise.
17614 (CFLAGS-s_csqrtl.c): Likewise.
17616 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
17617 2017-01-09 Svante Signell <svante.signell@gmail.com>
17619 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
17620 (_hurd_exec_paths): New function.
17621 * hurd/hurd.h (_hurd_exec): Deprecate function.
17622 (_hurd_exec_paths): Declare function.
17623 * hurd/Versions: Export _hurd_exec_paths.
17624 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
17625 (__execve): Use __getcwd to build absolute path, and use
17626 _hurd_exec_paths instead of _hurd_exec.
17627 * sysdeps/mach/hurd/spawni.c: Likewise.
17628 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
17631 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
17633 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
17634 test instead of failing in case of ENOENT returned by posix_openpt.
17636 2018-01-08 Florian Weimer <fweimer@redhat.com>
17638 resolv: Support binary labels in test framework.
17639 * support/resolv_test.c (struct to_be_freed): Remove.
17640 (struct compressed_name): New.
17641 (allocate_compressed_name, ascii_tolower)
17642 (compare_compressed_name): New functions.
17643 (struct resolv_response_builder): Update type of
17644 compression_offsets for use with tsearch. Rempve to_be_freed.
17645 (response_push_pointer_to_free): Remove function.
17646 (resolv_response_add_name): Rewrite using struct compressed_name
17647 and tsearch instead of hsearch_r.
17648 (response_builder_allocate): Remove initialization of
17649 compression_offsets.
17650 (response_builder_free): Update for removal of to_be_freed. Use
17651 tdestroy instead of hdestroy_r.
17652 * resolv/Makefile (tests): Add tst-resolv-binary.
17653 (tst-resolv-binary): Link with -lresolv -lpthread.
17655 2018-01-08 Florian Weimer <fweimer@redhat.com>
17657 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
17658 time. Pass positive flag instead of negative flag to
17659 support_test_compare_failure.
17660 (support_test_compare_failure): Change negative parameter to
17662 * support/support_test_compare_failure.c (report)
17663 (support_test_compare_failure): Likewise.
17664 * support/tst-test_compare.c (return_ssize_t, return_int): New.
17665 (do_test): Check int/size_t, ssize_t/size_t comparisons.
17667 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
17670 * nptl/descr.h (stackblock, stackblock_size): Update comments.
17671 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
17672 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
17674 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17676 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
17678 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17679 Add s_sincosf-sse2 and s_sincosf-fma.
17680 (CFLAGS-s_sincosf-fma.c): New.
17681 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
17682 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
17683 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
17684 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
17685 __sincosf is defined.
17687 2018-01-08 Florian Weimer <fweimer@redhat.com>
17689 * nptl/tst-thread-exit-clobber.cc: New file.
17690 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
17692 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
17693 (tests): Add tst-thread-exit-clobber.
17694 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
17696 2018-01-08 Florian Weimer <fweimer@redhat.com>
17698 * support/check.h (support_static_assert): Define.
17699 (TEST_COMPARE): Use it.
17701 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
17703 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
17704 [!__RLIM_T_MATCHES_RLIM64_T]
17705 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
17706 __getrlimit64. Add libc_hidden_weak.
17708 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
17710 * elf/elf.h (R_RISCV_NONE): New define.
17711 (R_RISCV_32): Likewise.
17712 (R_RISCV_64): Likewise.
17713 (R_RISCV_RELATIVE): Likewise.
17714 (R_RISCV_COPY): Likewise.
17715 (R_RISCV_JUMP_SLOT): Likewise.
17716 (R_RISCV_TLS_DTPMOD32): Likewise.
17717 (R_RISCV_TLS_DTPMOD64): Likewise.
17718 (R_RISCV_TLS_DTPREL32): Likewise.
17719 (R_RISCV_TLS_DTPREL64): Likewise.
17720 (R_RISCV_TLS_TPREL32): Likewise.
17721 (R_RISCV_TLS_TPREL64): Likewise.
17722 * Makerules (make-link-multidir): Make directories before linking into
17724 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
17726 (VDSO_HASH_LINUX_4_15): Likewise.
17727 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
17728 in subdirectories of lib.
17729 * nptl/Makefile (/librt.so): Always depend on
17730 "$(shared-thread-library)".
17732 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17734 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
17735 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
17736 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
17738 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
17739 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
17741 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
17742 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
17743 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
17744 * sysdeps/gnu/glob-lstat-compat.c: New file.
17745 * sysdeps/gnu/glob64-lstat-compat.c: New file.
17746 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
17748 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17750 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
17751 Reserve 16 chars to reloc_addr before calling _itoa_word.
17753 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17756 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
17757 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
17759 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
17760 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
17762 * resource/tst-getrlimit.c: Add copyright header.
17764 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17765 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17767 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17768 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
17769 Define __GI_getrlimit64 as weak alias of __getrlimit64.
17770 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
17772 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17773 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
17774 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
17775 RLIM64_INFINITY): Fix values to match the kernel ones.
17776 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
17777 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
17778 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
17779 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
17780 getrlimit64@@GLIBC_2_27.
17781 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
17783 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
17784 getrlimit, setrlimit, getrlimit64 and setrlimit64.
17785 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
17786 setrlimit, getrlimit64 and setrlimit64.
17788 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17791 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
17792 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
17794 2018-01-04 Joseph Myers <joseph@codesourcery.com>
17796 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
17797 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
17798 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
17800 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17804 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
17805 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
17809 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
17810 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
17811 * sysdeps/alpha/fpu/s_floor.c: Likewise.
17812 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
17814 2018-01-04 Florian Weimer <fweimer@redhat.com>
17817 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17818 Align the stack before calling exit.
17819 * stdlib/tst-makecontext-align.c: New file.
17820 * stdlib/Makefile (tests): Add tst-makecontext-align.
17822 2018-01-04 Florian Weimer <fweimer@redhat.com>
17824 Add support for calling dlvsym from libc.so.
17825 * include/dlfcn.h (__libc_dlvsym): Declare.
17826 * elf/Makefile (tests-static-internal): Add
17827 tst-libc_dlvsym-static.
17828 (tests-internal): Add tst-libc_dlvsym.
17829 (modules-names): Add tst-libc_dlvsym-dso.
17830 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
17831 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
17832 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
17833 object tst-libc_dlvsym-dso.so needs to be built before running
17835 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
17836 * elf/Versions: Export __libc_dlvsym.
17837 * elf/dl-libc.c (struct do_dlvsym_args): New.
17838 (do_dlvsym, __libc_dlvsym): New functions.
17839 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
17840 (_dl_open_hook2): New variable.
17841 (__libc_register_dl_open_hook): Set it.
17842 * elf/tst-libc_dlvsym-dso.c: New file.
17843 * elf/tst-libc_dlvsym-static.c: Likewise.
17844 * elf/tst-libc_dlvsym.c: Likewise.
17845 * elf/tst-libc_dlvsym.h: Likewise.
17847 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17849 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
17850 include <sys/mount.h>.
17852 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
17854 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
17855 Add __NO_MATH_ERRNO__ check.
17857 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17859 * sysdeps/mips/mips32/libm-test-ulps: Update.
17860 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17862 2018-01-02 Florian Weimer <fweimer@redhat.com>
17864 * misc/tst-pselect.c: Add copyright header.
17866 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17868 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
17870 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
17872 (settrlimit): Rename into setrlimit.
17873 (__sttrlimit): Rename into __setrlimit.
17875 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
17876 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
17877 never defined in that case.
17879 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17881 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
17883 * sysdeps/arm/libm-test-ulps: Update.
17885 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
17886 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
17888 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17890 * NEWS: Add cosf and sincosf to list of optimized functions.
17892 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17895 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
17896 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
17897 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
17898 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
17900 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
17903 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
17905 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
17906 making a copy of it.
17908 2018-01-01 Joseph Myers <joseph@codesourcery.com>
17910 * manual/texinfo.tex: Update to version 2017-12-26.21 with
17911 trailing whitespace removed.
17912 * scripts/config.guess: Update to version 2018-01-01.
17913 * scripts/config.sub: Update to version 2018-01-01.
17914 * scripts/move-if-change: Update from gnulib.
17916 * NEWS: Update copyright dates.
17917 * catgets/gencat.c (print_version): Likewise.
17918 * csu/version.c (banner): Likewise.
17919 * debug/catchsegv.sh: Likewise.
17920 * debug/pcprofiledump.c (print_version): Likewise.
17921 * debug/xtrace.sh (do_version): Likewise.
17922 * elf/ldconfig.c (print_version): Likewise.
17923 * elf/ldd.bash.in: Likewise.
17924 * elf/pldd.c (print_version): Likewise.
17925 * elf/sotruss.sh: Likewise.
17926 * elf/sprof.c (print_version): Likewise.
17927 * iconv/iconv_prog.c (print_version): Likewise.
17928 * iconv/iconvconfig.c (print_version): Likewise.
17929 * locale/programs/locale.c (print_version): Likewise.
17930 * locale/programs/localedef.c (print_version): Likewise.
17931 * login/programs/pt_chown.c (print_version): Likewise.
17932 * malloc/memusage.sh (do_version): Likewise.
17933 * malloc/memusagestat.c (print_version): Likewise.
17934 * malloc/mtrace.pl: Likewise.
17935 * manual/libc.texinfo: Likewise.
17936 * nptl/version.c (banner): Likewise.
17937 * nscd/nscd.c (print_version): Likewise.
17938 * nss/getent.c (print_version): Likewise.
17939 * nss/makedb.c (print_version): Likewise.
17940 * posix/getconf.c (main): Likewise.
17941 * scripts/test-installation.pl: Likewise.
17942 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17944 * All files with FSF copyright notices: Update copyright dates
17945 using scripts/update-copyrights.
17946 * locale/programs/charmap-kw.h: Regenerated.
17947 * locale/programs/locfile-kw.h: Likewise.
17949 2017-12-31 Zack Weinberg <zackw@panix.com>
17951 * libio/bits/libio-ldbl.h: Correct check for improper
17952 inclusion. Add own multiple include guard.
17954 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
17955 Dmitry V. Levin <ldv@altlinux.org>
17959 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
17960 string token expansion. Check for NULL pointer or empty string possibly
17961 returned by expand_dynamic_string_token.
17962 (decompose_rpath): Check for empty path after dynamic string
17965 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
17968 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
17970 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
17971 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
17972 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
17973 and PTRACE_SYSCALL.
17974 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
17975 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17976 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17977 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17978 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17979 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17981 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
17982 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17983 __ptrace_peeksiginfo_flags, ptrace): Move to ...
17984 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
17985 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17986 bits/ptrace-shared.h.
17987 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
17988 <bits/ptrace-shared.h>.
17989 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17990 __ptrace_peeksiginfo_flags, ptrace): Remove.
17991 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17992 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17993 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17994 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17995 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17997 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18000 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
18001 end of the loop. Improve comments.
18003 2017-12-29 Zack Weinberg <zackw@panix.com>
18006 * manual/errno.texi (Checking for Errors): Explicitly say that errno
18007 might be set on success.
18009 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18012 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
18013 is unchanged on success.
18015 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
18017 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
18019 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
18020 expand_dynamic_string_token): Likewise.
18021 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
18024 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
18027 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
18028 is set and name contains ':', and all code depending on these checks.
18030 2017-12-24 Zack Weinberg <zackw@panix.com>
18032 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
18033 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
18035 * libio/libio.h: Rename the original version of this file to
18036 libio/bits/libio.h. Error out if not included by stdio.h or the
18038 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
18039 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
18040 if not included by bits/libio.h or the stub _G_config.h.
18041 * sysdeps/unix/sysv/linux/_G_config.h: Move to
18042 sysdeps/unix/sysv/linux/bits. Error out if not included by
18043 bits/libio.h or the stub _G_config.h.
18044 * libio/stdio.h: Include bits/libio.h, not libio.h.
18045 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
18046 well as libio.h and _G_config.h.
18048 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
18049 * libio/strfile.h, stdio-common/vfscanf.c
18050 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
18051 Include stdio.h, not _G_config.h nor libio.h.
18052 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
18053 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
18055 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
18057 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
18060 * stdlib/getrandom.c (getrandom): Fix comment.
18061 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
18063 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
18066 * manual/arith.texi (strtoul): Fix a typo.
18069 * manual/arith.texi (finite): Fix the description of the return
18072 2017-12-22 Eric Blake <ebb9@byu.net>
18074 Avoid gcc warnings on cygwin
18075 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
18076 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
18077 Avoid unused variable.
18079 2017-12-22 Florian Weimer <fweimer@redhat.com>
18081 * io/Makefile (routines): Add copy_file_range.
18082 (tests): Add tst-copy_file_range.
18083 (tests-static, tests-internal): Add tst-copy_file_range-compat.
18084 * io/Versions (GLIBC_2.27): Export copy_file_range.
18085 * io/copy_file_range-compat.c: New file.
18086 * io/copy_file_range.c: Likewise.
18087 * io/tst-copy_file_range-compat.c: Likewise.
18088 * io/tst-copy_file_range.c: Likewise.
18089 * manual/llio.texi (Copying File Data): New section.
18090 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
18091 * support/Makefile (libsupport-routines): Add support-xfstat,
18092 xftruncate, xlseek.
18093 * support/support-xfstat.c: New file.
18094 * support/xftruncate.c: Likewise.
18095 * support/xlseek.c: Likewise.
18096 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
18097 * sysdeps/unix/sysv/linux/**.abilist: Update.
18098 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
18100 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18102 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18103 disable-multi-arch variant to aarch64-linux-gnu.
18105 2017-12-20 Joseph Myers <joseph@codesourcery.com>
18107 * manual/texinfo.tex: Update to version 2017-12-18.20 with
18108 trailing whitespace removed.
18109 * scripts/config.guess: Update to version 2017-12-17.
18110 * scripts/config.sub: Update to version 2017-11-23.
18111 * scripts/install-sh: Update to version 2017-09-23.17.
18112 * scripts/move-if-change: Update to version 2017-09-13 06:45.
18114 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18116 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
18117 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18118 * sysdeps/tile/_mcount.S (__mcount): Likewise.
18119 * sysdeps/tile/crti.S (_init, _fini): Likewise.
18120 * sysdeps/tile/crtn.S: Likewise.
18121 * sysdeps/tile/dl-start.S (_start): Likewise.
18122 * sysdeps/tile/dl-trampoline.S: Likewise.
18123 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
18124 * sysdeps/tile/start.S (_start): Likewise.
18125 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
18126 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
18127 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
18128 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
18129 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
18130 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
18131 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
18133 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
18135 * sysdeps/tile/preconfigure: Remove tilegx folder.
18136 * sysdeps/tile/tilegx/Implies: Move definitions to ...
18137 * sysdeps/tile/Implies: ... here.
18138 * sysdeps/tile/tilegx/Makefile: Move rules to ...
18139 * sysdeps/tile/Makefile: ... here.
18140 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
18141 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
18142 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
18143 * sysdeps/tile/bits/wordsize.h: ... here.
18144 * sysdeps/tile/tilegx/*: Move to ...
18145 * sysdeps/tile/*: ... here.
18146 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
18147 * sysdeps/tile/tilegx32/Implies: ... here.
18148 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
18149 * sysdeps/tile/tilegx64/Implies: ... here.
18150 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
18152 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18153 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
18154 * sysdeps/unix/sysv/linux/tile/*: ... here.
18155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
18156 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
18157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
18158 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
18160 * README: Remove tilepro-*-linux-gnu from supported architecture.
18161 * scripts/build-many-glibcs.py: Likewise.
18162 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18163 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
18164 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
18165 elf_machine_matches_host, elf_machine_dynamic,
18166 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
18167 howto, elf_machine_rela): Likewise.
18168 * sysdeps/tile/dl-start.S (_start): Likewise.
18169 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
18170 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
18171 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
18172 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
18173 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
18174 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18176 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
18177 * sysdeps/tile/preconfigure: Likewise.
18178 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
18179 POINTER_CHK_GUARD): Likewise.
18180 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
18181 * sysdeps/tile/start.S (_start): Likewise.
18182 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
18184 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
18185 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
18187 * sysdeps/unix/sysv/linux/tile/bits/environments.h
18188 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
18189 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
18191 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
18192 * sysdeps/tile/tilepro/Implies: Remove file.
18193 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
18194 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
18195 * sysdeps/tile/tilepro/memchr.c: Likewise.
18196 * sysdeps/tile/tilepro/memcpy.S: Likewise.
18197 * sysdeps/tile/tilepro/memset.c: Likewise.
18198 * sysdeps/tile/tilepro/memusage.h: Likewise.
18199 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
18200 * sysdeps/tile/tilepro/strchr.c: Likewise.
18201 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
18202 * sysdeps/tile/tilepro/strlen.c: Likewise.
18203 * sysdeps/tile/tilepro/strrchr.c: Likewise.
18204 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
18205 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
18206 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
18207 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
18208 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
18209 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18211 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
18212 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18213 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
18214 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
18215 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18216 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
18217 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
18218 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
18219 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
18220 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
18221 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
18222 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
18223 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
18224 tilepro mention in comment.
18226 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
18227 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
18228 * nptl/pthread_join_common.c: New file: common function used on
18229 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
18230 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
18231 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
18232 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18233 (cleanup): Move definition to pthread_join_common.c.
18234 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
18235 Remove superflous checks.
18236 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
18239 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18241 * sysdeps/aarch64/libm-test-ulps: Update.
18243 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18245 * sysdeps/aarch64/memset.S (MEMSET): Define.
18247 2017-12-20 Florian Weimer <fweimer@redhat.com>
18250 nptl: Provide full implementation of pthread_self in libc.so.
18251 * nptl/Makefile (routines): Add pthread_self.
18252 (libpthread-routines): Replace pthread_self with
18253 compat-pthread_self.
18254 * nptl/forward.c (pthread_self): Remove.
18255 * nptl/nptl-init.c (pthread_functions): Do not initialize
18257 * nptl/pthread_self.c (pthread_self): Remove weak alias.
18258 * nptl/compat-pthread_self.c: New file.
18259 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
18260 Remove ptr_pthread_self.
18262 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
18264 * posix/regcomp.c: Fix spelling in comments.
18265 * posix/regex.h: Likewise.
18266 * posix/regex_internal.c: Likewise.
18267 * posix/regexec.c: Likewise.
18269 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18272 * math/Makefile [C++] (tests): Add test for iseqsig.
18273 * math/math.h [C++] (iseqsig): New implementation, which does
18274 not rely on __MATH_TG/__builtin_types_compatible_p.
18275 * math/test-math-iseqsig.cc: New file.
18276 * sysdeps/powerpc/powerpc64le/Makefile
18277 (CFLAGS-test-math-iseqsig.cc): New variable.
18279 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
18281 * elf/dl-load.c (is_trusted_path): Remove.
18282 (fillin_rpath): Remove check_trusted argument and its use,
18283 all callers changed.
18285 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18288 * Makeconfig (link-pie-before-libc): Replace -pie with
18289 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
18290 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
18291 (tst-dlopen-aout-no-pie): New.
18292 (LDFLAGS-tst-prelink): Removed.
18293 (tst-prelink-no-pie): New.
18294 (LDFLAGS-tst-main1): Removed.
18295 (tst-main1-no-pie): New.
18296 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
18297 (tst-gmon-no-pie): New.
18299 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18301 * manual/install.texi: Document that --enable-static-pie
18303 * INSTALL: Regenerated.
18305 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
18308 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
18311 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18315 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18317 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18319 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18321 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18322 <errno.h>. Include "eexp.tbl".
18323 (half): New constant.
18325 (__ieee754_exp): Rewrite.
18326 (__slowexp): Remove prototype.
18327 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18328 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18329 * sysdeps/i386/fpu/slowexp.c: Likewise.
18330 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18331 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18332 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18333 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18334 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18335 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18336 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18338 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18339 (CPPFLAGS-slowexp.c): Remove variable.
18340 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18341 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18342 (CFLAGS-slowexp-fma.c): Remove variable.
18343 (CFLAGS-slowexp-fma4.c): Likewise.
18344 (CFLAGS-slowexp-avx.c): Likewise.
18345 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18347 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18348 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18349 * math/Makefile (type-double-routines): Remove slowexp.
18350 * manual/probes.texi (slowexp_p6): Remove.
18351 (slowexp_p32): Likewise.
18353 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18355 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
18358 * lib/glob.c (glob): Do not pass NULL to mempcpy.
18360 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18364 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18366 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18367 <errno.h>. Include "eexp.tbl".
18368 (half): New constant.
18370 (__ieee754_exp): Rewrite.
18371 (__slowexp): Remove prototype.
18372 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18373 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18374 * sysdeps/i386/fpu/slowexp.c: Likewise.
18375 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18376 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18377 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18378 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18379 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18380 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18381 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18383 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18384 (CPPFLAGS-slowexp.c): Remove variable.
18385 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18386 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18387 (CFLAGS-slowexp-fma.c): Remove variable.
18388 (CFLAGS-slowexp-fma4.c): Likewise.
18389 (CFLAGS-slowexp-avx.c): Likewise.
18390 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18392 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18393 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18394 * math/Makefile (type-double-routines): Remove slowexp.
18395 * manual/probes.texi (slowexp_p6): Remove.
18396 (slowexp_p32): Likewise.
18398 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18399 James Clarke <jrtc27@jrtc27.com>
18402 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
18405 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18408 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
18411 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18414 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18415 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18416 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18417 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18420 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18423 * bits/types/__cancel_jmp_buf_tag.h: New file.
18424 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18425 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18426 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18427 * nptl/Makefile (headers): Add
18428 bits/types/__cancel_jmp_buf_tag.h.
18429 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18430 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18431 * sysdeps/nptl/pthread.h: Include
18432 <bits/types/__cancel_jmp_buf_tag.h>.
18433 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18435 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18437 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18439 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18440 --enable-static-pie variants to x86_64, x32 and i686.
18442 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18445 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
18446 argument for attrubutes. All callers changed.
18447 (__inline_mathop1): Likewise. All callers changed.
18448 (__inline_mathop): Likewise. All callers changed.
18449 [__USE_MISC] (scalbn): Use __inline_forward instead of
18450 __inline_forward_c.
18451 [__USE_ISOC99] (scalbln): Likewise.
18452 [__USE_ISOC99] (nearbyint): Likewise.
18453 [__USE_ISOC99] (lrint): Likewise.
18454 [__USE_MISC] (scalbnf): Likewise.
18455 [__USE_ISOC99] (scalblnf): Likewise.
18456 [__USE_ISOC99] (nearbyintf): Likewise.
18457 [__USE_ISOC99] (lrintf): Likewise.
18458 [__USE_MISC] (scalbnl): Likewise.
18459 [__USE_ISOC99] (scalblnl): Likewise.
18460 [__USE_ISOC99] (nearbyintl): Likewise.
18461 [__USE_ISOC99] (lrintl): Likewise.
18462 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
18463 __inline_mathop and __m81_defun changed.
18465 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
18466 CPU or FPU for ARM hard-float configurations.
18468 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18470 * nptl/tst-attr3.c: Include <libc-diag.h>.
18471 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
18473 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
18475 * string/tester.c (test_strncat): Also disable -Warray-bounds
18476 warnings for two tests.
18478 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18481 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
18482 $(cc-pie-default) == yes.
18483 * config.make.in (cc-pie-default): New.
18484 * configure.ac (libc_cv_pie_default): Renamed to ...
18485 (libc_cv_cc_pie_default): This.
18486 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
18487 * configure: Regenerated.
18489 2017-12-18 Florian Weimer <fweimer@redhat.com>
18492 ld.so: Harden dl-libc/libdl hooks.
18493 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
18494 (rtld_active): New function.
18495 * dlfcn/dladdr.c (__dladdr): Call it.
18496 * dlfcn/dladdr1.c (__dladdr1): Likewise.
18497 * dlfcn/dlclose.c (__dlcose): Likewise.
18498 * dlfcn/dlerror.c (__dlerror): Likewise.
18499 * dlfcn/dlinfo.c (__dlinfo): Likewise.
18500 * dlfcn/dlmopen.c (__dlmopen): Likewise.
18501 * dlfcn/dlopen.c (__dlopen): Likewise.
18502 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18503 * dlfcn/dlsym.c (__dlsym): Likewise.
18504 * dlfcn/dlvsym.c (__dlvsym): Likewise.
18505 * libio/vtables.c (_IO_vtable_check): Likewise.
18506 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
18507 (__libc_dlclose): Likewise.
18508 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
18511 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18514 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
18515 buffers for readlink input and output.
18517 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
18520 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
18521 inhibit_stack_protector.
18524 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
18525 inhibit_stack_protector.
18527 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
18530 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
18531 code and invocation.
18533 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18535 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
18537 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
18540 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
18542 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18544 * sysdeps/s390/fpu/libm-test-ulps: Update.
18546 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18550 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18552 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
18553 constants to s_sincosf.h file.
18554 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18555 * sysdeps/ieee754/flt-32/s_sincosf.c: New
18557 * sysdeps/ieee754/flt-32/s_sincosf.h:
18560 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18563 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
18566 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
18569 * INSTALL: Regenerated.
18570 * Makeconfig (real-static-start-installed-name): New.
18571 (pic-default): Updated for --enable-static-pie.
18572 (pie-default): New for --enable-static-pie.
18573 (default-pie-ldflag): Likewise.
18574 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
18575 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
18576 Replace $(static-start-installed-name) with
18577 $(real-static-start-installed-name).
18578 (+prectorT): Updated for --enable-static-pie.
18579 (+postctorT): Likewise.
18580 (CFLAGS-.o): Add $(pie-default).
18581 (CFLAGS-.op): Likewise.
18582 * NEWS: Mention --enable-static-pie.
18583 * config.h.in (ENABLE_STATIC_PIE): New.
18584 * configure.ac (--enable-static-pie): New configure option.
18585 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
18586 (have-static-pie): Likewise.
18587 Enable static PIE if linker supports --no-dynamic-linker.
18588 (ENABLE_STATIC_PIE): New AC_DEFINE.
18589 (enable-static-pie): New LIBC_CONFIG_VAR.
18590 * configure: Regenerated.
18591 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
18592 gr$(start-installed-name) for --enable-static-pie.
18593 (extra-objs): Likewise.
18594 (install-lib): Likewise.
18595 (extra-objs): Add static-reloc.o and static-reloc.os
18596 ($(objpfx)$(start-installed-name)): Also depend on
18597 $(objpfx)static-reloc.o.
18598 ($(objpfx)r$(start-installed-name)): New.
18599 ($(objpfx)g$(start-installed-name)): Also depend on
18600 $(objpfx)static-reloc.os.
18601 ($(objpfx)gr$(start-installed-name)): New.
18602 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
18604 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
18606 * csu/static-reloc.c: New file.
18607 * elf/Makefile (routines): Add dl-reloc-static-pie.
18608 (elide-routines.os): Likewise.
18609 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
18610 (tst-tls1-static-non-pie-no-pie): New.
18611 * elf/dl-reloc-static-pie.c: New file.
18612 * elf/dl-support.c (_dl_get_dl_main_map): New function.
18613 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
18614 STATIC_PIE_BOOTSTRAP.
18615 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18616 * gmon/Makefile (tests): Add tst-gmon-static-pie.
18617 (tests-static): Likewise.
18618 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
18619 (tst-gmon-static-no-pie): New.
18620 (CFLAGS-tst-gmon-static-pie.c): Likewise.
18621 (CRT-tst-gmon-static-pie): Likewise.
18622 (tst-gmon-static-pie-ENV): Likewise.
18623 (tests-special): Likewise.
18624 ($(objpfx)tst-gmon-static-pie.out): Likewise.
18625 (clean-tst-gmon-static-pie-data): Likewise.
18626 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
18627 * gmon/tst-gmon-static-pie.c: New file.
18628 * manual/install.texi: Document --enable-static-pie.
18629 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
18630 (_dl_get_dl_main_map): Likewise.
18631 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
18632 * sysdeps/x86_64/configure.ac: Likewise.
18633 * sysdeps/i386/configure: Regenerated.
18634 * sysdeps/x86_64/configure: Likewise.
18635 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
18636 (ASFLAGS-.op): Likewise.
18638 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18640 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
18641 * posix/tst-mmap-offset.c (fname): Use /tmp.
18642 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
18644 2017-12-15 Steve Ellcey <sellcey@cavium.com>
18646 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
18648 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
18650 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
18653 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18655 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18656 --with-float=hard for arm-linux-gnueabihf configurations.
18659 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
18660 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
18661 ($(mo-installed)): Use $(objpfx)%.mo.
18662 (realclean): Remove rule.
18664 * po/Makefile (linguas): Remove rule and dependencies.
18665 (linguas.mo): Likewise.
18666 (.PHONY): Do not depend on linguas and linguas.mo.
18667 (podir): Remove variable.
18668 (pofiles): Likewise.
18669 [$(pofiles)] (%.po): Remove rule.
18671 * sysdeps/sparc/sparc32/Makefile
18672 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
18673 start-of-line whitespace in argument of echo.
18674 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
18675 with whitespace. Generate __wrap_.udiv alias.
18676 * sysdeps/sparc/sparc32/rem.S: Regenerated.
18677 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18678 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18679 * sysdeps/sparc/sparc32/urem.S: Likewise.
18681 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18683 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
18684 for aligned inputs.
18686 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18688 * benchtests/bench-strcmp.c: Print output in JSON format.
18690 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
18692 2017-12-14 Florian Weimer <fweimer@redhat.com>
18696 * elf/dl-load.c (_dl_init_paths): Compute number of components in
18697 the expanded path string.
18699 2017-12-14 Florian Weimer <fweimer@redhat.com>
18703 * elf/dl-load.c (system_dirs): Update comment.
18704 (nsystem_dirs_len): Use array_length.
18705 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
18707 2017-12-14 Florian Weimer <fweimer@redhat.com>
18709 Simplify compiling most of support/ outside of glibc.
18710 * support/check_addrinfo.c: Include <string.h>.
18711 * support/check_dns_packet.c: Likewise.
18712 * support/check_hostent.c: Likewise.
18713 * support/support_can_chroot.c: Include <support/xunistd.h>.
18714 * support/support_format_addrinfo.c: Include <stdlib.h>
18715 * support/support_format_dns_packet.c: Include <stdbool.h>.
18716 * support/support_format_hostent.c: Include <stdlib.h>.
18717 * support/support_format_netent.c: Likewise.
18718 * support/support_write_string.c: Include <support/xunistd.h>.
18719 * support/xdlfcn.c: Include <stddef.h>.
18721 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
18723 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
18725 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18726 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18728 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18729 (sysdeps_routines): Add memset-niagara7.
18730 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
18732 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
18734 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
18735 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18736 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
18737 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
18738 Add niagara7 option.
18739 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
18742 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18743 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
18744 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
18746 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
18748 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
18749 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
18750 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18751 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
18752 and __memmove_niagara7.
18753 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
18754 Add niagara7 option.
18755 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
18756 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
18757 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
18758 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
18759 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
18761 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
18763 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
18764 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
18765 * sysdeps/sparc/sparc64/memmove.S: Likewise.
18766 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
18768 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
18769 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
18770 _dl_sparc_cap_flags array.
18771 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
18773 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18775 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
18776 time whenever possible.
18778 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18780 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
18781 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
18783 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18785 * soft-fp/fmadf4.c: Move to ....
18786 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
18787 * soft-fp/fmasf4.c: Move to ....
18788 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
18789 * soft-fp/fmatf4.c: Move to ....
18790 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
18791 * sysdeps/ieee754/soft-fp/Makefile: New file.
18792 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
18793 * sysdeps/arm/preconfigure: Regenerated.
18794 * sysdeps/arm/nofpu/Implies: New file.
18795 * sysdeps/arm/s_fma.c: Remove file.
18796 * sysdeps/arm/s_fmaf.c: Likewise.
18797 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
18798 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
18799 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
18800 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
18801 * sysdeps/microblaze/s_fma.c: Remove file.
18802 * sysdeps/microblaze/s_fmaf.c: Likewise.
18803 * sysdeps/mips/mips32/nofpu/Implies: New file.
18804 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
18805 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
18806 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
18807 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
18808 * sysdeps/mips/ieee754/s_fma.c: Remove file.
18809 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
18810 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
18812 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
18813 * sysdeps/nios2/s_fma.c: Remove file.
18814 * sysdeps/nios2/s_fmaf.c: Likewise.
18815 * sysdeps/sh/nofpu/Implies: New file.
18816 * sysdeps/sh/s_fma.c: Remove file.
18817 * sysdeps/sh/s_fmaf.c: Likewise.
18818 * sysdeps/tile/Implies: Add ieee754/soft-fp.
18819 * sysdeps/tile/s_fma.c: Remove file.
18820 * sysdeps/tile/s_fmaf.c: Likewise.
18822 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
18824 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18825 Add s_cosf-sse2 and s_cosf-fma.
18826 (CFLAGS-s_cosf-fma.c): New.
18827 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
18828 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
18829 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
18831 2017-12-12 Steve Ellcey <sellcey@cavium.com>
18833 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
18835 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18837 * libio/Makefile (tests): Add tst-bz22415.
18838 (tst-bz22415-ENV): New rule.
18839 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
18840 (tests-special): Add tst-bz22415-mem.out.
18841 ($(objpfx)tst-bz22415-mem.out): New rule.
18842 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
18843 in case of a successful seek operation.
18844 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18845 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
18846 buffer is required.
18847 * libio/tst-bz22415.c: New test.
18849 * sysdeps/ia64/fpu/libm-test-ulps: Update.
18851 2017-12-12 James Clarke <jrtc27@jrtc27.com>
18853 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
18854 __IPC_64 to 0 to avoid IPC_64 being set.
18856 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18859 * math/bits/mathcalls.h (nextafter): Remove const.
18860 (nexttoward): Likewise.
18862 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18864 * configure.ac (--with-fp): Remove configure option.
18865 (with_fp_cond): New variable.
18866 (libc_cv_with_fp): New configure test. Use this variable instead
18868 * configure: Regenerated.
18869 * config.make.in (with-fp): Use @libc_cv_with_fp@.
18870 * manual/install.texi (Configuring and compiling): Remove
18872 * INSTALL: Regenerated.
18873 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
18874 * sysdeps/mips/preconfigure (with_fp_cond): Define.
18875 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
18876 * sysdeps/sh/preconfigure (with_fp_cond): Define.
18877 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
18878 use --without-fp to configure glibc.
18880 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
18882 * manual/locale.texi (nl_langinfo): Fix a typo.
18884 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
18887 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
18889 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18891 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
18892 (CFLAGS-argp-parse.c): Likewise.
18893 (CFLAGS-argp-fmtstream.c): Likewise.
18894 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
18895 (CPPFLAGS-sha512-crypt.c): Likewise.
18896 (CPPFLAGS-md5-crypt.c): Likewise.
18897 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
18898 (CFLAGS-stack_chk_fail_local.c): Likewise.
18899 (CFLAGS-backtrace.c): Likewise.
18900 (CFLAGS-sprintf_chk.c): Likewise.
18901 (CFLAGS-snprintf_chk.c): Likewise.
18902 (CFLAGS-vsprintf_chk.c): Likewise.
18903 (CFLAGS-vsnprintf_chk.c): Likewise.
18904 (CFLAGS-asprintf_chk.c): Likewise.
18905 (CFLAGS-vasprintf_chk.c): Likewise.
18906 (CFLAGS-obprintf_chk.c): Likewise.
18907 (CFLAGS-dprintf_chk.c): Likewise.
18908 (CFLAGS-vdprintf_chk.c): Likewise.
18909 (CFLAGS-printf_chk.c): Likewise.
18910 (CFLAGS-fprintf_chk.c): Likewise.
18911 (CFLAGS-vprintf_chk.c): Likewise.
18912 (CFLAGS-vfprintf_chk.c): Likewise.
18913 (CFLAGS-gets_chk.c): Likewise.
18914 (CFLAGS-fgets_chk.c): Likewise.
18915 (CFLAGS-fgets_u_chk.c): Likewise.
18916 (CFLAGS-fread_chk.c): Likewise.
18917 (CFLAGS-fread_u_chk.c): Likewise.
18918 (CFLAGS-swprintf_chk.c): Likewise.
18919 (CFLAGS-vswprintf_chk.c): Likewise.
18920 (CFLAGS-wprintf_chk.c): Likewise.
18921 (CFLAGS-fwprintf_chk.c): Likewise.
18922 (CFLAGS-vwprintf_chk.c): Likewise.
18923 (CFLAGS-vfwprintf_chk.c): Likewise.
18924 (CFLAGS-fgetws_chk.c): Likewise.
18925 (CFLAGS-fgetws_u_chk.c): Likewise.
18926 (CFLAGS-read_chk.c): Likewise.
18927 (CFLAGS-pread_chk.c): Likewise.
18928 (CFLAGS-pread64_chk.c): Likewise.
18929 (CFLAGS-recv_chk.c): Likewise.
18930 (CFLAGS-recvfrom_chk.c): Likewise.
18931 (CFLAGS-tst-longjmp_chk.c): Likewise.
18932 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
18933 (CFLAGS-tst-longjmp_chk2.c): Likewise.
18934 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
18935 (CFLAGS-tst-longjmp_chk3.c): Likewise.
18936 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18937 (CFLAGS-tst-chk1.c): Likewise.
18938 (CFLAGS-tst-chk2.c): Likewise.
18939 (CFLAGS-tst-chk3.c): Likewise.
18940 (CFLAGS-tst-chk4.cc): Likewise.
18941 (CFLAGS-tst-chk5.cc): Likewise.
18942 (CFLAGS-tst-chk6.cc): Likewise.
18943 (CFLAGS-tst-lfschk1.c): Likewise.
18944 (CFLAGS-tst-lfschk2.c): Likewise.
18945 (CFLAGS-tst-lfschk3.c): Likewise.
18946 (CFLAGS-tst-lfschk4.cc): Likewise.
18947 (CFLAGS-tst-lfschk5.cc): Likewise.
18948 (CFLAGS-tst-lfschk6.cc): Likewise.
18949 (CFLAGS-tst-ssp-1.c): Likewise.
18950 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
18951 (CFLAGS-scandir64.c): Likewise.
18952 (CFLAGS-scandir-tail.c): Likewise.
18953 (CFLAGS-scandir64-tail.c): Likewise.
18954 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
18955 (CFLAGS-dl-tunables.c): Likewise.
18956 (CFLAGS-dl-runtime.c): Likewise.
18957 (CFLAGS-dl-lookup.c): Likewise.
18958 (CFLAGS-dl-iterate-phdr.c): Likewise.
18959 (CFLAGS-vismain.c): Likewise.
18960 (CFLAGS-tst-linkall-static.c): Likewise.
18961 (CFLAGS-tst-linkall-static.c): Likewise.
18962 (CPPFLAGS-dl-load.c): Likewise.
18963 (CFLAGS-ldconfig.c): Likewise.
18964 (CFLAGS-dl-cache.c): Likewise.
18965 (CFLAGS-cache.c): Likewise.
18966 (CFLAGS-rtld.c): Likewise.
18967 (CFLAGS-multiload.c): Likewise.
18968 (CFLAGS-filtmod1.c): Likewise.
18969 (CFLAGS-tst-align.c): Likewise.
18970 (CFLAGS-tst-align2.c): Likewise.
18971 (CFLAGS-tst-alignmod.c): Likewise.
18972 (CFLAGS-tst-alignmod2.c): Likewise.
18973 (CPPFLAGS-tst-execstack.c): Likewise.
18974 (CFLAGS-tst-ptrguard1-static.c): Likewise.
18975 (CFLAGS-tst-latepthreadmod.c): Likewise.
18976 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
18977 (CFLAGS-getgrnam_r.c): Likewise.
18978 (CFLAGS-getgrent_r.c): Likewise.
18979 (CFLAGS-getgrent.c): Likewise.
18980 (CFLAGS-fgetgrent.c): Likewise.
18981 (CFLAGS-fgetgrent_r.c): Likewise.
18982 (CFLAGS-putgrent.c): Likewise.
18983 (CFLAGS-initgroups.c): Likewise.
18984 (CFLAGS-getgrgid.c): Likewise.
18985 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
18986 (CFLAGS-getsgent.c): Likewise.
18987 (CFLAGS-fgetsgent.c): Likewise.
18988 (CFLAGS-fgetsgent_r.c): Likewise.
18989 (CFLAGS-putsgent.c): Likewise.
18990 (CFLAGS-getsgnam.c): Likewise.
18991 (CFLAGS-getsgnam_r.c): Likewise.
18992 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
18993 (CFLAGS-iconv_charmap.c): Likewise.
18994 (CFLAGS-dummy-repertoire.c): Likewise.
18995 (CFLAGS-charmap.c): Likewise.
18996 (CFLAGS-linereader.c): Likewise.
18997 (CFLAGS-simple-hash.c): Likewise.
18998 (CFLAGS-gconv_conf.c): Likewise.
18999 (CFLAGS-iconvconfig.c): Likewise.
19000 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19001 (CFLAGS-gethstbyad.c): Likewise.
19002 (CFLAGS-gethstbynm_r.c): Likewise.
19003 (CFLAGS-gethstbynm.c): Likewise.
19004 (CFLAGS-gethstbynm2_r.c): Likewise.
19005 (CFLAGS-gethstbynm2.c): Likewise.
19006 (CFLAGS-gethstent_r.c): Likewise.
19007 (CFLAGS-gethstent.c): Likewise.
19008 (CFLAGS-rcmd.c): Likewise.
19009 (CFLAGS-getnetbynm_r.c): Likewise.
19010 (CFLAGS-getnetbynm.c): Likewise.
19011 (CFLAGS-getnetbyad_r.c): Likewise.
19012 (CFLAGS-getnetbyad.c): Likewise.
19013 (CFLAGS-getnetent_r.c): Likewise.
19014 (CFLAGS-getnetent.c): Likewise.
19015 (CFLAGS-getaliasent_r.c): Likewise.
19016 (CFLAGS-getaliasent.c): Likewise.
19017 (CFLAGS-getrpcent_r.c): Likewise.
19018 (CFLAGS-getrpcent.c): Likewise.
19019 (CFLAGS-getservent_r.c): Likewise.
19020 (CFLAGS-getservent.c): Likewise.
19021 (CFLAGS-getprtent_r.c): Likewise.
19022 (CFLAGS-getprtent.c): Likewise.
19023 (CFLAGS-either_ntoh.c): Likewise.
19024 (CFLAGS-either_hton.c): Likewise.
19025 (CFLAGS-getnetgrent.c): Likewise.
19026 (CFLAGS-getnetgrent_r.c): Likewise.
19027 (CFLAGS-tst-checks-posix.c): Likewise.
19028 (CFLAGS-tst-sockaddr.c): Likewise.
19029 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
19030 (CFLAGS-tst-translit.c): Likewise.
19031 (CFLAGS-tst-gettext2.c): Likewise.
19032 (CFLAGS-tst-codeset.c): Likewise.
19033 (CFLAGS-tst-gettext3.c): Likewise.
19034 (CFLAGS-tst-gettext4.c): Likewise.
19035 (CFLAGS-tst-gettext5.c): Likewise.
19036 (CFLAGS-tst-gettext6.c): Likewise.
19037 * io/Makefile (CFLAGS-open.c): Likewise.
19038 (CFLAGS-open64.c): Likewise.
19039 (CFLAGS-creat.c): Likewise.
19040 (CFLAGS-creat64.c): Likewise.
19041 (CFLAGS-fcntl.c): Likewise.
19042 (CFLAGS-poll.c): Likewise.
19043 (CFLAGS-ppoll.c): Likewise.
19044 (CFLAGS-lockf.c): Likewise.
19045 (CFLAGS-statfs.c): Likewise.
19046 (CFLAGS-fstatfs.c): Likewise.
19047 (CFLAGS-statvfs.c): Likewise.
19048 (CFLAGS-fstatvfs.c): Likewise.
19049 (CFLAGS-fts.c): Likewise.
19050 (CFLAGS-fts64.c): Likewise.
19051 (CFLAGS-ftw.c): Likewise.
19052 (CFLAGS-ftw64.c): Likewise.
19053 (CFLAGS-lockf.c): Likewise.
19054 (CFLAGS-posix_fallocate.c): Likewise.
19055 (CFLAGS-posix_fallocate64.c): Likewise.
19056 (CFLAGS-fallocate.c): Likewise.
19057 (CFLAGS-fallocate64.c): Likewise.
19058 (CFLAGS-read.c): Likewise.
19059 (CFLAGS-write.c): Likewise.
19060 (CFLAGS-test-stat.c): Likewise.
19061 (CFLAGS-test-lfs.c): Likewise.
19062 * libio/Makefile (CFLAGS-fileops.c): Likewise.
19063 (CFLAGS-fputc.c): Likewise.
19064 (CFLAGS-fputwc.c): Likewise.
19065 (CFLAGS-freopen64.c): Likewise.
19066 (CFLAGS-freopen.c): Likewise.
19067 (CFLAGS-fseek.c): Likewise.
19068 (CFLAGS-fseeko64.c): Likewise.
19069 (CFLAGS-fseeko.c): Likewise.
19070 (CFLAGS-ftello64.c): Likewise.
19071 (CFLAGS-ftello.c): Likewise.
19072 (CFLAGS-fwide.c): Likewise.
19073 (CFLAGS-genops.c): Likewise.
19074 (CFLAGS-getc.c): Likewise.
19075 (CFLAGS-getchar.c): Likewise.
19076 (CFLAGS-getwc.c): Likewise.
19077 (CFLAGS-getwchar.c): Likewise.
19078 (CFLAGS-iofclose.c): Likewise.
19079 (CFLAGS-iofflush.c): Likewise.
19080 (CFLAGS-iofgetpos64.c): Likewise.
19081 (CFLAGS-iofgetpos.c): Likewise.
19082 (CFLAGS-iofgets.c): Likewise.
19083 (CFLAGS-iofgetws.c): Likewise.
19084 (CFLAGS-iofputs.c): Likewise.
19085 (CFLAGS-iofputws.c): Likewise.
19086 (CFLAGS-iofread.c): Likewise.
19087 (CFLAGS-iofsetpos64.c): Likewise.
19088 (CFLAGS-iofsetpos.c): Likewise.
19089 (CFLAGS-ioftell.c): Likewise.
19090 (CFLAGS-iofwrite.c): Likewise.
19091 (CFLAGS-iogetdelim.c): Likewise.
19092 (CFLAGS-iogetline.c): Likewise.
19093 (CFLAGS-iogets.c): Likewise.
19094 (CFLAGS-iogetwline.c): Likewise.
19095 (CFLAGS-ioputs.c): Likewise.
19096 (CFLAGS-ioseekoff.c): Likewise.
19097 (CFLAGS-ioseekpos.c): Likewise.
19098 (CFLAGS-iosetbuffer.c): Likewise.
19099 (CFLAGS-iosetvbuf.c): Likewise.
19100 (CFLAGS-ioungetc.c): Likewise.
19101 (CFLAGS-ioungetwc.c): Likewise.
19102 (CFLAGS-oldfileops.c): Likewise.
19103 (CFLAGS-oldiofclose.c): Likewise.
19104 (CFLAGS-oldiofgetpos64.c): Likewise.
19105 (CFLAGS-oldiofgetpos.c): Likewise.
19106 (CFLAGS-oldiofsetpos64.c): Likewise.
19107 (CFLAGS-oldiofsetpos.c): Likewise.
19108 (CFLAGS-peekc.c): Likewise.
19109 (CFLAGS-putc.c): Likewise.
19110 (CFLAGS-putchar.c): Likewise.
19111 (CFLAGS-putwc.c): Likewise.
19112 (CFLAGS-putwchar.c): Likewise.
19113 (CFLAGS-rewind.c): Likewise.
19114 (CFLAGS-wfileops.c): Likewise.
19115 (CFLAGS-wgenops.c): Likewise.
19116 (CFLAGS-oldiofopen.c): Likewise.
19117 (CFLAGS-iofopen.c): Likewise.
19118 (CFLAGS-iofopen64.c): Likewise.
19119 (CFLAGS-oldtmpfile.c): Likewise.
19120 (CFLAGS-tst_putwc.c): Likewise.
19121 * locale/Makefile (CFLAGS-md5.c): Likewise.
19122 (CFLAGS-charmap.c): Likewise.
19123 (CFLAGS-locfile.c): Likewise.
19124 (CFLAGS-charmap-dir.c): Likewise.
19125 * login/Makefile (CFLAGS-grantpt.c): Likewise.
19126 (CFLAGS-getpt.c): Likewise.
19127 (CFLAGS-pt_chown.c): Likewise.
19128 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
19129 (CFLAGS-obstack.c): Likewise.
19130 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
19131 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
19132 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
19133 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
19134 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
19135 (CFLAGS-test-tgmath.c): Likewise.
19136 (CFLAGS-test-tgmath2.c): Likewise.
19137 (CFLAGS-test-tgmath-ret.c): Likewise.
19138 (CFLAGS-test-powl.c): Likewise.
19139 (CFLAGS-test-snan.c): Likewise.
19140 (CFLAGS-test-signgam-finite.c): Likewise.
19141 (CFLAGS-test-signgam-finite-c99.c): Likewise.
19142 (CFLAGS-test-signgam-finite-c11.c): Likewise.
19143 (CFLAGS-test-signgam-uchar.c): Likewise.
19144 (CFLAGS-test-signgam-uchar-init.c): Likewise.
19145 (CFLAGS-test-signgam-uchar-static.c): Likewise.
19146 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19147 (CFLAGS-test-signgam-uint.c): Likewise.
19148 (CFLAGS-test-signgam-uint-init.c): Likewise.
19149 (CFLAGS-test-signgam-uint-static.c): Likewise.
19150 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19151 (CFLAGS-test-signgam-ullong.c): Likewise.
19152 (CFLAGS-test-signgam-ullong-init.c): Likewise.
19153 (CFLAGS-test-signgam-ullong-static.c): Likewise.
19154 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19155 (CFLAGS-test-math-cxx11.cc): Likewise.
19156 (CFLAGS-test-math-isinff.cc): Likewise.
19157 (CFLAGS-test-math-iszero.cc): Likewise.
19158 (CFLAGS-test-math-issignaling.cc): Likewise.
19159 (CFLAGS-test-math-iscanonical.cc): Likewise.
19160 (CFLAGS-test-iszero-excess-precision.c): Likewise.
19161 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
19162 (CFLAGS-test-flt-eval-method.c): Likewise.
19163 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
19164 (CFLAGS-test-finite-macros.c): Likewise.
19165 * misc/Makefile (CFLAGS-select.c): Likewise.
19166 (CFLAGS-tsearch.c): Likewise.
19167 (CFLAGS-lsearch.c): Likewise.
19168 (CFLAGS-pselect.c): Likewise.
19169 (CFLAGS-readv.c): Likewise.
19170 (CFLAGS-writev.c): Likewise.
19171 (CFLAGS-preadv.c): Likewise.
19172 (CFLAGS-preadv64.c): Likewise.
19173 (CFLAGS-pwritev.c): Likewise.
19174 (CFLAGS-pwritev64.c): Likewise.
19175 (CFLAGS-preadv2.c): Likewise.
19176 (CFLAGS-preadv64v2.c): Likewise.
19177 (CFLAGS-pwritev2.c): Likewise.
19178 (CFLAGS-pwritev64v2.c): Likewise.
19179 (CFLAGS-usleep.c): Likewise.
19180 (CFLAGS-syslog.c): Likewise.
19181 (CFLAGS-error.c): Likewise.
19182 (CFLAGS-getpass.c): Likewise.
19183 (CFLAGS-mkstemp.c): Likewise.
19184 (CFLAGS-mkstemp64.c): Likewise.
19185 (CFLAGS-getsysstats.c): Likewise.
19186 (CFLAGS-getusershell.c): Likewise.
19187 (CFLAGS-err.c): Likewise.
19188 (CFLAGS-tst-tsearch.c): Likewise.
19189 (CFLAGS-msync.c): Likewise.
19190 (CFLAGS-fdatasync.c): Likewise.
19191 (CFLAGS-fsync.c): Likewise.
19192 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
19193 (CFLAGS-unwind.c): Likewise.
19194 (CFLAGS-unwind-forcedunwind.c): Likewise.
19195 (CFLAGS-pthread_cancel.c): Likewise.
19196 (CFLAGS-pthread_setcancelstate.c): Likewise.
19197 (CFLAGS-pthread_setcanceltype.c): Likewise.
19198 (CFLAGS-cancellation.c): Likewise.
19199 (CFLAGS-libc-cancellation.c): Likewise.
19200 (CFLAGS-pthread_exit.c): Likewise.
19201 (CFLAGS-forward.c): Likewise.
19202 (CFLAGS-pthread_testcancel.c): Likewise.
19203 (CFLAGS-pthread_join.c): Likewise.
19204 (CFLAGS-pthread_timedjoin.c): Likewise.
19205 (CFLAGS-pthread_once.c): Likewise.
19206 (CFLAGS-pthread_cond_wait.c): Likewise.
19207 (CFLAGS-sem_wait.c): Likewise.
19208 (CFLAGS-sem_timedwait.c): Likewise.
19209 (CFLAGS-fcntl.c): Likewise.
19210 (CFLAGS-lockf.c): Likewise.
19211 (CFLAGS-pread.c): Likewise.
19212 (CFLAGS-pread64.c): Likewise.
19213 (CFLAGS-pwrite.c): Likewise.
19214 (CFLAGS-pwrite64.c): Likewise.
19215 (CFLAGS-wait.c): Likewise.
19216 (CFLAGS-waitpid.c): Likewise.
19217 (CFLAGS-sigwait.c): Likewise.
19218 (CFLAGS-msgrcv.c): Likewise.
19219 (CFLAGS-msgsnd.c): Likewise.
19220 (CFLAGS-tcdrain.c): Likewise.
19221 (CFLAGS-open.c): Likewise.
19222 (CFLAGS-open64.c): Likewise.
19223 (CFLAGS-pause.c): Likewise.
19224 (CFLAGS-recv.c): Likewise.
19225 (CFLAGS-send.c): Likewise.
19226 (CFLAGS-accept.c): Likewise.
19227 (CFLAGS-sendto.c): Likewise.
19228 (CFLAGS-connect.c): Likewise.
19229 (CFLAGS-recvfrom.c): Likewise.
19230 (CFLAGS-recvmsg.c): Likewise.
19231 (CFLAGS-sendmsg.c): Likewise.
19232 (CFLAGS-close.c): Likewise.
19233 (CFLAGS-read.c): Likewise.
19234 (CFLAGS-write.c): Likewise.
19235 (CFLAGS-nanosleep.c): Likewise.
19236 (CFLAGS-sigsuspend.c): Likewise.
19237 (CFLAGS-msync.c): Likewise.
19238 (CFLAGS-fdatasync.c): Likewise.
19239 (CFLAGS-fsync.c): Likewise.
19240 (CFLAGS-pt-system.c): Likewise.
19241 (CFLAGS-tst-cleanup2.c): Likewise.
19242 (CFLAGS-tst-cleanupx2.c): Likewise.
19243 (CFLAGS-flockfile.c): Likewise.
19244 (CFLAGS-ftrylockfile.c): Likewise.
19245 (CFLAGS-funlockfile.c): Likewise.
19246 (CFLAGS-tst-initializers1.c): Likewise.
19247 (CFLAGS-tst-initializers1-c89.c): Likewise.
19248 (CFLAGS-tst-initializers1-c99.c): Likewise.
19249 (CFLAGS-tst-initializers1-c11.c): Likewise.
19250 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
19251 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
19252 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19253 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
19254 (CFLAGS-nscd_getgr_r.c): Likewise.
19255 (CFLAGS-nscd_gethst_r.c): Likewise.
19256 (CFLAGS-nscd_getai.c): Likewise.
19257 (CFLAGS-nscd_initgroups.c): Likewise.
19258 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
19259 (CFLAGS-pause.c): Likewise.
19260 (CFLAGS-pread.c): Likewise.
19261 (CFLAGS-pread64.c): Likewise.
19262 (CFLAGS-pwrite.c): Likewise.
19263 (CFLAGS-pwrite64.c): Likewise.
19264 (CFLAGS-sleep.c): Likewise.
19265 (CFLAGS-wait.c): Likewise.
19266 (CFLAGS-waitid.c): Likewise.
19267 (CFLAGS-waitpid.c): Likewise.
19268 (CFLAGS-getopt.c): Likewise.
19269 (CFLAGS-wordexp.c): Likewise.
19270 (CFLAGS-sysconf.c): Likewise.
19271 (CFLAGS-pathconf.c): Likewise.
19272 (CFLAGS-fpathconf.c): Likewise.
19273 (CFLAGS-spawn.c): Likewise.
19274 (CFLAGS-spawnp.c): Likewise.
19275 (CFLAGS-spawni.c): Likewise.
19276 (CFLAGS-glob.c): Likewise.
19277 (CFLAGS-glob64.c): Likewise.
19278 (CFLAGS-getconf.c): Likewise.
19279 (CFLAGS-nanosleep.c): Likewise.
19280 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
19281 (CFLAGS-getpwent.c): Likewise.
19282 (CFLAGS-getpw.c): Likewise.
19283 (CFLAGS-fgetpwent_r.c): Likewise.
19284 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
19285 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
19286 (CFLAGS-mq_timedreceive.c): Likewise.
19287 (CFLAGS-mq_timedsend.c): Likewise.
19288 (CFLAGS-clock_nanosleep.c): Likewise.
19289 (CFLAGS-librt-cancellation.c): Likewise.
19290 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
19291 (CFLAGS-getspent.c): Likewise.
19292 (CFLAGS-fgetspent.c): Likewise.
19293 (CFLAGS-fgetspent_r.c): Likewise.
19294 (CFLAGS-putspent.c): Likewise.
19295 (CFLAGS-getspnam.c): Likewise.
19296 (CFLAGS-getspnam_r.c): Likewise.
19297 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
19298 (CFLAGS-sigsuspend.c): Likewise.
19299 (CFLAGS-sigtimedwait.c): Likewise.
19300 (CFLAGS-sigwait.c): Likewise.
19301 (CFLAGS-sigwaitinfo.c): Likewise.
19302 (CFLAGS-sigreturn.c): Likewise.
19303 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19304 (CFLAGS-vfwprintf.c): Likewise.
19305 (CFLAGS-tmpfile.c): Likewise.
19306 (CFLAGS-tmpfile64.c): Likewise.
19307 (CFLAGS-tempname.c): Likewise.
19308 (CFLAGS-psignal.c): Likewise.
19309 (CFLAGS-vprintf.c): Likewise.
19310 (CFLAGS-cuserid.c): Likewise.
19311 (CFLAGS-errlist.c): Likewise.
19312 (CFLAGS-siglist.c): Likewise.
19313 (CFLAGS-scanf15.c): Likewise.
19314 (CFLAGS-scanf17.c): Likewise.
19315 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
19316 (CFLAGS-msort.c): Likewise.
19317 (CFLAGS-qsort.c): Likewise.
19318 (CFLAGS-system.c): Likewise.
19319 (CFLAGS-fmtmsg.c): Likewise.
19320 (CFLAGS-strfmon.c): Likewise.
19321 (CFLAGS-strfmon_l.c): Likewise.
19322 (CFLAGS-strfromd.c): Likewise.
19323 (CFLAGS-strfromf.c): Likewise.
19324 (CFLAGS-strfroml.c): Likewise.
19325 (CFLAGS-tst-bsearch.c): Likewise.
19326 (CFLAGS-tst-qsort.c): Likewise.
19327 (CFLAGS-tst-makecontext2.c): Likewise.
19328 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
19329 (CFLAGS-xnlm_prot.c): Likewise.
19330 (CFLAGS-xrstat.c): Likewise.
19331 (CFLAGS-xyppasswd.c): Likewise.
19332 (CFLAGS-xklm_prot.c): Likewise.
19333 (CFLAGS-xrex.c): Likewise.
19334 (CFLAGS-xsm_inter.c): Likewise.
19335 (CFLAGS-xmount.c): Likewise.
19336 (CFLAGS-xrusers.c): Likewise.
19337 (CFLAGS-xspray.c): Likewise.
19338 (CFLAGS-xnfs_prot.c): Likewise.
19339 (CFLAGS-xrquota.c): Likewise.
19340 (CFLAGS-xkey_prot.c): Likewise.
19341 (CFLAGS-auth_unix.c): Likewise.
19342 (CFLAGS-key_call.c): Likewise.
19343 (CFLAGS-pmap_rmt.c): Likewise.
19344 (CFLAGS-clnt_perr.c): Likewise.
19345 (CFLAGS-openchild.c): Likewise.
19346 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
19347 (CFLAGS-msgsnd.c): Likewise.
19348 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
19349 * time/Makefile (CFLAGS-tzfile.c): Likewise.
19350 (CFLAGS-tzset.c): Likewise.
19351 (CFLAGS-getdate.c): Likewise.
19352 (CFLAGS-test_time.c): Likewise.
19353 (CPPFLAGS-tst-tzname.c): Likewise.
19354 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
19355 (CFLAGS-zic.c): Likewise.
19356 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
19357 (CFLAGS-wcswidth.c): Likewise.
19358 (CFLAGS-wcstol.c): Likewise.
19359 (CFLAGS-wcstoul.c): Likewise.
19360 (CFLAGS-wcstoll.c): Likewise.
19361 (CFLAGS-wcstoull.c): Likewise.
19362 (CFLAGS-wcstod.c): Likewise.
19363 (CFLAGS-wcstold.c): Likewise.
19364 (CFLAGS-wcstof128.c): Likewise.
19365 (CFLAGS-wcstof.c): Likewise.
19366 (CFLAGS-wcstol_l.c): Likewise.
19367 (CFLAGS-wcstoul_l.c): Likewise.
19368 (CFLAGS-wcstoll_l.c): Likewise.
19369 (CFLAGS-wcstoull_l.c): Likewise.
19370 (CFLAGS-wcstod_l.c): Likewise.
19371 (CFLAGS-wcstold_l.c): Likewise.
19372 (CFLAGS-wcstof128_l.c): Likewise.
19373 (CFLAGS-wcstof_l.c): Likewise.
19374 (CPPFLAGS-tst-wchar-h.c): Likewise.
19375 (CPPFLAGS-wcstold_l.c): Likewise.
19377 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
19379 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
19381 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19382 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19384 * manual/tunables.texi (Hardware Capability Tunables): Document
19385 glibc.tune.cached_memopt.
19386 * sysdeps/powerpc/cpu-features.c: New file.
19387 * sysdeps/powerpc/cpu-features.h: New file.
19388 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
19389 _dl_powerpc_cpu_features.
19390 * sysdeps/powerpc/dl-tunables.list: New file.
19391 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
19392 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19393 (INIT_ARCH): Initialize use_aligned_memopt.
19394 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
19395 IS_IN(rtld))]: Restrict dl_platform_init availability and
19396 initialize CPU features used by tunables.
19397 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
19398 Add memcpy-power8-cached.
19399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
19400 __memcpy_power8_cached.
19401 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19402 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
19405 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19407 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
19408 (CFLAGS-noinl-tester.c): Likewise.
19409 (CFLAGS-tst-strlen.c): Likewise.
19410 (CFLAGS-stratcliff.c): Likewise.
19411 (CFLAGS-test-ffs.c): Likewise.
19412 (CFLAGS-tst-inlcall.c): Likewise.
19413 (CFLAGS-tst-xbzero-opt.c): Likewise.
19414 (CFLAGS-memcpy.c): Likewise.
19415 (CFLAGS-wordcopy.c): Likewise.
19417 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19419 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
19420 Store r15 on stack and add cfi rule.
19421 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19424 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
19427 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
19430 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19432 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19433 Add s_sinf-sse2 and s_sinf-fma.
19434 (CFLAGS-s_sinf-fma.c): New.
19435 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
19436 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
19437 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
19439 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19441 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
19443 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19446 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
19447 part of result to imaginary part of argument if it is zero and the
19448 real part of the argument is not finite.
19449 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
19450 of result to real part of argument if it is zero and the imaginary
19451 part of the argument is not finite.
19453 2017-12-07 Mike FABIAN <mfabian@redhat.com>
19456 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
19457 and to the list of locales to be built for testing.
19458 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
19459 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
19460 and build the collation rules upon that.
19462 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19464 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
19465 * manual/math.texi (Mathematics): Document support for _Float32.
19466 * math/Makefile (test-types): Add float32.
19467 * math/Versions (GLIBC_2.27): Add _Float32 functions.
19468 * stdlib/Versions (GLIBC_2.27): Likewise.
19469 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19470 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19471 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19472 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19473 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19474 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19475 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19476 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19477 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19478 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19479 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19480 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19481 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19482 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19483 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19484 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19485 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19486 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19487 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19488 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19489 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19490 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19492 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19493 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19494 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19495 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19496 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19514 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19515 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19516 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19517 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19518 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19519 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19520 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19521 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19522 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19523 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19532 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19533 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19534 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19535 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19536 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19537 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19538 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19539 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19541 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19543 * stdlib/strtof.c: Include <bits/floatn.h>
19544 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
19545 and later undefine as macro. Define as weak alias if
19547 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
19548 and later undefine as macro. Define as weak alias if
19550 * stdlib/strtof_l.c: Include <bits/floatn.h>
19551 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
19552 and later undefine as macro. Define as weak alias if
19554 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
19555 and later undefine as macro. Define as weak alias if
19558 * stdlib/strfromf.c: Include <bits/floatn.h>.
19559 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
19560 and later undefine as macro and define as weak alias.
19562 * math/test-float32.h: New file.
19564 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
19565 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
19566 (libm_alias_float_other_r): Create f32 alias.
19567 (libm_alias_float_r): Use semicolon before call to
19568 libm_alias_float_other_r.
19570 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
19571 second argument to libm_alias_float_other.
19572 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
19573 second argument to libm_alias_float_other.
19574 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
19575 argument to libm_alias_float_other.
19578 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
19579 real part of result for argument 0 + i * NaN.
19580 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
19581 results for tests of 0 + i * NaN.
19583 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19585 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19587 2017-12-06 David S. Miller <davem@davemloft.net>
19589 * sysdeps/sparc/fpu/libm-test-ulps: Update
19590 exp_{downward,towardzero,upward} ulps.
19592 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19594 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
19597 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
19599 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
19601 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
19603 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
19606 2017-12-06 Mike FABIAN <mfabian@redhat.com>
19609 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
19610 and to the list of locales to be built for testing.
19611 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
19612 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
19613 and build the collation rules upon that.
19615 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19617 * NEWS: Add sinf to list of optimized functions.
19619 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19621 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
19622 (__HAVE_FLOAT32X): Likewise.
19623 * manual/math.texi (Mathematics): Document support for _Float64
19625 * math/Makefile (test-types): Add float64 and float32x.
19626 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
19628 * stdlib/Versions (GLIBC_2.27): Likewise.
19629 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19630 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19631 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19632 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19633 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19634 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19635 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19636 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19637 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19638 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19639 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19640 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19641 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19642 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19643 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19644 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19645 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19646 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19647 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19648 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19649 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19650 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19652 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19653 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19654 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19655 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19656 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19673 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19674 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19675 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19676 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19677 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19678 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19679 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19680 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19681 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19682 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19691 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19692 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19693 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19694 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19695 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19696 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19697 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19698 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19700 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19702 * bits/floatn-common.h: Include <bits/long-double.h>.
19703 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19704 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
19705 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19706 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
19707 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19708 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
19709 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19710 (__builtin_huge_valf64): Use __builtin_huge_vall.
19711 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19712 (__builtin_inff64): Use __builtin_infl.
19713 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19714 (__builtin_nanf64): Use __builtin_nanl.
19715 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19716 (__builtin_nansf64): Use __builtin_nansl.
19718 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
19719 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19720 Carlos O'Donnell <carlos@redhat.com>
19722 * elf/dl-tunables.list: Add elision parameters.
19723 * manual/tunables.texi: Add entries about elision tunable.
19724 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
19725 Add callback functions to dynamically enable/disable elision.
19726 Add multiple callbacks functions to set elision parameters.
19727 Deleted __libc_enable_secure check.
19728 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
19729 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
19730 * configure: Regenerated.
19731 * configure.ac: Option enable_lock_elision was deleted.
19732 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
19733 * config.make.in: Remove references to enable_lock_elision.
19734 * manual/install.texi: Elision configure option was removed.
19735 * INSTALL: Regenerated to remove enable_lock_elision.
19737 Disable elision so it can verify error case for destroying a mutex.
19738 * sysdeps/powerpc/nptl/elide.h:
19739 Cleanup ENABLE_LOCK_ELISION check.
19740 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
19741 * sysdeps/s390/configure: Regenerated.
19742 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
19743 * nptl/tst-mutex8.c:
19744 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
19745 * sysdeps/powerpc/powerpc32/sysdep.h:
19746 Deleted all ENABLE_LOCK_ELISION checks.
19747 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19748 * sysdeps/powerpc/sysdep.h: Likewise.
19749 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
19750 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
19751 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19752 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19753 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19754 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
19755 enable-lock-elision.
19757 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19759 * stdlib/strtod.c: Include <bits/floatn.h>.
19760 (BUILD_DOUBLE): New macro.
19761 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19762 (strtof64): Define and later undefine as macro. Define as weak
19763 alias if [!USE_WIDE_CHAR].
19764 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19765 (wcstof64): Define and later undefine as macro. Define as weak
19766 alias if [USE_WIDE_CHAR].
19767 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19768 (strtof32x): Define and later undefine as macro. Define as weak
19769 alias if [!USE_WIDE_CHAR].
19770 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19771 (wcstof32x): Define and later undefine as macro. Define as weak
19772 alias if [USE_WIDE_CHAR].
19773 * stdlib/strtod_l.c: Include <bits/floatn.h>.
19774 (BUILD_DOUBLE): New macro.
19775 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19776 (strtof64_l): Define and later undefine as macro. Define as weak
19777 alias if [!USE_WIDE_CHAR].
19778 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19779 (wcstof64_l): Define and later undefine as macro. Define as weak
19780 alias if [USE_WIDE_CHAR].
19781 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19782 (strtof32x_l): Define and later undefine as macro. Define as weak
19783 alias if [!USE_WIDE_CHAR].
19784 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19785 (wcstof32x_l): Define and later undefine as macro. Define as weak
19786 alias if [USE_WIDE_CHAR].
19788 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19790 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
19791 (reduced): Use ones as double instead of integer.
19793 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
19795 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
19797 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19799 * stdlib/strfromd.c: Include <bits/floatn.h>.
19800 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
19801 and later undefine as macro and define as weak alias.
19802 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
19805 * math/test-float32x.h: New file.
19806 * math/test-float64.h: Likewise.
19808 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
19809 (libm_alias_double_other_r_f64): New macro.
19810 (libm_alias_double_other_r_f32x): Likewise.
19811 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19812 libm_alias_double_other_r_f32x.
19813 (libm_alias_double_r): Use semicolon before call to
19814 libm_alias_double_other_r.
19815 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
19817 (libm_alias_double_other_r_f64): New macro.
19818 (libm_alias_double_other_r_f32x): Likewise.
19819 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19820 libm_alias_double_other_r_f32x.
19822 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
19824 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
19826 (SINF_FUNC): Likewise. Replace floor with simple casts.
19828 2017-12-05 Mike FABIAN <mfabian@redhat.com>
19831 * localedata/Makefile: Add et_EE.UTF-8 to test-input
19832 and to the list of locales to be built for testing.
19833 * localedata/et_EE.UTF-8.in: New file for testing the collation.
19834 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
19835 and build the collation rules upon that.
19837 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
19839 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
19840 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
19841 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
19842 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
19843 instead of __insn__xxx.
19844 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
19845 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
19846 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
19847 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
19848 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
19849 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
19851 2017-12-05 Florian Weimer <fweimer@redhat.com>
19853 Linux: Implement interfaces for memory protection keys
19854 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
19856 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
19857 * support/xunistd.h (xsysconf): Declare.
19858 * support/xraise.c: New file.
19859 * support/xsigaction.c: Likewise.
19860 * support/xsignal.c: Likewise.
19861 * support/xsysconf.c: Likewise.
19862 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
19863 pkey_set, pkey_get, pkey_mprotect.
19864 [misc] (tests): Add tst-pkey.
19865 (tst-pkey): Link with -lpthread.
19866 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
19867 pkey_free, pkey_set, pkey_get, pkey_mprotect.
19868 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
19869 (PKEY_DISABLE_WRITE): Define.
19870 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
19872 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
19873 (SEGV_PKUERR): Add.
19874 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
19875 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
19876 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
19877 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
19879 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
19880 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
19881 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
19882 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
19883 * sysdeps/unix/sysv/linux/**.abilist: Update.
19885 2017-12-05 Florian Weimer <fweimer@redhat.com>
19887 * support/tst-test_compare.c (subprocess): Use long long instead
19888 of long argument for consistent type width across 32-bit and
19889 64-bit architectures.
19890 (do_test): Adjust expected output.
19892 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19894 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
19895 (cosf): Define using libm_alias_float.
19896 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
19897 (fabsf): Define using libm_alias_float.
19898 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
19899 (fmaf): Define using libm_alias_float.
19900 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
19901 (rintf): Define using libm_alias_float.
19902 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
19903 (sinf): Define using libm_alias_float.
19904 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
19905 <libm-alias-float.h>.
19906 (modff): Define using libm_alias_float.
19907 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
19908 <libm-alias-float.h>.
19909 (logbf): Define using libm_alias_float.
19910 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
19911 <libm-alias-float.h>.
19912 (ceilf): Define using libm_alias_float.
19913 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19914 <libm-alias-float.h>.
19915 (copysignf): Define using libm_alias_float.
19916 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
19917 <libm-alias-float.h>.
19918 (floorf): Define using libm_alias_float.
19919 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19920 <libm-alias-float.h>.
19921 (llrintf): Define using libm_alias_float.
19922 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19923 <libm-alias-float.h>.
19924 (llroundf): Define using libm_alias_float.
19925 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19926 <libm-alias-float.h>.
19927 (lrintf): Define using libm_alias_float.
19928 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19929 <libm-alias-float.h>.
19930 (lroundf): Define using libm_alias_float.
19931 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
19932 <libm-alias-float.h>.
19933 (nearbyintf): Define using libm_alias_float.
19934 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
19935 <libm-alias-float.h>.
19936 (rintf): Define using libm_alias_float.
19937 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
19938 <libm-alias-float.h>.
19939 (roundf): Define using libm_alias_float.
19940 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
19941 <libm-alias-float.h>.
19942 (truncf): Define using libm_alias_float.
19943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
19944 Include <libm-alias-float.h>.
19945 (ceilf): Define using libm_alias_float.
19946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
19947 Include <libm-alias-float.h>.
19948 (copysignf): Define using libm_alias_float.
19949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
19950 Include <libm-alias-float.h>.
19951 (floorf): Define using libm_alias_float.
19952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
19953 Include <libm-alias-float.h>.
19954 (llrintf): Define using libm_alias_float.
19955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
19956 Include <libm-alias-float.h>.
19957 (llroundf): Define using libm_alias_float.
19958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
19959 Include <libm-alias-float.h>.
19960 (logbf): Define using libm_alias_float.
19961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
19962 Include <libm-alias-float.h>.
19963 (lrintf): Define using libm_alias_float.
19964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
19965 Include <libm-alias-float.h>.
19966 (lroundf): Define using libm_alias_float.
19967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
19968 Include <libm-alias-float.h>.
19969 (modff): Define using libm_alias_float.
19970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
19971 Include <libm-alias-float.h>.
19972 (roundf): Define using libm_alias_float.
19973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
19974 Include <libm-alias-float.h>.
19975 (truncf): Define using libm_alias_float.
19976 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
19977 <libm-alias-float.h>.
19978 (llrintf): Define using libm_alias_float.
19979 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19980 <libm-alias-float.h>.
19981 (llroundf): Define using libm_alias_float.
19982 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
19983 <libm-alias-float.h>.
19984 (ceilf): Define using libm_alias_float.
19985 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
19986 <libm-alias-float.h>.
19987 (floorf): Define using libm_alias_float.
19988 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19989 <libm-alias-float.h>.
19990 (llroundf): Define using libm_alias_float.
19991 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19992 <libm-alias-float.h>.
19993 (lroundf): Define using libm_alias_float.
19994 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
19995 <libm-alias-float.h>.
19996 (roundf): Define using libm_alias_float.
19997 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
19998 <libm-alias-float.h>.
19999 (truncf): Define using libm_alias_float.
20000 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20001 <libm-alias-float.h>.
20002 (copysignf): Define using libm_alias_float.
20003 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
20004 <libm-alias-float.h>.
20005 (llrintf): Define using libm_alias_float.
20006 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20007 <libm-alias-float.h>.
20008 (llroundf): Define using libm_alias_float.
20009 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20010 <libm-alias-float.h>.
20011 (lrintf): Define using libm_alias_float.
20012 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20013 <libm-alias-float.h>.
20014 (lroundf): Define using libm_alias_float.
20015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
20016 <libm-alias-float.h>.
20017 (ceilf): Define using libm_alias_float.
20018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
20019 <libm-alias-float.h>.
20020 (copysignf): Define using libm_alias_float.
20021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
20022 <libm-alias-float.h>.
20023 (cosf): Define using libm_alias_float.
20024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
20025 <libm-alias-float.h>.
20026 (floorf): Define using libm_alias_float.
20027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
20028 <libm-alias-float.h>.
20029 (llrintf): Define using libm_alias_float.
20030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
20031 <libm-alias-float.h>.
20032 (llroundf): Define using libm_alias_float.
20033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
20034 <libm-alias-float.h>.
20035 (logbf): Define using libm_alias_float.
20036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
20037 <libm-alias-float.h>.
20038 (modff): Define using libm_alias_float.
20039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
20040 <libm-alias-float.h>.
20041 (roundf): Define using libm_alias_float.
20042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
20043 <libm-alias-float.h>.
20044 (sinf): Define using libm_alias_float.
20045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
20046 <libm-alias-float.h>.
20047 (truncf): Define using libm_alias_float.
20048 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
20049 <libm-alias-float.h>.
20050 (ceilf): Define using libm_alias_float.
20051 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20052 <libm-alias-float.h>.
20053 (copysignf): Define using libm_alias_float.
20054 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
20055 <libm-alias-float.h>.
20056 (floorf): Define using libm_alias_float.
20057 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20058 <libm-alias-float.h>.
20059 (llrintf): Define using libm_alias_float.
20060 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
20061 <libm-alias-float.h>.
20062 (llroundf): Define using libm_alias_float.
20063 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
20064 <libm-alias-float.h>.
20065 (nearbyintf): Define using libm_alias_float.
20066 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
20067 <libm-alias-float.h>.
20068 (rintf): Define using libm_alias_float.
20069 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
20070 <libm-alias-float.h>.
20071 (roundf): Define using libm_alias_float.
20072 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
20073 <libm-alias-float.h>.
20074 (truncf): Define using libm_alias_float.
20075 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
20076 <libm-alias-float.h>.
20077 (ceilf): Define using libm_alias_float.
20078 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
20079 <libm-alias-float.h>.
20080 (floorf): Define using libm_alias_float.
20081 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20082 <libm-alias-float.h>.
20083 (llroundf): Define using libm_alias_float.
20084 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
20085 <libm-alias-float.h>.
20086 (roundf): Define using libm_alias_float.
20087 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
20088 <libm-alias-float.h>.
20089 (truncf): Define using libm_alias_float.
20090 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20091 <libm-alias-float.h>.
20092 (copysignf): Define using libm_alias_float.
20093 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20094 <libm-alias-float.h>.
20095 (llrintf): Define using libm_alias_float.
20096 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20097 <libm-alias-float.h>.
20098 (llroundf): Define using libm_alias_float.
20099 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
20100 <libm-alias-float.h>.
20101 (cosf): Define using libm_alias_float.
20102 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20103 <libm-alias-float.h>.
20104 (llrintf): Define using libm_alias_float.
20105 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20106 <libm-alias-float.h>.
20107 (llroundf): Define using libm_alias_float.
20108 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
20109 <libm-alias-float.h>.
20110 (sinf): Define using libm_alias_float.
20112 2017-12-04 Florian Weimer <fweimer@redhat.com>
20114 * support/check.h (TEST_COMPARE): Define.
20115 (support_test_compare_failure): Declare.
20116 * support/Makefile (libsupport-routines): Add
20117 support_test_compare_failure.
20118 (tests): Add tst-test_compare.
20119 * support /support_test_compare_failure.c: New file.
20120 * support/tst-test_compare.c: Likewise.
20122 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20125 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
20126 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
20127 available, this rewrite of the collation rules does reproduce
20128 the test file in the same order.
20130 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20133 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
20134 digraphs in the month and day names. Using single code points for
20135 digraphs is deprecated. While there are dedicated Unicode
20136 codepoints, for the digraphs, these are included for backwards
20137 compatibility and modern texts use a sequence of Basic Latin
20138 characters. See: https://www.unicode.org/faq/ligature_digraph.html
20139 This makes the month and day names agree exactly with CLDR now,
20140 CLDR does not use the single code points for the digraphs either.
20142 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
20144 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
20146 2017-12-04 Joseph Myers <joseph@codesourcery.com>
20148 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
20151 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
20153 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
20154 Define only for libc.so.
20156 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
20158 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20159 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
20160 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
20161 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
20162 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20164 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20167 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
20169 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
20172 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
20173 PREINIT_FUNCTION_WEAK is nonzero.
20174 (gmon_initializer): New function. Put procedure label for it in
20175 .init_array section.
20176 (_init): Don't call PREINIT_FUNCTION.
20177 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
20178 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
20179 value when map argument is null.
20181 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
20182 depi instruction from PIC pc-relative sequence.
20183 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
20184 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
20185 (elf_machine_load_address): Likewise.
20186 (elf_machine_runtime_setup): Likewise.
20188 2017-12-02 Joseph Myers <joseph@codesourcery.com>
20190 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
20191 <libm-alias-double.h>.
20192 (logb): Define using libm_alias_double.
20193 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20194 <libm-alias-double.h>.
20195 (copysign): Define using libm_alias_double.
20196 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
20197 <libm-alias-double.h>.
20198 (llrint): Define using libm_alias_double.
20199 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
20200 <libm-alias-double.h>.
20201 (llround): Define using libm_alias_double.
20202 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20203 <libm-alias-double.h>.
20204 (lrint): Define using libm_alias_double.
20205 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20206 <libm-alias-double.h>.
20207 (lround): Define using libm_alias_double.
20208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20209 Include <libm-alias-double.h>.
20210 (copysign): Define using libm_alias_double.
20211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
20212 Include <libm-alias-double.h>.
20213 (llrint): Define using libm_alias_double.
20214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
20215 Include <libm-alias-double.h>.
20216 (llround): Define using libm_alias_double.
20217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
20218 <libm-alias-double.h>.
20219 (logb): Define using libm_alias_double.
20220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
20221 Include <libm-alias-double.h>.
20222 (lrint): Define using libm_alias_double.
20223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
20224 Include <libm-alias-double.h>.
20225 (lround): Define using libm_alias_double.
20226 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
20227 <libm-alias-double.h>.
20228 (llrint): Define using libm_alias_double.
20229 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20230 <libm-alias-double.h>.
20231 (llround): Define using libm_alias_double.
20232 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20233 <libm-alias-double.h>.
20234 (llround): Define using libm_alias_double.
20235 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20236 <libm-alias-double.h>.
20237 (lround): Define using libm_alias_double.
20238 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20239 <libm-alias-double.h>.
20240 (copysign): Define using libm_alias_double.
20241 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
20242 <libm-alias-double.h>.
20243 (llrint): Define using libm_alias_double.
20244 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20245 <libm-alias-double.h>.
20246 (llround): Define using libm_alias_double.
20247 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20248 <libm-alias-double.h>.
20249 (lrint): Define using libm_alias_double.
20250 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20251 <libm-alias-double.h>.
20252 (lround): Define using libm_alias_double.
20253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
20254 <libm-alias-double.h>.
20255 (copysign): Define using libm_alias_double.
20256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
20257 <libm-alias-double.h>.
20258 (llrint): Define using libm_alias_double.
20260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
20261 <libm-alias-double.h>.
20262 (llround): Define using libm_alias_double.
20263 (lround): Likewise.
20264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
20265 <libm-alias-double.h>.
20266 (logb): Define using libm_alias_double.
20267 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20268 <libm-alias-double.h>.
20269 (copysign): Define using libm_alias_double.
20270 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20271 <libm-alias-double.h>.
20272 (llrint): Define using libm_alias_double.
20274 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
20275 <libm-alias-double.h>.
20276 (llround): Define using libm_alias_double.
20277 (lround): Likewise.
20278 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20279 <libm-alias-double.h>.
20280 (llround): Define using libm_alias_double.
20281 (lround): Likewise.
20282 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20283 <libm-alias-double.h>.
20284 (copysign): Define using libm_alias_double.
20285 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20286 <libm-alias-double.h>.
20287 (llrint): Define using libm_alias_double.
20289 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20290 <libm-alias-double.h>.
20291 (llround): Define using libm_alias_double.
20292 (lround): Likewise.
20293 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20294 <libm-alias-double.h>.
20295 (llrint): Define using libm_alias_double.
20297 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20298 <libm-alias-double.h>.
20299 (llround): Define using libm_alias_double.
20300 (lround): Likewise.
20302 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20305 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
20306 compat symbol based on llround.
20308 * sysdeps/powerpc/power7/fpu/s_logb.c
20309 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
20310 symbol based on __logb, not on logb.
20311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
20312 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
20314 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20316 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
20317 (rint): Define using libm_alias_double.
20318 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
20319 <libm-alias-double.h>.
20320 (modf): Define using libm_alias_double.
20321 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
20322 <libm-alias-double.h>.
20323 (ceil): Define using libm_alias_double.
20324 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
20325 <libm-alias-double.h>.
20326 (floor): Define using libm_alias_double.
20327 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
20328 <libm-alias-double.h>.
20329 (nearbyint): Define using libm_alias_double.
20330 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
20331 <libm-alias-double.h>.
20332 (rint): Define using libm_alias_double.
20333 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
20334 <libm-alias-double.h>.
20335 (round): Define using libm_alias_double.
20336 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
20337 <libm-alias-double.h>.
20338 (trunc): Define using libm_alias_double.
20339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
20340 <libm-alias-double.h>.
20341 (ceil): Define using libm_alias_double.
20342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
20343 Include <libm-alias-double.h>.
20344 (floor): Define using libm_alias_double.
20345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
20346 <libm-alias-double.h>.
20347 (modf): Define using libm_alias_double.
20348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
20349 Include <libm-alias-double.h>.
20350 (round): Define using libm_alias_double.
20351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
20352 Include <libm-alias-double.h>.
20353 (trunc): Define using libm_alias_double.
20354 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
20355 <libm-alias-double.h>.
20356 (ceil): Define using libm_alias_double.
20357 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
20358 <libm-alias-double.h>.
20359 (floor): Define using libm_alias_double.
20360 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
20361 <libm-alias-double.h>.
20362 (round): Define using libm_alias_double.
20363 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
20364 <libm-alias-double.h>.
20365 (trunc): Define using libm_alias_double.
20366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
20367 <libm-alias-double.h>.
20368 (ceil): Define using libm_alias_double.
20369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
20370 <libm-alias-double.h>.
20371 (floor): Define using libm_alias_double.
20372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
20373 <libm-alias-double.h>.
20374 (modf): Define using libm_alias_double.
20375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
20376 <libm-alias-double.h>.
20377 (round): Define using libm_alias_double.
20378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
20379 <libm-alias-double.h>.
20380 (trunc): Define using libm_alias_double.
20381 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
20382 <libm-alias-double.h>.
20383 (ceil): Define using libm_alias_double.
20384 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
20385 <libm-alias-double.h>.
20386 (floor): Define using libm_alias_double.
20387 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
20388 <libm-alias-double.h>.
20389 (nearbyint): Define using libm_alias_double.
20390 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
20391 <libm-alias-double.h>.
20392 (rint): Define using libm_alias_double.
20393 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
20394 <libm-alias-double.h>.
20395 (round): Define using libm_alias_double.
20396 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
20397 <libm-alias-double.h>.
20398 (trunc): Define using libm_alias_double.
20399 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
20400 <libm-alias-double.h>.
20401 (ceil): Define using libm_alias_double.
20402 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
20403 <libm-alias-double.h>.
20404 (floor): Define using libm_alias_double.
20405 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
20406 <libm-alias-double.h>.
20407 (round): Define using libm_alias_double.
20408 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
20409 <libm-alias-double.h>.
20410 (trunc): Define using libm_alias_double.
20412 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
20413 (fabs): Define using libm_alias_double.
20414 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
20415 (fma): Define using libm_alias_double.
20416 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
20417 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
20418 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
20419 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
20421 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20423 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
20425 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
20426 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
20427 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
20430 due redirect macro.
20432 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
20434 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
20436 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20438 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
20439 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
20440 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
20441 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
20443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20444 (libm-sysdep_routines): Add s_nearbyintf-generic and
20445 s_nearbyint-generic.
20446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
20448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
20449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
20451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
20453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
20455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20459 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
20460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
20462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
20463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
20465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
20466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
20467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20470 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
20471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
20473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
20474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
20476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
20477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
20478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
20480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20481 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
20482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
20484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
20485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
20487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
20488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
20489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20492 (sysdep_calls): New rule.
20493 (sysdep_routines): Use sysdep_calls as base.
20494 (libm-sysdep_routines): Add generic rule for symbols shared with
20495 libc. Add s_copysign-generic and s_copysign-generic objects.
20496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
20498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
20499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
20501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
20502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
20503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
20505 2017-12-01 Mike FABIAN <mfabian@redhat.com>
20508 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
20509 the list of locales to be built for testing.
20510 * localedata/is_IS.UTF-8.in: New file.
20511 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
20514 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20516 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
20517 <libm-alias-float.h>.
20518 (fabsf): Define using libm_alias_float.
20520 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20522 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
20524 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20526 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
20527 <libm-alias-float.h>.
20528 (fabsf): Define using libm_alias_float.
20529 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
20530 <libm-alias-float.h>.
20531 (lrintf): Define using libm_alias_float.
20532 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
20533 <libm-alias-float.h>.
20534 (rintf): Define using libm_alias_float.
20536 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
20537 <libm-alias-double.h>.
20538 (fabs): Define using libm_alias_double.
20539 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
20540 <libm-alias-double.h>.
20541 (lrint): Define using libm_alias_double.
20542 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
20543 <libm-alias-double.h>.
20544 (rint): Define using libm_alias_double.
20546 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
20547 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
20548 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
20549 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
20550 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
20551 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
20552 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
20553 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
20554 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
20555 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
20556 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
20557 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
20558 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
20559 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
20560 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
20561 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
20562 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
20563 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
20565 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
20566 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
20567 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
20569 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
20570 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
20571 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
20573 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
20574 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
20575 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
20576 s_expm1_template.c.
20577 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
20578 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
20579 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
20581 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
20582 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
20583 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
20584 s_floor_template.c.
20585 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
20586 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
20587 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
20588 s_frexp_template.c.
20589 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
20590 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
20591 s_lrint_template.c.
20592 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
20593 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
20594 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
20596 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
20597 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
20598 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
20599 s_nearbyint_template.c.
20600 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
20601 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
20602 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
20603 s_remquo_template.c.
20604 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
20605 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
20606 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
20608 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
20609 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
20610 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
20612 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
20613 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
20614 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
20615 s_sincos_template.c.
20616 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
20617 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
20618 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
20620 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
20621 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
20622 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
20624 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
20625 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
20626 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
20627 s_trunc_template.c.
20628 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
20629 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
20630 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
20631 s_atan.c instead of including s_atan.c.
20632 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
20633 s_atanf.c instead of including s_atanf.c.
20634 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
20635 s_atanl.c instead of including s_atanl.c.
20636 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
20637 instead of s_atan.c.
20638 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
20639 instead of s_atanf.c.
20640 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
20641 instead of s_atanl.c.
20643 * scripts/update-copyrights: Do not handle intl/plural.c
20646 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
20649 * configure.ac (BISON): Require to be present.
20650 * configure: Regenerated.
20651 * intl/Makefile (generated): Add plural.c.
20652 [$(BISON) != no]: Make code unconditional.
20653 (plural.c): Change rule to $(objpfx)plural.c.
20654 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
20655 * intl/plural.c: Remove.
20656 * manual/install.texi (Tools for Compilation): Document bison as
20658 * INSTALL: Regenerated.
20660 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20662 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
20663 <libm-alias-double.h>.
20664 (llrint): Define using libm_alias_double.
20665 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
20666 <libm-alias-float.h>.
20667 (llrintf): Define using libm_alias_float.
20668 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
20669 <libm-alias-ldouble.h>.
20670 (llrintl): Define using libm_alias_ldouble.
20672 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
20673 declare_mgen_alias instead of weak_alias.
20674 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
20675 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
20676 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
20678 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20680 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20682 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
20683 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
20684 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
20686 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20687 Add submul_1-generic.
20688 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
20689 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
20690 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
20692 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20693 Add addmul_1-generic.
20694 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
20695 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
20696 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
20698 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20700 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
20701 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
20702 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
20704 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20706 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
20707 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
20708 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
20710 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20712 According to CLDR, collation rules for Serbian and Bosnian
20713 should be the same as for Croatian.
20716 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
20717 and to the list of locales to be built for testing.
20718 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20719 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20720 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
20721 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
20723 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20725 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
20726 to make test case pass.
20727 * localedata/hr_HR.UTF-8.in: Add more test strings.
20729 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20731 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
20733 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20735 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
20736 the list of locales to built for testing.
20737 * localedata/hr_HR.UTF-8.in: New file.
20739 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20742 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
20744 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
20745 CLDR (except use ligatures for the digraphs, CLDR does not use
20746 the ligatures), add first_workday, some fixes in the date and time
20748 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
20750 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
20751 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
20752 Add int_p_cs_precedes and int_n_cs_precedes.
20753 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
20754 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
20756 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
20757 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
20759 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
20760 and lang_lib. Change postal_fmt.
20762 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20764 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
20766 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20767 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
20768 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20769 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
20770 * sysdeps/generic/setjmpP.h: New file.
20771 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
20772 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
20773 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
20774 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
20775 Add jmp_buf-ssp.sym.
20776 (tests): Add tst-saved_mask-1.
20778 2017-11-30 Arjun Shankar <arjun@redhat.com>
20782 * malloc/malloc.c (__libc_malloc): Use checked_request2size
20783 instead of request2size.
20785 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
20788 (__lllrint): Remove alias.
20789 (lllrint): Likewise.
20790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
20791 (__lllrintf): Likewise.
20792 (lllrintf): Likewise.
20794 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
20795 <libm-alias-float.h>.
20796 (copysignf): Define using libm_alias_float.
20797 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
20798 <libm-alias-float.h>.
20799 (fabsf): Define using libm_alias_float.
20800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20801 Include <libm-alias-float.h>.
20802 (copysignf): Define using libm_alias_float.
20803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
20804 <libm-alias-float.h>.
20805 (fabsf): Define using libm_alias_float.
20806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
20807 <libm-alias-float.h>.
20808 (fdimf): Define using libm_alias_float.
20809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
20810 <libm-alias-float.h>.
20811 (fmaf): Define using libm_alias_float.
20812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
20813 <libm-alias-float.h>.
20814 (llrintf): Define using libm_alias_float.
20815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20816 Include <libm-alias-float.h>.
20817 (nearbyintf): Define using libm_alias_float.
20818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
20819 <libm-alias-float.h>.
20820 (rintf): Define using libm_alias_float.
20821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
20822 <libm-alias-float.h>.
20823 (llrintf): Define using libm_alias_float.
20824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
20825 <libm-alias-float.h>.
20826 (lrintf): Define using libm_alias_float.
20827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
20828 <libm-alias-float.h>.
20829 (nearbyintf): Define using libm_alias_float.
20830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
20831 <libm-alias-float.h>.
20832 (rintf): Define using libm_alias_float.
20833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
20834 <libm-alias-float.h>.
20835 (ceilf): Define using libm_alias_float.
20836 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
20837 <libm-alias-float.h>.
20838 (floorf): Define using libm_alias_float.
20839 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
20840 <libm-alias-float.h>.
20841 (fmaf): Define using libm_alias_float.
20842 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
20843 <libm-alias-float.h>.
20844 (lrintf): Define using libm_alias_float.
20845 (llrintf): Likewise.
20846 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
20847 <libm-alias-float.h>.
20848 (nearbyintf): Define using libm_alias_float.
20849 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
20850 <libm-alias-float.h>.
20851 (rintf): Define using libm_alias_float.
20852 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
20853 <libm-alias-float.h>.
20854 (truncf): Define using libm_alias_float.
20855 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
20856 <libm-alias-float.h>.
20857 (copysignf): Define using libm_alias_float.
20858 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
20859 <libm-alias-float.h>.
20860 (fabsf): Define using libm_alias_float.
20861 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
20862 <libm-alias-float.h>.
20863 (lrintf): Define using libm_alias_float.
20864 (llrintf): Likewise.
20865 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
20866 <libm-alias-float.h>.
20867 (nearbyintf): Define using libm_alias_float.
20868 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
20869 <libm-alias-float.h>.
20870 (rintf): Define using libm_alias_float.
20872 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20874 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
20875 <libm-alias-double.h>.
20876 (copysign): Define using libm_alias_double.
20877 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
20878 <libm-alias-double.h>.
20879 (fabs): Define using libm_alias_double.
20880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20881 Include <libm-alias-double.h>.
20882 (copysign): Define using libm_alias_double.
20883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
20884 <libm-alias-double.h>.
20885 (fabs): Define using libm_alias_double.
20886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
20887 <libm-alias-double.h>.
20888 (fdim): Define using libm_alias_double.
20889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
20890 <libm-alias-double.h>.
20891 (fma): Define using libm_alias_double.
20892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
20893 <libm-alias-double.h>.
20894 (llrint): Define using libm_alias_double.
20895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
20896 Include <libm-alias-double.h>.
20897 (nearbyint): Define using libm_alias_double.
20898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
20899 <libm-alias-double.h>.
20900 (rint): Define using libm_alias_double.
20901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20902 <libm-alias-double.h>.
20903 (fabs): Define using libm_alias_double.
20904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
20905 <libm-alias-double.h>.
20906 (llrint): Define using libm_alias_double.
20907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
20908 <libm-alias-double.h>.
20909 (nearbyint): Define using libm_alias_double.
20910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
20911 <libm-alias-double.h>.
20912 (rint): Define using libm_alias_double.
20913 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
20914 <libm-alias-double.h>.
20915 (ceil): Define using libm_alias_double.
20916 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
20917 <libm-alias-double.h>.
20918 (floor): Define using libm_alias_double.
20919 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
20920 <libm-alias-double.h>.
20921 (fma): Define using libm_alias_double.
20922 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
20923 <libm-alias-double.h>.
20924 (lrint): Define using libm_alias_double.
20925 (llrint): Likewise.
20926 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
20927 <libm-alias-double.h>.
20928 (nearbyint): Define using libm_alias_double.
20929 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
20930 <libm-alias-double.h>.
20931 (rint): Define using libm_alias_double.
20932 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
20933 <libm-alias-double.h>.
20934 (trunc): Define using libm_alias_double.
20935 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
20936 <libm-alias-double.h>.
20937 (copysign): Define using libm_alias_double.
20938 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
20939 <libm-alias-double.h>.
20940 (fabs): Define using libm_alias_double.
20941 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
20942 <libm-alias-double.h>.
20943 (lrint): Define using libm_alias_double.
20944 (llrint): Likewise.
20945 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
20946 <libm-alias-double.h>.
20947 (nearbyint): Define using libm_alias_double.
20948 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
20949 <libm-alias-double.h>.
20950 (rint): Define using libm_alias_double.
20953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20955 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
20957 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20958 SPARC --disable-multi-arch glibc variants.
20960 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
20961 <libm-alias-float.h>.
20962 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20964 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
20965 <libm-alias-float.h>.
20966 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20968 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
20969 <libm-alias-float.h>.
20970 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20972 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
20973 <libm-alias-float.h>.
20974 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20976 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
20977 <libm-alias-float.h>.
20978 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20980 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
20981 <libm-alias-float.h>.
20982 (ceilf): Define using libm_alias_float.
20983 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
20984 <libm-alias-float.h>.
20985 (floorf): Define using libm_alias_float.
20986 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
20987 <libm-alias-float.h>.
20988 (fmaf): Define using libm_alias_float.
20989 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
20990 <libm-alias-float.h>.
20991 (nearbyintf): Define using libm_alias_float.
20992 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
20993 <libm-alias-float.h>.
20994 (rintf): Define using libm_alias_float.
20995 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
20996 <libm-alias-float.h>.
20997 (truncf): Define using libm_alias_float.
20998 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20999 (copysignf): Define using libm_alias_float.
21000 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
21001 (cosf): Define using libm_alias_float.
21002 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21003 (fabsf): Define using libm_alias_float.
21004 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21005 (fmaxf): Define using libm_alias_float.
21006 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
21007 (fminf): Define using libm_alias_float.
21008 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21009 (llrintf): Define using libm_alias_float.
21010 [!__ILP32__] (lrintf): Likewise.
21011 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
21012 (sincosf): Define using libm_alias_float.
21013 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
21014 (sinf): Define using libm_alias_float.
21015 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21016 (lrintf): Define using libm_alias_float.
21018 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
21019 <libm-alias-double.h>.
21020 (atan): Define using libm_alias_double.
21021 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
21022 <libm-alias-double.h>.
21023 (ceil): Define using libm_alias_double.
21024 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
21025 <libm-alias-double.h>.
21026 (floor): Define using libm_alias_double.
21027 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
21028 <libm-alias-double.h>.
21029 (fma): Define using libm_alias_double.
21030 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
21031 <libm-alias-double.h>.
21032 (nearbyint): Define using libm_alias_double.
21033 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
21034 <libm-alias-double.h>.
21035 (rint): Define using libm_alias_double.
21036 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
21037 <libm-alias-double.h>.
21038 (sin): Define using libm_alias_double.
21040 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
21041 <libm-alias-double.h>.
21042 (tan): Define using libm_alias_double.
21043 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
21044 <libm-alias-double.h>.
21045 (trunc): Define using libm_alias_double.
21046 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
21047 (copysign): Define using libm_alias_double.
21048 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
21049 (fabs): Define using libm_alias_double.
21050 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
21051 (fmax): Define using libm_alias_double.
21052 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
21053 (fmin): Define using libm_alias_double.
21054 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
21055 (llrint): Define using libm_alias_double.
21056 [!__ILP32__] (lrint): Likewise.
21057 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
21058 (lrint): Define using libm_alias_double.
21060 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21062 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21063 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
21065 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
21066 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
21067 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
21068 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
21069 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
21070 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21072 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21073 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
21075 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
21076 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
21077 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
21078 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
21079 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
21080 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21082 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21083 (libm-sysdep_routines): Add s_nearbyint-generic and
21084 s_nearbyintf-generic objects.
21085 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
21086 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
21087 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
21088 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
21089 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
21090 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
21092 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21093 Add s_finitef-generic and s_finite-generic objects.
21094 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
21095 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
21096 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
21097 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
21098 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
21099 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
21101 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21102 Add s_isinff-generic and s_isinf-generic objects.
21103 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
21104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
21105 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
21106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
21107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
21108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21110 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21111 Add s_isnanf-generic and s_isnan-generic objects.
21112 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
21113 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
21114 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
21115 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
21116 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
21117 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21119 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
21121 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
21123 (sysdep_routines): Use sysdep_calls as base.
21124 (libm-sysdep_routines): Add generic rule for symbols shared with
21125 libc. Add s_signbit-generic and s_signbitf-generic objects.
21126 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
21127 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
21128 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
21129 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
21130 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
21131 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21133 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21135 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
21136 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
21137 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
21138 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
21139 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
21140 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
21141 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
21142 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
21143 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
21144 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
21145 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
21146 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
21147 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
21148 libm_alias_float_r.
21149 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
21150 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
21152 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
21153 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
21154 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
21155 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
21156 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
21157 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
21158 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
21159 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
21160 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
21161 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
21163 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
21165 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
21166 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
21167 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
21168 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
21169 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
21170 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
21171 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
21172 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
21173 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
21174 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
21175 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
21176 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
21177 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
21178 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
21179 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
21180 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
21181 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
21182 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
21183 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
21185 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
21186 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
21187 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
21188 * sysdeps/ia64/fpu/w_lgammaf_main.c
21189 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
21190 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
21192 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21193 Alexandre Oliva <aoliva@redhat.com>
21196 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
21197 * localedata/fr_CA.UTF-8.in: New file with test data for backward
21199 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
21201 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
21202 * localedata/locales/de_DE (LC_COLLATE): Likewise.
21203 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
21204 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
21205 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
21206 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
21207 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
21208 instead of “ifdef DIACRIT_BACKWARD”.
21210 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21212 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
21213 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
21214 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
21215 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
21216 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
21217 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
21218 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
21219 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
21220 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
21221 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
21222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
21223 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
21224 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
21225 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
21226 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
21227 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21228 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
21229 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
21230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21231 ($(have-as-vis3) == yes): Remove conditional.
21232 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
21234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
21236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
21238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
21240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
21242 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
21243 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
21244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
21245 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
21246 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
21247 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
21248 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
21249 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
21251 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21253 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
21254 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
21255 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
21256 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
21257 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
21258 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
21259 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
21260 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
21261 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
21262 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
21263 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
21264 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
21265 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
21266 libm_alias_double_r.
21267 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
21269 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
21270 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
21271 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
21272 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
21273 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
21274 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
21275 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
21276 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
21277 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
21278 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
21279 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
21281 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
21283 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
21284 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
21285 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
21286 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
21287 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
21288 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
21289 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
21290 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
21291 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
21292 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
21293 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
21294 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
21295 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
21296 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
21297 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
21298 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
21299 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
21300 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
21302 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
21303 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
21304 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
21305 * sysdeps/ia64/fpu/w_lgamma_main.c
21306 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
21307 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
21309 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
21311 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
21312 address of $global$ into %dp register earlier. Use pc-relative
21313 instruction sequence for PIC case.
21315 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21317 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
21318 (asinhf): Define using libm_alias_float.
21319 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
21320 (atanf): Define using libm_alias_float.
21321 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
21322 (cbrtf): Define using libm_alias_float.
21323 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
21324 (ceilf): Define using libm_alias_float.
21325 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21326 (copysignf): Define using libm_alias_float.
21327 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
21328 (expm1f): Define using libm_alias_float.
21329 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
21330 (fabsf): Define using libm_alias_float.
21331 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
21332 (floorf): Define using libm_alias_float.
21333 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21334 (fmaxf): Define using libm_alias_float.
21335 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
21336 (fminf): Define using libm_alias_float.
21337 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
21338 (frexpf): Define using libm_alias_float.
21339 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21340 (llrintf): Define using libm_alias_float.
21341 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
21342 (logbf): Define using libm_alias_float.
21343 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21344 (lrintf): Define using libm_alias_float.
21345 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
21346 (nearbyintf): Define using libm_alias_float.
21347 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
21348 (remquof): Define using libm_alias_float.
21349 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
21350 (rintf): Define using libm_alias_float.
21351 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
21352 (truncf): Define using libm_alias_float.
21353 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
21354 <libm-alias-float.h>.
21355 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21357 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
21358 <libm-alias-float.h>.
21359 (expf): Define using libm_alias_float, or libm_alias_float_other
21361 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
21362 <libm-alias-float.h>.
21363 (log2f): Define using libm_alias_float, or libm_alias_float_other
21365 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
21366 <libm-alias-float.h>.
21367 (logf): Define using libm_alias_float, or libm_alias_float_other
21369 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
21370 <libm-alias-float.h>.
21371 (powf): Define using libm_alias_float, or libm_alias_float_other
21373 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
21374 <libm-alias-float.h>.
21375 (cosf): Define using libm_alias_float.
21376 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
21377 <libm-alias-float.h>.
21378 (sincosf): Define using libm_alias_float.
21379 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
21380 <libm-alias-float.h>.
21381 (sinf): Define using libm_alias_float.
21382 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21383 (fmaxf): Define using libm_alias_float.
21384 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
21385 (fminf): Define using libm_alias_float.
21386 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21387 <libm-alias-float.h>.
21388 (fmaf): Define using libm_alias_float.
21390 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
21391 (asinh): Define using libm_alias_double.
21392 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
21393 (atan): Define using libm_alias_double.
21394 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
21395 (cbrt): Define using libm_alias_double.
21396 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
21397 (ceil): Define using libm_alias_double.
21398 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
21399 (copysign): Define using libm_alias_double.
21400 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
21401 (expm1): Define using libm_alias_double.
21402 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
21403 (fabs): Define using libm_alias_double.
21404 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
21405 (fdim): Define using libm_alias_double.
21406 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
21407 (floor): Define using libm_alias_double.
21408 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
21409 (fmax): Define using libm_alias_double.
21410 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
21411 (fmin): Define using libm_alias_double.
21412 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
21413 (frexp): Define using libm_alias_double.
21414 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
21415 (llrint): Define using libm_alias_double.
21416 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
21417 (logb): Define using libm_alias_double.
21418 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
21419 (lrint): Define using libm_alias_double.
21420 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
21421 (nearbyint): Define using libm_alias_double.
21422 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
21423 (remquo): Define using libm_alias_double.
21424 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
21425 (rint): Define using libm_alias_double.
21426 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
21427 (trunc): Define using libm_alias_double.
21428 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
21429 (fmax): Define using libm_alias_double.
21430 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
21431 (fmin): Define using libm_alias_double.
21432 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
21433 (fma): Define using libm_alias_double.
21435 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
21438 * elf/dl-hwcaps.c (ROUND): Removed.
21439 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
21440 and ELF_NOTE_NEXT_OFFSET.
21441 * elf/dl-load.c (ROUND): Removed.
21442 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21443 * elf/readelflib.c (ROUND): Removed.
21444 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21445 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
21446 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
21447 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
21449 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21451 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21452 [!__fmaf] (fmaf): Define using libm_alias_float.
21454 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
21455 [!__fma] (fma): Define using libm_alias_double.
21456 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
21458 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21461 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
21462 and implement the collation rules for cs from CLDR on top of that.
21463 * Makefile: Add cs_CZ.UTF-8 to test-input.
21464 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
21466 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
21468 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
21470 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21471 Icarus Sparry <icarus.w.sparry@intel.com>
21473 * benchtests/Makefile:Add BENCHSET to allow subsets of
21474 benchmarks to be run.
21475 * benchtests/README: Add documentation for: Running subsets of
21478 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21480 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
21481 range of tests names.
21483 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
21484 result from property and remove "max", min" and "mean" from
21485 required properties based on benchtests/bench-skeleton.c.
21487 2017-11-28 Florian Weimer <fweimer@redhat.com>
21490 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
21491 due to Internet requirement.
21492 * posix/Makefile (tests): Remove tst-getaddrinfo4,
21494 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
21496 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21498 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21499 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
21500 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21501 (sysdep_routines): Add memset-ultra1.
21502 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
21504 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
21505 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
21506 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
21507 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
21508 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
21509 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
21510 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
21511 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21513 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
21515 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
21516 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
21517 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
21518 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
21519 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
21520 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
21521 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
21523 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21524 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
21525 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21526 (sysdep_routines): Add memcpy-ultra1.
21527 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
21528 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
21530 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21532 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
21533 (cfloat_versions): Take function argument without trailing 'f'.
21534 Call libm_alias_float_other.
21535 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
21536 * sysdeps/alpha/fpu/cargf.c: Likewise.
21537 * sysdeps/alpha/fpu/cimagf.c: Likewise.
21538 * sysdeps/alpha/fpu/conjf.c: Likewise.
21539 * sysdeps/alpha/fpu/crealf.c: Likewise.
21540 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
21541 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
21542 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
21543 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
21544 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
21545 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
21546 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
21547 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
21548 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
21549 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
21550 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
21551 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
21552 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
21553 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
21554 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
21555 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
21556 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
21557 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
21558 (clog10f): Use libm_alias_float_other.
21559 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21560 (ceilf): Define using libm_alias_float.
21561 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
21562 (copysignf): Define using libm_alias_float.
21563 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21564 (fabsf): Define using libm_alias_float.
21565 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
21566 (floorf): Define using libm_alias_float.
21567 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
21568 (fmaxf): Define using libm_alias_float.
21569 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
21570 (fminf): Define using libm_alias_float.
21571 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21572 (lrintf): Define using libm_alias_float.
21573 (llrintf): Likewise.
21574 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21575 (lroundf): Define using libm_alias_float.
21576 (llroundf): Likewise.
21577 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
21578 (rintf): Define using libm_alias_float.
21579 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
21580 (truncf): Define using libm_alias_float.
21582 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21583 (ceilf): Define using libm_alias_float.
21584 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
21585 (floorf): Define using libm_alias_float.
21586 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21587 (fmaf): Define using libm_alias_float.
21588 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
21589 (fmaxf): Define using libm_alias_float.
21590 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
21591 (fminf): Define using libm_alias_float.
21592 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
21593 (llrintf): Define using libm_alias_float.
21594 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
21595 (llroundf): Define using libm_alias_float.
21596 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21597 (lrintf): Define using libm_alias_float.
21598 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21599 (lroundf): Define using libm_alias_float.
21600 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
21601 <libm-alias-float.h>.
21602 (nearbyintf): Define using libm_alias_float.
21603 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
21604 (rintf): Define using libm_alias_float.
21605 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
21606 (roundf): Define using libm_alias_float.
21607 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
21608 (truncf): Define using libm_alias_float.
21610 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
21611 (ceil): Define using libm_alias_double.
21612 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
21613 (copysign): Define using libm_alias_double.
21614 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
21615 (fabs): Define using libm_alias_double.
21616 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
21617 (floor): Define using libm_alias_double.
21618 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
21619 (fmax): Define using libm_alias_double.
21620 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
21621 (fmin): Define using libm_alias_double.
21622 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
21623 (lrint): Define using libm_alias_double.
21624 (llrint): Likewise.
21625 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
21626 (lround): Define using libm_alias_double.
21627 (llround): Likewise.
21628 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
21629 (rint): Define using libm_alias_double.
21630 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
21631 (trunc): Define using libm_alias_double.
21633 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21634 (libm_alias_double_r): Add semicolon after weak_alias call.
21636 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21638 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
21639 (ceil): Define using libm_alias_double.
21640 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
21641 (floor): Define using libm_alias_double.
21642 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
21643 (fma): Define using libm_alias_double.
21644 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
21645 (fmax): Define using libm_alias_double.
21646 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
21647 (fmin): Define using libm_alias_double.
21648 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
21649 (llrint): Define using libm_alias_double.
21650 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
21651 (llround): Define using libm_alias_double.
21652 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
21653 (lrint): Define using libm_alias_double.
21654 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
21655 (lround): Define using libm_alias_double.
21656 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
21657 (nearbyint): Define using libm_alias_double.
21658 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
21659 (rint): Define using libm_alias_double.
21660 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
21661 (round): Define using libm_alias_double.
21662 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
21663 (trunc): Define using libm_alias_double.
21665 2017-11-27 Florian Weimer <fweimer@redhat.com>
21667 * sysdeps/unix/sysv/linux/mlock2.c: New file.
21668 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
21669 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
21670 (tests): Add tst-mlock2.
21671 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
21672 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
21673 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
21674 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
21675 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
21676 for mlock. Document mlock2.
21678 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21680 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
21681 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
21683 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
21685 * sysdeps/x86/Makeconfig: New file.
21686 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
21687 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21688 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
21689 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21690 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21691 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21692 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
21694 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21695 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21696 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21697 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21698 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21699 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21700 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21701 * manual/math.texi (Mathematics): Document support for _Float64x.
21702 * math/Versions (GLIBC_2.27): Add _Float64x functions.
21703 * stdlib/Versions (GLIBC_2.27): Likewise.
21704 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21705 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21706 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21707 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21708 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21709 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21710 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21711 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21712 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21713 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21714 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21715 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21720 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21721 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21722 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21723 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21724 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21725 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21726 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21727 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21728 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21729 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21730 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21731 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21732 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21733 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21735 2017-11-27 Andreas Schwab <schwab@suse.de>
21737 * elf/Makefile (dl-routines): Add dl-sort-maps.
21738 * elf/dl-sort-maps.c: New file.
21739 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
21740 (_dl_sort_maps): Declare.
21741 * elf/dl-fini.c (_dl_sort_fini): Remove.
21742 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
21743 * elf/dl-close.c (_dl_close_worker): Likewise.
21744 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
21746 * elf/dl-open.c (dl_open_worker): Likewise.
21748 2017-11-24 Joseph Myers <joseph@codesourcery.com>
21750 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
21751 using libm_alias_float128.
21752 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
21754 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
21756 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
21757 (setpayloadsigf128): Likewise.
21758 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
21760 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
21763 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
21764 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
21765 -mfloat128 to CFLAGS.
21767 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
21769 (CFLAGS-libm-test-support-float64x.c): New variable.
21770 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
21771 $(f128-loader-link) to gnulib-tests.
21773 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
21774 (libm_alias_float128_other_r): If
21775 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
21777 (libm_alias_float128_r): Add semicolon after weak_alias call.
21778 * sysdeps/generic/libm-alias-ldouble.h
21779 (libm_alias_ldouble_other_r_f128): New macro.
21780 (libm_alias_ldouble_other_r_f64x): Likewise.
21781 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21782 and libm_alias_ldouble_other_r_f64x.
21783 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
21784 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
21785 (libm_alias_ldouble_other_r_f128): New macro.
21786 (libm_alias_ldouble_other_r_f64x): Likewise.
21787 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21788 and libm_alias_ldouble_other_r_f64x.
21790 * stdlib/strfroml.c: Always include <stdlib.h>.
21791 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
21792 undefine as macro and define as weak alias.
21793 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
21794 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
21796 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
21797 Define and later undefine as macro and define as weak alias.
21799 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21800 Define and later undefine as macro. Define as weak alias if
21802 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
21803 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21804 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
21805 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21806 Define and later undefine as macro. Define as weak alias if
21808 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
21809 Define and later undefine as macro. Define as weak alias if
21811 * sysdeps/ieee754/float128/strtof128_l.c
21812 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
21813 Define and later undefine as macro. Define as weak alias if
21815 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
21816 Define and later undefine as macro. Define as weak alias if
21818 * sysdeps/ieee754/ldbl-128/strtold_l.c
21819 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21820 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21821 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21822 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21823 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
21824 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21825 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21826 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21827 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21828 * sysdeps/ieee754/ldbl-96/strtold_l.c
21829 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21830 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21831 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21832 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21834 * math/test-float64x.h: New file.
21835 * math/Makefile (type-float64x-yes): New variable.
21836 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
21838 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
21839 function-like macro.
21840 (min_of_type_): Likewise.
21841 (min_of_type_l): Likewise.
21842 (min_of_type_f128): Likewise.
21843 (min_of_type): Pass () as last argument of __MATH_TG.
21845 * stdlib/tst-strtod-round-skeleton.c
21846 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
21849 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
21850 for combinations of long double with _Float64 and _Float64x.
21852 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
21853 (__DECL_SIMD_cosf32): Likewise.
21854 (__DECL_SIMD_cosf64): Likewise.
21855 (__DECL_SIMD_cosf32x): Likewise.
21856 (__DECL_SIMD_cosf64x): Likewise.
21857 (__DECL_SIMD_cosf128x): Likewise.
21858 (__DECL_SIMD_sinf16): Likewise.
21859 (__DECL_SIMD_sinf32): Likewise.
21860 (__DECL_SIMD_sinf64): Likewise.
21861 (__DECL_SIMD_sinf32x): Likewise.
21862 (__DECL_SIMD_sinf64x): Likewise.
21863 (__DECL_SIMD_sinf128x): Likewise.
21864 (__DECL_SIMD_sincosf16): Likewise.
21865 (__DECL_SIMD_sincosf32): Likewise.
21866 (__DECL_SIMD_sincosf64): Likewise.
21867 (__DECL_SIMD_sincosf32x): Likewise.
21868 (__DECL_SIMD_sincosf64x): Likewise.
21869 (__DECL_SIMD_sincosf128x): Likewise.
21870 (__DECL_SIMD_logf16): Likewise.
21871 (__DECL_SIMD_logf32): Likewise.
21872 (__DECL_SIMD_logf64): Likewise.
21873 (__DECL_SIMD_logf32x): Likewise.
21874 (__DECL_SIMD_logf64x): Likewise.
21875 (__DECL_SIMD_logf128x): Likewise.
21876 (__DECL_SIMD_expf16): Likewise.
21877 (__DECL_SIMD_expf32): Likewise.
21878 (__DECL_SIMD_expf64): Likewise.
21879 (__DECL_SIMD_expf32x): Likewise.
21880 (__DECL_SIMD_expf64x): Likewise.
21881 (__DECL_SIMD_expf128x): Likewise.
21882 (__DECL_SIMD_powf16): Likewise.
21883 (__DECL_SIMD_powf32): Likewise.
21884 (__DECL_SIMD_powf64): Likewise.
21885 (__DECL_SIMD_powf32x): Likewise.
21886 (__DECL_SIMD_powf64x): Likewise.
21887 (__DECL_SIMD_powf128x): Likewise.
21889 * stdlib/Versions (libc): Move entries for wcstof128 and
21890 wcstof128_l to ....
21891 * wcsmbs/Versions (libc): ... here.
21892 Include <float128-abi.h>.
21894 2017-11-24 Florian Weimer <fweimer@redhat.com>
21896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21897 bits/mman-shared.h.
21898 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
21899 <bits/mman-shared.h>.
21900 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
21902 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
21903 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
21904 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
21905 <bits/mman-shared.h>.
21907 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21910 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
21911 posix_memalign/free.
21912 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
21914 2017-11-22 Mike FABIAN <mfabian@redhat.com>
21917 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
21918 and implement the collation rules for pl from CLDR on top of that.
21919 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
21920 of locales to be built for testing.
21921 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
21923 2017-11-23 Joseph Myers <joseph@codesourcery.com>
21925 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
21926 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
21927 libm_alias_ldouble_other.
21928 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
21929 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
21930 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
21931 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
21932 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
21933 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
21934 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
21935 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
21936 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
21937 libm_alias_ldouble_r.
21938 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
21939 libm_alias_ldouble_other.
21940 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
21941 (log10l): Likewise.
21942 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
21943 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
21944 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
21945 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
21946 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
21947 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
21948 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
21949 (atan2l): Likewise.
21950 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
21951 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
21952 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
21953 libm_alias_ldouble.
21954 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
21956 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
21957 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
21958 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
21960 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
21961 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
21962 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
21963 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
21964 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
21965 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
21966 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
21967 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
21968 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
21969 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
21970 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
21971 libm_alias_ldouble.
21972 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
21973 libm_alias_ldouble_other.
21974 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
21975 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
21976 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
21977 libm_alias_ldouble.
21978 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
21979 libm_alias_ldouble_other.
21980 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
21981 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
21982 * sysdeps/ia64/fpu/w_lgammal_main.c
21983 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
21984 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
21986 2017-11-23 Florian Weimer <fweimer@redhat.com>
21988 * malloc/malloc.c (tcache_thread_shutdown): Rename from
21989 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
21990 alike. Remove freeres marker.
21991 * malloc/arena.c (arena_thread_freeres): Call
21992 tcache_thread_shutdown.
21994 2017-11-23 Florian Weimer <fweimer@redhat.com>
21997 Export nscd hash function as __nss_hash.
21998 * include/nss.h (__nss_hash): Declare.
21999 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
22001 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
22002 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
22004 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
22005 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
22006 * nss/Makefiles (routines): Add nss_hash.
22007 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
22008 * nss/nss_hash.c: Rename from nis/nis_hash.c.
22009 (__nss_hash): Rename from __nis_hash. Define hidden alias.
22010 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
22012 2017-11-23 Florian Weimer <fweimer@redhat.com>
22015 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
22016 Return error code, not -1.
22017 * signal/tst-sigwait-eintr.c: New file.
22018 * signal/Makefile (tests): Add tst-sigwait-eintr.
22020 2017-11-23 Florian Weimer <fweimer@redhat.com>
22022 Linux: Add memfd_create system call wrapper
22023 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
22025 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
22026 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
22027 [__USE_GNU] (memfd_create): Declare.
22028 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
22029 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
22030 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
22031 * sysdeps/unix/sysv/linux/**.abilist: Update.
22032 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
22034 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22036 * localedata/gen-locale.sh: Fix typo in variable name.
22038 * resolv/res_debug.c (p_secstodate): Condition definition on
22039 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
22040 directly as __p_secstodate, and as a compat symbol. Do not use
22041 libresolv_hidden_def.
22042 * resolv/resolv.h (p_secstodate): Remove macro and function
22044 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
22045 using p_secstodate.
22046 * include/resolv.h (__p_secstodate): Do not use
22047 libresolv_hidden_proto.
22048 * resolv/Makefile (tests): Move tst-p_secstodate to ....
22049 (tests-internal): ... here.
22050 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
22051 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
22052 and declare and use __p_secstodate and use compat_symbol_reference
22054 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
22055 implementation returning 77.
22058 * resolv/res_debug.c: Include <libc-diag.h>.
22059 (p_secstodate): Assert time_t at least as wide as u_long. On
22060 overflow, use integer seconds since the epoch as output, or use
22061 "<overflow>" as output and set errno to EOVERFLOW if integer
22062 seconds since the epoch would be 14 or more characters.
22063 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
22065 * resolv/tst-p_secstodate.c: New file.
22066 * resolv/Makefile (tests): Add tst-p_secstodate.
22067 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
22069 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
22070 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22071 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
22073 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
22075 * posix/regcomp.c (init_word_char): Add comments.
22077 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22080 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
22081 strlen to compute length of ut_user and set trailing NUL byte of
22084 2017-11-21 Mike FABIAN <mfabian@redhat.com>
22087 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
22088 using “copy "iso14651_t1"” and then implementing the
22089 collation rules for lv from CLDR on top of that.
22090 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
22091 of locales to be built for testing.
22092 * lv_LV.UTF-8.in: New file with test data to test the Latvian
22095 2017-11-21 Joseph Myers <joseph@codesourcery.com>
22097 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22098 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
22099 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
22100 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
22101 [__USE_MISC] (MADV_HWPOISON): New macro.
22102 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
22104 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22106 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
22107 -Wmissing-braces on GCC 4.9.
22109 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22111 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
22112 * sysdeps/s390/s390-32/start.S (_start): Likewise
22113 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
22114 (thread_start): Likewise.
22115 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
22116 (thread_start): Likewise.
22117 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
22118 (__makecontext_ret): Likewise.
22119 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
22120 (__makecontext_ret): Likewise.
22122 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22124 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
22125 __wcschrnul): Remove attribute_hidden.
22127 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
22129 regex: don't assume uint64_t or uint32_t
22130 This avoids -Werror=overflow errors for 32-bit systems in
22131 the 64-bit case. Problem reported by Joseph Myers in:
22132 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
22133 Also, when this code is used in Gnulib it ports to platforms
22134 that lack uint64_t and uint32_t. The C standard doesn't guarantee
22135 them, and on some 32-bit compilers there is no uint64_t.
22136 Problem reported by Gianluigi Tiesi in:
22137 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
22138 * posix/regcomp.c (init_word_char): Don't assume that the types
22139 uint64_t and uint32_t exist. Adapted from Gnulib patch
22140 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
22141 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
22143 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
22145 * sysdeps/aarch64/memset-reg.h: New file.
22146 * sysdeps/aarch64/memset.S: Use it.
22147 (__memset): Rename to MEMSET macro.
22148 [ZVA_MACRO]: Use zva_macro.
22149 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
22150 Add memset_generic and memset_falkor.
22151 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
22152 (__libc_ifunc_impl_list): Add memset ifuncs.
22153 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
22154 local variable zva_size.
22155 * sysdeps/aarch64/multiarch/memset.c: New file.
22156 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
22157 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
22158 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
22159 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
22160 (DCZID_DZP_MASK): New macro.
22161 (DCZID_BS_MASK): Likewise.
22162 (init_cpu_features): Read and set zva_size.
22163 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
22164 (struct cpu_features): New member zva_size.
22166 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
22167 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
22168 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
22170 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
22171 backwards. Fix timing computation.
22172 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
22173 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
22174 on memset by N at a time. Fix timing computation.
22176 2017-11-20 Florian Weimer <fweimer@redhat.com>
22178 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
22179 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
22181 2017-11-19 Florian Weimer <fweimer@redhat.com>
22183 manual: Document mprotect
22184 * manual/memory.texi (Memory Protection): New section.
22185 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
22186 documentation of PROT_* flags and reference the Memory Protection
22189 2017-11-19 Florian Weimer <fweimer@redhat.com>
22191 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
22192 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
22193 (Scatter-Gather): ... to here. Remove misleading comment.
22195 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
22197 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
22200 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
22201 when /proc/<pid>/setgroups does not exist.
22203 2017-11-18 Florian Weimer <fweimer@redhat.com>
22205 * sysdeps/unix/sysv/linux/tst-ttyname.c
22206 (become_root_in_mount_ns): Remove.
22207 (do_in_chroot_1): Call support_enter_mount_namespace.
22208 (do_in_chroot_2): Likewise.
22209 (do_test): Call support_become_root early.
22211 2017-11-18 Florian Weimer <fweimer@redhat.com>
22213 * support/namespace.h (support_enter_mount_namespace): Declare.
22214 * support/support_enter_mount_namespace.c: New file.
22215 * support/Makefile (libsupport-routines): Add
22216 support_enter_mount_namespace.
22218 2017-11-18 Florian Weimer <fweimer@redhat.com>
22220 * support/temp_file.c (support_create_temp_directory): Use
22221 test_dir and do not rely on the presence of the XXXXXX suffix.
22222 * support/temp_file.h (support_create_temp_directory): Update
22224 * support/tst-xreadlink.c (do_test): Adjust.
22225 * support/support_chroot.c (support_chroot_create): Likewise.
22227 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22229 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
22231 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
22234 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22236 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22237 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22238 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22239 (ceill): Define using libm_alias_ldouble.
22240 * sysdeps/x86_64/fpu/s_copysignl.S: Include
22241 <libm-alias-ldouble.h>.
22242 (copysignl): Define using libm_alias_ldouble.
22243 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22244 (fabsl): Define using libm_alias_ldouble.
22245 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22246 (floorl): Define using libm_alias_ldouble.
22247 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22248 (fmaxl): Define using libm_alias_ldouble.
22249 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22250 (fminl): Define using libm_alias_ldouble.
22251 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22252 (llrintl): Define using libm_alias_ldouble.
22253 (lrintl): Likewise.
22254 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
22255 <libm-alias-ldouble.h>.
22256 (nearbyintl): Define using libm_alias_ldouble.
22257 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22258 (truncl): Define using libm_alias_ldouble.
22259 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
22260 <libm-alias-ldouble.h>.
22261 (lrintl): Define using libm_alias_ldouble.
22263 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22264 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22265 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
22266 (asinhl): Define using libm_alias_ldouble.
22267 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
22268 (atanl): Define using libm_alias_ldouble.
22269 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
22270 (cbrtl): Define using libm_alias_ldouble.
22271 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22272 (ceill): Define using libm_alias_ldouble.
22273 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
22274 (copysignl): Define using libm_alias_ldouble.
22275 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22276 (fabsl): Define using libm_alias_ldouble.
22277 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22278 (floorl): Define using libm_alias_ldouble.
22279 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22280 (fmaxl): Define using libm_alias_ldouble.
22281 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22282 (fminl): Define using libm_alias_ldouble.
22283 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
22284 (frexpl): Define using libm_alias_ldouble.
22285 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22286 (llrintl): Define using libm_alias_ldouble.
22287 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
22288 (logbl): Define using libm_alias_ldouble.
22289 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
22290 (lrintl): Define using libm_alias_ldouble.
22291 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
22292 (nearbyintl): Define using libm_alias_ldouble.
22293 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
22294 (nextafterl): Define using libm_alias_ldouble.
22295 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
22296 (remquol): Define using libm_alias_ldouble.
22297 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
22298 (rintl): Define using libm_alias_ldouble.
22299 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22300 (truncl): Define using libm_alias_ldouble.
22301 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22302 (fmaxl): Define using libm_alias_ldouble.
22303 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22304 (fminl): Define using libm_alias_ldouble.
22306 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
22307 to C syntax instead of availability and properties of types.
22308 * bits/floatn.h [!__ASSEMBLER]: Likewise.
22309 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
22310 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
22311 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
22312 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
22313 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
22315 2017-11-17 Florian Weimer <fweimer@redhat.com>
22317 support_become_root: Enable file creation in namespaces.
22318 * support/support_become_root.c (setup_mapping): New function.
22319 (support_become_root): Call it.
22321 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22323 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
22326 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22328 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
22329 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
22331 2017-11-16 Joseph Myers <joseph@codesourcery.com>
22333 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
22335 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22338 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
22340 * INSTALL: Fix botched up regeneration.
22342 * NEWS: Update sourceare link to https.
22343 * configure.ac: Likewise.
22344 * crypt/md5test-giant.c: Likewise.
22345 * dlfcn/bug-atexit1.c: Likewise.
22346 * dlfcn/bug-atexit2.c: Likewise.
22347 * localedata/README: Likewise.
22348 * malloc/tst-mallocfork.c: Likewise.
22349 * manual/install.texi: Likewise.
22350 * nptl/tst-pthread-getattr.c: Likewise.
22351 * stdio-common/tst-fgets.c: Likewise.
22352 * stdio-common/tst-fwrite.c: Likewise.
22353 * sunrpc/Makefile: Likewise.
22354 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
22355 * wcsmbs/tst-mbrtowc2.c: Likewise.
22356 * configure: Regenerate.
22357 * INSTALL: Regenerate.
22359 2017-11-15 Martin Sebor <msebor@redhat.com>
22361 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
22362 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
22363 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
22365 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22368 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
22369 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
22372 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
22373 Defer is_pty check until end of the function.
22374 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22377 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
22378 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
22379 (ttyname): Likewise.
22380 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
22381 (__ttyname_r): Likewise.
22383 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
22386 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
22388 * manual/terminal.texi (Is It a Terminal):
22389 Mention ENODEV for ttyname and ttyname_r.
22391 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22393 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
22394 constant and macro.
22396 * sysdeps/unix/sysv/linux/bits/mman-linux.h
22397 [__USE_MISC] (MADV_WIPEONFORK): New macro.
22398 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22399 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22400 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
22401 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22403 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22405 * signal/sigrelse.c (sigrelse): Optimize implementation.
22407 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
22408 (__sigpause): Rely on __sigsuspend to implement single thread
22409 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
22411 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22413 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22414 kernel version to 4.14.
22416 2017-11-15 Steve Ellcey <sellcey@cavium.com>
22419 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
22420 Check if ifname is too long.
22422 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22424 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
22426 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22428 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
22429 was accidentally lost.
22431 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22433 * localedata/locales/az_IR: Add standard copyright header.
22435 2017-11-15 Florian Weimer <fweimer@redhat.com>
22438 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
22439 not just the top one. Output a new "subheaps" statistic.
22441 2017-11-15 Florian Weimer <fweimer@redhat.com>
22444 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
22445 under the per-arena lock.
22446 * malloc/Makefile (tests): Add tst-malloc_info.
22447 (tst-malloc_info): Link with libpthread.
22448 * malloc/tst-malloc_info.c: New file.
22450 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22453 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
22454 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
22455 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
22456 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
22457 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
22458 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
22459 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
22460 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
22461 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
22462 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
22463 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
22464 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
22465 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
22466 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
22467 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
22468 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
22469 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
22470 (__floating_type): Likewise.
22471 (__real_integer_type): Likewise.
22472 (__complex_integer_type): Likewise.
22473 (__expr_is_real): Likewise.
22474 (__tgmath_real_type_sub): Likewise.
22475 (__tgmath_real_type): Likewise.
22476 (__tgmath_complex_type_sub): Likewise.
22477 (__tgmath_complex_type): Likewise.
22478 (__TGMATH_F128): Likewise.
22479 (__TGMATH_CF128): Likewise.
22480 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
22482 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
22483 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
22485 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
22487 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
22488 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
22489 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
22490 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
22492 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
22493 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
22495 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
22496 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
22497 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
22499 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
22500 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
22501 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
22505 2017-11-14 Joseph Myers <joseph@codesourcery.com>
22507 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
22508 for stpncpy calls for GCC 8.
22509 (test_strncat): Disable -Wstringop-truncation warning for strncat
22510 calls for GCC 8. Disable -Wstringop-overflow= warning for one
22511 strncat call for GCC 7.
22512 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
22514 (test_memcmp): Use memcpy instead of strncpy for calls not copying
22517 * string/bug-strncat1.c: Include <libc-diag.h>.
22518 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
22520 2017-11-13 Claude Paroz <claude@2xlibre.net>
22523 * localedata/locales/aa_DJ: Improved readibility by replacing
22524 <Uxxxx> sequences in the ASCII printable range by their ASCII
22525 character equivalents.
22526 * localedata/locales/aa_ER: Likewise.
22527 * localedata/locales/aa_ER@saaho: Likewise.
22528 * localedata/locales/aa_ET: Likewise.
22529 * localedata/locales/af_ZA: Likewise.
22530 * localedata/locales/agr_PE: Likewise.
22531 * localedata/locales/ak_GH: Likewise.
22532 * localedata/locales/am_ET: Likewise.
22533 * localedata/locales/anp_IN: Likewise.
22534 * localedata/locales/ar_AE: Likewise.
22535 * localedata/locales/ar_BH: Likewise.
22536 * localedata/locales/ar_DZ: Likewise.
22537 * localedata/locales/ar_EG: Likewise.
22538 * localedata/locales/ar_IN: Likewise.
22539 * localedata/locales/ar_IQ: Likewise.
22540 * localedata/locales/ar_JO: Likewise.
22541 * localedata/locales/ar_KW: Likewise.
22542 * localedata/locales/ar_LB: Likewise.
22543 * localedata/locales/ar_LY: Likewise.
22544 * localedata/locales/ar_MA: Likewise.
22545 * localedata/locales/ar_OM: Likewise.
22546 * localedata/locales/ar_QA: Likewise.
22547 * localedata/locales/ar_SA: Likewise.
22548 * localedata/locales/ar_SD: Likewise.
22549 * localedata/locales/ar_SS: Likewise.
22550 * localedata/locales/ar_SY: Likewise.
22551 * localedata/locales/ar_TN: Likewise.
22552 * localedata/locales/ar_YE: Likewise.
22553 * localedata/locales/as_IN: Likewise.
22554 * localedata/locales/ast_ES: Likewise.
22555 * localedata/locales/ayc_PE: Likewise.
22556 * localedata/locales/az_AZ: Likewise.
22557 * localedata/locales/az_IR: Likewise.
22558 * localedata/locales/be_BY: Likewise.
22559 * localedata/locales/be_BY@latin: Likewise.
22560 * localedata/locales/bem_ZM: Likewise.
22561 * localedata/locales/ber_DZ: Likewise.
22562 * localedata/locales/ber_MA: Likewise.
22563 * localedata/locales/bg_BG: Likewise.
22564 * localedata/locales/bhb_IN: Likewise.
22565 * localedata/locales/bho_IN: Likewise.
22566 * localedata/locales/bi_VU: Likewise.
22567 * localedata/locales/bn_BD: Likewise.
22568 * localedata/locales/bn_IN: Likewise.
22569 * localedata/locales/bo_CN: Likewise.
22570 * localedata/locales/bo_IN: Likewise.
22571 * localedata/locales/br_FR: Likewise.
22572 * localedata/locales/brx_IN: Likewise.
22573 * localedata/locales/bs_BA: Likewise.
22574 * localedata/locales/byn_ER: Likewise.
22575 * localedata/locales/ca_AD: Likewise.
22576 * localedata/locales/ca_ES: Likewise.
22577 * localedata/locales/ca_FR: Likewise.
22578 * localedata/locales/ca_IT: Likewise.
22579 * localedata/locales/ce_RU: Likewise.
22580 * localedata/locales/chr_US: Likewise.
22581 * localedata/locales/cmn_TW: Likewise.
22582 * localedata/locales/crh_UA: Likewise.
22583 * localedata/locales/cs_CZ: Likewise.
22584 * localedata/locales/csb_PL: Likewise.
22585 * localedata/locales/cv_RU: Likewise.
22586 * localedata/locales/cy_GB: Likewise.
22587 * localedata/locales/da_DK: Likewise.
22588 * localedata/locales/de_AT: Likewise.
22589 * localedata/locales/de_BE: Likewise.
22590 * localedata/locales/de_CH: Likewise.
22591 * localedata/locales/de_DE: Likewise.
22592 * localedata/locales/de_IT: Likewise.
22593 * localedata/locales/de_LI: Likewise.
22594 * localedata/locales/de_LU: Likewise.
22595 * localedata/locales/doi_IN: Likewise.
22596 * localedata/locales/dv_MV: Likewise.
22597 * localedata/locales/dz_BT: Likewise.
22598 * localedata/locales/el_CY: Likewise.
22599 * localedata/locales/el_GR: Likewise.
22600 * localedata/locales/en_AG: Likewise.
22601 * localedata/locales/en_AU: Likewise.
22602 * localedata/locales/en_BW: Likewise.
22603 * localedata/locales/en_CA: Likewise.
22604 * localedata/locales/en_DK: Likewise.
22605 * localedata/locales/en_GB: Likewise.
22606 * localedata/locales/en_HK: Likewise.
22607 * localedata/locales/en_IE: Likewise.
22608 * localedata/locales/en_IL: Likewise.
22609 * localedata/locales/en_IN: Likewise.
22610 * localedata/locales/en_NG: Likewise.
22611 * localedata/locales/en_NZ: Likewise.
22612 * localedata/locales/en_PH: Likewise.
22613 * localedata/locales/en_SG: Likewise.
22614 * localedata/locales/en_US: Likewise.
22615 * localedata/locales/en_ZA: Likewise.
22616 * localedata/locales/en_ZM: Likewise.
22617 * localedata/locales/en_ZW: Likewise.
22618 * localedata/locales/eo: Likewise.
22619 * localedata/locales/es_AR: Likewise.
22620 * localedata/locales/es_BO: Likewise.
22621 * localedata/locales/es_CL: Likewise.
22622 * localedata/locales/es_CO: Likewise.
22623 * localedata/locales/es_CR: Likewise.
22624 * localedata/locales/es_CU: Likewise.
22625 * localedata/locales/es_DO: Likewise.
22626 * localedata/locales/es_EC: Likewise.
22627 * localedata/locales/es_ES: Likewise.
22628 * localedata/locales/es_GT: Likewise.
22629 * localedata/locales/es_HN: Likewise.
22630 * localedata/locales/es_MX: Likewise.
22631 * localedata/locales/es_NI: Likewise.
22632 * localedata/locales/es_PA: Likewise.
22633 * localedata/locales/es_PE: Likewise.
22634 * localedata/locales/es_PR: Likewise.
22635 * localedata/locales/es_PY: Likewise.
22636 * localedata/locales/es_SV: Likewise.
22637 * localedata/locales/es_US: Likewise.
22638 * localedata/locales/es_UY: Likewise.
22639 * localedata/locales/es_VE: Likewise.
22640 * localedata/locales/et_EE: Likewise.
22641 * localedata/locales/eu_ES: Likewise.
22642 * localedata/locales/eu_ES@euro: Likewise.
22643 * localedata/locales/fa_IR: Likewise.
22644 * localedata/locales/ff_SN: Likewise.
22645 * localedata/locales/fi_FI: Likewise.
22646 * localedata/locales/fil_PH: Likewise.
22647 * localedata/locales/fo_FO: Likewise.
22648 * localedata/locales/fr_BE: Likewise.
22649 * localedata/locales/fr_CA: Likewise.
22650 * localedata/locales/fr_CH: Likewise.
22651 * localedata/locales/fr_FR: Likewise.
22652 * localedata/locales/fr_LU: Likewise.
22653 * localedata/locales/fur_IT: Likewise.
22654 * localedata/locales/fy_DE: Likewise.
22655 * localedata/locales/fy_NL: Likewise.
22656 * localedata/locales/ga_IE: Likewise.
22657 * localedata/locales/gd_GB: Likewise.
22658 * localedata/locales/gez_ER: Likewise.
22659 * localedata/locales/gez_ET: Likewise.
22660 * localedata/locales/gl_ES: Likewise.
22661 * localedata/locales/gu_IN: Likewise.
22662 * localedata/locales/gv_GB: Likewise.
22663 * localedata/locales/ha_NG: Likewise.
22664 * localedata/locales/hak_TW: Likewise.
22665 * localedata/locales/he_IL: Likewise.
22666 * localedata/locales/hi_IN: Likewise.
22667 * localedata/locales/hif_FJ: Likewise.
22668 * localedata/locales/hne_IN: Likewise.
22669 * localedata/locales/hr_HR: Likewise.
22670 * localedata/locales/hsb_DE: Likewise.
22671 * localedata/locales/ht_HT: Likewise.
22672 * localedata/locales/hu_HU: Likewise.
22673 * localedata/locales/hy_AM: Likewise.
22674 * localedata/locales/i18n: Likewise.
22675 * localedata/locales/ia_FR: Likewise.
22676 * localedata/locales/id_ID: Likewise.
22677 * localedata/locales/ig_NG: Likewise.
22678 * localedata/locales/ik_CA: Likewise.
22679 * localedata/locales/is_IS: Likewise.
22680 * localedata/locales/it_CH: Likewise.
22681 * localedata/locales/it_IT: Likewise.
22682 * localedata/locales/iu_CA: Likewise.
22683 * localedata/locales/ja_JP: Likewise.
22684 * localedata/locales/ka_GE: Likewise.
22685 * localedata/locales/kk_KZ: Likewise.
22686 * localedata/locales/kl_GL: Likewise.
22687 * localedata/locales/kn_IN: Likewise.
22688 * localedata/locales/ko_KR: Likewise.
22689 * localedata/locales/kok_IN: Likewise.
22690 * localedata/locales/ks_IN: Likewise.
22691 * localedata/locales/ks_IN@devanagari: Likewise.
22692 * localedata/locales/ku_TR: Likewise.
22693 * localedata/locales/kw_GB: Likewise.
22694 * localedata/locales/ky_KG: Likewise.
22695 * localedata/locales/lb_LU: Likewise.
22696 * localedata/locales/lg_UG: Likewise.
22697 * localedata/locales/li_BE: Likewise.
22698 * localedata/locales/li_NL: Likewise.
22699 * localedata/locales/lij_IT: Likewise.
22700 * localedata/locales/ln_CD: Likewise.
22701 * localedata/locales/lo_LA: Likewise.
22702 * localedata/locales/lt_LT: Likewise.
22703 * localedata/locales/lv_LV: Likewise.
22704 * localedata/locales/lzh_TW: Likewise.
22705 * localedata/locales/mag_IN: Likewise.
22706 * localedata/locales/mai_IN: Likewise.
22707 * localedata/locales/mg_MG: Likewise.
22708 * localedata/locales/mhr_RU: Likewise.
22709 * localedata/locales/mi_NZ: Likewise.
22710 * localedata/locales/mk_MK: Likewise.
22711 * localedata/locales/ml_IN: Likewise.
22712 * localedata/locales/mn_MN: Likewise.
22713 * localedata/locales/mni_IN: Likewise.
22714 * localedata/locales/mr_IN: Likewise.
22715 * localedata/locales/ms_MY: Likewise.
22716 * localedata/locales/mt_MT: Likewise.
22717 * localedata/locales/my_MM: Likewise.
22718 * localedata/locales/nan_TW: Likewise.
22719 * localedata/locales/nan_TW@latin: Likewise.
22720 * localedata/locales/nb_NO: Likewise.
22721 * localedata/locales/nds_DE: Likewise.
22722 * localedata/locales/nds_NL: Likewise.
22723 * localedata/locales/ne_NP: Likewise.
22724 * localedata/locales/nhn_MX: Likewise.
22725 * localedata/locales/niu_NU: Likewise.
22726 * localedata/locales/niu_NZ: Likewise.
22727 * localedata/locales/nl_AW: Likewise.
22728 * localedata/locales/nl_BE: Likewise.
22729 * localedata/locales/nl_NL: Likewise.
22730 * localedata/locales/nn_NO: Likewise.
22731 * localedata/locales/nr_ZA: Likewise.
22732 * localedata/locales/nso_ZA: Likewise.
22733 * localedata/locales/oc_FR: Likewise.
22734 * localedata/locales/om_ET: Likewise.
22735 * localedata/locales/om_KE: Likewise.
22736 * localedata/locales/or_IN: Likewise.
22737 * localedata/locales/os_RU: Likewise.
22738 * localedata/locales/pa_IN: Likewise.
22739 * localedata/locales/pa_PK: Likewise.
22740 * localedata/locales/pap_AW: Likewise.
22741 * localedata/locales/pap_CW: Likewise.
22742 * localedata/locales/pl_PL: Likewise.
22743 * localedata/locales/ps_AF: Likewise.
22744 * localedata/locales/pt_BR: Likewise.
22745 * localedata/locales/pt_PT: Likewise.
22746 * localedata/locales/quz_PE: Likewise.
22747 * localedata/locales/raj_IN: Likewise.
22748 * localedata/locales/ro_RO: Likewise.
22749 * localedata/locales/ru_RU: Likewise.
22750 * localedata/locales/ru_UA: Likewise.
22751 * localedata/locales/rw_RW: Likewise.
22752 * localedata/locales/sa_IN: Likewise.
22753 * localedata/locales/sat_IN: Likewise.
22754 * localedata/locales/sc_IT: Likewise.
22755 * localedata/locales/sd_IN: Likewise.
22756 * localedata/locales/sd_IN@devanagari: Likewise.
22757 * localedata/locales/se_NO: Likewise.
22758 * localedata/locales/sgs_LT: Likewise.
22759 * localedata/locales/shs_CA: Likewise.
22760 * localedata/locales/si_LK: Likewise.
22761 * localedata/locales/sid_ET: Likewise.
22762 * localedata/locales/sk_SK: Likewise.
22763 * localedata/locales/sl_SI: Likewise.
22764 * localedata/locales/sm_WS: Likewise.
22765 * localedata/locales/so_DJ: Likewise.
22766 * localedata/locales/so_ET: Likewise.
22767 * localedata/locales/so_KE: Likewise.
22768 * localedata/locales/so_SO: Likewise.
22769 * localedata/locales/sq_AL: Likewise.
22770 * localedata/locales/sq_MK: Likewise.
22771 * localedata/locales/sr_ME: Likewise.
22772 * localedata/locales/sr_RS: Likewise.
22773 * localedata/locales/sr_RS@latin: Likewise.
22774 * localedata/locales/ss_ZA: Likewise.
22775 * localedata/locales/st_ZA: Likewise.
22776 * localedata/locales/sv_FI: Likewise.
22777 * localedata/locales/sv_SE: Likewise.
22778 * localedata/locales/sw_KE: Likewise.
22779 * localedata/locales/sw_TZ: Likewise.
22780 * localedata/locales/szl_PL: Likewise.
22781 * localedata/locales/ta_IN: Likewise.
22782 * localedata/locales/ta_LK: Likewise.
22783 * localedata/locales/tcy_IN: Likewise.
22784 * localedata/locales/te_IN: Likewise.
22785 * localedata/locales/tg_TJ: Likewise.
22786 * localedata/locales/th_TH: Likewise.
22787 * localedata/locales/the_NP: Likewise.
22788 * localedata/locales/ti_ER: Likewise.
22789 * localedata/locales/ti_ET: Likewise.
22790 * localedata/locales/tig_ER: Likewise.
22791 * localedata/locales/tk_TM: Likewise.
22792 * localedata/locales/tl_PH: Likewise.
22793 * localedata/locales/tn_ZA: Likewise.
22794 * localedata/locales/to_TO: Likewise.
22795 * localedata/locales/tpi_PG: Likewise.
22796 * localedata/locales/tr_CY: Likewise.
22797 * localedata/locales/tr_TR: Likewise.
22798 * localedata/locales/ts_ZA: Likewise.
22799 * localedata/locales/tt_RU: Likewise.
22800 * localedata/locales/tt_RU@iqtelif: Likewise.
22801 * localedata/locales/ug_CN: Likewise.
22802 * localedata/locales/uk_UA: Likewise.
22803 * localedata/locales/unm_US: Likewise.
22804 * localedata/locales/ur_IN: Likewise.
22805 * localedata/locales/ur_PK: Likewise.
22806 * localedata/locales/uz_UZ: Likewise.
22807 * localedata/locales/uz_UZ@cyrillic: Likewise.
22808 * localedata/locales/ve_ZA: Likewise.
22809 * localedata/locales/vi_VN: Likewise.
22810 * localedata/locales/wa_BE: Likewise.
22811 * localedata/locales/wae_CH: Likewise.
22812 * localedata/locales/wal_ET: Likewise.
22813 * localedata/locales/wo_SN: Likewise.
22814 * localedata/locales/xh_ZA: Likewise.
22815 * localedata/locales/yi_US: Likewise.
22816 * localedata/locales/yo_NG: Likewise.
22817 * localedata/locales/yue_HK: Likewise.
22818 * localedata/locales/yuw_PG: Likewise.
22819 * localedata/locales/zh_CN: Likewise.
22820 * localedata/locales/zh_HK: Likewise.
22821 * localedata/locales/zh_SG: Likewise.
22822 * localedata/locales/zh_TW: Likewise.
22823 * localedata/locales/zu_ZA: Likewise.
22825 2017-11-13 Florian Weimer <fweimer@redhat.com>
22827 * support/next_to_fault.h, support/next_to_fault.c: New files.
22828 * support/Makefile (libsupport-routines): Add next_to_fault.
22829 * resolv/tst-inet_pton.c (struct next_to_fault)
22830 (next_to_fault_allocate, next_to_fault_free): Remove.
22831 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
22833 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
22835 * elf/dl-support.c: Include <dl-procruntime.c>.
22836 * include/link.h: Include <link_map.h>.
22837 * sysdeps/generic/dl-procruntime.c: New file.
22838 * sysdeps/generic/link_map.h: Likewise.
22839 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
22840 the writable ld.so namespace.
22842 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
22844 timezone: pacify GCC -Wstringop-truncation
22845 Problem reported by Martin Sebor in:
22846 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
22847 * timezone/zic.c (writezone): Use memcpy, not strncpy.
22849 2017-11-12 Florian Weimer <fweimer@redhat.com>
22851 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
22853 (tests): Add tst-xreadlink.
22854 * support/support.h (xstrndup): Declare.
22855 * support/xunistd.h (xunlink, xreadlink): Declare.
22856 * support/temp_file.h (support_create_temp_directory): Declare.
22857 * support/temp_file.c (support_create_temp_directory): New function.
22858 * support/support_chroot.c (support_chroot_create): Use it.
22859 * support/xreadlink.c: New file.
22860 * support/xstrndup.c: Likewise.
22861 * support/xunlink.c: Likewise.
22862 * support/tst-xreadlink.c: Likewise.
22864 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
22866 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
22868 2017-11-11 Florian Weimer <fweimer@redhat.com>
22872 * resolv/res_comp.c (printable_string, binary_hnok)
22873 (binary_leading_dash): New functions.
22874 (res_hnok): Reimplement using these functions and ns_name_pton.
22875 (res_ownok): Likewise.
22876 (res_mailok): Reimplement using printable_string, ns_name_pton and
22878 (res_dnok): Reimplement using printable_string and ns_name_pton.
22879 * resolv/tst-res_hnok.c (tests): Add additional tests.
22880 (LETTERDIGITS, PRINTABLE): Define.
22881 (do_test): Adjust one_char results.
22883 2017-11-11 Florian Weimer <fweimer@redhat.com>
22886 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
22887 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
22889 2017-11-11 Florian Weimer <fweimer@redhat.com>
22891 * resolv/tst-ns_name_pton.c: New file.
22892 * resolv/Makefile (tests): Add tst-ns_name_pton.
22893 (tst-ns_name_pton): Link against libresolv.
22895 2017-11-11 Florian Weimer <fweimer@redhat.com>
22897 * resolv/tst-res_hnok.c: New file.
22898 * resolv/Makefile (tests): Add tst-res_hnok.
22899 (tst-res_hnok): Link against libresolv.
22901 2017-11-11 Florian Weimer <fweimer@redhat.com>
22903 * resolv/tst-resolv-network.c: Use test framework instead explicit
22906 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
22908 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
22909 <jmp_buf-macros.h>.
22910 [!_ISOMAC] (STR_HELPER): New.
22911 [!_ISOMAC] (STR): Likewise.
22912 [!_ISOMAC] (TEST_SIZE): Likewise.
22913 [!_ISOMAC] (TEST_ALIGN): Likewise.
22914 [!_ISOMAC] (TEST_OFFSET): Likewise.
22915 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
22916 field offsets of jmp_buf as well as sigjmp_buf.
22917 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
22918 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
22919 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
22920 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
22921 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
22922 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
22923 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
22924 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
22925 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
22926 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
22928 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
22930 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
22931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
22933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
22935 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
22936 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
22937 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
22938 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
22939 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
22940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
22942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
22944 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22945 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
22946 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
22948 2017-11-07 Joseph Myers <joseph@codesourcery.com>
22951 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22952 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
22953 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22954 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
22955 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22956 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
22957 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22958 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
22959 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22960 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
22961 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22962 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
22963 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22964 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
22965 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22966 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
22967 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22968 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
22969 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22970 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
22971 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22972 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
22973 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22974 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
22975 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22976 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
22977 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22978 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
22979 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22980 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
22981 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22982 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
22983 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22984 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
22985 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22986 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
22987 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22988 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
22989 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22990 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
22991 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22992 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
22993 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22994 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
22995 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22996 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
22997 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22998 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
22999 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23000 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
23001 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23002 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
23003 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23004 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
23005 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23006 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
23007 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23008 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
23009 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23010 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
23011 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23012 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
23013 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23014 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
23015 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23016 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
23017 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23018 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
23019 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23020 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
23021 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23022 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
23023 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23024 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
23025 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23026 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
23027 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23028 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
23029 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23030 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
23031 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23032 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
23033 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23034 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
23035 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23036 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
23037 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23038 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
23040 * stdlib/tst-strtod.h (F16): New macro.
23046 (IF_FLOAT16): Likewise.
23047 (IF_FLOAT32): Likewise.
23048 (IF_FLOAT64): Likewise.
23049 (IF_FLOAT32X): Likewise.
23050 (IF_FLOAT64X): Likewise.
23051 (IF_FLOAT128X): Likewise.
23052 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
23053 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
23054 (STRTOD_TEST_FOREACH): Likewise.
23055 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
23056 (CHOOSE_f64): Likewise.
23057 (CHOOSE_f32x): Likewise.
23058 (CHOOSE_f64x): Likewise.
23060 2017-11-07 Andreas Schwab <schwab@suse.de>
23062 * nptl/Makefile (tests-internal): Remove tst-typesizes.
23064 2017-11-07 Mike FABIAN <mfabian@redhat.com>
23067 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
23069 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
23072 2017-11-07 Claude Paroz <claude@2xlibre.net>
23075 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
23077 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
23079 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
23082 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23085 * nptl/allocatestack.c (allocate_stack): Check if
23086 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
23087 __PTHREAD_MUTEX_HAVE_PREV is defined.
23088 * nptl/descr.h (pthread): Likewise.
23089 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23091 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23092 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23093 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
23094 * sysdeps/nptl/bits/thread-shared-types.h
23095 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23097 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
23098 of __WORDSIZE for internal layout.
23099 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
23100 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
23101 instead of __WORDSIZE whether to use an union for __spins and __list
23103 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
23105 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
23106 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23108 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
23109 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23111 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
23112 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23114 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
23115 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23117 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
23118 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23120 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
23121 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23123 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
23124 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23126 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
23127 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23129 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
23130 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23132 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
23133 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23135 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
23136 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23138 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
23139 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23141 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
23142 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23144 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
23145 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23147 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
23148 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23151 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
23153 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
23154 checks for expected input type size.
23155 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23156 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23158 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23159 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
23160 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23161 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
23162 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23163 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
23164 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
23165 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
23166 superflous runtime assert check.
23167 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
23169 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
23171 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23173 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
23175 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
23177 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
23179 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
23180 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
23181 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23183 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23185 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23187 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
23189 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23191 * nptl/pthread_attr_setinheritsched.c
23192 (__pthread_attr_setinheritsched): Likewise.
23193 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
23195 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
23197 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
23198 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
23199 __old_pthread_attr_setstack): Likewise.
23200 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23202 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23204 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
23206 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23207 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23209 * nptl/tst-typesizes.c: Remove file.
23211 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
23212 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
23213 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
23214 checks for internal pthread_mutex_t offsets.
23215 * sysdeps/aarch64/nptl/pthread-offsets.h
23216 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
23217 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
23218 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
23219 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
23220 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
23221 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
23222 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
23223 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
23224 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
23225 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
23226 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
23227 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
23228 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
23229 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
23230 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
23231 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
23232 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
23233 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
23235 2017-11-07 Florian Weimer <fweimer@redhat.com>
23237 * bits/mman-linux.h: Move ...
23238 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
23240 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
23243 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23245 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
23246 Redefine STRNLEN as __strnlen_power8.
23248 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23250 * signal/sighold.c (sighold): Optimize implementation.
23252 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
23253 __NR_rt_sigqueueinfo.
23255 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23257 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
23258 assume __NR_rt_sigtimedwait.
23259 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
23260 and add LIBC_CANCEL_HANDLED for cancellation marking.
23261 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23263 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23264 (sysdeps_routines): Add memchr_noneon.
23265 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
23266 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
23267 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
23268 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
23269 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
23270 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
23271 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
23273 * sysdeps/arm/arm-ifunc.h: New file.
23274 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
23275 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
23276 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
23277 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
23278 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
23279 (__memcpy_neon): Avoid create hidden alias.
23280 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
23281 (__memcpy_vfp): Likewise.
23282 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23283 (sysdep_routines): Add memcpy_arm.
23284 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
23286 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
23289 * Makerules (make-link-multidir): New.
23290 * config.make.in (multidir): New.
23291 * configure.ac (libc_cv_multidir): New. AC_SUBST.
23292 * configure: Regenerated.
23293 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
23294 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
23295 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
23298 2017-11-06 Joseph Myers <joseph@codesourcery.com>
23301 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
23302 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
23304 2017-11-04 Mike FABIAN <mfabian@redhat.com>
23306 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
23309 2017-11-04 Florian Weimer <fweimer@redhat.com>
23311 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
23313 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23315 * math/math.h [__HAVE_DISTINCT_FLOAT16
23316 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23317 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23318 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23319 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
23320 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
23321 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
23322 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23323 (__MATH_TG_F32): New macro.
23324 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23325 (__MATH_TG_F64X): Likewise.
23326 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23327 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
23329 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
23331 * po/de.po: Update translations.
23332 * po/ru.po: Likewise.
23334 2017-11-03 Florian Weimer <fweimer@redhat.com>
23336 * manual/filesys.texi (Hard Links): Document linkat.
23338 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23340 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
23341 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23342 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23343 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23344 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23345 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23346 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
23347 the same as _Float128.
23348 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23349 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23350 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
23353 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
23355 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
23357 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
23359 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23360 (strtof32x): Likewise.
23361 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23362 (strtof64x): Likewise.
23363 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23364 (strtof128x): Likewise.
23365 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23366 (strfromf16): Likewise.
23367 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23368 (strfromf32): Likewise.
23369 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23370 (strfromf64): Likewise.
23371 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23372 (strfromf32x): Likewise.
23373 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23374 (strfromf64x): Likewise.
23375 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23376 (strfromf128x): Likewise.
23377 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
23378 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
23379 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
23380 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
23381 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
23382 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
23384 2017-11-03 Richard Henderson <rth@twiddle.net>
23386 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
23388 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23390 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
23392 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23394 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
23395 DT_TLSDESC_GOT initialization.
23396 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
23397 (_dl_tlsdesc_resolve_hold): Likewise.
23398 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
23399 (_dl_tlsdesc_resolve_hold): Likewise.
23400 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
23401 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23403 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23405 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
23407 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23410 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
23411 non-lazily for R_ARM_TLS_DESC.
23413 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23416 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
23417 R_ARM_TLS_DESC case.
23418 (elf_machine_lazy_rel): Remove the prelink check.
23420 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23422 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
23423 DT_TLSDESC_GOT initialization.
23424 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
23425 (_dl_tlsdesc_resolve_rela): Likewise.
23426 (_dl_tlsdesc_resolve_hold): Likewise.
23427 (_dl_tlsdesc_undefweak): Remove ldar.
23428 (_dl_tlsdesc_dynamic): Likewise.
23429 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
23430 (_dl_tlsdesc_resolve_rela): Likewise.
23431 (_dl_tlsdesc_resolve_hold): Likewise.
23432 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
23433 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23434 (_dl_tlsdesc_resolve_rela): Likewise.
23435 (_dl_tlsdesc_resolve_hold): Likewise.
23437 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23439 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
23440 binding and initialization non-lazily for R_AARCH64_TLSDESC.
23442 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23444 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
23445 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23447 2017-11-02 Joseph Myers <joseph@codesourcery.com>
23449 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
23451 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
23452 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
23453 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
23454 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
23455 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
23456 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
23457 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
23458 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
23459 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
23460 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
23461 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
23463 2017-11-02 Mike FABIAN <mfabian@redhat.com>
23466 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
23467 * localedata/locales/tpi_PG: Add standard header.
23469 2017-11-02 Florian Weimer <fweimer@redhat.com>
23471 test-errno-linux: quotactl can fail with EPERM in containers.
23472 * sysdeps/unix/sysv/linux/test-errno-linux.c
23473 (LIST, LIST_FORWARD): New macros.
23474 (check_error_in_list): New function.
23475 (test_wrp_rv): Accept list of permitted error codes.
23476 (test_wrp_rv2): Remove.
23477 (test_wrp): Call test_wrp_rv with list of error codes.
23478 (test_wrp2): Accept list of error codes.
23479 (do_test): Adjust. Allow EPERM for quotactl.
23481 2017-11-02 Florian Weimer <fweimer@redhat.com>
23483 * stdio-common/bug16.c (do_test): Use array_length.
23484 * stdio-common/errlist.c (_sys_nerr): Likewise.
23485 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
23486 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
23487 * stdio-common/psiginfo.c (psiginfo): Use array_length.
23488 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
23489 (do_test): Use array_length.
23490 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
23491 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
23492 * stdio-common/tst-printf-round.c (do_test): Likewise.
23493 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
23494 (CHECK): Use array_length.
23495 * stdio-common/tstdiomisc.c (t3, F): Likewise.
23496 * stdio-common/tstscanf.c (main): Likewise.
23497 * stdio-common/vfprintf.c (process_string_arg): Likewise.
23499 2017-11-02 Florian Weimer <fweimer@redhat.com>
23501 Add array_length and array_end macros.
23502 * include/array_length.h: New file.
23504 2017-11-02 Florian Weimer <fweimer@redhat.com>
23507 * posix/tst-glob-tilde.c (do_noescape): New variable.
23508 (one_test): Process it.
23509 (do_test): Set do_noescape. Add unescaping test case.
23511 2017-11-01 Joseph Myers <joseph@codesourcery.com>
23514 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
23515 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
23516 with appropriate macros defined and undefined.
23517 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
23518 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23519 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
23520 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23521 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
23522 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23523 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
23524 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23525 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
23526 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23529 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
23530 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
23531 that for long double. Do not condition define and undefine of
23532 _Mdouble_complex_ on [__CFLOAT128].
23534 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
23536 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23537 of <sysdeps/generic/sysdep.h>.
23538 (ALIGNARG): Removed.
23539 (ASM_SIZE_DIRECTIVE): Likewise.
23542 (ENTRY_CHK): Likewise.
23543 (END_CHK): Likewise.
23544 (syscall_error): Likewise.
23545 (mcount): Likewise.
23546 (PSEUDO_END): Likewise.
23548 (atom_text_section): Likewise.
23549 * sysdeps/x86/sysdep.h: New file.
23550 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23551 of <sysdeps/generic/sysdep.h>.
23552 (ALIGNARG): Removed.
23553 (ASM_SIZE_DIRECTIVE): Likewise.
23556 (ENTRY_CHK): Likewise.
23557 (END_CHK): Likewise.
23558 (syscall_error): Likewise.
23559 (mcount): Likewise.
23560 (PSEUDO_END): Likewise.
23562 (atom_text_section): Likewise.
23564 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
23566 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
23567 category of LC_CTYPE set to "i18n:2012".
23568 * localedata/locales/i18n_ctype: Regenerate.
23570 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
23572 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
23573 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
23574 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23575 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23577 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
23578 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
23579 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
23580 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
23582 2017-10-31 Joseph Myers <joseph@codesourcery.com>
23585 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
23587 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
23589 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
23591 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23592 (CMPLXF32X): Likewise.
23593 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23594 (CMPLXF64X): Likewise.
23595 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23596 (CMPLXF128X): Likewise.
23599 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
23600 (__MATH_EVAL_FMT2): Define to add 0.0f.
23602 2017-10-31 Alan Modra <amodra@gmail.com>
23604 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
23606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
23607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
23608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
23609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
23610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
23611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
23612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
23613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
23614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
23615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
23616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
23617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
23618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
23619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
23620 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
23621 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
23622 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
23623 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
23624 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
23625 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
23626 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
23627 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
23628 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
23629 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
23630 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23631 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
23632 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
23633 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
23634 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
23635 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
23636 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23637 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23638 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
23639 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
23640 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
23641 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
23642 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
23643 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
23644 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
23645 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23646 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
23647 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
23648 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
23649 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
23650 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
23651 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
23652 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
23653 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
23654 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23655 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23656 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
23657 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
23658 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
23659 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
23660 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23661 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
23662 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
23663 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
23664 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23665 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23666 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23667 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
23668 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
23669 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23670 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
23671 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
23672 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
23673 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
23674 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
23676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
23677 include sysdep.h and math_ldbl_opt.h.
23679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
23680 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
23681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
23682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
23683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
23684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
23685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
23686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
23687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
23688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
23689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
23690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
23691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
23692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
23693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
23694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
23695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
23696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
23697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
23698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
23699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
23700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
23701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
23702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
23703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
23704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
23706 2017-10-31 Alan Modra <amodra@gmail.com>
23708 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
23709 string/strncase_l.c, not string/strncase.c.
23710 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
23711 (libc_hidden_def): Redefine.
23713 2017-10-31 Alan Modra <amodra@gmail.com>
23715 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
23716 (__STRCMP, STRCMP, __strcasecmp_l): Define.
23717 (__strcasecmp): Don't define.
23719 2017-10-31 Alan Modra <amodra@gmail.com>
23721 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
23723 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23724 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23725 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23727 2017-10-31 Alan Modra <amodra@gmail.com>
23729 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
23732 2017-10-31 Alan Modra <amodra@gmail.com>
23734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
23735 Redefine only when SHARED.
23737 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23739 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23740 Include <bits/math-finite.h> with appropriate macros defined and
23742 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23743 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23744 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23745 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23746 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23748 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
23749 [!_Mlong_double_] (_Mlong_double_): Likewise.
23750 [!_Mfloat16_] (_Mfloat16_): Likewise.
23751 [!_Mfloat32_] (_Mfloat32_): Likewise.
23752 [!_Mfloat64_] (_Mfloat64_): Likewise.
23753 [!_Mfloat128_] (_Mfloat128_): Likewise.
23754 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
23755 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
23756 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
23757 (_Mdouble_): Define without indirection through those macros.
23758 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
23759 [!_Mfloat128_] (_Mfloat128_): Likewise.
23760 [_Mlong_double_] (_Mlong_double_): Likewise.
23761 (_Mdouble_): Define without indirection through those macros.
23762 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
23763 not add -D_Mlong_double_=double.
23764 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
23765 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
23767 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23769 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
23771 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23773 * sysdeps/x86/libc-start.c: Reformat.
23775 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23778 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
23779 (1): Renamed to ...
23782 (L(Src2)): Likewise.
23783 (L(1)): Renamed to ...
23786 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23788 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
23789 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
23790 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
23791 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
23792 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
23793 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
23794 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
23795 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
23796 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
23797 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
23798 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
23799 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
23800 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
23801 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
23802 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
23803 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
23804 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
23805 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
23806 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
23807 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
23808 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
23809 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
23810 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
23811 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
23812 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
23813 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
23814 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
23815 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
23816 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
23817 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
23818 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
23819 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
23820 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
23821 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
23822 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
23823 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
23824 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
23825 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
23826 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
23827 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
23828 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
23829 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
23830 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
23831 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
23832 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
23833 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
23834 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
23835 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
23836 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
23837 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
23838 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
23839 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
23840 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
23841 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
23842 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
23843 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
23844 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
23845 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
23846 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
23847 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
23848 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
23849 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
23850 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
23851 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
23852 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
23853 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
23855 2017-10-30 Florian Weimer <fweimer@redhat.com>
23857 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
23859 * io/tst-mkdirat.c (do_test): Likewise.
23860 * io/tst-mkfifoat.c (do_test): Likewise.
23861 * io/tst-mknodat.c (do_test): Likewise.
23862 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
23863 * locale/programs/locale.c (select_dirs): Likewise.
23864 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
23865 * posix/bug-glob2.c (my_readdir): Likewise.
23866 * posix/tst-dir.c (main): Likewise.
23867 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
23868 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
23870 2017-10-30 Florian Weimer <fweimer@redhat.com>
23872 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
23875 2017-10-30 Florian Weimer <fweimer@redhat.com>
23877 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
23878 Convert to support/test-driver.c.
23879 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
23880 New macro parameters.
23881 (PRINTF): Remove macro. Use test_verbose conditionals instead.
23882 * posix/tst-gnuglob.c: New file.
23883 * posix/tst-gnuglob64.c: Likewise.
23884 * posix/Makefile (tests): Add tst-gnuglob64.
23886 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
23889 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
23890 and use a better translation for March in “mon”.
23891 * localedata/locales/csb_PL: Use more ASCII to improve the
23892 readability of the source.
23894 2017-10-30 Mike FABIAN <mfabian@redhat.com>
23897 * localedata/locales/km_KH: Use ASCII as much
23898 as possible for better readability of the source and
23899 remove useless comments.
23900 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
23901 was commented out and apparently wrong anyway because it was
23902 using Lao characters. If Buddhist era should be used
23903 for km_KH, a native speaker should write the correct formaat
23905 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
23906 (According to CLDR, the first weekday for Cambodia is Sunday).
23907 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
23908 (These were using Lao characters which must be wrong. If we get
23909 the correct data from a native speaker, we could add it back, until
23910 then it is better not to have name_mr and name_mrs at all than
23913 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
23915 * locale/loadlocale.c: Correct size of
23916 _nl_value_type_LC_<category> arrays.
23918 2017-10-27 Joseph Myers <joseph@codesourcery.com>
23920 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23921 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
23922 with appropriate macros defined and undefined.
23923 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23924 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23925 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23926 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23927 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23929 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
23931 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23934 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23936 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
23937 with lowercase letters to make it agree with CLDR.
23939 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23942 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
23943 first letters of yesstr and nostr in yesexpr and noexpr,
23944 not for the full words.
23945 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23946 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
23947 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
23948 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
23949 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
23950 first letters of yesstr and nostr in yesexpr and noexpr,
23951 until now only English was matched in yesexpr and noexpr.
23952 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
23953 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
23954 fil but not for tl. As tl and fil are very similar, using fil
23955 is probably better than using English.
23957 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
23960 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
23961 in yesstr and nostr.
23963 2017-10-26 Joseph Myers <joseph@codesourcery.com>
23965 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23966 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
23967 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
23969 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
23971 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
23973 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
23975 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23976 (SNANF128X): Likewise.
23978 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23979 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
23980 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23981 (HUGE_VAL_F32): Likewise.
23982 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23983 (HUGE_VAL_F64): Likewise.
23984 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23985 (HUGE_VAL_F32X): Likewise.
23986 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23987 (HUGE_VAL_F64X): Likewise.
23988 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23989 (HUGE_VAL_F128X): Likewise.
23991 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23993 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
23994 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
23995 for the br_FR locale.
23997 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24000 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
24002 2017-10-25 Carlos O'Donell <carlos@redhat.com>
24004 * locale/programs/record-status.h: Define globals, and function
24005 prototypes. Move function bodies...
24006 * locale/programs/record-status.c: ... to here. New file.
24007 * iconv/Makefile (iconv_prog-modules): Add record-status.
24008 * locale/Makefile (lib-modules): Likewise.
24009 * iconv/iconv_prog.c: Remove verbose.
24010 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
24011 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
24012 record a warning about ASCII compatibility.
24013 * locale/programs/ld-monetary.c (monetary_finish): If
24014 warn_int_curr_symbol is true then record a warning about the symbol
24015 not being in our ISO 4217 list.
24016 * locale/programs/locale.c: Include record-status.h. Remove verbose.
24017 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
24018 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
24019 (OPT_NO_WARN): Define.
24020 (OPT_WARN): Define.
24021 (options): Add entry for --no-warnings, and --warnings.
24022 (set_warnings): New function to enable/disable warnings.
24023 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
24024 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
24025 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
24026 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
24027 Pass flags to generate_locale.
24028 (generate_locale): Accept new flag argument and pass it to localedef
24030 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
24031 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
24033 * localedata/Makefile (test-input-data): Use full file name.
24034 * localedata/da_DK.in: Rename to...
24035 * localedata/da_DK.ISO-8859-1.in: ...this.
24036 * localedata/de_DE.in: Rename to...
24037 * localedata/de_DE.ISO-8859-1.in: ...this.
24038 * localedata/en_US.in: Rename to...
24039 * localedata/en_US.ISO-8859-1.in: ...this.
24040 * localedata/fr_FR.in: Rename to...
24041 * localedata/fr_FR.UTF-8.in: ... this.
24042 * localedata/hr_HR.in: Rename to...
24043 * localedata/hr_HR.ISO-8859-2.in: ...this.
24044 * localedata/hu_HU.in: Rename to...
24045 * localedata/hu_HU.UTF-8.in: ...this.
24046 * localedata/si_LK.in: Rename to...
24047 * localedata/si_LK.UTF-8.in: ...this.
24048 * localedata/sv_SE.in: Rename to...
24049 * localedata/sv_SE.ISO-8859-1.in: ...this.
24050 * localedata/tr_TR.in: Rename to...
24051 * localedata/tr_TR.UTF-8.in: ...this.
24052 * localedata/uk_UA.in: Rename to...
24053 * localedata/uk_UA.UTF-8.in: ...this.
24054 * localedata/sort-test.sh: Test file is locale name with the
24057 * localedata/unicode-gen/Makefile (check_i18n): Rename to
24058 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
24060 * localedata/locales/i18n_ctype: Regenerate.
24061 * localedata/locales/tr_TR: Likewise.
24062 * localedata/locales/translit_circle: Likewise.
24063 * localedata/locales/translit_cjk_compat: Likewise.
24064 * localedata/locales/translit_combining: Likewise.
24065 * localedata/locales/translit_compat: Likewise.
24066 * localedata/locales/translit_font: Likewise.
24067 * localedata/locales/translit_fraction: Likewise.
24069 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24071 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
24072 lxvd2x/stxvd2x with lvx/stvx.
24073 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
24075 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
24077 * include/alloc_buffer.h: Replace "if if " with "if " in
24079 * sysdeps/mips/memcpy.S: Likkewise.
24080 * sysdeps/mips/memset.S: Likewise.
24081 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
24083 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
24085 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
24088 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24091 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
24092 yesexpr and noexpr.
24093 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24094 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24095 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24096 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24097 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24098 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24099 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24101 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24103 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
24104 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24105 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24106 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24107 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24108 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
24109 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24110 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24111 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24112 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24113 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24114 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24116 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24118 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
24119 as possible for better readability of the source.
24120 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
24121 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
24122 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
24123 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
24124 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
24125 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
24126 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
24127 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
24128 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24129 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
24130 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
24131 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
24132 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
24133 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
24134 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
24135 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
24136 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
24137 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
24138 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
24139 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
24140 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
24141 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
24142 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
24143 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
24144 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
24145 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
24146 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
24147 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
24148 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
24149 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
24150 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
24151 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24152 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
24153 * localedata/locales/en_US (LC_MESSAGES): Likewise.
24154 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
24155 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
24156 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
24157 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
24158 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
24159 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
24160 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
24161 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
24162 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
24163 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
24164 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
24165 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
24166 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
24167 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
24168 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
24169 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
24170 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
24171 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
24172 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
24173 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24174 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24175 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
24176 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
24177 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24178 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
24179 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
24180 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
24181 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
24182 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
24183 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
24184 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
24185 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
24186 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
24187 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
24188 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
24189 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
24190 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
24191 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
24192 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
24193 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
24194 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24195 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
24196 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
24197 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
24198 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
24199 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
24200 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
24201 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
24202 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
24203 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24204 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
24205 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
24206 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
24207 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24208 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
24209 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
24210 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
24211 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
24212 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24213 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
24214 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
24215 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24216 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
24217 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24218 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
24219 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
24220 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
24221 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
24222 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
24223 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
24224 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
24225 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
24226 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
24227 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
24228 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
24229 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
24230 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
24231 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
24232 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24233 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
24234 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
24235 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
24236 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
24237 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
24238 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
24239 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
24240 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
24241 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
24242 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
24243 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
24244 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
24245 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
24246 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
24247 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
24248 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
24249 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
24250 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
24251 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
24252 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
24253 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
24254 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
24255 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
24256 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
24257 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
24258 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
24259 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
24260 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
24261 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
24262 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
24263 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
24264 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
24265 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24266 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
24267 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
24268 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
24269 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
24270 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
24271 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
24272 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
24273 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
24274 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24275 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
24276 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
24277 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
24278 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
24279 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
24280 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
24281 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
24282 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
24283 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
24284 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
24285 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24286 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
24287 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
24288 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
24289 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
24290 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24291 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24292 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24293 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
24295 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24297 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
24298 (Use first letters of yesstr and nostr correctly instead of using
24301 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24303 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
24304 (Use first letters of yesstr and nostr correctly).
24306 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24308 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
24309 also check for the first characters of yesstr and nostr.
24310 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
24311 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
24313 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24315 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
24316 also check for Chinese characters.
24318 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24320 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
24321 match also for the contents of yesstr and nostr. As the first letter
24322 of yesstr and nostr is equal, checking only for the first letter
24325 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24327 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
24328 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
24330 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24332 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
24333 of main contributor.
24335 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24337 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
24338 instead of using English.
24340 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24342 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
24343 by including the first letters of nostr and yesexpr in the regexp.
24344 Also make it more readable by using ASCII where possible.
24346 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24348 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
24349 the first letter of nostr in the regexp. It agrees with CLDR now.
24350 Also make it more readable by using ASCII where possible.
24352 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24354 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
24355 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
24356 these strings contain a U+17D6 (which somewhat looks like a colon)
24357 instead of a real colon to separate the full words for “yes”
24358 and “no” from the single letter responses.
24360 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24362 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
24363 it agree with CLDR (include the first letter of yesstr).
24364 Also make it more readable by using ASCII where possible.
24366 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24368 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
24369 and improve yesexpr and noexpr. The yesstr and nostr apparently
24370 came from CLDR. And CLDR has a bug there: these strings contain
24371 a U+0903 (which looks like a colon) instead of a real colon
24372 to separate the full words for “yes” and “no” from the single
24375 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24377 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
24378 letters of the full yesstr and nostr in yesexpr and noexpr.
24380 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24382 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
24383 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
24384 * localedata/locales/an_ES: Make source more readable by using ASCII
24387 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24390 * localedata/locales/yuw_PG: New file.
24391 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
24392 * locale/iso-639.def: Add Yau (Uruwa).
24394 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24396 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
24398 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24400 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
24401 (__libc_realloc): Likewise.
24402 (_mid_memalign): Likewise.
24403 (__libc_calloc): Likewise.
24405 2017-10-23 Mike FABIAN <mfabian@redhat.com>
24407 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
24408 by adding the generic +1 and -0 as in all other locales.
24409 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
24410 day names and make it more readable by using ASCII where possible.
24412 2017-10-24 Joseph Myers <joseph@codesourcery.com>
24414 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
24415 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
24417 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24419 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
24420 WNOHANG in waitpid call.
24422 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
24424 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
24425 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
24427 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
24428 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
24429 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
24430 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
24431 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
24432 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
24433 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
24434 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
24437 2017-10-23 Michael Collison <michael.collison@arm.com>
24439 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
24440 with __builtin_sqrt.
24441 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
24442 with __builtin_sqrtf.
24443 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
24444 with __builtin_ceil.
24445 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
24446 with __builtin_ceilf.
24447 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
24448 with __builtin_floor.
24449 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
24450 with __builtin_floorf.
24451 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
24452 with __builtin_fma.
24453 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
24454 with __builtin_fmaf.
24455 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
24456 with __builtin_fmax.
24457 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
24458 with __builtin_fmaxf.
24459 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
24460 with __builtin_fmin.
24461 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
24462 with __builtin_fminf.
24463 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
24464 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
24465 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
24466 with builtin_rint and conversion to int.
24467 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
24468 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
24469 with builtin_llround.
24470 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
24471 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
24472 with builtin_rint and conversion to long int.
24473 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
24474 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
24475 with builtin_lround.
24476 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
24477 with builtin_lroundf.
24478 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
24479 statements with __builtin_nearbyint.
24480 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
24481 statements with __builtin_nearbyintf.
24482 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
24483 with __builtin_rint.
24484 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
24485 with __builtin_rintf.
24486 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
24487 with __builtin_round.
24488 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
24489 with __builtin_roundf.
24490 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
24491 with __builtin_trunc.
24492 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
24493 with __builtin_truncf.
24494 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
24495 and s_l[l]round[f].c too.
24497 2017-10-23 Alan Modra <amodra@gmail.com>
24499 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
24500 Adjust stack after restoring regs. Add missing LR cfi_restore.
24502 2017-10-23 Alan Modra <amodra@gmail.com>
24504 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
24505 Move LR save and frame setup/teardown and LR restore to
24506 immediately around memset call. Provide cfi.
24508 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24510 * sysdeps/i386/fpu/e_powf.S: Removed.
24511 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
24512 * sysdeps/i386/fpu/w_powf.c: Likewise.
24513 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
24514 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24515 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24517 (CFLAGS-e_powf-sse2.c): New.
24518 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
24519 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
24521 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24523 * sysdeps/i386/fpu/e_log2f.S: Removed.
24524 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
24525 * sysdeps/i386/fpu/w_log2f.c: Likewise.
24526 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
24527 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24528 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24530 (CFLAGS-e_log2f-sse2.c): New.
24531 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
24532 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
24534 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24536 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24538 (CFLAGS-e_powf-fma.c): New.
24539 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
24540 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
24542 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24544 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24546 (CFLAGS-e_log2f-fma.c): New.
24547 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
24548 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
24550 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24552 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24554 (CFLAGS-e_logf-fma.c): New.
24555 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
24556 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
24558 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24560 * sysdeps/i386/fpu/e_logf.S: Removed.
24561 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
24562 * sysdeps/i386/fpu/w_logf.c: Likewise.
24563 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
24564 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
24565 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24566 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24568 (CFLAGS-e_logf-sse2.c): New.
24569 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
24570 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
24572 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24574 * sysdeps/i386/fpu/e_exp2f.S: Removed.
24575 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
24576 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
24577 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24578 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24580 (CFLAGS-e_exp2f-sse2.c): New.
24581 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
24582 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
24584 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24586 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24588 (CFLAGS-e_exp2f-fma.c): New.
24589 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
24590 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
24592 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24594 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
24595 * sysdeps/i386/fpu/e_expf.S: Likewise.
24596 * sysdeps/i386/fpu/math_errf.c: Likewise.
24597 * sysdeps/i386/fpu/w_expf.c: Likewise.
24598 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
24599 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24600 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
24601 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
24602 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24603 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24604 Remove e_expf-ia32.
24605 (CFLAGS-e_expf-sse2.c): New.
24606 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
24607 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
24609 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24611 * sysdeps/x86_64/fpu/e_expf.S: Removed.
24612 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
24613 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
24614 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
24616 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
24618 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
24619 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
24621 (__redirect_expf): This.
24622 (SYMBOL_NAME): Changed to expf.
24623 (__ieee754_expf): Renamed to ...
24625 (__GI___expf): This.
24626 (__ieee754_expf): Add strong_alias.
24627 (__expf_finite): Likewise.
24629 Include <sysdeps/ieee754/flt-32/e_expf.c>.
24631 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
24634 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
24637 2017-10-21 Florian Weimer <fweimer@redhat.com>
24639 * posix/Makefile (tests): Add tst-glob-tilde.
24640 (tests-special): Add tst-glob-tilde-mem.out
24641 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
24642 (tst-glob-tilde-mem.out): Add mtrace check.
24643 * posix/tst-glob-tilde.c: New file.
24645 2017-10-20 Joseph Myers <joseph@codesourcery.com>
24647 * bits/floatn-common.h: New file.
24648 * math/Makefile (headers): Add bits/floatn-common.h.
24649 * bits/floatn.h: Include <bits/floatn-common.h>.
24650 * sysdeps/ia64/bits/floatn.h: Likewise.
24651 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24652 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
24653 * sysdeps/powerpc/bits/floatn.h: Likewise.
24654 * sysdeps/x86/bits/floatn.h: Likewise.
24656 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24658 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
24659 indicates whether compiler emits an warning for alias for
24660 functions with incompatible types.
24663 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
24664 the auxiliary process is terminated by a signal before calling _exit
24667 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24670 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
24672 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
24673 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
24674 and bit_arch_XSAVEC_Usable if needed.
24675 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
24676 and bit_arch_Use_dl_runtime_resolve_opt.
24677 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
24679 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
24680 (bit_arch_Prefer_No_AVX512): Updated.
24681 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
24682 (bit_arch_XSAVEC_Usable): New.
24683 (STATE_SAVE_OFFSET): Likewise.
24684 (STATE_SAVE_MASK): Likewise.
24685 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
24686 (cpu_features): Add xsave_state_size and xsave_state_full_size.
24687 (index_arch_Use_dl_runtime_resolve_opt): Removed.
24688 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
24689 (index_arch_XSAVEC_Usable): New.
24690 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
24691 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
24692 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
24694 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
24695 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
24696 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
24697 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
24698 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
24699 _dl_runtime_resolve_xsavec.
24700 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
24702 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
24703 instead of VEC_SIZE.
24704 (REGISTER_SAVE_BND0): Removed.
24705 (REGISTER_SAVE_BND1): Likewise.
24706 (REGISTER_SAVE_BND3): Likewise.
24707 (REGISTER_SAVE_RAX): Always defined to 0.
24709 (_dl_runtime_resolve_avx): Likewise.
24710 (_dl_runtime_resolve_avx_slow): Likewise.
24711 (_dl_runtime_resolve_avx_opt): Likewise.
24712 (_dl_runtime_resolve_avx512): Likewise.
24713 (_dl_runtime_resolve_avx512_opt): Likewise.
24714 (_dl_runtime_resolve_sse): Likewise.
24715 (_dl_runtime_resolve_sse_vex): Likewise.
24717 (_dl_runtime_resolve_fxsave): Likewise.
24718 (USE_XSAVE): Likewise.
24719 (_dl_runtime_resolve_xsave): Likewise.
24720 (USE_XSAVEC): Likewise.
24721 (_dl_runtime_resolve_xsavec): Likewise.
24722 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
24724 (_dl_runtime_resolve_avx512_opt): Likewise.
24725 (_dl_runtime_resolve_avx): Likewise.
24726 (_dl_runtime_resolve_avx_opt): Likewise.
24727 (_dl_runtime_resolve_sse): Likewise.
24728 (_dl_runtime_resolve_sse_vex): Likewise.
24729 (_dl_runtime_resolve_fxsave): New.
24730 (_dl_runtime_resolve_xsave): Likewise.
24731 (_dl_runtime_resolve_xsavec): Likewise.
24733 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
24737 * posix/glob.c (__glob): Fix one-byte overflow.
24739 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24741 * malloc/malloc.c (sysdep-cancel.h): Add include.
24743 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24745 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
24747 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
24749 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
24750 (tests): Remove $(objpfx)ga_test depdendency.
24751 * resolv/ga_test.c: Remove file.
24753 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24756 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
24757 * localedata/locales/kab_DZ: New file.
24759 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24761 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
24762 _dl_relocate_static_pie instead of _dl_start to compute load
24763 address in static PIE.
24765 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24767 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
24769 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24772 * localedata/SUPPORTED: Add shn_MM/UTF-8.
24773 * localedata/locales/shn_MM: New file.
24775 2017-10-20 Florian Weimer <fweimer@redhat.com>
24778 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
24779 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
24780 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
24781 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
24782 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
24783 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
24785 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
24787 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24789 2017-10-19 Joseph Myers <joseph@codesourcery.com>
24791 * sysdeps/mips/ieee754/bits/floatn.h: New file.
24794 * sysdeps/mips/bits/long-double.h: Move to ....
24795 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
24797 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
24799 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
24801 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
24802 H.J. Lu <hongjiu.lu@intel.com>
24805 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
24806 GLRO(dl_platform) to NULL.
24807 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
24808 (modules-names): Add tst-platformmod-1 and
24809 x86_64/tst-platformmod-2.
24810 (CFLAGS-tst-platform-1.c): New.
24811 (CFLAGS-tst-platformmod-1.c): Likewise.
24812 (CFLAGS-tst-platformmod-2.c): Likewise.
24813 (LDFLAGS-tst-platformmod-2.so): Likewise.
24814 ($(objpfx)tst-platform-1): Likewise.
24815 ($(objpfx)tst-platform-1.out): Likewise.
24816 (tst-platform-1-ENV): Likewise.
24817 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
24818 * sysdeps/x86_64/tst-platform-1.c: New file.
24819 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
24820 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
24822 2017-10-19 Mike FABIAN <mfabian@redhat.com>
24825 * locale/iso-639.def: Add Karbi.
24826 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
24827 * localedata/locales/mjw_IN: New file.
24829 2017-10-18 Joseph Myers <joseph@codesourcery.com>
24831 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
24832 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24833 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
24834 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
24835 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24836 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24837 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
24839 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24840 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24841 * manual/math.texi (Mathematics): Document additional architecture
24842 support for _Float128.
24843 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24844 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24845 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24846 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24847 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24848 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24849 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24850 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24851 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24852 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24853 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24854 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24855 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24856 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24857 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24859 2017-10-18 Renlin Li <renlin.li@arm.com>
24861 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
24862 _DYNAMIC symbol to calculate load address.
24864 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
24866 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
24867 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
24869 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
24870 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
24872 2017-10-18 Mike FABIAN <mfabian@redhat.com>
24875 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
24876 and improve readability by using more ASCII.
24877 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
24878 and improve readability by using more ASCII.
24880 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
24882 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
24883 not all targets support atomics on bool.
24885 2017-10-17 Joseph Myers <joseph@codesourcery.com>
24887 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
24888 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
24890 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24891 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
24892 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24893 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
24894 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24895 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
24897 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24899 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
24902 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24905 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
24906 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
24907 (do_check_remalloced_chunk): Fix build bug.
24908 (do_check_malloc_state): Add assert that checks arena->top.
24909 (malloc_consolidate): Remove initialization.
24910 (int_mallinfo): Remove call to malloc_consolidate.
24911 (__libc_mallopt): Clarify why malloc_consolidate is needed.
24913 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24915 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
24916 (have_fastchunks): Remove.
24917 (clear_fastchunks): Remove.
24918 (set_fastchunks): Remove.
24919 (malloc_state): Add have_fastchunks.
24920 (malloc_init_state): Use have_fastchunks.
24921 (do_check_malloc_state): Remove incorrect invariant checks.
24922 (_int_malloc): Use have_fastchunks.
24923 (_int_free): Likewise.
24924 (malloc_consolidate): Likewise.
24926 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24928 * malloc/malloc.c (tcache_put): Inline.
24929 (tcache_get): Inline.
24931 2017-10-17 Jordi Mallach <jordi@gnu.org>
24933 Aurelien Jarno <aurelien@aurel32.net>
24935 * localedata/locales/ca_ES@valencia: New file.
24936 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
24938 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
24941 * math/math.h: Let signbit use the builtin in C++ mode with gcc
24944 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24946 * scripts/build-many-glibcs.py (Context.add_all_configs):
24947 Add arm-linux-gnueabihf multiarch extra_glibcs.
24949 * sysdeps/generic/ifunc-init.h: New file.
24950 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
24952 2017-10-17 Mike FABIAN <mfabian@redhat.com>
24955 * localedata/locales/el_GR: Set n_cs_precedes to 0.
24956 * localedata/locales/el_CY: copy "el_GR" because it is identical.
24957 * stdlib/tst-strfmon_l.c: adapt test case.
24959 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24961 * sysdeps/generic/float128-abi.h: New file.
24962 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
24963 non-__prefixed symbols to ....
24964 * math/Versions: ... here. Include <float128-abi.h>.
24965 * stdlib/Versions ... and here. Include <float128-abi.h>
24967 2017-10-16 Florian Weimer <fweimer@redhat.com>
24969 * version.h (VERSION): Switch to ".9000" as the development
24972 2017-10-16 Florian Weimer <fweimer@redhat.com>
24975 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
24976 compat_symbol_reference to access non-default version.
24978 2017-10-16 Florian Weimer <fweimer@redhat.com>
24980 * malloc/Makefile (others-extras): Set to mcheck-init.o.
24982 2017-10-16 Carlos O'Donell <carlos@redhat.com>
24984 * include/shlib-compat.h (compat_symbol_reference): Update
24987 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24989 * math/Makefile (test-types): Add
24990 $(type-float128-$(float128-alias-fcts)).
24991 * math/test-float128.h (TYPE_STR): Define conditional on
24992 [FLT128_MANT_DIG == LDBL_MANT_DIG].
24993 (ULP_IDX): Likewise.
24994 (ULP_I_IDX): Likewise.
24996 * stdlib/strtold.c: Include <bits/floatn.h>
24997 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
24998 and later undefine as macro. Define as weak alias if
25000 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
25001 and later undefine as macro. Define as weak alias if
25003 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
25004 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
25005 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25006 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25007 Define and later undefine as macro. Define as weak alias if
25009 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
25011 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
25012 Define and later undefine as macro. Define as weak alias if
25014 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25015 Define and later undefine as macro. Define as weak alias if
25018 2017-10-15 Carlos O'Donell <carlos@redhat.com>
25020 * localedata/collate-test.c (allocate_arrays): Don't use \n in
25021 record_verbose messages.
25023 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
25026 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
25027 to silence -O3 -Wall warning with GCC 7.
25029 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
25031 * Makeconfig (+link-static-before-libc): Use the first of
25032 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
25033 * gmon/Makefile (tests): Add tst-gmon-static.
25034 (tests-static): Likewise.
25035 (CFLAGS-tst-gmon-static.c): New.
25036 (CRT-tst-gmon-static): Likewise.
25037 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
25038 (tst-gmon-static-ENV): Likewise.
25039 (tests-special): Likewise.
25040 ($(objpfx)tst-gmon-static.out): Likewise.
25041 (clean-tst-gmon-static-data): Likewise.
25042 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
25043 * gmon/tst-gmon-static-gprof.sh: New file.
25044 * gmon/tst-gmon-static.c: Likewise.
25046 2017-10-13 Carlos O'Donell <carlos@redhat.com>
25049 * locale/programs/linereader.c (get_string): Don't warn on
25050 non-symbolic character.
25053 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
25057 * locale/programs/record-status.h: New file
25058 * locale/programs/locale.c: Add comment.
25059 * locale/programs/charmap-dir.c: Don't include error.h.
25060 (charmap_opendir): Use record_error.
25061 * locale/programs/charmap.c: Don't include error.h.
25062 (charmap_read): Use record_error, and record_warning.
25063 (parse_charmap): Likewise.
25064 * locale/programs/ld-address.c: Don't include error.h.
25065 (address_finish): Use record_error, and record_warning.
25066 * locale/programs/ld-collate.c: Don't include error.h.
25067 (collate_finish): Use record_error, and record_error_at_line.
25068 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
25069 (ctype_class_new): Likewise.
25070 (ctype_map_new): Likewise.
25071 (set_one_default): Likewise.
25072 (set_class_defaults): Likewise.
25073 (translit_flatten): Likewise.
25074 (allocate_arrays): Use record_error, and record_verbose.
25075 * locale/programs/ld-identification.c: Don't include error.h.
25076 (indentation_finish): Use record_error and record_warning.
25077 * locale/programs/ld-measurement.c: Don't include error.h.
25078 (measurement_finish): Use record_error.
25079 * locale/programs/ld-messages.c
25080 (message_finish): Likewise.
25081 * locale/programs/ld-monetary.c
25082 (monetary_finish): Likewise.
25083 * locale/programs/ld-name.c (name_finish): Use record_error
25084 and record_warning.
25085 * locale/programs/ld-numeric.c
25086 (numeric_finish): Use record_error.
25087 * locale/programs/ld-paper.c: Don't include error.h.
25088 (paper_finish): Use record_error.
25089 * locale/programs/ld-telephone.c: Don't include error.h.
25090 (telephone_finish): Use record_error.
25091 * locale/programs/ld-time.c (time_finish): Likewise.
25092 * locale/programs/linereader.h (lr_error): Make inline func.
25093 * locale/programs/localedef.c: Define recorded_warning_count,
25094 and recorded_error_count.
25095 (main): Use record_error. Use recorded_error_count and
25096 recorded_warning_count to issue correct error returns.
25097 (add_to_readlist): Use record_error.
25098 (find_locale): Likewise.
25099 (load_locale): Likewise.
25100 * locale/programs/localedef.h: Remove be_quiet
25101 and WITH_CUR_LOCALE.
25102 * locale/programs/locarchive.c (compare_from_file): Use
25104 * locale/programs/locfile.c (write_locale_data): Use
25106 * locale/programs/repertoire.c: Dont include error.h.
25107 (repertoire_complain): Use record_error.
25108 * localedata/tst-fmon.sh: Expect failures from localedef.
25109 * localedata/tst-locale.sh: Likewise.
25110 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
25112 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
25113 (REPORTS): Likewise.
25115 (i18n): Rename to...
25116 (i18n_ctype): ...this.
25117 (i18n-report): Rename to...
25118 (i18n_ctype-report): ...this.
25119 * localedata/locales/i18n_ctype: Regenerate.
25120 * localedata/locales/i18n: copy i18n_ctype.
25122 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25124 * stdlib/strfroml.c: Include <bits/floatn.h>.
25125 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
25126 Define before include of <stdlib.h> and undefine afterwards, then
25127 define as weak alias.
25129 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
25130 Undefine and restore default definition. Use
25131 libm_alias_ldouble_other.
25133 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
25136 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
25139 2017-10-13 James Clarke <jrtc27@jrtc27.com>
25141 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25142 Assign sym_map to be map for local symbols, as TLS relocations
25143 use sym_map to determine whether the symbol is defined and to
25144 extract the TLS information.
25145 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25146 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25148 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25151 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
25152 (math_force_eval): Add powerpc version.
25155 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
25157 (do_test): Likewise.
25158 * stdio-common/tst-printf.sh: Likewise.
25159 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
25160 ifdef clause in order to set the carry bit right. Replace r0 by
25161 0 without changing the behavior.
25163 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25165 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
25166 <libm-alias-ldouble.h>.
25167 (fabsl): Define using libm_alias_ldouble.
25168 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
25169 <libm-alias-ldouble.h>.
25170 (fabsl): Define using libm_alias_ldouble.
25172 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
25173 Remove conditional code.
25175 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
25176 Rename to __clog10_internal_l.
25177 (__clog10_internal_l): Define aliases using
25178 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
25181 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25183 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
25184 * benchtests/sincosf-inputs: New file.
25185 * benchtests/cosf-inputs: New file.
25186 * benchtests/sinf-inputs: New file.
25188 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25190 * posix/tst-spawn.c (do_test): Wait for both children.
25192 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
25195 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
25196 tests-pie): Add tst-gmon-pie.
25197 (CFLAGS-tst-gmon-pie.c): New.
25198 (CRT-tst-gmon-pie): Likewise.
25199 (tst-gmon-pie-ENV): Likewise.
25200 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
25201 ($(objpfx)tst-gmon-pie.out): Likewise.
25202 (clean-tst-gmon-pie-data): Likewise.
25203 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
25204 * gmon/gmon.c [PIC]: Include <link.h>.
25205 [PIC] (callback): New function.
25206 (write_hist): Add an argument for load address. Subtract load
25208 (write_call_graph): Likewise.
25209 (write_gmon): Call __dl_iterate_phdr to get load address, pass
25210 it to write_hist and write_call_graph.
25211 * gmon/tst-gmon-pie.c: New file.
25213 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25215 * math/Makefile (test-types-basic): New variable.
25216 (test-types): Likewise.
25217 (libm-test-support): Use $(test-types) instead of $(types).
25218 (libm-tests-base-normal): Likewise.
25219 (libm-tests-base-finite): Likewise.
25220 (libm-tests-base-inline): Likewise.
25221 (generated): Likewise.
25222 ($(objpfx)libm-test-support-$(t).c): Likewise.
25223 (libm-tests-for-type iterator): Likewise.
25224 (libm-test-support iterator): Likewise.
25225 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
25226 (ulp_idx): Use ULP_IDX.
25227 * math/test-ldouble.h: Include <float.h>.
25228 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
25229 (ULP_IDX): New macro.
25230 (ULP_I_IDX): Likewise.
25231 * math/test-double.h (ULP_IDX): Likewise.
25232 (ULP_I_IDX): Likewise.
25233 * math/test-float.h (ULP_IDX): Likewise.
25234 (ULP_I_IDX): Likewise.
25235 * math/test-float128.h (ULP_IDX): Likewise.
25236 (ULP_I_IDX): Likewise.
25238 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25240 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
25241 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25242 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25243 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
25244 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25245 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
25246 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
25247 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25248 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25249 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25250 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
25251 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25252 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25253 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25254 (SINGLE_THREAD_BY_GLOBAL): Define.
25255 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25257 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25259 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25261 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25263 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
25264 (SINGLE_THREAD_BY_GLOBAL): Likewise.
25265 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25268 2017-10-11 Andreas Schwab <schwab@suse.de>
25270 * nis/Makefile (aux): Remove.
25271 * nscd/Makefile (aux): Add nscd_hash.
25272 (nscd-modules): Likewise.
25273 ($(objpfx)nscd): Don't depend on libnsl.
25274 * nscd/nscd_hash.c: New file.
25275 * nscd/nscd_hash.h: Likewise.
25276 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
25277 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
25278 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
25279 instead of <nis/rpcsvc/nis.h>.
25280 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
25282 2017-10-11 Florian Weimer <fweimer@redhat.com>
25285 Avoid large NSS buffers with many addresses, aliases.
25286 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
25287 using dynarrays and struct alloc_buffer.
25288 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
25289 (tst-nss-files-hosts-multi): Link with -ldl.
25290 * nss/tst-nss-files-hosts-multi.c: New file.
25292 2017-10-11 Florian Weimer <fweimer@redhat.com>
25295 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
25296 scratch_buffer. Eliminate gotos.
25298 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25300 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
25301 libm_alias_ldouble_other.
25302 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
25303 undefine and redefine.
25304 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25305 (exp10l): Do not define here.
25306 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
25307 (weak_alias): Undefine and redefine.
25308 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
25309 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25310 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
25311 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
25313 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
25314 [!__fma] (fma): Define using libm_alias_double.
25315 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
25316 [!__fmaf] (fmaf): Define using libm_alias_float.
25317 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
25318 (fmal): Define using libm_alias_ldouble.
25320 2017-10-10 Joseph Myers <joseph@codesourcery.com>
25322 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
25324 (libm_alias_double_other): Likewise.
25325 (libm_alias_double_r): Use libm_alias_double_other_r.
25326 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
25328 (libm_alias_float_other): Likewise.
25329 (libm_alias_float_r): Use libm_alias_float_other_r.
25330 * sysdeps/generic/libm-alias-float128.h
25331 (libm_alias_float128_other_r): New macro.
25332 (libm_alias_float128_other): Likewise.
25333 (libm_alias_float128_r): Use libm_alias_float128_other_r.
25334 * sysdeps/generic/libm-alias-ldouble.h
25335 (libm_alias_ldouble_other_r): New macro.
25336 (libm_alias_ldouble_other): Likewise.
25337 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25338 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25339 (libm_alias_double_other_r): New macro.
25340 (libm_alias_double_other): Likewise.
25341 (libm_alias_double_r): Use libm_alias_double_other_r.
25342 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25343 (libm_alias_ldouble_other_r): New macro.
25344 (libm_alias_ldouble_other): Likewise.
25345 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25346 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
25347 [!USE_AS_COMPAT]: Use libm_alias_double_other.
25348 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
25349 [!USE_AS_COMPAT]: Use libm_alias_float_other.
25350 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
25351 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
25352 * math/w_exp2f.c: Use libm_alias_float_other.
25353 * math/w_expf.c: Likewise.
25354 * math/w_log2f.c: Likewise.
25355 * math/w_logf.c: Likewise.
25356 * math/w_powf.c: Likewise.
25357 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
25358 [!__exp2f]: Use libm_alias_float_other.
25359 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
25360 [!__expf]: Use libm_alias_float_other.
25361 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
25362 [!__log2f]: Use libm_alias_float_other.
25363 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
25364 [!__logf]: Use libm_alias_float_other.
25365 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
25366 [!__powf]: Use libm_alias_float_other.
25368 2017-10-10 Florian Weimer <fweimer@redhat.com>
25370 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
25372 (_nss_files_gethostbyname3_r): Call it.
25374 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25376 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
25377 error. Remove default definition of declare_mgen_alias.
25378 [!declare_mgen_alias_r]: Likewise.
25379 * sysdeps/generic/math-type-macros-double.h
25380 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
25381 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
25382 (declare_mgen_alias_r): Likewise.
25383 * sysdeps/generic/math-type-macros-float128.h
25384 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25385 * sysdeps/generic/math-type-macros-ldouble.h
25386 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25387 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
25389 (declare_mgen_alias_r_s): Likewise.
25390 (declare_mgen_alias_r): Likewise.
25391 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
25392 (lgamma_r): Define using libm_alias_double_r.
25393 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
25394 (lgammaf_r): Define using libm_alias_float_r.
25395 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
25396 (lgammal_r): Define using libm_alias_ldouble_r.
25397 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
25398 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25400 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25402 * lib/glob.c (__glob_pattern_type): Remove now-spurious
25403 extern declaration.
25405 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25407 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
25409 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
25412 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
25413 [__cplusplus >= 201103] (__USE_ISOC99): Define.
25414 * math/Makefile (test-math-cxx11): New test.
25415 * math/test-math-cxx11.cc: New file.
25417 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
25419 * login/openpty.c (openpty): Close slave pty file descriptor on error.
25421 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
25422 call to allocate the slave pty file descriptor.
25424 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25426 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
25427 [!__fma] (fma): Define using libm_alias_double.
25428 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
25429 [!__fma] (fma): Define using libm_alias_double.
25431 * sysdeps/ieee754/float128/float128_private.h: Include
25432 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
25433 (libm_alias_ldouble_r): Undefine and redefine.
25434 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
25435 <libm-alias-ldouble.h>.
25436 (asinhl): Define using libm_alias_ldouble.
25437 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
25438 <libm-alias-ldouble.h>.
25439 (atanl): Define using libm_alias_ldouble.
25440 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
25441 <libm-alias-ldouble.h>.
25442 (cbrtl): Define using libm_alias_ldouble.
25443 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
25444 <libm-alias-ldouble.h>.
25445 (ceill): Define using libm_alias_ldouble.
25446 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
25447 <libm-alias-ldouble.h>.
25448 (copysignl): Define using libm_alias_ldouble.
25449 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
25450 <libm-alias-ldouble.h>.
25451 (cosl): Define using libm_alias_ldouble.
25452 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
25453 <libm-alias-ldouble.h>.
25454 (erfl): Define using libm_alias_ldouble.
25456 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
25457 <libm-alias-ldouble.h>.
25458 (expm1l): Define using libm_alias_ldouble.
25459 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
25460 <libm-alias-ldouble.h>.
25461 (fabsl): Define using libm_alias_ldouble.
25462 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
25463 <libm-alias-ldouble.h>.
25464 (floorl): Define using libm_alias_ldouble.
25465 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
25466 <libm-alias-ldouble.h>.
25467 (fmal): Define using libm_alias_ldouble.
25468 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
25469 <libm-alias-ldouble.h>.
25470 (frexpl): Define using libm_alias_ldouble.
25471 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
25472 libm_alias_ldouble.
25473 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
25474 <libm-alias-ldouble.h>.
25475 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
25476 libm_alias_ldouble.
25477 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
25478 <libm-alias-ldouble.h>.
25479 (getpayloadl): Define using libm_alias_ldouble.
25480 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
25481 <libm-alias-ldouble.h>.
25482 (llrintl): Define using libm_alias_ldouble.
25483 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
25484 <libm-alias-ldouble.h>.
25485 (llroundl): Define using libm_alias_ldouble.
25486 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
25487 <libm-alias-ldouble.h>.
25488 (logbl): Define using libm_alias_ldouble.
25489 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
25490 <libm-alias-ldouble.h>.
25491 (lrintl): Define using libm_alias_ldouble.
25492 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
25493 <libm-alias-ldouble.h>.
25494 (lroundl): Define using libm_alias_ldouble.
25495 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
25496 <libm-alias-ldouble.h>.
25497 (modfl): Define using libm_alias_ldouble.
25498 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
25499 <libm-alias-ldouble.h>.
25500 (nearbyintl): Define using libm_alias_ldouble.
25501 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
25502 <libm-alias-ldouble.h>.
25503 (nextafterl): Define using libm_alias_ldouble.
25504 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
25505 <libm-alias-ldouble.h>.
25506 (nextupl): Define using libm_alias_ldouble.
25507 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
25508 <libm-alias-ldouble.h>.
25509 (remquol): Define using libm_alias_ldouble.
25510 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
25511 <libm-alias-ldouble.h>.
25512 (rintl): Define using libm_alias_ldouble.
25513 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
25514 <libm-alias-ldouble.h>.
25515 (roundevenl): Define using libm_alias_ldouble.
25516 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
25517 <libm-alias-ldouble.h>.
25518 (roundl): Define using libm_alias_ldouble.
25519 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
25520 using libm_alias_ldouble.
25521 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
25522 <libm-alias-ldouble.h>.
25523 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
25524 Define using libm_alias_ldouble.
25525 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
25526 <libm-alias-ldouble.h>.
25527 (sincosl): Define using libm_alias_ldouble.
25528 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
25529 <libm-alias-ldouble.h>.
25530 (sinl): Define using libm_alias_ldouble.
25531 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
25532 <libm-alias-ldouble.h>.
25533 (tanhl): Define using libm_alias_ldouble.
25534 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
25535 <libm-alias-ldouble.h>.
25536 (tanl): Define using libm_alias_ldouble.
25537 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
25538 <libm-alias-ldouble.h>.
25539 (totalorderl): Define using libm_alias_ldouble.
25540 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
25541 <libm-alias-ldouble.h>.
25542 (totalordermagl): Define using libm_alias_ldouble.
25543 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
25544 <libm-alias-ldouble.h>.
25545 (truncl): Define using libm_alias_ldouble.
25546 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
25547 libm_alias_ldouble.
25548 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
25549 libm_alias_ldouble.
25550 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
25551 <libm-alias-ldouble.h>.
25552 (weak_alias): Do not undefine and redefine.
25553 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25554 (copysignl): Define with long_double_symbol only if [IS_IN
25556 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
25557 <libm-alias-ldouble.h>.
25558 (weak_alias): Do not undefine and redefine.
25559 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25560 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
25561 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
25562 <libm-alias-ldouble.h>.
25563 (weak_alias): Do not undefine and redefine.
25564 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25565 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
25566 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
25567 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
25568 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
25569 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
25570 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
25571 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
25572 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
25573 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
25574 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
25575 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
25576 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
25577 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
25578 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
25579 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
25580 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
25581 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
25582 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
25583 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
25584 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
25585 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
25586 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
25587 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
25588 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
25589 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
25591 2017-10-06 Carlos O'Donell <carlos@redhat.com>
25594 * malloc/malloc.c (tcache_shutting_down): Use bool type.
25595 (tcache_thread_freeres): Set tcache_shutting_down before
25596 freeing the tcache.
25597 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
25598 * malloc/tst-malloc-tcache-leak.c: New file.
25600 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25602 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
25603 back to powerpc32 file.
25604 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25605 (memrchr): Add __memrchr_power8 to ifunc list.
25606 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
25607 extra bytes for unaligned inputs.
25609 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25611 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
25612 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
25613 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
25614 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25615 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25617 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25619 * sysdeps/arm/libm-test-ulps: Update.
25621 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
25622 <libm-alias-ldouble.h>.
25623 (asinhl): Define using libm_alias_ldouble.
25624 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
25625 <libm-alias-ldouble.h>.
25626 (cbrtl): Define using libm_alias_ldouble.
25627 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
25628 <libm-alias-ldouble.h>.
25629 (copysignl): Define using libm_alias_ldouble.
25630 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
25631 <libm-alias-ldouble.h>.
25632 (cosl): Define using libm_alias_ldouble.
25633 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
25634 <libm-alias-ldouble.h>.
25635 (erfl): Define using libm_alias_ldouble.
25637 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
25638 <libm-alias-ldouble.h>.
25639 (fmal): Define using libm_alias_ldouble.
25640 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
25641 <libm-alias-ldouble.h>.
25642 (frexpl): Define using libm_alias_ldouble.
25643 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
25644 libm_alias_ldouble.
25645 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
25646 <libm-alias-ldouble.h>.
25647 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
25648 libm_alias_ldouble.
25649 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
25650 <libm-alias-ldouble.h>.
25651 (getpayloadl): Define using libm_alias_ldouble.
25652 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
25653 <libm-alias-ldouble.h>.
25654 (llrintl): Define using libm_alias_ldouble.
25655 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
25656 <libm-alias-ldouble.h>.
25657 (llroundl): Define using libm_alias_ldouble.
25658 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
25659 <libm-alias-ldouble.h>.
25660 (lrintl): Define using libm_alias_ldouble.
25661 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
25662 <libm-alias-ldouble.h>.
25663 (lroundl): Define using libm_alias_ldouble.
25664 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
25665 <libm-alias-ldouble.h>.
25666 (modfl): Define using libm_alias_ldouble.
25667 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
25668 <libm-alias-ldouble.h>.
25669 (nextupl): Define using libm_alias_ldouble.
25670 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
25671 <libm-alias-ldouble.h>.
25672 (remquol): Define using libm_alias_ldouble.
25673 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
25674 <libm-alias-ldouble.h>.
25675 (roundevenl): Define using libm_alias_ldouble.
25676 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
25677 <libm-alias-ldouble.h>.
25678 (roundl): Define using libm_alias_ldouble.
25679 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
25680 using libm_alias_ldouble.
25681 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
25682 <libm-alias-ldouble.h>.
25683 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
25684 <libm-alias-ldouble.h>.
25685 (setpayloadsigl): Define using libm_alias_ldouble.
25686 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
25687 <libm-alias-ldouble.h>.
25688 (sincosl): Define using libm_alias_ldouble.
25689 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
25690 <libm-alias-ldouble.h>.
25691 (sinl): Define using libm_alias_ldouble.
25692 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
25693 <libm-alias-ldouble.h>.
25694 (tanhl): Define using libm_alias_ldouble.
25695 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
25696 <libm-alias-ldouble.h>.
25697 (tanl): Define using libm_alias_ldouble.
25698 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
25699 <libm-alias-ldouble.h>.
25700 (totalorderl): Define using libm_alias_ldouble.
25701 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
25702 <libm-alias-ldouble.h>.
25703 (totalordermagl): Define using libm_alias_ldouble.
25704 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
25705 libm_alias_ldouble.
25706 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
25707 libm_alias_ldouble.
25709 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
25711 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
25713 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25714 (__libc_ifunc_impl_list): Likewise.
25715 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
25716 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
25718 * benchtests/bench-memmove-walk.c: New file.
25719 * benchtests/Makefile (string-benchset): Add it.
25721 * benchtests/bench-memset-walk.c: New file.
25722 * benchtests/Makefile (string-benchset): Add it.
25724 * benchtests/bench-memcpy-walk.c: New file.
25725 * benchtests/Makefile (string-benchset): Add it.
25727 2017-10-05 Florian Weimer <fweimer@redhat.com>
25729 nscd: Eliminate compilation time dependency in the build output.
25730 * nscd/nscd_stat.c (STATDATA_VERSION)
25731 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
25732 (STATDATA_VERSION_FULL): New macro definitions.
25733 (compilation): Remove.
25734 (struct statdata): Adjust version member.
25735 (send_stats): Set version from STATDATA_VERSION_FULL.
25736 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
25738 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25740 * configure.ac (--enable-add-ons): Remove option.
25741 (machine): Do not mention add-ons in comment.
25742 (LIBC_PRECONFIGURE): Likewise.
25743 (add_ons): Remove variable and sanity checks and logic to locate
25745 (add_ons_automatic): Remove variable.
25746 (configured_add_ons): Likewise.
25747 (add_ons_sfx): Likewise.
25748 (add_ons_pfx): Likewise.
25749 (add_on_subdirs): Likewise.
25750 (sysnames_add_ons): Likewise. Remove loop over add-ons and
25751 consideration of add-ons in Implies handling.
25752 (sysdeps_add_ons): Likewise.
25753 * configure: Regenerated.
25754 * libidn/configure.ac: Remove.
25755 * libidn/configure: Likewise.
25756 * sysdeps/unix/inet/configure.ac: New file.
25757 * sysdeps/unix/inet/configure: New generated file.
25758 * sysdeps/unix/inet/Subdirs: Add libidn.
25759 * Makeconfig (sysdeps-srcdirs): Remove variable.
25760 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
25761 ($(common-objpfx)config.status): Do not depend on add-on files.
25762 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
25764 (all-subdirs): Do not include $(add-on-subdirs).
25765 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
25766 * config.make.in (add-ons): Remove variable.
25767 (add-on-subdirs): Likewise.
25768 (sysdeps-add-ons): Likewise.
25769 * manual/Makefile (add-chapters): Remove.
25770 ($(objpfx)texis): Do not depend on $(add-chapters).
25771 (nonexamples): Do not handle $(add-chapters).
25772 (examples): Do not handle $(add-ons).
25773 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
25775 * manual/install.texi (Installation): Do not mention add-ons.
25776 (--enable-add-ons): Do not document configure option.
25777 * INSTALL: Regenerated.
25778 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
25779 * manual/maint.texi (Hierarchy Conventions): Do not mention
25781 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
25783 * scripts/gen-sorted.awk: Do not handle Subdirs files from
25785 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
25786 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
25788 2017-10-05 Andreas Schwab <schwab@suse.de>
25791 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
25792 (_IO_flush_all_lockp): Always lock list_all_lock.
25793 (_IO_flush_all_linebuffered): Likewise.
25794 (_IO_unbuffer_all): Likewise.
25796 2017-10-05 Florian Weimer <fweimer@redhat.com>
25799 Do not flush stdio streams on abort.
25800 * stdlib/abort.c (fflush): Remove macro definition.
25801 (abort): Remove stages related to stdio flushing.
25803 2017-10-05 Florian Weimer <fweimer@redhat.com>
25805 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
25807 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
25809 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25811 2017-10-05 Florian Weimer <fweimer@redhat.com>
25813 * support/support_format_hostent.c (support_format_hostent): Add
25814 more error information for NETDB_INTERNAL.
25816 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25818 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
25819 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
25820 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
25821 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
25822 AC_DEFINE if multi-arch is enabled.
25823 * sysdeps/i386/configure: Regenerated.
25825 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25827 * Makeconfig (+link-static-before-libc): Use
25828 $(DEFAULT-LDFLAGS-$(@F)).
25829 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
25830 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
25831 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
25833 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25835 * elf/Makefile (tests): Add tst-main1.
25836 (modules-names): Add tst-main1mod.
25837 ($(objpfx)tst-main1): New.
25838 (CRT-tst-main1): Likewise.
25839 (LDFLAGS-tst-main1): Likewise.
25840 (LDLIBS-tst-main1): Likewise.
25841 (tst-main1mod.so-no-z-defs): Likewise.
25842 * elf/tst-main1.c: New file.
25843 * elf/tst-main1mod.c: Likewise.
25845 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25847 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
25849 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25851 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
25852 (fma): Define using libm_alias_double.
25853 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
25854 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
25856 (fmal): Do not define as compat symbol here.
25857 * sysdeps/alpha/fpu/s_fma.c: New file.
25859 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25861 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
25863 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25866 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
25868 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25870 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
25871 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25872 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
25873 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
25874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25875 Include <math_ldbl_opt.h>
25876 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25878 (compat_symbol): Undefine and redefine.
25879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25881 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25882 (compat_symbol): Undefine and redefine.
25883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
25884 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
25885 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
25886 GLIBC_2_1 for libm.
25887 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
25888 GLIBC_2.0 copysignl symbol.
25889 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
25890 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
25892 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
25894 2017-10-04 Florian Weimer <fweimer@redhat.com>
25896 * scripts/check-local-headers.sh: Ignore nspr4 header file
25897 directory in addition to nspr.
25899 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
25902 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
25903 * configure: Regenerate.
25904 * crypt/Makefile (nss-cpp-flags): New variable.
25905 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
25906 (CPPFLAGS-md5-crypt.c): Use it.
25907 * scripts/check-local-headers.sh: Ignore nspr header file
25910 2017-10-04 Andreas Schwab <schwab@suse.de>
25912 * nis/Makefile (services): Remove compat.
25913 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
25914 ($(objpfx)libnss_compat.so): Remove rule.
25915 * nis/Versions (libnss_compat): Remove.
25916 * nss/Makefile (services): Add compat.
25917 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
25918 * nss/Versions (libnss_compat): Define.
25919 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
25920 Don't include <rpc/types.h>. Replace bool_t by bool.
25921 * nss/nss_compat/compat-initgroups.c: Likewise.
25922 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
25923 instead of <rpcsrv/ypclnt.h>.
25924 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
25925 yp_get_default_domain.
25926 * nss/nss_compat/compat-pwd.c: Likewise.
25927 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
25928 yp_get_default_domain.
25929 * nss/nss_compat/nisdomain.c: New file.
25930 * nss/nss_compat/nisdomain.h: Likewise.
25932 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25935 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
25936 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25938 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25941 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
25942 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
25944 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25946 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
25947 "movl main@GOTOFF(%ebx), %eax".
25949 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25951 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
25952 allow undefined _DYNAMIC in PIE libc.a.
25953 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25956 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25958 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
25961 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25963 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
25966 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25968 * math/test-math-iscanonical.cc (error): Replace bool with int.
25970 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25972 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
25973 (modf): Define using libm_alias_double, only if [!__modf].
25974 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
25975 <libm-alias-double.h>.
25976 (modf): Define using libm_alias_double, only if [!__modf].
25977 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
25978 compat symbol here.
25979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
25980 (weak_alias): Do not undefine and redefine.
25981 (strong_alias): Likewise.
25982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
25983 (weak_alias): Likewise.
25984 (strong_alias): Likewise.
25986 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
25987 (logb): Define using libm_alias_double, only if [!__logb].
25988 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
25989 <libm-alias-double.h>.
25990 (logb): Define using libm_alias_double, only if [!__logb].
25991 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
25992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
25993 (weak_alias): Do not undefine and redefine.
25994 (strong_alias): Likewise.
25995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
25996 (weak_alias): Likewise.
25997 (strong_alias): Likewise.
25999 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26001 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
26002 Check SHARED instead PIC.
26004 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26006 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
26007 [!__fmaf] (fmaf): Define using libm_alias_float.
26009 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
26010 (frexp): Define using libm_alias_double.
26011 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
26012 <libm-alias-double.h>.
26013 (frexp): Define using libm_alias_double.
26014 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
26015 compat symbol here.
26017 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26020 * math/math.h: Trivial fix for unbalanced parentheses in comment.
26021 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
26022 (CFLAGS-test-math-iscanonical.cc): New variable.
26023 * math/test-math-iscanonical.cc: New file.
26024 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
26025 Provide a C++ implementation based on function overloading,
26026 rather than using __MATH_TG, which uses C-only builtins.
26027 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
26029 * sysdeps/powerpc/powerpc64le/Makefile
26030 (CFLAGS-test-math-iscanonical.cc): New variable.
26032 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26034 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
26035 (ceil): Define using libm_alias_double.
26036 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
26037 (floor): Define using libm_alias_double.
26038 * sysdeps/ieee754/dbl-64/s_llround.c: Include
26039 <libm-alias-double.h>.
26040 (llround): Define using libm_alias_double.
26041 * sysdeps/ieee754/dbl-64/s_lround.c: Include
26042 <libm-alias-double.h>.
26043 (lround): Define using libm_alias_double.
26044 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
26045 <libm-alias-double.h>.
26046 (nearbyint): Define using libm_alias_double.
26047 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
26048 <libm-alias-double.h>.
26049 (remquo): Define using libm_alias_double.
26050 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
26051 (rint): Define using libm_alias_double.
26052 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
26053 (round): Define using libm_alias_double.
26054 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
26055 (trunc): Define using libm_alias_double.
26056 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
26057 <libm-alias-double.h>.
26058 (ceil): Define using libm_alias_double.
26059 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
26060 <libm-alias-double.h>.
26061 (floor): Define using libm_alias_double.
26062 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
26063 <libm-alias-double.h>.
26064 (llround): Define using libm_alias_double.
26065 [_LP64] (lround): Likewise.
26066 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
26067 <libm-alias-double.h>.
26068 [!_LP64] (lround): Define using libm_alias_double.
26069 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
26070 <libm-alias-double.h>.
26071 (nearbyint): Define using libm_alias_double.
26072 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
26073 <libm-alias-double.h>.
26074 (remquo): Define using libm_alias_double.
26075 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
26076 <libm-alias-double.h>.
26077 (rint): Define using libm_alias_double.
26078 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
26079 <libm-alias-double.h>.
26080 (round): Define using libm_alias_double.
26081 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
26082 <libm-alias-double.h>.
26083 (trunc): Define using libm_alias_double.
26084 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
26085 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
26086 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
26087 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
26088 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
26089 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
26090 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
26091 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
26092 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
26094 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26096 * math/w_remainder.c: New file.
26097 * math/w_remainderf.c: New file.
26098 * math/w_remainderl.c: New file.
26100 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26102 * elf/rtld.c (BOOTSTRAP_MAP): New.
26103 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
26104 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26106 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26108 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26111 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
26113 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
26114 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
26115 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
26116 rtld_hidden_data_ver): Define to empty.
26117 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
26118 __assert_perror_fail): Likewise.
26119 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26120 (__rewinddir): Likewise.
26121 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26122 (__profile_frequency): Likewise.
26123 * include/setjmp.h (__sigsetjmp): Likewise.
26124 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
26125 __libc_sigaction): Likewise.
26126 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
26127 not set hidden attribute.
26128 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
26129 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
26130 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
26131 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
26132 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
26133 __fxstatat64): Likewise.
26134 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26135 (__uname): Likewise.
26136 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26137 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
26138 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
26139 (NO_RTLD_HIDDEN): Set.
26140 * sysdeps/mach/hurd/configure: Refresh.
26141 * config.h.in: Refresh.
26143 2017-10-02 Joseph Myers <joseph@codesourcery.com>
26145 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
26146 (atan): Define using libm_alias_double.
26147 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
26148 (tan): Define using libm_alias_double.
26149 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
26150 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
26152 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
26153 define as weak alias of __atan. Do not define any aliases if
26155 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
26156 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
26157 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
26158 as weak alias of __tan. Do not define any aliases if [__tan].
26159 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
26160 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
26161 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
26163 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
26164 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
26165 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
26166 and define as weak alias of __atan.
26167 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
26169 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
26170 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
26171 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
26172 define as weak alias of __tan.
26174 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26176 * math/w_lgamma.c: New file.
26177 * math/w_lgammaf.c: New file.
26178 * math/w_lgammal.c: New file.
26180 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26182 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
26183 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
26184 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
26185 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
26186 * sysdeps/ieee754/flt-32/w_logf.c: New file.
26187 * sysdeps/ieee754/flt-32/w_powf.c: New file.
26188 * sysdeps/i386/fpu/w_log2f.c: New file.
26189 * sysdeps/i386/fpu/w_logf.c: New file.
26190 * sysdeps/i386/fpu/w_powf.c: New file.
26191 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
26192 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
26193 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
26195 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26196 H.J. Lu <hongjiu.lu@intel.com>
26198 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
26199 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
26200 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
26201 * sysdeps/ieee754/flt-32/w_expf.c: New file.
26202 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
26204 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
26205 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
26206 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
26207 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
26208 * sysdeps/i386/fpu/w_exp2f.c: New file.
26209 * sysdeps/i386/fpu/w_expf.c: New file.
26210 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
26211 * sysdeps/x86_64/fpu/w_expf.c: New file.
26213 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26215 * math/Versions (logf): New libm symbol at GLIBC_2.27.
26218 * math/w_log2f.c: New file.
26219 * math/w_logf.c: New file.
26220 * math/w_powf.c: New file.
26221 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
26222 * math/w_logf_compat.c (__logf_compat): Likewise.
26223 * math/w_powf_compat.c (__powf_compat): Likewise.
26224 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
26225 * sysdeps/ia64/fpu/e_logf.S: Likewise.
26226 * sysdeps/ia64/fpu/e_powf.S: Likewise.
26227 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26228 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26229 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26230 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26231 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26232 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26233 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26234 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26235 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26236 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26237 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26238 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26247 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26248 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26249 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26250 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26251 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26252 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26256 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26257 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26258 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26260 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26262 * sysdeps/powerpc/powerpc64/multiarch/Makefile
26263 (sysdep_routines): Add memrchr_power8.
26264 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26265 (memrchr): Add __memrchr_power8 to list of memrchr functions.
26266 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
26268 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26269 (memrchr): Add __memrchr_power8 to ifunc list.
26270 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
26272 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26275 * sysdeps/unix/sysv/linux/posix_fadvise64.c
26276 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
26278 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26279 (__posix_fallocate64_l64): Likewise.
26281 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26284 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26285 (__sched_setaffinity_new): Add libc_hidden_proto and
26288 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26291 * include/glob.h (__glob64): Add libc_hidden_proto.
26292 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
26295 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26298 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
26301 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26304 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
26306 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26309 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
26312 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26315 * csu/version.c (__libc_print_version): Add attribute_hidden.
26317 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26320 * include/libc-internal.h (__init_misc): Add attribute_hidden.
26322 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26325 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
26327 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26330 * nscd/nscd_helper.c (__nis_hash): New prototype.
26332 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26335 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
26336 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
26338 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26339 * termios/tcgetattr.c (__tcgetattr): Likewise.
26341 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26344 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
26345 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
26346 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
26347 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
26348 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
26350 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26353 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
26355 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26358 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
26359 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
26361 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26364 * intl/hash-string.h (__hash_string): Add attribute_hidden.
26366 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26369 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
26370 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
26372 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26375 * include/ifreq.h: New file.
26376 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
26377 (__ifreq): Likewise.
26378 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
26379 (__ifreq): Likewise.
26381 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26384 * include/idna.h: New file.
26385 * inet/getnameinfo.c: Include <idna.h> instead of
26387 (__idna_to_unicode_lzlz): Removed.
26388 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
26390 (__idna_to_ascii_lz): Removed.
26391 (__idna_to_unicode_lzlz): Likewise.
26393 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26396 * include/plural-exp.h: New file.
26397 * intl/plural-exp.c: Include <plural-exp.h> instead of
26400 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26403 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
26404 "getsourcefilter.h".
26405 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
26406 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
26407 "getsourcefilter.h".
26408 (__get_sol): Removed.
26410 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26413 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
26415 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
26417 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26420 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
26423 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26426 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
26428 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26431 * include/search.h (__tdestroy): Add libc_hidden_proto.
26432 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
26434 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26437 * include/assert.h (__assert_fail_base): Add attribute_hidden.
26439 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26442 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
26445 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26448 * include/signal.h (__kill): Add libc_hidden_proto.
26449 (__sigblock): Likewise.
26450 (__sigprocmask): Likewise.
26451 (__sigaltstack): Likewise.
26452 * signal/kill.c (__kill): Add libc_hidden_def.
26453 * signal/sigblock.c (__sigblock): Likewise.
26454 * signal/sigprocmask.c (__sigprocmask): Likewise.
26455 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
26456 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26457 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26458 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26459 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
26461 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26463 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26464 (__sigprocmask): Likewise.
26465 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
26467 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26468 (__sigprocmask): Likewise.
26469 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26472 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26475 * include/string.h (__strsep): Add libc_hidden_proto.
26476 * string/strsep.c (__strsep): Add libc_hidden_def.
26478 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26481 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
26483 (__spawni): Likewise.
26485 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26488 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
26489 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
26492 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26495 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
26497 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26500 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
26501 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
26502 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
26503 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
26504 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
26506 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
26507 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
26509 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26512 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
26513 (__dcigettext): Likewise.
26515 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26518 * include/sys/sysinfo.h (__get_nprocs_conf): Add
26520 (__get_nprocs): Likewise.
26521 (__get_phys_pages): Likewise.
26522 (__get_avphys_pages): Likewise.
26523 (__get_child_max): Add attribute_hidden.
26524 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
26525 (__get_nprocs): Likewise.
26526 (__get_phys_pages): Likewise.
26527 (__get_avphys_pages): Likewise.
26528 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
26530 (__get_nprocs): Likewise.
26531 (__get_phys_pages): Likewise.
26532 (__get_avphys_pages): Likewise.
26533 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
26535 (__get_nprocs_conf): Likewise.
26536 (__get_phys_pages): Likewise.
26537 (__get_avphys_pages): Likewise.
26539 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26542 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
26544 (__netlink_close): Likewise.
26545 (__netlink_free_handle): Likewise.
26546 (__netlink_request): Likewise.
26548 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26551 * include/rpc/rpc.h (__rpc_thread_variables): Add
26553 (__rpc_thread_svc_cleanup): Likewise.
26554 (__rpc_thread_clnt_cleanup): Likewise.
26555 (__rpc_thread_key_cleanup): Likewise.
26557 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26560 * include/sys/uio.h (__readv): Add libc_hidden_proto.
26561 (__writev): Likewise.
26562 * misc/readv.c (__readv): Add libc_hidden_def.
26563 * misc/writev.c (__writev): Likewise.
26564 * sysdeps/posix/readv.c (__readv): Likewise.
26565 * sysdeps/posix/writev.c (__writev): Likewise.
26566 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
26567 (__readv): Likewise.
26568 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
26569 (__writev): Likewise.
26571 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26574 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
26575 (__regcomp): Add libc_hidden_proto.
26576 (__regexec): Likewise.
26577 (__regfree): Likewise.
26578 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
26579 (__regfree): Likewise.
26580 * posix/regexec.c (__regexec): Likewise.
26582 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26585 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
26586 (__getutent): Likewise.
26587 (__getutid): Likewise.
26588 (__getutline): Likewise.
26589 (__pututline): Likewise.
26590 (__getutent_r): Likewise.
26591 (__getutid_r): Likewise.
26592 (__getutline_r): Likewise.
26593 (__utmpname): Add attribute_hidden.
26594 (__setutent): Likewise.
26595 (__endutent): Likewise.
26596 * login/getutent.c (__getutent): Add libc_hidden_def.
26597 * login/getutent_r.c (__getutent_r): Likewise.
26598 (__pututline): Likewise.
26599 * login/getutid.c (__getutid): Likewise.
26600 * login/getutid_r.c (__getutid_r): Likewise.
26601 * login/getutline.c (__getutline): Likewise.
26602 * login/getutline_r.c (__getutline_r): Likewise.
26603 * login/updwtmp.c (__updwtmp): Likewise.
26605 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26608 * include/dirent.h (__opendir): Always add attribute_hidden.
26609 (__fdopendir): Likewise.
26610 (__closedir): Likewise.
26611 (__readdir): Likewise.
26612 (__readdir64): Add libc_hidden_proto.
26613 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
26614 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
26615 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
26616 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
26619 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26622 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
26623 * include/netdb.h (__gethostbyaddr_r): Likewise.
26624 (__gethostbyname_r): Likewise.
26625 (__gethostbyname2_r): Likewise.
26626 (__getnetbyaddr_r): Likewise.
26627 (__getnetbyname_r): Likewise.
26628 (__getservbyname_r): Likewise.
26629 (__getservbyport_r): Likewise.
26630 (__getprotobyname_r): Likewise.
26631 (__getprotobynumber_r): Likewise.
26632 (__getnetgrent_r): Likewise.
26633 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
26634 (__getrpcbynumber_r): Likewise.
26635 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
26637 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26640 * include/stdio.h (__fcloseall): Add attribute_hidden.
26641 (__getline): Likewise.
26642 (__path_search): Likewise.
26643 (__gen_tempname): Likewise.
26644 (__libc_message): Likewise.
26645 (__flockfile): Likewise.
26646 (__funlockfile): Likewise.
26647 (__fxprintf): Likewise.
26648 (__fxprintf_nocancel): Likewise.
26650 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26653 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
26654 (__sgetsgent_r): Likewise.
26656 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26659 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
26660 (__statfs64): Likewise.
26661 (__fstatfs64): Likewise.
26662 * include/sys/statvfs.h (__statvfs64): Likewise.
26663 (__fstatvfs64): Likewise.
26664 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
26665 (__statfs_filesize_max): Likewise.
26666 (__statfs_symlinks): Likewise.
26667 (__statfs_chown_restricted): Likewise.
26669 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26672 * include/time.h (__tzstring): Add attribute_hidden.
26673 (__tzfile_read): Likewise.
26674 (__tzfile_compute): Likewise.
26675 (__tzfile_default): Likewise.
26676 (__tzset_parse_tz): Likewise.
26677 (__offtime): Likewise.
26678 (__asctime_r): Likewise.
26679 (__tzset): Likewise.
26680 (__tz_convert): Likewise.
26681 (__getdate_r): Likewise.
26682 (__getclktck): Likewise.
26684 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26687 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
26688 (__nscd_unmap): Likewise.
26689 (__nscd_cache_search): Likewise.
26690 (__nscd_get_nl_timestamp): Likewise.
26691 (__nscd_getpwnam_r): Likewise.
26692 (__nscd_getpwuid_r): Likewise.
26693 (__nscd_getgrnam_r): Likewise.
26694 (__nscd_getgrgid_r): Likewise.
26695 (__nscd_gethostbyname_r): Likewise.
26696 (__nscd_gethostbyname2_r): Likewise.
26697 (__nscd_gethostbyaddr_r): Likewise.
26698 (__nscd_getai): Likewise.
26699 (__nscd_getgrouplist): Likewise.
26700 (__nscd_getservbyname_r): Likewise.
26701 (__nscd_getservbyport_r): Likewise.
26702 (__nscd_innetgr): Likewise.
26703 (__nscd_setnetgrent): Likewise.
26705 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26708 * include/gmp.h: Declare internal functions only if _ISOMAC is
26710 (__mpn_extract_double): Add attribute_hidden.
26711 (__mpn_extract_long_double): Likewise.
26712 (__mpn_extract_float128): Likewise.
26713 (__mpn_construct_float): Likewise.
26714 (__mpn_construct_double): Likewise.
26715 (__mpn_construct_long_double): Likewise.
26716 (__mpn_construct_float128): Likewise.
26717 (mpn_add_1): Likewise.
26718 (mpn_addmul_1): Likewise.
26719 (mpn_add_n): Likewise.
26720 (mpn_cmp): Likewise.
26721 (mpn_divrem): Likewise.
26722 (mpn_lshift): Likewise.
26723 (mpn_mul): Likewise.
26724 (mpn_mul_1): Likewise.
26725 (mpn_rshift): Likewise.
26726 (mpn_sub_1): Likewise.
26727 (mpn_submul_1): Likewise.
26728 (mpn_sub_n): Likewise.
26730 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26733 * include/wchar.h (__wcsnlen): Add attribute_hidden.
26734 (__wcscat): Likewise.
26735 (__btowc): Likewise.
26736 (__wcrtomb): Likewise.
26737 (__mbsrtowcs): Likewise.
26738 (__wcsrtombs): Likewise.
26739 (__mbsnrtowcs): Likewise.
26740 (__wcsnrtombs): Likewise.
26741 (__wcsncpy): Likewise.
26742 (__wcpncpy): Likewise.
26743 (__wmemcpy): Likewise.
26744 (__wmempcpy): Likewise.
26745 (__wmemmove): Likewise.
26746 (__wcschrnul): Likewise.
26747 (__vfwscanf): Likewise.
26748 (__vswprintf): Likewise.
26749 (__fwprintf): Likewise.
26750 (__vfwprintf): Likewise.
26752 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26755 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
26756 (__getgrgid_r): Likewise.
26757 (__getgrnam_r): Likewise.
26758 * include/pwd.h (__getpwuid_r): Likewise.
26759 (__getpwnam_r): Likewise.
26760 (__fgetpwent_r): Likewise.
26761 * include/shadow.h (__getspnam_r): Likewise.
26762 (__sgetspent_r): Likewise.
26763 (__fgetspent_r): Likewise.
26765 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26768 * include/unistd.h (__access): Add attribute_hidden.
26769 (__lseek64): Likewise.
26770 (__libc_pread64): Likewise.
26771 (__pipe2): Likewise.
26772 (__sleep): Likewise.
26773 (__chdir): Likewise.
26774 (__fchdir): Likewise.
26775 (__getcwd): Likewise.
26776 (__rmdir): Likewise.
26777 (__execvpe): Likewise.
26778 (__execve): Likewise.
26779 (__setsid): Likewise.
26780 (__getuid): Likewise.
26781 (__geteuid): Likewise.
26782 (__getgid): Likewise.
26783 (__getegid): Likewise.
26784 (__getgroups): Likewise.
26785 (__group_member): Likewise.
26786 (__ttyname_r): Likewise.
26787 (__isatty): Likewise.
26788 (__readlink): Likewise.
26789 (__unlink): Likewise.
26790 (__gethostname): Likewise.
26791 (__profil): Likewise.
26792 (__getdtablesize): Likewise.
26794 (__ftruncate): Likewise.
26795 (__ftruncate64): Likewise.
26797 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26800 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
26801 * argp/argp-fs-xinl.c: Likewise.
26802 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
26803 * argp/argp-parse.c: Include <argp.h>.
26804 * argp/argp-xinl.c: Likewise.
26805 * include/argp-fmtstream.h: New file.
26806 * include/argp.h (__argp_error): Add attribute_hidden.
26807 (__argp_failure): Likewise.
26808 (__argp_input): Likewise.
26809 (__argp_state_help): Likewise.
26811 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26814 * include/wchar.h (____wcstof_l_internal): New prototype.
26815 (____wcstod_l_internal): Likewise.
26816 (____wcstold_l_internal): Likewise.
26817 (____wcstol_l_internal): Likewise.
26818 (____wcstoul_l_internal): Likewise.
26819 (____wcstoll_l_internal): Likewise.
26820 (____wcstoull_l_internal): Likewise.
26821 (____wcstof128_l_internal): Likewise.
26822 * sysdeps/ieee754/float128/wcstof128.c
26823 (____wcstof128_l_internal): Removed.
26824 * sysdeps/ieee754/float128/wcstof128_l.c
26825 (____wcstof128_l_internal): Likewise.
26826 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
26827 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
26828 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
26829 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
26830 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
26831 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
26832 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
26833 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
26834 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
26835 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
26837 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26840 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
26841 instead of <sys/statvfs.h>.
26842 (__internal_statvfs): Removed.
26843 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
26844 instead of <sys/statvfs.h>.
26845 (__internal_statvfs64): Removed.
26846 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
26847 "internal_statvfs.h" instead of <sys/statvfs.h>.
26848 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
26849 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
26850 instead of <sys/statvfs.h>.
26851 (__internal_statvfs): Removed.
26852 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
26853 instead of <sys/statvfs.h>.
26854 (__internal_statvfs64): Removed.
26856 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26859 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
26860 (__gconv_close): Likewise.
26861 (__gconv): Likewise.
26862 (__gconv_find_transform): Likewise.
26863 (__gconv_lookup_cache): Likewise.
26864 (__gconv_compare_alias_cache): Likewise.
26865 (__gconv_load_cache): Likewise.
26866 (__gconv_get_path): Likewise.
26867 (__gconv_close_transform): Likewise.
26868 (__gconv_release_cache): Likewise.
26869 (__gconv_find_shlib): Likewise.
26870 (__gconv_release_shlib): Likewise.
26871 (__gconv_get_builtin_trans): Likewise.
26872 (__gconv_compare_alias): Likewise.
26873 * include/dlfcn.h (_dlerror_run): Likewise.
26874 * include/stdio.h (__fortify_fail_abort): Likewise.
26875 * include/time.h (__tz_compute): Likewise.
26876 (__strptime_internal): Likewise.
26877 * intl/gettextP.h (_nl_find_domain): Likewise.
26878 (_nl_load_domain): Likewise.
26879 (_nl_find_msg): Likewise.
26880 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
26881 (EXTRACT_PLURAL_EXPRESSION): Likewise.
26882 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
26883 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
26884 (__gai_find_request): Likewise.
26885 (__gai_remove_request): Likewise.
26886 (__gai_notify): Likewise.
26887 (__gai_notify_only): Likewise.
26888 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
26889 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
26890 (_dl_non_dynamic_init): Likewise.
26891 (_dl_aux_init): Likewise.
26892 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
26893 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
26895 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
26896 (__wcsmbs_clone_conv): Likewise.
26897 (__wcsmbs_named_conv): Likewise.
26899 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26902 * include/stdlib.h (__random): Add attribute_hidden.
26903 (__random_r): Likewise.
26904 (__srandom_r): Likewise.
26905 (__initstate_r): Likewise.
26906 (__setstate_r): Likewise.
26907 (__erand48_r): Likewise.
26908 (__nrand48_r): Likewise.
26909 (__jrand48_r): Likewise.
26910 (__srand48_r): Likewise.
26911 (__seed48_r): Likewise.
26912 (__lcong48_r): Likewise.
26913 (__drand48_iterate): Likewise.
26914 (__setenv): Likewise.
26915 (__unsetenv): Likewise.
26916 (__clearenv): Likewise.
26917 (__ptsname_r): Likewise.
26918 (__posix_openpt): Likewise.
26919 (__add_to_environ): Likewise.
26920 (__realpath): Add libc_hidden_proto.
26921 (__ecvt_r): Likewise.
26922 (__fcvt_r): Likewise.
26923 (__qecvt_r): Likewise.
26924 (__qfcvt_r): Likewise.
26925 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
26926 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
26928 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26931 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
26932 * include/time.h (__mktime_internal): Likewise.
26933 * libio/iolibio.h (__fopen_internal): Likewise.
26935 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
26937 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
26939 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
26940 Correct offset used to restore PIC register.
26942 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
26945 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
26946 code to load address of __getcontext_ret when generating PIC code.
26948 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
26950 * elf/Makefile (tests-static-internal): Add
26951 tst-tls1-static-non-pie.
26952 (LDFLAGS-tst-tls1-static-non-pie): New.
26953 * elf/tst-tls1-static-non-pie.c: New file.
26955 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26957 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
26958 (asinh): Define using libm_alias_double.
26959 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
26960 (cbrt): Define using libm_alias_double.
26961 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
26962 <libm-alias-double.h>.
26963 (copysign): Define using libm_alias_double.
26964 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
26965 (erf): Define using libm_alias_double.
26967 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
26968 (expm1): Define using libm_alias_double.
26969 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
26970 (fabs): Define using libm_alias_double.
26971 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
26973 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
26974 <libm-alias-double.h>.
26975 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
26977 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
26978 <libm-alias-double.h>.
26979 (getpayload): Define using libm_alias_double.
26980 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
26981 <libm-alias-double.h>.
26982 (llrint): Define using libm_alias_double.
26983 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
26984 (lrint): Define using libm_alias_double.
26985 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
26986 <libm-alias-double.h>.
26987 (nextup): Define using libm_alias_double.
26988 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
26989 <libm-alias-double.h>.
26990 (roundeven): Define using libm_alias_double.
26991 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
26993 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
26994 <libm-alias-double.h>.
26995 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
26996 using libm_alias_double.
26997 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
26998 (cos): Define using libm_alias_double.
27000 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
27001 <libm-alias-double.h>.
27002 (sincos): Define using libm_alias_double.
27003 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
27004 (tanh): Define using libm_alias_double.
27005 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
27006 <libm-alias-double.h>.
27007 (totalorder): Define using libm_alias_double.
27008 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
27009 <libm-alias-double.h>.
27010 (totalordermag): Define using libm_alias_double.
27011 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
27013 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
27015 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
27016 <libm-alias-double.h>.
27017 (getpayload): Define using libm_alias_double.
27018 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
27019 <libm-alias-double.h>.
27020 (roundeven): Define using libm_alias_double.
27021 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
27022 <libm-alias-double.h>.
27023 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
27024 <libm-alias-double.h>.
27025 (totalorder): Define using libm_alias_double.
27026 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
27027 <libm-alias-double.h>.
27028 (totalordermag): Define using libm_alias_double.
27029 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
27030 libc compat symbol here.
27031 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
27032 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
27033 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
27034 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
27035 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
27036 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
27037 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
27038 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
27039 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
27040 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
27042 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27044 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
27045 _dl_relocate_static_pie instead of _dl_start to compute load
27046 address in static PIE. Return 0 if _DYNAMIC is undefined for
27049 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27051 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
27052 _DYNAMIC is undefined for static executable.
27054 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27056 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
27058 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27062 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27064 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27065 (__ieee754_lgamma_r): Use fabs rather than __fabs.
27066 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27067 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27068 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27069 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
27070 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
27071 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
27072 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
27073 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27074 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
27075 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27076 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27077 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27078 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27079 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27080 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
27082 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27084 * math/bits/cmathcalls.h (cimag): Remove inline.
27085 (creal): Remove inline.
27086 (conj): Remove inline.
27088 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27090 * math/Makefile (type-float-routines): Add e_powf_log2_data.
27091 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
27092 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
27093 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
27094 (issignalingf_inline): Likewise.
27095 (POWF_LOG2_TABLE_BITS): Likewise.
27096 (POWF_LOG2_POLY_ORDER): Likewise.
27097 (POWF_SCALE_BITS): Likewise.
27098 (POWF_SCALE): Likewise.
27099 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
27100 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
27101 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
27103 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27105 * math/Makefile (type-float-routines): Add e_log2f_data.
27106 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
27107 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
27108 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
27109 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
27110 * sysdeps/i386/fpu/e_log2f_data.c: New file.
27111 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
27112 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
27114 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27116 * math/Makefile (type-float-routines): Add e_logf_data.
27117 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
27118 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
27119 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
27120 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
27121 * sysdeps/i386/fpu/e_logf_data.c: New file.
27122 * sysdeps/ia64/fpu/e_logf_data.c: New file.
27123 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
27125 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
27127 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
27128 undefined _DYNAMIC in PIE libc.a.
27129 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27132 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27134 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
27135 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
27136 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
27137 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
27138 (__signbit): Remove.
27139 (__signbitl): Remove.
27140 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
27141 (__signbit): Remove.
27142 (__signbitl): Remove.
27143 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
27144 (__signbit): Remove.
27145 (__signbitl): Remove.
27146 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
27147 (__signbit): Remove.
27148 (__signbitl): Remove.
27149 * sysdeps/tile/bits/mathinline.h: Delete file.
27150 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
27151 (__signbit): Remove.
27152 (__signbitl): Remove.
27154 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27156 * math/math.h: Improve handling of C99 isgreater macros.
27157 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
27158 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
27159 * sysdeps/powerpc/bits/mathinline.h: Likewise.
27160 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27161 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
27163 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
27165 * sysdeps/aarch64/libm-test-ulps: Update.
27167 2017-09-28 Joseph Myers <joseph@codesourcery.com>
27170 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27171 math_opt_barrier on argument when doing arithmetic on it.
27172 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27173 Likewise. Use math_force_eval not math_opt_barrier after
27175 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
27176 math_opt_barrier on argument when doing arithmetic on it.
27177 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27180 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
27182 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
27184 (__freeifaddrs): Likewise.
27186 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27188 * include/dirent.h (__dirfd): New declaration.
27189 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
27191 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
27192 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
27193 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
27194 * include/unistd.h (__revoke): New declaration.
27195 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
27197 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27198 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
27200 * include/dirent.h (__seekdir): New declaration.
27201 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
27202 redefine as weak alias.
27203 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
27205 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
27206 and use libc_hidden_def on them.
27207 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
27209 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
27210 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
27211 instead of getifaddrs and freeifaddrs.
27213 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27216 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
27217 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
27218 (__dso_handle): Remove declaration.
27219 * dlfcn/tstatexit.c (__dso_handle): Removed.
27220 (main): Don't check __dso_handle.
27221 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
27222 (main): Don't check __dso_handle.
27223 * include/dso_handle.h: New file.
27224 * malloc/mtrace.c: Include <dso_handle.h>.
27225 (mtrace): Pass __dso_handle directly.
27226 * nptl/pthread_atfork.c: Include <dso_handle.h>.
27227 (__dso_handle): Remove declaration.
27228 (__pthread_atfork): Pass __dso_handle directly.
27229 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
27230 (__dso_handle): Removed.
27231 * posix/wordexp-test.c: Include <dso_handle.h>.
27232 (__dso_handle): Remove declaration.
27233 (__app_register_atfork): Pass __dso_handle directly.
27234 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
27235 (__dso_handle): Remove declaration.
27236 (at_quick_exit): Pass __dso_handle directly.
27237 * stdlib/atexit.c: Include <dso_handle.h>.
27238 (__dso_handle): Remove declaration.
27239 (atexit): Pass __dso_handle directly.
27240 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
27241 (__dso_handle): Removed.
27243 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27245 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
27248 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
27250 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
27251 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
27252 values to correct default value for given type.
27254 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27257 * elf/Makefile (tests): Add tst-debug1.
27258 ($(objpfx)tst-debug1): New.
27259 ($(objpfx)tst-debug1.out): Likewise.
27260 ($(objpfx)tst-debug1mod1.so): Likewise.
27261 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
27262 with p_filesz == 0.
27263 * elf/tst-debug1.c: New file.
27265 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27267 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
27268 Define using __ifunc.
27270 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27272 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
27275 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27278 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
27280 2017-09-26 Florian Weimer <fweimer@redhat.com>
27282 * resolv/Makefile (tests-internal): Fix typo in comment.
27284 2017-09-26 Florian Weimer <fweimer@redhat.com>
27286 * resolv/nss_dns/dns-host.c: Fix typo in comment.
27288 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27290 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
27291 Use an union instead of a max_align_t array for __space,
27292 so that __space is the same size on all platforms.
27293 * malloc/scratch_buffer_grow_preserve.c
27294 (__libc_scratch_buffer_grow_preserve): Likewise.
27297 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
27299 * posix/Makefile (routines): Add glob-lstat-compat and
27300 glob64-lstat-compat.
27301 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
27302 * posix/glob-lstat-compat.c: New file.
27303 * posix/glob64-lstat-compat.c: Likewise.
27304 * posix/tst-glob_lstat_compat.c: Likewise.
27305 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
27306 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
27307 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
27308 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
27310 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
27311 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27312 * posix/glob.c (glob_lstat): New function.
27313 (glob): Rename to __glob and add versioned symbol to 2.27.
27314 (glob_in_dir): Use glob_lstat.
27315 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
27316 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
27317 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
27319 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
27320 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
27321 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
27322 gl_lstat on glob call.
27323 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
27324 and glob64 symbols.
27325 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27326 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
27327 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27328 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27329 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
27330 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
27331 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
27332 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
27333 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
27334 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27335 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27336 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
27337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
27339 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
27340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
27341 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27342 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27343 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
27344 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27345 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
27347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
27348 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
27349 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27350 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27352 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
27354 * configure.ac (AS): Require binutils 2.25 or later.
27355 * configure: Regenerated.
27357 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27360 * stdlib/test-atexit-race-common.c (do_test): Minimize required
27363 2017-09-25 DJ Delorie <dj@redhat.com>
27366 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
27369 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
27371 * sysdeps/ieee754/dbl-64/sincos32.h
27372 [SINCCOS32_H]: Remove define.
27373 [SINCOS32_H]: Define.
27375 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27377 * math/Versions (expf): New libm symbol at GLIBC_2.27.
27379 * math/w_exp2f.c: New file.
27380 * math/w_expf.c: New file.
27381 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
27382 * math/w_expf_compat.c (__expf_compat): Likewise.
27383 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
27384 * sysdeps/ia64/fpu/e_expf.S: Likewise.
27385 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27386 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27387 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27388 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27389 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27390 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27391 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27392 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27393 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27394 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27395 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27396 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27405 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27406 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27407 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27408 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27409 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27414 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27415 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27416 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27418 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27420 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
27421 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
27422 (roundtoint, converttoint): Likewise.
27423 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
27424 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
27425 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
27426 * sysdeps/ieee754/flt-32/math_config.h: New file.
27427 * sysdeps/ieee754/flt-32/math_errf.c: New file.
27428 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
27429 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
27430 * sysdeps/i386/fpu/math_errf.c: New file.
27431 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
27432 * sysdeps/ia64/fpu/math_errf.c: New file.
27433 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
27434 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
27436 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
27438 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
27439 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
27440 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
27441 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
27442 to make sure that these symbols are defined.
27443 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
27445 (__need_NULL): Do not define.
27446 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
27448 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
27449 CMGROUP_MAX, cmsgcred): Do not define.
27450 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
27452 * bits/socket.h: Likewise.
27453 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
27454 __gettimeofday instead of gettimeofday.
27455 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
27456 instead of settimeofday.
27458 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27460 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
27461 (asinhf): Define using libm_alias_float.
27462 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
27463 (atanf): Define using libm_alias_float.
27464 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
27465 (cbrtf): Define using libm_alias_float.
27466 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
27467 (ceilf): Define using libm_alias_float.
27468 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
27469 <libm-alias-float.h>.
27470 (copysignf): Define using libm_alias_float.
27471 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
27472 (cosf): Define using libm_alias_float.
27473 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
27474 (erff): Define using libm_alias_float.
27476 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
27477 (expm1f): Define using libm_alias_float.
27478 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
27479 (fabsf): Define using libm_alias_float.
27480 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
27481 (floorf): Define using libm_alias_float.
27482 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
27483 (frexpf): Define using libm_alias_float.
27484 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
27486 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
27487 <libm-alias-float.h>.
27488 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
27490 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
27491 <libm-alias-float.h>.
27492 (getpayloadf): Define using libm_alias_float.
27493 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
27494 <libm-alias-float.h>.
27495 (llrintf): Define using libm_alias_float.
27496 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
27497 <libm-alias-float.h>.
27498 (llroundf): Define using libm_alias_float.
27499 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
27500 (logbf): Define using libm_alias_float.
27501 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
27502 (lrintf): Define using libm_alias_float.
27503 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
27504 (lroundf): Define using libm_alias_float.
27505 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
27506 (modff): Define using libm_alias_float.
27507 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
27508 <libm-alias-float.h>.
27509 (nearbyintf): Define using libm_alias_float.
27510 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
27511 <libm-alias-float.h>.
27512 (nextafterf): Define using libm_alias_float.
27513 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
27514 <libm-alias-float.h>.
27515 (nextupf): Define using libm_alias_float.
27516 * sysdeps/ieee754/flt-32/s_remquof.c: Include
27517 <libm-alias-float.h>.
27518 (remquof): Define using libm_alias_float.
27519 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
27520 (rintf): Define using libm_alias_float.
27521 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
27522 <libm-alias-float.h>.
27523 (roundevenf): Define using libm_alias_float.
27524 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
27525 (roundf): Define using libm_alias_float.
27526 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
27527 using libm_alias_float.
27528 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
27529 <libm-alias-float.h>.
27530 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
27531 Define using libm_alias_float.
27532 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
27533 <libm-alias-float.h>.
27534 (sincosf): Define using libm_alias_float.
27535 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
27536 (sinf): Define using libm_alias_float.
27537 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
27538 (tanf): Define using libm_alias_float.
27539 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
27540 (tanhf): Define using libm_alias_float.
27541 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
27542 <libm-alias-float.h>.
27543 (totalorderf): Define using libm_alias_float.
27544 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
27545 <libm-alias-float.h>.
27546 (totalordermagf): Define using libm_alias_float.
27547 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
27548 (truncf): Define using libm_alias_float.
27549 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
27551 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
27554 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27557 math/math.h: Let fpclassify use the builtin in C++ mode, even
27558 when optimazing for size.
27560 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27562 * csu/Makefile (generated): Do not add version-info.h.
27563 (before-compile): Likewise.
27564 (all-Banner-files): Remove variable.
27565 ($(objpfx)version-info.h): Remove rule.
27566 * csu/version.c (banner): Do not include "version-info.h".
27567 * libidn/Banner: Remove.
27568 * manual/contrib.texi (Simon Josefsson): New entry.
27570 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27572 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27573 Remove conditionals on LDBL_MANT_DIG.
27574 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27575 (__ieee754_lgammal_r): Likewise.
27577 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27579 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
27581 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
27582 _Float128 and L(). Replace _Float128 with long double and L(x)
27583 with xL, throughout the file.
27584 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27585 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27586 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27587 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27589 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27591 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
27592 sysdeps/ieee754/ldbl-128ibm.
27593 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
27594 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
27595 of including it. Keep _Float128 and L() intact. These will be
27596 reviewed by a separate patch.
27597 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27598 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27599 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27600 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27602 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
27605 (__finitef128): Define to __redirect___finitef128.
27606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
27607 (__isinff128): Define to __redirect___isinff128.
27608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
27609 (__isnanf128): Define to __redirect___isnanf128.
27611 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27613 * sysdeps/powerpc/powerpc64le/Makefile
27614 (CFLAGS-tst-strtod-nan-locale.c): New variable.
27615 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
27617 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
27618 Carlos O'Donell <carlos@redhat.com>
27621 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
27622 * stdlib/test-dlclose-exit-race.c: New file.
27623 * stdlib/test-dlclose-exit-race-helper.c: New file.
27624 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
27626 2017-09-21 Joseph Myers <joseph@codesourcery.com>
27628 * crypt/Banner: Remove file.
27629 * nptl/Banner: Likewise.
27630 * resolv/Banner: Likewise.
27631 * soft-fp/Banner: Likewise.
27632 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
27633 ($(objpfx)version.d): Remove dependency on banner.h.
27634 ($(objpfx)version.os): Likewise.
27635 * nptl/version.c (banner): Do not include banner.h.
27636 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
27637 Jelinek and BIND code.
27639 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27640 Carlos O'Donell <carlos@redhat.com>
27642 * support/xdlfcn.h: New file.
27643 * support/xdlfcn.c: New file.
27644 * support/Makefile (libsupport-routines): Add xdlfcn.
27645 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
27647 2017-09-20 Joseph Myers <joseph@codesourcery.com>
27650 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27651 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
27652 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
27653 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
27654 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
27655 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
27656 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
27657 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
27659 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27660 Ricky Zhou <rickyz@google.com>
27661 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
27664 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
27666 (__new_exitfn): Fail registration when we finished at_exit processing.
27667 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27668 * stdlib/on_exit.c (__on_exit): Likewise.
27669 * stdlib/exit.c (__exit_funcs_done): New variable.
27670 (__run_exit_handlers): Use __exit_funcs_lock.
27671 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
27673 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
27674 (test-cxa_atexit-race, test-on_exit-race): New tests.
27675 * stdlib/test-atexit-race-common.c: New file.
27676 * stdlib/test-atexit-race.c: New file.
27677 * stdlib/test-at_quick_exit-race.c: New file.
27678 * stdlib/test-cxa_atexit-race.c: New file.
27679 * stdlib/test-on_exit-race.c: New file.
27681 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
27683 * benchtests/Makefile: Add exp2f and log2f benchmarks.
27684 * benchtests/exp2f-inputs: Copy of expf-inputs.
27685 * benchtests/log2f-inputs: Copy of logf-inputs.
27687 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27689 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
27690 Explicitly take address of first element of array arguments in
27691 call to INLINE_SYSCALL.
27693 2017-09-19 Andreas Schwab <schwab@suse.de>
27696 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
27698 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
27700 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
27701 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
27702 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27703 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
27704 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27705 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27706 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27707 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27708 * posix/Makefile (tests): Add tst-fexecve.
27709 * posix/tst-fexecve.c: New file.
27711 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27713 * benchtests/Makefile: Add logf benchmark.
27714 * benchtests/logf-inputs: Add reduced trace from wrf_r.
27716 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27718 * benchtests/Makefile: Add expf benchmark.
27719 * benchtests/expf-inputs: Add reduced trace from wrf_r.
27721 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27723 * csu/Makefile: Add -funwind-tables to libc-start.c.
27724 * debug/Makefile: Add -funwind-tables to backtrace.c.
27725 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
27726 * sysdeps/arm/Makefile: Likewise.
27727 * sysdeps/i386/Makefile: Likewise.
27728 * sysdeps/m68k/Makefile: Likewise.
27729 * sysdeps/mips/Makefile: Likewise.
27730 * sysdeps/nios2/Makefile: Likewise.
27731 * sysdeps/sh/Makefile: Likewise.
27732 * sysdeps/sparc/Makefile: Likewise.
27734 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27736 * benchtests/Makefile (bench-math): Add trunc and truncf.
27737 (CFLAGS-bench-trunc.c): New variable.
27738 (CFLAGS-bench-truncf.c): Likewise.
27739 * benchtests/trunc-inputs: New file.
27740 * benchtests/truncf-inputs: Likewise.
27742 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27744 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
27746 2017-09-18 Joseph Myers <joseph@codesourcery.com>
27748 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
27749 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
27751 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27752 (exp10l): Define as weak alias.
27753 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
27754 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
27756 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
27757 (remainderl): Define as weak alias.
27759 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
27760 (fmal): Define using libm_alias_ldouble.
27761 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
27762 (acoshl): Define using libm_alias_ldouble.
27763 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
27764 (acosl): Define using libm_alias_ldouble.
27765 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
27766 (asinl): Define using libm_alias_ldouble.
27767 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
27768 (atan2l): Define using libm_alias_ldouble.
27769 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
27770 (atanhl): Define using libm_alias_ldouble.
27771 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
27772 (coshl): Define using libm_alias_ldouble.
27773 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
27774 (exp10l): Define using libm_alias_ldouble.
27775 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
27776 (exp2l): Define using libm_alias_ldouble.
27777 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
27778 (expl): Define using libm_alias_ldouble.
27779 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
27780 (fmodl): Define using libm_alias_ldouble.
27781 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
27782 (hypotl): Define using libm_alias_ldouble.
27783 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
27784 (j0l): Define using libm_alias_ldouble.
27786 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
27787 (j1l): Define using libm_alias_ldouble.
27789 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
27790 (jnl): Define using libm_alias_ldouble.
27792 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
27793 (log10l): Define using libm_alias_ldouble.
27794 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
27795 (log2l): Define using libm_alias_ldouble.
27796 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
27797 (logl): Define using libm_alias_ldouble.
27798 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
27799 (powl): Define using libm_alias_ldouble.
27800 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
27801 (remainderl): Define using libm_alias_ldouble.
27802 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
27803 (sinhl): Define using libm_alias_ldouble.
27804 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
27805 (sqrtl): Define using libm_alias_ldouble.
27806 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
27807 (tgammal): Define using libm_alias_ldouble.
27808 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
27809 (exp10l): Do not use long_double_symbol here.
27810 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27811 [LIBM_SVID_COMPAT] (remainderl): Likewise.
27812 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
27813 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27814 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27815 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27816 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27817 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27818 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27819 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27820 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27821 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27822 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27823 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27824 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27825 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27826 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27827 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27828 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27829 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27830 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27831 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27833 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
27835 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
27836 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
27838 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
27840 * io/read.c (read): Add libc_hidden_weak.
27841 * sysdeps/mach/hurd/read.c (read): Likewise.
27842 * io/write.c (write): Likewise.
27843 * sysdeps/mach/hurd/write.c (write): Likewise.
27844 * io/pread64.c (__pread64): Likewise.
27845 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
27846 * posix/pread64.c (__pread64): Add libc_hidden_def.
27848 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27850 * benchtests/scripts/compare_strings.py: New option -g.
27851 (draw_graph): Print a message that a graph is being generated.
27852 (process_results): Generate graph only if -g is passed.
27853 (main): Process option -g.
27855 * benchtests/scripts/compare_strings.py (process_results):
27856 Better spacing for output.
27858 * benchtests/scripts/compare_strings.py: Use argparse.
27859 * benchtests/README: Document existence of compare_strings.py.
27861 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27863 * math/s_fma.c: Include <libm-alias-double.h>.
27864 (fma): Define using libm_alias_double.
27865 * math/s_nextafter.c: Include <libm-alias-double.h>.
27866 (nextafter): Define using libm_alias_double.
27867 * math/w_acos_compat.c: Include <libm-alias-double.h>.
27868 (acos): Define using libm_alias_double.
27869 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
27870 (aocsh): Define using libm_alias_double.
27871 * math/w_asin_compat.c: Include <libm-alias-double.h>.
27872 (asin): Define using libm_alias_double.
27873 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
27874 (atan2): Define using libm_alias_double.
27875 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
27876 (atanh): Define using libm_alias_double.
27877 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
27878 (cosh): Define using libm_alias_double.
27879 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
27880 (exp10): Define using libm_alias_double.
27881 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
27882 (exp2): Define using libm_alias_double.
27883 * math/w_exp_compat.c: Include <libm-alias-double.h>.
27884 (exp): Define using libm_alias_double.
27885 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
27886 (fmod): Define using libm_alias_double.
27887 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
27888 (hypot): Define using libm_alias_double.
27889 * math/w_j0_compat.c: Include <libm-alias-double.h>.
27890 (j0): Define using libm_alias_double.
27892 * math/w_j1_compat.c: Include <libm-alias-double.h>.
27893 (j1): Define using libm_alias_double.
27895 * math/w_jn_compat.c: Include <libm-alias-double.h>.
27896 (jn): Define using libm_alias_double.
27898 * math/w_log10_compat.c: Include <libm-alias-double.h>.
27899 (log10): Define using libm_alias_double.
27900 * math/w_log2_compat.c: Include <libm-alias-double.h>.
27901 (log2): Define using libm_alias_double.
27902 * math/w_log_compat.c: Include <libm-alias-double.h>.
27903 (log): Define using libm_alias_double.
27904 * math/w_pow_compat.c: Include <libm-alias-double.h>.
27905 (pow): Define using libm_alias_double.
27906 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
27907 (remainder): Define using libm_alias_double.
27908 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
27909 (sinh): Define using libm_alias_double.
27910 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
27911 (sqrt): Define using libm_alias_double.
27912 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
27913 (tgamma): Define using libm_alias_double.
27914 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
27915 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
27916 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
27917 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
27918 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
27919 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
27920 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
27921 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
27922 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
27923 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
27924 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
27925 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
27926 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
27927 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
27928 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
27929 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
27930 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
27931 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
27932 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
27933 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
27934 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
27935 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
27936 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
27937 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
27938 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
27940 * math/e_acoshl.c: Remove.
27941 * math/e_acosl.c: Likewise.
27942 * math/e_asinl.c: Likewise.
27943 * math/e_atan2l.c: Likewise.
27944 * math/e_atanhl.c: Likewise.
27945 * math/e_coshl.c: Likewise.
27946 * math/e_expl.c: Likewise.
27947 * math/e_fmodl.c: Likewise.
27948 * math/e_gammal_r.c: Likewise.
27949 * math/e_hypotl.c: Likewise.
27950 * math/e_j0l.c: Likewise.
27951 * math/e_j1l.c: Likewise.
27952 * math/e_jnl.c: Likewise.
27953 * math/e_lgammal_r.c: Likewise.
27954 * math/e_log10l.c: Likewise.
27955 * math/e_log2l.c: Likewise.
27956 * math/e_logl.c: Likewise.
27957 * math/e_powl.c: Likewise.
27958 * math/e_rem_pio2l.c: Likewise.
27959 * math/e_sinhl.c: Likewise.
27960 * math/e_sqrtf128.c: Likewise.
27961 * math/e_sqrtl.c: Likewise.
27962 * math/k_cosl.c: Likewise.
27963 * math/k_sinl.c: Likewise.
27964 * math/k_tanl.c: Likewise.
27965 * math/s_asinhl.c: Likewise.
27966 * math/s_atanl.c: Likewise.
27967 * math/s_cbrtl.c: Likewise.
27968 * math/s_erfl.c: Likewise.
27969 * math/s_expm1l.c: Likewise.
27970 * math/s_log1pl.c: Likewise.
27971 * math/s_tanhl.c: Likewise.
27973 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27976 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
27977 [$(subdir) = math] (sysdep_calls): New variable. Has the
27978 previous contents of sysdep_routines, but re-sorted..
27979 [$(subdir) = math] (sysdep_routines): Re-use the contents from
27981 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
27982 defined in sysdep_calls and replace by the respective m_* names.
27983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
27984 (compat_symbol): Undefine to avoid duplicated compat symbols in
27987 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27989 * math/s_fmaf.c: Include <libm-alias-float.h>.
27990 (fmaf): Define using libm_alias_float.
27991 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
27992 (acosf): Define using libm_alias_float.
27993 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
27994 (acoshf): Define using libm_alias_float.
27995 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
27996 (asinf): Define using libm_alias_float.
27997 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
27998 (atan2f): Define using libm_alias_float.
27999 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
28000 (atanhf): Define using libm_alias_float.
28001 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
28002 (coshf): Define using libm_alias_float.
28003 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
28004 (exp10f): Define using libm_alias_float.
28005 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
28006 (fmodf): Define using libm_alias_float.
28007 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
28008 (hypotf): Define using libm_alias_float.
28009 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
28010 (j0f): Define using libm_alias_float.
28012 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
28013 (j1f): Define using libm_alias_float.
28015 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
28016 (jnf): Define using libm_alias_float.
28018 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
28019 (log10f): Define using libm_alias_float.
28020 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
28021 (log2f): Define using libm_alias_float.
28022 * math/w_logf_compat.c: Include <libm-alias-float.h>.
28023 (logf): Define using libm_alias_float.
28024 * math/w_powf_compat.c: Include <libm-alias-float.h>.
28025 (powf): Define using libm_alias_float.
28026 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
28027 (remainderf): Define using libm_alias_float.
28028 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
28029 (sinhf): Define using libm_alias_float.
28030 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
28031 (sqrtf): Define using libm_alias_float.
28032 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
28033 (tgammaf): Define using libm_alias_float.
28035 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28037 * include/math.h (roundeven): Change hidden_proto call to
28039 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
28041 [NO_LONG_DOUBLE] (__j0l): New strong alias.
28042 (y0): Rename to __y0 and define as weak alias.
28043 [NO_LONG_DOUBLE] (__y0l): New strong alias.
28044 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
28046 (y0f): Rename to __y0f and define as weak alias.
28047 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
28049 [NO_LONG_DOUBLE] (__j1l): New strong alias.
28050 (y1): Rename to __y1 and define as weak alias.
28051 [NO_LONG_DOUBLE] (__y1l): New strong alias.
28052 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
28054 (y1f): Rename to __y1f and define as weak alias.
28055 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
28057 [NO_LONG_DOUBLE] (__jnl): New strong alias.
28058 (yn): Rename to __yn and define as weak alias.
28059 [NO_LONG_DOUBLE] (__ynl): New strong alias.
28060 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
28062 (ynf): Rename to __ynf and define as weak alias.
28063 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
28064 (fromfp): Define as weak alias.
28065 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
28066 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
28067 (fromfpx): Define as weak alias.
28068 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
28069 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
28070 __getpayload and define as weak alias.
28071 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28072 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
28073 __roundeven and define as weak alias.
28074 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28075 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
28077 (setpayload): Define as weak alias.
28078 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
28079 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
28081 (setpayloadsig): Define as weak alias.
28082 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
28083 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
28084 __totalorder and define as weak alias.
28085 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28086 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
28087 to __totalordermag and define as weak alias.
28088 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28089 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
28090 (ufromfp): Define as weak alias.
28091 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
28092 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
28094 (ufromfpx): Define as weak alias.
28095 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
28096 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
28097 Rename to __getpayload and define as weak alias.
28098 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28099 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
28100 Rename to __roundeven and define as weak alias.
28101 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28102 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
28103 Rename to __totalorder and define as weak alias.
28104 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28105 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
28106 (totalordermag): Rename to __totalordermag and define as weak
28108 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28109 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
28111 (__roundevenl): Likewise.
28112 (__totalorderl): Likewise.
28113 (__totalordermagl): Likewise
28114 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
28116 (fromfpf128): Define as weak alias.
28117 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
28119 (fromfpxf128): Define as weak alias.
28120 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
28122 (setpayloadf128): Define as weak alias.
28123 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
28124 __setpayloadsigf128.
28125 (setpayloadsigf128): Define as weak alias.
28126 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
28128 (ufromfpf128): Define as weak alias.
28129 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
28131 (ufromfpxf128): Define as weak alias.
28132 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
28133 (fromfpf): Define as weak alias.
28134 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
28136 (fromfpxf): Define as weak alias.
28137 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
28138 __getpayloadf and define as weak alias.
28139 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
28140 __roundevenf and define as weak alias.
28141 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
28143 (setpayloadf): Define as weak alias.
28144 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
28146 (setpayloadsigf): Define as weak alias.
28147 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
28148 __totalorderf and define as weak alias.
28149 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
28150 Rename to __totalordermagf and define as weak alias.
28151 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
28153 (ufromfpf): Define as weak alias.
28154 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
28156 (ufromfpxf): Define as weak alias.
28157 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
28159 (fromfpl): Define as weak alias.
28160 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
28162 (fromfpxl): Define as weak alias.
28163 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
28164 to __getpayloadl and define as weak alias.
28165 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
28166 __roundevenl and define as weak alias.
28167 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
28169 (setpayloadl): Define as weak alias.
28170 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
28172 (setpayloadsigl): Define as weak alias.
28173 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
28174 to __totalorderl and define as weak alias.
28175 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
28176 Rename to __totalordermagl and define as weak alias.
28177 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
28179 (ufromfpl): Define as weak alias.
28180 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
28182 (ufromfpxl): Define as weak alias.
28183 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
28185 (fromfpl): Define as weak alias.
28186 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
28188 (fromfpxl): Define as weak alias.
28189 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
28190 Rename to __getpayloadl and define as weak alias.
28191 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
28192 to __roundevenl and define as weak alias. Call __roundeven
28193 instead of roundeven.
28194 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
28196 (setpayloadl): Define as weak alias.
28197 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
28199 (setpayloadsigl): Define as weak alias.
28200 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
28201 Rename to __totalorderl and define as weak alias.
28202 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
28203 Rename to __totalordermagl and define as weak alias.
28204 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
28206 (ufromfpl): Define as weak alias.
28207 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
28209 (ufromfpxl): Define as weak alias.
28210 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
28212 (fromfpl): Define as weak alias.
28213 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
28215 (fromfpxl): Define as weak alias.
28216 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
28217 __getpayloadl and define as weak alias.
28218 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
28219 __roundevenl and define as weak alias.
28220 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
28222 (setpayloadl): Define as weak alias.
28223 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
28225 (setpayloadsigl): Define as weak alias.
28226 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
28227 __totalorderl and define as weak alias.
28228 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
28229 Rename to __totalordermagl and define as weak alias.
28230 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
28232 (ufromfpl): Define as weak alias.
28233 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
28235 (ufromfpxl): Define as weak alias.
28237 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28239 * benchtests/bench-string.h (realloc_bufs): New function.
28240 (test_init): Call it.
28241 * benchtests/bench-memset-large.c (do_test): Likewise.
28242 * benchtests/bench-memset.c (do_test): Likewise.
28244 * benchtests/bench-memset-large.c: Print output in JSON
28246 * benchtests/bench-memset.c: Likewise.
28248 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28251 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
28252 * iconvdata/Makefile: Add IBM858.
28253 * iconvdata/gconv-modules: Likewise.
28254 * iconvdata/tst-tables.sh: Likewise.
28255 * iconvdata/ibm858.c: New file.
28256 * localedata/charmaps/IBM858: Likewise.
28258 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
28261 * locales/niu_NZ (LC_TIME): copy "niu_NU".
28262 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
28264 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28267 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
28268 and add tel_int_fmt.
28270 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28272 * sysdeps/generic/libm-alias-float128.h: New file.
28273 * sysdeps/generic/math-type-macros-float128.h: Include
28274 <libm-alias-float128.h>.
28275 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28277 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28279 * sysdeps/generic/libm-alias-ldouble.h: New file.
28280 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
28281 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
28282 * sysdeps/generic/math-type-macros-ldouble.h: Include
28283 <libm-alias-ldouble.h>.
28284 [!declare_mgen_alias] (declare_mgen_alias): Define to use
28285 libm_alias_ldouble.
28287 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
28289 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
28290 * math/w_exp_compat.c: ... here.
28291 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
28292 * math/w_expf_compat.c: ... here.
28293 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
28294 * math/w_expl_compat.c: ... here.
28295 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
28296 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
28297 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
28298 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28300 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28302 * math/w_scalbln_template.c (strong_alias): Do not undefine and
28304 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
28306 (ldexpl): Only define as compat symbol for libc, not libm.
28307 (scalbnl): Define as compat symbol for libc here.
28308 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
28309 define for [IS_IN (libc)].
28310 (__ldexpl_2): Remove alias.
28311 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
28312 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
28313 name in long_double_symbol call.
28314 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
28315 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28316 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28317 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
28318 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
28320 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
28321 Define as compat symbol.
28323 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28325 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
28326 * sysdeps/unix/sysv/linux/alpha/Makefile
28327 [$(subdir) = csu] (sysdep_routines): Remove rule.
28329 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28331 * sysdeps/generic/libm-alias-double.h: New file.
28332 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
28333 * sysdeps/generic/math-type-macros-double.h: Include
28334 <libm-alias-double.h>.
28335 [declare_mgen_alias] (declare_mgen_alias): Define to use
28337 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
28338 (M_LIBM_NEED_COMPAT): Remove macro.
28339 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
28340 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
28341 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
28343 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28344 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28345 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28346 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28347 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28348 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28349 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28350 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28351 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28352 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28353 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28354 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28355 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28356 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28357 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28358 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28359 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28360 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28361 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28362 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28363 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28364 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28365 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28366 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28367 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28368 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28369 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28370 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
28371 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
28373 (declare_mgen_alias): New macro.
28374 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
28375 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
28376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
28377 (M_LIBM_NEED_COMPAT): Remove macro.
28378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
28379 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
28380 <first-versions.h>.
28381 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
28382 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
28384 2017-09-12 Joseph Myers <joseph@codesourcery.com>
28386 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
28387 (declare_mgen_alias_2): Remove.
28388 * sysdeps/generic/math-type-macros-double.h
28389 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
28391 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
28393 (ldexp): Define with declare_mgen_alias.
28394 (scalbn): Likewise.
28396 2017-09-12 Steve Ellcey <sellcey@cavium.com>
28398 * grp/initgroups.c: Include config.h.
28399 (DEFAULT_CONFIG): New macro.
28400 (internal_getgrouplist): Use DEFAULT_CONFIG.
28401 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28402 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
28403 (DEFAULT_DEFCONFIG): New macro.
28404 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
28405 * nss/grp-lookup.c: Include config.h
28406 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
28407 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
28408 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
28409 * manual/nss.texi: Update default values section.
28411 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
28414 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
28416 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
28417 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28418 Handle MathVec_Prefer_No_AVX512.
28419 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
28420 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
28423 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
28425 * posix/sched_primax.c (__sched_get_priority_max): Add
28427 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
28428 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28429 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28430 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
28431 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
28432 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
28433 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
28434 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
28437 2017-09-11 Joseph Myers <joseph@codesourcery.com>
28439 * sysdeps/generic/libm-alias-float.h: New file.
28440 * sysdeps/generic/math-type-macros-float.h: Include
28441 <libm-alias-float.h>.
28442 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28444 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
28447 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
28448 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
28449 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
28450 (HWCAP_IMPORTANT): Likewise.
28451 (HWCAP_X86_64): New enum.
28452 (HWCAP_X86_AVX512_1): Updated.
28453 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
28454 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
28455 (modules-names): Add x86_64/tst-x86_64mod-1.
28456 (LDFLAGS-tst-x86_64mod-1.so): New.
28457 ($(objpfx)tst-x86_64-1): Likewise.
28458 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
28459 (tst-x86_64-1-clean): Likewise.
28460 * sysdeps/x86_64/tst-x86_64-1.c: New file.
28461 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
28463 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28465 * po/sv.po: Update translations.
28466 * po/fr.po: Likewise.
28468 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28470 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
28472 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
28474 * elf/rtld-Rules: Fix $(error) use.
28476 2017-09-09 Mike FABIAN <mfabian@redhat.com>
28479 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
28480 * locale/iso-639.def: Change “Bengali” to “Bangla”.
28481 * localedata/locales/bn_BD: “Bengali” was still used in some
28482 comments. Change it to “Bangla”.
28484 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
28486 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
28488 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28490 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
28491 thunderx2t99p1 to list of cpu names.
28492 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28493 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
28495 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28497 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
28498 Use strcmp instead of tunable_is_name.
28500 2017-09-08 Joseph Myers <joseph@codesourcery.com>
28502 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28503 (F_GET_RW_HINT): New macro.
28504 [__USE_GNU] (F_SET_RW_HINT): Likewise.
28505 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
28506 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
28507 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
28508 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
28509 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
28510 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
28511 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
28512 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
28514 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28515 (F_ADD_SEALS): New macro.
28516 [__USE_GNU] (F_GET_SEALS): Likewise.
28517 [__USE_GNU] (F_SEAL_SEAL): Likewise.
28518 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
28519 [__USE_GNU] (F_SEAL_GROW): Likewise.
28520 [__USE_GNU] (F_SEAL_WRITE): Likewise.
28522 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28524 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
28525 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
28526 * posix/glob_internal.h (__glob_pattern_type):
28527 * posix/glob.c (glob):
28528 * posix/glob_pattern_p.c (__glob_pattern_p):
28531 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
28532 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28533 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
28534 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
28535 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
28537 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
28538 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
28539 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28540 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28541 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28542 * sysdeps/wordsize-64/glob.c: Likewise.
28543 * sysdeps/wordsize-64/glob64.c: Likewise.
28544 * sysdeps/wordsize-64/globfree.c: Likewise.
28545 * sysdeps/wordsize-64/globfree64.c: Likewise.
28546 * sysdeps/unix/sysv/linux/glob.c: New file.
28547 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
28548 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
28549 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
28550 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28551 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
28552 adds !GLOB_NO_OLD_VERSION as an extra condition.
28553 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
28554 using relative path instead of absolute one.
28555 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
28556 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28557 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28558 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
28559 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
28560 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
28563 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
28564 (glob): Use the same scratch buffer for both getlogin_r and
28565 getpwnam_r. Don’t require preallocation of the login name. This
28566 simplifies storage allocation, and corrects the handling of
28570 * posix/glob.c (glob): Port recent patches to platforms
28571 lacking getpwnam_r.
28572 (glob): Fix longstanding misuse of errno after getpwnam_r, which
28573 returns an error number rather than setting errno.
28575 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
28576 instead of GCC extension.
28577 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
28578 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
28579 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
28583 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
28584 * posix/bug-glob1.c: Remove file.
28585 * posix/tst-glob_symlinks.c: New file.
28586 * posix/glob.c (__lstat64): New macro.
28587 (is_dir): New function.
28588 (glob, glob_in_dir): Match symlinks even if they are dangling.
28589 (link_stat, link_exists_p): Remove. All uses removed.
28593 * posix/glob.c (struct readdir_result): Remove skip_entry member.
28594 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
28599 * posix/Makefile (routines): Add globfree, globfree64, and
28601 * posix/flexmember.h: New file.
28602 * posix/glob_internal.h: Likewise.
28603 * posix/glob_pattern_p.c: Likewise.
28604 * posix/globfree.c: Likewise.
28605 * posix/globfree64.c: Likewise.
28606 * sysdeps/gnu/globfree64.c: Likewise.
28607 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
28608 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28609 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
28610 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28611 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28612 * sysdeps/wordsize-64/globfree.c: Likewise.
28613 * sysdeps/wordsize-64/globfree64.c: Likewise.
28614 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
28615 [NDEBUG): Remove comments.
28616 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
28617 (dirent_type): New type. Use uint_fast8_t not
28618 uint8_t, as C99 does not require uint8_t.
28619 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
28620 (struct readdir_result): Use dirent_type. Do not define skip_entry
28621 unless it is needed; this saves a byte on platforms lacking d_ino.
28622 (readdir_result_type, readdir_result_skip_entry):
28623 New functions, replacing ...
28624 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
28625 these functions, which were removed. This makes the callers
28626 easier to read. All callers changed.
28627 (D_INO_TO_RESULT): Now empty if there is no d_ino.
28628 (size_add_wrapv, glob_use_alloca): New static functions.
28629 (glob, glob_in_dir): Check for size_t overflow in several places,
28630 and fix some size_t checks that were not quite right.
28631 Remove old code using SHELL since Bash no longer
28633 (glob, prefix_array): Separate MS code better.
28634 (glob_in_dir): Remove old Amiga and VMS code.
28635 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
28637 (glob_in_dir): Do not rely on undefined behavior in accessing
28638 struct members beyond their bounds. Use a flexible array member
28640 (link_stat): Rename from link_exists2_p and return -1/0 instead of
28641 0/1. Caller changed.
28642 (glob): Fix memory leaks.
28643 * posix/glob64 (globfree64): Move to separate file.
28644 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
28645 (globfree64): Remove hidden alias.
28646 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
28648 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
28650 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
28652 Move compat code to separate file.
28653 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
28656 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
28658 * resolv/tst-resolv-qtypes.c (domain): Changed to
28659 "const char domain[] =".
28661 2017-09-07 Joseph Myers <joseph@codesourcery.com>
28663 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
28666 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
28667 (TCP_MD5SIG_EXT): Likewise.
28668 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
28669 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
28670 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
28672 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
28674 2017-09-07 Mike FABIAN <mfabian@redhat.com>
28676 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
28678 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
28681 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
28683 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
28685 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
28686 before assuming that the file is empty. Avoid testing buffer content
28689 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28692 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28694 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
28696 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
28698 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
28700 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28702 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
28704 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
28707 2017-09-06 Florian Weimer <fweimer@redhat.com>
28709 * malloc/dynarray_emplace_enlarge.c
28710 (__libc_dynarray_emplace_enlarge): Add missing else.
28712 2017-09-06 Florian Weimer <fweimer@redhat.com>
28715 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
28716 case of failure to obtain the global conf object.
28718 2017-09-06 Florian Weimer <fweimer@redhat.com>
28721 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
28722 dynarray allocation failure.
28724 2017-09-06 Florian Weimer <fweimer@redhat.com>
28726 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
28727 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
28728 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
28730 (response): Call them. Add 'p', '6' flag processing.
28731 (test_reverse): New function.
28732 (test_get2_any): Call it.
28733 (test_no_inet6): Add 'p' test.
28734 (test_inet6): Likewise.
28736 2017-09-06 Florian Weimer <fweimer@redhat.com>
28738 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
28739 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
28741 (test_gai): Adjust query names. Add additional tests.
28742 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
28743 test_get2. Adjust query names. Add additional tests.
28744 (test_no_inet6): New function, extracted from threadfunc.
28745 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
28746 Add additional tests.
28748 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28751 * localedata/unicode-gen/utf8_gen.py: Set the width for
28752 characters with Prepended_Concatenation_Mark property to 1
28753 * localedata/charmaps/UTF-8: Updated using the improved script.
28755 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28758 * localedata/unicode-gen/utf8_gen.py: Improve the script to
28759 use the range notation for all ranges of neighbouring characters
28760 with the same width.
28762 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28764 * sysdeps/generic/math-type-macros-double.h: Include
28765 <math-svid-compat.h>.
28766 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28767 * sysdeps/generic/math-type-macros-float.h: Include
28768 <math-svid-compat.h>.
28769 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28770 * sysdeps/generic/math-type-macros-ldouble.h: Include
28771 <math-svid-compat.h>.
28772 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28773 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
28775 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
28776 * math/w_acosf_compat.c: Likewise.
28777 * math/w_acosh_compat.c: Likewise.
28778 * math/w_acoshf_compat.c: Likewise.
28779 * math/w_acoshl_compat.c: Likewise.
28780 * math/w_acosl_compat.c: Likewise.
28781 * math/w_asin_compat.c: Likewise.
28782 * math/w_asinf_compat.c: Likewise.
28783 * math/w_asinl_compat.c: Likewise.
28784 * math/w_atan2_compat.c: Likewise.
28785 * math/w_atan2f_compat.c: Likewise.
28786 * math/w_atan2l_compat.c: Likewise.
28787 * math/w_atanh_compat.c: Likewise.
28788 * math/w_atanhf_compat.c: Likewise.
28789 * math/w_atanhl_compat.c: Likewise.
28790 * math/w_cosh_compat.c: Likewise.
28791 * math/w_coshf_compat.c: Likewise.
28792 * math/w_coshl_compat.c: Likewise.
28793 * math/w_exp10_compat.c: Likewise.
28794 * math/w_exp10f_compat.c: Likewise.
28795 * math/w_exp10l_compat.c: Likewise.
28796 * math/w_exp2_compat.c: Likewise.
28797 * math/w_exp2f_compat.c: Likewise.
28798 * math/w_exp2l_compat.c: Likewise.
28799 * math/w_fmod_compat.c: Likewise.
28800 * math/w_fmodf_compat.c: Likewise.
28801 * math/w_fmodl_compat.c: Likewise.
28802 * math/w_hypot_compat.c: Likewise.
28803 * math/w_hypotf_compat.c: Likewise.
28804 * math/w_hypotl_compat.c: Likewise.
28805 * math/w_j0_compat.c: Likewise.
28806 * math/w_j0f_compat.c: Likewise.
28807 * math/w_j0l_compat.c: Likewise.
28808 * math/w_j1_compat.c: Likewise.
28809 * math/w_j1f_compat.c: Likewise.
28810 * math/w_j1l_compat.c: Likewise.
28811 * math/w_jn_compat.c: Likewise.
28812 * math/w_jnf_compat.c: Likewise.
28813 * math/w_jnl_compat.c: Likewise.
28814 * math/w_lgamma_r_compat.c: Likewise.
28815 * math/w_lgammaf_r_compat.c: Likewise.
28816 * math/w_lgammal_r_compat.c: Likewise.
28817 * math/w_log10_compat.c: Likewise.
28818 * math/w_log10f_compat.c: Likewise.
28819 * math/w_log10l_compat.c: Likewise.
28820 * math/w_log2_compat.c: Likewise.
28821 * math/w_log2f_compat.c: Likewise.
28822 * math/w_log2l_compat.c: Likewise.
28823 * math/w_log_compat.c: Likewise.
28824 * math/w_logf_compat.c: Likewise.
28825 * math/w_logl_compat.c: Likewise.
28826 * math/w_pow_compat.c: Likewise.
28827 * math/w_powf_compat.c: Likewise.
28828 * math/w_powl_compat.c: Likewise.
28829 * math/w_remainder_compat.c: Likewise.
28830 * math/w_remainderf_compat.c: Likewise.
28831 * math/w_remainderl_compat.c: Likewise.
28832 * math/w_sinh_compat.c: Likewise.
28833 * math/w_sinhf_compat.c: Likewise.
28834 * math/w_sinhl_compat.c: Likewise.
28835 * math/w_sqrt_compat.c: Likewise.
28836 * math/w_sqrtf_compat.c: Likewise.
28837 * math/w_sqrtl_compat.c: Likewise.
28838 * math/w_tgamma_compat.c: Likewise.
28839 * math/w_tgammaf_compat.c: Likewise.
28840 * math/w_tgammal_compat.c: Likewise.
28841 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
28842 [LIBM_SVID_COMPAT].
28843 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
28844 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
28845 [LIBM_SVID_COMPAT].
28846 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
28847 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
28848 [LIBM_SVID_COMPAT].
28849 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
28850 * sysdeps/i386/fpu/w_sqrt.c: New file.
28851 * sysdeps/ia64/fpu/w_acos.c: Likewise.
28852 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
28853 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
28854 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
28855 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
28856 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
28857 * sysdeps/ia64/fpu/w_asin.c: Likewise.
28858 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
28859 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
28860 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
28861 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
28862 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
28863 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
28864 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
28865 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
28866 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
28867 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
28868 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
28869 * sysdeps/ia64/fpu/w_exp.c: Likewise.
28870 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
28871 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
28872 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
28873 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
28874 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
28875 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
28876 * sysdeps/ia64/fpu/w_expf.c: Likewise.
28877 * sysdeps/ia64/fpu/w_expl.c: Likewise.
28878 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
28879 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
28880 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
28881 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
28882 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
28883 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
28884 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
28885 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
28886 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
28887 * sysdeps/ia64/fpu/w_log.c: Likewise.
28888 * sysdeps/ia64/fpu/w_log10.c: Likewise.
28889 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
28890 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
28891 * sysdeps/ia64/fpu/w_log2.c: Likewise.
28892 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
28893 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
28894 * sysdeps/ia64/fpu/w_logf.c: Likewise.
28895 * sysdeps/ia64/fpu/w_logl.c: Likewise.
28896 * sysdeps/ia64/fpu/w_pow.c: Likewise.
28897 * sysdeps/ia64/fpu/w_powf.c: Likewise.
28898 * sysdeps/ia64/fpu/w_powl.c: Likewise.
28899 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
28900 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
28901 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
28902 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
28903 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
28904 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
28905 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
28906 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
28907 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
28908 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
28909 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
28910 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
28911 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
28912 [LIBM_SVID_COMPAT].
28913 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
28914 * sysdeps/ieee754/k_standard.c: Likewise.
28915 * sysdeps/ieee754/k_standardf.c: Likewise.
28916 * sysdeps/ieee754/k_standardl.c: Likewise.
28917 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
28918 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
28919 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
28920 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
28921 long_double_symbol call on [LIBM_SVID_COMPAT].
28922 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28923 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28924 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28925 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28926 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28927 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28928 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28929 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28930 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28931 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28932 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28933 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28934 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28935 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28936 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28937 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28938 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
28939 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28940 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28941 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28942 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
28943 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
28945 2017-09-05 Steve Ellcey <sellcey@cavium.com>
28947 * include/shlib-compat.h (TEST_COMPAT): New Macro.
28948 * malloc/tst-mallocstate.c: Convert from test-skeleton
28949 to test-driver. Ifdef code using TEST_COMPAT macro.
28950 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
28951 * math/test-matherr.c: Likewise.
28953 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28956 * debug/pcprofiledump.c (main): Use byte-swapped mask when
28957 comparing word with byte-swapped constant.
28959 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
28962 * locale/iso-639.def: add Miskito.
28963 * localedata/SUPPORTED: Add miq_NI/UTF-8.
28964 * localedata/locales/miq_NI: New file.
28966 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
28969 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
28970 (__mkdir): Likewise.
28971 * io/chmod.c (__chmod): Add libc_hidden_def.
28972 * io/mkdir.c (__mkdir): Likewise.
28973 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28974 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28975 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
28976 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
28978 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28980 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28984 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
28985 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
28987 2017-09-04 Florian Weimer <fweimer@redhat.com>
28989 * math/math.h: Issue warning if log is defined.
28991 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28993 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28994 kernel version to 4.13.
28996 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28998 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
28999 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
29001 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
29002 just <bits/types.h>.
29003 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
29004 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
29005 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
29006 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
29007 * misc/preadv2.c: Include <errno.h>.
29008 * misc/preadv64v2.c: Include <errno.h>.
29009 * misc/pwritev2.c: Include <errno.h>.
29010 * misc/pwritev64v2.c: Include <errno.h>.
29011 * sysdeps/posix/preadv2.c: Include <errno.h>.
29012 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
29013 Fix <unistd.h> inclusion.
29014 * sysdeps/posix/pwritev2.c: Include <errno.h>.
29015 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
29016 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
29017 __strtoul_internal): New functions.
29018 * sysdeps/posix/pause.c: Include <sigsetops.h>.
29019 * sysdeps/posix/system.c: Include <sigsetops.h>.
29020 * sysdeps/mach/hurd/i386/Makefile
29021 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
29022 [$(subdir) = csu] (sysdep-only-routines): Likewise.
29023 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
29024 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
29025 __feraiseexcept_renamed to feraiseexcept instead of
29026 __GI_feraiseexcept.
29027 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
29028 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
29029 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
29030 RWF_NOWAIT): Define to 0 if undefined already.
29031 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
29033 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
29034 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
29036 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29038 * manual/math.texi (pow10): Do not document.
29039 (pow10f): Likewise.
29040 (pow10l): Likewise.
29041 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
29042 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
29043 * math/libm-test-exp10.inc (pow10_test): Remove.
29044 (do_test): Do not call pow10.
29045 * math/w_exp10_compat.c (pow10): Make into compat symbol.
29046 [NO_LONG_DOUBLE] (pow10l): Likewise.
29047 * math/w_exp10f_compat.c (pow10f): Likewise.
29048 * math/w_exp10l_compat.c (pow10l): Likewise.
29049 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
29050 (pow10): Make into compat symbol.
29051 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
29052 (pow10f): Make into compat symbol.
29053 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
29054 (pow10l): Make into compat symbol.
29055 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
29057 (CFLAGS-nldbl-pow10.c): Remove variable..
29058 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
29059 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
29060 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
29061 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
29062 Undefine and redefine.
29063 (pow10l): Make into compat symbol.
29064 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
29065 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29066 * sysdeps/arm/libm-test-ulps: Likewise.
29067 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
29068 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29069 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29070 * sysdeps/microblaze/libm-test-ulps: Likewise.
29071 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29072 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29073 * sysdeps/nios2/libm-test-ulps: Likewise.
29074 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29075 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29076 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29077 * sysdeps/sh/libm-test-ulps: Likewise.
29078 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29079 * sysdeps/tile/libm-test-ulps: Likewise.
29080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29082 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29084 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
29086 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29088 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
29089 "../ChangeLog.old/ChangeLog.8".
29090 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
29091 "../ChangeLog.old/ChangeLog.14".
29093 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29095 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
29098 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29100 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
29102 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29104 * csu/version.c (banner): Remove "by Roland McGrath et al.".
29105 * nptl/Banner: Remove "by Ulrich Drepper et al.".
29107 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29109 * stdlib/tst-atexit-common.c (do_test): Test support for at least
29110 32 atexit handlers.
29112 2017-09-01 Zack Weinberg <zackw@panix.com>
29114 * math/math.h (HUGE_VAL): Improve commentary.
29116 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29117 Andreas Schwab <schwab@suse.de>
29120 * include/stdio.h (__gen_tempfd): New function.
29121 * stdio-common/Makefile (routines): Add gentempfd.
29122 * stdio-common/gentempfd.c: New file.
29123 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
29124 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
29125 unnamed file first.
29127 2017-09-01 Florian Weimer <fweimer@redhat.com>
29131 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
29132 result to determine success or failure, not the errno value.
29133 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
29134 (tst-nss-files-hosts-erange): Link with -ldl.
29135 * nss/tst-nss-files-hosts-erange.c: New file.
29136 * nss/tst-resolv-basic.c (response): Handle nodata.example.
29137 (do_test): Add NO_DATA tests.
29138 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
29139 (do_test): Call it.
29141 2017-09-01 Florian Weimer <fweimer@redhat.com>
29144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
29145 coming from gethostbyname2_r.
29147 2017-09-01 Florian Weimer <fweimer@redhat.com>
29149 * support/namespace.h (struct support_chroot_configuration): Add
29151 (struct support_chroot): Add path_hosts, path_host_conf.
29152 * support/support_chroot.c (write_file): New function.
29153 (support_chroot_create): Call it to process /etc/resolv.conf,
29154 /etc/hosts, /etc/host.conf.
29155 (support_chroot_free): Update.
29157 2017-09-01 Florian Weimer <fweimer@redhat.com>
29159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
29160 status indicates it is set.
29162 2017-09-01 Florian Weimer <fweimer@redhat.com>
29165 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
29166 function lookup failures more reliable.
29168 2017-09-01 Florian Weimer <fweimer@redhat.com>
29170 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
29171 (getcanonname): Likewise.
29172 (gaih_inet): Likewise.
29174 2017-09-01 Florian Weimer <fweimer@redhat.com>
29176 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
29177 (getcanonname): Likewise.
29178 (gaih_inet): Likewise.
29180 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29181 Richard Henderson <rth@twiddle.net>
29183 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
29184 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
29185 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
29186 (IREG_SIZE, OREG_SIZE): New macros.
29187 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
29188 (IREG_SIZE, OREG_SIZE): New macros.
29189 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
29190 (IREG_SIZE): New macro.
29191 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
29192 (IREG_SIZE): New macro.
29193 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
29195 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
29196 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29197 (__CONCATX): Handle exceptions correctly on large values that may
29199 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
29200 Initialize if not already set.
29201 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29203 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29205 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
29206 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
29208 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
29210 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
29212 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
29214 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
29216 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
29218 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
29220 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
29221 (NO_CANCELLATION): Likewise.
29222 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
29224 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
29226 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
29228 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
29229 (NO_CANCELLATION): Likewise.
29230 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
29231 (NO_CANCELLATION): Likewise.
29232 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
29234 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
29236 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
29238 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
29240 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
29242 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
29243 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
29245 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29247 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
29250 2017-08-31 Florian Weimer <fweimer@redhat.com>
29252 * include/libc-symbols.h (internal_function): Remove.
29254 2017-08-31 Florian Weimer <fweimer@redhat.com>
29256 * stdlib/fmtmsg.c (internal_addseverity): Remove
29259 2017-08-31 Florian Weimer <fweimer@redhat.com>
29261 * stdio-common/printf_fp.c (group_number): Remove
29263 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
29265 2017-08-31 Florian Weimer <fweimer@redhat.com>
29267 * posix/fnmatch.c (internal_function): Remove definition.
29268 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
29269 * posix/regcomp.c (peek_token, init_word_char)
29270 (duplicate_node_closure, fetch_token, peek_token)
29271 (peek_token_bracket, build_range_exp, build_collating_symbol):
29273 * posix/regex_internal.c (re_string_construct_common)
29274 (create_ci_newstate, create_cd_newstate, re_string_allocate)
29275 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
29276 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
29277 (re_string_translate_buffer, re_string_reconstruct)
29278 (re_string_peek_byte_case, re_string_fetch_byte_case)
29279 (re_string_destruct, re_string_context_at, re_node_set_alloc)
29280 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
29281 (re_node_set_add_intersect, re_node_set_init_union)
29282 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
29283 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
29284 (re_dfa_add_node, calc_state_hash, re_acquire_state)
29285 (re_acquire_state_context): Likewise.
29286 * posix/regex_internal.h (internal_function): Remove definition.
29287 (re_string_realloc_buffers, build_wcs_buffer)
29288 (build_wcs_upper_buffer, build_upper_buffer)
29289 (re_string_translate_buffer, re_string_context_at)
29290 (re_string_char_size_at, re_string_wchar_at)
29291 (re_string_elem_size_at): Likewise.
29292 * posix/regexec.c (match_ctx_init, match_ctx_clean)
29293 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
29294 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
29295 (re_search_internal, re_search_2_stub, re_search_stub)
29296 (re_copy_regs, prune_impossible_nodes, check_matching)
29297 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
29298 (free_fail_stack_return, sift_states_iter_mb)
29299 (sift_states_backward, build_sifted_states)
29300 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
29301 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
29302 (check_subexp_limits, sift_states_bkref, merge_state_array)
29303 (find_recover_state, transit_state, merge_state_with_log)
29304 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
29305 (transit_state_mb, transit_state_bkref, get_subexp)
29306 (get_subexp_sub, find_subexp_node, check_arrival)
29307 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
29308 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
29309 (check_node_accept_bytes, find_collation_sequence_value)
29310 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
29311 (acquire_init_state_context, check_halt_node_context)
29312 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
29313 (sub_epsilon_src_nodes): Likewise.
29314 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
29315 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
29316 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
29317 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
29318 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
29319 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
29320 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
29321 * sysdeps/posix/ttyname.c (getttyname): Likewise.
29322 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
29323 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
29324 (PREADV): Likewise.
29325 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
29326 (PREADV): Likewise.
29327 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
29328 (PWRITEV): Likewise.
29329 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
29330 (PWRITEV): Likewise.
29331 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
29332 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
29334 2017-08-31 Florian Weimer <fweimer@redhat.com>
29336 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
29337 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
29338 Remove internal_function.
29339 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29340 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
29341 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
29342 (__deallocate_stack, __libc_pthread_init)
29343 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
29344 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
29345 (__libc_disable_asynccancel, __librt_disable_asynccancel):
29347 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
29348 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
29349 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
29351 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
29352 (__pthread_mutex_unlock_usercnt): Likewise.
29354 2017-08-31 Florian Weimer <fweimer@redhat.com>
29356 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
29357 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
29358 (fts_safe_changedir): Remove internal_function.
29359 * io/ftw.c (internal_function): Remove definition.
29360 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
29362 2017-08-31 Florian Weimer <fweimer@redhat.com>
29364 * inet/deadline.c (__deadline_current_time)
29365 (__deadline_from_timeval, __deadline_to_ms): Remove
29367 * inet/getnameinfo.c (nrl_domainname): Likewise.
29368 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
29369 * inet/inet6_option.c (add_pad): Likewise.
29370 * inet/net-internal.h (__deadline_current_time)
29371 (__deadline_from_timeval, __deadline_to_ms): Likewise.
29372 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
29373 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
29374 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
29376 2017-08-31 Joseph Myers <joseph@codesourcery.com>
29378 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
29379 include <bits/nan.h>.
29380 * math/Makefile (headers): Remove bits/nan.h.
29381 * bits/nan.h: Remove.
29382 * sysdeps/ieee754/bits/nan.h: Likewise.
29383 * sysdeps/mips/bits/nan.h: Likewise.
29385 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
29386 not include <bits/inf.h>.
29387 * math/Makefile (headers): Remove bits/inf.h.
29388 * bits/inf.h: Remove.
29389 * sysdeps/ieee754/bits/inf.h: Likewise.
29391 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
29392 bits/huge_vall.h or bits/huge_val_flt128.h.
29393 (HUGE_VAL): Define directly here.
29394 [__USE_ISOC99] (HUGE_VALF): Likewise.
29395 [__USE_ISOC99] (HUGE_VALL): Likewise.
29396 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29397 (HUGE_VAL_F128): Likewise.
29398 * math/Makefile (headers): Remove bits/huge_val.h,
29399 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
29400 * bits/huge_val.h: Remove.
29401 * bits/huge_val_flt128.h: Likewise.
29402 * bits/huge_valf.h: Likewise.
29403 * bits/huge_vall.h: Likewise.
29404 * sysdeps/ia64/bits/huge_vall.h: Likewise.
29405 * sysdeps/ieee754/bits/huge_val.h: Likewise.
29406 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
29407 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
29408 * sysdeps/sh/bits/huge_val.h: Likewise.
29409 * sysdeps/sparc/bits/huge_vall.h: Likewise.
29410 * sysdeps/x86/bits/huge_vall.h: Likewise.
29412 2017-08-31 Florian Weimer <fweimer@redhat.com>
29414 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
29416 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
29418 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
29419 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29420 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
29421 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
29422 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29423 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29424 * elf/dl-libc.c (dlerror_run): Likewise.
29425 * elf/dl-load.c (add_name_to_object, decompose_rpath)
29426 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
29427 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
29428 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
29430 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
29431 (_dl_higher_prime_number, _dl_strtoul): Likewise.
29432 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
29433 * elf/dl-profile.c (_dl_start_profile): Likewise.
29434 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
29435 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
29437 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
29438 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
29439 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
29440 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
29441 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
29442 (_dl_allocate_tls_storage): Likewise.
29443 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
29444 (_dl_check_all_versions): Likewise.
29445 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29446 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
29447 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
29448 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29449 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
29450 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
29451 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
29452 internal_function from __dl_start.
29453 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
29454 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29455 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
29456 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
29457 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
29458 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
29459 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
29460 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
29461 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
29462 (_dl_next_ld_env_entry, _dl_important_hwcaps)
29463 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
29464 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
29465 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
29466 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
29467 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
29469 (struct rtld_global_ro): Remove internal_function from the
29470 _dl_lookup_symbol_x member.
29471 (_dl_symbol_value): Remove. No longer defined anywhere.
29472 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
29474 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29475 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29476 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
29477 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
29478 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
29479 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
29480 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
29481 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
29482 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
29483 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29484 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29485 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29487 2017-08-31 Florian Weimer <fweimer@redhat.com>
29489 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
29490 Remove internal_function.
29491 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29493 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29496 2017-08-31 Florian Weimer <fweimer@redhat.com>
29498 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
29499 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
29500 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
29502 2017-08-31 Florian Weimer <fweimer@redhat.com>
29504 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
29505 (__gai_enqueue_request): Remove internal_function.
29506 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
29507 (__gai_remove_request, __gai_notify, __gai_notify_only)
29508 (__gai_sigqueue): Likewise.
29509 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
29510 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29511 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
29512 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29515 2017-08-31 Florian Weimer <fweimer@redhat.com>
29517 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
29518 * include/dirent.h (__opendirat, __getdents, __getdents64)
29519 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
29520 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
29521 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29522 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29524 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
29526 2017-08-31 Florian Weimer <fweimer@redhat.com>
29528 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
29530 (GETCWD_RETURN_TYPE): Likewise.
29532 2017-08-31 Florian Weimer <fweimer@redhat.com>
29534 * include/time.h (__tz_compute, __strptime_internal): Remove
29536 * time/strptime_l.c (__strptime_internal): Likewise.
29537 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
29539 2017-08-31 Florian Weimer <fweimer@redhat.com>
29541 * iconv/gconv.c (__gconv): Remove internal_function.
29542 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
29543 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
29544 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
29545 (__gconv_release_cache): Likewise.
29546 * iconv/gconv_close.c (__gconv_close): Likewise.
29547 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
29548 (read_conf_file, __gconv_get_path): Likewise.
29549 * iconv/gconv_db.c (derivation_lookup, add_derivation)
29550 (__gconv_release_step, gen_steps, increment_counter)
29551 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
29552 (__gconv_close_transform, free_modules_db): Likewise.
29553 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
29555 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
29556 (__gconv_find_transform, __gconv_lookup_cache)
29557 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
29558 (__gconv_close_transform, __gconv_release_cache)
29559 (__gconv_loaded_object, __gconv_release_shlib)
29560 (__gconv_compare_alias): Likewise.
29561 * iconv/gconv_open.c (__gconv_open): Likewise.
29562 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
29563 * iconv/iconvconfig.c (add_module): Likewise.
29564 * intl/dcigettext.c (plural_lookup, guess_category_value)
29565 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
29566 * intl/eval-plural.h (plural_eval): Likewise.
29567 * intl/finddomain.c (_nl_find_domain): Likewise.
29568 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
29569 (_nl_load_domain, _nl_find_msg): Likewise.
29570 (internal_function): Remove definition.
29571 * intl/loadinfo.h (internal_function): Likewise.
29572 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
29574 * intl/localealias.c (internal_function): Remove definition.
29575 (read_alias_file): Remove internal_function.
29576 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
29577 * intl/plural-exp.h (internal_function): Remove definition.
29578 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
29580 * intl/plural.c: Regenerate.
29581 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
29582 * locale/coll-lookup.c (__collidx_table_lookup)
29583 (__collseq_table_lookup): Likewise.
29584 * locale/coll-lookup.h (__collidx_table_lookup)
29585 (__collseq_table_lookup): Likewise.
29586 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
29587 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29588 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
29589 (_nl_unload_locale): Likewise.
29590 * locale/localeinfo.h (struct __locale_data): Remove
29591 internal_function from cleanup member.
29592 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
29593 (_nl_remove_locale, _nl_load_locale_from_archive)
29594 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
29595 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
29596 (_nl_cleanup_time): Remove internal_function.
29597 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
29598 (_nl_parse_alt_digit): Likewise.
29599 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
29600 (_nl_select_era_entry): Likewise.
29601 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
29602 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29603 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29604 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29605 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29607 2017-08-31 Florian Weimer <fweimer@redhat.com>
29609 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
29610 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29611 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
29612 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
29614 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
29615 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
29616 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
29617 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29619 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
29621 2017-08-31 Florian Weimer <fweimer@redhat.com>
29623 * misc/getttyent.c (skip, value): Remove internal_function.
29624 * misc/syslog.c (openlog_internal): Likewise.
29625 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
29627 2017-08-31 Florian Weimer <fweimer@redhat.com>
29629 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
29630 (__nss_rewrite_field): Remove internal_function.
29631 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29632 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29633 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29634 * nss/nsswitch.c (nss_parse_file, nss_getline)
29635 (nss_parse_service_list, nss_new_service): Likewise.
29636 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
29637 * nss/valid_field.c (__nss_valid_field): Likewise.
29638 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29640 2017-08-31 Florian Weimer <fweimer@redhat.com>
29642 * malloc/arena.c (__malloc_fork_lock_parent)
29643 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
29644 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
29645 internal_function from defintions.
29646 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
29647 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
29648 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
29649 internal_function from declarations.
29650 * malloc/malloc.c (internal_function): Do not define.
29651 (mem2mem_check): Remove internal_function from declaration.
29652 (munmap_chunk, mremap_chunk): Remove internal_function.
29653 * malloc/mtrace.c (tr_where): Likewise.
29655 2017-08-31 Florian Weimer <fweimer@redhat.com>
29657 * include/rpc/pmap_clnt.h (__get_socket): Remove
29659 * sunrpc/auth_des.c (synchronize): Likewise.
29660 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
29661 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
29662 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
29663 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
29664 (key_call): Likewise.
29665 * sunrpc/pm_getport.c (__get_socket): Likewise.
29666 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
29667 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
29668 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
29669 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
29670 (invalidate): Likewise.
29671 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
29672 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
29673 (set_input_fragment, get_input_bytes): Likewise.
29675 2017-08-31 Florian Weimer <fweimer@redhat.com>
29677 * malloc/malloc.c (_int_free): Remove locked variable and related
29680 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
29683 * Makerules (build-module-helper-objlist): Filter out
29684 $(elf-objpfx)sofini.os.
29685 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
29688 2017-08-31 Florian Weimer <fweimer@redhat.com>
29690 * libio/fcloseall.c: Assume weak_alias is defined.
29691 * libio/feof.c: Likewise.
29692 * libio/fileno.c: Likewise.
29693 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
29694 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29696 (_IO_file_open): Call __open directly.
29697 (_IO_new_file_sync): Assume ESPIPE is defined.
29698 (_IO_file_seekoff_maybe_mmap): Call __read directly.
29699 (_IO_new_file_write): Call __write directly.
29700 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
29701 * libio/ftello64.c (__ftello64): Assume EIO is defined.
29702 * libio/genops.c: Assume _LIBC is defined.
29703 (save_for_backup): Remove internal_function.
29704 * libio/getc.c: Assume weak_alias is defined.
29705 * libio/getwc.c: Likewise.
29706 * libio/iofclose.c: Assume _LIBC is defined.
29707 * libio/iofdopen.c: Likewise.
29708 (_IO_fcntl): Remove macro definition.
29709 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
29710 Call __fcntl directly.
29711 * libio/iofflush.c: Assume weak_alias is defined.
29712 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
29714 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
29715 * libio/iofgets.c: Likewise.
29716 * libio/iofopen.c: Assume _LIBC is defined.
29717 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
29718 * libio/iofputs.c: Assume weak_alias is defined.
29719 * libio/iofread.c: Likewise.
29720 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
29721 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
29722 * libio/ioftell.c: Assume weak_alias is defined.
29723 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
29724 * libio/iofwide.c: Assume _LIBC is defined.
29725 (_IO_fwide): Drop SHARED conditional because it is implied by
29727 * libio/iofwrite.c: Assume weak_alias is defined.
29728 * libio/iogetdelim.c: Likewise.
29729 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
29730 * libio/iogetwline.c (wmemcpy): Remove macro definition.
29731 (_IO_getwline): Call __wmemcpy directly.
29732 * libio/iopopen.c: Assume _LIBC is defined.
29733 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29734 (_IO_close): Remove macro definitions.
29735 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
29737 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
29739 * libio/ioputs.c: Assume weak_alias is defined.
29740 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
29741 * libio/iosetbuffer.c: Assume weak_alias is defined.
29742 * libio/iosetvbuf.c: Likewise.
29743 * libio/ioungetc.c: Likewise.
29744 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
29745 libc_hidden_def, libc_hidden_weak, NULL are defined.
29746 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
29747 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
29749 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29751 (_IO_old_file_init_internal): Drop SHARED conditional because it
29752 is implied by SHLIB_COMPAT.
29753 (_IO_old_file_fopen): Call __open directly.
29754 (_IO_old_file_sync): Assume ESPIPE is defined.
29755 (_IO_old_file_write): Call __write directly.
29756 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
29757 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
29758 Call __fcntl directly.
29759 * libio/oldiofgetpos.c: Assume weak_alias is defined.
29760 (_IO_old_fgetpos): Assume EIO is defined.
29761 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
29762 (_IO_old_fgetpos64): Assume EIO is defined.
29763 * libio/oldiofsetpos.c: Assume weak_alias is defined.
29764 (_IO_old_fsetpos): Assume EIO is defined.
29765 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
29766 (_IO_old_fsetpos64): Assume EIO is defined.
29767 * libio/oldiopopen.c: Assume _LIBC is defined.
29768 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29769 (_IO_close): Remove macro definitions.
29770 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
29772 (_IO_old_proc_close): Call __close, __waitpid directly.
29773 * libio/put.c: Assume weak_alias is defined.
29774 * libio/stdfiles.c: Assume _LIBC is defined.
29775 * libio/stdio.c: Likewise.
29776 * libio/wfileops.c: Likewise.
29777 (_IO_wfile_sync): Assume ESPIPE is defined.
29778 * libio/wgenops.c: Assume _LIBC is defined.
29779 (save_for_wbackup): Remove internal_function.
29781 2017-08-31 Florian Weimer <fweimer@redhat.com>
29783 * malloc/malloc.c (top_check): Change return type to void. Remove
29785 * malloc/hooks.c (top_check): Likewise.
29786 (malloc_check, realloc_check, memalign_check): Adjust.
29788 2017-08-30 Joseph Myers <joseph@codesourcery.com>
29791 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29792 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
29793 sigcontext and namespace requirements.
29794 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29795 * sysdeps/m68k/sys/ucontext.h: Likewise.
29796 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
29797 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
29798 <bits/sigcontext.h>.
29799 (__ctx): Define earlier.
29800 (mcontext_t): Define structure contents rather than using struct
29802 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
29803 __glibc_reserved1 instead of __reserved.
29804 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
29805 <bits/sigcontext.h>.
29806 (__ctx): Define earlier.
29807 (mcontext_t): Define structure contents rather than using struct
29809 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
29810 mcontext_t instead of struct sigcontext.
29811 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
29812 <bits/sigcontext.h>.
29813 (__ctx): Define earlier.
29814 (mcontext_t): Define structure contents rather than using struct
29816 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
29817 <bits/sigcontext.h>.
29818 (__ctx): Define earlier.
29819 (mcontext_t): Define structure contents rather than using struct
29821 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
29822 mcontext_t instead of struct sigcontext.
29823 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
29824 mcontext_t instead of struct sigcontext.
29825 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
29826 <bits/sigcontext.h>.
29827 (__ctx): New macro.
29828 (struct __ia64_fpreg_mcontext): New type.
29829 (mcontext_t): Define structure contents rather than using struct
29831 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
29832 (uc_sigmask): Define using __ctx.
29833 (uc_stack): Likewise.
29834 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
29835 <bits/sigcontext.h>.
29836 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29837 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
29838 <bits/sigcontext.h>.
29839 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
29840 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
29841 <bits/sigcontext.h>.
29842 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
29843 <bits/sigcontext.h>.
29844 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
29845 <bits/sigcontext.h>.
29846 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
29847 <bits/sigcontext.h>.
29848 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
29849 <bits/sigcontext.h>.
29850 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
29851 <bits/sigcontext.h>.
29852 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
29853 <bits/sigcontext.h>.
29854 (__ctx): Define earlier.
29855 (mcontext_t): Define structure contents rather than using struct
29857 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
29858 <bits/sigcontext.h>. Include <bits/types.h>.
29859 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
29860 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
29861 (test-xfail-XPG42/ucontext.h/conform): Likewise.
29862 (test-xfail-UNIX98/signal.h/conform): Likewise.
29863 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29864 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29865 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29866 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29867 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29868 (test-xfail-POSIX2008/signal.h/conform): Likewise.
29869 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29870 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29871 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29873 2017-08-30 Florian Weimer <fweimer@redhat.com>
29875 * malloc/dynarray_emplace_enlarge.c
29876 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
29877 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
29878 * malloc/tst-dynarray.c (test_long_overflow): New function.
29879 (do_test): Call it.
29881 2017-08-30 Florian Weimer <fweimer@redhat.com>
29883 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
29884 (set_arena_corrupt): Remove definitions.
29885 (mtrim): Do not check for corrupt arena.
29886 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
29889 2017-08-30 Florian Weimer <fweimer@redhat.com>
29892 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
29894 (ptmalloc_init): Do not set or use check_action.
29895 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
29896 call to malloc_printerr. Remove return statement.
29897 (free_check): Likewise. Remove arena unlock.
29898 (top_check): Update comment. Adjust call to malloc_printerr.
29899 Remove heap repair code.
29900 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
29901 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
29902 (sysmalloc): Adjust call to malloc_printerr.
29903 (munmap_chunk, __libc_realloc): Likewise. Remove return
29905 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
29906 Remove errout label and corresponding gotos.
29907 (_int_free): Likewise. Remove arena unlock.
29908 (do_set_mallopt_check): Do not set check_action.
29909 (malloc_printerr): Adjust parameter list. Do not mark arena as
29911 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
29913 * manual/probes.texi (Memory Allocation Probes): Remove
29914 memory_mallopt_check_action.
29916 2017-08-30 Steve Ellcey <sellcey@cavium.com>
29918 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
29919 Use pointer to uint64_t instead of long int for sp.
29921 2017-08-30 Florian Weimer <fweimer@redhat.com>
29924 * malloc/malloc.c (malloc_printerr): Always terminate the process,
29925 without printing a backtrace. Do not leak any information in the
29927 * manual/memory.texi (Heap Consistency Checking): Update.
29928 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
29930 2017-08-30 Florian Weimer <fweimer@redhat.com>
29932 Do not scale NPTL tests with available number of CPUs.
29933 * nptl/tst-cond16.c (count): Set to constant value of 8.
29934 * nptl/tst-cond18.c (count): Likewise.
29936 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29939 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
29940 Define to take a second argument that is a macro that
29941 concatentates a suffix, not the suffix itself.
29942 (__CONCAT_d): New macro.
29943 (__CONCAT_f): Likewise.
29944 (__CONCAT_l): Likewise.
29946 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
29948 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
29951 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29952 Aurelien Jarno <aurelien@aurel32.net>
29953 Maciej W. Rozycki <macro@imgtec.com>
29956 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
29957 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
29958 `mips16-syscall6' and `mips16-syscall7'.
29959 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
29960 (CFLAGS-mips16-syscall7.c): Remove.
29961 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
29962 Remove `__mips16_syscall5', `__mips16_syscall6' and
29963 `__mips16_syscall7'.
29964 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
29965 (__mips16_syscall0): Rename `__mips16_syscall_return' to
29966 `__mips_syscall_return'.
29967 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
29968 (__mips16_syscall1): Likewise.
29969 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
29970 (__mips16_syscall2): Likewise.
29971 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
29972 (__mips16_syscall3): Likewise.
29973 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
29974 (__mips16_syscall4): Likewise.
29975 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
29977 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
29979 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
29981 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
29982 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
29983 `__mips16_syscall5'. Remove prototype.
29984 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
29985 `__mips16_syscall6'. Remove prototype.
29986 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
29987 `__mips16_syscall7'. Remove prototype.
29988 (__nomips16, __mips16_syscall_return): Move to...
29989 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
29990 (__nomips16, __mips_syscall_return): ... here.
29991 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
29992 `__mips16_syscall_return' to `__mips_syscall_return'.
29993 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
29994 `internal_syscall##nr'.
29995 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
29996 `internal_syscall##nr'.
29997 (FORCE_FRAME_POINTER): Remove.
29998 (__mips_syscall5): New prototype.
29999 (internal_syscall5): Rewrite to call `__mips_syscall5'.
30000 (__mips_syscall6): New prototype.
30001 (internal_syscall6): Rewrite to call `__mips_syscall6'.
30002 (__mips_syscall7): New prototype.
30003 (internal_syscall7): Rewrite to call `__mips_syscall7'.
30004 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
30005 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
30006 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
30007 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
30008 (sysdep_routines): Add libc-do-syscall.
30009 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
30010 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
30012 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30015 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
30016 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
30017 (advise_stack_range): New function.
30018 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
30019 stack non required to advise_stack_range at allocatestack.c
30021 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30023 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
30025 2017-08-29 Florian Weimer <fweimer@redhat.com>
30028 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
30029 __end_fct. Mangle __end_fct after setting it to NULL.
30030 * iconv/Makefile (tests): Add tst-gconv-init-failure.
30031 (modules-names, modules-names-tests): Add
30032 tst-gconv-init-failure-mod.
30033 (gconv-modules): New target.
30034 (tst-gconv-init-failure-mod.so): Link against libsupport.
30035 (tst-gconv-init-failure): Depend on gconv-modules,
30036 tst-gconv-init-failure-mod.so.
30037 * iconv/tst-gconv-init-failure-mod.c: New file.
30038 * iconv/tst-gconv-init-failure.c: Likewise.
30039 * iconv/test-gconv-modules: Likewise.
30041 2017-08-29 Florian Weimer <fweimer@redhat.com>
30044 * iconv/gconv_db.c (free_derivation): Remove redundant
30046 (gen_steps): Unconditionally mangle __btowc_fct after
30048 (increment_counter): Likewise. Do not call init_fct for internal
30051 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30054 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30055 (_MSUF_): Remove macro.
30056 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
30058 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30059 (__REDIRFROM_X): New macro.
30060 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
30062 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
30063 (__REDIRTO_X): Likewise.
30064 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
30066 (__MATH_REDIRCALL_2): Likewise.
30067 (__MATH_REDIRCALL_INTERNAL): Likewise.
30068 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30069 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
30070 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
30071 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30072 * math/test-finite-macros.c: New file.
30073 * math/Makefile (tests): Add test-finite-macros.
30074 (CFLAGS-test-finite-macros.c): New variable.
30076 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
30077 Jeff Law <law@redhat.com>
30080 Mangle NULL pointers in iconv/gconv.
30081 * iconv/gconv_cache.c (find_module): Demangle init_fct before
30082 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
30083 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
30084 is non-NULL before demangling the end_fct. Check for NULL
30085 end_fct after demangling.
30086 (__gconv_release_step): Demangle the end_fct before checking
30087 it for NULL. Remove assert on __shlibc_handle != NULL.
30088 (gen_steps): Don't check btowc_fct for NULL before mangling.
30089 Demangle init_fct before checking for NULL.
30090 (increment_counter): Likewise.
30091 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
30092 end_fct for NULL before mangling.
30093 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
30096 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
30099 * locale/iso-639.def: add Morisyen.
30101 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30104 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
30105 (iszero): New C++ implementation that does not use
30106 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
30107 signaling nans are enabled, since __builtin_types_compatible_p
30108 is a C-only feature.
30109 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
30110 defined, include ieee754_float128.h for access to the union and
30111 member ieee854_float128.ieee.
30112 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
30113 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
30114 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30115 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
30116 options of test-math-zero on powerpc64le.
30118 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
30120 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30121 Change double to float.
30123 2017-08-28 Joseph Myers <joseph@codesourcery.com>
30125 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
30127 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
30128 conditional code; define contents only for [LIBM_SVID_COMPAT].
30130 2017-08-28 Florian Weimer <fweimer@redhat.com>
30132 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
30133 (abi-lp64_be-options): Remove.
30134 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
30135 (abi-hard-options): Likewise.
30136 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
30137 (abi-o32_hard-options, abi-o32_soft_2008-options)
30138 (abi-o32_hard_2008-options, abi-n32_soft-options)
30139 (abi-n32_hard-options, abi-n32_soft_2008-options)
30140 (abi-n32_hard_2008-options, abi-n64_soft-options)
30141 (abi-n64_hard-options, abi-n64_soft_2008-options)
30142 (abi-n64_hard_2008-options): Likewise.
30143 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
30144 (abi-64-v1-options, abi-64-v2-options): Likewise.
30145 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
30146 (abi-64-options): Likewise.
30147 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
30148 (abi-64-options): Likewise.
30149 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
30150 (abi-64-options): Likewise.
30151 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
30152 (abi-64-options, abi-x32-options): Likewise.
30154 2017-08-28 Florian Weimer <fweimer@redhat.com>
30156 Store supported list of SYS_* system calls in the source tree.
30157 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
30158 (bits/syscall.h): Generate from list file.
30159 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
30160 [$(subdir) = misc] (tests): Add tst-syscall-list.
30161 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
30162 [$(subdir) = misc] (tst-syscall-list-macros.list)
30163 [$(subdir) = misc] (tst-syscall-list-nr.list)
30164 (tst-syscall-list-sys.list): Helper targets for new
30165 tst-syscall-list test.
30166 [$(subdir) = misc] (tst-syscall-list.out): Run test script
30167 tst-syscall-list.sh.
30168 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
30169 target. Do not include bits/syscall.d.
30170 [$(subdir) = misc] (generated): Do not update.
30171 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
30172 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
30173 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
30174 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
30176 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30178 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
30179 (tst-cxa_atexit, tst-on_exit): Likewise.
30180 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
30181 tst-cxa_atexit, and tst-on_exit.
30182 * stdlib/tst-atexit-common.c: New file.
30183 * stdlib/tst-atexit.c: New file.
30184 * stdlib/tst-at_quick_exit.c: New file.
30185 * stdlib/tst-cxa_atexit.c: New file.
30186 * stdlib/tst-on_exit.c: New file.
30188 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30190 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
30191 * mach/stack_chk_fail_local.c: New file.
30192 * hurd/stack_chk_fail_local.c: New file.
30193 * mach/Machrules ($(interface-library)-routines): Add
30194 stack_chk_fail_local.
30195 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
30196 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
30197 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
30198 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
30199 * hurd/Makefile (CFLAGS-hurdstartup.o,
30200 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
30202 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
30204 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30205 (index_cpu_*, index_arch_*): Removed.
30207 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30209 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
30210 Use uint64_t instead of unsigned long.
30212 2017-08-25 Joseph Myers <joseph@codesourcery.com>
30214 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
30215 [__HAVE_DISTINCT_FLOAT128].
30217 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
30218 of <bits/math-finite.h>.
30219 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
30220 inclusion of <bits/math-finite.h>.
30221 * math/bits/math-finite.h (__REDIRTO_X): Do not define
30222 conditionally on [__MATH_DECLARING_LDOUBLE && defined
30223 __NO_LONG_DOUBLE_MATH].
30224 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
30225 (__MATH_REDIRCALL_2): Likewise.
30226 (__MATH_REDIRCALL_INTERNAL): Likewise.
30227 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30228 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
30229 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
30233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
30235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
30237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
30239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
30241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
30243 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30244 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30245 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30246 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
30248 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
30249 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
30250 w_sqrtf_compat-ppc32.
30252 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30254 * math/math.h [defined __cplusplus] (issignaling): In the long
30255 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
30256 is not defined. Call __issignaling, otherwise.
30258 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30260 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
30261 syscall definitions and replace __builtin_expect with __glibc_likely.
30262 * sysdeps/unix/syscall-template.S: Update comment about cancellable
30264 (SYSCALL_CANCELLABLE): Removedefinition
30265 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
30267 (PSEUDO_END): Likewise.
30268 [IS_IN (libpthread)] (CENABLE): Likewise.
30269 [IS_IN (libpthread)] (CDISABLE): Likewise.
30270 [IS_IN (libc)] (CENABLE): Likewise.
30271 [IS_IN (libc)] (CENABLE): Likewise.
30272 [IS_IN (librt)] (CDISABLE): Likewise.
30273 [IS_IN (librt)] (CDISABLE): Likewise.
30274 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30275 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
30277 (PSEUDO_END): Likewise.
30278 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
30279 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
30280 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30281 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30282 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30283 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30284 (CENABLE): Likewise.
30285 (CDISABLE): Likewise.
30286 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30287 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
30289 (PSEUDO_END): Likewise.
30290 [IS_IN (libpthread)] (CENABLE): Likewise.
30291 [IS_IN (libpthread)] (CDISABLE): Likewise.
30292 [IS_IN (libc)] (CENABLE): Likewise.
30293 [IS_IN (libc)] (CENABLE): Likewise.
30294 [IS_IN (librt)] (CDISABLE): Likewise.
30295 [IS_IN (librt)] (CDISABLE): Likewise.
30296 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30297 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
30299 (PSEUDO_END): Likewise.
30300 [IS_IN (libpthread)] (CENABLE): Likewise.
30301 [IS_IN (libpthread)] (CDISABLE): Likewise.
30302 [IS_IN (libc)] (CENABLE): Likewise.
30303 [IS_IN (libc)] (CENABLE): Likewise.
30304 [IS_IN (librt)] (CDISABLE): Likewise.
30305 [IS_IN (librt)] (CDISABLE): Likewise.
30306 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30307 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
30309 (PSEUDO_END): Likewise.
30310 [IS_IN (libpthread)] (CENABLE): Likewise.
30311 [IS_IN (libpthread)] (CDISABLE): Likewise.
30312 [IS_IN (libc)] (CENABLE): Likewise.
30313 [IS_IN (libc)] (CENABLE): Likewise.
30314 [IS_IN (librt)] (CDISABLE): Likewise.
30315 [IS_IN (librt)] (CDISABLE): Likewise.
30316 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30317 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
30319 (PSEUDO_END): Likewise.
30320 [IS_IN (libpthread)] (CENABLE): Likewise.
30321 [IS_IN (libpthread)] (CDISABLE): Likewise.
30322 [IS_IN (libc)] (CENABLE): Likewise.
30323 [IS_IN (libc)] (CENABLE): Likewise.
30324 [IS_IN (librt)] (CDISABLE): Likewise.
30325 [IS_IN (librt)] (CDISABLE): Likewise.
30326 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30327 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
30329 (PSEUDO_END): Likewise.
30330 [IS_IN (libpthread)] (CENABLE): Likewise.
30331 [IS_IN (libpthread)] (CDISABLE): Likewise.
30332 [IS_IN (libc)] (CENABLE): Likewise.
30333 [IS_IN (libc)] (CENABLE): Likewise.
30334 [IS_IN (librt)] (CDISABLE): Likewise.
30335 [IS_IN (librt)] (CDISABLE): Likewise.
30336 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30337 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
30339 (PSEUDO_END): Likewise.
30340 [IS_IN (libpthread)] (CENABLE): Likewise.
30341 [IS_IN (libpthread)] (CDISABLE): Likewise.
30342 [IS_IN (libc)] (CENABLE): Likewise.
30343 [IS_IN (libc)] (CENABLE): Likewise.
30344 [IS_IN (librt)] (CDISABLE): Likewise.
30345 [IS_IN (librt)] (CDISABLE): Likewise.
30346 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30347 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
30349 (PSEUDO_END): Likewise.
30350 [IS_IN (libpthread)] (CENABLE): Likewise.
30351 [IS_IN (libpthread)] (CDISABLE): Likewise.
30352 [IS_IN (libc)] (CENABLE): Likewise.
30353 [IS_IN (libc)] (CENABLE): Likewise.
30354 [IS_IN (librt)] (CDISABLE): Likewise.
30355 [IS_IN (librt)] (CDISABLE): Likewise.
30356 (SINGLE_THREAD_P): Likewise.
30357 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
30359 (PSEUDO_END): Likewise.
30360 [IS_IN (libpthread)] (CENABLE): Likewise.
30361 [IS_IN (libpthread)] (CDISABLE): Likewise.
30362 [IS_IN (libc)] (CENABLE): Likewise.
30363 [IS_IN (libc)] (CENABLE): Likewise.
30364 [IS_IN (librt)] (CDISABLE): Likewise.
30365 [IS_IN (librt)] (CDISABLE): Likewise.
30366 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30367 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
30369 (PSEUDO_END): Likewise.
30370 [IS_IN (libpthread)] (CENABLE): Likewise.
30371 [IS_IN (libpthread)] (CDISABLE): Likewise.
30372 [IS_IN (libc)] (CENABLE): Likewise.
30373 [IS_IN (libc)] (CENABLE): Likewise.
30374 [IS_IN (librt)] (CDISABLE): Likewise.
30375 [IS_IN (librt)] (CDISABLE): Likewise.
30376 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30377 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
30378 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30379 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
30380 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
30382 (PSEUDO_END): Likewise.
30383 [IS_IN (libpthread)] (CENABLE): Likewise.
30384 [IS_IN (libpthread)] (CDISABLE): Likewise.
30385 [IS_IN (libc)] (CENABLE): Likewise.
30386 [IS_IN (libc)] (CENABLE): Likewise.
30387 [IS_IN (librt)] (CDISABLE): Likewise.
30388 [IS_IN (librt)] (CDISABLE): Likewise.
30389 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30390 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
30392 (PSEUDO_END): Likewise.
30393 [IS_IN (libpthread)] (CENABLE): Likewise.
30394 [IS_IN (libpthread)] (CDISABLE): Likewise.
30395 [IS_IN (libc)] (CENABLE): Likewise.
30396 [IS_IN (libc)] (CENABLE): Likewise.
30397 [IS_IN (librt)] (CDISABLE): Likewise.
30398 [IS_IN (librt)] (CDISABLE): Likewise.
30399 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30400 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
30402 (PSEUDO_END): Likewise.
30403 [IS_IN (libpthread)] (CENABLE): Likewise.
30404 [IS_IN (libpthread)] (CDISABLE): Likewise.
30405 [IS_IN (libc)] (CENABLE): Likewise.
30406 [IS_IN (libc)] (CENABLE): Likewise.
30407 [IS_IN (librt)] (CDISABLE): Likewise.
30408 [IS_IN (librt)] (CDISABLE): Likewise.
30409 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30410 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
30411 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30412 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
30413 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
30415 (PSEUDO_END): Likewise.
30416 [IS_IN (libpthread)] (CENABLE): Likewise.
30417 [IS_IN (libpthread)] (CDISABLE): Likewise.
30418 [IS_IN (libc)] (CENABLE): Likewise.
30419 [IS_IN (libc)] (CENABLE): Likewise.
30420 [IS_IN (librt)] (CDISABLE): Likewise.
30421 [IS_IN (librt)] (CDISABLE): Likewise.
30422 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30423 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
30425 (PSEUDO_END): Likewise.
30426 [IS_IN (libpthread)] (CENABLE): Likewise.
30427 [IS_IN (libpthread)] (CDISABLE): Likewise.
30428 [IS_IN (libc)] (CENABLE): Likewise.
30429 [IS_IN (libc)] (CENABLE): Likewise.
30430 [IS_IN (librt)] (CDISABLE): Likewise.
30431 [IS_IN (librt)] (CDISABLE): Likewise.
30432 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30434 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30436 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
30438 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30440 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30442 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30445 * string/stratcliff.c (do_test): Declare size, nchars, inner,
30446 middle and outer with size_t instead of int. Repleace %d and
30447 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
30448 "MAX (outer, nchars - 64)" to support unsigned outer and
30449 nchars. Also exit loop when outer == 0.
30451 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30453 * include/fcntl.h (__fcntl_nocancel): Remove definition.
30454 * include/signal.h (__sigsuspend_nocancel): Likewise.
30455 * include/time.h (__nanosleep_nocancel): Likewise.
30456 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
30457 * login/utmp_file.c: Include non cancellable syscall header.
30458 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
30461 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30463 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
30464 .byte sequences with AVX512F instructions.
30465 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
30466 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
30467 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30468 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
30470 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30473 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
30474 Steve Ellcey <sellcey@cavium.com>
30476 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
30477 Use PTR_REG macro in cmp instruction.
30479 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30481 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
30482 Change the return type of the ifunc resolver to match the return
30483 type of the target function.
30485 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30487 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
30488 (preadv64): Likewise.
30489 (pwrite64(: Likewise.
30490 (pwritev64): Likewise.
30492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30493 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
30494 (LOAD_ARGS_0): Likewise.
30495 (LOAD_ARGS_1): Likewise.
30496 (LOAD_ARGS_2): Likewise.
30497 (LOAD_ARGS_3): Likewise.
30498 (LOAD_ARGS_4): Likewise.
30499 (LOAD_ARGS_5): Likewise.
30500 (LOAD_ARGS_6): Likewise.
30501 (LOAD_REGS_0): Likewise.
30502 (LOAD_REGS_1): Likewise.
30503 (LOAD_REGS_2): Likewise.
30504 (LOAD_REGS_3): Likewise.
30505 (LOAD_REGS_4): Likewise.
30506 (LOAD_REGS_5): Likewise.
30507 (LOAD_REGS_6): Likewise.
30508 (ASM_ARGS_0): Likewise.
30509 (ASM_ARGS_1): Likewise.
30510 (ASM_ARGS_2): Likewise.
30511 (ASM_ARGS_3): Likewise.
30512 (ASM_ARGS_4): Likewise.
30513 (ASM_ARGS_5): Likewise.
30514 (ASM_ARGS_6): Likewise.
30515 (LOAD_ARGS_TYPES_1): Likewise.
30516 (LOAD_ARGS_TYPES_2): Likewise.
30517 (LOAD_ARGS_TYPES_3): Likewise.
30518 (LOAD_ARGS_TYPES_4): Likewise.
30519 (LOAD_ARGS_TYPES_5): Likewise.
30520 (LOAD_ARGS_TYPES_6): Likewise.
30521 (LOAD_REGS_TYPES_1): Likewise.
30522 (LOAD_REGS_TYPES_2): Likewise.
30523 (LOAD_REGS_TYPES_3): Likewise.
30524 (LOAD_REGS_TYPES_4): Likewise.
30525 (LOAD_REGS_TYPES_5): Likewise.
30526 (LOAD_REGS_TYPES_6): Likewise.
30527 (TYPEFY): New define.
30528 (ARGIFY): Likewise.
30529 (internal_syscall0): Likewise.
30530 (internal_syscall1): Likewise.
30531 (internal_syscall2): Likewise.
30532 (internal_syscall3): Likewise.
30533 (internal_syscall4): Likewise.
30534 (internal_syscall5): Likewise.
30535 (internal_syscall6): Likewise.
30536 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
30537 (INTERNAL_SYSCALL_NCS): Remove define.
30538 (internal_syscall1): Add define.
30540 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30542 * math/w_remainder_compat.c: Remove duplicate inclusion of
30543 math-svid-compat.h.
30544 * math/w_remainderf_compat.c: Likewise.
30545 * math/w_remainderl_compat.c: Likewise.
30547 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30551 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30554 * math/tgmath.h (__floating_type): Simplify definitions.
30555 (__real_integer_type): New macro.
30556 (__complex_integer_type): Likewise.
30557 (__expr_is_real): Likewise.
30558 (__tgmath_real_type_sub): Update comment to describe handling of
30560 (__tgmath_complex_type_sub): New macro.
30561 (__tgmath_complex_type): Likewise.
30562 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30563 (__TGMATH_CF128): Use __expr_is_real.
30564 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
30566 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30567 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
30568 * math/gen-tgmath-tests.py (Type.create_type): Create complex
30571 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30573 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
30575 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
30577 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
30580 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
30581 nanosleep_not_cancel with __nanosleep_nocancel.
30582 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
30583 (__nanosleep_nocancel): New macro.
30584 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
30586 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
30588 (__nanosleep_nocancel): New prototype.
30590 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
30591 pause_not_cancel with __pause_nocancel.
30592 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
30593 (__pause_nocancel): New macro.
30594 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
30596 (__pause_nocancel): New prototype.
30597 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
30599 2017-08-22 Martin Sebor <msebor@redhat.com>
30601 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
30602 to return a pointer to the same type as the target function.
30604 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30608 * include/printf.h (__printf_fphex): Add attribute_hidden.
30609 (__guess_grouping): New prototype.
30610 * stdio-common/printf_fp.c (__guess_grouping): Removed.
30611 * stdio-common/reg-printf.c (__register_printf_specifier): Add
30612 libc_hidden_proto and libc_hidden_def.
30613 * stdlib/strfmon_l.c (__guess_grouping): Removed.
30614 (__vstrfmon_l): Remove the third argument passed to
30617 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30619 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
30620 definition for issignaling that does not rely on __MATH_TG,
30621 since __MATH_TG uses __builtin_types_compatible_p, which is only
30622 available in C mode.
30623 (CFLAGS-test-math-issignaling.cc): New variable.
30624 * math/Makefile [CXX] (tests): Add test-math-issignaling.
30625 * math/test-math-issignaling.cc: New test for C++ implementation
30626 of type-generic issignaling.
30627 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30628 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
30629 options of test-math-issignaling on powerpc64le.
30631 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30633 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30635 (hidden_proto): Likewise.
30636 (hidden_tls_proto): Likewise.
30637 (__hidden_proto): Likewise.
30639 2017-08-22 Florian Weimer <fweimer@redhat.com>
30641 math: Statically link tests of internal functionality.
30642 * math/Makefile (tests): Remove atest-exp, atest-sincos,
30644 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
30645 (gmp-objs): Remove assignment.
30646 (atest-exp, atest-sincos, atest-exp2): Remove targets.
30648 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30651 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
30653 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
30655 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
30658 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
30659 variable definitions above inclusion of ../Rules.
30661 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30663 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
30664 case calling __builtin_unreachable.
30666 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30668 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
30669 __waitpid_nocancel.
30670 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
30671 (__waitpid_nocancel): New macro.
30672 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
30674 (__waitpid_nocancel): Replace macro with a function.
30675 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
30678 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
30680 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
30681 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
30683 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
30684 __writev_nocancel_nostatus.
30685 (write_call_graph): Likewise.
30686 (write_bb_counts): Likewise.
30687 * resolv/herror.c (herror): Likewise.
30688 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
30690 (__writev_nocancel_nostatus): New macro.
30691 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
30693 (__writev_nocancel_nostatus): New function.
30695 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30698 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30700 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30702 (hidden_proto): Likewise.
30703 (hidden_tls_proto): Likewise.
30704 (__hidden_proto): Likewise.
30707 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
30708 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
30713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
30717 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
30718 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30719 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30720 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30721 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
30722 GLIBC_2.0 sqrtl symbol.
30724 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
30725 [__USE_MISC] (_LIB_VERSION): Likewise.
30726 [__USE_MISC] (struct exception): Likewise.
30727 [__USE_MISC] (matherr): Likewise.
30728 [__USE_MISC] (DOMAIN): Likewise.
30729 [__USE_MISC] (SING): Likewise.
30730 [__USE_MISC] (OVERFLOW): Likewise.
30731 [__USE_MISC] (UNDERFLOW): Likewise.
30732 [__USE_MISC] (TLOSS): Likewise.
30733 [__USE_MISC] (PLOSS): Likewise.
30734 [__USE_MISC] (HUGE): Likewise.
30735 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
30736 * math/math-svid-compat.h: New file.
30737 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
30739 * include/math.h [!_ISOMAC] (__matherr): Remove.
30740 * manual/arith.texi (FP Exceptions): Do not document matherr.
30741 * math/Makefile (tests): Change test-matherr to test-matherr-3.
30742 (tests-internal): New variable.
30743 (install-lib): Do not add libieee.a.
30744 (non-lib.a): Likewise.
30745 (extra-objs): Do not add libieee.a and ieee-math.o.
30746 (CPPFLAGS-s_lib_version.c): Remove variable.
30747 ($(objpfx)libieee.a): Remove rule.
30748 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
30749 * math/ieee-math.c: Remove.
30750 * math/libm-test-support.c (matherr): Remove.
30751 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
30752 and license notices. Include <math-svid-compat.h> and
30754 (matherr): Undefine as macro. Use compat_symbol_reference.
30755 (_LIB_VERSION): Likewise.
30756 * math/test-matherr-2.c: New file.
30757 * math/test-matherr-3.c: Likewise.
30758 * sysdeps/generic/math_private.h (__kernel_standard): Remove
30760 (__kernel_standard_f): Likewise.
30761 (__kernel_standard_l): Likewise.
30762 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
30763 <math_private.h>. Include <math-svid-compat.h>.
30764 (_LIB_VERSION): Undefine as macro.
30765 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
30766 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
30767 [LIBM_SVID_COMPAT], use compat_symbol.
30768 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
30769 <math_private.h>. Include <math-svid-compat.h>.
30770 (matherr): Undefine as macro.
30771 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
30773 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
30774 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
30775 compat_symbol_reference.
30776 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
30777 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
30778 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
30779 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
30780 (MATHERR_D): Remove declaration.
30781 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
30782 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
30783 [LIBM_BUILD] (pmatherrf): Likewise.
30784 [LIBM_BUILD] (pmatherr): Likewise.
30785 [LIBM_BUILD] (pmatherrl): Likewise.
30786 (DOMAIN): Likewise.
30788 (OVERFLOW): Likewise.
30789 (UNDERFLOW): Likewise.
30792 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
30793 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
30795 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
30796 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
30798 * math/lgamma-compat.h: Include <math-svid-compat.h>.
30799 * math/w_acos_compat.c: Likewise.
30800 * math/w_acosf_compat.c: Likewise.
30801 * math/w_acosh_compat.c: Likewise.
30802 * math/w_acoshf_compat.c: Likewise.
30803 * math/w_acoshl_compat.c: Likewise.
30804 * math/w_acosl_compat.c: Likewise.
30805 * math/w_asin_compat.c: Likewise.
30806 * math/w_asinf_compat.c: Likewise.
30807 * math/w_asinl_compat.c: Likewise.
30808 * math/w_atan2_compat.c: Likewise.
30809 * math/w_atan2f_compat.c: Likewise.
30810 * math/w_atan2l_compat.c: Likewise.
30811 * math/w_atanh_compat.c: Likewise.
30812 * math/w_atanhf_compat.c: Likewise.
30813 * math/w_atanhl_compat.c: Likewise.
30814 * math/w_cosh_compat.c: Likewise.
30815 * math/w_coshf_compat.c: Likewise.
30816 * math/w_coshl_compat.c: Likewise.
30817 * math/w_exp10_compat.c: Likewise.
30818 * math/w_exp10f_compat.c: Likewise.
30819 * math/w_exp10l_compat.c: Likewise.
30820 * math/w_exp2_compat.c: Likewise.
30821 * math/w_exp2f_compat.c: Likewise.
30822 * math/w_exp2l_compat.c: Likewise.
30823 * math/w_fmod_compat.c: Likewise.
30824 * math/w_fmodf_compat.c: Likewise.
30825 * math/w_fmodl_compat.c: Likewise.
30826 * math/w_hypot_compat.c: Likewise.
30827 * math/w_hypotf_compat.c: Likewise.
30828 * math/w_hypotl_compat.c: Likewise.
30829 * math/w_j0_compat.c: Likewise.
30830 * math/w_j0f_compat.c: Likewise.
30831 * math/w_j0l_compat.c: Likewise.
30832 * math/w_j1_compat.c: Likewise.
30833 * math/w_j1f_compat.c: Likewise.
30834 * math/w_j1l_compat.c: Likewise.
30835 * math/w_jn_compat.c: Likewise.
30836 * math/w_jnf_compat.c: Likewise.
30837 * math/w_jnl_compat.c: Likewise.
30838 * math/w_lgamma_main.c: Likewise.
30839 * math/w_lgamma_r_compat.c: Likewise.
30840 * math/w_lgammaf_main.c: Likewise.
30841 * math/w_lgammaf_r_compat.c: Likewise.
30842 * math/w_lgammal_main.c: Likewise.
30843 * math/w_lgammal_r_compat.c: Likewise.
30844 * math/w_log10_compat.c: Likewise.
30845 * math/w_log10f_compat.c: Likewise.
30846 * math/w_log10l_compat.c: Likewise.
30847 * math/w_log2_compat.c: Likewise.
30848 * math/w_log2f_compat.c: Likewise.
30849 * math/w_log2l_compat.c: Likewise.
30850 * math/w_log_compat.c: Likewise.
30851 * math/w_logf_compat.c: Likewise.
30852 * math/w_logl_compat.c: Likewise.
30853 * math/w_pow_compat.c: Likewise.
30854 * math/w_powf_compat.c: Likewise.
30855 * math/w_powl_compat.c: Likewise.
30856 * math/w_remainder_compat.c: Likewise.
30857 * math/w_remainderf_compat.c: Likewise.
30858 * math/w_remainderl_compat.c: Likewise.
30859 * math/w_scalb_compat.c: Likewise.
30860 * math/w_scalbf_compat.c: Likewise.
30861 * math/w_scalbl_compat.c: Likewise.
30862 * math/w_sinh_compat.c: Likewise.
30863 * math/w_sinhf_compat.c: Likewise.
30864 * math/w_sinhl_compat.c: Likewise.
30865 * math/w_sqrt_compat.c: Likewise.
30866 * math/w_sqrtf_compat.c: Likewise.
30867 * math/w_sqrtl_compat.c: Likewise.
30868 * math/w_tgamma_compat.c: Likewise.
30869 * math/w_tgammaf_compat.c: Likewise.
30870 * math/w_tgammal_compat.c: Likewise.
30871 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
30872 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30873 * sysdeps/ieee754/k_standard.c: Likewise.
30874 * sysdeps/ieee754/k_standardf.c: Likewise.
30875 * sysdeps/ieee754/k_standardl.c: Likewise.
30876 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30877 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30878 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30879 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30880 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30881 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30882 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30883 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
30884 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30889 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
30890 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30891 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30892 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30894 2017-08-21 Florian Weimer <fweimer@redhat.com>
30897 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
30898 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
30899 Move before inclusion of ../Rules.
30901 2017-08-21 Florian Weimer <fweimer@redhat.com>
30904 * assert/assert.h (assert): Use static_cast (bool) for C++.
30905 Use the ternary operator in the warning branch for GNU C.
30906 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
30907 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
30908 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
30909 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
30910 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
30912 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30915 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30916 (__syscall_clock_gettime): Add attribute_hidden.
30917 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
30918 (__start_context): Likewise.
30920 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30922 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30924 (hidden_proto): Likewise.
30925 (hidden_tls_proto): Likewise.
30926 (__hidden_proto): Likewise.
30928 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30930 * include/libc-symbols.h (attribute_hidden): Enable hidden
30931 visibility in libc.a compiled with PIE.
30933 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30936 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
30937 Add attribute_hidden.
30939 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30942 * Makerules (all-nonlib): Add $(others-extras).
30943 * catgets/Makefile (others-extras): New.
30944 * elf/Makefile (others-extras): Likewise.
30945 * nss/Makefile (others-extras): Likewise.
30947 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30950 * csu/libc-start.c (__libc_multiple_libcs): Removed.
30951 * elf/dl-open.c: Include <libc-internal.h>.
30952 (__libc_multiple_libcs): Removed.
30953 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
30955 * include/libc-internal.h (__libc_multiple_libcs): New.
30956 * misc/sbrk.c: Include <libc-internal.h>.
30957 (__libc_multiple_libcs): Removed.
30959 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30962 * grp/initgroups.c (__nss_group_database): Removed.
30963 (__nss_initgroups_database): Likewise.
30964 * nscd/gai.c (__nss_hosts_database): Likewise.
30965 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
30966 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
30967 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
30968 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
30969 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
30970 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
30972 * nss/nsswitch.c (__nss_database_custom): Define only if
30973 USE_NSCD is defined.
30974 (__nss_configure_lookup): Use __nss_database_custom only if
30975 USE_NSCD is defined.
30976 * nss/nsswitch.h (__nss_database_custom): Declare only if
30977 USE_NSCD is defined. Add attribute_hidden.
30978 (__nss_setent): Add attribute_hidden.
30979 (__nss_endent): Likewise.
30980 (__nss_getent_r): Likewise.
30981 (__nss_getent): Likewise.
30982 (DEFINE_DATABASE): Declare __nss_##arg##_database.
30984 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30987 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
30988 libc_hidden_proto and libc_hidden_def.
30990 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30993 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
30994 Add libc_hidden_proto.
30995 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
30996 Add libc_hidden_def.
30998 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31001 * gmon/Makefile (routines): Remove bb_init_func and
31003 (elide-routines.os): Removed.
31004 * gmon/bb_exit_func.c: Likewise.
31005 * gmon/bb_init_func.c: Likewise.
31006 * include/sys/gmon.h (__bb): Likewise.
31007 (__bb_init_func): Likewise.
31008 (__bb_exit_func): Likewise.
31009 * sysdeps/alpha/bb_init_func.S: Likewise.
31011 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31013 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
31014 * include/setjmp.h (____longjmp_chk): Here. Add
31017 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
31020 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
31022 (__strspn_sse2): Likewise.
31024 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31026 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
31027 (close_not_cancel_no_status): Likewise.
31028 (__close_nocancel): New macro.
31029 (__close_nocancel_nostatus): Likewise.
31030 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
31032 (close_not_cancel): Likewise.
31033 (close_not_cancel_no_status): Likewise.
31034 (__close_nocancel): New prototype.
31035 (__close_nocancel_nostatus): New function.
31036 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
31037 * catgets/open_catalog.c (__open_catalog): Replace
31038 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
31039 * gmon/gmon.c (write_gmon): Likewise.
31040 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31041 * intl/loadmsgcat.c (close): Likewise.
31042 * io/ftw.c (open_dir_stream): Likewise.
31043 (ftw_startup): Likewise.
31044 * libio/fileops.c (_IO_file_open): Likewise.
31045 (_IO_file_close_mmap): Likewise.
31046 (_IO_file_close): Likewise.
31047 * libio/iopopen.c (_IO_dup2): Likewise.
31048 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31049 * locale/loadlocale.c (_nl_load_locale): Likewise.
31050 * login/utmp_file.c (pututline_file): Likewise.
31051 (endutent_file): Likewise.
31052 * misc/daemon.c (daemon): Likewise.
31053 * nscd/nscd_getai.c (__nscd_getai): Likewise.
31054 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31055 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31056 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31057 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31058 * nscd/nscd_helper.c (open_socket): Likewise.
31059 (__nscd_open_socket): Likewise.
31060 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31061 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
31062 (__nscd_innetgr): Likewise.
31063 * nss/nss_db/db-open.c (internal_setent): Likewise.
31064 * resolv/res-close.c (__res_iclose): Likewise.
31065 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
31066 * sysdeps/posix/closedir.c (__closedir): Likewise.
31067 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
31068 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31069 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31070 (opendir_tail): Likewise.
31071 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31072 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
31073 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31074 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31075 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31076 (gethostid): Likewise.
31077 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31078 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31080 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31081 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
31082 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31083 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31085 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
31086 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
31087 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31089 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
31090 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31092 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31094 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31095 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31096 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31099 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
31100 (openat_not_cancel_3): Likewise.
31101 (openat64_not_cancel_3): Likewise).
31102 (openat_not_cancel_3): Likewise).
31103 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
31105 (openat_not_cancel_3): Likewise.
31106 (openat64_not_cancel): Likewise.
31107 (openat64_not_cancel_3): Likewise.
31108 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
31109 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
31110 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
31111 __open{64}_nocancel.
31112 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31113 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31114 * sysdeps/posix/opendir.c (__opendirat): Likewise.
31116 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31119 * include/argz.h (__argz_create_sep): New function prototype.
31120 (__argz_append): Likewise.
31121 (__argz_add): Likewise.
31122 (__argz_add_sep): Likewise.
31123 (__argz_delete): Likewise.
31124 (__argz_insert): Likewise.
31125 (__argz_replace): Likewise.
31126 * string/argz.h (__argz_create_sep): Removed.
31127 (__argz_append): Likewise.
31128 (__argz_add): Likewise.
31129 (__argz_add_sep): Likewise.
31130 (__argz_delete): Likewise.
31131 (__argz_insert): Likewise.
31132 (__argz_replace): Likewise.
31134 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31136 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
31137 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
31138 (GNU_PROPERTY_STACK_SIZE): Likewie.
31139 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
31140 (GNU_PROPERTY_LOPROC): Likewise.
31141 (GNU_PROPERTY_HIPROC): Likewise.
31142 (GNU_PROPERTY_LOUSER): Likewise.
31143 (GNU_PROPERTY_HIUSER): Likewise.
31144 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
31145 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
31146 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
31147 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
31148 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
31149 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
31150 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
31151 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
31152 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
31153 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
31154 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
31155 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
31156 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
31157 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
31158 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
31159 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
31160 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
31161 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
31162 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
31163 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
31164 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
31165 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
31166 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
31168 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31170 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
31173 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31176 * math/math.h (isinf): Check if in C or C++ mode before using
31177 __builtin_types_compatible_p, since this is a C mode feature.
31179 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31181 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
31182 (__write_nocancel): New macro.
31183 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
31184 Rewrite as a function prototype.
31185 (write_not_cancel): Remove macro.
31186 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
31187 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
31188 (write_gmon): Likewise.
31189 * libio/fileops.c (_IO_new_file_write): Likewise.
31190 * login/utmp_file.c (pututline_file): Likewise.
31191 (updwtmp_file): Likewise.
31192 * stdio-common/psiginfo.c (psiginfo): Likewise.
31193 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31194 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31195 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31197 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31200 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
31201 (__read_nocancel): New macro.
31202 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31204 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
31206 (__read_nocancel): New prototype.
31207 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
31208 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
31209 with __read_nocancel.
31210 * intl/loadmsgcat.c (read): Likewise.
31211 * libio/fileops.c (_IO_file_read): Likewise.
31212 * locale/loadlocale.c (_nl_load_locale): Likewise.
31213 * login/utmp_file.c (getutent_r_file): Likewise.
31214 (internal_getut_r): Likewise.
31215 (getutline_r_file): Likewise.
31216 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31217 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31218 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31219 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31221 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
31222 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31223 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31225 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31227 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31229 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31231 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31233 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31236 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
31237 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
31240 2017-08-17 DJ Delorie <dj@redhat.com>
31242 * bug17079.c: Update to new test harness.
31243 * test-digits-dots.c: Likewise.
31244 * test-netdb.c: Likewise.
31245 * tst-field.c: Likewise.
31246 * tst-nss-getpwent.c: Likewise.
31247 * tst-nss-static.c: Likewise.
31248 * tst-nss-test1.c: Likewise.
31249 * tst-nss-test2.c: Likewise.
31250 * tst-nss-test3.c: Likewise.
31251 * tst-nss-test4.c: Likewise.
31252 * tst-nss-test5.c: Likewise.
31254 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31256 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
31257 (open_not_cancel_2): Likewise.
31258 (open_nocancel): New macro.
31259 (open64_nocancel): Likewise.
31260 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
31261 (open_not_cancel_2): Likewise.
31262 (__open_nocancel): New prototype.
31263 (__open64_nocancel): Likewise.
31264 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31266 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
31267 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
31268 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
31269 with __open_nocancel.
31270 * csu/check_fds.c (check_one_fd): Likewise.
31271 * gmon/gmon.c (write_gmon): Likewise.
31272 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
31273 * intl/loadmsgcat.c (open): Likewise.
31274 * libio/fileops.c (_IO_file_open): Likewise.
31275 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31276 * locale/loadlocale.c (_nl_load_locale): Likewise.
31277 * login/utmp_file.c (setutent_file): Likewise.
31278 * misc/daemon.c (daemon): Likewise.
31279 * nss/nss_db/db-open.c (internal_setent): Likewise.
31280 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31281 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
31282 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31283 (__opendir): Likewise.
31284 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31285 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31286 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31287 (gethostid): Likewise.
31288 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31289 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31291 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31292 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
31293 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31294 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31296 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31298 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31300 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31302 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31304 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31306 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31307 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31309 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
31311 * benchtests/bench-skeleton.c (main): Add support for
31312 latency benchmarking.
31313 * benchtests/scripts/bench.py: Add support for latency benchmarking.
31315 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
31317 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
31318 the startup object.
31320 2017-08-17 Florian Weimer <fweimer@redhat.com>
31322 * include/sys/socket.h (__opensock): Remove internal_function.
31323 * socket/opensock.c (__opensock): Likewise.
31324 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
31326 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31329 * signal/bits/types/__sigval_t.h: New file.
31330 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
31331 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
31332 and define sigval_t using __sigval_t.
31333 * include/bits/types/__sigval_t.h: New file.
31334 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
31335 instead of <bits/types/__sigval_t.h>.
31336 (struct sigevent): Use __sigval_t instead of sigval_t.
31337 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
31338 instead of <bits/types/__sigval_t.h>.
31339 (siginfo_t): Use __sigval_t instead of sigval_t.
31340 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
31341 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31342 (struct sigevent): Use __sigval_t instead of sigval_t.
31343 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
31344 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31345 (siginfo_t): Use __sigval_t instead of sigval_t.
31346 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
31348 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31350 * NEWS: Remove "[Add new features here]" for 2.27.
31352 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31354 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
31357 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31359 * NEWS: Mention x86-64 FMA optimization.
31361 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31364 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31366 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
31367 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
31368 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
31370 2017-08-16 Andreas Schwab <schwab@suse.de>
31374 * elf/ldd.bash.in: Never run file directly.
31376 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
31379 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
31380 (L(SP_INF_0)): Likewise.
31382 2017-08-15 Florian Weimer <fweimer@redhat.com>
31384 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
31387 2017-08-15 Florian Weimer <fweimer@redhat.com>
31389 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
31390 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
31391 BROKEN_THREAD_SIGNALS code.
31392 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
31393 request_list): Remove caller_pid member used for
31394 BROKEN_THREAD_SIGNALS.
31395 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
31396 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31397 Remove BROKEN_THREAD_SIGNALS support.
31398 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
31399 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
31401 2017-08-15 Florian Weimer <fweimer@redhat.com>
31403 * gmon/Makefile (tests): Add tst-gmon.
31404 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
31406 (tests-special): Add tst-gmon-prof.out.
31407 (tst-gmon.out): Depend on clean-tst-gmon-data.
31408 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
31409 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
31410 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
31412 * aclocal.m4 (GPROF): Set and substitute.
31413 * config.amke.in (GPROF): Set.
31414 * configure: Regenerate.
31416 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
31418 * elf/elf.h A (NT_PPC_TAR): New macro.
31419 (NT_PPC_PPR): Likewise.
31420 (NT_PPC_DSCR): Likewise.
31421 (NT_PPC_EBB): Likewise.
31422 (NT_PPC_PMU): Likewise.
31423 (NT_PPC_TM_CGPR): Likewise.
31424 (NT_PPC_TM_CFPR): Likewise.
31425 (NT_PPC_TM_CVMX): Likewise.
31426 (NT_PPC_TM_CVSX): Likewise.
31427 (NT_PPC_TM_SPR): Likewise.
31428 (NT_PPC_TM_CTAR): Likewise.
31429 (NT_PPC_TM_CPPR): Likewise.
31430 (NT_PPC_TM_CDSCR): Likewise.
31432 2017-08-15 Florian Weimer <fweimer@redhat.com>
31434 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
31435 regparm (2) instead of internal_function.
31436 (_MCOUNT_DECL): Adjust.
31438 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31440 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
31441 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31443 2017-08-14 Joseph Myers <joseph@codesourcery.com>
31445 * conform/data/sys/wait.h-data (si_value): Do not expect for
31448 2017-08-14 Florian Weimer <fweimer@redhat.com>
31451 NSS: Create stubs for accidentally exported lookup functions.
31452 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
31453 Remove declaration.
31454 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
31455 (ether_hostton): Call __nss_ethers_lookup2 instead.
31456 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
31457 (ether_ntohost): Call __nss_ethers_lookup2 instead.
31458 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
31459 (setup): Call __nss_netgroup_lookup2 instead.
31460 * nss/Makefile (routines): Add compat-lookup.
31461 * nss/Versions (GLIBC_2.27): Add symbol version.
31462 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
31463 (DB_COMPAT_FCT): Remove.
31464 * nss/compat-lookup.c: New file.
31465 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
31466 from databases.def.
31467 * nss/service-lookup.c (NO_COMPAT): Remove definition.
31468 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
31469 (netname2user): Call __nss_publickey_lookup2 instead.
31470 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
31471 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
31474 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31475 Sergei Trofimovich <slyfox@inbox.ru>
31478 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
31479 Rename to MMAP2_PAGE_UNIT.
31480 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
31481 __OFF_T_MATCHES_OFF64_T is not defined.
31482 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
31484 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
31485 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
31487 2017-08-14 Florian Weimer <fweimer@redhat.com>
31489 i386: Do not set internal_function.
31490 * config.h.in (USE_REGPARMS, internal_function): Remove.
31491 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
31492 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
31494 2017-08-14 Florian Weimer <fweimer@redhat.com>
31496 * elf/dl-init.c (_dl_init): Remove internal_function.
31497 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
31498 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
31500 2017-08-14 Florian Weimer <fweimer@redhat.com>
31502 * elf/rtld.c (_dl_start): Remove internal_function.
31503 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
31506 2017-08-14 Florian Weimer <fweimer@redhat.com>
31508 * elf/dl-fini.c (_dl_fini): Remove internal_function
31509 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31511 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
31513 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
31514 (bit_cpu_SHSTK): Likewise.
31515 (index_cpu_IBT): Likewise.
31516 (index_cpu_SHSTK): Likewise.
31517 (reg_IBT): Likewise.
31518 (reg_SHSTK): Likewise.
31519 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31520 Handle index_cpu_IBT and index_cpu_SHSTK.
31522 2017-08-14 Mike FABIAN <mfabian@redhat.com>
31525 * po/fr.po: Fix spelling mistake.
31527 2017-08-13 Florian Weimer <fweimer@redhat.com>
31529 * elf/dl-addr.c (_dl_addr): Remove internal_function.
31530 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
31531 (_dl_catch_error, _dl_receive_error): Likewise.
31532 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
31533 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
31534 (_dl_deallocate_tls): Likewise.
31535 * include/dlfcn.h (_dl_addr): Likewise.
31536 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
31537 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
31538 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
31541 2017-08-13 Florian Weimer <fweimer@redhat.com>
31543 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
31544 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
31546 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
31548 2017-08-13 Florian Weimer <fweimer@redhat.com>
31550 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
31552 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
31553 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
31554 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
31555 internal_function from _dl_make_stack_executable_hook member.
31556 (_dl_make_stack_executable): Remove internal_function.
31557 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
31559 * sysdeps/unix/sysv/linux/dl-execstack.c
31560 (_dl_make_stack_executable): Likewise.
31562 2017-08-13 Florian Weimer <fweimer@redhat.com>
31564 * sysdeps/unix/sysv/linux/netlinkaccess.h
31565 (__netlink_assert_response): Remove internal_function.
31566 * sysdeps/unix/sysv/linux/netlink_assert_response.c
31567 (__netlink_assert_response): Likewise.
31569 2017-08-13 Florian Weimer <fweimer@redhat.com>
31571 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
31573 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
31575 2017-08-13 Florian Weimer <fweimer@redhat.com>
31577 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
31579 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
31580 * inet/netgroup.h (__internal_setnetgrent)
31581 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31582 * inet/getnetgrent_r.c (__internal_setnetgrent)
31583 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31584 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
31585 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
31586 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
31587 * nss/nsswitch.h (db_lookup_function): Likewise.
31589 2017-08-13 Florian Weimer <fweimer@redhat.com>
31591 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
31592 Remove internal_function.
31593 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
31594 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
31595 message argument on the stack.
31596 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
31599 2017-08-12 Mike FABIAN <mfabian@redhat.com>
31601 Adapt test case data to the changes in the thousands
31605 * localedata/tst-langinfo.sh: Adapt test case data.
31606 * stdlib/tst-strfmon_l.c: Likewise.
31607 * stdlib/tst-strtod4.c: Likewise.
31608 * stdlib/tst-strtod5i.c: Likewise.
31610 2017-08-11 Florian Weimer <fweimer@redhat.com>
31613 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
31614 Suppress pedantic warning resulting from statement expression.
31615 (__ASSERT_FUNCTION): Add missing __extension__.
31617 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31619 * benchtests/bench-memmove-large.c: Print output in JSON
31621 * benchtests/bench-memmove.c: Likewise.
31623 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
31624 * benchtests/bench-memchr.c (do_one_test): Likewise.
31625 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
31626 * benchtests/bench-memcpy.c (do_one_test): Likewise.
31627 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
31628 * benchtests/bench-memmove.c (do_one_test): Likewise.
31629 * benchtests/bench-memset-large.c (do_one_test): Likewise.
31630 * benchtests/bench-memset.c (do_one_test): Likewise.
31631 * benchtests/bench-string.h (test_init): Remove memsets.
31633 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31636 (Computing the Width of an Integer Data Type): Rename section to
31637 "Width of an Integer Type". Remove inaccurate statement regarding
31638 lack of C language facilities for determining width of integer
31639 types, and reorder content to improve flow and context of
31642 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31644 * lang.texi (va_copy): Change standard from ISO to C99.
31645 (__va_copy): Add standard and header annotation.
31646 Update description for clarity of origins and current use.
31648 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31651 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
31652 xssqrtqp requires operands to be in Vector Registers
31653 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
31654 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
31655 (__ieee754_sqrtf128): Likewise.
31657 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
31659 * sysdeps/aarch64/memcmp.S (memcmp):
31660 Rewrite of optimized memcmp.
31662 2017-08-10 Florian Weimer <fweimer@redhat.com>
31664 Introduce ld.so exceptions.
31665 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
31666 (_dl_exception_create, _dl_exception_create_format)
31667 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
31668 (_dl_catch_exception): Declare.
31669 (_dl_catch_error): Update comment.
31670 * elf/dl-error-skeleton.c (struct catch): Replace objname,
31671 errstring, malloced members with exception member.
31672 (_dl_out_of_memory): Remove.
31673 (fatal_error): New function, extracted from _dl_signal_error.
31674 (_dl_signal_exception, _dl_signal_cexception): New functions.
31675 (_dl_signal_error): Call _dl_exception_create to allocate an
31677 (_dl_catch_exception): New function, based on _dl_catch_error.
31678 (_dl_catch_error): Implement using _dl_catch_exception.
31679 * elf/dl-exception.c: New file.
31680 * elf/Makefile (dl-routines): Add dl-exception.
31681 (elide-routines.os): Likewise.
31682 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
31683 _dl_exception_create_format, _dl_exception_free.
31684 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
31685 _dl_signal_exception.
31686 * elf/dl-lookup.c (make_string): Remove.
31687 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
31688 _dl_signal_cexception, _dl_exception_free.
31689 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
31690 _dl_signal_exception.
31691 * elf/dl-sym.c (do_sym): Likewise.
31692 * elf/dl-version.c (make_string): Remove.
31693 (match_symbol): Use _dl_exception_create_format,
31694 _dl_signal_cexception, _dl_exception_free.
31695 (_dl_check_map_versions): Likewise.
31696 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
31697 _dl_catch_exception.
31698 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
31699 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
31700 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
31701 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
31702 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
31703 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
31704 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
31705 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
31707 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
31708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
31710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
31712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
31714 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
31715 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
31716 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
31718 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
31720 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
31722 2017-08-10 Florian Weimer <fweimer@redhat.com>
31724 * inet/net-internal.h (__inet6_scopeid_pton): Remove
31725 attribute_hidden, internal_function.
31726 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
31729 2017-08-10 Florian Weimer <fweimer@redhat.com>
31731 * malloc/malloc.c (get_max_fast): Reimplement as an inline
31732 function which calls __builtin_unreachable.
31734 2017-08-10 Mike FABIAN <mfabian@redhat.com>
31736 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
31737 Indian monetary formatting
31738 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
31741 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
31743 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
31744 Fix typo in comment.
31747 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
31748 PTRACE_SEIZE_DEVEL): Remove.
31749 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
31750 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31751 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31752 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31753 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31755 2017-08-09 Joseph Myers <joseph@codesourcery.com>
31757 * posix/bits/types.h (__qaddr_t): Remove.
31760 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
31761 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31763 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
31764 (ucontext_t): Use __ctx with uc_flags.
31765 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
31766 (__ctxt): Likewise.
31767 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31769 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
31770 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31772 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
31773 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31775 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
31777 (ucontext_t): Use __ctx with uc_flags.
31778 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
31779 (ucontext_t): Use __ctx with uc_flags.
31780 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
31781 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
31782 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
31783 (ucontext_t): Use __ctx with uc_flags.
31784 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
31785 undefine further down.
31786 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31788 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
31789 undefine further down.
31790 (ucontext_t): Use __ctx with uc_flags.
31791 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
31792 undefine further down.
31793 (ucontext_t): Use __ctx with uc_flags.
31794 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
31795 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
31796 Rename uc_pad to __glibc_reserved1.
31797 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
31798 undefine further down.
31799 (ucontext_t): Use __ctx with uc_flags.
31800 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
31802 (ucontext_t): Use __ctx with uc_flags.
31803 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
31804 __ctx with uc_flags.
31805 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
31806 (ucontext_t): Use __ctx with uc_flags.
31807 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
31808 __ctx with uc_flags.
31810 2017-08-09 Florian Weimer <fweimer@redhat.com>
31813 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
31814 before early return.
31816 2017-08-09 Andreas Schwab <schwab@suse.de>
31819 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
31823 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
31824 tst-compat-forwarder.
31825 (modules-names): Add tst-compat-forwarder-mod.
31826 ($(objpfx)tst-compat-forwarder): Depend on
31827 $(objpfx)tst-compat-forwarder-mod.so.
31828 * nptl/tst-compat-forwarder.c: New file.
31829 * nptl/tst-compat-forwarder-mod.c: New file.
31831 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
31833 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
31836 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
31837 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31839 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
31841 (__libc_ifunc_impl_list): Add __memcpy_falkor.
31842 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
31843 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
31844 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31846 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
31849 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31852 * manual/setjmp.texi (getcontex): Document uc_stack value
31853 compatibility differences.
31855 2017-08-08 Joseph Myers <joseph@codesourcery.com>
31857 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
31858 (old_malloc_hook): Likewise.
31859 (old_memalign_hook): Likewise.
31860 (old_realloc_hook): Likewise.
31861 (struct hdr): Likewise.
31863 (freehook): Likewise.
31864 (mallochook): Likewise.
31865 (memalignhook): Likewise.
31866 (reallochook): Likewise.
31867 (mprobe): Likewise.
31868 * malloc/mtrace.c (mallwatch): Likewise.
31869 (tr_old_free_hook): Likewise.
31870 (tr_old_malloc_hook): Likewise.
31871 (tr_old_realloc_hook): Likewise.
31872 (tr_old_memalign_hook): Likewise.
31873 (tr_where): Likewise.
31874 (lock_and_info): Likewise.
31875 (tr_freehook): Likewise.
31876 (tr_mallochook): Likewise.
31877 (tr_reallochook): Likewise.
31878 (tr_memalignhook): Likewise.
31879 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
31880 * misc/mmap.c (__mmap): Likewise.
31881 * misc/mmap64.c (__mmap64): Likewise.
31882 * misc/mprotect.c (__mprotect): Likewise.
31883 * misc/msync.c (msync): Likewise.
31884 * misc/munmap.c (__munmap): Likewise.
31885 * posix/posix_madvise.c (posix_madvise): Likewise.
31886 * socket/send.c (__send): Likewise.
31887 * socket/sendto.c (__sendto): Likewise.
31888 * socket/setsockopt.c (__setsockopt): Likewise.
31889 * string/memcmp.c (__ptr_t): Remove macro.
31890 (MEMCMP): Use void * instead of ptr_t.
31891 * string/memrchr.c (__ptr_t): Remove macro.
31892 (__memrchr): Use void * instead of ptr_t.
31893 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
31894 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31895 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31896 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
31897 * sysdeps/mach/msync.c (msync): Likewise.
31898 * sysdeps/mach/munmap.c (__munmap): Likewise.
31899 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
31901 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31902 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
31903 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
31904 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
31905 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
31906 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31907 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
31908 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
31910 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31911 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
31912 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
31913 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
31914 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
31915 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
31916 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
31917 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
31918 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
31920 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
31921 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
31922 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
31923 (MEMCMP): Use void * instead of ptr_t.
31924 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
31925 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
31927 2017-08-08 Florian Weimer <fweimer@redhat.com>
31929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
31932 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
31935 * csu/libc-tls.c: Include <startup.h> first.
31936 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
31937 * elf/dl-tunables.c: Include <startup.h> first.
31938 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
31939 * sysdeps/generic/startup.h: New file.
31940 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
31941 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
31942 (I386_USE_SYSENTER): New. Defined to 0.
31944 2017-08-08 Andreas Schwab <schwab@suse.de>
31947 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
31948 * nptl/pt-system.c (system): Likewise.
31950 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31953 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
31955 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
31956 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
31957 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
31958 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
31959 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
31960 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
31961 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
31963 2017-08-07 Joseph Myers <joseph@codesourcery.com>
31966 * bits/sigaction.h (struct sigaction): Define sa_handler and
31967 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
31968 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31969 [__USE_XOPEN_EXTENDED].
31970 (SA_RESTART): Likewise.
31971 (SA_NODEFER): Likewise.
31972 (SA_RESETHAND): Likewise.
31973 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
31974 (struct sigaction): Define sa_handler and sa_sigaction using union
31975 also for [__USE_XOPEN_EXTENDED].
31976 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31977 [__USE_XOPEN_EXTENDED].
31978 (SA_RESTART): Likewise.
31979 (SA_NODEFER): Likewise.
31980 (SA_RESETHAND): Likewise.
31981 * sysdeps/unix/sysv/linux/bits/sigaction.h
31982 (struct sigaction): Define sa_handler and sa_sigaction using union
31983 also for [__USE_XOPEN_EXTENDED].
31984 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31985 [__USE_XOPEN_EXTENDED].
31986 (SA_RESTART): Likewise.
31987 (SA_NODEFER): Likewise.
31988 (SA_RESETHAND): Likewise.
31989 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
31990 (struct sigaction): Define sa_handler and sa_sigaction using union
31991 also for [__USE_XOPEN_EXTENDED].
31992 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31993 [__USE_XOPEN_EXTENDED].
31994 (SA_RESTART): Likewise.
31995 (SA_NODEFER): Likewise.
31996 (SA_RESETHAND): Likewise.
31997 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
31998 (struct sigaction): Define sa_handler and sa_sigaction using union
31999 also for [__USE_XOPEN_EXTENDED].
32000 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32001 [__USE_XOPEN_EXTENDED].
32002 (SA_RESTART): Likewise.
32003 (SA_NODEFER): Likewise.
32004 (SA_RESETHAND): Likewise.
32005 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32006 (struct sigaction): Define sa_handler and sa_sigaction using union
32007 also for [__USE_XOPEN_EXTENDED].
32008 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32009 [__USE_XOPEN_EXTENDED].
32010 (SA_RESTART): Likewise.
32011 (SA_NODEFER): Likewise.
32012 (SA_RESETHAND): Likewise.
32013 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32014 (struct sigaction): Define sa_handler and sa_sigaction using union
32015 also for [__USE_XOPEN_EXTENDED].
32016 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32017 [__USE_XOPEN_EXTENDED].
32018 (SA_RESTART): Likewise.
32019 (SA_NODEFER): Likewise.
32020 (SA_RESETHAND): Likewise.
32021 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32022 (struct sigaction): Define sa_handler and sa_sigaction using union
32023 also for [__USE_XOPEN_EXTENDED].
32024 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32025 [__USE_XOPEN_EXTENDED].
32026 (SA_RESTART): Likewise.
32027 (SA_NODEFER): Likewise. Define directly rather than as alias.
32028 (SA_RESETHAND): Likewise.
32029 (SA_INTERRUPT): Define only for [__USE_MISC].
32030 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
32031 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
32033 (SA_STACK): Define only for [__USE_MISC].
32034 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
32035 (struct sigaction): Define sa_handler and sa_sigaction using union
32036 also for [__USE_XOPEN_EXTENDED].
32037 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32038 [__USE_XOPEN_EXTENDED].
32039 (SA_RESTART): Likewise.
32040 (SA_NODEFER): Likewise.
32041 (SA_RESETHAND): Likewise.
32042 (SA_NOPTRACE): Define only for [__USE_MISC].
32044 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
32045 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
32046 (struct catalog_info): Likewise.
32047 * inet/htontest.c (lo): Likewise.
32049 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32050 * inet/inet_net.c (inet_network): Likewise.
32051 * inet/inet_netof.c (inet_netof): Likewise.
32052 * inet/rcmd.c (__ivaliduser): Likewise.
32053 (iruserok): Likewise.
32054 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
32055 * locale/programs/locale-spec.c (locale_special): Likewise.
32056 * nis/nis_findserv.c (struct findserv_req): Likewise.
32057 (__nis_findfastest_with_timeout): Likewise.
32058 * nss/test-netdb.c (test_network): Likewise.
32059 * resolv/inet_neta.c (inet_neta): Likewise.
32060 * resolv/ns_date.c (ns_datetosecs): Likewise.
32061 (SECS_PER_DAY): Likewise.
32062 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
32064 * resolv/res_comp.c (__putlong): Likewise.
32065 (__putshort): Likewise.
32066 (_getlong): Likewise.
32067 (_getshort): Likewise.
32068 * resolv/res_debug.c (p_time): Likewise.
32069 (precsize_ntoa): Likewise.
32070 (precsize_aton): Likewise.
32071 (latlon2ul): Likewise.
32072 (loc_aton): Likewise.
32073 (loc_ntoa): Likewise.
32074 * resolv/res_hconf.c (struct netaddr): Likewise.
32075 (_res_hconf_reorder_addrs): Likewise.
32076 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
32077 (clnttcp_control): Likewise.
32078 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32079 (clntudp_control): Likewise.
32080 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
32081 (clntunix_control): Likewise.
32082 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
32083 * sunrpc/rpc/auth.h (union des_block): Likewise.
32084 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
32085 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
32086 (xdrrec_create): Likewise.
32087 (xdrrec_endofrecord): Likewise.
32088 (flush_out): Likewise.
32089 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
32090 (xdrstdio_putlong): Likewise.
32091 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
32094 * misc/sys/cdefs.h (__long_double_t): Remove.
32095 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
32096 instead of __long_double_t,
32097 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
32099 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
32101 * benchtests/scripts/compare_strings.py: Avoid display error when
32102 running on a text terminal.
32104 * benchtests/scripts/compare_strings.py (main): Add an
32105 optional -base option.
32106 (process_results): New argument base_func.
32108 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
32110 * benchtests/bench-memcpy-large.c (test_name): Likewise.
32111 * benchtests/bench-memcpy-random.c (test_name): Likewise.
32113 2017-08-07 Andreas Schwab <schwab@suse.de>
32115 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
32116 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32117 * intl/Makefile ($(objpfx)tst-gettext.out)
32118 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
32119 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
32120 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32121 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32122 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
32123 * posix/Makefile ($(objpfx)globtest.out)
32124 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
32125 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
32126 ($(objpfx)tst-printf.out): Likewise.
32127 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
32128 ($(objpfx)tst-setcontext3.out): Likewise.
32130 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
32132 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32133 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
32134 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
32135 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
32136 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
32138 (CFLAGS-doasin-fma.c): New.
32139 (CFLAGS-dosincos-fma.c): Likewise.
32140 (CFLAGS-e_asin-fma.c): Likewise.
32141 (CFLAGS-e_atan2-fma.c): Likewise.
32142 (CFLAGS-e_exp-fma.c): Likewise.
32143 (CFLAGS-e_log-fma.c): Likewise.
32144 (CFLAGS-e_pow-fma.c): Likewise.
32145 (CFLAGS-halfulp-fma.c): Likewise.
32146 (CFLAGS-mpa-fma.c): Likewise.
32147 (CFLAGS-mpatan-fma.c): Likewise.
32148 (CFLAGS-mpatan2-fma.c): Likewise.
32149 (CFLAGS-mpexp-fma.c): Likewise.
32150 (CFLAGS-mplog-fma.c): Likewise.
32151 (CFLAGS-mpsqrt-fma.c): Likewise.
32152 (CFLAGS-mptan-fma.c): Likewise.
32153 (CFLAGS-s_atan-fma.c): Likewise.
32154 (CFLAGS-sincos32-fma.c): Likewise.
32155 (CFLAGS-slowexp-fma.c): Likewise.
32156 (CFLAGS-slowpow-fma.c): Likewise.
32157 (CFLAGS-s_sin-fma.c): Likewise.
32158 (CFLAGS-s_tan-fma.c): Likewise.
32159 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
32160 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
32161 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
32162 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
32163 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
32164 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
32165 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
32166 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
32167 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
32168 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
32169 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
32170 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
32171 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
32172 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
32173 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
32174 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
32175 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
32176 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
32177 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
32178 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
32179 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
32180 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
32181 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
32182 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
32183 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32184 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32185 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32186 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32187 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32188 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32189 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32191 2017-08-04 Joseph Myers <joseph@codesourcery.com>
32193 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
32194 (min_of_type_f): New macro.
32195 (min_of_type_): Likewise.
32196 (min_of_type_l): Likewise.
32197 (min_of_type_f128): Likewise.
32198 (min_of_type): Define using __MATH_TG and taking an expression
32200 (math_check_force_underflow): Pass expression instead of type to
32202 (math_check_force_underflow_nonneg): Likewise.
32204 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32206 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32207 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
32208 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
32210 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32212 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32213 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
32214 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
32215 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
32216 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
32217 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
32218 memcpy_chk-nonshared, mempcpy_chk-nonshared,
32219 memmove_chk-nonshared and memset_chk-nonshared
32220 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
32221 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
32222 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
32223 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
32224 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
32225 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
32226 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
32227 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
32228 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
32229 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
32230 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
32231 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
32232 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
32233 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
32234 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
32235 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
32236 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
32237 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
32238 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
32239 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
32240 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
32241 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
32242 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
32243 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
32244 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
32245 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
32246 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
32247 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
32248 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
32249 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
32250 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
32251 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
32252 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
32253 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32254 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32255 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
32256 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
32257 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
32258 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
32259 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
32260 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
32261 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
32262 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
32263 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
32264 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
32265 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
32266 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
32267 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
32268 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
32269 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
32270 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
32271 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
32272 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
32273 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
32274 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
32275 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
32276 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
32277 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
32278 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
32279 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
32280 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
32281 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
32282 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
32283 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
32284 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
32285 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
32286 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
32287 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
32288 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
32289 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
32290 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
32291 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32292 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32293 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32294 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32295 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32296 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32297 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32298 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32299 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32300 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32301 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32302 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32303 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32304 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32305 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32306 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32307 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32308 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32309 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32310 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32311 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32312 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32313 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32314 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32315 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32316 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32317 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32318 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32319 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32320 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32321 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32322 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32323 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32324 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32325 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32326 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32327 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32329 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32331 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
32332 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
32333 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
32334 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
32335 svml_d_log2_core-sse2, svml_d_log4_core-sse,
32336 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
32337 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
32338 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
32339 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
32340 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
32341 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
32342 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
32343 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
32344 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
32345 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
32346 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
32347 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
32348 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
32349 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
32350 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
32351 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
32352 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
32353 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
32354 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
32355 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
32356 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
32357 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
32358 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
32359 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
32360 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
32361 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
32362 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
32363 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
32364 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
32365 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
32366 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
32367 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
32368 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
32369 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
32370 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
32371 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
32372 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
32373 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
32374 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
32375 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
32376 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
32377 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
32378 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
32379 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
32380 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
32381 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
32382 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
32383 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
32384 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
32385 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
32386 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
32387 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
32388 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
32389 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
32391 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
32392 Don't include <sysdep.h> nor <init-arch.h>.
32393 (_ZGVbN2v_cos): Removed.
32394 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
32396 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
32397 Don't include <sysdep.h> nor <init-arch.h>.
32398 (_ZGVdN4v_cos): Removed.
32399 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
32401 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
32402 Don't include <sysdep.h> nor <init-arch.h>.
32403 (_ZGVeN8v_cos): Removed.
32404 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
32406 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
32407 Don't include <sysdep.h> nor <init-arch.h>.
32408 (_ZGVbN2v_exp): Removed.
32409 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
32411 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
32412 Don't include <sysdep.h> nor <init-arch.h>.
32413 (_ZGVdN4v_exp): Removed.
32414 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
32416 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
32417 Don't include <sysdep.h> nor <init-arch.h>.
32418 (_ZGVeN8v_exp): Removed.
32419 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
32421 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
32422 Don't include <sysdep.h> nor <init-arch.h>.
32423 (_ZGVbN2v_log): Removed.
32424 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
32426 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
32427 Don't include <sysdep.h> nor <init-arch.h>.
32428 (_ZGVdN4v_log): Removed.
32429 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
32431 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
32432 Don't include <sysdep.h> nor <init-arch.h>.
32433 (_ZGVeN8v_log): Removed.
32434 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
32436 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
32437 Don't include <sysdep.h> nor <init-arch.h>.
32438 (_ZGVbN2vv_pow): Removed.
32439 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
32441 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
32442 Don't include <sysdep.h> nor <init-arch.h>.
32443 (_ZGVdN4vv_pow): Removed.
32444 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
32446 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
32447 Don't include <sysdep.h> nor <init-arch.h>.
32448 (_ZGVeN8vv_pow): Removed.
32449 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
32451 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
32452 Don't include <sysdep.h> nor <init-arch.h>.
32453 (_ZGVbN2v_sin): Removed.
32454 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
32456 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
32457 Don't include <sysdep.h> nor <init-arch.h>.
32458 (_ZGVbN4v_sin): Removed.
32459 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
32461 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
32462 Don't include <sysdep.h> nor <init-arch.h>.
32463 (_ZGVbN8v_sin): Removed.
32464 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
32466 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
32467 Don't include <sysdep.h> nor <init-arch.h>.
32468 (_ZGVbN2vvv_sincos): Removed.
32469 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
32471 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
32472 Don't include <sysdep.h> nor <init-arch.h>.
32473 (_ZGVdN4vvv_sincos): Removed.
32474 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
32476 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
32477 Don't include <sysdep.h> nor <init-arch.h>.
32478 (_ZGVeN8vvv_sincos): Removed.
32479 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
32481 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
32482 Don't include <sysdep.h> nor <init-arch.h>.
32483 (_ZGVeN16v_cosf): Removed.
32484 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
32486 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
32487 Don't include <sysdep.h> nor <init-arch.h>.
32488 (_ZGVbN4v_cosf): Removed.
32489 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
32491 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
32492 Don't include <sysdep.h> nor <init-arch.h>.
32493 (_ZGVdN8v_cosf): Removed.
32494 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
32496 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
32497 Don't include <sysdep.h> nor <init-arch.h>.
32498 (_ZGVeN16v_expf): Removed.
32499 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
32501 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
32502 Don't include <sysdep.h> nor <init-arch.h>.
32503 (_ZGVbN4v_expf): Removed.
32504 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
32506 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
32507 Don't include <sysdep.h> nor <init-arch.h>.
32508 (_ZGVdN8v_expf): Removed.
32509 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
32511 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
32512 Don't include <sysdep.h> nor <init-arch.h>.
32513 (_ZGVeN16v_logf): Removed.
32514 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
32516 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
32517 Don't include <sysdep.h> nor <init-arch.h>.
32518 (_ZGVbN4v_logf): Removed.
32519 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
32521 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
32522 Don't include <sysdep.h> nor <init-arch.h>.
32523 (_ZGVdN8v_logf): Removed.
32524 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
32526 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
32527 Don't include <sysdep.h> nor <init-arch.h>.
32528 (_ZGVeN16vv_powf): Removed.
32529 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
32531 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
32532 Don't include <sysdep.h> nor <init-arch.h>.
32533 (_ZGVbN4vv_powf): Removed.
32534 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
32536 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
32537 Don't include <sysdep.h> nor <init-arch.h>.
32538 (_ZGVdN8vv_powf): Removed.
32539 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
32541 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
32542 Don't include <sysdep.h> nor <init-arch.h>.
32543 (_ZGVeN16vvv_sincosf): Removed.
32544 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
32546 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
32547 Don't include <sysdep.h> nor <init-arch.h>.
32548 (_ZGVbN4vvv_sincosf): Removed.
32549 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
32551 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
32552 Don't include <sysdep.h> nor <init-arch.h>.
32553 (_ZGVdN8vvv_sincosf): Removed.
32554 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
32556 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
32557 Don't include <sysdep.h> nor <init-arch.h>.
32558 (_ZGVeN16v_sinf): Removed.
32559 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
32561 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
32562 Don't include <sysdep.h> nor <init-arch.h>.
32563 (_ZGVbN4v_sinf): Removed.
32564 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
32566 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
32567 Don't include <sysdep.h> nor <init-arch.h>.
32568 (_ZGVdN8v_sinf): Removed.
32570 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32572 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32573 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
32574 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
32575 s_rint-sse4_1 and s_rintf-sse4_1.
32576 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
32577 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
32578 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
32579 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
32580 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
32581 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
32582 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
32583 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
32584 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
32585 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
32586 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
32587 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32589 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
32590 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
32591 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32592 (__ceilf): Removed.
32593 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
32594 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
32595 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32596 (__floor): Removed.
32597 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
32598 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
32599 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32600 (__floorf): Removed.
32601 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
32602 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
32603 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32604 (__nearbyint): Removed.
32605 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
32606 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
32607 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32608 (__nearbyintf): Removed.
32609 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
32610 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
32611 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32613 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
32614 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
32615 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32616 (__rintf): Removed.
32618 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32620 * sysdeps/i386/start.S (_start): Check Check PIC instead of
32621 SHARED. Avoid dynamic relocation against main in static PIE.
32623 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32626 * elf/Makefile (CFLAGS-tst-prelink.c): New.
32627 (LDFLAGS-tst-prelink): Likewise.
32629 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32631 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
32632 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
32633 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
32634 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
32635 (INTERNAL_SYSCALL_NCS): Likewise.
32636 (LOADARGS_1): Likewise.
32637 (LOADARGS_5): Likewise.
32638 (RESTOREARGS_1): Likewise.
32639 (RESTOREARGS_5): Likewise.
32641 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32643 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
32644 (MEMPCPY_SYMBOL): Likewise.
32645 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32646 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
32647 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
32649 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32650 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
32652 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
32653 (__hidden_ver1): Don't use in libc.a.
32654 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
32655 (__mempcpy): Don't create a weak alias in libc.a.
32656 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
32658 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
32659 (__hidden_ver1): Don't use in libc.a.
32661 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32663 * config.make.in (have-insert): New.
32664 * configure.ac (libc_cv_insert): New. Set to yes if linker
32665 supports INSERT in linker script.
32666 (AC_SUBST(libc_cv_insert): New.
32667 * configure: Regenerated.
32668 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
32669 if $(have-insert) == yes.
32671 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32673 * elf/Makefile (tests): Add vismain only if
32674 $(have-protected-data) == yes.
32675 (tests-pie): Likewise.
32677 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32680 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
32681 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
32683 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32686 * sysdeps/i386/i586/memset.S
32687 (__memset_zero_constant_len_parameter): Removed.
32688 * sysdeps/i386/i686/memset.S
32689 (__memset_zero_constant_len_parameter): Likewise.
32690 * sysdeps/i386/i686/multiarch/memset_chk.S
32691 (__memset_zero_constant_len_parameter): Likewise.
32692 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
32695 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32697 * stdlib/getentropy.c (getentropy): Change return type to int.
32699 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32701 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
32703 2017-08-03 Joseph Myers <joseph@codesourcery.com>
32705 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
32707 * math/s_nexttowardf.c (__nexttowardf): Likewise.
32708 * sysdeps/generic/math_private.h (ieee_double_shape_type):
32710 (ieee_float_shape_type): Likewise.
32711 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
32712 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
32713 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
32714 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32715 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
32716 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
32717 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
32718 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32719 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
32721 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32722 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
32723 (__ieee754_yn): Likewise.
32724 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32725 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32726 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
32728 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32729 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
32730 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
32731 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
32732 (__erfc): Likewise.
32733 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
32734 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
32735 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
32736 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
32737 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
32738 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
32740 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
32741 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
32742 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
32743 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
32744 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32745 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
32746 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
32747 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
32748 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
32749 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
32750 (__issignaling): Likewise.
32751 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
32752 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
32753 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
32755 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32756 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32757 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
32758 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
32760 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
32762 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
32763 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
32764 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
32765 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
32766 (__erfcf): Likewise.
32767 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
32768 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
32769 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
32770 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
32772 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
32773 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
32775 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
32776 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
32777 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
32778 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
32779 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
32780 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32781 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
32782 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
32784 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
32786 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
32788 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
32789 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
32791 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
32793 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32794 (__ieee754_ynl): Likewise.
32795 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
32796 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
32798 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
32800 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
32801 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
32802 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32804 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
32805 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
32806 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
32807 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
32808 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
32809 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
32810 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
32811 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
32813 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
32814 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
32815 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
32817 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
32818 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
32819 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
32820 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
32821 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
32822 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32824 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
32826 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32828 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32830 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
32831 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32832 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32833 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
32834 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
32835 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
32836 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
32838 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32840 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32841 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32843 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
32844 (__ieee754_remainderl): Likewise.
32845 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32846 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32847 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32848 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32850 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32851 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32853 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32854 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
32855 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
32856 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
32857 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32858 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32860 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
32861 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
32862 (__ieee754_y0l): Likewise.
32865 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32866 (__ieee754_y1l): Likewise.
32869 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32870 (__ieee754_ynl): Likewise.
32871 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
32872 (__ieee754_lgammal_r): Likewise.
32873 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
32875 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
32876 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
32877 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
32878 (__erfcl): Likewise.
32879 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
32880 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
32882 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
32883 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
32884 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
32885 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
32886 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
32887 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32888 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32890 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
32891 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32892 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
32893 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
32894 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32896 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
32897 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
32899 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
32900 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
32901 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
32902 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
32903 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
32905 2017-08-03 Florian Weimer <fweimer@redhat.com>
32908 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
32909 on memory allocation failure.
32911 2017-08-03 Alan Modra <amodra@gmail.com>
32913 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
32914 tst-tlsopt-powerpc.c with function name change and no test harness.
32915 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
32916 Call tls_get_addr_opt_test.
32917 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
32918 (modules-names): Add mod-tlsopt-powerpc.
32919 (mod-tlsopt-powerpc.so-no-z-defs): Define.
32920 (tst-tlsopt-powerpc): Depend on .so.
32921 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
32922 define. Expand use in TLS_GD and TLS_LD.
32924 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32926 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
32928 * sysdeps/posix/shm_open.c: Include <pthread.h>.
32930 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32933 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
32934 comparing size with that of double.
32935 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32936 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32937 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32938 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32939 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32940 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
32941 unsigned __int128 types.
32943 2017-08-02 Steve Ellcey <sellcey@cavium.com>
32945 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
32946 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
32947 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
32948 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
32949 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
32951 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32953 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
32955 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32957 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
32959 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
32960 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32961 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32962 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32963 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32964 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32965 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32967 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32970 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
32971 bit-field expressions passed to sizeof or typeof.
32972 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32973 (__TGMATH_F128): Likewise.
32974 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32975 (__TGMATH_CF128): Likewise.
32976 (__TGMATH_UNARY_REAL_ONLY): Likewise.
32977 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
32978 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
32979 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
32980 (__TGMATH_BINARY_REAL_ONLY): Likewise.
32981 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32982 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32983 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32984 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32985 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
32986 (__TGMATH_UNARY_REAL_IMAG): Likewise.
32987 (__TGMATH_UNARY_IMAG): Likewise.
32988 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
32989 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32990 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
32992 (define_vars_for_type): Handle bit_field type specially.
32993 (Tests.__init__): Declare structure with bit-field element.
32995 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32998 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
32999 (MEMCPY_CHK): Define only if SHARED is defined.
33000 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
33002 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
33005 See ChangeLog.18 for earlier changes.